SuccessConsole Output

Started by upstream project "buildall-stage_2-merge-v13" build number 315
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/320/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/320/
HUDSON_COOKIE=867b5b98-6995-4f10-b080-58980671acba
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/320/display/redirect?page=artifacts
XDG_SESSION_CLASS=user
EXECUTOR_NUMBER=4
XDG_SESSION_ID=144
RUN_TESTS_DISPLAY_URL=https://osm.etsi.org/jenkins/job/NG-SA-stage_2-merge/job/v13.0/320/display/redirect?page=tests
BUILD_DISPLAY_NAME=#320
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=320
XDG_RUNTIME_DIR=/run/user/1001
BUILD_TAG=jenkins-NG-SA-stage_2-merge-v13.0-320
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=320
SHELL=/bin/bash
RUN_DISPLAY_URL=https://osm.etsi.org/jenkins/job/NG-SA-stage_2-merge/job/v13.0/320/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
 ---> Running in 34504732ce34
WARNING: The easy_install command is deprecated and will be removed in a future version.
Searching for pip==22.3
Reading https://pypi.org/simple/pip/
Downloading https://files.pythonhosted.org/packages/47/ef/8b5470b5b94b36231ed9c0bde90caa71c0d4322d4a15f009b2b7f4287fe0/pip-22.3-py3-none-any.whl#sha256=1daab4b8d3b97d1d763caeb01a4640a2250a0ea899e257b1e44b9eded91e15ab
Best match: pip 22.3
Processing pip-22.3-py3-none-any.whl
Installing pip-22.3-py3-none-any.whl to /usr/local/lib/python3.8/dist-packages
Adding pip 22.3 to easy-install.pth file
Installing pip script to /usr/local/bin
Installing pip3 script to /usr/local/bin
Installing pip3.10 script to /usr/local/bin

Installed /usr/local/lib/python3.8/dist-packages/pip-22.3-py3.8.egg
Processing dependencies for pip==22.3
Finished processing dependencies for pip==22.3
Removing intermediate container 34504732ce34
 ---> 577a64d8ac65
Step 6/6 : RUN pip install tox==3.24.5
 ---> Running in 1c1ace02d030
Collecting tox==3.24.5
  Downloading tox-3.24.5-py2.py3-none-any.whl (85 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 85.6/85.6 kB 1.8 MB/s eta 0:00:00
Collecting pluggy>=0.12.0
  Downloading pluggy-1.4.0-py3-none-any.whl (20 kB)
Collecting six>=1.14.0
  Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting py>=1.4.17
  Downloading py-1.11.0-py2.py3-none-any.whl (98 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 98.7/98.7 kB 12.2 MB/s eta 0:00:00
Collecting virtualenv!=20.0.0,!=20.0.1,!=20.0.2,!=20.0.3,!=20.0.4,!=20.0.5,!=20.0.6,!=20.0.7,>=16.0.0
  Downloading virtualenv-20.25.0-py3-none-any.whl (3.8 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.8/3.8 MB 22.5 MB/s eta 0:00:00
Collecting filelock>=3.0.0
  Downloading filelock-3.13.1-py3-none-any.whl (11 kB)
Collecting packaging>=14
  Downloading packaging-23.2-py3-none-any.whl (53 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 53.0/53.0 kB 3.3 MB/s eta 0:00:00
Collecting toml>=0.9.4
  Downloading toml-0.10.2-py2.py3-none-any.whl (16 kB)
Collecting platformdirs<5,>=3.9.1
  Downloading platformdirs-4.1.0-py3-none-any.whl (17 kB)
Collecting distlib<1,>=0.3.7
  Downloading distlib-0.3.8-py2.py3-none-any.whl (468 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 468.9/468.9 kB 21.1 MB/s eta 0:00:00
Installing collected packages: distlib, toml, six, py, pluggy, platformdirs, packaging, filelock, virtualenv, tox
Successfully installed distlib-0.3.8 filelock-3.13.1 packaging-23.2 platformdirs-4.1.0 pluggy-1.4.0 py-1.11.0 six-1.16.0 toml-0.10.2 tox-3.24.5 virtualenv-20.25.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Removing intermediate container 1c1ace02d030
 ---> 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)
[Pipeline] sh
[NG-SA-stage_2-merge_v13.0] Running shell script
+ 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 6.798 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='1320611317'
flake8 run-test: commands[0] | flake8 src/

✔ OK black in 11.164 seconds
black create: /tmp/.tox/black
black installdeps: black
black installed: black==23.12.1,click==8.1.7,mypy-extensions==1.0.0,packaging==23.2,pathspec==0.12.1,platformdirs==4.1.0,tomli==2.0.1,typing_extensions==4.9.0
black run-test-pre: PYTHONHASHSEED='1470353532'
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/320/dists/unstable/NG-SA/binary-amd64/Packages.gz
[consumer_1] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-NG-SA/v13.0/320/dists/unstable/NG-SA/binary-amd64/Packages
[consumer_2] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-NG-SA/v13.0/320/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/320/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/320
[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 417cae29432caec37d33e811557f099edaf313fcb1ac1d89db6a59c658b9fb19
$ docker rm -f 417cae29432caec37d33e811557f099edaf313fcb1ac1d89db6a59c658b9fb19
[Pipeline] // withDockerContainer
[Pipeline] stage
[Pipeline] { (Snap build)
[Pipeline] fileExists
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS