Console Output
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/v10.0
Seen branch in repository origin/v11.0
Seen branch in repository origin/v8.0
Seen branch in repository origin/v9.0
Seen 9 remote branches
Obtained Jenkinsfile from 20e7998262589ea4ce08461a63b7bc49375a8c45
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_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/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 20e7998262589ea4ce08461a63b7bc49375a8c45 (v11.0)
> git config core.sparsecheckout # timeout=10
> git checkout -f 20e7998262589ea4ce08461a63b7bc49375a8c45
Commit message: "Adding Unit Test Producer"
> git rev-list --no-walk 20e7998262589ea4ce08461a63b7bc49375a8c45 # timeout=10
[Pipeline] dir
Running in /opt/jenkins/workspace/PLA-stage_2_v11.0/devops
[Pipeline] {
[Pipeline] git
No credentials specified
Cloning the remote Git repository
Cloning repository https://osm.etsi.org/gerrit/osm/devops
> git init /opt/jenkins/workspace/PLA-stage_2_v11.0/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 config remote.origin.url https://osm.etsi.org/gerrit/osm/devops # timeout=10
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
> 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 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 0bc87527a95d1c5afc7725981ef0a2e3f55fd274 (refs/remotes/origin/v11.0)
> git config core.sparsecheckout # timeout=10
> git checkout -f 0bc87527a95d1c5afc7725981ef0a2e3f55fd274
> git branch -a -v --no-abbrev # timeout=10
> git checkout -b v11.0 0bc87527a95d1c5afc7725981ef0a2e3f55fd274
Commit message: "Feature 10892/10893/8460: refactor of OSM installer"
First time build. Skipping changelog.
[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_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/PLA-stage_2/job/v11.0/2/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/v11.0/2/
HUDSON_COOKIE=84799bc3-0082-407a-980d-c05425b10858
JENKINS_SERVER_COOKIE=durable-91117fb061692971bfcad47ca2db145d
LC_MONETARY=fr_FR.UTF-8
WORKSPACE=/opt/jenkins/workspace/PLA-stage_2_v11.0
LOGNAME=jenkins
NODE_NAME=osm2 slave
GERRIT_BRANCH=v11.0
_=/usr/bin/java
EXECUTOR_NUMBER=2
XDG_SESSION_ID=3587
BUILD_DISPLAY_NAME=#2
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=2
XDG_RUNTIME_DIR=/run/user/1017
BUILD_TAG=jenkins-PLA-stage_2-v11.0-2
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/v11.0/
BUILD_NUMBER=2
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/v11.0/2/display/redirect
ARTIFACTORY_SERVER=artifactory-osm
HUDSON_SERVER_COOKIE=6d3295a483c3e6d5
LC_MEASUREMENT=fr_FR.UTF-8
JOB_DISPLAY_URL=https://osm.etsi.org/jenkins/job/PLA-stage_2/job/v11.0/display/redirect
LC_IDENTIFICATION=fr_FR.UTF-8
NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat
JOB_NAME=PLA-stage_2/v11.0
TEST_INSTALL=false
PWD=/opt/jenkins/workspace/PLA-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
[PLA-stage_2_v11.0] Running shell script
+ git fetch --tags
From https://osm.etsi.org/gerrit/osm/PLA
* [new tag] branch-bug1511-start -> branch-bug1511-start
* [new tag] branch-ng-ro-refactor-start -> branch-ng-ro-refactor-start
* [new tag] branch-sol006v331-start -> branch-sol006v331-start
* [new tag] release-v10.0-start -> release-v10.0-start
* [new tag] release-v11.0-start -> release-v11.0-start
* [new tag] release-v8.0-start -> release-v8.0-start
* [new tag] release-v9.0-start -> release-v9.0-start
* [new tag] v10.0.0 -> v10.0.0
* [new tag] v10.0.1 -> v10.0.1
* [new tag] v10.0.2 -> v10.0.2
* [new tag] v10.0.3 -> v10.0.3
* [new tag] v7.1.2 -> v7.1.2
* [new tag] v7.1.3 -> v7.1.3
* [new tag] v7.1.4 -> v7.1.4
* [new tag] v8.0.0 -> v8.0.0
* [new tag] v8.0.0rc1 -> v8.0.0rc1
* [new tag] v8.0.0rc2 -> v8.0.0rc2
* [new tag] v8.0.0rc3 -> v8.0.0rc3
* [new tag] v8.0.1 -> v8.0.1
* [new tag] v8.0.1rc1 -> v8.0.1rc1
* [new tag] v8.0.2 -> v8.0.2
* [new tag] v8.0.3 -> v8.0.3
* [new tag] v8.0.4 -> v8.0.4
* [new tag] v9.0.0 -> v9.0.0
* [new tag] v9.0.0rc1 -> v9.0.0rc1
* [new tag] v9.1.0 -> v9.1.0
* [new tag] v9.1.1 -> v9.1.1
* [new tag] v9.1.1rc1 -> v9.1.1rc1
* [new tag] v9.1.2 -> v9.1.2
* [new tag] v9.1.3 -> v9.1.3
* [new tag] v9.1.4 -> v9.1.4
[Pipeline] sh
[PLA-stage_2_v11.0] Running shell script
+ git fetch origin
[Pipeline] sh
[PLA-stage_2_v11.0] Running shell script
+ sudo git clean -dfx
Skipping repository devops/
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (License Scan)
[Pipeline] sh
[PLA-stage_2_v11.0] Running shell script
+ devops/tools/license_scan.sh
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Docker-Build)
[Pipeline] sh
[PLA-stage_2_v11.0] Running shell script
+ docker build -t osm/pla-v11.0 .
Sending build context to Docker daemon 20.73MB
Step 1/9 : FROM ubuntu:18.04
---> 5a214d77f5d7
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
---> f6e231fd46ba
Step 3/9 : RUN python3 -m easy_install pip==21.0.1
---> Using cache
---> 5ff91d394f4c
Step 4/9 : RUN pip3 install tox==3.22.0
---> Using cache
---> cde93d53ebeb
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
---> 6d91af637019
Step 6/9 : RUN tar -zxf /minizinc.tgz && mv /MiniZincIDE-2.4.2-bundle-linux /minizinc
---> Running in 1c2cb89cb43d
Removing intermediate container 1c2cb89cb43d
---> 288b11d1d73f
Step 7/9 : RUN mkdir /entry_data && mkdir /entry_data/mzn-lib && ln -s /entry_data/mzn-lib /minizinc/share/minizinc/exec
---> Running in 867d3d335d41
Removing intermediate container 867d3d335d41
---> 4816de5a5e1a
Step 8/9 : ENV FZNEXEC "/entry_data/fzn-exec"
---> Running in 75059ddac954
Removing intermediate container 75059ddac954
---> 2d47e11f2118
Step 9/9 : ENV PATH "/minizinc/bin:${PATH}"
---> Running in 8b33c2a766de
Removing intermediate container 8b33c2a766de
---> 9c095acb52f6
Successfully built 9c095acb52f6
Successfully tagged osm/pla-v11.0:latest
[Pipeline] }
[Pipeline] // stage
[Pipeline] sh
[PLA-stage_2_v11.0] Running shell script
+ id -u
[Pipeline] sh
[PLA-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/PLA-stage_2_v11.0 -v /opt/jenkins/workspace/PLA-stage_2_v11.0:/opt/jenkins/workspace/PLA-stage_2_v11.0:rw,z -v /opt/jenkins/workspace/PLA-stage_2_v11.0@tmp:/opt/jenkins/workspace/PLA-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/pla-v11.0
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Test)
[Pipeline] sh
[PLA-stage_2_v11.0] Running shell script
+ groupadd -o -g 1015 -r jenkins
[Pipeline] sh
[PLA-stage_2_v11.0] Running shell script
+ pwd
+ useradd -o -u 1017 -d /opt/jenkins/workspace/PLA-stage_2_v11.0 -r -g jenkins jenkins
[Pipeline] sh
[PLA-stage_2_v11.0] Running shell script
+ echo #! /bin/sh
[Pipeline] sh
[PLA-stage_2_v11.0] Running shell script
+ chmod 755 /usr/bin/mesg
[Pipeline] sh
[PLA-stage_2_v11.0] Running shell script
+ runuser jenkins -c devops-stages/stage-test.sh
\u2714 OK flake8 in 1 minute, 20.751 seconds
\u2714 OK safety in 1 minute, 31.925 seconds
\u2714 OK black in 1 minute, 39.531 seconds
\u2714 OK cover in 3 minutes, 26.73 seconds
\u2714 OK pylint in 3 minutes, 28.944 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_v11.0] Running shell script
+ runuser jenkins -c devops-stages/stage-build.sh
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Archive)
[Pipeline] sh
[PLA-stage_2_v11.0] Running shell script
+ runuser jenkins -c mkdir -p changelog
[Pipeline] sh
[PLA-stage_2_v11.0] Running shell script
+ runuser jenkins -c devops/tools/generatechangelog-pipeline.sh > changelog/changelog-PLA.html
[Pipeline] sh
[PLA-stage_2_v11.0] 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/v11.0-staging/2/dists/unstable/PLA/binary-amd64/Packages.gz
[consumer_1] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-PLA/v11.0-staging/2/dists/unstable/PLA/binary-amd64/Packages
[consumer_2] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-PLA/v11.0-staging/2/pool/PLA/python3-osm-pla_9.0.0.post5%2Bg20e7998-1_all.deb
[consumer_1] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-PLA/v11.0-staging/2/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::%20v11.0/2
[Pipeline] sh
[PLA-stage_2_v11.0] Running shell script
+ env
[Pipeline] step
Archiving artifacts
Recording fingerprints
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
$ docker stop --time=1 b71bda7494973ae7f7a67607bfb93bfeaac127f4fdb5cc5e046be2020bca9c52
$ docker rm -f b71bda7494973ae7f7a67607bfb93bfeaac127f4fdb5cc5e046be2020bca9c52
[Pipeline] // withDockerContainer
[Pipeline] fileExists
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS