SuccessConsole Output

Started by upstream project "PLA-stage_1" build number 56
originally caused by:
 Triggered by Gerrit: https://osm.etsi.org/gerrit/10860
 > 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/sol006v331
Seen branch in repository origin/v10.0
Seen branch in repository origin/v8.0
Seen branch in repository origin/v9.0
Seen 8 remote branches
Obtained Jenkinsfile from 72791b6841e74a38e7fc5c3877251539862fd854
Running in Durability level: MAX_SURVIVABILITY
[Pipeline] properties
[Pipeline] node
Running on osm2 slave in /opt/jenkins/workspace/PLA-stage_2_v9.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 --progress https://osm.etsi.org/gerrit/osm/PLA.git +refs/heads/*:refs/remotes/origin/*
Checking out Revision 72791b6841e74a38e7fc5c3877251539862fd854 (v9.0)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 72791b6841e74a38e7fc5c3877251539862fd854
Commit message: "Switch to v9.0 branch"
 > git rev-list --no-walk 72791b6841e74a38e7fc5c3877251539862fd854 # timeout=10
[Pipeline] dir
Running in /opt/jenkins/workspace/PLA-stage_2_v9.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/v9.0^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/v9.0^{commit} # timeout=10
Checking out Revision 1d704d9e31c8a002f38afbbc33929d13baaa8e45 (refs/remotes/origin/v9.0)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 1d704d9e31c8a002f38afbbc33929d13baaa8e45
 > git branch -a -v --no-abbrev # timeout=10
 > git branch -D v9.0 # timeout=10
 > git checkout -b v9.0 1d704d9e31c8a002f38afbbc33929d13baaa8e45
Commit message: "Fix 1527 for v9.0"
 > git rev-list --no-walk 1d704d9e31c8a002f38afbbc33929d13baaa8e45 # 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
[PLA-stage_2_v9.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 58392 22
USER=jenkins
RUN_CHANGES_DISPLAY_URL=https://osm.etsi.org/jenkins/job/PLA-stage_2/job/v9.0/8/display/redirect?page=changes
GERRIT_PROJECT=osm/PLA
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/PLA-stage_2/job/v9.0/8/
HUDSON_COOKIE=24a3d652-dc84-4194-9895-d53c0a175552
JENKINS_SERVER_COOKIE=durable-7b0121d93dbb6971f4435fa63de49d75
LC_MONETARY=fr_FR.UTF-8
GERRIT_PATCHSET_REVISION=5b55308c21032e222f1cc767e7670ad1c5db1272
WORKSPACE=/opt/jenkins/workspace/PLA-stage_2_v9.0
LOGNAME=jenkins
NODE_NAME=osm2 slave
GERRIT_BRANCH=v9.0
_=/usr/bin/java
EXECUTOR_NUMBER=0
XDG_SESSION_ID=3283
BUILD_DISPLAY_NAME=#8
PROJECT_URL_PREFIX=https://osm.etsi.org/gerrit
HUDSON_HOME=/var/lib/jenkins
JOB_BASE_NAME=v9.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=8
XDG_RUNTIME_DIR=/run/user/1017
BUILD_TAG=jenkins-PLA-stage_2-v9.0-8
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/PLA-stage_2/job/v9.0/
BUILD_NUMBER=8
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/PLA-stage_2/job/v9.0/8/display/redirect
ARTIFACTORY_SERVER=artifactory-osm
GERRIT_REFSPEC=refs/changes/60/10860/4
HUDSON_SERVER_COOKIE=6d3295a483c3e6d5
LC_MEASUREMENT=fr_FR.UTF-8
JOB_DISPLAY_URL=https://osm.etsi.org/jenkins/job/PLA-stage_2/job/v9.0/display/redirect
LC_IDENTIFICATION=fr_FR.UTF-8
NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat
JOB_NAME=PLA-stage_2/v9.0
TEST_INSTALL=true
PWD=/opt/jenkins/workspace/PLA-stage_2_v9.0
LC_ALL=en_US.UTF-8
SSH_CONNECTION=195.238.226.13 58392 172.21.1.2 22
LC_NUMERIC=fr_FR.UTF-8
LC_PAPER=fr_FR.UTF-8
BRANCH_NAME=v9.0
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Checkout)
[Pipeline] sh
[PLA-stage_2_v9.0] Running shell script
+ git fetch --tags
[Pipeline] sh
[PLA-stage_2_v9.0] Running shell script
+ git fetch origin refs/changes/60/10860/4
From https://osm.etsi.org/gerrit/osm/PLA
 * branch            refs/changes/60/10860/4 -> FETCH_HEAD
[Pipeline] sh
[PLA-stage_2_v9.0] Running shell script
+ git checkout -f 5b55308c21032e222f1cc767e7670ad1c5db1272
Previous HEAD position was 72791b6... Switch to v9.0 branch
HEAD is now at 5b55308... Feature 10296 Pip Standardization Creates standard template for tox.ini Introduces 'safety' for listing upstream CVEs Pins all versions of all upstream modules Removes Makefile step and places all build logic into tox.ini
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (License Scan)
[Pipeline] sh
[PLA-stage_2_v9.0] Running shell script
+ devops/tools/license_scan.sh
.gitignore Apache-2.0
Dockerfile Apache-2.0
MANIFEST.in Apache-2.0
Makefile DELETED
debian/python3-osm-pla.postinst DELETED
devops-stages/stage-build.sh Apache-2.0
devops-stages/stage-test.sh Apache-2.0
osm_pla/test/test_server.py Apache-2.0
requirements-dev.in Apache-2.0
requirements-dev.txt Apache-2.0
requirements-dist.in Apache-2.0
requirements-dist.txt Apache-2.0
requirements-test.in Apache-2.0
requirements-test.txt Apache-2.0
requirements.in Apache-2.0
requirements.txt Apache-2.0
setup.py Apache-2.0
stdeb.cfg Apache-2.0
test-requirements.txt DELETED
tox.ini Apache-2.0
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Docker-Build)
[Pipeline] sh
[PLA-stage_2_v9.0] 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
[PLA-stage_2_v9.0] Running shell script
+ docker build -t osm/pla-v9.0 .
Sending build context to Docker daemon  59.72MB

Step 1/11 : FROM ubuntu:18.04
 ---> 81bcf752ac3d
Step 2/11 : 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
 ---> 9dff8c94defc
Step 3/11 : RUN python3 -m easy_install pip==21.0.1
 ---> Using cache
 ---> dc9abb0f8a72
Step 4/11 : RUN pip3 install tox==3.22.0
 ---> Using cache
 ---> fd7ecc8b7ff9
Step 5/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
 ---> ae4faf165991
Step 6/11 : RUN tar -zxf /minizinc.tgz &&     mv /MiniZincIDE-2.4.2-bundle-linux /minizinc
 ---> Using cache
 ---> 663c8b5399cd
Step 7/11 : RUN mkdir /entry_data     && mkdir /entry_data/mzn-lib     && ln -s /entry_data/mzn-lib /minizinc/share/minizinc/exec
 ---> Using cache
 ---> de3bbf561608
Step 8/11 : ENV FZNEXEC "/entry_data/fzn-exec"
 ---> Using cache
 ---> 2fc37dd0d329
Step 9/11 : ENV PATH "/minizinc/bin:${PATH}"
 ---> Using cache
 ---> 545f5295c547
Step 10/11 : RUN groupadd -o -g 1015 -r jenkins
 ---> Using cache
 ---> 8a0998dda2a5
Step 11/11 : RUN useradd -o -u 1017 --create-home -r -g jenkins jenkins
 ---> Using cache
 ---> fb638e279619
Successfully built fb638e279619
Successfully tagged osm/pla-v9.0:latest
[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/PLA-stage_2_v9.0 -v /opt/jenkins/workspace/PLA-stage_2_v9.0:/opt/jenkins/workspace/PLA-stage_2_v9.0:rw,z -v /opt/jenkins/workspace/PLA-stage_2_v9.0@tmp:/opt/jenkins/workspace/PLA-stage_2_v9.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/pla-v9.0
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Test)
[Pipeline] sh
[PLA-stage_2_v9.0] Running shell script
+ devops-stages/stage-test.sh
\u2714 OK flake8 in 13.598 seconds
\u2714 OK safety in 15.478 seconds
\u2714 OK black in 19.143 seconds
\u2714 OK cover in 57.434 seconds
\u2714 OK pylint in 1 minute, 4.446 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] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build)
[Pipeline] sh
[PLA-stage_2_v9.0] Running shell script
+ devops-stages/stage-build.sh
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Archive)
[Pipeline] sh
[PLA-stage_2_v9.0] Running shell script
+ mkdir -p changelog
[Pipeline] sh
[PLA-stage_2_v9.0] Running shell script
+ devops/tools/generatechangelog-pipeline.sh
[Pipeline] sh
[PLA-stage_2_v9.0] Running shell script
+ devops-stages/stage-archive.sh
devops-stages/stage-archive.sh: 21: 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-PLA/v9.0-staging/8/dists/unstable/PLA/binary-amd64/Packages.gz
[consumer_1] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-PLA/v9.0-staging/8/dists/unstable/PLA/binary-amd64/Packages
[consumer_2] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-PLA/v9.0-staging/8/pool/PLA/python3-osm-pla_9.1.1.post2%2Bg5b55308.dirty-1_all.deb
[consumer_0] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-PLA/v9.0-staging/8/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%20::%20v9.0/8
[Pipeline] sh
[PLA-stage_2_v9.0] Running shell script
+ env
[Pipeline] step
Archiving artifacts
Recording fingerprints
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
$ docker stop --time=1 85ac90e4963bd6c028bd13c7d1bc7fcebe8d905bd9c3c0a449346654b0664004
$ docker rm -f 85ac90e4963bd6c028bd13c7d1bc7fcebe8d905bd9c3c0a449346654b0664004
[Pipeline] // withDockerContainer
[Pipeline] fileExists
[Pipeline] stage
[Pipeline] { (Build System)
[Pipeline] build (Building osm-stage_3 » v9.0)
Scheduling project: osm-stage_3 » v9.0
Starting building: osm-stage_3 » v9.0 #297
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS