Started by upstream project "IM-stage_1" build number 767 originally caused by: Triggered by Gerrit: https://osm.etsi.org/gerrit/11320 > 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 config --get remote.origin.url # timeout=10 > git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/* Seen branch in repository origin/bug1511 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/ng-ro-refactor Seen branch in repository origin/rift300 Seen branch in repository origin/sol006 Seen branch in repository origin/sol006v331 Seen branch in repository origin/v10.0 Seen branch in repository origin/v11.0 Seen branch in repository origin/v2.0 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 branch in repository origin/v7.0 Seen branch in repository origin/v8.0 Seen branch in repository origin/v9.0 Seen 20 remote branches Obtained Jenkinsfile from 1ab5b684e4397354b161ca9c0354a4fcde406deb Running in Durability level: MAX_SURVIVABILITY [Pipeline] properties [Pipeline] node Running on osm2 slave in /opt/jenkins/workspace/IM-stage_2_v11.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/IM.git # timeout=10 Fetching without tags Fetching upstream changes from https://osm.etsi.org/gerrit/osm/IM.git > git --version # timeout=10 > git fetch --no-tags --progress https://osm.etsi.org/gerrit/osm/IM.git +refs/heads/*:refs/remotes/origin/* Checking out Revision 1ab5b684e4397354b161ca9c0354a4fcde406deb (v11.0) > git config core.sparsecheckout # timeout=10 > git checkout -f 1ab5b684e4397354b161ca9c0354a4fcde406deb Commit message: "Day-2 primitives for CNF with proxy charms" > git rev-list --no-walk 1ab5b684e4397354b161ca9c0354a4fcde406deb # timeout=10 [Pipeline] dir Running in /opt/jenkins/workspace/IM-stage_2_v11.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/v11.0^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/v11.0^{commit} # timeout=10 Checking out Revision a367b246ae3b3f6cbfe137f0fdf7c78915267e79 (refs/remotes/origin/v11.0) > git config core.sparsecheckout # timeout=10 > git checkout -f a367b246ae3b3f6cbfe137f0fdf7c78915267e79 > git branch -a -v --no-abbrev # timeout=10 > git branch -D v11.0 # timeout=10 > git checkout -b v11.0 a367b246ae3b3f6cbfe137f0fdf7c78915267e79 Commit message: "Fix bug 1750 to add GCP connector to RO Dockerfile and RO charm" > git rev-list --no-walk a367b246ae3b3f6cbfe137f0fdf7c78915267e79 # timeout=10 [Pipeline] } [Pipeline] // dir [Pipeline] load [Pipeline] { (devops/jenkins/ci-pipelines/ci_stage_2.groovy) [Pipeline] } [Pipeline] // load [Pipeline] echo do_stage_3= true [Pipeline] load [Pipeline] { (devops/jenkins/ci-pipelines/ci_helper.groovy) [Pipeline] } [Pipeline] // load [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] sh [IM-stage_2_v11.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 58184 22 USER=jenkins RUN_CHANGES_DISPLAY_URL=https://osm.etsi.org/jenkins/job/IM-stage_2/job/v11.0/5/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/v11.0/5/ HUDSON_COOKIE=084e7806-0707-4cba-829b-cd7b330f806f JENKINS_SERVER_COOKIE=durable-c577efd2d6238274e766c6649622430e LC_MONETARY=fr_FR.UTF-8 GERRIT_PATCHSET_REVISION=416eadba9aec2c0d478bd994fcfb0d21cea7c2bb WORKSPACE=/opt/jenkins/workspace/IM-stage_2_v11.0 LOGNAME=jenkins NODE_NAME=osm2 slave GERRIT_BRANCH=v11.0 _=/usr/bin/java EXECUTOR_NUMBER=5 XDG_SESSION_ID=3587 BUILD_DISPLAY_NAME=#5 PROJECT_URL_PREFIX=https://osm.etsi.org/gerrit HUDSON_HOME=/var/lib/jenkins JOB_BASE_NAME=v11.0 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin LC_ADDRESS=fr_FR.UTF-8 BUILD_ID=5 XDG_RUNTIME_DIR=/run/user/1017 BUILD_TAG=jenkins-IM-stage_2-v11.0-5 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/v11.0/ BUILD_NUMBER=5 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/v11.0/5/display/redirect ARTIFACTORY_SERVER=artifactory-osm GERRIT_REFSPEC=refs/changes/20/11320/3 HUDSON_SERVER_COOKIE=6d3295a483c3e6d5 LC_MEASUREMENT=fr_FR.UTF-8 JOB_DISPLAY_URL=https://osm.etsi.org/jenkins/job/IM-stage_2/job/v11.0/display/redirect LC_IDENTIFICATION=fr_FR.UTF-8 NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat JOB_NAME=IM-stage_2/v11.0 TEST_INSTALL=true PWD=/opt/jenkins/workspace/IM-stage_2_v11.0 LC_ALL=en_US.UTF-8 SSH_CONNECTION=195.238.226.13 58184 172.21.1.2 22 LC_NUMERIC=fr_FR.UTF-8 LC_PAPER=fr_FR.UTF-8 BRANCH_NAME=v11.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Checkout) [Pipeline] sh [IM-stage_2_v11.0] Running shell script + git fetch --tags [Pipeline] sh [IM-stage_2_v11.0] Running shell script + git fetch origin refs/changes/20/11320/3 From https://osm.etsi.org/gerrit/osm/IM * branch refs/changes/20/11320/3 -> FETCH_HEAD [Pipeline] sh [IM-stage_2_v11.0] Running shell script + git checkout -f 416eadba9aec2c0d478bd994fcfb0d21cea7c2bb Previous HEAD position was 1ab5b68... Day-2 primitives for CNF with proxy charms HEAD is now at 416eadb... Fix bug 1732: backwards compatibility of relations [Pipeline] sh [IM-stage_2_v11.0] Running shell script + sudo git clean -dfx Removing .cache/ Removing .coverage Removing .local/ Removing .m2/ Removing .wget-hsts Removing build.env Removing changelog/ Removing cover/ Removing coverage.xml Skipping repository deb_dist/osm-im-9.0.0.post20+g3e78bc1/sol006_model Removing deb_dist/osm-im-9.0.0.post20+g3e78bc1/models Removing deb_dist/osm-im-9.0.0.post20+g3e78bc1/osm_im Removing deb_dist/osm-im-9.0.0.post20+g3e78bc1/patch Removing deb_dist/osm-im-9.0.0.post20+g3e78bc1/Makefile Removing deb_dist/osm-im-9.0.0.post20+g3e78bc1/README.rst Removing deb_dist/osm-im-9.0.0.post20+g3e78bc1/osm_im.egg-info Removing deb_dist/osm-im-9.0.0.post20+g3e78bc1/build Removing deb_dist/osm-im-9.0.0.post20+g3e78bc1/debian Removing deb_dist/osm-im-9.0.0.post20+g3e78bc1/LICENSE Removing deb_dist/osm-im-9.0.0.post20+g3e78bc1/.pc Removing deb_dist/osm-im-9.0.0.post20+g3e78bc1/PKG-INFO Removing deb_dist/osm-im-9.0.0.post20+g3e78bc1/MANIFEST.in Removing deb_dist/osm-im-9.0.0.post20+g3e78bc1/setup.py Removing deb_dist/osm-im-9.0.0.post20+g3e78bc1/setup.cfg Removing deb_dist/osm-im_9.0.0.post20+g3e78bc1.orig.tar.gz Removing deb_dist/osm-im_9.0.0.post20+g3e78bc1-1_amd64.buildinfo Removing deb_dist/osm-im_9.0.0.post20+g3e78bc1-1.debian.tar.xz Removing deb_dist/osm-im_9.0.0.post20+g3e78bc1-1_source.buildinfo Removing deb_dist/osm-im_9.0.0.post20+g3e78bc1-1_amd64.changes Removing deb_dist/osm-im_9.0.0.post20+g3e78bc1-1.dsc Removing deb_dist/osm-im_9.0.0.post20+g3e78bc1-1_source.changes Removing debian/osm-imdocs.install Skipping repository devops/ Removing dist/ Removing dists/ Removing models/yang/ietf-inet-types.yang Removing models/yang/ietf-yang-types.yang Removing nosetests.xml Removing osm-imdocs-9.0.0.post20/ Removing osm-imdocs_9.0.0.post20-g3e78bc1.debian.tar.xz Removing osm-imdocs_9.0.0.post20-g3e78bc1.dsc Removing osm-imdocs_9.0.0.post20-g3e78bc1_amd64.buildinfo Removing osm-imdocs_9.0.0.post20-g3e78bc1_amd64.changes Removing osm-imdocs_9.0.0.post20.orig.tar.xz Removing osm_im-9.0.0.post20+g3e78bc1.tar.gz Removing osm_im.egg-info/ Removing osm_im/etsi_nfv_nsd.py Removing osm_im/etsi_nfv_vnfd.py Removing osm_im/nsd.py Removing osm_im/nsi.py Removing osm_im/nst.py Removing osm_im/osm.yaml Removing osm_im/vnfd.py Removing osm_im_trees/ Removing pool/ Skipping repository sol006_model/ Skipping repository yang2swagger/ [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (License Scan) [Pipeline] sh [IM-stage_2_v11.0] Running shell script + devops/tools/license_scan.sh models/augments/common-augments.yang Apache-2.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker-Build) [Pipeline] sh [IM-stage_2_v11.0] Running shell script + docker build -t osm/im-v11.0 . Sending build context to Docker daemon 34.9MB Step 1/6 : FROM ubuntu:18.04 ---> 5a214d77f5d7 Step 2/6 : RUN DEBIAN_FRONTEND=noninteractive apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y install debhelper git python3 python3-all python3-dev python3-setuptools ---> Using cache ---> f6e231fd46ba Step 3/6 : RUN python3 -m easy_install pip==21.0.1 ---> Using cache ---> 5ff91d394f4c Step 4/6 : RUN pip3 install tox==3.22.0 ---> Using cache ---> cde93d53ebeb Step 5/6 : RUN DEBIAN_FRONTEND=noninteractive apt-get -y install wget build-essential dh-make openjdk-8-jdk maven ---> Using cache ---> 4f5c88c7ad1a Step 6/6 : RUN update-java-alternatives --set /usr/lib/jvm/java-1.8.0-openjdk-amd64 ---> Using cache ---> b2537ef32547 Successfully built b2537ef32547 Successfully tagged osm/im-v11.0:latest [Pipeline] } [Pipeline] // stage [Pipeline] sh [IM-stage_2_v11.0] Running shell script + id -u [Pipeline] sh [IM-stage_2_v11.0] Running shell script + id -g [Pipeline] withDockerContainer osm2 slave does not seem to be running inside a container $ docker run -t -d -u 1017:1015 -u root -w /opt/jenkins/workspace/IM-stage_2_v11.0 -v /opt/jenkins/workspace/IM-stage_2_v11.0:/opt/jenkins/workspace/IM-stage_2_v11.0:rw,z -v /opt/jenkins/workspace/IM-stage_2_v11.0@tmp:/opt/jenkins/workspace/IM-stage_2_v11.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/im-v11.0 [Pipeline] { [Pipeline] stage [Pipeline] { (Test) [Pipeline] sh [IM-stage_2_v11.0] Running shell script + groupadd -o -g 1015 -r jenkins [Pipeline] sh [IM-stage_2_v11.0] Running shell script + pwd + useradd -o -u 1017 -d /opt/jenkins/workspace/IM-stage_2_v11.0 -r -g jenkins jenkins [Pipeline] sh [IM-stage_2_v11.0] Running shell script + echo #! /bin/sh [Pipeline] sh [IM-stage_2_v11.0] Running shell script + chmod 755 /usr/bin/mesg [Pipeline] sh [IM-stage_2_v11.0] Running shell script + runuser jenkins -c devops-stages/stage-test.sh \u2714 OK black in 20.837 seconds \u2714 OK flake8 in 21.002 seconds \u2714 OK pylint in 22.25 seconds \u2714 OK safety in 25.301 seconds \u2714 OK cover in 1 minute, 45.958 seconds ___________________________________ summary ____________________________________ black: commands succeeded cover: commands succeeded flake8: commands succeeded pylint: commands succeeded safety: commands succeeded congratulations :)[Pipeline] fileExists [Pipeline] step [Cobertura] Publishing Cobertura coverage report... [Cobertura] Publishing Cobertura coverage results... [Cobertura] Cobertura coverage report found. [Pipeline] fileExists [Pipeline] junit Recording test results [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [IM-stage_2_v11.0] Running shell script + runuser jenkins -c devops-stages/stage-build.sh + rm -rf dist deb_dist osm*.tar.gz *.egg-info .eggs + tox -e dist [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive) [Pipeline] sh [IM-stage_2_v11.0] Running shell script + runuser jenkins -c mkdir -p changelog [Pipeline] sh [IM-stage_2_v11.0] Running shell script + runuser jenkins -c devops/tools/generatechangelog-pipeline.sh > changelog/changelog-IM.html [Pipeline] sh [IM-stage_2_v11.0] Running shell script + runuser jenkins -c devops-stages/stage-archive.sh mv: cannot stat 'pyangbind/deb_dist/*.deb': No such file or directory mv: cannot stat 'pyang/deb_dist/*.deb': No such file or directory devops-stages/stage-archive.sh: 13: devops-stages/stage-archive.sh: apt-ftparchive: not found [Pipeline] getArtifactoryServer [Pipeline] newBuildInfo [Pipeline] artifactoryUpload [consumer_0] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-IM/v11.0-staging/5/dists/unstable/IM/binary-amd64/Packages.gz [consumer_1] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-IM/v11.0-staging/5/dists/unstable/IM/binary-amd64/Packages [consumer_2] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-IM/v11.0-staging/5/pool/IM/python3-osm-im_9.0.0.post20%2Bg416eadb-1_all.deb [consumer_1] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-IM/v11.0-staging/5/pool/IM/osm-imdocs_9.0.0.post20-g416eadb_all.deb [consumer_0] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-IM/v11.0-staging/5/changelog/changelog-IM.html [Pipeline] publishBuildInfo Deploying build info to: https://artifactory-osm.etsi.org/artifactory/api/build Deploying build descriptor to: https://artifactory-osm.etsi.org/artifactory/api/build Build successfully deployed. Browse it in Artifactory under https://artifactory-osm.etsi.org/artifactory/webapp/builds/IM-stage_2%20::%20v11.0/5 [Pipeline] sh [IM-stage_2_v11.0] Running shell script + env [Pipeline] step Archiving artifacts Recording fingerprints [Pipeline] } [Pipeline] // stage [Pipeline] } $ docker stop --time=1 a31c93d9142ac4f4757d463135a26a15f2fd0850853fc4ce1d2a9da421a0e314 $ docker rm -f a31c93d9142ac4f4757d463135a26a15f2fd0850853fc4ce1d2a9da421a0e314 [Pipeline] // withDockerContainer [Pipeline] fileExists [Pipeline] stage [Pipeline] { (Build System) [Pipeline] build (Building osm-stage_3 » v11.0) Scheduling project: osm-stage_3 » v11.0 Starting building: osm-stage_3 » v11.0 #22 [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline Finished: SUCCESS