Console Output
Started by upstream project "NBI-stage_1" build number 2157
originally caused by:
Triggered by Gerrit: https://osm.etsi.org/gerrit/14044
> git rev-parse --is-inside-work-tree # timeout=10
Setting origin to https://osm.etsi.org/gerrit/osm/NBI.git
> git config remote.origin.url https://osm.etsi.org/gerrit/osm/NBI.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/feature5837
Seen branch in repository origin/feature7106
Seen branch in repository origin/feature7928
Seen branch in repository origin/master
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/sol006
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/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 23 remote branches
Obtained Jenkinsfile from 0a1efeda7d6f21e7c5291ac617a6403853697949
Running in Durability level: MAX_SURVIVABILITY
[Pipeline] properties
[Pipeline] node
Running on osm worker 2 in /home/jenkins/workspace/NBI-stage_2_master@3
[Pipeline] {
[Pipeline] checkout
No credentials specified
Cloning the remote Git repository
Cloning with configured refspecs honoured and without tags
Cloning repository https://osm.etsi.org/gerrit/osm/NBI.git
> git init /home/jenkins/workspace/NBI-stage_2_master@3 # timeout=10
Fetching upstream changes from https://osm.etsi.org/gerrit/osm/NBI.git
> git --version # timeout=10
> git fetch --no-tags --force --progress https://osm.etsi.org/gerrit/osm/NBI.git +refs/heads/*:refs/remotes/origin/*
> git config remote.origin.url https://osm.etsi.org/gerrit/osm/NBI.git # 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/NBI.git # timeout=10
Fetching without tags
Fetching upstream changes from https://osm.etsi.org/gerrit/osm/NBI.git
> git fetch --no-tags --force --progress https://osm.etsi.org/gerrit/osm/NBI.git +refs/heads/*:refs/remotes/origin/*
Checking out Revision 0a1efeda7d6f21e7c5291ac617a6403853697949 (master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 0a1efeda7d6f21e7c5291ac617a6403853697949
Commit message: "Feature 11002: Deprecate helmv2"
> git rev-list --no-walk 0a1efeda7d6f21e7c5291ac617a6403853697949 # timeout=10
[Pipeline] dir
Running in /home/jenkins/workspace/NBI-stage_2_master@3/devops
[Pipeline] {
[Pipeline] git
No credentials specified
Cloning the remote Git repository
Cloning repository https://osm.etsi.org/gerrit/osm/devops
> git init /home/jenkins/workspace/NBI-stage_2_master@3/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 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 --force --progress https://osm.etsi.org/gerrit/osm/devops +refs/heads/*:refs/remotes/origin/*
> git rev-parse refs/remotes/origin/master^{commit} # timeout=10
> git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 7ecb4e809e72c4c4c3c33e8a30f2c6050e30b03e (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 7ecb4e809e72c4c4c3c33e8a30f2c6050e30b03e
> git branch -a -v --no-abbrev # timeout=10
> git checkout -b master 7ecb4e809e72c4c4c3c33e8a30f2c6050e30b03e
Commit message: "Feature 11008: Update of OSM Helm installer to latest versions"
> git rev-list --no-walk 7ecb4e809e72c4c4c3c33e8a30f2c6050e30b03e # 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
[NBI-stage_2_master@3] Running shell script
+ env
JENKINS_HOME=/var/lib/jenkins
SSH_CLIENT=212.234.161.1 24661 22
USER=jenkins
RUN_CHANGES_DISPLAY_URL=https://osm.etsi.org/jenkins/job/NBI-stage_2/job/master/1711/display/redirect?page=changes
GERRIT_PROJECT=osm/NBI
XDG_SESSION_TYPE=tty
SHLVL=0
NODE_LABELS=docker osm worker 2 osm2 pipeline 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/NBI-stage_2/job/master/1711/
HUDSON_COOKIE=6e8282c8-ba21-4555-a9c7-4437bbaa259e
JENKINS_SERVER_COOKIE=durable-c899f8ab985b976fe27e78a50b9bc72a
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus
GERRIT_PATCHSET_REVISION=4c6ce201ea4fddf465e47795d2073cfcb2c90bb4
WORKSPACE=/home/jenkins/workspace/NBI-stage_2_master@3
LOGNAME=jenkins
NODE_NAME=osm worker 2
GERRIT_BRANCH=master
_=/usr/bin/java
RUN_ARTIFACTS_DISPLAY_URL=https://osm.etsi.org/jenkins/job/NBI-stage_2/job/master/1711/display/redirect?page=artifacts
XDG_SESSION_CLASS=user
EXECUTOR_NUMBER=4
XDG_SESSION_ID=2780
RUN_TESTS_DISPLAY_URL=https://osm.etsi.org/jenkins/job/NBI-stage_2/job/master/1711/display/redirect?page=tests
BUILD_DISPLAY_NAME=#1711
PROJECT_URL_PREFIX=https://osm.etsi.org/gerrit
HUDSON_HOME=/var/lib/jenkins
JOB_BASE_NAME=master
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
BUILD_ID=1711
XDG_RUNTIME_DIR=/run/user/1001
BUILD_TAG=jenkins-NBI-stage_2-master-1711
JENKINS_URL=https://osm.etsi.org/jenkins/
LANG=C.UTF-8
JOB_URL=https://osm.etsi.org/jenkins/job/NBI-stage_2/job/master/
BUILD_NUMBER=1711
SHELL=/bin/bash
RUN_DISPLAY_URL=https://osm.etsi.org/jenkins/job/NBI-stage_2/job/master/1711/display/redirect
ARTIFACTORY_SERVER=artifactory-osm
GERRIT_REFSPEC=refs/changes/44/14044/2
HUDSON_SERVER_COOKIE=6d3295a483c3e6d5
JOB_DISPLAY_URL=https://osm.etsi.org/jenkins/job/NBI-stage_2/job/master/display/redirect
JOB_NAME=NBI-stage_2/master
TEST_INSTALL=true
PWD=/home/jenkins/workspace/NBI-stage_2_master@3
SSH_CONNECTION=212.234.161.1 24661 172.21.249.2 22
BRANCH_NAME=master
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Checkout)
[Pipeline] sh
[NBI-stage_2_master@3] Running shell script
+ git fetch --tags
From https://osm.etsi.org/gerrit/osm/NBI
* [new tag] BUILD_v4.0.1_1 -> BUILD_v4.0.1_1
* [new tag] BUILD_v4.0.1_2 -> BUILD_v4.0.1_2
* [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-v12.0-start -> release-v12.0-start
* [new tag] release-v13.0-start -> release-v13.0-start
* [new tag] release-v14.0-start -> release-v14.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] v10.1.0 -> v10.1.0
* [new tag] v10.1.0-rc1 -> v10.1.0-rc1
* [new tag] v10.1.0rc2 -> v10.1.0rc2
* [new tag] v10.1.0rc3 -> v10.1.0rc3
* [new tag] v10.1.1 -> v10.1.1
* [new tag] v10.1.1-rc1 -> v10.1.1-rc1
* [new tag] v10.1.1rc2 -> v10.1.1rc2
* [new tag] v10.1.2 -> v10.1.2
* [new tag] v10.1.3 -> v10.1.3
* [new tag] v10.1.4 -> v10.1.4
* [new tag] v10.1.5 -> v10.1.5
* [new tag] v11.0.0 -> v11.0.0
* [new tag] v11.0.0rc1 -> v11.0.0rc1
* [new tag] v11.0.0rc2 -> v11.0.0rc2
* [new tag] v11.0.1 -> v11.0.1
* [new tag] v11.0.2 -> v11.0.2
* [new tag] v11.0.3 -> v11.0.3
* [new tag] v11.0.4 -> v11.0.4
* [new tag] v12.0.0 -> v12.0.0
* [new tag] v12.0.0rc1 -> v12.0.0rc1
* [new tag] v12.0.1 -> v12.0.1
* [new tag] v12.0.2 -> v12.0.2
* [new tag] v12.0.3 -> v12.0.3
* [new tag] v12.0.4 -> v12.0.4
* [new tag] v12.0.5 -> v12.0.5
* [new tag] v12.0.6 -> v12.0.6
* [new tag] v13.0.0 -> v13.0.0
* [new tag] v13.0.0rc1 -> v13.0.0rc1
* [new tag] v13.0.0rc2 -> v13.0.0rc2
* [new tag] v13.0.1 -> v13.0.1
* [new tag] v14.0.0 -> v14.0.0
* [new tag] v14.0.0rc1 -> v14.0.0rc1
* [new tag] v4.0.0 -> v4.0.0
* [new tag] v4.0.1 -> v4.0.1
* [new tag] v5.0.0 -> v5.0.0
* [new tag] v5.0.1 -> v5.0.1
* [new tag] v5.0.2 -> v5.0.2
* [new tag] v5.0.3 -> v5.0.3
* [new tag] v5.0.4 -> v5.0.4
* [new tag] v5.0.5 -> v5.0.5
* [new tag] v6.0.0 -> v6.0.0
* [new tag] v6.0.1 -> v6.0.1
* [new tag] v6.0.2 -> v6.0.2
* [new tag] v6.0.2rc1 -> v6.0.2rc1
* [new tag] v6.0.3 -> v6.0.3
* [new tag] v6.0.4 -> v6.0.4
* [new tag] v6.0.4rc1 -> v6.0.4rc1
* [new tag] v7.0.0 -> v7.0.0
* [new tag] v7.0.0rc1 -> v7.0.0rc1
* [new tag] v7.0.1 -> v7.0.1
* [new tag] v7.0.1rc1 -> v7.0.1rc1
* [new tag] v7.0.1rc2 -> v7.0.1rc2
* [new tag] v7.0.1rc3 -> v7.0.1rc3
* [new tag] v7.1.0 -> v7.1.0
* [new tag] v7.1.0rc1 -> v7.1.0rc1
* [new tag] v7.1.0rc2 -> v7.1.0rc2
* [new tag] v7.1.0rc3 -> v7.1.0rc3
* [new tag] v7.1.0rc4 -> v7.1.0rc4
* [new tag] v7.1.0rc5 -> v7.1.0rc5
* [new tag] v7.1.0rc6 -> v7.1.0rc6
* [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] v7.1.5 -> v7.1.5
* [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
* [new tag] v9.1.5 -> v9.1.5
[Pipeline] sh
[NBI-stage_2_master@3] Running shell script
+ git fetch origin refs/changes/44/14044/2
From https://osm.etsi.org/gerrit/osm/NBI
* branch refs/changes/44/14044/2 -> FETCH_HEAD
[Pipeline] sh
[NBI-stage_2_master@3] Running shell script
+ git checkout -f 4c6ce201ea4fddf465e47795d2073cfcb2c90bb4
Previous HEAD position was 0a1efed Feature 11002: Deprecate helmv2
HEAD is now at 4c6ce20 Fixes validation of helm charts to include URLs
[Pipeline] sh
[NBI-stage_2_master@3] Running shell script
+ sudo git clean -dfx
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (License Scan)
[Pipeline] sh
[NBI-stage_2_master@3] Running shell script
+ devops/tools/license_scan.sh
osm_nbi/descriptor_topics.py is text
osm_nbi/descriptor_topics.py 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
[NBI-stage_2_master@3] Running shell script
+ docker build --build-arg APT_PROXY=http://172.21.1.1:3142 -t osm/nbi-master .
Sending build context to Docker daemon 154.8MB
Step 1/7 : FROM ubuntu:22.04
---> e4c58958181a
Step 2/7 : ARG APT_PROXY
---> Using cache
---> 08e4465e2e29
Step 3/7 : 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
---> b7bf9b68de70
Step 4/7 : 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 python3-pip tox
---> Using cache
---> 3268689994cb
Step 5/7 : ENV LC_ALL C.UTF-8
---> Using cache
---> f680842f0bd7
Step 6/7 : ENV LANG C.UTF-8
---> Using cache
---> 1cd44f6591c5
Step 7/7 : RUN DEBIAN_FRONTEND=noninteractive apt-get -y install wget
---> Using cache
---> 191ebf1918de
Successfully built 191ebf1918de
Successfully tagged osm/nbi-master:latest
[Pipeline] }
[Pipeline] // stage
[Pipeline] sh
[NBI-stage_2_master@3] Running shell script
+ id -u
[Pipeline] sh
[NBI-stage_2_master@3] Running shell script
+ id -g
[Pipeline] withDockerContainer
osm worker 2 does not seem to be running inside a container
$ docker run -t -d -u 1001:1001 -u root -w /home/jenkins/workspace/NBI-stage_2_master@3 -v /home/jenkins/workspace/NBI-stage_2_master@3:/home/jenkins/workspace/NBI-stage_2_master@3:rw,z -v /home/jenkins/workspace/NBI-stage_2_master@3@tmp:/home/jenkins/workspace/NBI-stage_2_master@3@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/nbi-master
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Test)
[Pipeline] sh
[NBI-stage_2_master@3] Running shell script
+ groupadd -o -g 1001 -r jenkins
[Pipeline] sh
[NBI-stage_2_master@3] Running shell script
+ pwd
+ useradd -o -u 1001 -d /home/jenkins/workspace/NBI-stage_2_master@3 -r -g jenkins jenkins
[Pipeline] sh
[NBI-stage_2_master@3] Running shell script
+ echo #! /bin/sh
[Pipeline] sh
[NBI-stage_2_master@3] Running shell script
+ chmod 755 /usr/bin/mesg
[Pipeline] sh
[NBI-stage_2_master@3] Running shell script
+ runuser jenkins -c devops-stages/stage-test.sh
Launching tox
✔ OK black in 7.294 seconds
✔ OK flake8 in 9.735 seconds
✔ OK safety in 32.592 seconds
✔ OK cover in 1 minute, 24.95 seconds
✔ OK pylint in 1 minute, 39.18 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
[NBI-stage_2_master@3] Running shell script
+ runuser jenkins -c devops-stages/stage-build.sh
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Archive)
[Pipeline] sh
[NBI-stage_2_master@3] Running shell script
+ runuser jenkins -c mkdir -p changelog
[Pipeline] sh
[NBI-stage_2_master@3] Running shell script
+ runuser jenkins -c devops/tools/generatechangelog-pipeline.sh > changelog/changelog-NBI.html
[Pipeline] sh
[NBI-stage_2_master@3] Running shell script
+ runuser jenkins -c devops-stages/stage-archive.sh
[Pipeline] getArtifactoryServer
[Pipeline] newBuildInfo
[Pipeline] artifactoryUpload
[consumer_0] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-NBI/master-staging/1711/pool/NBI/python3-osm-nbi_9.0.0.post110%2Bg4c6ce20-1_all.deb
[consumer_1] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-NBI/master-staging/1711/changelog/changelog-NBI.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/NBI-stage_2%20::%20master/1711
[Pipeline] sh
[NBI-stage_2_master@3] Running shell script
+ env
[Pipeline] step
Archiving artifacts
Recording fingerprints
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
$ docker stop --time=1 c47dafde9d8002363f9baa09989d736d567770079b00fc57ae156c25f2991b91
$ docker rm -f c47dafde9d8002363f9baa09989d736d567770079b00fc57ae156c25f2991b91
[Pipeline] // withDockerContainer
[Pipeline] stage
[Pipeline] { (Snap build)
[Pipeline] fileExists
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Charm build)
[Pipeline] sh
[NBI-stage_2_master@3] Running shell script
+ nproc
+ expr 16 / 2
[Pipeline] fileExists
[Pipeline] fileExists
[Pipeline] fileExists
[Pipeline] fileExists
[Pipeline] fileExists
[Pipeline] fileExists
[Pipeline] fileExists
[Pipeline] fileExists
[Pipeline] fileExists
[Pipeline] fileExists
[Pipeline] fileExists
[Pipeline] fileExists
[Pipeline] fileExists
[Pipeline] fileExists
[Pipeline] parallel
No branches to run
[Pipeline] // parallel
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build System)
[Pipeline] build (Building osm-stage_3 » master)
Scheduling project: osm-stage_3 » master
Starting building: osm-stage_3 » master #12195
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS