SuccessConsole Output

Started by upstream project "NG-SA-stage_1" build number 43
originally caused by:
 Triggered by Gerrit: https://osm.etsi.org/gerrit/12738
 > 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/v13.0
Seen 2 remote branches
Obtained Jenkinsfile from 8d41d56d384249b8513d3465e66a163445482e6c
Running in Durability level: MAX_SURVIVABILITY
[Pipeline] properties
[Pipeline] node
Running on osm3 slave in /home/jenkins/jenkins_slave/workspace/NG-SA-stage_2_v13.0
[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/NG-SA.git
 > git init /home/jenkins/jenkins_slave/workspace/NG-SA-stage_2_v13.0 # timeout=10
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/*
 > git config remote.origin.url https://osm.etsi.org/gerrit/osm/NG-SA.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/NG-SA.git # timeout=10
Fetching without tags
Fetching upstream changes from https://osm.etsi.org/gerrit/osm/NG-SA.git
 > git fetch --no-tags --force --progress https://osm.etsi.org/gerrit/osm/NG-SA.git +refs/heads/*:refs/remotes/origin/*
Checking out Revision 8d41d56d384249b8513d3465e66a163445482e6c (v13.0)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 8d41d56d384249b8513d3465e66a163445482e6c
Commit message: "Deb package creation for NG-SA"
 > git rev-list --no-walk 8d41d56d384249b8513d3465e66a163445482e6c # timeout=10
[Pipeline] dir
Running in /home/jenkins/jenkins_slave/workspace/NG-SA-stage_2_v13.0/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/jenkins_slave/workspace/NG-SA-stage_2_v13.0/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/v13.0^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/v13.0^{commit} # timeout=10
Checking out Revision 432fcfdbbb10a88f4f5bb03571e93919f1943c52 (refs/remotes/origin/v13.0)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 432fcfdbbb10a88f4f5bb03571e93919f1943c52
 > git branch -a -v --no-abbrev # timeout=10
 > git checkout -b v13.0 432fcfdbbb10a88f4f5bb03571e93919f1943c52
Commit message: "Update Airflow/Dockerfile to install osm_ngsa deb package in user folder"
 > git rev-list --no-walk 432fcfdbbb10a88f4f5bb03571e93919f1943c52 # 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
[NG-SA-stage_2_v13.0] Running shell script
+ env
JENKINS_HOME=/var/lib/jenkins
LC_TIME=fr_FR.UTF-8
SSH_CLIENT=195.238.226.13 54484 22
USER=jenkins
RUN_CHANGES_DISPLAY_URL=https://osm.etsi.org/jenkins/job/NG-SA-stage_2/job/v13.0/6/display/redirect?page=changes
GERRIT_PROJECT=osm/NG-SA
XDG_SESSION_TYPE=tty
SHLVL=0
NODE_LABELS=osm3 osm3 slave 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/job/v13.0/6/
HUDSON_COOKIE=156af540-1afb-4c64-bd4c-4249c8c134a1
JENKINS_SERVER_COOKIE=durable-90f0fe8fe6bd5a6c7434c82bb3abd331
LC_MONETARY=fr_FR.UTF-8
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1002/bus
GERRIT_PATCHSET_REVISION=85362894d795a91ad30249bf859830fc0b6849f6
WORKSPACE=/home/jenkins/jenkins_slave/workspace/NG-SA-stage_2_v13.0
LOGNAME=jenkins
NODE_NAME=osm3 slave
GERRIT_BRANCH=v13.0
_=/usr/bin/java
RUN_ARTIFACTS_DISPLAY_URL=https://osm.etsi.org/jenkins/job/NG-SA-stage_2/job/v13.0/6/display/redirect?page=artifacts
XDG_SESSION_CLASS=user
EXECUTOR_NUMBER=1
XDG_SESSION_ID=3
RUN_TESTS_DISPLAY_URL=https://osm.etsi.org/jenkins/job/NG-SA-stage_2/job/v13.0/6/display/redirect?page=tests
BUILD_DISPLAY_NAME=#6
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
LC_ADDRESS=fr_FR.UTF-8
BUILD_ID=6
XDG_RUNTIME_DIR=/run/user/1002
BUILD_TAG=jenkins-NG-SA-stage_2-v13.0-6
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/NG-SA-stage_2/job/v13.0/
BUILD_NUMBER=6
SHELL=/bin/bash
LC_NAME=fr_FR.UTF-8
RUN_DISPLAY_URL=https://osm.etsi.org/jenkins/job/NG-SA-stage_2/job/v13.0/6/display/redirect
ARTIFACTORY_SERVER=artifactory-osm
GERRIT_REFSPEC=refs/changes/38/12738/1
HUDSON_SERVER_COOKIE=6d3295a483c3e6d5
LC_MEASUREMENT=fr_FR.UTF-8
JOB_DISPLAY_URL=https://osm.etsi.org/jenkins/job/NG-SA-stage_2/job/v13.0/display/redirect
LC_IDENTIFICATION=fr_FR.UTF-8
JOB_NAME=NG-SA-stage_2/v13.0
TEST_INSTALL=true
PWD=/home/jenkins/jenkins_slave/workspace/NG-SA-stage_2_v13.0
SSH_CONNECTION=195.238.226.13 54484 172.21.1.6 22
LC_NUMERIC=fr_FR.UTF-8
LC_PAPER=fr_FR.UTF-8
BRANCH_NAME=v13.0
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Checkout)
[Pipeline] sh
[NG-SA-stage_2_v13.0] Running shell script
+ git fetch --tags
From https://osm.etsi.org/gerrit/osm/NG-SA
 * [new tag]         release-v13.0-start -> release-v13.0-start
 * [new tag]         v12.0.3             -> v12.0.3
[Pipeline] sh
[NG-SA-stage_2_v13.0] Running shell script
+ git fetch origin refs/changes/38/12738/1
From https://osm.etsi.org/gerrit/osm/NG-SA
 * branch            refs/changes/38/12738/1 -> FETCH_HEAD
[Pipeline] sh
[NG-SA-stage_2_v13.0] Running shell script
+ git checkout -f 85362894d795a91ad30249bf859830fc0b6849f6
Previous HEAD position was 8d41d56 Deb package creation for NG-SA
HEAD is now at 8536289 v13.0 Branch Preparation
[Pipeline] sh
[NG-SA-stage_2_v13.0] Running shell script
+ sudo git clean -dfx
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (License Scan)
[Pipeline] sh
[NG-SA-stage_2_v13.0] Running shell script
+ devops/tools/license_scan.sh
requirements-dev.in is text
requirements-dev.in Apache-2.0
requirements-dev.txt is text
requirements-dev.txt 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
[NG-SA-stage_2_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  149.7MB

Step 1/6 : FROM ubuntu:20.04
 ---> 680e5dfb52c7
Step 2/6 : ARG APT_PROXY
 ---> Using cache
 ---> b866aff524f6
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
 ---> 02a929172bbd
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
 ---> 261d1368684a
Step 5/6 : RUN python3 -m easy_install pip==22.3
 ---> Using cache
 ---> 11039e58321d
Step 6/6 : RUN pip install tox==3.24.5
 ---> Using cache
 ---> 10e7955c4748
Successfully built 10e7955c4748
Successfully tagged osm/ng-sa-v13.0:latest
[Pipeline] }
[Pipeline] // stage
[Pipeline] sh
[NG-SA-stage_2_v13.0] Running shell script
+ id -u
[Pipeline] sh
[NG-SA-stage_2_v13.0] Running shell script
+ id -g
[Pipeline] withDockerContainer
osm3 slave does not seem to be running inside a container
$ docker run -t -d -u 1002:1002 -u root -w /home/jenkins/jenkins_slave/workspace/NG-SA-stage_2_v13.0 -v /home/jenkins/jenkins_slave/workspace/NG-SA-stage_2_v13.0:/home/jenkins/jenkins_slave/workspace/NG-SA-stage_2_v13.0:rw,z -v /home/jenkins/jenkins_slave/workspace/NG-SA-stage_2_v13.0@tmp:/home/jenkins/jenkins_slave/workspace/NG-SA-stage_2_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_v13.0] Running shell script
+ groupadd -o -g 1002 -r jenkins
[Pipeline] sh
[NG-SA-stage_2_v13.0] Running shell script
+ pwd
+ useradd -o -u 1002 -d /home/jenkins/jenkins_slave/workspace/NG-SA-stage_2_v13.0 -r -g jenkins jenkins
[Pipeline] sh
[NG-SA-stage_2_v13.0] Running shell script
+ echo #! /bin/sh
[Pipeline] sh
[NG-SA-stage_2_v13.0] Running shell script
+ chmod 755 /usr/bin/mesg
[Pipeline] sh
[NG-SA-stage_2_v13.0] Running shell script
+ runuser jenkins -c devops-stages/stage-test.sh
Launching tox
✔ OK flake8 in 6.84 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='2020872037'
flake8 run-test: commands[0] | flake8 src/

✔ OK black in 7.036 seconds
black create: /tmp/.tox/black
black installdeps: black
black installed: black==22.10.0,click==8.1.3,mypy-extensions==0.4.3,pathspec==0.10.2,platformdirs==2.5.4,tomli==2.0.1,typing_extensions==4.4.0
black run-test-pre: PYTHONHASHSEED='1527727798'
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_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_v13.0] Running shell script
+ runuser jenkins -c mkdir -p changelog
[Pipeline] sh
[NG-SA-stage_2_v13.0] Running shell script
+ runuser jenkins -c devops/tools/generatechangelog-pipeline.sh > changelog/changelog-NG-SA.html
[Pipeline] sh
[NG-SA-stage_2_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-staging/6/dists/unstable/NG-SA/binary-amd64/Packages.gz
[consumer_1] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-NG-SA/v13.0-staging/6/dists/unstable/NG-SA/binary-amd64/Packages
[consumer_2] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-NG-SA/v13.0-staging/6/pool/NG-SA/python3-osm-ngsa_12.0.4%7Edev1%2Bg8536289-1_all.deb
[consumer_0] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-NG-SA/v13.0-staging/6/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%20::%20v13.0/6
[Pipeline] sh
[NG-SA-stage_2_v13.0] Running shell script
+ env
[Pipeline] step
Archiving artifacts
Recording fingerprints
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
$ docker stop --time=1 f20d8f1624c616a9e5fc39f835d4a2675e3e869d80a41f7ae00acff5d8456d63
$ docker rm -f f20d8f1624c616a9e5fc39f835d4a2675e3e869d80a41f7ae00acff5d8456d63
[Pipeline] // withDockerContainer
[Pipeline] stage
[Pipeline] { (Snap build)
[Pipeline] fileExists
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Charm build)
[Pipeline] sh
[NG-SA-stage_2_v13.0] Running shell script
+ nproc
+ expr 12 / 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] parallel
No branches to run
[Pipeline] // parallel
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build System)
[Pipeline] build (Building osm-stage_3 » v13.0)
Scheduling project: osm-stage_3 » v13.0
Starting building: osm-stage_3 » v13.0 #22
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS