SuccessConsole Output

Started by upstream project "buildall-stage_2" build number 106
originally caused by:
 Started by user beierlm
 > 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/v8.0
Seen branch in repository origin/v9.0
Seen 7 remote branches
Obtained Jenkinsfile from b73c8ae6459d92f66535e8b5cbed4872d63e63e5
Running in Durability level: MAX_SURVIVABILITY
[Pipeline] properties
[Pipeline] node
Still waiting to schedule task
Waiting for next available executor on ‘osm2 slave’
Running on osm2 slave in /opt/jenkins/workspace/PLA-stage_2-merge_ng-ro-refactor
[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 b73c8ae6459d92f66535e8b5cbed4872d63e63e5 (ng-ro-refactor)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f b73c8ae6459d92f66535e8b5cbed4872d63e63e5
Commit message: "Update dependencies to branch"
 > git rev-list --no-walk b73c8ae6459d92f66535e8b5cbed4872d63e63e5 # timeout=10
[Pipeline] dir
Running in /opt/jenkins/workspace/PLA-stage_2-merge_ng-ro-refactor/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/ng-ro-refactor^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/ng-ro-refactor^{commit} # timeout=10
Checking out Revision 9a51086452eaf7ee39c485246c7bcc4a4481efae (refs/remotes/origin/ng-ro-refactor)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 9a51086452eaf7ee39c485246c7bcc4a4481efae
 > git branch -a -v --no-abbrev # timeout=10
 > git branch -D ng-ro-refactor # timeout=10
 > git checkout -b ng-ro-refactor 9a51086452eaf7ee39c485246c7bcc4a4481efae
Commit message: "Add option to OSM installer to skip caching juju lxd images"
 > git rev-list --no-walk 9a51086452eaf7ee39c485246c7bcc4a4481efae # 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_ng-ro-refactor] 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 37846 22
USER=jenkins
RUN_CHANGES_DISPLAY_URL=https://osm.etsi.org/jenkins/job/PLA-stage_2-merge/job/ng-ro-refactor/4/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-merge/job/ng-ro-refactor/4/
HUDSON_COOKIE=8fc24181-aa6e-4ba0-8a28-e5cb8498c852
JENKINS_SERVER_COOKIE=durable-74be3e4ab46ee76227ce1bed7a5ed3d6
LC_MONETARY=fr_FR.UTF-8
GERRIT_PATCHSET_REVISION=b73c8ae6459d92f66535e8b5cbed4872d63e63e5
WORKSPACE=/opt/jenkins/workspace/PLA-stage_2-merge_ng-ro-refactor
LOGNAME=jenkins
NODE_NAME=osm2 slave
GERRIT_BRANCH=ng-ro-refactor
_=/usr/bin/java
EXECUTOR_NUMBER=5
XDG_SESSION_ID=2662
BUILD_DISPLAY_NAME=#4
PROJECT_URL_PREFIX=https://osm.etsi.org/gerrit
HUDSON_HOME=/var/lib/jenkins
JOB_BASE_NAME=ng-ro-refactor
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=4
XDG_RUNTIME_DIR=/run/user/1017
BUILD_TAG=jenkins-PLA-stage_2-merge-ng-ro-refactor-4
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-merge/job/ng-ro-refactor/
BUILD_NUMBER=4
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-merge/job/ng-ro-refactor/4/display/redirect
ARTIFACTORY_SERVER=artifactory-osm
GERRIT_REFSPEC=refs/changes/66/10766/1
HUDSON_SERVER_COOKIE=6d3295a483c3e6d5
LC_MEASUREMENT=fr_FR.UTF-8
JOB_DISPLAY_URL=https://osm.etsi.org/jenkins/job/PLA-stage_2-merge/job/ng-ro-refactor/display/redirect
LC_IDENTIFICATION=fr_FR.UTF-8
NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat
JOB_NAME=PLA-stage_2-merge/ng-ro-refactor
TEST_INSTALL=false
PWD=/opt/jenkins/workspace/PLA-stage_2-merge_ng-ro-refactor
LC_ALL=en_US.UTF-8
SSH_CONNECTION=195.238.226.13 37846 172.21.1.2 22
LC_NUMERIC=fr_FR.UTF-8
LC_PAPER=fr_FR.UTF-8
BRANCH_NAME=ng-ro-refactor
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Checkout)
[Pipeline] sh
[PLA-stage_2-merge_ng-ro-refactor] Running shell script
+ git fetch --tags
[Pipeline] sh
[PLA-stage_2-merge_ng-ro-refactor] Running shell script
+ git fetch origin refs/changes/66/10766/1
From https://osm.etsi.org/gerrit/osm/PLA
 * branch            refs/changes/66/10766/1 -> FETCH_HEAD
[Pipeline] sh
[PLA-stage_2-merge_ng-ro-refactor] Running shell script
+ git checkout -f b73c8ae6459d92f66535e8b5cbed4872d63e63e5
HEAD is now at b73c8ae... Update dependencies to branch
[Pipeline] sh
[PLA-stage_2-merge_ng-ro-refactor] 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/
Skipping repository devops/
Removing dist/
Removing dists/
Removing osm_pla-9.0.0.post3+gb73c8ae.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] { (Docker-Build)
[Pipeline] sh
[PLA-stage_2-merge_ng-ro-refactor] Running shell script
+ docker build -t osm/pla-ng-ro-refactor .
Sending build context to Docker daemon  20.26MB

Step 1/9 : FROM ubuntu:18.04
 ---> 3339fde08fc3
Step 2/9 : 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
 ---> 1d6577bc63c3
Step 3/9 : RUN python3 -m easy_install pip==21.0.1
 ---> Using cache
 ---> 1748f4e17247
Step 4/9 : RUN pip3 install tox==3.22.0
 ---> Using cache
 ---> 7cacb1dae285
Step 5/9 : ADD https://github.com/MiniZinc/MiniZincIDE/releases/download/2.4.2/MiniZincIDE-2.4.2-bundle-linux-x86_64.tgz /minizinc.tgz


 ---> Using cache
 ---> 6d9f4536d235
Step 6/9 : RUN tar -zxf /minizinc.tgz &&     mv /MiniZincIDE-2.4.2-bundle-linux /minizinc
 ---> Using cache
 ---> f65e0f6d6c59
Step 7/9 : RUN mkdir /entry_data     && mkdir /entry_data/mzn-lib     && ln -s /entry_data/mzn-lib /minizinc/share/minizinc/exec
 ---> Using cache
 ---> be24a855820a
Step 8/9 : ENV FZNEXEC "/entry_data/fzn-exec"
 ---> Using cache
 ---> 75beb5aad7c8
Step 9/9 : ENV PATH "/minizinc/bin:${PATH}"
 ---> Using cache
 ---> 520ec88ec186
Successfully built 520ec88ec186
Successfully tagged osm/pla-ng-ro-refactor:latest
[Pipeline] }
[Pipeline] // stage
[Pipeline] sh
[PLA-stage_2-merge_ng-ro-refactor] Running shell script
+ id -u
[Pipeline] sh
[PLA-stage_2-merge_ng-ro-refactor] 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/PLA-stage_2-merge_ng-ro-refactor -v /opt/jenkins/workspace/PLA-stage_2-merge_ng-ro-refactor:/opt/jenkins/workspace/PLA-stage_2-merge_ng-ro-refactor:rw,z -v /opt/jenkins/workspace/PLA-stage_2-merge_ng-ro-refactor@tmp:/opt/jenkins/workspace/PLA-stage_2-merge_ng-ro-refactor@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-ng-ro-refactor
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Test)
[Pipeline] sh
[PLA-stage_2-merge_ng-ro-refactor] Running shell script
+ groupadd -o -g 1015 -r jenkins
[Pipeline] sh
[PLA-stage_2-merge_ng-ro-refactor] Running shell script
+ pwd
+ useradd -o -u 1017 -d /opt/jenkins/workspace/PLA-stage_2-merge_ng-ro-refactor -r -g jenkins jenkins
[Pipeline] sh
[PLA-stage_2-merge_ng-ro-refactor] Running shell script
+ echo #! /bin/sh
[Pipeline] sh
[PLA-stage_2-merge_ng-ro-refactor] Running shell script
+ chmod 755 /usr/bin/mesg
[Pipeline] sh
[PLA-stage_2-merge_ng-ro-refactor] Running shell script
+ runuser jenkins -c devops-stages/stage-test.sh
\u2714 OK safety in 1 minute, 42.225 seconds
\u2714 OK flake8 in 1 minute, 44.994 seconds
\u2714 OK black in 1 minute, 52.519 seconds
\u2714 OK cover in 3 minutes, 40.564 seconds
\u2714 OK pylint in 3 minutes, 45.529 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-merge_ng-ro-refactor] Running shell script
+ runuser jenkins -c devops-stages/stage-build.sh
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Archive)
[Pipeline] sh
[PLA-stage_2-merge_ng-ro-refactor] Running shell script
+ runuser jenkins -c mkdir -p changelog
[Pipeline] sh
[PLA-stage_2-merge_ng-ro-refactor] Running shell script
+ runuser jenkins -c devops/tools/generatechangelog-pipeline.sh > changelog/changelog-PLA.html
[Pipeline] sh
[PLA-stage_2-merge_ng-ro-refactor] Running shell script
+ runuser jenkins -c 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/ng-ro-refactor/4/dists/unstable/PLA/binary-amd64/Packages.gz
[consumer_1] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-PLA/ng-ro-refactor/4/dists/unstable/PLA/binary-amd64/Packages
[consumer_2] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-PLA/ng-ro-refactor/4/pool/PLA/python3-osm-pla_9.0.0.post3%2Bgb73c8ae-1_all.deb
[consumer_0] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-PLA/ng-ro-refactor/4/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::%20ng-ro-refactor/4
[Pipeline] sh
[PLA-stage_2-merge_ng-ro-refactor] Running shell script
+ env
[Pipeline] step
Archiving artifacts
Recording fingerprints
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
$ docker stop --time=1 3874582bd07bf436934adf84c990c7e578ba3a1f9872ae92e136314a3203b98a
$ docker rm -f 3874582bd07bf436934adf84c990c7e578ba3a1f9872ae92e136314a3203b98a
[Pipeline] // withDockerContainer
[Pipeline] fileExists
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS