SuccessConsole Output

Started by upstream project "osmclient-stage_1" build number 1441
originally caused by:
 Triggered by Gerrit: https://osm.etsi.org/gerrit/14188
 > git rev-parse --is-inside-work-tree # timeout=10
Setting origin to https://osm.etsi.org/gerrit/osm/osmclient.git
 > git config remote.origin.url https://osm.etsi.org/gerrit/osm/osmclient.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/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/ng-ro-refactor
Seen branch in repository origin/paas
Seen branch in repository origin/rift300
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/v2.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 25 remote branches
Obtained Jenkinsfile from f0af36de5ad47ca1cc916aa81f9476b65a2c422d
Running in Durability level: MAX_SURVIVABILITY
[Pipeline] properties
[Pipeline] node
Still waiting to schedule task
Waiting for next available executor on ‘stage_2’
Running on osm-cicd-2 in /home/jenkins/workspace/osmclient-stage_2_v14.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/osmclient.git # timeout=10
Fetching without tags
Fetching upstream changes from https://osm.etsi.org/gerrit/osm/osmclient.git
 > git --version # timeout=10
 > git fetch --no-tags --force --progress https://osm.etsi.org/gerrit/osm/osmclient.git +refs/heads/*:refs/remotes/origin/*
Checking out Revision f0af36de5ad47ca1cc916aa81f9476b65a2c422d (v14.0)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f f0af36de5ad47ca1cc916aa81f9476b65a2c422d
Commit message: "Update pip requirements to pass stage2 and stage3 in all modules"
 > git rev-list --no-walk f0af36de5ad47ca1cc916aa81f9476b65a2c422d # timeout=10
[Pipeline] dir
Running in /home/jenkins/workspace/osmclient-stage_2_v14.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/v14.0^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/v14.0^{commit} # timeout=10
Checking out Revision 253d6dfcb6a96fd8e1e76e56c3c64c82b8014a82 (refs/remotes/origin/v14.0)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 253d6dfcb6a96fd8e1e76e56c3c64c82b8014a82
 > git branch -a -v --no-abbrev # timeout=10
 > git checkout -b v14.0 253d6dfcb6a96fd8e1e76e56c3c64c82b8014a82
Commit message: "Fixes Bug 2321"
 > git rev-list --no-walk 92428126aaff19ebe9b896e1a065018339a03004 # 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
[osmclient-stage_2_v14.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/osmclient-stage_2/job/v14.0/13/display/redirect?page=changes
GERRIT_PROJECT=osm/osmclient
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/osmclient-stage_2/job/v14.0/13/
HUDSON_COOKIE=5e8acc6d-208e-40f2-b795-8959bb2fff6e
JENKINS_SERVER_COOKIE=durable-60628477c1a9cfc13e6597ced6b7feef
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus
GERRIT_PATCHSET_REVISION=92048832dded6b9a86936b89019c42b6451422f5
WORKSPACE=/home/jenkins/workspace/osmclient-stage_2_v14.0
LOGNAME=jenkins
NODE_NAME=osm-cicd-2
GERRIT_BRANCH=v14.0
_=/usr/bin/java
RUN_ARTIFACTS_DISPLAY_URL=https://osm.etsi.org/jenkins/job/osmclient-stage_2/job/v14.0/13/display/redirect?page=artifacts
XDG_SESSION_CLASS=user
EXECUTOR_NUMBER=0
XDG_SESSION_ID=144
RUN_TESTS_DISPLAY_URL=https://osm.etsi.org/jenkins/job/osmclient-stage_2/job/v14.0/13/display/redirect?page=tests
BUILD_DISPLAY_NAME=#13
PROJECT_URL_PREFIX=https://osm.etsi.org/gerrit
HUDSON_HOME=/var/lib/jenkins
JOB_BASE_NAME=v14.0
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
BUILD_ID=13
XDG_RUNTIME_DIR=/run/user/1001
BUILD_TAG=jenkins-osmclient-stage_2-v14.0-13
JENKINS_URL=https://osm.etsi.org/jenkins/
LANG=C.UTF-8
JOB_URL=https://osm.etsi.org/jenkins/job/osmclient-stage_2/job/v14.0/
BUILD_NUMBER=13
SHELL=/bin/bash
RUN_DISPLAY_URL=https://osm.etsi.org/jenkins/job/osmclient-stage_2/job/v14.0/13/display/redirect
ARTIFACTORY_SERVER=artifactory-osm
GERRIT_REFSPEC=refs/changes/88/14188/1
HUDSON_SERVER_COOKIE=6d3295a483c3e6d5
JOB_DISPLAY_URL=https://osm.etsi.org/jenkins/job/osmclient-stage_2/job/v14.0/display/redirect
JOB_NAME=osmclient-stage_2/v14.0
TEST_INSTALL=true
PWD=/home/jenkins/workspace/osmclient-stage_2_v14.0
SSH_CONNECTION=212.234.161.1 51943 172.21.249.2 22
BRANCH_NAME=v14.0
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Checkout)
[Pipeline] sh
[osmclient-stage_2_v14.0] Running shell script
+ git fetch --tags
From https://osm.etsi.org/gerrit/osm/osmclient
 * [new tag]         BUILD_v4.0.1_1              -> BUILD_v4.0.1_1
 * [new tag]         BUILD_v4.0.1_2              -> BUILD_v4.0.1_2
 * [new tag]         branch-bug1511-start        -> branch-bug1511-start
 * [new tag]         branch-ng-ro-refactor-start -> branch-ng-ro-refactor-start
 * [new tag]         branch-sol006v331-start     -> branch-sol006v331-start
 * [new tag]         release-v10.0-start         -> release-v10.0-start
 * [new tag]         release-v11.0-start         -> release-v11.0-start
 * [new tag]         release-v12.0-start         -> release-v12.0-start
 * [new tag]         release-v13.0-start         -> release-v13.0-start
 * [new tag]         release-v14.0-start         -> release-v14.0-start
 * [new tag]         release-v15.0-start         -> release-v15.0-start
 * [new tag]         release-v8.0-start          -> release-v8.0-start
 * [new tag]         release-v9.0-start          -> release-v9.0-start
 * [new tag]         v10.0.0                     -> v10.0.0
 * [new tag]         v10.0.1                     -> v10.0.1
 * [new tag]         v10.0.2                     -> v10.0.2
 * [new tag]         v10.0.3                     -> v10.0.3
 * [new tag]         v10.1.0                     -> v10.1.0
 * [new tag]         v10.1.0-rc1                 -> v10.1.0-rc1
 * [new tag]         v10.1.0rc2                  -> v10.1.0rc2
 * [new tag]         v10.1.0rc3                  -> v10.1.0rc3
 * [new tag]         v10.1.1                     -> v10.1.1
 * [new tag]         v10.1.1-rc1                 -> v10.1.1-rc1
 * [new tag]         v10.1.1rc2                  -> v10.1.1rc2
 * [new tag]         v10.1.2                     -> v10.1.2
 * [new tag]         v10.1.3                     -> v10.1.3
 * [new tag]         v10.1.4                     -> v10.1.4
 * [new tag]         v10.1.5                     -> v10.1.5
 * [new tag]         v11.0.0                     -> v11.0.0
 * [new tag]         v11.0.0rc1                  -> v11.0.0rc1
 * [new tag]         v11.0.0rc2                  -> v11.0.0rc2
 * [new tag]         v11.0.1                     -> v11.0.1
 * [new tag]         v11.0.2                     -> v11.0.2
 * [new tag]         v11.0.3                     -> v11.0.3
 * [new tag]         v11.0.4                     -> v11.0.4
 * [new tag]         v12.0.0                     -> v12.0.0
 * [new tag]         v12.0.0rc1                  -> v12.0.0rc1
 * [new tag]         v12.0.1                     -> v12.0.1
 * [new tag]         v12.0.2                     -> v12.0.2
 * [new tag]         v12.0.3                     -> v12.0.3
 * [new tag]         v12.0.4                     -> v12.0.4
 * [new tag]         v12.0.5                     -> v12.0.5
 * [new tag]         v12.0.6                     -> v12.0.6
 * [new tag]         v12.0.7                     -> v12.0.7
 * [new tag]         v13.0.0                     -> v13.0.0
 * [new tag]         v13.0.0rc1                  -> v13.0.0rc1
 * [new tag]         v13.0.0rc2                  -> v13.0.0rc2
 * [new tag]         v13.0.1                     -> v13.0.1
 * [new tag]         v13.0.2                     -> v13.0.2
 * [new tag]         v14.0.0                     -> v14.0.0
 * [new tag]         v14.0.0rc1                  -> v14.0.0rc1
 * [new tag]         v14.0.1                     -> v14.0.1
 * [new tag]         v15.0.0                     -> v15.0.0
 * [new tag]         v2.0.0                      -> v2.0.0
 * [new tag]         v2.0.1                      -> v2.0.1
 * [new tag]         v2.0.2                      -> v2.0.2
 * [new tag]         v3.0.0                      -> v3.0.0
 * [new tag]         v3.0.0rc                    -> v3.0.0rc
 * [new tag]         v3.0.0rc14                  -> v3.0.0rc14
 * [new tag]         v3.0.0rc15                  -> v3.0.0rc15
 * [new tag]         v3.0.0rc16                  -> v3.0.0rc16
 * [new tag]         v3.0.0rc17                  -> v3.0.0rc17
 * [new tag]         v3.0.0rc2                   -> v3.0.0rc2
 * [new tag]         v3.0.1                      -> v3.0.1
 * [new tag]         v3.0.2                      -> v3.0.2
 * [new tag]         v3.0.3                      -> v3.0.3
 * [new tag]         v3.1.0                      -> v3.1.0
 * [new tag]         v4.0.0                      -> v4.0.0
 * [new tag]         v4.0.1                      -> v4.0.1
 * [new tag]         v5.0.0                      -> v5.0.0
 * [new tag]         v5.0.1                      -> v5.0.1
 * [new tag]         v5.0.2                      -> v5.0.2
 * [new tag]         v5.0.3                      -> v5.0.3
 * [new tag]         v5.0.4                      -> v5.0.4
 * [new tag]         v5.0.5                      -> v5.0.5
 * [new tag]         v6.0.0                      -> v6.0.0
 * [new tag]         v6.0.1                      -> v6.0.1
 * [new tag]         v6.0.2                      -> v6.0.2
 * [new tag]         v6.0.2rc1                   -> v6.0.2rc1
 * [new tag]         v6.0.3                      -> v6.0.3
 * [new tag]         v6.0.4                      -> v6.0.4
 * [new tag]         v6.0.4rc1                   -> v6.0.4rc1
 * [new tag]         v7.0.0                      -> v7.0.0
 * [new tag]         v7.0.0rc1                   -> v7.0.0rc1
 * [new tag]         v7.0.1                      -> v7.0.1
 * [new tag]         v7.0.1rc1                   -> v7.0.1rc1
 * [new tag]         v7.0.1rc2                   -> v7.0.1rc2
 * [new tag]         v7.0.1rc3                   -> v7.0.1rc3
 * [new tag]         v7.1.0                      -> v7.1.0
 * [new tag]         v7.1.0rc1                   -> v7.1.0rc1
 * [new tag]         v7.1.0rc2                   -> v7.1.0rc2
 * [new tag]         v7.1.0rc3                   -> v7.1.0rc3
 * [new tag]         v7.1.0rc4                   -> v7.1.0rc4
 * [new tag]         v7.1.0rc5                   -> v7.1.0rc5
 * [new tag]         v7.1.0rc6                   -> v7.1.0rc6
 * [new tag]         v7.1.2                      -> v7.1.2
 * [new tag]         v7.1.3                      -> v7.1.3
 * [new tag]         v7.1.4                      -> v7.1.4
 * [new tag]         v7.1.5                      -> v7.1.5
 * [new tag]         v8.0.0                      -> v8.0.0
 * [new tag]         v8.0.0rc1                   -> v8.0.0rc1
 * [new tag]         v8.0.0rc2                   -> v8.0.0rc2
 * [new tag]         v8.0.0rc3                   -> v8.0.0rc3
 * [new tag]         v8.0.1                      -> v8.0.1
 * [new tag]         v8.0.1rc1                   -> v8.0.1rc1
 * [new tag]         v8.0.2                      -> v8.0.2
 * [new tag]         v8.0.3                      -> v8.0.3
 * [new tag]         v8.0.4                      -> v8.0.4
 * [new tag]         v9.0.0                      -> v9.0.0
 * [new tag]         v9.0.0-dev                  -> v9.0.0-dev
 * [new tag]         v9.0.0rc1                   -> v9.0.0rc1
 * [new tag]         v9.1.0                      -> v9.1.0
 * [new tag]         v9.1.1                      -> v9.1.1
 * [new tag]         v9.1.1rc1                   -> v9.1.1rc1
 * [new tag]         v9.1.2                      -> v9.1.2
 * [new tag]         v9.1.3                      -> v9.1.3
 * [new tag]         v9.1.4                      -> v9.1.4
 * [new tag]         v9.1.5                      -> v9.1.5
[Pipeline] sh
[osmclient-stage_2_v14.0] Running shell script
+ git fetch origin refs/changes/88/14188/1
From https://osm.etsi.org/gerrit/osm/osmclient
 * branch            refs/changes/88/14188/1 -> FETCH_HEAD
[Pipeline] sh
[osmclient-stage_2_v14.0] Running shell script
+ git checkout -f 92048832dded6b9a86936b89019c42b6451422f5
Previous HEAD position was f0af36d Update pip requirements to pass stage2 and stage3 in all modules
HEAD is now at 9204883 Pin black version in tox.ini to 23.12.1
[Pipeline] sh
[osmclient-stage_2_v14.0] Running shell script
+ sudo git clean -dfx
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (License Scan)
[Pipeline] sh
[osmclient-stage_2_v14.0] Running shell script
+ devops/tools/license_scan.sh
tox.ini is text
tox.ini 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
[osmclient-stage_2_v14.0] Running shell script
+ docker build --build-arg APT_PROXY=http://172.21.1.1:3142 -t osm/osmclient-v14.0 .
Sending build context to Docker daemon  158.4MB

Step 1/7 : FROM ubuntu:22.04
 ---> e34e831650c1
Step 2/7 : ARG APT_PROXY
 ---> Using cache
 ---> 47694220c1b6
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
 ---> 612d35f4ba2b
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
 ---> 40b4fc101367
Step 5/7 : RUN DEBIAN_FRONTEND=noninteractive apt-get -y install     wget
 ---> Using cache
 ---> 9ba04ee35f09
Step 6/7 : ENV LC_ALL C.UTF-8
 ---> Using cache
 ---> 3270da432922
Step 7/7 : ENV LANG C.UTF-8
 ---> Using cache
 ---> 090686aad9cd
Successfully built 090686aad9cd
Successfully tagged osm/osmclient-v14.0:latest
[Pipeline] }
[Pipeline] // stage
[Pipeline] sh
[osmclient-stage_2_v14.0] Running shell script
+ id -u
[Pipeline] sh
[osmclient-stage_2_v14.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/osmclient-stage_2_v14.0 -v /home/jenkins/workspace/osmclient-stage_2_v14.0:/home/jenkins/workspace/osmclient-stage_2_v14.0:rw,z -v /home/jenkins/workspace/osmclient-stage_2_v14.0@tmp:/home/jenkins/workspace/osmclient-stage_2_v14.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/osmclient-v14.0
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Test)
[Pipeline] sh
[osmclient-stage_2_v14.0] Running shell script
+ groupadd -o -g 1001 -r jenkins
[Pipeline] sh
[osmclient-stage_2_v14.0] Running shell script
+ pwd
+ useradd -o -u 1001 -d /home/jenkins/workspace/osmclient-stage_2_v14.0 -r -g jenkins jenkins
[Pipeline] sh
[osmclient-stage_2_v14.0] Running shell script
+ echo #! /bin/sh
[Pipeline] sh
[osmclient-stage_2_v14.0] Running shell script
+ chmod 755 /usr/bin/mesg
[Pipeline] sh
[osmclient-stage_2_v14.0] Running shell script
+ runuser jenkins -c devops-stages/stage-test.sh
Launching tox
✔ OK black in 7.98 seconds
black create: /tmp/.tox/black
black installdeps: black==23.12.1
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='1158527065'
black run-test: commands[0] | black --check --diff osmclient/
All done! ✨ 🍰 ✨
66 files would be left unchanged.

✔ OK flake8 in 10.947 seconds
flake8 create: /tmp/.tox/flake8
flake8 installdeps: flake8
flake8 develop-inst: /home/jenkins/workspace/osmclient-stage_2_v14.0
flake8 installed: flake8==7.0.0,mccabe==0.7.0,-e git+https://osm.etsi.org/gerrit/osm/osmclient.git@92048832dded6b9a86936b89019c42b6451422f5#egg=osmclient,pycodestyle==2.11.1,pyflakes==3.2.0
flake8 run-test-pre: PYTHONHASHSEED='715127645'
flake8 run-test: commands[0] | flake8 osmclient/ setup.py

✔ OK safety in 22.204 seconds
safety create: /tmp/.tox/safety
safety installdeps: -r/home/jenkins/workspace/osmclient-stage_2_v14.0/requirements.txt, safety
safety develop-inst: /home/jenkins/workspace/osmclient-stage_2_v14.0
safety installed: certifi==2023.7.22,charset-normalizer==3.3.0,click==8.1.7,dparse==0.6.3,idna==3.4,Jinja2==3.1.2,jsonpath-ng==1.6.0,MarkupSafe==2.1.3,-e git+https://osm.etsi.org/gerrit/osm/osmclient.git@92048832dded6b9a86936b89019c42b6451422f5#egg=osmclient,packaging==23.2,ply==3.11,prettytable==3.9.0,python-magic==0.4.27,PyYAML==6.0.1,requests==2.31.0,ruamel.yaml==0.18.5,ruamel.yaml.clib==0.2.8,safety==2.3.4,tomli==2.0.1,urllib3==2.0.5,verboselogs==1.7,wcwidth==0.2.8
safety run-test-pre: PYTHONHASHSEED='3606491468'
safety run-test: commands[0] | - safety check --full-report
+==============================================================================+

                               /$$$$$$            /$$
                              /$$__  $$          | $$
           /$$$$$$$  /$$$$$$ | $$  \__//$$$$$$  /$$$$$$   /$$   /$$
          /$$_____/ |____  $$| $$$$   /$$__  $$|_  $$_/  | $$  | $$
         |  $$$$$$   /$$$$$$$| $$_/  | $$$$$$$$  | $$    | $$  | $$
          \____  $$ /$$__  $$| $$    | $$_____/  | $$ /$$| $$  | $$
          /$$$$$$$/|  $$$$$$$| $$    |  $$$$$$$  |  $$$$/|  $$$$$$$
         |_______/  \_______/|__/     \_______/   \___/   \____  $$
                                                          /$$  | $$
                                                         |  $$$$$$/
  by pyup.io                                              \______/

+==============================================================================+

 REPORT 

  Safety is using PyUp's free open-source vulnerability database. This
data is 30 days old and limited. 
  For real-time enhanced vulnerability data, fix recommendations, severity
reporting, cybersecurity support, team and project policy management and more
sign up at https://pyup.io or email sales@pyup.io

  Safety v2.3.4 is scanning for Vulnerabilities...
  Scanning dependencies in your environment:

  -> /tmp/.tox/safety/lib/python3.10/site-packages
  -> /home/jenkins/workspace/osmclient-stage_2_v14.0

  Using non-commercial database
  Found and scanned 25 packages
  Timestamp 2024-01-30 09:53:14
  4 vulnerabilities found
  0 vulnerabilities ignored

+==============================================================================+
 VULNERABILITIES FOUND 
+==============================================================================+

-> Vulnerability found in setuptools version 59.6.0
   Vulnerability ID: 52495
   Affected spec: <65.5.1
   ADVISORY: Setuptools 65.5.1 includes a fix for CVE-2022-40897: Python
   Packaging Authority (PyPA) setuptools before 65.5.1 allows remote attackers
   to cause a denial of service via HTML in a crafted package or custom
   PackageIndex page. There is a Regular Expression Denial of Service (ReDoS) in
   package_index.py.https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-
   in-top-python-packages
   CVE-2022-40897
   For more information, please visit
   https://data.safetycli.com/v/52495/f17


-> Vulnerability found in pip version 22.0.2
   Vulnerability ID: 62044
   Affected spec: <23.3
   ADVISORY: Pip 23.3 includes a fix for CVE-2023-5752: When installing
   a package from a Mercurial VCS URL (ie "pip install hg+...") with pip prior
   to v23.3, the specified Mercurial revision could be used to inject arbitrary
   configuration options to the "hg clone" call (ie "--config"). Controlling the
   Mercurial configuration can modify how and which repository is installed.
   This vulnerability does not affect users who aren't installing from
   Mercurial.https://github.com/pypa/pip/pull/12306
   CVE-2023-5752
   For more information, please visit
   https://data.safetycli.com/v/62044/f17


-> Vulnerability found in urllib3 version 2.0.5
   Vulnerability ID: 61893
   Affected spec: >=2.0.0a1,<2.0.7
   ADVISORY: Urllib3 1.26.18 and 2.0.7 include a fix for CVE-2023-45803:
   Request body not stripped after redirect from 303 status changes request
   method to GET.https://github.com/urllib3/urllib3/security/advisories/GHSA-
   g4mx-q9vg-27p4
   CVE-2023-45803
   For more information, please visit
   https://data.safetycli.com/v/61893/f17


-> Vulnerability found in wheel version 0.37.1
   Vulnerability ID: 51499
   Affected spec: <0.38.1
   ADVISORY: Wheel 0.38.1 includes a fix for CVE-2022-40898: An issue
   discovered in Python Packaging Authority (PyPA) Wheel 0.37.1 and earlier
   allows remote attackers to cause a denial of service via attacker controlled
   input to wheel cli.https://pyup.io/posts/pyup-discovers-redos-
   vulnerabilities-in-top-python-packages
   CVE-2022-40898
   For more information, please visit
   https://data.safetycli.com/v/51499/f17

 Scan was completed. 4 vulnerabilities were found. 

+==============================================================================+
   REMEDIATIONS

  4 vulnerabilities were found in 4 packages. For detailed remediation & fix 
  recommendations, upgrade to a commercial license. 

+==============================================================================+

  Safety is using PyUp's free open-source vulnerability database. This
data is 30 days old and limited. 
  For real-time enhanced vulnerability data, fix recommendations, severity
reporting, cybersecurity support, team and project policy management and more
sign up at https://pyup.io or email sales@pyup.io

+==============================================================================+

✔ OK cover in 1 minute, 5.544 seconds
cover create: /tmp/.tox/cover
cover installdeps: -r/home/jenkins/workspace/osmclient-stage_2_v14.0/requirements.txt, -r/home/jenkins/workspace/osmclient-stage_2_v14.0/requirements-dev.txt, -r/home/jenkins/workspace/osmclient-stage_2_v14.0/requirements-test.txt
cover develop-inst: /home/jenkins/workspace/osmclient-stage_2_v14.0
cover installed: certifi==2023.7.22,charset-normalizer==3.3.0,click==8.1.7,coverage==7.3.1,enum34==1.1.10,idna==3.4,Jinja2==3.1.2,jsonpath-ng==1.6.0,lxml==5.1.0,MarkupSafe==2.1.3,mock==5.1.0,nose2==0.13.0,osm-im @ git+https://osm.etsi.org/gerrit/osm/IM.git@88bac732521859614e3acfdcc52e328c0ca7168b,-e git+https://osm.etsi.org/gerrit/osm/osmclient.git@92048832dded6b9a86936b89019c42b6451422f5#egg=osmclient,packaging==23.2,ply==3.11,prettytable==3.9.0,pyang==2.5.3,pyangbind==0.8.3.post1,python-magic==0.4.27,PyYAML==6.0.1,regex==2023.12.25,requests==2.31.0,six==1.16.0,urllib3==2.0.5,verboselogs==1.7,wcwidth==0.2.8
cover run-test-pre: PYTHONHASHSEED='2307032982'
cover run-test: commands[0] | sh -c 'rm -f nosetests.xml'
cover run-test: commands[1] | coverage erase
cover run-test: commands[2] | nose2 -C --coverage osmclient
....................................
----------------------------------------------------------------------
Ran 36 tests in 10.480s

OK
Name                                          Stmts   Miss  Cover
-----------------------------------------------------------------
osmclient/__init__.py                             0      0   100%
osmclient/cli_commands/__init__.py                0      0   100%
osmclient/cli_commands/alarms.py                 87     53    39%
osmclient/cli_commands/k8scluster.py            128     76    41%
osmclient/cli_commands/metrics.py                31     18    42%
osmclient/cli_commands/netslice_instance.py     119     56    53%
osmclient/cli_commands/netslice_ops.py           51     25    51%
osmclient/cli_commands/netslice_template.py     113     51    55%
osmclient/cli_commands/nfpkg.py                 209     93    56%
osmclient/cli_commands/ns.py                    185    143    23%
osmclient/cli_commands/nslcm.py                 194    138    29%
osmclient/cli_commands/nslcm_ops.py              68     49    28%
osmclient/cli_commands/nspkg.py                 137     64    53%
osmclient/cli_commands/other.py                  11      3    73%
osmclient/cli_commands/packages.py               89     39    56%
osmclient/cli_commands/pdus.py                  117     74    37%
osmclient/cli_commands/rbac.py                  221    131    41%
osmclient/cli_commands/repo.py                  205    103    50%
osmclient/cli_commands/sdnc.py                  104     53    49%
osmclient/cli_commands/subscriptions.py          59     29    51%
osmclient/cli_commands/utils.py                  52     38    27%
osmclient/cli_commands/vca.py                   154     16    90%
osmclient/cli_commands/vim.py                   183     67    63%
osmclient/cli_commands/vnf.py                   114     80    30%
osmclient/cli_commands/wim.py                   101     56    45%
osmclient/client.py                              27     21    22%
osmclient/common/__init__.py                      0      0   100%
osmclient/common/exceptions.py                    6      0   100%
osmclient/common/http.py                         71     58    18%
osmclient/common/package_handling.py             28     20    29%
osmclient/common/package_tool.py                441    396    10%
osmclient/common/print_output.py                 47     36    23%
osmclient/common/sol004_package.py               36     17    53%
osmclient/common/sol007_package.py               32     15    53%
osmclient/common/sol_package.py                 158    120    24%
osmclient/common/test/test_utils.py              36      0   100%
osmclient/common/utils.py                        80     54    32%
osmclient/common/wait.py                         84     64    24%
osmclient/scripts/__init__.py                     0      0   100%
osmclient/scripts/osm.py                        183    162    11%
osmclient/scripts/tests/tests_vca.py            100      0   100%
osmclient/scripts/tests/tests_vim.py             62      0   100%
osmclient/sol005/__init__.py                      0      0   100%
osmclient/sol005/client.py                      101     71    30%
osmclient/sol005/http.py                        160    137    14%
osmclient/sol005/k8scluster.py                  118    101    14%
osmclient/sol005/ns.py                          366    338     8%
osmclient/sol005/nsd.py                         124    103    17%
osmclient/sol005/nsi.py                         208    189     9%
osmclient/sol005/nst.py                         127    107    16%
osmclient/sol005/osmrepo.py                     309    260    16%
osmclient/sol005/package.py                      63     50    21%
osmclient/sol005/pdud.py                         93     78    16%
osmclient/sol005/project.py                      74     61    18%
osmclient/sol005/repo.py                         69     56    19%
osmclient/sol005/role.py                        117    103    12%
osmclient/sol005/sdncontroller.py                97     80    18%
osmclient/sol005/subscription.py                 71     58    18%
osmclient/sol005/tests/test_osmrepo.py           13      0   100%
osmclient/sol005/tests/test_vca.py              117      0   100%
osmclient/sol005/user.py                        143    131     8%
osmclient/sol005/vca.py                          73      0   100%
osmclient/sol005/vim.py                         160    141    12%
osmclient/sol005/vnf.py                          56     46    18%
osmclient/sol005/vnfd.py                        207    181    13%
osmclient/sol005/wim.py                         142    123    13%
-----------------------------------------------------------------
TOTAL                                          7131   4832    32%

cover run-test: commands[3] | coverage report '--omit=*tests*'
Name                                          Stmts   Miss  Cover
-----------------------------------------------------------------
osmclient/__init__.py                             0      0   100%
osmclient/cli_commands/__init__.py                0      0   100%
osmclient/cli_commands/alarms.py                 87     53    39%
osmclient/cli_commands/k8scluster.py            128     76    41%
osmclient/cli_commands/metrics.py                31     18    42%
osmclient/cli_commands/netslice_instance.py     119     56    53%
osmclient/cli_commands/netslice_ops.py           51     25    51%
osmclient/cli_commands/netslice_template.py     113     51    55%
osmclient/cli_commands/nfpkg.py                 209     93    56%
osmclient/cli_commands/ns.py                    185    143    23%
osmclient/cli_commands/nslcm.py                 194    138    29%
osmclient/cli_commands/nslcm_ops.py              68     49    28%
osmclient/cli_commands/nspkg.py                 137     64    53%
osmclient/cli_commands/other.py                  11      3    73%
osmclient/cli_commands/packages.py               89     39    56%
osmclient/cli_commands/pdus.py                  117     74    37%
osmclient/cli_commands/rbac.py                  221    131    41%
osmclient/cli_commands/repo.py                  205    103    50%
osmclient/cli_commands/sdnc.py                  104     53    49%
osmclient/cli_commands/subscriptions.py          59     29    51%
osmclient/cli_commands/utils.py                  52     38    27%
osmclient/cli_commands/vca.py                   154     16    90%
osmclient/cli_commands/vim.py                   183     67    63%
osmclient/cli_commands/vnf.py                   114     80    30%
osmclient/cli_commands/wim.py                   101     56    45%
osmclient/client.py                              27     21    22%
osmclient/common/__init__.py                      0      0   100%
osmclient/common/exceptions.py                    6      0   100%
osmclient/common/http.py                         71     58    18%
osmclient/common/package_handling.py             28     20    29%
osmclient/common/package_tool.py                441    396    10%
osmclient/common/print_output.py                 47     36    23%
osmclient/common/sol004_package.py               36     17    53%
osmclient/common/sol007_package.py               32     15    53%
osmclient/common/sol_package.py                 158    120    24%
osmclient/common/test/test_utils.py              36      0   100%
osmclient/common/utils.py                        80     54    32%
osmclient/common/wait.py                         84     64    24%
osmclient/scripts/__init__.py                     0      0   100%
osmclient/scripts/osm.py                        183    162    11%
osmclient/sol005/__init__.py                      0      0   100%
osmclient/sol005/client.py                      101     71    30%
osmclient/sol005/http.py                        160    137    14%
osmclient/sol005/k8scluster.py                  118    101    14%
osmclient/sol005/ns.py                          366    338     8%
osmclient/sol005/nsd.py                         124    103    17%
osmclient/sol005/nsi.py                         208    189     9%
osmclient/sol005/nst.py                         127    107    16%
osmclient/sol005/osmrepo.py                     309    260    16%
osmclient/sol005/package.py                      63     50    21%
osmclient/sol005/pdud.py                         93     78    16%
osmclient/sol005/project.py                      74     61    18%
osmclient/sol005/repo.py                         69     56    19%
osmclient/sol005/role.py                        117    103    12%
osmclient/sol005/sdncontroller.py                97     80    18%
osmclient/sol005/subscription.py                 71     58    18%
osmclient/sol005/tests/test_osmrepo.py           13      0   100%
osmclient/sol005/tests/test_vca.py              117      0   100%
osmclient/sol005/user.py                        143    131     8%
osmclient/sol005/vca.py                          73      0   100%
osmclient/sol005/vim.py                         160    141    12%
osmclient/sol005/vnf.py                          56     46    18%
osmclient/sol005/vnfd.py                        207    181    13%
osmclient/sol005/wim.py                         142    123    13%
-----------------------------------------------------------------
TOTAL                                          6969   4832    31%
cover run-test: commands[4] | coverage html -d ./cover '--omit=*tests*'
Wrote HTML report to ./cover/index.html
cover run-test: commands[5] | coverage xml -o coverage.xml '--omit=*tests*'
Wrote XML report to coverage.xml

✔ OK pylint in 1 minute, 10.296 seconds
pylint create: /tmp/.tox/pylint
pylint installdeps: -r/home/jenkins/workspace/osmclient-stage_2_v14.0/requirements.txt, -r/home/jenkins/workspace/osmclient-stage_2_v14.0/requirements-dev.txt, -r/home/jenkins/workspace/osmclient-stage_2_v14.0/requirements-test.txt, pylint
pylint develop-inst: /home/jenkins/workspace/osmclient-stage_2_v14.0
pylint installed: astroid==3.0.2,certifi==2023.7.22,charset-normalizer==3.3.0,click==8.1.7,coverage==7.3.1,dill==0.3.8,enum34==1.1.10,idna==3.4,isort==5.13.2,Jinja2==3.1.2,jsonpath-ng==1.6.0,lxml==5.1.0,MarkupSafe==2.1.3,mccabe==0.7.0,mock==5.1.0,nose2==0.13.0,osm-im @ git+https://osm.etsi.org/gerrit/osm/IM.git@88bac732521859614e3acfdcc52e328c0ca7168b,-e git+https://osm.etsi.org/gerrit/osm/osmclient.git@92048832dded6b9a86936b89019c42b6451422f5#egg=osmclient,packaging==23.2,platformdirs==4.1.0,ply==3.11,prettytable==3.9.0,pyang==2.5.3,pyangbind==0.8.3.post1,pylint==3.0.3,python-magic==0.4.27,PyYAML==6.0.1,regex==2023.12.25,requests==2.31.0,six==1.16.0,tomli==2.0.1,tomlkit==0.12.3,typing_extensions==4.9.0,urllib3==2.0.5,verboselogs==1.7,wcwidth==0.2.8
pylint run-test-pre: PYTHONHASHSEED='2104967105'
pylint run-test: commands[0] | pylint -E osmclient/

___________________________________ 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] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build)
[Pipeline] sh
[osmclient-stage_2_v14.0] Running shell script
+ runuser jenkins -c devops-stages/stage-build.sh
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Archive)
[Pipeline] sh
[osmclient-stage_2_v14.0] Running shell script
+ runuser jenkins -c mkdir -p changelog
[Pipeline] sh
[osmclient-stage_2_v14.0] Running shell script
+ runuser jenkins -c devops/tools/generatechangelog-pipeline.sh > changelog/changelog-osmclient.html
[Pipeline] sh
[osmclient-stage_2_v14.0] 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-osmclient/v14.0-staging/13/pool/osmclient/python3-osmclient_14.0.1.post1%2Bg9204883-1_all.deb
[consumer_1] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-osmclient/v14.0-staging/13/changelog/changelog-osmclient.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/osmclient-stage_2%20::%20v14.0/13
[Pipeline] sh
[osmclient-stage_2_v14.0] Running shell script
+ env
[Pipeline] step
Archiving artifacts
Recording fingerprints
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
$ docker stop --time=1 3fed7d1da4cc160d1b9c575c35f91063ba1ac9b4c21ed496f9781c77537d61a6
$ docker rm -f 3fed7d1da4cc160d1b9c575c35f91063ba1ac9b4c21ed496f9781c77537d61a6
[Pipeline] // withDockerContainer
[Pipeline] stage
[Pipeline] { (Snap build)
[Pipeline] fileExists
[Pipeline] withCredentials
[Pipeline] {
[Pipeline] sh
[osmclient-stage_2_v14.0] Running shell script
+ sudo rm -rf /home/jenkins/workspace/osmclient-stage_2_v14.0/stage/ /home/jenkins/workspace/osmclient-stage_2_v14.0/parts/ /home/jenkins/workspace/osmclient-stage_2_v14.0/prime/ /home/jenkins/workspace/osmclient-stage_2_v14.0/*.snap
[Pipeline] sh
[osmclient-stage_2_v14.0] Running shell script
+ sudo snapcraft clean --use-lxd
Starting Snapcraft 8.0.2
Logging execution to '/root/.local/state/snapcraft/log/snapcraft-20240130-095440.120927.log'
Running on amd64 for amd64
Cleaning build provider
Cleaned build provider
[Pipeline] sh
[osmclient-stage_2_v14.0] Running shell script
+ snapcraft --use-lxd
Starting Snapcraft 8.0.2
Logging execution to '/home/jenkins/.local/state/snapcraft/log/snapcraft-20240130-095443.789199.log'
Running on amd64 for amd64
Launching instance...
Creating instance from base instance
Starting instance
Starting Snapcraft 8.0.2
Logging execution to '/tmp/snapcraft.log'
Starting Snapcraft 8.0.2
Logging execution to '/tmp/snapcraft.log'
Running on amd64 for amd64
Initializing parts lifecycle
Installing build-packages
Installing build-snaps
Pulling client
Fetching stage-packages
Building client
:: ++ git describe --match 'v*' --tags --long --dirty
:: + VERSION=v14.0.1-1-g9204883
:: + snapcraftctl set-version v14.0.1-1-g9204883
:: Warning: Use 'craftctl set version=<value>' to set version
::
:: Users are encouraged to replace 'snapcraftctl' with 'craftctl' and use
:: 'CRAFT_*' environment variables in scriptlets when building snaps based
:: on core22. Please refer to the core22 migration guide for details.
:: + snapcraftctl build
:: Warning: use 'craftctl default' to execute the default step handler
:: + python3 -m venv /root/parts/client/install
:: + PARTS_PYTHON_VENV_INTERP_PATH=/root/parts/client/install/bin/python3
:: + /root/parts/client/install/bin/pip install -U pyangbind
:: Collecting pyangbind
::   Downloading pyangbind-0.8.4.post1-py3-none-any.whl (52 kB)
::      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 52.8/52.8 KB 664.6 kB/s eta 0:00:00
:: Collecting pyang
::   Downloading pyang-2.6.0-py2.py3-none-any.whl (594 kB)
::      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 594.1/594.1 KB 6.3 MB/s eta 0:00:00
:: Collecting lxml
::   Downloading lxml-5.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.0 MB)
::      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.0/8.0 MB 32.8 MB/s eta 0:00:00
:: Collecting six
::   Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
:: Collecting regex
::   Downloading regex-2023.12.25-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (773 kB)
::      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 774.0/774.0 KB 32.2 MB/s eta 0:00:00
:: Collecting enum34
::   Downloading enum34-1.1.10-py3-none-any.whl (11 kB)
:: Installing collected packages: enum34, six, regex, lxml, pyang, pyangbind
:: Successfully installed enum34-1.1.10 lxml-5.1.0 pyang-2.6.0 pyangbind-0.8.4.post1 regex-2023.12.25 six-1.16.0
:: + /root/parts/client/install/bin/pip install -U -r requirements.txt -r requirements-dev.txt
:: Collecting osm-im@ git+https://osm.etsi.org/gerrit/osm/IM.git@v14.0
::   Cloning https://osm.etsi.org/gerrit/osm/IM.git (to revision v14.0) to /tmp/pip-install-h3kx23y8/osm-im_6599be059c1e4cdbb6a90bcf220eaa32
::   Running command git clone --filter=blob:none --quiet https://osm.etsi.org/gerrit/osm/IM.git /tmp/pip-install-h3kx23y8/osm-im_6599be059c1e4cdbb6a90bcf220eaa32
::   warning: filtering not recognized by server, ignoring
::   Running command git checkout -b v14.0 --track origin/v14.0
::   Switched to a new branch 'v14.0'
::   Branch 'v14.0' set up to track remote branch 'v14.0' from 'origin'.
::   Resolved https://osm.etsi.org/gerrit/osm/IM.git to commit 88bac732521859614e3acfdcc52e328c0ca7168b
::   Preparing metadata (setup.py): started
::   Preparing metadata (setup.py): finished with status 'done'
:: Collecting certifi==2023.7.22
::   Downloading certifi-2023.7.22-py3-none-any.whl (158 kB)
::      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 158.3/158.3 KB 1.5 MB/s eta 0:00:00
:: Collecting charset-normalizer==3.3.0
::   Downloading charset_normalizer-3.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (138 kB)
::      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 138.7/138.7 KB 6.5 MB/s eta 0:00:00
:: Collecting click==8.1.7
::   Downloading click-8.1.7-py3-none-any.whl (97 kB)
::      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.9/97.9 KB 8.3 MB/s eta 0:00:00
:: Collecting idna==3.4
::   Downloading idna-3.4-py3-none-any.whl (61 kB)
::      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 KB 5.3 MB/s eta 0:00:00
:: Collecting jinja2==3.1.2
::   Downloading Jinja2-3.1.2-py3-none-any.whl (133 kB)
::      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.1/133.1 KB 9.3 MB/s eta 0:00:00
:: Collecting jsonpath-ng==1.6.0
::   Downloading jsonpath_ng-1.6.0-py3-none-any.whl (29 kB)
:: Collecting markupsafe==2.1.3
::   Downloading MarkupSafe-2.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB)
:: Collecting packaging==23.2
::   Downloading packaging-23.2-py3-none-any.whl (53 kB)
::      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 53.0/53.0 KB 4.8 MB/s eta 0:00:00
:: Collecting ply==3.11
::   Downloading ply-3.11-py2.py3-none-any.whl (49 kB)
::      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 49.6/49.6 KB 3.3 MB/s eta 0:00:00
:: Collecting prettytable==3.9.0
::   Downloading prettytable-3.9.0-py3-none-any.whl (27 kB)
:: Collecting python-magic==0.4.27
::   Downloading python_magic-0.4.27-py2.py3-none-any.whl (13 kB)
:: Collecting pyyaml==6.0.1
::   Downloading PyYAML-6.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (705 kB)
::      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 705.5/705.5 KB 5.5 MB/s eta 0:00:00
:: Collecting requests==2.31.0
::   Downloading requests-2.31.0-py3-none-any.whl (62 kB)
::      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.6/62.6 KB 2.6 MB/s eta 0:00:00
:: Collecting urllib3==2.0.5
::   Downloading urllib3-2.0.5-py3-none-any.whl (123 kB)
::      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 123.8/123.8 KB 8.9 MB/s eta 0:00:00
:: Collecting verboselogs==1.7
::   Downloading verboselogs-1.7-py2.py3-none-any.whl (11 kB)
:: Collecting wcwidth==0.2.8
::   Downloading wcwidth-0.2.8-py2.py3-none-any.whl (31 kB)
:: Requirement already satisfied: enum34==1.1.10 in /root/parts/client/install/lib/python3.10/site-packages (from -r requirements-dev.txt (line 17)) (1.1.10)
:: Collecting lxml==4.9.3
::   Downloading lxml-4.9.3-cp310-cp310-manylinux_2_28_x86_64.whl (7.9 MB)
::      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.9/7.9 MB 26.5 MB/s eta 0:00:00
:: Collecting pyang==2.5.3
::   Downloading pyang-2.5.3-py2.py3-none-any.whl (592 kB)
::      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 592.9/592.9 KB 16.3 MB/s eta 0:00:00
:: Collecting pyangbind==0.8.3.post1
::   Downloading pyangbind-0.8.3.post1-py3-none-any.whl (51 kB)
::      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 51.8/51.8 KB 4.7 MB/s eta 0:00:00
:: Collecting regex==2023.8.8
::   Downloading regex-2023.8.8-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (771 kB)
::      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 771.9/771.9 KB 2.1 MB/s eta 0:00:00
:: Requirement already satisfied: six==1.16.0 in /root/parts/client/install/lib/python3.10/site-packages (from -r requirements-dev.txt (line 40)) (1.16.0)
:: Using legacy 'setup.py install' for osm-im, since package 'wheel' is not installed.
:: Installing collected packages: wcwidth, verboselogs, ply, osm-im, urllib3, regex, pyyaml, python-magic, prettytable, packaging, markupsafe, lxml, jsonpath-ng, idna, click, charset-normalizer, certifi, requests, pyang, jinja2, pyangbind
::   Running setup.py install for osm-im: started
::   Running setup.py install for osm-im: finished with status 'done'
::   Attempting uninstall: regex
::     Found existing installation: regex 2023.12.25
::     Uninstalling regex-2023.12.25:
::       Successfully uninstalled regex-2023.12.25
::   Attempting uninstall: lxml
::     Found existing installation: lxml 5.1.0
::     Uninstalling lxml-5.1.0:
::       Successfully uninstalled lxml-5.1.0
::   Attempting uninstall: pyang
::     WARNING: No metadata found in /root/parts/client/install/lib/python3.10/site-packages
::     Found existing installation: pyang 2.6.0
::     WARNING: No metadata found in /root/parts/client/install/lib/python3.10/site-packages
::     WARNING: No metadata found in /root/parts/client/install/lib/python3.10/site-packages
::     WARNING: No metadata found in /root/parts/client/install/lib/python3.10/site-packages
::     WARNING: No metadata found in /root/parts/client/install/lib/python3.10/site-packages
::     WARNING: No metadata found in /root/parts/client/install/lib/python3.10/site-packages
::     WARNING: No metadata found in /root/parts/client/install/lib/python3.10/site-packages
::     Can't uninstall 'pyang'. No files were found to uninstall.
::   Attempting uninstall: pyangbind
::     WARNING: No metadata found in /root/parts/client/install/lib/python3.10/site-packages
::     Found existing installation: pyangbind 0.8.4.post1
::     WARNING: No metadata found in /root/parts/client/install/lib/python3.10/site-packages
::     WARNING: No metadata found in /root/parts/client/install/lib/python3.10/site-packages
::     WARNING: No metadata found in /root/parts/client/install/lib/python3.10/site-packages
::     WARNING: No metadata found in /root/parts/client/install/lib/python3.10/site-packages
::     WARNING: No metadata found in /root/parts/client/install/lib/python3.10/site-packages
::     WARNING: No metadata found in /root/parts/client/install/lib/python3.10/site-packages
::     Can't uninstall 'pyangbind'. No files were found to uninstall.
:: Successfully installed certifi-2023.7.22 charset-normalizer-3.3.0 click-8.1.7 idna-3.4 jinja2-3.1.2 jsonpath-ng-1.6.0 lxml-4.9.3 markupsafe-2.1.3 osm-im-14.0.1+g88bac73 packaging-23.2 ply-3.11 prettytable-3.9.0 pyang-2.5.3 pyangbind-0.8.3.post1 python-magic-0.4.27 pyyaml-6.0.1 regex-2023.8.8 requests-2.31.0 urllib3-2.0.5 verboselogs-1.7 wcwidth-0.2.8
:: + '[' -f setup.py ']'
:: + /root/parts/client/install/bin/pip install -U .
:: Processing /root/parts/client/build
::   Preparing metadata (setup.py): started
::   Preparing metadata (setup.py): finished with status 'done'
:: Using legacy 'setup.py install' for osmclient, since package 'wheel' is not installed.
:: Installing collected packages: osmclient
::   Running setup.py install for osmclient: started
::   Running setup.py install for osmclient: finished with status 'done'
:: Successfully installed osmclient-14.0.1.post1+g9204883
:: + find /root/parts/client/install -type f -executable -print0
:: + xargs -0 sed -i '1 s|^#\!/root/parts/client/install/bin/python3.*$|#!/usr/bin/env python3|'
:: ++ set +o
:: ++ grep errexit
:: + opts_state='set +o errexit'
:: + set +e
:: + install_dir=/root/parts/client/install/usr/bin
:: + stage_dir=/root/stage/usr/bin
:: +++ readlink -f /root/parts/client/install/bin/python3
:: ++ basename /usr/bin/python3.10
:: + basename=python3.10
:: + echo Looking for a Python interpreter called '"python3.10"' in the payload...
:: Looking for a Python interpreter called "python3.10" in the payload...
:: ++ find /root/parts/client/install/usr/bin /root/stage/usr/bin -type f -executable -name python3.10 -print -quit
:: + payload_python=
:: + '[' -n '' ']'
:: + echo 'Python interpreter not found in payload.'
:: Python interpreter not found in payload.
:: + symlink_target=/usr/bin/python3.10
:: + '[' -z /usr/bin/python3.10 ']'
:: + eval 'set +o errexit'
:: ++ set +o errexit
:: + ln -sf /usr/bin/python3.10 /root/parts/client/install/bin/python3
::
:: Users are encouraged to replace 'snapcraftctl' with 'craftctl' and use
:: 'CRAFT_*' environment variables in scriptlets when building snaps based
:: on core22. Please refer to the core22 migration guide for details.
:: ++ find /root/parts/client/install -name __pycache__
:: ++ xargs rm -r
:: ++ find /root/parts/client/install -name RECORD
:: ++ xargs rm
Staging client
Priming client
Extracting and updating metadata...
Copying snap assets...
Generating snap metadata...
Generated snap metadata
Reading snap metadata...
Running linters...
Running linter: classic
Running linter: library
Lint warnings:
- library: libmagic.so.1: unused library 'usr/lib/x86_64-linux-gnu/libmagic.so.1.0.0'. (https://snapcraft.io/docs/linters-library)
Creating snap package...
Created snap package osmclient_v14.0.1-1-g9204883_amd64.snap
[Pipeline] sh
[osmclient-stage_2_v14.0] Running shell script
+ mv /home/jenkins/workspace/osmclient-stage_2_v14.0/osmclient_v14.0.1-1-g9204883_amd64.snap /home/jenkins/workspace/osmclient-stage_2_v14.0/osmclient.snap
[Pipeline] sh
[osmclient-stage_2_v14.0] Running shell script
+ sudo rm -rf /home/jenkins/workspace/osmclient-stage_2_v14.0/stage/ /home/jenkins/workspace/osmclient-stage_2_v14.0/parts/ /home/jenkins/workspace/osmclient-stage_2_v14.0/prime/
[osmclient-stage_2_v14.0] Running shell script
[Pipeline] sh
+ snapcraft push --release=14.0/edge/refs-changes-88-14188-1 osmclient.snap
Starting Snapcraft 8.0.2
Logging execution to '/home/jenkins/.local/state/snapcraft/log/snapcraft-20240130-095641.928383.log'
Uploading... (--->)
Uploading... (<---)
Status: processing
Status: processing
Status: processing
Status: processing
Status: ready to release!
Revision 1483 created for 'osmclient' and released to '14.0/edge/refs-changes-88-14188-1'
[Pipeline] sh
[osmclient-stage_2_v14.0] Running shell script
+ sudo rm -rf /home/jenkins/workspace/osmclient-stage_2_v14.0/osmclient.snap
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Charm build)
[Pipeline] sh
[osmclient-stage_2_v14.0] Running shell script
+ nproc
+ expr 16 / 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] fileExists
[Pipeline] parallel
No branches to run
[Pipeline] // parallel
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build System)
[Pipeline] build (Building osm-stage_3 » v14.0)
Scheduling project: osm-stage_3 » v14.0
Starting building: osm-stage_3 » v14.0 #164
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS