SuccessConsole Output

Started by upstream project "buildall-stage_2" build number 26
originally caused by:
 Started by user madavi
 > 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 config --get remote.origin.url # timeout=10
 > git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/*
Seen branch in repository origin/feature5837
Seen branch in repository origin/feature7106
Seen branch in repository origin/feature7928
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 branch in repository origin/v6.0
Seen 9 remote branches
Obtained Jenkinsfile from 7bfe2675ecaf4cbbaeae2cc3954b96a494875e46
Running in Durability level: MAX_SURVIVABILITY
[Pipeline] properties
[Pipeline] node
Running on osm2 slave in /opt/jenkins/workspace/NBI-stage_2_v6.0
[Pipeline] {
[Pipeline] checkout
No credentials specified
 > 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 without tags
Fetching upstream changes from https://osm.etsi.org/gerrit/osm/NBI.git
 > git --version # timeout=10
 > git fetch --no-tags --progress https://osm.etsi.org/gerrit/osm/NBI.git +refs/heads/*:refs/remotes/origin/*
Checking out Revision 7bfe2675ecaf4cbbaeae2cc3954b96a494875e46 (v6.0)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 7bfe2675ecaf4cbbaeae2cc3954b96a494875e46
Commit message: "fix Dockerfile local to use osm_nbi as a module"
 > git rev-list --no-walk 7bfe2675ecaf4cbbaeae2cc3954b96a494875e46 # timeout=10
[Pipeline] dir
Running in /opt/jenkins/workspace/NBI-stage_2_v6.0/devops
[Pipeline] {
[Pipeline] git
No credentials specified
 > 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/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 rev-parse refs/remotes/origin/v6.0^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/v6.0^{commit} # timeout=10
Checking out Revision 8c3630e0f666cffd8c00de5dda395b87990005e1 (refs/remotes/origin/v6.0)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 8c3630e0f666cffd8c00de5dda395b87990005e1
 > git branch -a -v --no-abbrev # timeout=10
 > git branch -D v6.0 # timeout=10
 > git checkout -b v6.0 8c3630e0f666cffd8c00de5dda395b87990005e1
Commit message: "Fix cffi version to match the latest stable"
 > git rev-list --no-walk e83834a5c4af7583c80ea6110d8ec541aef3f39e # timeout=10
[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
[NBI-stage_2_v6.0] 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 60312 22
USER=jenkins
RUN_CHANGES_DISPLAY_URL=https://osm.etsi.org/jenkins/job/NBI-stage_2/job/v6.0/22/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/job/v6.0/22/
HUDSON_COOKIE=1255eefc-04d9-4d1f-ab82-d3163eafa418
JENKINS_SERVER_COOKIE=durable-ef60e82fa5aeec50f886a6ed2b4010fe
LC_MONETARY=fr_FR.UTF-8
GERRIT_PATCHSET_REVISION=7bfe2675ecaf4cbbaeae2cc3954b96a494875e46
WORKSPACE=/opt/jenkins/workspace/NBI-stage_2_v6.0
LOGNAME=jenkins
NODE_NAME=osm2 slave
GERRIT_BRANCH=v6.0
_=/usr/bin/java
EXECUTOR_NUMBER=3
BUILD_DISPLAY_NAME=#22
PROJECT_URL_PREFIX=https://osm.etsi.org/gerrit
HUDSON_HOME=/var/lib/jenkins
JOB_BASE_NAME=v6.0
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=22
BUILD_TAG=jenkins-NBI-stage_2-v6.0-22
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/job/v6.0/
BUILD_NUMBER=22
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/job/v6.0/22/display/redirect
ARTIFACTORY_SERVER=artifactory-osm
GERRIT_REFSPEC=refs/changes/93/7893/1
HUDSON_SERVER_COOKIE=6d3295a483c3e6d5
LC_MEASUREMENT=fr_FR.UTF-8
JOB_DISPLAY_URL=https://osm.etsi.org/jenkins/job/NBI-stage_2/job/v6.0/display/redirect
LC_IDENTIFICATION=fr_FR.UTF-8
NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat
JOB_NAME=NBI-stage_2/v6.0
TEST_INSTALL=false
PWD=/opt/jenkins/workspace/NBI-stage_2_v6.0
LC_ALL=en_US.UTF-8
SSH_CONNECTION=195.238.226.13 60312 172.21.1.2 22
LC_NUMERIC=fr_FR.UTF-8
LC_PAPER=fr_FR.UTF-8
BRANCH_NAME=v6.0
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Checkout)
[Pipeline] sh
[NBI-stage_2_v6.0] Running shell script
+ git fetch origin refs/changes/93/7893/1
From https://osm.etsi.org/gerrit/osm/NBI
 * branch            refs/changes/93/7893/1 -> FETCH_HEAD
[Pipeline] sh
[NBI-stage_2_v6.0] Running shell script
+ git checkout -f 7bfe2675ecaf4cbbaeae2cc3954b96a494875e46
HEAD is now at 7bfe267... fix Dockerfile local to use osm_nbi as a module
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (License Scan)
[Pipeline] sh
[NBI-stage_2_v6.0] Running shell script
+ devops/tools/license_scan.sh
GERRIT BRANCH is v6.0
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
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
From https://osm.etsi.org/gerrit/osm/NBI
 * [new tag]         v6.0.4     -> v6.0.4
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Docker-Build)
[Pipeline] sh
[NBI-stage_2_v6.0] 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
[NBI-stage_2_v6.0] Running shell script
+ docker build -t osm/nbi-v6.0 .
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.48 MB
Sending build context to Docker daemon 15.04 MB
Sending build context to Docker daemon  15.6 MB
Sending build context to Docker daemon 16.15 MB
Sending build context to Docker daemon 16.71 MB
Sending build context to Docker daemon 17.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/NBI-stage_2_v6.0 -v /opt/jenkins/workspace/NBI-stage_2_v6.0:/opt/jenkins/workspace/NBI-stage_2_v6.0:rw,z -v /opt/jenkins/workspace/NBI-stage_2_v6.0@tmp:/opt/jenkins/workspace/NBI-stage_2_v6.0@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-v6.0
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Test)
[Pipeline] sh
[NBI-stage_2_v6.0] Running shell script
+ devops-stages/stage-test.sh
GLOB sdist-make: /opt/jenkins/workspace/NBI-stage_2_v6.0/setup.py
flake8 create: /home/jenkins/.tox/flake8
flake8 installdeps: flake8
flake8 inst: /home/jenkins/.tox/dist/osm_nbi-6.0.4+g7bfe267.dirty.zip
flake8 installed: aiokafka==0.5.2,attrs==19.3.0,Babel==2.7.0,bitarray==1.1.0,certifi==2019.9.11,chardet==3.0.4,cheroot==8.2.1,CherryPy==18.0.0,contextlib2==0.6.0.post1,debtcollector==1.22.0,entrypoints==0.3,enum34==1.1.6,flake8==3.7.9,idna==2.8,importlib-metadata==0.23,iso8601==0.1.12,jaraco.functools==2.0,jsonschema==3.1.1,kafka-python==1.4.6,keystoneauth1==3.18.0,lxml==4.4.1,mccabe==0.6.1,more-itertools==7.2.0,msgpack==0.6.2,netaddr==0.7.19,netifaces==0.10.9,os-service-types==1.7.0,oslo.config==6.11.1,oslo.i18n==3.24.0,oslo.serialization==2.29.2,oslo.utils==3.42.0,osm-common==6.0.4.post4+g54a5464,osm-im==6.0.4.post8+gc214d9e,osm-nbi==6.0.4+g7bfe267.dirty,pbr==5.4.3,pkg-resources==0.0.0,portend==2.6,pyang==2.1,pyangbind==0.8.1,pycodestyle==2.5.0,pycrypto==2.6.1,pyflakes==2.1.1,pymongo==3.9.0,pyparsing==2.4.5,pyrsistent==0.15.5,python-keystoneclient==3.22.0,pytz==2019.3,PyYAML==3.13,regex==2019.11.1,requests==2.22.0,rfc3986==1.3.2,six==1.13.0,stevedore==1.31.0,tempora==1.14.1,urllib3==1.25.7,wrapt==1.11.2,zc.lockfile==2.0,zipp==0.6.0
flake8 runtests: PYTHONHASHSEED='3854640306'
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
[NBI-stage_2_v6.0] Running shell script
+ devops-stages/stage-build.sh
/usr/local/lib/python3.5/dist-packages/setuptools/dist.py:470: UserWarning: Normalizing 'v6.0.4+g7bfe267.dirty' to '6.0.4+g7bfe267.dirty'
  normalized_version,
CALLING dpkg-source -b osm-nbi-6.0.4+g7bfe267.dirty osm-nbi_6.0.4+g7bfe267.dirty.orig.tar.gz (in dir deb_dist)
 dpkg-source --before-build osm-nbi-6.0.4+g7bfe267.dirty
 fakeroot debian/rules clean
/usr/local/lib/python3.5/dist-packages/setuptools/dist.py:470: UserWarning: Normalizing 'v6.0.4+g7bfe267.dirty' to '6.0.4+g7bfe267.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-6.0.4+g7bfe267.dirty
 dpkg-genchanges -S -sa >../osm-nbi_6.0.4+g7bfe267.dirty-1_source.changes
dpkg-genchanges: including full source code in upload
 dpkg-source --after-build osm-nbi-6.0.4+g7bfe267.dirty
dpkg-source: warning: extracting unsigned source package (osm-nbi_6.0.4+g7bfe267.dirty-1.dsc)
 dpkg-source --before-build osm-nbi-6.0.4+g7bfe267.dirty
 fakeroot debian/rules clean
/usr/local/lib/python3.5/dist-packages/setuptools/dist.py:470: UserWarning: Normalizing 'v6.0.4+g7bfe267.dirty' to '6.0.4+g7bfe267.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-6.0.4+g7bfe267.dirty
 debian/rules build
/usr/local/lib/python3.5/dist-packages/setuptools/dist.py:470: UserWarning: Normalizing 'v6.0.4+g7bfe267.dirty' to '6.0.4+g7bfe267.dirty'
  normalized_version,
 fakeroot debian/rules binary
/usr/local/lib/python3.5/dist-packages/setuptools/dist.py:470: UserWarning: Normalizing 'v6.0.4+g7bfe267.dirty' to '6.0.4+g7bfe267.dirty'
  normalized_version,
I: dh_python3 fs:379: renaming osm_nbi-6.0.4+g7bfe267.dirty-py3.5.egg-info to osm_nbi-6.0.4+g7bfe267.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_6.0.4+g7bfe267.dirty-1_amd64.changes
dpkg-genchanges: including full source code in upload
 dpkg-source --after-build osm-nbi-6.0.4+g7bfe267.dirty
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Archive)
[Pipeline] sh
[NBI-stage_2_v6.0] Running shell script
+ mkdir -p changelog
[Pipeline] sh
[NBI-stage_2_v6.0] Running shell script
+ devops/tools/generatechangelog-pipeline.sh
[Pipeline] sh
[NBI-stage_2_v6.0] Running shell script
+ devops-stages/stage-archive.sh
[Pipeline] getArtifactoryServer
[Pipeline] newBuildInfo
[Pipeline] artifactoryUpload
[consumer_0] Deploying artifact: http://osm1.etsi.org:8081/artifactory/osm-NBI/v6.0-staging/22/dists/unstable/NBI/binary-amd64/Packages.gz
[consumer_2] Deploying artifact: http://osm1.etsi.org:8081/artifactory/osm-NBI/v6.0-staging/22/dists/unstable/NBI/binary-amd64/Packages
[consumer_1] Deploying artifact: http://osm1.etsi.org:8081/artifactory/osm-NBI/v6.0-staging/22/pool/NBI/python3-osm-nbi_6.0.4%2Bg7bfe267.dirty-1_all.deb
[consumer_2] Deploying artifact: http://osm1.etsi.org:8081/artifactory/osm-NBI/v6.0-staging/22/changelog/changelog-NBI.html
[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%20::%20v6.0/22
[Pipeline] sh
[NBI-stage_2_v6.0] Running shell script
+ env
[Pipeline] step
Archiving artifacts
Recording fingerprints
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
$ docker stop --time=1 9375392f8ee8a42a6c3f6b5e0dfb84509a28f4dacefe3f19aca9fb51ed709759
$ docker rm -f 9375392f8ee8a42a6c3f6b5e0dfb84509a28f4dacefe3f19aca9fb51ed709759
[Pipeline] // withDockerContainer
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS