SuccessConsole Output

Started by upstream project "buildall-stage_2-merge-v13" build number 321
originally caused by:
 Started by timer
 > git rev-parse --is-inside-work-tree # timeout=10
Setting origin to https://osm.etsi.org/gerrit/osm/NG-SA.git
 > git config remote.origin.url https://osm.etsi.org/gerrit/osm/NG-SA.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/master
Seen branch in repository origin/paas
Seen branch in repository origin/v13.0
Seen branch in repository origin/v14.0
Seen branch in repository origin/v15.0
Seen 5 remote branches
Obtained Jenkinsfile from 33715476885d49533fe00ef23acf24d8240358be
Running in Durability level: MAX_SURVIVABILITY
[Pipeline] properties
[Pipeline] node
Running on osm-cicd-2 in /home/jenkins/workspace/NG-SA-stage_2-merge_v13.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/NG-SA.git # timeout=10
Fetching without tags
Fetching upstream changes from https://osm.etsi.org/gerrit/osm/NG-SA.git
 > git --version # timeout=10
 > git fetch --no-tags --force --progress https://osm.etsi.org/gerrit/osm/NG-SA.git +refs/heads/*:refs/remotes/origin/*
Checking out Revision 33715476885d49533fe00ef23acf24d8240358be (v13.0)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 33715476885d49533fe00ef23acf24d8240358be
Commit message: "Fix black and flake8 errors"
 > git rev-list --no-walk 33715476885d49533fe00ef23acf24d8240358be # timeout=10
[Pipeline] dir
Running in /home/jenkins/workspace/NG-SA-stage_2-merge_v13.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 --force --progress https://osm.etsi.org/gerrit/osm/devops +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/v13.0^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/v13.0^{commit} # timeout=10
Checking out Revision df75b7aed0e184455b9de743f82003a1a2513956 (refs/remotes/origin/v13.0)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f df75b7aed0e184455b9de743f82003a1a2513956
 > git branch -a -v --no-abbrev # timeout=10
 > git branch -D v13.0 # timeout=10
 > git checkout -b v13.0 df75b7aed0e184455b9de743f82003a1a2513956
Commit message: "Update gen-repo.sh to fix download from artifactory"
 > git rev-list --no-walk df75b7aed0e184455b9de743f82003a1a2513956 # 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
[NG-SA-stage_2-merge_v13.0] Running shell script
+ env
JENKINS_HOME=/var/lib/jenkins
SSH_CLIENT=212.234.161.1 51943 22
USER=jenkins
RUN_CHANGES_DISPLAY_URL=https://osm.etsi.org/jenkins/job/NG-SA-stage_2-merge/job/v13.0/326/display/redirect?page=changes
GERRIT_PROJECT=osm/NG-SA
XDG_SESSION_TYPE=tty
SHLVL=0
NODE_LABELS=docker osm-cicd-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/NG-SA-stage_2-merge/job/v13.0/326/
HUDSON_COOKIE=582e162f-d264-48af-b571-689c3bd2c948
JENKINS_SERVER_COOKIE=durable-b648d1d8f7bda491a14325c973fde26b
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus
GERRIT_PATCHSET_REVISION=33715476885d49533fe00ef23acf24d8240358be
WORKSPACE=/home/jenkins/workspace/NG-SA-stage_2-merge_v13.0
LOGNAME=jenkins
NODE_NAME=osm-cicd-2
GERRIT_BRANCH=v13.0
_=/usr/bin/java
RUN_ARTIFACTS_DISPLAY_URL=https://osm.etsi.org/jenkins/job/NG-SA-stage_2-merge/job/v13.0/326/display/redirect?page=artifacts
XDG_SESSION_CLASS=user
EXECUTOR_NUMBER=5
XDG_SESSION_ID=144
RUN_TESTS_DISPLAY_URL=https://osm.etsi.org/jenkins/job/NG-SA-stage_2-merge/job/v13.0/326/display/redirect?page=tests
BUILD_DISPLAY_NAME=#326
PROJECT_URL_PREFIX=https://osm.etsi.org/gerrit
HUDSON_HOME=/var/lib/jenkins
JOB_BASE_NAME=v13.0
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
BUILD_ID=326
XDG_RUNTIME_DIR=/run/user/1001
BUILD_TAG=jenkins-NG-SA-stage_2-merge-v13.0-326
JENKINS_URL=https://osm.etsi.org/jenkins/
LANG=C.UTF-8
JOB_URL=https://osm.etsi.org/jenkins/job/NG-SA-stage_2-merge/job/v13.0/
BUILD_NUMBER=326
SHELL=/bin/bash
RUN_DISPLAY_URL=https://osm.etsi.org/jenkins/job/NG-SA-stage_2-merge/job/v13.0/326/display/redirect
ARTIFACTORY_SERVER=artifactory-osm
GERRIT_REFSPEC=refs/changes/31/13131/1
HUDSON_SERVER_COOKIE=6d3295a483c3e6d5
JOB_DISPLAY_URL=https://osm.etsi.org/jenkins/job/NG-SA-stage_2-merge/job/v13.0/display/redirect
JOB_NAME=NG-SA-stage_2-merge/v13.0
TEST_INSTALL=false
PWD=/home/jenkins/workspace/NG-SA-stage_2-merge_v13.0
SSH_CONNECTION=212.234.161.1 51943 172.21.249.2 22
BRANCH_NAME=v13.0
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Checkout)
[Pipeline] sh
[NG-SA-stage_2-merge_v13.0] Running shell script
+ git fetch --tags
[Pipeline] sh
[NG-SA-stage_2-merge_v13.0] Running shell script
+ git fetch origin refs/changes/31/13131/1
From https://osm.etsi.org/gerrit/osm/NG-SA
 * branch            refs/changes/31/13131/1 -> FETCH_HEAD
[Pipeline] sh
[NG-SA-stage_2-merge_v13.0] Running shell script
+ git checkout -f 33715476885d49533fe00ef23acf24d8240358be
HEAD is now at 3371547 Fix black and flake8 errors
[Pipeline] sh
[NG-SA-stage_2-merge_v13.0] Running shell script
+ sudo git clean -dfx
Removing .cache/
Removing .local/
Removing build.env
Removing changelog/
Removing deb_dist/
Removing dist/
Removing dists/
Removing osm_ngsa-13.0.2.tar.gz
Removing pool/
Removing src/osm_ngsa.egg-info/
Removing src/osm_ngsa/_version.py
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (License Scan)
[Pipeline] echo
skip the scan for merge
[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
[NG-SA-stage_2-merge_v13.0] Running shell script
+ docker build --build-arg APT_PROXY=http://172.21.1.1:3142 -t osm/ng-sa-v13.0 .
Sending build context to Docker daemon  153.8MB

Step 1/6 : FROM ubuntu:20.04
 ---> f78909c2b360
Step 2/6 : ARG APT_PROXY
 ---> Using cache
 ---> ad00a18b3e37
Step 3/6 : 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
 ---> 504bf7dcee9b
Step 4/6 : 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
 ---> Using cache
 ---> bd0167711318
Step 5/6 : RUN python3 -m easy_install pip==22.3
 ---> Using cache
 ---> 577a64d8ac65
Step 6/6 : RUN pip install tox==3.24.5
 ---> Using cache
 ---> 129384905dec
Successfully built 129384905dec
Successfully tagged osm/ng-sa-v13.0:latest
[Pipeline] }
[Pipeline] // stage
[Pipeline] sh
[NG-SA-stage_2-merge_v13.0] Running shell script
+ id -u
[Pipeline] sh
[NG-SA-stage_2-merge_v13.0] Running shell script
+ id -g
[Pipeline] withDockerContainer
osm-cicd-2 does not seem to be running inside a container
$ docker run -t -d -u 1001:1001 -u root -w /home/jenkins/workspace/NG-SA-stage_2-merge_v13.0 -v /home/jenkins/workspace/NG-SA-stage_2-merge_v13.0:/home/jenkins/workspace/NG-SA-stage_2-merge_v13.0:rw,z -v /home/jenkins/workspace/NG-SA-stage_2-merge_v13.0@tmp:/home/jenkins/workspace/NG-SA-stage_2-merge_v13.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 ******** -e ******** -e ******** --entrypoint cat osm/ng-sa-v13.0
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Test)
[NG-SA-stage_2-merge_v13.0] Running shell script
[Pipeline] sh
+ groupadd -o -g 1001 -r jenkins
[Pipeline] sh
[NG-SA-stage_2-merge_v13.0] Running shell script
+ pwd
+ useradd -o -u 1001 -d /home/jenkins/workspace/NG-SA-stage_2-merge_v13.0 -r -g jenkins jenkins
[Pipeline] sh
[NG-SA-stage_2-merge_v13.0] Running shell script
+ echo #! /bin/sh
[Pipeline] sh
[NG-SA-stage_2-merge_v13.0] Running shell script
+ chmod 755 /usr/bin/mesg
[Pipeline] sh
[NG-SA-stage_2-merge_v13.0] Running shell script
+ runuser jenkins -c devops-stages/stage-test.sh
Launching tox
✔ OK flake8 in 11.651 seconds
flake8 create: /tmp/.tox/flake8
flake8 installdeps: flake8==5.0.4, flake8-import-order
flake8 installed: flake8==5.0.4,flake8-import-order==0.18.2,mccabe==0.7.0,pycodestyle==2.9.1,pyflakes==2.5.0
flake8 run-test-pre: PYTHONHASHSEED='1998719404'
flake8 run-test: commands[0] | flake8 src/

✔ OK black in 13.399 seconds
black create: /tmp/.tox/black
black installdeps: black
black installed: black==24.1.1,click==8.1.7,mypy-extensions==1.0.0,packaging==23.2,pathspec==0.12.1,platformdirs==4.2.0,tomli==2.0.1,typing_extensions==4.9.0
black run-test-pre: PYTHONHASHSEED='394544140'
black run-test: commands[0] | black --check --diff src
All done! ✨ 🍰 ✨
14 files would be left unchanged.

___________________________________ summary ____________________________________
  black: commands succeeded
  flake8: commands succeeded
  congratulations :)
[Pipeline] fileExists
[Pipeline] fileExists
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build)
[Pipeline] sh
[NG-SA-stage_2-merge_v13.0] Running shell script
+ runuser jenkins -c devops-stages/stage-build.sh
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Archive)
[Pipeline] sh
[NG-SA-stage_2-merge_v13.0] Running shell script
+ runuser jenkins -c mkdir -p changelog
[Pipeline] sh
[NG-SA-stage_2-merge_v13.0] Running shell script
+ runuser jenkins -c devops/tools/generatechangelog-pipeline.sh > changelog/changelog-NG-SA.html
[Pipeline] sh
[NG-SA-stage_2-merge_v13.0] Running shell script
+ runuser jenkins -c devops-stages/stage-archive.sh
devops-stages/stage-archive.sh: 25: apt-ftparchive: not found
[Pipeline] getArtifactoryServer
[Pipeline] newBuildInfo
[Pipeline] artifactoryUpload
[consumer_0] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-NG-SA/v13.0/326/dists/unstable/NG-SA/binary-amd64/Packages.gz
[consumer_1] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-NG-SA/v13.0/326/dists/unstable/NG-SA/binary-amd64/Packages
[consumer_2] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-NG-SA/v13.0/326/pool/NG-SA/python3-osm-ngsa_13.0.2-1_all.deb
[consumer_1] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-NG-SA/v13.0/326/changelog/changelog-NG-SA.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/NG-SA-stage_2-merge%20::%20v13.0/326
[Pipeline] sh
[NG-SA-stage_2-merge_v13.0] Running shell script
+ env
[Pipeline] step
Archiving artifacts
Recording fingerprints
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
$ docker stop --time=1 5685b124348ab44cc322b6f8dec30402baa4683e3b6357939378aa500bd41ab9
$ docker rm -f 5685b124348ab44cc322b6f8dec30402baa4683e3b6357939378aa500bd41ab9
[Pipeline] // withDockerContainer
[Pipeline] stage
[Pipeline] { (Snap build)
[Pipeline] fileExists
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS