Started by upstream project "devops-stage_1" build number 5204 originally caused by: Triggered by Gerrit: https://osm.etsi.org/gerrit/12464 > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to https://osm.etsi.org/gerrit/osm/devops.git > git config remote.origin.url https://osm.etsi.org/gerrit/osm/devops.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/WIM 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/multi_stack Seen branch in repository origin/netslice Seen branch in repository origin/new-pipeline Seen branch in repository origin/ng-ro-refactor Seen branch in repository origin/paas Seen branch in repository origin/py3 Seen branch in repository origin/rift300 Seen branch in repository origin/sol006 Seen branch in repository origin/sol006v331 Seen branch in repository origin/systest Seen branch in repository origin/v10.0 Seen branch in repository origin/v11.0 Seen branch in repository origin/v12.0 Seen branch in repository origin/v13.0 Seen branch in repository origin/v14.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 branch in repository origin/vagrant_stage_3 Seen 30 remote branches Obtained Jenkinsfile from a08bbe9d070bad607d33eda942d8ab2386e543b6 Running in Durability level: MAX_SURVIVABILITY [Pipeline] properties [Pipeline] node Running on osm worker 3 in /home/jenkins/workspace/devops-stage_2_v10.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/devops.git # timeout=10 Fetching without tags Fetching upstream changes from https://osm.etsi.org/gerrit/osm/devops.git > git --version # timeout=10 > git fetch --no-tags --force --progress https://osm.etsi.org/gerrit/osm/devops.git +refs/heads/*:refs/remotes/origin/* Checking out Revision a08bbe9d070bad607d33eda942d8ab2386e543b6 (v10.0) > git config core.sparsecheckout # timeout=10 > git checkout -f a08bbe9d070bad607d33eda942d8ab2386e543b6 Commit message: "Move to Juju 2.9.43" > git rev-list --no-walk a08bbe9d070bad607d33eda942d8ab2386e543b6 # timeout=10 [Pipeline] dir Running in /home/jenkins/workspace/devops-stage_2_v10.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 --force --progress https://osm.etsi.org/gerrit/osm/devops +refs/heads/*:refs/remotes/origin/* > git rev-parse refs/remotes/origin/v10.0^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/v10.0^{commit} # timeout=10 Checking out Revision a08bbe9d070bad607d33eda942d8ab2386e543b6 (refs/remotes/origin/v10.0) > git config core.sparsecheckout # timeout=10 > git checkout -f a08bbe9d070bad607d33eda942d8ab2386e543b6 > git branch -a -v --no-abbrev # timeout=10 > git branch -D v10.0 # timeout=10 > git checkout -b v10.0 a08bbe9d070bad607d33eda942d8ab2386e543b6 Commit message: "Move to Juju 2.9.43" [Pipeline] sh [devops] Running shell script + git fetch origin refs/changes/64/12464/9 From https://osm.etsi.org/gerrit/osm/devops * branch refs/changes/64/12464/9 -> FETCH_HEAD [Pipeline] sh [devops] Running shell script + git checkout -f f92f3137aeecbc88d221f44b7e992af1f5e116aa Note: switching to 'f92f3137aeecbc88d221f44b7e992af1f5e116aa'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at f92f313 Changing charmed installer to use 10.0/stable Fixing black error in keystone charm [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 [devops-stage_2_v10.0] Running shell script + env JENKINS_HOME=/var/lib/jenkins SSH_CLIENT=212.234.161.1 44768 22 USER=jenkins RUN_CHANGES_DISPLAY_URL=https://osm.etsi.org/jenkins/job/devops-stage_2/job/v10.0/247/display/redirect?page=changes GERRIT_PROJECT=osm/devops XDG_SESSION_TYPE=tty SHLVL=0 NODE_LABELS=osm worker 3 osm3 stage_2 HUDSON_URL=https://osm.etsi.org/jenkins/ MOTD_SHOWN=pam OLDPWD=/home/jenkins HOME=/home/jenkins BUILD_URL=https://osm.etsi.org/jenkins/job/devops-stage_2/job/v10.0/247/ HUDSON_COOKIE=781b18d0-a8ae-47d3-b9d9-a4c5e7914ebd JENKINS_SERVER_COOKIE=durable-7dfc9b4bea275d7cdb8fa6852078f06b DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus GERRIT_PATCHSET_REVISION=f92f3137aeecbc88d221f44b7e992af1f5e116aa WORKSPACE=/home/jenkins/workspace/devops-stage_2_v10.0 LOGNAME=jenkins NODE_NAME=osm worker 3 GERRIT_BRANCH=v10.0 _=/usr/bin/java RUN_ARTIFACTS_DISPLAY_URL=https://osm.etsi.org/jenkins/job/devops-stage_2/job/v10.0/247/display/redirect?page=artifacts XDG_SESSION_CLASS=user EXECUTOR_NUMBER=1 XDG_SESSION_ID=1 RUN_TESTS_DISPLAY_URL=https://osm.etsi.org/jenkins/job/devops-stage_2/job/v10.0/247/display/redirect?page=tests BUILD_DISPLAY_NAME=#247 PROJECT_URL_PREFIX=https://osm.etsi.org/gerrit HUDSON_HOME=/var/lib/jenkins JOB_BASE_NAME=v10.0 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin BUILD_ID=247 XDG_RUNTIME_DIR=/run/user/1001 BUILD_TAG=jenkins-devops-stage_2-v10.0-247 JENKINS_URL=https://osm.etsi.org/jenkins/ LANG=C.UTF-8 JOB_URL=https://osm.etsi.org/jenkins/job/devops-stage_2/job/v10.0/ BUILD_NUMBER=247 SHELL=/bin/bash RUN_DISPLAY_URL=https://osm.etsi.org/jenkins/job/devops-stage_2/job/v10.0/247/display/redirect ARTIFACTORY_SERVER=artifactory-osm GERRIT_REFSPEC=refs/changes/64/12464/9 HUDSON_SERVER_COOKIE=6d3295a483c3e6d5 JOB_DISPLAY_URL=https://osm.etsi.org/jenkins/job/devops-stage_2/job/v10.0/display/redirect JOB_NAME=devops-stage_2/v10.0 TEST_INSTALL=true PWD=/home/jenkins/workspace/devops-stage_2_v10.0 SSH_CONNECTION=212.234.161.1 44768 172.21.249.3 22 BRANCH_NAME=v10.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Checkout) [Pipeline] sh [devops-stage_2_v10.0] Running shell script + git fetch --tags [Pipeline] sh [devops-stage_2_v10.0] Running shell script + git fetch origin refs/changes/64/12464/9 From https://osm.etsi.org/gerrit/osm/devops * branch refs/changes/64/12464/9 -> FETCH_HEAD [Pipeline] sh [devops-stage_2_v10.0] Running shell script + git checkout -f f92f3137aeecbc88d221f44b7e992af1f5e116aa Previous HEAD position was a08bbe9 Move to Juju 2.9.43 HEAD is now at f92f313 Changing charmed installer to use 10.0/stable Fixing black error in keystone charm [Pipeline] sh [devops-stage_2_v10.0] Running shell script + sudo git clean -dfx Removing .cache/ Removing .local/ Removing devops@tmp/ Removing installers/charm/keystone/.coverage Removing installers/charm/keystone/cover/ Removing installers/charm/keystone/coverage.xml [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (License Scan) [Pipeline] sh [devops-stage_2_v10.0] Running shell script + devops/tools/license_scan.sh installers/charm/bundles/osm-ha/bundle.yaml Apache-2.0 installers/charm/bundles/osm/bundle.yaml Apache-2.0 installers/charm/keystone/src/charm.py Apache-2.0 installers/charmed_install.sh Apache-2.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Release Note Check) [Pipeline] fileExists [Pipeline] echo No releasenote check present [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker-Build) [Pipeline] sh [devops-stage_2_v10.0] Running shell script + docker build -t osm/devops-v10.0 . Sending build context to Docker daemon 97.18MB Step 1/8 : FROM ubuntu:18.04 ---> f9a80a55f492 Step 2/8 : ARG APT_PROXY ---> Using cache ---> ed218b8fad7d Step 3/8 : RUN if [ ! -z $APT_PROXY ] ; then echo "Acquire::http::Proxy \"$APT_PROXY\";" > /etc/apt/apt.conf.d/proxy.conf ; echo "Acquire::https::Proxy \"$APT_PROXY\";" >> /etc/apt/apt.conf.d/proxy.conf ; fi ---> Using cache ---> 3df9e77dca17 Step 4/8 : RUN DEBIAN_FRONTEND=noninteractive apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y install debhelper dh-make git python3.8 python3-all python3-dev python3-setuptools ---> Using cache ---> a039952c33b5 Step 5/8 : RUN python3 -m easy_install pip==21.0.1 ---> Using cache ---> 3c3967b4ad17 Step 6/8 : RUN pip3 install tox==3.22.0 ---> Using cache ---> 770dcfe3edac Step 7/8 : ENV LC_ALL C.UTF-8 ---> Using cache ---> cadb61d7ad78 Step 8/8 : ENV LANG C.UTF-8 ---> Using cache ---> a25851bf526e Successfully built a25851bf526e Successfully tagged osm/devops-v10.0:latest [Pipeline] } [Pipeline] // stage [Pipeline] sh [devops-stage_2_v10.0] Running shell script + id -u [Pipeline] sh [devops-stage_2_v10.0] Running shell script + id -g [Pipeline] withDockerContainer osm worker 3 does not seem to be running inside a container $ docker run -t -d -u 1001:1001 -u root -w /home/jenkins/workspace/devops-stage_2_v10.0 -v /home/jenkins/workspace/devops-stage_2_v10.0:/home/jenkins/workspace/devops-stage_2_v10.0:rw,z -v /home/jenkins/workspace/devops-stage_2_v10.0@tmp:/home/jenkins/workspace/devops-stage_2_v10.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 ******** -e ******** -e ******** --entrypoint cat osm/devops-v10.0 [Pipeline] { [Pipeline] stage [Pipeline] { (Test) [Pipeline] sh [devops-stage_2_v10.0] Running shell script + groupadd -o -g 1001 -r jenkins [Pipeline] sh [devops-stage_2_v10.0] Running shell script + pwd + useradd -o -u 1001 -d /home/jenkins/workspace/devops-stage_2_v10.0 -r -g jenkins jenkins [Pipeline] sh [devops-stage_2_v10.0] Running shell script + echo #! /bin/sh [Pipeline] sh [devops-stage_2_v10.0] Running shell script + chmod 755 /usr/bin/mesg [Pipeline] sh [devops-stage_2_v10.0] Running shell script + runuser jenkins -c devops-stages/stage-test.sh ✔ OK flake8 in 5.856 seconds ✔ OK black in 6.06 seconds ✔ OK yamllint in 14.494 seconds ✔ OK cover in 15.972 seconds ✔ OK safety in 17.731 seconds ✔ OK pylint in 27.709 seconds ___________________________________ summary ____________________________________ black: commands succeeded cover: commands succeeded flake8: commands succeeded pylint: commands succeeded yamllint: commands succeeded safety: commands succeeded congratulations :) ✔ OK black in 2.007 seconds ✔ OK flake8 in 2.178 seconds ✔ OK yamllint in 7.757 seconds ✔ OK cover in 9.569 seconds ✔ OK safety in 10.411 seconds ✔ OK pylint in 14.746 seconds ___________________________________ summary ____________________________________ black: commands succeeded cover: commands succeeded flake8: commands succeeded pylint: commands succeeded yamllint: commands succeeded safety: commands succeeded congratulations :) ✔ OK black in 2.099 seconds ✔ OK flake8 in 2.213 seconds ✔ OK yamllint in 7.485 seconds ✔ OK cover in 9.137 seconds ✔ OK safety in 10.002 seconds ✔ OK pylint in 14.507 seconds ___________________________________ summary ____________________________________ black: commands succeeded cover: commands succeeded flake8: commands succeeded pylint: commands succeeded yamllint: commands succeeded safety: commands succeeded congratulations :) ✔ OK black in 2.049 seconds ✔ OK flake8 in 2.343 seconds ✔ OK yamllint in 7.505 seconds ✔ OK cover in 9.336 seconds ✔ OK safety in 10.183 seconds ✔ OK pylint in 14.872 seconds ___________________________________ summary ____________________________________ black: commands succeeded cover: commands succeeded flake8: commands succeeded pylint: commands succeeded yamllint: commands succeeded safety: commands succeeded congratulations :) ✔ OK black in 1.986 seconds ✔ OK flake8 in 2.26 seconds ✔ OK yamllint in 15.145 seconds ✔ OK cover in 16.125 seconds ✔ OK safety in 17.187 seconds ✔ OK pylint in 30.845 seconds ___________________________________ summary ____________________________________ black: commands succeeded cover: commands succeeded flake8: commands succeeded pylint: commands succeeded yamllint: commands succeeded safety: commands succeeded congratulations :) ✔ OK black in 1.932 seconds ✔ OK flake8 in 2.111 seconds ✔ OK yamllint in 7.271 seconds ✔ OK cover in 9.179 seconds ✔ OK safety in 10.037 seconds ✔ OK pylint in 14.254 seconds ___________________________________ summary ____________________________________ black: commands succeeded cover: commands succeeded flake8: commands succeeded pylint: commands succeeded yamllint: commands succeeded safety: commands succeeded congratulations :) ✔ OK black in 2.001 seconds ✔ OK flake8 in 2.228 seconds ✔ OK yamllint in 7.269 seconds ✔ OK cover in 9.024 seconds ✔ OK safety in 10.317 seconds ✔ OK pylint in 14.488 seconds ___________________________________ summary ____________________________________ black: commands succeeded cover: commands succeeded flake8: commands succeeded pylint: commands succeeded yamllint: commands succeeded safety: commands succeeded congratulations :) ✔ OK black in 2.119 seconds ✔ OK flake8 in 2.206 seconds ✔ OK yamllint in 8.942 seconds ✔ OK cover in 10.595 seconds ✔ OK safety in 10.694 seconds ✔ OK pylint in 16.241 seconds ___________________________________ summary ____________________________________ black: commands succeeded cover: commands succeeded flake8: commands succeeded pylint: commands succeeded yamllint: commands succeeded safety: commands succeeded congratulations :) ✔ OK black in 2.177 seconds ✔ OK flake8 in 2.417 seconds ✔ OK yamllint in 7.834 seconds ✔ OK cover in 9.496 seconds ✔ OK safety in 11.276 seconds ✔ OK pylint in 14.931 seconds ___________________________________ summary ____________________________________ black: commands succeeded cover: commands succeeded flake8: commands succeeded pylint: commands succeeded yamllint: commands succeeded safety: commands succeeded congratulations :) ✔ OK black in 2.098 seconds ✔ OK flake8 in 2.329 seconds ✔ OK yamllint in 7.795 seconds ✔ OK cover in 9.137 seconds ✔ OK safety in 10.857 seconds ✔ OK pylint in 15.566 seconds ___________________________________ summary ____________________________________ black: commands succeeded cover: commands succeeded flake8: commands succeeded pylint: commands succeeded yamllint: commands succeeded safety: commands succeeded congratulations :) [Pipeline] fileExists [Pipeline] fileExists [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [devops-stage_2_v10.0] Running shell script + runuser jenkins -c devops-stages/stage-build.sh [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive) [Pipeline] sh [devops-stage_2_v10.0] Running shell script + runuser jenkins -c mkdir -p changelog [Pipeline] sh [devops-stage_2_v10.0] Running shell script + runuser jenkins -c devops/tools/generatechangelog-pipeline.sh > changelog/changelog-devops.html [Pipeline] sh [devops-stage_2_v10.0] Running shell script + runuser jenkins -c devops-stages/stage-archive.sh dpkg-source --before-build osm-devops-10.1.5.post5 fakeroot debian/rules clean dpkg-source -b osm-devops-10.1.5.post5 debian/rules build fakeroot debian/rules binary dpkg-genbuildinfo dpkg-genchanges >../osm-devops_10.1.5.post5-1_amd64.changes dpkg-genchanges: info: including full source code in upload fakeroot debian/rules clean dpkg-source --after-build osm-devops-10.1.5.post5 [Pipeline] getArtifactoryServer [Pipeline] newBuildInfo [Pipeline] artifactoryUpload [consumer_0] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-devops/v10.0-staging/247/pool/devops/osm-devops_10.1.5.post5-1_all.deb [consumer_1] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-devops/v10.0-staging/247/changelog/changelog-devops.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/devops-stage_2%20::%20v10.0/247 [Pipeline] sh [devops-stage_2_v10.0] Running shell script + env [Pipeline] step Archiving artifacts Recording fingerprints [Pipeline] } [Pipeline] // stage [Pipeline] } $ docker stop --time=1 b78d225c3cb9d90164204f015005244cfac72716611383fc2b14bcb36cd03361 $ docker rm -f b78d225c3cb9d90164204f015005244cfac72716611383fc2b14bcb36cd03361 [Pipeline] // withDockerContainer [Pipeline] fileExists [Pipeline] stage [Pipeline] { (Build System) [Pipeline] build (Building osm-stage_3 » v10.0) Scheduling project: osm-stage_3 » v10.0 Starting building: osm-stage_3 » v10.0 #682 [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline Finished: SUCCESS