SuccessConsole Output

Started by upstream project "buildall-stage_2-merge-v13" build number 301
originally caused by:
 Started by user garciadeblas
 > 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-3 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 366ed71248f46f8a3754cb5189e39b9ea53a22b7 (refs/remotes/origin/v13.0)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 366ed71248f46f8a3754cb5189e39b9ea53a22b7
 > git branch -a -v --no-abbrev # timeout=10
 > git branch -D v13.0 # timeout=10
 > git checkout -b v13.0 366ed71248f46f8a3754cb5189e39b9ea53a22b7
Commit message: "Removing charm promotion"
 > git rev-list --no-walk 366ed71248f46f8a3754cb5189e39b9ea53a22b7 # 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 13726 22
USER=jenkins
RUN_CHANGES_DISPLAY_URL=https://osm.etsi.org/jenkins/job/NG-SA-stage_2-merge/job/v13.0/306/display/redirect?page=changes
GERRIT_PROJECT=osm/NG-SA
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/NG-SA-stage_2-merge/job/v13.0/306/
HUDSON_COOKIE=e59e5d28-e1df-4fac-b318-f65da2ec493b
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-3
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/306/display/redirect?page=artifacts
XDG_SESSION_CLASS=user
EXECUTOR_NUMBER=3
XDG_SESSION_ID=144
RUN_TESTS_DISPLAY_URL=https://osm.etsi.org/jenkins/job/NG-SA-stage_2-merge/job/v13.0/306/display/redirect?page=tests
BUILD_DISPLAY_NAME=#306
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=306
XDG_RUNTIME_DIR=/run/user/1001
BUILD_TAG=jenkins-NG-SA-stage_2-merge-v13.0-306
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=306
SHELL=/bin/bash
RUN_DISPLAY_URL=https://osm.etsi.org/jenkins/job/NG-SA-stage_2-merge/job/v13.0/306/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 13726 172.21.249.3 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
From https://osm.etsi.org/gerrit/osm/NG-SA
 * [new tag]         v13.0.2    -> v13.0.2
 * [new tag]         v14.0.1    -> v14.0.1
[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.1.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.6MB

Step 1/6 : FROM ubuntu:20.04
 ---> f78909c2b360
Step 2/6 : ARG APT_PROXY
 ---> Using cache
 ---> 068e56030725
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
 ---> f8984c542165
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
 ---> 125fc23565b3
Step 5/6 : RUN python3 -m easy_install pip==22.3
 ---> Using cache
 ---> e33b6d366e47
Step 6/6 : RUN pip install tox==3.24.5
 ---> Using cache
 ---> 1b00286fd703
Successfully built 1b00286fd703
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-3 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 9.352 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='1322941869'
flake8 run-test: commands[0] | flake8 src/

✔ OK black in 10.779 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='2715664204'
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)
[NG-SA-stage_2-merge_v13.0] Running shell script
[Pipeline] sh
+ 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/306/dists/unstable/NG-SA/binary-amd64/Packages.gz
[consumer_1] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-NG-SA/v13.0/306/dists/unstable/NG-SA/binary-amd64/Packages
[consumer_2] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-NG-SA/v13.0/306/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/306/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/306
[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 747b6aa3fdc7ef2a6205b83ebaecf78e9373f8b1b8ace04eb4c8f018cfd71b59
$ docker rm -f 747b6aa3fdc7ef2a6205b83ebaecf78e9373f8b1b8ace04eb4c8f018cfd71b59
[Pipeline] // withDockerContainer
[Pipeline] stage
[Pipeline] { (Snap build)
[Pipeline] fileExists
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS