Started by upstream project "buildall-stage_2" build number 11 originally caused by: 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/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 5 remote branches Obtained Jenkinsfile from f8765453077661ea05a1bb8b1225ee5ecdb0e5e8 [Pipeline] properties [Pipeline] node Running on osm2 slave in /opt/jenkins/workspace/NBI-stage_2_v5.0-QEQVWSQAD4I42DWX27SZ5L3A2MLPSPWAVE24XDPGBLJCPVZUMC5Q [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 f8765453077661ea05a1bb8b1225ee5ecdb0e5e8 (v5.0) > git config core.sparsecheckout # timeout=10 > git checkout -f f8765453077661ea05a1bb8b1225ee5ecdb0e5e8 > git rev-list f8765453077661ea05a1bb8b1225ee5ecdb0e5e8 # timeout=10 [Pipeline] dir Running in /opt/jenkins/workspace/NBI-stage_2_v5.0-QEQVWSQAD4I42DWX27SZ5L3A2MLPSPWAVE24XDPGBLJCPVZUMC5Q/devops [Pipeline] { [Pipeline] git > 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/v5.0^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/v5.0^{commit} # timeout=10 Checking out Revision d50b2d1902ea6c236b076190a161fc7deafca284 (refs/remotes/origin/v5.0) > git config core.sparsecheckout # timeout=10 > git checkout -f d50b2d1902ea6c236b076190a161fc7deafca284 > git branch -a -v --no-abbrev # timeout=10 > git branch -D v5.0 # timeout=10 > git checkout -b v5.0 d50b2d1902ea6c236b076190a161fc7deafca284 > git rev-list d50b2d1902ea6c236b076190a161fc7deafca284 # 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_v5.0-QEQVWSQAD4I42DWX27SZ5L3A2MLPSPWAVE24XDPGBLJCPVZUMC5Q] 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 35985 22 USER=jenkins RUN_CHANGES_DISPLAY_URL=https://osm.etsi.org/jenkins/job/NBI-stage_2/job/v5.0/11/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/v5.0/11/ HUDSON_COOKIE=50ccb8f5-2321-4cbc-b65c-f8b50005364a JENKINS_SERVER_COOKIE=durable-b3a8ad64e63d2540d78363896c206c2c LC_MONETARY=fr_FR.UTF-8 GERRIT_PATCHSET_REVISION=f8765453077661ea05a1bb8b1225ee5ecdb0e5e8 WORKSPACE=/opt/jenkins/workspace/NBI-stage_2_v5.0-QEQVWSQAD4I42DWX27SZ5L3A2MLPSPWAVE24XDPGBLJCPVZUMC5Q LOGNAME=jenkins NODE_NAME=osm2 slave GERRIT_BRANCH=v5.0 _=/usr/bin/java EXECUTOR_NUMBER=4 XDG_SESSION_ID=3 BUILD_DISPLAY_NAME=#11 PROJECT_URL_PREFIX=https://osm.etsi.org/gerrit HUDSON_HOME=/var/lib/jenkins JOB_BASE_NAME=v5.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=11 XDG_RUNTIME_DIR=/run/user/1017 BUILD_TAG=jenkins-NBI-stage_2-v5.0-11 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/v5.0/ BUILD_NUMBER=11 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/v5.0/11/display/redirect ARTIFACTORY_SERVER=artifactory-osm GERRIT_REFSPEC=refs/changes/62/7162/1 HUDSON_SERVER_COOKIE=6d3295a483c3e6d5 LC_MEASUREMENT=fr_FR.UTF-8 JOB_DISPLAY_URL=https://osm.etsi.org/jenkins/job/NBI-stage_2/job/v5.0/display/redirect LC_IDENTIFICATION=fr_FR.UTF-8 NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat JOB_NAME=NBI-stage_2/v5.0 TEST_INSTALL=false PWD=/opt/jenkins/workspace/NBI-stage_2_v5.0-QEQVWSQAD4I42DWX27SZ5L3A2MLPSPWAVE24XDPGBLJCPVZUMC5Q LC_ALL=en_US.UTF-8 SSH_CONNECTION=195.238.226.13 35985 172.21.1.2 22 LC_NUMERIC=fr_FR.UTF-8 LC_PAPER=fr_FR.UTF-8 BRANCH_NAME=v5.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Checkout) [Pipeline] sh [NBI-stage_2_v5.0-QEQVWSQAD4I42DWX27SZ5L3A2MLPSPWAVE24XDPGBLJCPVZUMC5Q] Running shell script + git fetch origin refs/changes/62/7162/1 From https://osm.etsi.org/gerrit/osm/NBI * branch refs/changes/62/7162/1 -> FETCH_HEAD [Pipeline] sh [NBI-stage_2_v5.0-QEQVWSQAD4I42DWX27SZ5L3A2MLPSPWAVE24XDPGBLJCPVZUMC5Q] Running shell script + git checkout -f f8765453077661ea05a1bb8b1225ee5ecdb0e5e8 HEAD is now at f876545... merging master into branch v5.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (License Scan) [Pipeline] sh [NBI-stage_2_v5.0-QEQVWSQAD4I42DWX27SZ5L3A2MLPSPWAVE24XDPGBLJCPVZUMC5Q] Running shell script + devops/tools/license_scan.sh GERRIT BRANCH is v5.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 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 [NBI-stage_2_v5.0-QEQVWSQAD4I42DWX27SZ5L3A2MLPSPWAVE24XDPGBLJCPVZUMC5Q] 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_v5.0-QEQVWSQAD4I42DWX27SZ5L3A2MLPSPWAVE24XDPGBLJCPVZUMC5Q] Running shell script + docker build -t osm/nbi-v5.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 15.78 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_v5.0-QEQVWSQAD4I42DWX27SZ5L3A2MLPSPWAVE24XDPGBLJCPVZUMC5Q -v /opt/jenkins/workspace/NBI-stage_2_v5.0-QEQVWSQAD4I42DWX27SZ5L3A2MLPSPWAVE24XDPGBLJCPVZUMC5Q:/opt/jenkins/workspace/NBI-stage_2_v5.0-QEQVWSQAD4I42DWX27SZ5L3A2MLPSPWAVE24XDPGBLJCPVZUMC5Q:rw,z -v /opt/jenkins/workspace/NBI-stage_2_v5.0-QEQVWSQAD4I42DWX27SZ5L3A2MLPSPWAVE24XDPGBLJCPVZUMC5Q@tmp:/opt/jenkins/workspace/NBI-stage_2_v5.0-QEQVWSQAD4I42DWX27SZ5L3A2MLPSPWAVE24XDPGBLJCPVZUMC5Q@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-v5.0 [Pipeline] { [Pipeline] stage [Pipeline] { (Test) [Pipeline] sh [NBI-stage_2_v5.0-QEQVWSQAD4I42DWX27SZ5L3A2MLPSPWAVE24XDPGBLJCPVZUMC5Q] Running shell script + devops-stages/stage-test.sh GLOB sdist-make: /opt/jenkins/workspace/NBI-stage_2_v5.0-QEQVWSQAD4I42DWX27SZ5L3A2MLPSPWAVE24XDPGBLJCPVZUMC5Q/setup.py flake8 create: /home/jenkins/.tox/flake8 flake8 installdeps: flake8 flake8 inst: /home/jenkins/.tox/dist/osm_nbi-5.0.5+gf876545.dirty.zip flake8 installed: aiokafka==0.5.0,Babel==2.6.0,backports.functools-lru-cache==1.5,certifi==2018.11.29,chardet==3.0.4,cheroot==6.5.4,CherryPy==18.0.0,contextlib2==0.5.5,debtcollector==1.20.0,entrypoints==0.3,flake8==3.7.4,idna==2.8,iso8601==0.1.12,jaraco.functools==2.0,jsonschema==2.6.0,kafka-python==1.4.3,keystoneauth1==3.11.2,mccabe==0.6.1,more-itertools==5.0.0,msgpack==0.6.1,netaddr==0.7.19,netifaces==0.10.9,os-service-types==1.5.0,oslo.config==6.8.0,oslo.i18n==3.23.0,oslo.serialization==2.28.1,oslo.utils==3.40.2,osm-common==5.0.2.post3+g05ede8f,osm-im==5.0.5.post1+g64a85fd,osm-nbi==5.0.5+gf876545.dirty,pbr==5.1.2,pkg-resources==0.0.0,portend==2.3,pycodestyle==2.5.0,pycrypto==2.6.1,pyflakes==2.1.0,pymongo==3.7.2,pyparsing==2.3.1,python-keystoneclient==3.18.0,pytz==2018.9,PyYAML==3.13,requests==2.21.0,rfc3986==1.2.0,six==1.12.0,stevedore==1.30.0,tempora==1.14,urllib3==1.24.1,wrapt==1.11.1,zc.lockfile==1.4 flake8 runtests: PYTHONHASHSEED='3896322959' 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_v5.0-QEQVWSQAD4I42DWX27SZ5L3A2MLPSPWAVE24XDPGBLJCPVZUMC5Q] Running shell script + devops-stages/stage-build.sh /usr/local/lib/python3.5/dist-packages/setuptools/dist.py:470: UserWarning: Normalizing 'v5.0.5+gf876545.dirty' to '5.0.5+gf876545.dirty' normalized_version, CALLING dpkg-source -b osm-nbi-5.0.5+gf876545.dirty osm-nbi_5.0.5+gf876545.dirty.orig.tar.gz (in dir deb_dist) dpkg-source --before-build osm-nbi-5.0.5+gf876545.dirty fakeroot debian/rules clean /usr/local/lib/python3.5/dist-packages/setuptools/dist.py:470: UserWarning: Normalizing 'v5.0.5+gf876545.dirty' to '5.0.5+gf876545.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.5+gf876545.dirty dpkg-genchanges -S -sa >../osm-nbi_5.0.5+gf876545.dirty-1_source.changes dpkg-genchanges: including full source code in upload dpkg-source --after-build osm-nbi-5.0.5+gf876545.dirty dpkg-source: warning: extracting unsigned source package (osm-nbi_5.0.5+gf876545.dirty-1.dsc) dpkg-source --before-build osm-nbi-5.0.5+gf876545.dirty fakeroot debian/rules clean /usr/local/lib/python3.5/dist-packages/setuptools/dist.py:470: UserWarning: Normalizing 'v5.0.5+gf876545.dirty' to '5.0.5+gf876545.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.5+gf876545.dirty debian/rules build /usr/local/lib/python3.5/dist-packages/setuptools/dist.py:470: UserWarning: Normalizing 'v5.0.5+gf876545.dirty' to '5.0.5+gf876545.dirty' normalized_version, fakeroot debian/rules binary /usr/local/lib/python3.5/dist-packages/setuptools/dist.py:470: UserWarning: Normalizing 'v5.0.5+gf876545.dirty' to '5.0.5+gf876545.dirty' normalized_version, I: dh_python3 fs:379: renaming osm_nbi-5.0.5+gf876545.dirty-py3.5.egg-info to osm_nbi-5.0.5+gf876545.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.5+gf876545.dirty-1_amd64.changes dpkg-genchanges: including full source code in upload dpkg-source --after-build osm-nbi-5.0.5+gf876545.dirty [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive) [Pipeline] sh [NBI-stage_2_v5.0-QEQVWSQAD4I42DWX27SZ5L3A2MLPSPWAVE24XDPGBLJCPVZUMC5Q] Running shell script + mkdir -p changelog [Pipeline] sh [NBI-stage_2_v5.0-QEQVWSQAD4I42DWX27SZ5L3A2MLPSPWAVE24XDPGBLJCPVZUMC5Q] Running shell script + devops/tools/generatechangelog-pipeline.sh [Pipeline] sh [NBI-stage_2_v5.0-QEQVWSQAD4I42DWX27SZ5L3A2MLPSPWAVE24XDPGBLJCPVZUMC5Q] 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/v5.0-staging/11/pool/NBI/python3-osm-nbi_5.0.5+gf876545.dirty-1_all.deb Deploying artifact: http://osm1.etsi.org:8081/artifactory/osm-NBI/v5.0-staging/11/dists/unstable/NBI/binary-amd64/Packages Deploying artifact: http://osm1.etsi.org:8081/artifactory/osm-NBI/v5.0-staging/11/dists/unstable/NBI/binary-amd64/Packages.gz Deploying artifact: http://osm1.etsi.org:8081/artifactory/osm-NBI/v5.0-staging/11/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::%20v5.0/11 [Pipeline] sh [NBI-stage_2_v5.0-QEQVWSQAD4I42DWX27SZ5L3A2MLPSPWAVE24XDPGBLJCPVZUMC5Q] Running shell script + env [Pipeline] step Archiving artifacts Recording fingerprints [Pipeline] } [Pipeline] // stage [Pipeline] } $ docker stop --time=1 1252d9f3e173152a6af714080b987c270cb3e816f11867062bc9811660914808 $ docker rm -f 1252d9f3e173152a6af714080b987c270cb3e816f11867062bc9811660914808 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline Finished: SUCCESS