SuccessConsole Output

Started by user garciadeblas
 > git rev-parse --is-inside-work-tree # timeout=10
Setting origin to https://osm.etsi.org/gerrit/osm/NBI.git
 > git config remote.origin.url https://osm.etsi.org/gerrit/osm/NBI.git # timeout=10
Fetching origin...
Fetching upstream changes from origin
 > git --version # timeout=10
 > git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/*
Seen branch in repository origin/feature7106
Seen branch in repository origin/master
Seen branch in repository origin/netslice
Seen branch in repository origin/v3.1
Seen branch in repository origin/v4.0
Seen branch in repository origin/v5.0
Seen 6 remote branches
Obtained Jenkinsfile from 1f1f6e03c7f6d6c1edd708e8d0b980827c7768ab
[Pipeline] properties
[Pipeline] node
Running on osm2 slave in /opt/jenkins/workspace/I-stage_2-merge_feature7106-HI7HHKF7TBI75S7K5VQ2FCSZHINEMAX4UGVK5PFZ7MVG6D2KON5Q
[Pipeline] {
[Pipeline] checkout
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://osm.etsi.org/gerrit/osm/NBI.git # timeout=10
Fetching upstream changes from https://osm.etsi.org/gerrit/osm/NBI.git
 > git --version # timeout=10
 > git fetch --tags --progress https://osm.etsi.org/gerrit/osm/NBI.git +refs/heads/*:refs/remotes/origin/*
Checking out Revision 1f1f6e03c7f6d6c1edd708e8d0b980827c7768ab (feature7106)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 1f1f6e03c7f6d6c1edd708e8d0b980827c7768ab
 > git rev-list 1f1f6e03c7f6d6c1edd708e8d0b980827c7768ab # timeout=10
Cleaning workspace
 > git rev-parse --verify HEAD # timeout=10
Resetting working tree
 > git reset --hard # timeout=10
 > git clean -fdx # timeout=10
[Pipeline] dir
Running in /opt/jenkins/workspace/I-stage_2-merge_feature7106-HI7HHKF7TBI75S7K5VQ2FCSZHINEMAX4UGVK5PFZ7MVG6D2KON5Q/devops
[Pipeline] {
[Pipeline] git
Cloning the remote Git repository
Cloning repository https://osm.etsi.org/gerrit/osm/devops
 > git init /opt/jenkins/workspace/I-stage_2-merge_feature7106-HI7HHKF7TBI75S7K5VQ2FCSZHINEMAX4UGVK5PFZ7MVG6D2KON5Q/devops # timeout=10
Fetching upstream changes from https://osm.etsi.org/gerrit/osm/devops
 > git --version # timeout=10
 > git fetch --tags --progress https://osm.etsi.org/gerrit/osm/devops +refs/heads/*:refs/remotes/origin/*
 > git config remote.origin.url https://osm.etsi.org/gerrit/osm/devops # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://osm.etsi.org/gerrit/osm/devops # timeout=10
Fetching upstream changes from https://osm.etsi.org/gerrit/osm/devops
 > git fetch --tags --progress https://osm.etsi.org/gerrit/osm/devops +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/feature7106^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/feature7106^{commit} # timeout=10
Checking out Revision 59c9465cac22604312947eebde176fe784b8679d (refs/remotes/origin/feature7106)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 59c9465cac22604312947eebde176fe784b8679d
 > git branch -a -v --no-abbrev # timeout=10
 > git checkout -b feature7106 59c9465cac22604312947eebde176fe784b8679d
First time build. Skipping changelog.
[Pipeline] }
[Pipeline] // dir
[Pipeline] load
[Pipeline] { (devops/jenkins/ci-pipelines/ci_stage_2.groovy)
[Pipeline] }
[Pipeline] // load
[Pipeline] echo
do_stage_3= false
[Pipeline] load
[Pipeline] { (devops/jenkins/ci-pipelines/ci_helper.groovy)
[Pipeline] }
[Pipeline] // load
[Pipeline] stage
[Pipeline] { (Prepare)
[Pipeline] sh
[I-stage_2-merge_feature7106-HI7HHKF7TBI75S7K5VQ2FCSZHINEMAX4UGVK5PFZ7MVG6D2KON5Q] Running shell script
+ env
JENKINS_HOME=/var/lib/jenkins
MAIL=/var/mail/jenkins
LC_TIME=fr_FR.UTF-8
SSH_CLIENT=195.238.226.13 43376 22
USER=jenkins
RUN_CHANGES_DISPLAY_URL=https://osm.etsi.org/jenkins/job/NBI-stage_2-merge/job/feature7106/2/display/redirect?page=changes
GERRIT_PROJECT=osm/NBI
SHLVL=1
NODE_LABELS=docker osm2 osm2 slave pipeline
HUDSON_URL=https://osm.etsi.org/jenkins/
OLDPWD=/home/jenkins
HOME=/home/jenkins
BUILD_URL=https://osm.etsi.org/jenkins/job/NBI-stage_2-merge/job/feature7106/2/
HUDSON_COOKIE=880fe38c-c254-4e44-9b95-d601d427d5f8
JENKINS_SERVER_COOKIE=durable-cceb47cc768b8102f1afecce9cdbdd49
LC_MONETARY=fr_FR.UTF-8
WORKSPACE=/opt/jenkins/workspace/I-stage_2-merge_feature7106-HI7HHKF7TBI75S7K5VQ2FCSZHINEMAX4UGVK5PFZ7MVG6D2KON5Q
LOGNAME=jenkins
NODE_NAME=osm2 slave
GERRIT_BRANCH=feature7106
_=/usr/bin/java
EXECUTOR_NUMBER=6
XDG_SESSION_ID=2322
BUILD_DISPLAY_NAME=#2
PROJECT_URL_PREFIX=https://osm.etsi.org/gerrit
HUDSON_HOME=/var/lib/jenkins
JOB_BASE_NAME=feature7106
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
LC_ADDRESS=fr_FR.UTF-8
BUILD_ID=2
XDG_RUNTIME_DIR=/run/user/1017
BUILD_TAG=jenkins-NBI-stage_2-merge-feature7106-2
LC_TELEPHONE=fr_FR.UTF-8
JENKINS_URL=https://osm.etsi.org/jenkins/
LANG=en_US.UTF-8
JOB_URL=https://osm.etsi.org/jenkins/job/NBI-stage_2-merge/job/feature7106/
BUILD_NUMBER=2
SHELL=/bin/bash
XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt
LC_NAME=fr_FR.UTF-8
RUN_DISPLAY_URL=https://osm.etsi.org/jenkins/job/NBI-stage_2-merge/job/feature7106/2/display/redirect
ARTIFACTORY_SERVER=artifactory-osm
HUDSON_SERVER_COOKIE=6d3295a483c3e6d5
LC_MEASUREMENT=fr_FR.UTF-8
JOB_DISPLAY_URL=https://osm.etsi.org/jenkins/job/NBI-stage_2-merge/job/feature7106/display/redirect
LC_IDENTIFICATION=fr_FR.UTF-8
NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat
JOB_NAME=NBI-stage_2-merge/feature7106
TEST_INSTALL=false
PWD=/opt/jenkins/workspace/I-stage_2-merge_feature7106-HI7HHKF7TBI75S7K5VQ2FCSZHINEMAX4UGVK5PFZ7MVG6D2KON5Q
LC_ALL=en_US.UTF-8
SSH_CONNECTION=195.238.226.13 43376 172.21.1.2 22
LC_NUMERIC=fr_FR.UTF-8
LC_PAPER=fr_FR.UTF-8
BRANCH_NAME=feature7106
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Checkout)
[Pipeline] sh
[I-stage_2-merge_feature7106-HI7HHKF7TBI75S7K5VQ2FCSZHINEMAX4UGVK5PFZ7MVG6D2KON5Q] Running shell script
+ git fetch origin
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (License Scan)
[Pipeline] sh
[I-stage_2-merge_feature7106-HI7HHKF7TBI75S7K5VQ2FCSZHINEMAX4UGVK5PFZ7MVG6D2KON5Q] Running shell script
+ devops/tools/license_scan.sh
GERRIT BRANCH is feature7106
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version           Architecture Description
+++-==============-=================-============-=================================
ii  wget           1.17.1-1ubuntu1.2 amd64        retrieves files from the web
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version           Architecture Description
+++-==============-=================-============-=======================================================
ii  curl           7.47.0-1ubuntu2.2 amd64        command line tool for transferring data with URL syntax
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Docker-Build)
[Pipeline] sh
[I-stage_2-merge_feature7106-HI7HHKF7TBI75S7K5VQ2FCSZHINEMAX4UGVK5PFZ7MVG6D2KON5Q] Running shell script
+ id -g
+ echo RUN groupadd -o -g 1015 -r jenkins
+ id -u
+ echo RUN useradd -o -u 1017 --create-home -r -g jenkins jenkins
[Pipeline] sh
[I-stage_2-merge_feature7106-HI7HHKF7TBI75S7K5VQ2FCSZHINEMAX4UGVK5PFZ7MVG6D2KON5Q] Running shell script
+ docker build -t osm/nbi-feature7106 .
Sending build context to Docker daemon 557.1 kB
Sending build context to Docker daemon 1.114 MB
Sending build context to Docker daemon 1.671 MB
Sending build context to Docker daemon 2.228 MB
Sending build context to Docker daemon 2.785 MB
Sending build context to Docker daemon 3.342 MB
Sending build context to Docker daemon 3.899 MB
Sending build context to Docker daemon 4.456 MB
Sending build context to Docker daemon 5.014 MB
Sending build context to Docker daemon 5.571 MB
Sending build context to Docker daemon 6.128 MB
Sending build context to Docker daemon 6.685 MB
Sending build context to Docker daemon 7.242 MB
Sending build context to Docker daemon 7.799 MB
Sending build context to Docker daemon 8.356 MB
Sending build context to Docker daemon 8.913 MB
Sending build context to Docker daemon  9.47 MB
Sending build context to Docker daemon 10.03 MB
Sending build context to Docker daemon 10.58 MB
Sending build context to Docker daemon 11.14 MB
Sending build context to Docker daemon  11.7 MB
Sending build context to Docker daemon 12.26 MB
Sending build context to Docker daemon 12.81 MB
Sending build context to Docker daemon 13.37 MB
Sending build context to Docker daemon 13.93 MB
Sending build context to Docker daemon 14.23 MB

Step 1 : FROM ubuntu:16.04
 ---> f1d200737f6f
Step 2 : RUN apt-get update && apt-get -y install wget git make python python3 python-pip     libcurl4-gnutls-dev libgnutls-dev tox python-dev python3-dev     debhelper python-setuptools python-all python3-all apt-utils python-magic     python3-pip python-pip &&     DEBIAN_FRONTEND=noninteractive pip3 install -U stdeb setuptools-version-command &&     DEBIAN_FRONTEND=noninteractive pip2 install -U stdeb
 ---> Using cache
 ---> a8b67272e45d
Step 3 : RUN groupadd -o -g 1015 -r jenkins
 ---> Using cache
 ---> 1bbbc39f6f63
Step 4 : RUN useradd -o -u 1017 --create-home -r -g jenkins jenkins
 ---> Using cache
 ---> 62d1feb3e4f5
Successfully built 62d1feb3e4f5
[Pipeline] }
[Pipeline] // stage
[Pipeline] withDockerContainer
osm2 slave does not seem to be running inside a container
$ docker run -t -d -u 1017:1015 -w /opt/jenkins/workspace/I-stage_2-merge_feature7106-HI7HHKF7TBI75S7K5VQ2FCSZHINEMAX4UGVK5PFZ7MVG6D2KON5Q -v /opt/jenkins/workspace/I-stage_2-merge_feature7106-HI7HHKF7TBI75S7K5VQ2FCSZHINEMAX4UGVK5PFZ7MVG6D2KON5Q:/opt/jenkins/workspace/I-stage_2-merge_feature7106-HI7HHKF7TBI75S7K5VQ2FCSZHINEMAX4UGVK5PFZ7MVG6D2KON5Q:rw,z -v /opt/jenkins/workspace/I-stage_2-merge_feature7106-HI7HHKF7TBI75S7K5VQ2FCSZHINEMAX4UGVK5PFZ7MVG6D2KON5Q@tmp:/opt/jenkins/workspace/I-stage_2-merge_feature7106-HI7HHKF7TBI75S7K5VQ2FCSZHINEMAX4UGVK5PFZ7MVG6D2KON5Q@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** --entrypoint cat osm/nbi-feature7106
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Test)
[Pipeline] sh
[I-stage_2-merge_feature7106-HI7HHKF7TBI75S7K5VQ2FCSZHINEMAX4UGVK5PFZ7MVG6D2KON5Q] Running shell script
+ devops-stages/stage-test.sh
GLOB sdist-make: /opt/jenkins/workspace/I-stage_2-merge_feature7106-HI7HHKF7TBI75S7K5VQ2FCSZHINEMAX4UGVK5PFZ7MVG6D2KON5Q/setup.py
flake8 create: /home/jenkins/.tox/flake8
flake8 installdeps: flake8
flake8 inst: /home/jenkins/.tox/dist/osm_nbi-5.0.2.post28+g1f1f6e0.dirty.zip
flake8 installed: aiokafka==0.5.1,attrs==19.1.0,Babel==2.6.0,backports.functools-lru-cache==1.5,certifi==2019.3.9,chardet==3.0.4,cheroot==6.5.5,CherryPy==18.0.0,contextlib2==0.5.5,debtcollector==1.21.0,entrypoints==0.3,flake8==3.7.7,idna==2.8,iso8601==0.1.12,jaraco.functools==2.0,jsonschema==3.0.1,kafka-python==1.4.3,keystoneauth1==3.14.0,mccabe==0.6.1,more-itertools==7.0.0,msgpack==0.6.1,netaddr==0.7.19,netifaces==0.10.9,os-service-types==1.6.0,oslo.config==6.9.0,oslo.i18n==3.23.1,oslo.serialization==2.29.0,oslo.utils==3.41.0,osm-common==5.0.2.post6+g10602af,osm-im==5.0.5.post6+g46dfea5,osm-nbi==5.0.2.post28+g1f1f6e0.dirty,pbr==5.2.0,pkg-resources==0.0.0,portend==2.4,pycodestyle==2.5.0,pycrypto==2.6.1,pyflakes==2.1.1,pymongo==3.8.0,pyparsing==2.4.0,pyrsistent==0.15.1,python-keystoneclient==3.19.0,pytz==2019.1,PyYAML==3.13,requests==2.21.0,rfc3986==1.3.1,six==1.12.0,stevedore==1.30.1,tempora==1.14.1,urllib3==1.24.3,wrapt==1.11.1,zc.lockfile==1.4
flake8 runtests: PYTHONHASHSEED='2331066467'
flake8 runtests: commands[0] | flake8 osm_nbi/ setup.py --max-line-length 120 --exclude .svn,CVS,.gz,.git,__pycache__,.tox,local,temp,osm_im --ignore W291,W293,E226,E402,W504
___________________________________ summary ____________________________________
  flake8: commands succeeded
  congratulations :)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build)
[Pipeline] sh
[I-stage_2-merge_feature7106-HI7HHKF7TBI75S7K5VQ2FCSZHINEMAX4UGVK5PFZ7MVG6D2KON5Q] Running shell script
+ devops-stages/stage-build.sh
/usr/local/lib/python3.5/dist-packages/setuptools/dist.py:470: UserWarning: Normalizing 'v5.0.2.post28+g1f1f6e0.dirty' to '5.0.2.post28+g1f1f6e0.dirty'
  normalized_version,
CALLING dpkg-source -b osm-nbi-5.0.2.post28+g1f1f6e0.dirty osm-nbi_5.0.2.post28+g1f1f6e0.dirty.orig.tar.gz (in dir deb_dist)
 dpkg-source --before-build osm-nbi-5.0.2.post28+g1f1f6e0.dirty
 fakeroot debian/rules clean
/usr/local/lib/python3.5/dist-packages/setuptools/dist.py:470: UserWarning: Normalizing 'v5.0.2.post28+g1f1f6e0.dirty' to '5.0.2.post28+g1f1f6e0.dirty'
  normalized_version,
'build/lib' does not exist -- can't clean it
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.5' does not exist -- can't clean it
 dpkg-source -b osm-nbi-5.0.2.post28+g1f1f6e0.dirty
 dpkg-genchanges -S -sa >../osm-nbi_5.0.2.post28+g1f1f6e0.dirty-1_source.changes
dpkg-genchanges: including full source code in upload
 dpkg-source --after-build osm-nbi-5.0.2.post28+g1f1f6e0.dirty
dpkg-source: warning: extracting unsigned source package (osm-nbi_5.0.2.post28+g1f1f6e0.dirty-1.dsc)
 dpkg-source --before-build osm-nbi-5.0.2.post28+g1f1f6e0.dirty
 fakeroot debian/rules clean
/usr/local/lib/python3.5/dist-packages/setuptools/dist.py:470: UserWarning: Normalizing 'v5.0.2.post28+g1f1f6e0.dirty' to '5.0.2.post28+g1f1f6e0.dirty'
  normalized_version,
'build/lib' does not exist -- can't clean it
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.5' does not exist -- can't clean it
 dpkg-source -b osm-nbi-5.0.2.post28+g1f1f6e0.dirty
 debian/rules build
/usr/local/lib/python3.5/dist-packages/setuptools/dist.py:470: UserWarning: Normalizing 'v5.0.2.post28+g1f1f6e0.dirty' to '5.0.2.post28+g1f1f6e0.dirty'
  normalized_version,
 fakeroot debian/rules binary
/usr/local/lib/python3.5/dist-packages/setuptools/dist.py:470: UserWarning: Normalizing 'v5.0.2.post28+g1f1f6e0.dirty' to '5.0.2.post28+g1f1f6e0.dirty'
  normalized_version,
I: dh_python3 fs:379: renaming osm_nbi-5.0.2.post28+g1f1f6e0.dirty-py3.5.egg-info to osm_nbi-5.0.2.post28+g1f1f6e0.dirty.egg-info
I: dh_python3 pydist:184: Cannot find package that provides osm_common. Please add package that provides it to Build-Depends or add "osm_common python3-osm-common" line to debian/py3dist-overrides or add proper  dependency to Depends by hand and ignore this info.
I: dh_python3 pydist:184: Cannot find package that provides osm_im. Please add package that provides it to Build-Depends or add "osm_im python3-osm-im" line to debian/py3dist-overrides or add proper  dependency to Depends by hand and ignore this info.
 dpkg-genchanges  >../osm-nbi_5.0.2.post28+g1f1f6e0.dirty-1_amd64.changes
dpkg-genchanges: including full source code in upload
 dpkg-source --after-build osm-nbi-5.0.2.post28+g1f1f6e0.dirty
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Archive)
[Pipeline] sh
[I-stage_2-merge_feature7106-HI7HHKF7TBI75S7K5VQ2FCSZHINEMAX4UGVK5PFZ7MVG6D2KON5Q] Running shell script
+ mkdir -p changelog
[Pipeline] sh
[I-stage_2-merge_feature7106-HI7HHKF7TBI75S7K5VQ2FCSZHINEMAX4UGVK5PFZ7MVG6D2KON5Q] Running shell script
+ devops/tools/generatechangelog-pipeline.sh
[Pipeline] sh
[I-stage_2-merge_feature7106-HI7HHKF7TBI75S7K5VQ2FCSZHINEMAX4UGVK5PFZ7MVG6D2KON5Q] Running shell script
+ devops-stages/stage-archive.sh
[Pipeline] getArtifactoryServer
[Pipeline] artifactoryUpload
For pattern: dists/*.gz 1 artifacts were found.
For pattern: dists/*Packages 1 artifacts were found.
For pattern: pool/*/*.deb 1 artifacts were found.
For pattern: changelog/* 1 artifacts were found.
Deploying artifact: http://osm1.etsi.org:8081/artifactory/osm-NBI/feature7106/2/changelog/changelog-NBI.html
Deploying artifact: http://osm1.etsi.org:8081/artifactory/osm-NBI/feature7106/2/dists/unstable/NBI/binary-amd64/Packages.gz
Deploying artifact: http://osm1.etsi.org:8081/artifactory/osm-NBI/feature7106/2/dists/unstable/NBI/binary-amd64/Packages
Deploying artifact: http://osm1.etsi.org:8081/artifactory/osm-NBI/feature7106/2/pool/NBI/python3-osm-nbi_5.0.2.post28+g1f1f6e0.dirty-1_all.deb
[Pipeline] publishBuildInfo
Deploying build info to: http://osm1.etsi.org:8081/artifactory/api/build
Deploying build descriptor to: http://osm1.etsi.org:8081/artifactory/api/build
Build successfully deployed. Browse it in Artifactory under http://osm1.etsi.org:8081/artifactory/webapp/builds/NBI-stage_2-merge%20::%20feature7106/2
[Pipeline] sh
[I-stage_2-merge_feature7106-HI7HHKF7TBI75S7K5VQ2FCSZHINEMAX4UGVK5PFZ7MVG6D2KON5Q] Running shell script
+ env
[Pipeline] step
Archiving artifacts
Recording fingerprints
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
$ docker stop --time=1 026fa3402a613b6715ea4b009c0f3d1efb6c42b6c22394188fa0d7ed43bc4b4a
$ docker rm -f 026fa3402a613b6715ea4b009c0f3d1efb6c42b6c22394188fa0d7ed43bc4b4a
[Pipeline] // withDockerContainer
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS