Started by user garciadeblas > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to https://osm.etsi.org/gerrit/osm/IM.git > git config remote.origin.url https://osm.etsi.org/gerrit/osm/IM.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/rift300 Seen branch in repository origin/v2.0 Seen branch in repository origin/v3.1 Seen branch in repository origin/v4.0 Seen 5 remote branches Obtained Jenkinsfile from 477fa2f4507530b53044183cedd69addf92449c1 [Pipeline] properties [Pipeline] node Running on osm2 slave in /opt/jenkins/workspace/IM-stage_2_v4.0-ZZQ7TOVR3YSKO5WEWQGMZYYZOTRKAMDIXVF57MVIWJHP4QIRR7LA [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/IM.git # timeout=10 Fetching upstream changes from https://osm.etsi.org/gerrit/osm/IM.git > git --version # timeout=10 > git fetch --tags --progress https://osm.etsi.org/gerrit/osm/IM.git +refs/heads/*:refs/remotes/origin/* Checking out Revision 477fa2f4507530b53044183cedd69addf92449c1 (v4.0) > git config core.sparsecheckout # timeout=10 > git checkout -f 477fa2f4507530b53044183cedd69addf92449c1 > git rev-list 241bd466dff92bbe997af447fbb10121af4a5aa4 # timeout=10 [Pipeline] dir Running in /opt/jenkins/workspace/IM-stage_2_v4.0-ZZQ7TOVR3YSKO5WEWQGMZYYZOTRKAMDIXVF57MVIWJHP4QIRR7LA/devops [Pipeline] { [Pipeline] git Cloning the remote Git repository Cloning repository https://osm.etsi.org/gerrit/osm/devops > git init /opt/jenkins/workspace/IM-stage_2_v4.0-ZZQ7TOVR3YSKO5WEWQGMZYYZOTRKAMDIXVF57MVIWJHP4QIRR7LA/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/v4.0^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/v4.0^{commit} # timeout=10 Checking out Revision ef5d21308d3f0933c746649b9d38752ba927b8a1 (refs/remotes/origin/v4.0) > git config core.sparsecheckout # timeout=10 > git checkout -f ef5d21308d3f0933c746649b9d38752ba927b8a1 > git branch -a -v --no-abbrev # timeout=10 > git checkout -b v4.0 ef5d21308d3f0933c746649b9d38752ba927b8a1 > git rev-list ef5d21308d3f0933c746649b9d38752ba927b8a1 # 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 [IM-stage_2_v4.0-ZZQ7TOVR3YSKO5WEWQGMZYYZOTRKAMDIXVF57MVIWJHP4QIRR7LA] 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 41817 22 USER=jenkins RUN_CHANGES_DISPLAY_URL=https://osm.etsi.org/jenkins/job/IM-stage_2/job/v4.0/3/display/redirect?page=changes GERRIT_PROJECT=osm/IM 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/IM-stage_2/job/v4.0/3/ HUDSON_COOKIE=698f6ce4-782a-4142-8193-6852fe486b5d JENKINS_SERVER_COOKIE=durable-0e292de3cdac95394dcb55c98204c504 LC_MONETARY=fr_FR.UTF-8 WORKSPACE=/opt/jenkins/workspace/IM-stage_2_v4.0-ZZQ7TOVR3YSKO5WEWQGMZYYZOTRKAMDIXVF57MVIWJHP4QIRR7LA LOGNAME=jenkins NODE_NAME=osm2 slave GERRIT_BRANCH=v4.0 _=/usr/bin/java EXECUTOR_NUMBER=7 XDG_SESSION_ID=1337 BUILD_DISPLAY_NAME=#3 PROJECT_URL_PREFIX=https://osm.etsi.org/gerrit HUDSON_HOME=/var/lib/jenkins JOB_BASE_NAME=v4.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=3 XDG_RUNTIME_DIR=/run/user/1017 BUILD_TAG=jenkins-IM-stage_2-v4.0-3 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/IM-stage_2/job/v4.0/ BUILD_NUMBER=3 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/IM-stage_2/job/v4.0/3/display/redirect ARTIFACTORY_SERVER=artifactory-osm GERRIT_REFSPEC=refs/heads/v4.0 HUDSON_SERVER_COOKIE=6d3295a483c3e6d5 LC_MEASUREMENT=fr_FR.UTF-8 JOB_DISPLAY_URL=https://osm.etsi.org/jenkins/job/IM-stage_2/job/v4.0/display/redirect LC_IDENTIFICATION=fr_FR.UTF-8 NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat JOB_NAME=IM-stage_2/v4.0 TEST_INSTALL=false PWD=/opt/jenkins/workspace/IM-stage_2_v4.0-ZZQ7TOVR3YSKO5WEWQGMZYYZOTRKAMDIXVF57MVIWJHP4QIRR7LA LC_ALL=en_US.UTF-8 SSH_CONNECTION=195.238.226.13 41817 172.21.1.2 22 LC_NUMERIC=fr_FR.UTF-8 LC_PAPER=fr_FR.UTF-8 BRANCH_NAME=v4.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Checkout) [Pipeline] sh [IM-stage_2_v4.0-ZZQ7TOVR3YSKO5WEWQGMZYYZOTRKAMDIXVF57MVIWJHP4QIRR7LA] Running shell script + git fetch origin refs/heads/v4.0 From https://osm.etsi.org/gerrit/osm/IM * branch v4.0 -> FETCH_HEAD [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (License Scan) [Pipeline] sh [IM-stage_2_v4.0-ZZQ7TOVR3YSKO5WEWQGMZYYZOTRKAMDIXVF57MVIWJHP4QIRR7LA] Running shell script + devops/tools/license_scan.sh GERRIT BRANCH is v4.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 [IM-stage_2_v4.0-ZZQ7TOVR3YSKO5WEWQGMZYYZOTRKAMDIXVF57MVIWJHP4QIRR7LA] 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 [IM-stage_2_v4.0-ZZQ7TOVR3YSKO5WEWQGMZYYZOTRKAMDIXVF57MVIWJHP4QIRR7LA] Running shell script + docker build -t osm/im-v4.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 12.99 MB Step 1 : FROM ubuntu:16.04 ---> f1d200737f6f Step 2 : RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y install git make wget python python-pip debhelper tox && DEBIAN_FRONTEND=noninteractive pip install pip==9.0.3 && DEBIAN_FRONTEND=noninteractive pip install -U pyang pyangbind && DEBIAN_FRONTEND=noninteractive pip install -U stdeb ---> Using cache ---> bbe63b1bb264 Step 3 : RUN groupadd -o -g 1015 -r jenkins ---> Using cache ---> 5c8f5d03c081 Step 4 : RUN useradd -o -u 1017 --create-home -r -g jenkins jenkins ---> Using cache ---> 36d906a749bf Successfully built 36d906a749bf [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/IM-stage_2_v4.0-ZZQ7TOVR3YSKO5WEWQGMZYYZOTRKAMDIXVF57MVIWJHP4QIRR7LA -v /opt/jenkins/workspace/IM-stage_2_v4.0-ZZQ7TOVR3YSKO5WEWQGMZYYZOTRKAMDIXVF57MVIWJHP4QIRR7LA:/opt/jenkins/workspace/IM-stage_2_v4.0-ZZQ7TOVR3YSKO5WEWQGMZYYZOTRKAMDIXVF57MVIWJHP4QIRR7LA:rw,z -v /opt/jenkins/workspace/IM-stage_2_v4.0-ZZQ7TOVR3YSKO5WEWQGMZYYZOTRKAMDIXVF57MVIWJHP4QIRR7LA@tmp:/opt/jenkins/workspace/IM-stage_2_v4.0-ZZQ7TOVR3YSKO5WEWQGMZYYZOTRKAMDIXVF57MVIWJHP4QIRR7LA@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/im-v4.0 [Pipeline] { [Pipeline] stage [Pipeline] { (Test) [Pipeline] sh [IM-stage_2_v4.0-ZZQ7TOVR3YSKO5WEWQGMZYYZOTRKAMDIXVF57MVIWJHP4QIRR7LA] Running shell script + devops-stages/stage-test.sh [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [IM-stage_2_v4.0-ZZQ7TOVR3YSKO5WEWQGMZYYZOTRKAMDIXVF57MVIWJHP4QIRR7LA] Running shell script + devops-stages/stage-build.sh Cloning into 'pyang'... CALLING dpkg-source -b pyang-1.7.5 pyang_1.7.5.orig.tar.gz (in dir deb_dist) dpkg-source --before-build pyang-1.7.5 fakeroot debian/rules clean 'build/lib.linux-x86_64-2.7' does not exist -- can't clean it 'build/bdist.linux-x86_64' does not exist -- can't clean it 'build/scripts-2.7' does not exist -- can't clean it dpkg-source -b pyang-1.7.5 dpkg-genchanges -S -sa >../pyang_1.7.5-1_source.changes dpkg-genchanges: including full source code in upload dpkg-source --after-build pyang-1.7.5 dpkg-source: warning: extracting unsigned source package (pyang_1.7.5-1.dsc) dpkg-source --before-build pyang-1.7.5 fakeroot debian/rules clean 'build/lib.linux-x86_64-2.7' does not exist -- can't clean it 'build/bdist.linux-x86_64' does not exist -- can't clean it 'build/scripts-2.7' does not exist -- can't clean it debian/rules build fakeroot debian/rules binary W: dh_python2:479: Please add dh-python package to Build-Depends dpkg-gencontrol: warning: package python-pyang: unused substitution variable ${python:Versions} dpkg-gencontrol: warning: package python-pyang: unused substitution variable ${python:Provides} dpkg-genchanges -b >../pyang_1.7.5-1_amd64.changes dpkg-genchanges: binary-only upload (no source code included) dpkg-source --after-build pyang-1.7.5 Cloning into 'pyangbind'... Switched to a new branch 'issue151' CALLING dpkg-source -b pyangbind-0.6.0 pyangbind_0.6.0.orig.tar.gz (in dir deb_dist) dpkg-source --before-build pyangbind-0.6.0 fakeroot debian/rules clean 'build/lib.linux-x86_64-2.7' does not exist -- can't clean it 'build/bdist.linux-x86_64' does not exist -- can't clean it 'build/scripts-2.7' does not exist -- can't clean it dpkg-source -b pyangbind-0.6.0 dpkg-genchanges -S -sa >../pyangbind_0.6.0-1_source.changes dpkg-genchanges: including full source code in upload dpkg-source --after-build pyangbind-0.6.0 dpkg-source: warning: extracting unsigned source package (pyangbind_0.6.0-1.dsc) dpkg-source --before-build pyangbind-0.6.0 fakeroot debian/rules clean 'build/lib.linux-x86_64-2.7' does not exist -- can't clean it 'build/bdist.linux-x86_64' does not exist -- can't clean it 'build/scripts-2.7' does not exist -- can't clean it debian/rules build fakeroot debian/rules binary W: dh_python2:479: Please add dh-python package to Build-Depends dpkg-gencontrol: warning: package python-pyangbind: unused substitution variable ${python:Versions} dpkg-gencontrol: warning: package python-pyangbind: unused substitution variable ${python:Provides} dpkg-genchanges -b >../pyangbind_0.6.0-1_amd64.changes dpkg-genchanges: binary-only upload (no source code included) dpkg-source --after-build pyangbind-0.6.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive) [Pipeline] sh [IM-stage_2_v4.0-ZZQ7TOVR3YSKO5WEWQGMZYYZOTRKAMDIXVF57MVIWJHP4QIRR7LA] Running shell script + mkdir -p changelog [Pipeline] sh [IM-stage_2_v4.0-ZZQ7TOVR3YSKO5WEWQGMZYYZOTRKAMDIXVF57MVIWJHP4QIRR7LA] Running shell script + devops/tools/generatechangelog-pipeline.sh [Pipeline] sh [IM-stage_2_v4.0-ZZQ7TOVR3YSKO5WEWQGMZYYZOTRKAMDIXVF57MVIWJHP4QIRR7LA] Running shell script + devops-stages/stage-archive.sh devops-stages/stage-archive.sh: 12: devops-stages/stage-archive.sh: apt-ftparchive: not found [Pipeline] getArtifactoryServer [Pipeline] artifactoryUpload For pattern: dists/*.gz 1 artifacts were found. For pattern: dists/*Packages 1 artifacts were found. For pattern: pool/*/*.deb 3 artifacts were found. For pattern: changelog/* 1 artifacts were found. Deploying artifact: http://osm1.etsi.org:8081/artifactory/osm-IM/v4.0-staging/3/pool/IM/python-osm-im_4.0.1.post5-1_all.deb Deploying artifact: http://osm1.etsi.org:8081/artifactory/osm-IM/v4.0-staging/3/pool/IM/python-pyang_1.7.5-1_all.deb Deploying artifact: http://osm1.etsi.org:8081/artifactory/osm-IM/v4.0-staging/3/pool/IM/python-pyangbind_0.6.0-1_all.deb Deploying artifact: http://osm1.etsi.org:8081/artifactory/osm-IM/v4.0-staging/3/dists/unstable/IM/binary-amd64/Packages.gz Deploying artifact: http://osm1.etsi.org:8081/artifactory/osm-IM/v4.0-staging/3/changelog/changelog-IM.html Deploying artifact: http://osm1.etsi.org:8081/artifactory/osm-IM/v4.0-staging/3/dists/unstable/IM/binary-amd64/Packages [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/IM-stage_2%20::%20v4.0/3 [Pipeline] sh [IM-stage_2_v4.0-ZZQ7TOVR3YSKO5WEWQGMZYYZOTRKAMDIXVF57MVIWJHP4QIRR7LA] Running shell script + env [Pipeline] step Archiving artifacts Recording fingerprints [Pipeline] } [Pipeline] // stage [Pipeline] } $ docker stop --time=1 b9fd38b6846c457df80216699c3b58305d058c1217293b3a6d67da974df55259 $ docker rm -f b9fd38b6846c457df80216699c3b58305d058c1217293b3a6d67da974df55259 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline Finished: SUCCESS