Started by upstream project "NBI-stage_1" build number 2247 originally caused by: Triggered by Gerrit: https://osm.etsi.org/gerrit/14004 > 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 --force --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/v15.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 24 remote branches Obtained Jenkinsfile from d68526d51ba7fee30b35ed6acdfb85c1ffeea307 Running in Durability level: MAX_SURVIVABILITY [Pipeline] properties [Pipeline] node Running on osm-cicd-3 in /home/jenkins/workspace/NBI-stage_2_master [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/NBI.git # timeout=10 Fetching without tags 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/* Checking out Revision d68526d51ba7fee30b35ed6acdfb85c1ffeea307 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d68526d51ba7fee30b35ed6acdfb85c1ffeea307 Commit message: "Fix Bug 2313: Development of User Management environmental variable" > git rev-list --no-walk d68526d51ba7fee30b35ed6acdfb85c1ffeea307 # timeout=10 [Pipeline] dir Running in /home/jenkins/workspace/NBI-stage_2_master/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 --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 9c253bda06915c374c7e38144976923ee67787d5 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9c253bda06915c374c7e38144976923ee67787d5 > git branch -a -v --no-abbrev # timeout=10 > git branch -D master # timeout=10 > git checkout -b master 9c253bda06915c374c7e38144976923ee67787d5 Commit message: "Fix installation of Kubernetes metrics server by updating the URL" > git rev-list --no-walk 9c253bda06915c374c7e38144976923ee67787d5 # 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] Running shell script + env JENKINS_HOME=/var/lib/jenkins SSH_CLIENT=212.234.161.1 18265 22 USER=jenkins RUN_CHANGES_DISPLAY_URL=https://osm.etsi.org/jenkins/job/NBI-stage_2/job/master/1771/display/redirect?page=changes GERRIT_PROJECT=osm/NBI 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/NBI-stage_2/job/master/1771/ HUDSON_COOKIE=048f856a-3bdb-44f5-9f34-80c5d5da9bf2 JENKINS_SERVER_COOKIE=durable-d8d7305aeac25fa5b36f8c4b2ff99b07 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus GERRIT_PATCHSET_REVISION=db53a9be748e99eec4c656ad3c44a30cc840f59c WORKSPACE=/home/jenkins/workspace/NBI-stage_2_master LOGNAME=jenkins NODE_NAME=osm-cicd-3 GERRIT_BRANCH=master _=/usr/bin/java RUN_ARTIFACTS_DISPLAY_URL=https://osm.etsi.org/jenkins/job/NBI-stage_2/job/master/1771/display/redirect?page=artifacts XDG_SESSION_CLASS=user EXECUTOR_NUMBER=1 XDG_SESSION_ID=4194 RUN_TESTS_DISPLAY_URL=https://osm.etsi.org/jenkins/job/NBI-stage_2/job/master/1771/display/redirect?page=tests BUILD_DISPLAY_NAME=#1771 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=1771 XDG_RUNTIME_DIR=/run/user/1001 BUILD_TAG=jenkins-NBI-stage_2-master-1771 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=1771 SHELL=/bin/bash RUN_DISPLAY_URL=https://osm.etsi.org/jenkins/job/NBI-stage_2/job/master/1771/display/redirect ARTIFACTORY_SERVER=artifactory-osm GERRIT_REFSPEC=refs/changes/04/14004/5 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 SSH_CONNECTION=212.234.161.1 18265 172.21.249.3 22 BRANCH_NAME=master [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Checkout) [Pipeline] sh [NBI-stage_2_master] Running shell script + git fetch --tags [Pipeline] sh [NBI-stage_2_master] Running shell script + git fetch origin refs/changes/04/14004/5 From https://osm.etsi.org/gerrit/osm/NBI * branch refs/changes/04/14004/5 -> FETCH_HEAD [Pipeline] sh [NBI-stage_2_master] Running shell script + git checkout -f db53a9be748e99eec4c656ad3c44a30cc840f59c Previous HEAD position was d68526d Fix Bug 2313: Development of User Management environmental variable HEAD is now at db53a9b Feature 11039: Modification of Audit logs in NBI for password change and NS operations [Pipeline] sh [NBI-stage_2_master] Running shell script + sudo git clean -dfx Removing .cache/ Removing .coverage Removing .local/ Removing .safety/ Removing .wget-hsts Removing build.env Removing changelog/ Removing cover/ Removing coverage.xml Removing deb_dist/ Removing dist/ Removing nosetests.xml Removing osm_nbi-9.0.0.post120+gd3e2264.tar.gz Removing osm_nbi.egg-info/ Removing pool/ [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (License Scan) [Pipeline] sh [NBI-stage_2_master] Running shell script + devops/tools/license_scan.sh osm_nbi/admin_topics.py is text osm_nbi/admin_topics.py Apache-2.0 osm_nbi/authconn_internal.py is text osm_nbi/authconn_internal.py Apache-2.0 osm_nbi/instance_topics.py is text osm_nbi/instance_topics.py Apache-2.0 osm_nbi/nbi.py is text osm_nbi/nbi.py Apache-2.0 osm_nbi/osm_vnfm/vnf_instance_actions.py is text osm_nbi/osm_vnfm/vnf_instance_actions.py Apache-2.0 osm_nbi/tests/test_instance_topics.py is text osm_nbi/tests/test_instance_topics.py Apache-2.0 osm_nbi/tests/test_osm_vnfm.py is text osm_nbi/tests/test_osm_vnfm.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] 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 156.5MB Step 1/7 : FROM ubuntu:22.04 ---> 67c845845b7d Step 2/7 : ARG APT_PROXY ---> Using cache ---> 9ed390ab8cf5 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 ---> a648025efc3d 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 ---> 0bc184d111cb Step 5/7 : ENV LC_ALL C.UTF-8 ---> Using cache ---> 5edda3afd9ad Step 6/7 : ENV LANG C.UTF-8 ---> Using cache ---> b4aa40b0ffdc Step 7/7 : RUN DEBIAN_FRONTEND=noninteractive apt-get -y install wget ---> Running in 66bb26bce278 Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: wget 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 367 kB of archives. After this operation, 1008 kB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu jammy/main amd64 wget amd64 1.21.2-2ubuntu1 [367 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 367 kB in 0s (10.3 MB/s) Selecting previously unselected package wget. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19743 files and directories currently installed.) Preparing to unpack .../wget_1.21.2-2ubuntu1_amd64.deb ... Unpacking wget (1.21.2-2ubuntu1) ... Setting up wget (1.21.2-2ubuntu1) ... Processing triggers for man-db (2.10.2-1) ... Removing intermediate container 66bb26bce278 ---> bb31cda39c01 Successfully built bb31cda39c01 Successfully tagged osm/nbi-master:latest [Pipeline] } [Pipeline] // stage [Pipeline] sh [NBI-stage_2_master] Running shell script + id -u [Pipeline] sh [NBI-stage_2_master] 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/NBI-stage_2_master -v /home/jenkins/workspace/NBI-stage_2_master:/home/jenkins/workspace/NBI-stage_2_master:rw,z -v /home/jenkins/workspace/NBI-stage_2_master@tmp:/home/jenkins/workspace/NBI-stage_2_master@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] Running shell script + groupadd -o -g 1001 -r jenkins [Pipeline] sh [NBI-stage_2_master] Running shell script + pwd + useradd -o -u 1001 -d /home/jenkins/workspace/NBI-stage_2_master -r -g jenkins jenkins [Pipeline] sh [NBI-stage_2_master] Running shell script + echo #! /bin/sh [Pipeline] sh [NBI-stage_2_master] Running shell script + chmod 755 /usr/bin/mesg [Pipeline] sh [NBI-stage_2_master] Running shell script + runuser jenkins -c devops-stages/stage-test.sh Launching tox ✔ OK black in 6.687 seconds ✔ OK flake8 in 8.701 seconds ✔ OK safety in 39.614 seconds ✔ OK cover in 1 minute, 21.276 seconds ✔ OK pylint in 1 minute, 30.883 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] Running shell script + runuser jenkins -c devops-stages/stage-build.sh [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive) [Pipeline] sh [NBI-stage_2_master] Running shell script + runuser jenkins -c mkdir -p changelog [Pipeline] sh [NBI-stage_2_master] Running shell script + runuser jenkins -c devops/tools/generatechangelog-pipeline.sh > changelog/changelog-NBI.html [Pipeline] sh [NBI-stage_2_master] 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/1771/pool/NBI/python3-osm-nbi_9.0.0.post120%2Bgdb53a9b-1_all.deb [consumer_1] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-NBI/master-staging/1771/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/1771 [Pipeline] sh [NBI-stage_2_master] Running shell script + env [Pipeline] step Archiving artifacts Recording fingerprints [Pipeline] } [Pipeline] // stage [Pipeline] } $ docker stop --time=1 ded27f6c6c2e3e9a85f6cd85e8c55c6267a1f284479a7f008538c23b61cd90ca $ docker rm -f ded27f6c6c2e3e9a85f6cd85e8c55c6267a1f284479a7f008538c23b61cd90ca [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (Build System) [Pipeline] build (Building osm-stage_3 » master) Scheduling project: osm-stage_3 » master Starting building: osm-stage_3 » master #12666 [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline Finished: SUCCESS