Started by upstream project "buildall-stage_2-merge-v10" build number 316 originally caused by: Started by timer > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to https://osm.etsi.org/gerrit/osm/PLA.git > git config remote.origin.url https://osm.etsi.org/gerrit/osm/PLA.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/hackfest Seen branch in repository origin/master Seen branch in repository origin/ng-ro-refactor Seen branch in repository origin/paas 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/v12.0 Seen branch in repository origin/v13.0 Seen branch in repository origin/v14.0 Seen branch in repository origin/v15.0 Seen branch in repository origin/v8.0 Seen branch in repository origin/v9.0 Seen 14 remote branches Obtained Jenkinsfile from 203b36bb7af2925eda2ee14f17c6b06a4dd4e4ac Running in Durability level: MAX_SURVIVABILITY [Pipeline] properties [Pipeline] node Running on osm-cicd-3 in /home/jenkins/workspace/PLA-stage_2-merge_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/PLA.git # timeout=10 Fetching without tags Fetching upstream changes from https://osm.etsi.org/gerrit/osm/PLA.git > git --version # timeout=10 > git fetch --no-tags --force --progress https://osm.etsi.org/gerrit/osm/PLA.git +refs/heads/*:refs/remotes/origin/* Checking out Revision 203b36bb7af2925eda2ee14f17c6b06a4dd4e4ac (v10.0) > git config core.sparsecheckout # timeout=10 > git checkout -f 203b36bb7af2925eda2ee14f17c6b06a4dd4e4ac Commit message: "Jenkins refresh" > git rev-list --no-walk 203b36bb7af2925eda2ee14f17c6b06a4dd4e4ac # timeout=10 Running in /home/jenkins/workspace/PLA-stage_2-merge_v10.0/devops [Pipeline] dir [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 f92f3137aeecbc88d221f44b7e992af1f5e116aa (refs/remotes/origin/v10.0) > git config core.sparsecheckout # timeout=10 > git checkout -f f92f3137aeecbc88d221f44b7e992af1f5e116aa > git branch -a -v --no-abbrev # timeout=10 > git branch -D v10.0 # timeout=10 > git checkout -b v10.0 f92f3137aeecbc88d221f44b7e992af1f5e116aa Commit message: "Changing charmed installer to use 10.0/stable Fixing black error in keystone charm" > git rev-list --no-walk f92f3137aeecbc88d221f44b7e992af1f5e116aa # 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 [PLA-stage_2-merge_v10.0] Running shell script + env JENKINS_HOME=/var/lib/jenkins SSH_CLIENT=212.234.161.1 13726 22 USER=jenkins RUN_CHANGES_DISPLAY_URL=https://osm.etsi.org/jenkins/job/PLA-stage_2-merge/job/v10.0/360/display/redirect?page=changes GERRIT_PROJECT=osm/PLA XDG_SESSION_TYPE=tty SHLVL=0 NODE_LABELS=osm-cicd-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/PLA-stage_2-merge/job/v10.0/360/ HUDSON_COOKIE=4778f1dc-711e-457b-82ee-6f743fa94293 JENKINS_SERVER_COOKIE=durable-9c9264e5d588d24a40562e0f2f33bcd7 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus GERRIT_PATCHSET_REVISION=203b36bb7af2925eda2ee14f17c6b06a4dd4e4ac WORKSPACE=/home/jenkins/workspace/PLA-stage_2-merge_v10.0 LOGNAME=jenkins NODE_NAME=osm-cicd-3 GERRIT_BRANCH=v10.0 _=/usr/bin/java RUN_ARTIFACTS_DISPLAY_URL=https://osm.etsi.org/jenkins/job/PLA-stage_2-merge/job/v10.0/360/display/redirect?page=artifacts XDG_SESSION_CLASS=user EXECUTOR_NUMBER=3 XDG_SESSION_ID=144 RUN_TESTS_DISPLAY_URL=https://osm.etsi.org/jenkins/job/PLA-stage_2-merge/job/v10.0/360/display/redirect?page=tests BUILD_DISPLAY_NAME=#360 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=360 XDG_RUNTIME_DIR=/run/user/1001 BUILD_TAG=jenkins-PLA-stage_2-merge-v10.0-360 JENKINS_URL=https://osm.etsi.org/jenkins/ LANG=C.UTF-8 JOB_URL=https://osm.etsi.org/jenkins/job/PLA-stage_2-merge/job/v10.0/ BUILD_NUMBER=360 SHELL=/bin/bash RUN_DISPLAY_URL=https://osm.etsi.org/jenkins/job/PLA-stage_2-merge/job/v10.0/360/display/redirect ARTIFACTORY_SERVER=artifactory-osm GERRIT_REFSPEC=refs/changes/93/12393/1 HUDSON_SERVER_COOKIE=6d3295a483c3e6d5 JOB_DISPLAY_URL=https://osm.etsi.org/jenkins/job/PLA-stage_2-merge/job/v10.0/display/redirect JOB_NAME=PLA-stage_2-merge/v10.0 TEST_INSTALL=false PWD=/home/jenkins/workspace/PLA-stage_2-merge_v10.0 SSH_CONNECTION=212.234.161.1 13726 172.21.249.3 22 BRANCH_NAME=v10.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Checkout) [Pipeline] sh [PLA-stage_2-merge_v10.0] Running shell script + git fetch --tags [Pipeline] sh [PLA-stage_2-merge_v10.0] Running shell script + git fetch origin refs/changes/93/12393/1 From https://osm.etsi.org/gerrit/osm/PLA * branch refs/changes/93/12393/1 -> FETCH_HEAD [Pipeline] sh [PLA-stage_2-merge_v10.0] Running shell script + git checkout -f 203b36bb7af2925eda2ee14f17c6b06a4dd4e4ac HEAD is now at 203b36b Jenkins refresh [Pipeline] sh [PLA-stage_2-merge_v10.0] Running shell script + sudo git clean -dfx Removing .cache/ Removing .coverage Removing .local/ Removing build.env Removing changelog/ Removing cover/ Removing coverage.xml Removing deb_dist/ Removing dist/ Removing dists/ Removing nosetests.xml Removing osm_pla-10.1.5+g203b36b.tar.gz Removing osm_pla.egg-info/ Removing pool/ [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (License Scan) [Pipeline] echo skip the scan for merge [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 [PLA-stage_2-merge_v10.0] Running shell script + docker build -t osm/pla-v10.0 . Sending build context to Docker daemon 52.04MB Step 1/11 : FROM ubuntu:20.04 ---> f78909c2b360 Step 2/11 : ARG APT_PROXY ---> Using cache ---> 3f6949be98ab Step 3/11 : 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 ---> 48f7661bee42 Step 4/11 : RUN DEBIAN_FRONTEND=noninteractive apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y install debhelper dh-python git python3 python3-all python3-dev python3-setuptools ---> Using cache ---> 3b10e52da1c2 Step 5/11 : RUN python3 -m easy_install pip==21.3.1 ---> Using cache ---> 93effd34ae4c Step 6/11 : RUN pip install tox==3.24.5 ---> Using cache ---> 04616cde1bda Step 7/11 : ADD https://github.com/MiniZinc/MiniZincIDE/releases/download/2.4.2/MiniZincIDE-2.4.2-bundle-linux-x86_64.tgz /minizinc.tgz ---> Using cache ---> 7c6568cee26f Step 8/11 : RUN tar -zxf /minizinc.tgz && mv /MiniZincIDE-2.4.2-bundle-linux /minizinc ---> Using cache ---> 740a7e4b54c9 Step 9/11 : RUN mkdir /entry_data && mkdir /entry_data/mzn-lib && ln -s /entry_data/mzn-lib /minizinc/share/minizinc/exec ---> Using cache ---> d3b188783572 Step 10/11 : ENV FZNEXEC "/entry_data/fzn-exec" ---> Using cache ---> 6e14dbb3d4a5 Step 11/11 : ENV PATH "/minizinc/bin:${PATH}" ---> Using cache ---> 19f74e2109d1 Successfully built 19f74e2109d1 Successfully tagged osm/pla-v10.0:latest [Pipeline] } [Pipeline] // stage [Pipeline] sh [PLA-stage_2-merge_v10.0] Running shell script + id -u [Pipeline] sh [PLA-stage_2-merge_v10.0] Running shell script + id -g [Pipeline] withDockerContainer osm-cicd-3 does not seem to be running inside a container $ docker run -t -d -u 1001:1001 -u root -w /home/jenkins/workspace/PLA-stage_2-merge_v10.0 -v /home/jenkins/workspace/PLA-stage_2-merge_v10.0:/home/jenkins/workspace/PLA-stage_2-merge_v10.0:rw,z -v /home/jenkins/workspace/PLA-stage_2-merge_v10.0@tmp:/home/jenkins/workspace/PLA-stage_2-merge_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/pla-v10.0 [Pipeline] { [Pipeline] stage [Pipeline] { (Test) [Pipeline] sh [PLA-stage_2-merge_v10.0] Running shell script + groupadd -o -g 1001 -r jenkins [Pipeline] sh [PLA-stage_2-merge_v10.0] Running shell script + pwd + useradd -o -u 1001 -d /home/jenkins/workspace/PLA-stage_2-merge_v10.0 -r -g jenkins jenkins [Pipeline] sh [PLA-stage_2-merge_v10.0] Running shell script + echo #! /bin/sh [Pipeline] sh [PLA-stage_2-merge_v10.0] Running shell script + chmod 755 /usr/bin/mesg [PLA-stage_2-merge_v10.0] Running shell script [Pipeline] sh + runuser jenkins -c devops-stages/stage-test.sh ✔ OK black in 13.291 seconds ✔ OK flake8 in 14.398 seconds ✔ OK safety in 20.452 seconds ✔ OK pylint in 45.802 seconds ✔ OK cover in 46.422 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 [PLA-stage_2-merge_v10.0] Running shell script + runuser jenkins -c devops-stages/stage-build.sh [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive) [Pipeline] sh [PLA-stage_2-merge_v10.0] Running shell script + runuser jenkins -c mkdir -p changelog [Pipeline] sh [PLA-stage_2-merge_v10.0] Running shell script + runuser jenkins -c devops/tools/generatechangelog-pipeline.sh > changelog/changelog-PLA.html [Pipeline] sh [PLA-stage_2-merge_v10.0] Running shell script + runuser jenkins -c devops-stages/stage-archive.sh devops-stages/stage-archive.sh: 21: apt-ftparchive: not found [Pipeline] getArtifactoryServer [Pipeline] newBuildInfo [Pipeline] artifactoryUpload [consumer_0] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-PLA/v10.0/360/dists/unstable/PLA/binary-amd64/Packages.gz [consumer_1] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-PLA/v10.0/360/dists/unstable/PLA/binary-amd64/Packages [consumer_2] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-PLA/v10.0/360/pool/PLA/python3-osm-pla_10.1.5%2Bg203b36b-1_all.deb [consumer_1] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-PLA/v10.0/360/changelog/changelog-PLA.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/PLA-stage_2-merge%20::%20v10.0/360 [Pipeline] sh [PLA-stage_2-merge_v10.0] Running shell script + env [Pipeline] step Archiving artifacts Recording fingerprints [Pipeline] } [Pipeline] // stage [Pipeline] } $ docker stop --time=1 703bd29dbd850f2afbe0a75820c985eb9fb0a46fa6322de0041dcd2ec566cc73 $ docker rm -f 703bd29dbd850f2afbe0a75820c985eb9fb0a46fa6322de0041dcd2ec566cc73 [Pipeline] // withDockerContainer [Pipeline] fileExists [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline Finished: SUCCESS