Console Output
Started by upstream project "buildall-stage_2-merge-v14" build number 314
originally caused by:
Started by timer
> git rev-parse --is-inside-work-tree # timeout=10
Setting origin to https://osm.etsi.org/gerrit/osm/PLA.git
> git config remote.origin.url https://osm.etsi.org/gerrit/osm/PLA.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/hackfest
Seen branch in repository origin/master
Seen branch in repository origin/ng-ro-refactor
Seen branch in repository origin/paas
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/v8.0
Seen branch in repository origin/v9.0
Seen 14 remote branches
Obtained Jenkinsfile from 1390ad3b57015778e9ffd0d52725110503583c26
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-3 in /home/jenkins/workspace/PLA-stage_2-merge_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/PLA.git # timeout=10
Fetching without tags
Fetching upstream changes from https://osm.etsi.org/gerrit/osm/PLA.git
> git --version # timeout=10
> git fetch --no-tags --force --progress https://osm.etsi.org/gerrit/osm/PLA.git +refs/heads/*:refs/remotes/origin/*
Checking out Revision 1390ad3b57015778e9ffd0d52725110503583c26 (v14.0)
> git config core.sparsecheckout # timeout=10
> git checkout -f 1390ad3b57015778e9ffd0d52725110503583c26
Commit message: "Update pip requirements to pass stage2 and stage3 in all modules"
> git rev-list --no-walk 1390ad3b57015778e9ffd0d52725110503583c26 # timeout=10
[Pipeline] dir
Running in /home/jenkins/workspace/PLA-stage_2-merge_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 9a0f65691eb79dd509d0f3750a1e9144737a0d80 (refs/remotes/origin/v14.0)
> git config core.sparsecheckout # timeout=10
> git checkout -f 9a0f65691eb79dd509d0f3750a1e9144737a0d80
> git branch -a -v --no-abbrev # timeout=10
> git branch -D v14.0 # timeout=10
> git checkout -b v14.0 9a0f65691eb79dd509d0f3750a1e9144737a0d80
Commit message: "fix VIM monitoring bug 2354"
> git rev-list --no-walk 9a0f65691eb79dd509d0f3750a1e9144737a0d80 # 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
[PLA-stage_2-merge_v14.0] Running shell script
+ env
JENKINS_HOME=/var/lib/jenkins
SSH_CLIENT=212.234.161.1 32791 22
USER=jenkins
RUN_CHANGES_DISPLAY_URL=https://osm.etsi.org/jenkins/job/PLA-stage_2-merge/job/v14.0/318/display/redirect?page=changes
GERRIT_PROJECT=osm/PLA
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/PLA-stage_2-merge/job/v14.0/318/
HUDSON_COOKIE=9c68dd75-f0f9-4cb9-ac85-a0336611ab6c
JENKINS_SERVER_COOKIE=durable-ccdecb0112be36aa3e88384f7b1c2816
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus
GERRIT_PATCHSET_REVISION=1390ad3b57015778e9ffd0d52725110503583c26
WORKSPACE=/home/jenkins/workspace/PLA-stage_2-merge_v14.0
LOGNAME=jenkins
NODE_NAME=osm-cicd-3
GERRIT_BRANCH=v14.0
_=/usr/bin/java
RUN_ARTIFACTS_DISPLAY_URL=https://osm.etsi.org/jenkins/job/PLA-stage_2-merge/job/v14.0/318/display/redirect?page=artifacts
XDG_SESSION_CLASS=user
EXECUTOR_NUMBER=2
XDG_SESSION_ID=2057
RUN_TESTS_DISPLAY_URL=https://osm.etsi.org/jenkins/job/PLA-stage_2-merge/job/v14.0/318/display/redirect?page=tests
BUILD_DISPLAY_NAME=#318
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=318
XDG_RUNTIME_DIR=/run/user/1001
BUILD_TAG=jenkins-PLA-stage_2-merge-v14.0-318
JENKINS_URL=https://osm.etsi.org/jenkins/
LANG=C.UTF-8
JOB_URL=https://osm.etsi.org/jenkins/job/PLA-stage_2-merge/job/v14.0/
BUILD_NUMBER=318
SHELL=/bin/bash
RUN_DISPLAY_URL=https://osm.etsi.org/jenkins/job/PLA-stage_2-merge/job/v14.0/318/display/redirect
ARTIFACTORY_SERVER=artifactory-osm
GERRIT_REFSPEC=refs/changes/15/13915/1
HUDSON_SERVER_COOKIE=6d3295a483c3e6d5
JOB_DISPLAY_URL=https://osm.etsi.org/jenkins/job/PLA-stage_2-merge/job/v14.0/display/redirect
JOB_NAME=PLA-stage_2-merge/v14.0
TEST_INSTALL=false
PWD=/home/jenkins/workspace/PLA-stage_2-merge_v14.0
SSH_CONNECTION=212.234.161.1 32791 172.21.249.3 22
BRANCH_NAME=v14.0
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Checkout)
[Pipeline] sh
[PLA-stage_2-merge_v14.0] Running shell script
+ git fetch --tags
[Pipeline] sh
[PLA-stage_2-merge_v14.0] Running shell script
+ git fetch origin refs/changes/15/13915/1
From https://osm.etsi.org/gerrit/osm/PLA
* branch refs/changes/15/13915/1 -> FETCH_HEAD
[Pipeline] sh
[PLA-stage_2-merge_v14.0] Running shell script
+ git checkout -f 1390ad3b57015778e9ffd0d52725110503583c26
HEAD is now at 1390ad3 Update pip requirements to pass stage2 and stage3 in all modules
[Pipeline] sh
[PLA-stage_2-merge_v14.0] Running shell script
+ sudo git clean -dfx
Removing .cache/
Removing .coverage
Removing .local/
Removing .safety/
Removing changelog/
Removing cover/
Removing coverage.xml
Removing deb_dist/
Removing dist/
Removing nosetests.xml
Removing osm_pla-14.0.2+g1390ad3.tar.gz
Removing osm_pla.egg-info/
Removing pool/
[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
[PLA-stage_2-merge_v14.0] Running shell script
+ docker build --build-arg APT_PROXY=http://172.21.1.1:3142 -t osm/pla-v14.0 .
Sending build context to Docker daemon 153.1MB
Step 1/11 : FROM ubuntu:22.04
---> 437ec753bef3
Step 2/11 : ARG APT_PROXY
---> Using cache
---> a60ee3f27dee
Step 3/11 : 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
---> 039a05e77321
Step 4/11 : 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
---> 168d6ec8a9d4
Step 5/11 : ENV LC_ALL C.UTF-8
---> Using cache
---> 6a1c73e0e30c
Step 6/11 : ENV LANG C.UTF-8
---> Using cache
---> ca1ed3244786
Step 7/11 : ADD https://github.com/MiniZinc/MiniZincIDE/releases/download/2.4.2/MiniZincIDE-2.4.2-bundle-linux-x86_64.tgz /minizinc.tgz
---> Using cache
---> 36e36e18abdc
Step 8/11 : RUN tar -zxf /minizinc.tgz && mv /MiniZincIDE-2.4.2-bundle-linux /minizinc
---> Using cache
---> 8b82bbb705ee
Step 9/11 : RUN mkdir /entry_data && mkdir /entry_data/mzn-lib && ln -s /entry_data/mzn-lib /minizinc/share/minizinc/exec
---> Using cache
---> 58c71388e8ba
Step 10/11 : ENV FZNEXEC "/entry_data/fzn-exec"
---> Using cache
---> e53a0f337ed3
Step 11/11 : ENV PATH "/minizinc/bin:${PATH}"
---> Using cache
---> 7b7b7596573d
Successfully built 7b7b7596573d
Successfully tagged osm/pla-v14.0:latest
[Pipeline] }
[Pipeline] // stage
[Pipeline] sh
[PLA-stage_2-merge_v14.0] Running shell script
+ id -u
[Pipeline] sh
[PLA-stage_2-merge_v14.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/PLA-stage_2-merge_v14.0 -v /home/jenkins/workspace/PLA-stage_2-merge_v14.0:/home/jenkins/workspace/PLA-stage_2-merge_v14.0:rw,z -v /home/jenkins/workspace/PLA-stage_2-merge_v14.0@tmp:/home/jenkins/workspace/PLA-stage_2-merge_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/pla-v14.0
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Test)
[Pipeline] sh
[PLA-stage_2-merge_v14.0] Running shell script
+ groupadd -o -g 1001 -r jenkins
[Pipeline] sh
[PLA-stage_2-merge_v14.0] Running shell script
+ pwd
+ useradd -o -u 1001 -d /home/jenkins/workspace/PLA-stage_2-merge_v14.0 -r -g jenkins jenkins
[Pipeline] sh
[PLA-stage_2-merge_v14.0] Running shell script
+ echo #! /bin/sh
[Pipeline] sh
[PLA-stage_2-merge_v14.0] Running shell script
+ chmod 755 /usr/bin/mesg
[Pipeline] sh
[PLA-stage_2-merge_v14.0] Running shell script
+ runuser jenkins -c devops-stages/stage-test.sh
Launching tox
✔ OK black in 15.781 seconds
black create: /tmp/.tox/black
black installdeps: black
black installed: black==24.4.2,click==8.1.7,mypy-extensions==1.0.0,packaging==24.0,pathspec==0.12.1,platformdirs==4.2.1,tomli==2.0.1,typing_extensions==4.11.0
black run-test-pre: PYTHONHASHSEED='573702466'
black run-test: commands[0] | black --check --diff osm_pla/
All done! ✨ 🍰 ✨
13 files would be left unchanged.
✔ OK flake8 in 17.664 seconds
flake8 create: /tmp/.tox/flake8
flake8 installdeps: flake8
flake8 develop-inst: /home/jenkins/workspace/PLA-stage_2-merge_v14.0
flake8 installed: flake8==7.0.0,mccabe==0.7.0,-e git+https://osm.etsi.org/gerrit/osm/PLA.git@1390ad3b57015778e9ffd0d52725110503583c26#egg=osm_pla,pycodestyle==2.11.1,pyflakes==3.2.0
flake8 run-test-pre: PYTHONHASHSEED='1832490999'
flake8 run-test: commands[0] | flake8 osm_pla/ setup.py
✔ OK safety in 51.479 seconds
safety create: /tmp/.tox/safety
safety installdeps: -r/home/jenkins/workspace/PLA-stage_2-merge_v14.0/requirements.txt, safety
safety develop-inst: /home/jenkins/workspace/PLA-stage_2-merge_v14.0
safety installed: annotated-types==0.6.0,Authlib==1.3.0,certifi==2024.2.2,cffi==1.16.0,charset-normalizer==3.3.2,click==8.1.7,cryptography==42.0.5,dparse==0.6.4b0,idna==3.7,Jinja2==3.1.2,markdown-it-py==3.0.0,MarkupSafe==2.1.3,marshmallow==3.21.2,mdurl==0.1.2,-e git+https://osm.etsi.org/gerrit/osm/PLA.git@1390ad3b57015778e9ffd0d52725110503583c26#egg=osm_pla,packaging==24.0,pycparser==2.22,pydantic==2.7.1,pydantic_core==2.18.2,Pygments==2.17.2,pymzn==0.18.3,PyYAML==6.0.1,requests==2.31.0,rich==13.7.1,ruamel.yaml==0.18.6,ruamel.yaml.clib==0.2.8,safety==3.2.0,safety-schemas==0.0.2,shellingham==1.5.4,tomli==2.0.1,typer==0.12.3,typing_extensions==4.11.0,urllib3==2.2.1
safety run-test-pre: PYTHONHASHSEED='724484739'
safety run-test: commands[0] | - safety check --full-report
+==============================================================================+
/$$$$$$ /$$
/$$__ $$ | $$
/$$$$$$$ /$$$$$$ | $$ \__//$$$$$$ /$$$$$$ /$$ /$$
/$$_____/ |____ $$| $$$$ /$$__ $$|_ $$_/ | $$ | $$
| $$$$$$ /$$$$$$$| $$_/ | $$$$$$$$ | $$ | $$ | $$
\____ $$ /$$__ $$| $$ | $$_____/ | $$ /$$| $$ | $$
/$$$$$$$/| $$$$$$$| $$ | $$$$$$$ | $$$$/| $$$$$$$
|_______/ \_______/|__/ \_______/ \___/ \____ $$
/$$ | $$
| $$$$$$/
by safetycli.com \______/
+==============================================================================+
[1mREPORT[0m
[31m[22m Safety is using PyUp's free open-source vulnerability database. This
data is 30 days old and limited. [0m
[31m 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[0m
Safety [1mv3.2.0[0m is scanning for [1mVulnerabilities[0m[1m...[0m
[1m Scanning dependencies[0m in your [1menvironment:[0m
-> /home/jenkins/workspace/PLA-stage_2-merge_v14.0
-> /tmp/.tox/safety/lib/python3.10/site-packages
-> /usr/lib/python3.10
-> /usr/lib/python3.10/lib-dynload
-> /tmp/.tox/safety/bin
-> /usr/lib/python310.zip
Using [1mopen-source vulnerability database[0m
[1m Found and scanned 36 packages[0m
Timestamp [1m2024-05-02 09:52:01[0m
[1m 3[0m[1m vulnerabilities reported[0m
[1m 0[0m[1m vulnerabilities ignored[0m
+==============================================================================+
[1mVULNERABILITIES REPORTED[0m
+==============================================================================+
[31m-> Vulnerability found in wheel version 0.37.1[0m
[1m Vulnerability ID: [0m51499
[1m Affected spec: [0m<0.38.1
[1m ADVISORY: [0mWheel 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
[1m CVE-2022-40898[0m
[1m For more information about this vulnerability, visit
[0mhttps://data.safetycli.com/v/51499/97c[0m
To ignore this vulnerability, use PyUp vulnerability id 51499 in safety’s
ignore command-line argument or add the ignore to your safety policy file.
[31m-> Vulnerability found in pip version 22.0.2[0m
[1m Vulnerability ID: [0m62044
[1m Affected spec: [0m<23.3
[1m ADVISORY: [0mAffected versions of Pip are vulnerable to Command
Injection. 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.
[1m CVE-2023-5752[0m
[1m For more information about this vulnerability, visit
[0mhttps://data.safetycli.com/v/62044/97c[0m
To ignore this vulnerability, use PyUp vulnerability id 62044 in safety’s
ignore command-line argument or add the ignore to your safety policy file.
[31m-> Vulnerability found in jinja2 version 3.1.2[0m
[1m Vulnerability ID: [0m64227
[1m Affected spec: [0m<3.1.3
[1m ADVISORY: [0mJinja2 before 3.1.3 is affected by a Cross-Site
Scripting vulnerability. Special placeholders in the template allow
writing code similar to Python syntax. It is possible to inject arbitrary
HTML attributes into the rendered HTML template. The Jinja 'xmlattr'
filter can be abused to inject arbitrary HTML attribute keys and values,
bypassing the auto escaping mechanism and potentially leading to XSS. It
may also be possible to bypass attribute validation checks if they are
blacklist-based.
[1m CVE-2024-22195[0m
[1m For more information about this vulnerability, visit
[0mhttps://data.safetycli.com/v/64227/97c[0m
To ignore this vulnerability, use PyUp vulnerability id 64227 in safety’s
ignore command-line argument or add the ignore to your safety policy file.
+==============================================================================+
[32m[1mREMEDIATIONS[0m
3 vulnerabilities were reported in 3 packages. For detailed remediation &
fix recommendations, upgrade to a commercial license.
+==============================================================================+
Scan was completed. 3 vulnerabilities were reported.
+==============================================================================+
[31m[22m Safety is using PyUp's free open-source vulnerability database. This
data is 30 days old and limited. [0m
[31m 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[0m
+==============================================================================+[0m
✔ OK cover in 55.257 seconds
cover create: /tmp/.tox/cover
cover installdeps: -r/home/jenkins/workspace/PLA-stage_2-merge_v14.0/requirements.txt, -r/home/jenkins/workspace/PLA-stage_2-merge_v14.0/requirements-dev.txt, -r/home/jenkins/workspace/PLA-stage_2-merge_v14.0/requirements-test.txt
cover develop-inst: /home/jenkins/workspace/PLA-stage_2-merge_v14.0
cover installed: aiokafka==0.8.1,async-timeout==4.0.3,coverage==7.3.1,dataclasses==0.6,dnspython==2.4.2,Jinja2==3.1.2,kafka-python==2.0.2,MarkupSafe==2.1.3,mock==5.1.0,motor==3.3.1,nose2==0.13.0,osm-common @ git+https://osm.etsi.org/gerrit/osm/common.git@df511049aeda8da03035b3adc2f900b76c8255de,-e git+https://osm.etsi.org/gerrit/osm/PLA.git@1390ad3b57015778e9ffd0d52725110503583c26#egg=osm_pla,packaging==23.1,pycryptodome==3.19.0,pymongo==4.5.0,pymzn==0.18.3,PyYAML==6.0.1
cover run-test-pre: PYTHONHASHSEED='3886484041'
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 osm_pla
.......ERROR:pla.server:PLA fault. Exception: kaboom!
Traceback (most recent call last):
File "/home/jenkins/workspace/PLA-stage_2-merge_v14.0/osm_pla/server/server.py", line 200, in get_placement
nsd = self._get_nsd(nslcmop["operationParams"]["nsdId"])
File "/usr/lib/python3.10/unittest/mock.py", line 1114, in __call__
return self._mock_call(*args, **kwargs)
File "/usr/lib/python3.10/unittest/mock.py", line 1118, in _mock_call
return self._execute_mock_call(*args, **kwargs)
File "/usr/lib/python3.10/unittest/mock.py", line 1173, in _execute_mock_call
raise effect
RuntimeError: kaboom!
..........................................................................
----------------------------------------------------------------------
Ran 81 tests in 11.935s
OK
Name Stmts Miss Cover
-----------------------------------------------------------------
osm_pla/__init__.py 0 0 100%
osm_pla/cmd/__init__.py 0 0 100%
osm_pla/cmd/pla_server.py 23 23 0%
osm_pla/config/config.py 39 21 46%
osm_pla/placement/__init__.py 0 0 100%
osm_pla/placement/mznplacement.py 135 1 99%
osm_pla/server/server.py 129 26 80%
osm_pla/test/__init__.py 0 0 100%
osm_pla/test/test_mznModelGenerator.py 134 3 98%
osm_pla/test/test_mznPlacementConductor.py 31 0 100%
osm_pla/test/test_mznmodels.py 269 24 91%
osm_pla/test/test_nsPlacementDataFactory.py 262 3 99%
osm_pla/test/test_server.py 200 9 96%
-----------------------------------------------------------------
TOTAL 1222 110 91%
cover run-test: commands[3] | coverage report '--omit=*tests*'
Name Stmts Miss Cover
-----------------------------------------------------------------
osm_pla/__init__.py 0 0 100%
osm_pla/cmd/__init__.py 0 0 100%
osm_pla/cmd/pla_server.py 23 23 0%
osm_pla/config/config.py 39 21 46%
osm_pla/placement/__init__.py 0 0 100%
osm_pla/placement/mznplacement.py 135 1 99%
osm_pla/server/server.py 129 26 80%
osm_pla/test/__init__.py 0 0 100%
osm_pla/test/test_mznModelGenerator.py 134 3 98%
osm_pla/test/test_mznPlacementConductor.py 31 0 100%
osm_pla/test/test_mznmodels.py 269 24 91%
osm_pla/test/test_nsPlacementDataFactory.py 262 3 99%
osm_pla/test/test_server.py 200 9 96%
-----------------------------------------------------------------
TOTAL 1222 110 91%
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 56.334 seconds
pylint create: /tmp/.tox/pylint
pylint installdeps: -r/home/jenkins/workspace/PLA-stage_2-merge_v14.0/requirements.txt, -r/home/jenkins/workspace/PLA-stage_2-merge_v14.0/requirements-dev.txt, -r/home/jenkins/workspace/PLA-stage_2-merge_v14.0/requirements-test.txt, pylint
pylint develop-inst: /home/jenkins/workspace/PLA-stage_2-merge_v14.0
pylint installed: aiokafka==0.8.1,astroid==3.1.0,async-timeout==4.0.3,coverage==7.3.1,dataclasses==0.6,dill==0.3.8,dnspython==2.4.2,isort==5.13.2,Jinja2==3.1.2,kafka-python==2.0.2,MarkupSafe==2.1.3,mccabe==0.7.0,mock==5.1.0,motor==3.3.1,nose2==0.13.0,osm-common @ git+https://osm.etsi.org/gerrit/osm/common.git@df511049aeda8da03035b3adc2f900b76c8255de,-e git+https://osm.etsi.org/gerrit/osm/PLA.git@1390ad3b57015778e9ffd0d52725110503583c26#egg=osm_pla,packaging==23.1,platformdirs==4.2.1,pycryptodome==3.19.0,pylint==3.1.0,pymongo==4.5.0,pymzn==0.18.3,PyYAML==6.0.1,tomli==2.0.1,tomlkit==0.12.4,typing_extensions==4.11.0
pylint run-test-pre: PYTHONHASHSEED='3714360120'
pylint run-test: commands[0] | pylint -E osm_pla
___________________________________ 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] junit
Recording test results
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build)
[Pipeline] sh
[PLA-stage_2-merge_v14.0] Running shell script
+ runuser jenkins -c devops-stages/stage-build.sh
dist create: /tmp/.tox/dist
dist installdeps: -r/home/jenkins/workspace/PLA-stage_2-merge_v14.0/requirements.txt, -r/home/jenkins/workspace/PLA-stage_2-merge_v14.0/requirements-dist.txt
dist develop-inst: /home/jenkins/workspace/PLA-stage_2-merge_v14.0
dist installed: Jinja2==3.1.2,MarkupSafe==2.1.3,-e git+https://osm.etsi.org/gerrit/osm/PLA.git@1390ad3b57015778e9ffd0d52725110503583c26#egg=osm_pla,pymzn==0.18.3,PyYAML==6.0.1,setuptools-version-command==99.9,stdeb==0.10.0
dist run-test-pre: PYTHONHASHSEED='1216382427'
dist run-test: commands[0] | sh -c 'cp requirements.txt osm_pla/requirements.txt'
dist run-test: commands[1] | python3 setup.py --command-packages=stdeb.command sdist_dsc
/tmp/.tox/dist/lib/python3.10/site-packages/setuptools/dist.py:723: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
warnings.warn(
/tmp/.tox/dist/lib/python3.10/site-packages/setuptools/dist.py:723: UserWarning: Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead
warnings.warn(
/tmp/.tox/dist/lib/python3.10/site-packages/setuptools_version_command.py:10: UserWarning: The setuptools-version-command package is deprecated, use setuptools-scm instead. See https://github.com/j0057/setuptools-version-command for more information.
warnings.warn('The setuptools-version-command package is deprecated, use setuptools-scm instead. '
/tmp/.tox/dist/lib/python3.10/site-packages/setuptools/dist.py:493: UserWarning: Normalizing 'v14.0.2+g1390ad3' to '14.0.2+g1390ad3'
warnings.warn(tmpl.format(**locals()))
/tmp/.tox/dist/lib/python3.10/site-packages/setuptools/dist.py:723: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
warnings.warn(
/tmp/.tox/dist/lib/python3.10/site-packages/setuptools/dist.py:723: UserWarning: Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead
warnings.warn(
running sdist_dsc
running egg_info
writing version to osm_pla.egg-info/version.txt
writing version_full to osm_pla.egg-info/version_full.txt
writing osm_pla.egg-info/PKG-INFO
writing dependency_links to osm_pla.egg-info/dependency_links.txt
writing entry points to osm_pla.egg-info/entry_points.txt
writing top-level names to osm_pla.egg-info/top_level.txt
reading manifest file 'osm_pla.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.sh' under directory 'osm_pla'
adding license file 'LICENSE'
writing manifest file 'osm_pla.egg-info/SOURCES.txt'
running sdist
running check
creating osm_pla-14.0.2+g1390ad3
creating osm_pla-14.0.2+g1390ad3/devops-stages
creating osm_pla-14.0.2+g1390ad3/osm_pla
creating osm_pla-14.0.2+g1390ad3/osm_pla.egg-info
creating osm_pla-14.0.2+g1390ad3/osm_pla/cmd
creating osm_pla-14.0.2+g1390ad3/osm_pla/config
creating osm_pla-14.0.2+g1390ad3/osm_pla/placement
creating osm_pla-14.0.2+g1390ad3/osm_pla/server
creating osm_pla-14.0.2+g1390ad3/osm_pla/test
copying files to osm_pla-14.0.2+g1390ad3...
copying LICENSE -> osm_pla-14.0.2+g1390ad3
copying MANIFEST.in -> osm_pla-14.0.2+g1390ad3
copying README.md -> osm_pla-14.0.2+g1390ad3
copying setup.cfg -> osm_pla-14.0.2+g1390ad3
copying setup.py -> osm_pla-14.0.2+g1390ad3
copying devops-stages/stage-archive.sh -> osm_pla-14.0.2+g1390ad3/devops-stages
copying devops-stages/stage-build.sh -> osm_pla-14.0.2+g1390ad3/devops-stages
copying devops-stages/stage-test.sh -> osm_pla-14.0.2+g1390ad3/devops-stages
copying osm_pla/__init__.py -> osm_pla-14.0.2+g1390ad3/osm_pla
copying osm_pla/requirements.txt -> osm_pla-14.0.2+g1390ad3/osm_pla
copying osm_pla.egg-info/PKG-INFO -> osm_pla-14.0.2+g1390ad3/osm_pla.egg-info
copying osm_pla.egg-info/SOURCES.txt -> osm_pla-14.0.2+g1390ad3/osm_pla.egg-info
copying osm_pla.egg-info/dependency_links.txt -> osm_pla-14.0.2+g1390ad3/osm_pla.egg-info
copying osm_pla.egg-info/entry_points.txt -> osm_pla-14.0.2+g1390ad3/osm_pla.egg-info
copying osm_pla.egg-info/top_level.txt -> osm_pla-14.0.2+g1390ad3/osm_pla.egg-info
copying osm_pla.egg-info/version.txt -> osm_pla-14.0.2+g1390ad3/osm_pla.egg-info
copying osm_pla.egg-info/version_full.txt -> osm_pla-14.0.2+g1390ad3/osm_pla.egg-info
copying osm_pla/cmd/__init__.py -> osm_pla-14.0.2+g1390ad3/osm_pla/cmd
copying osm_pla/cmd/pla_server.py -> osm_pla-14.0.2+g1390ad3/osm_pla/cmd
copying osm_pla/config/config.py -> osm_pla-14.0.2+g1390ad3/osm_pla/config
copying osm_pla/config/pla.yaml -> osm_pla-14.0.2+g1390ad3/osm_pla/config
copying osm_pla/placement/__init__.py -> osm_pla-14.0.2+g1390ad3/osm_pla/placement
copying osm_pla/placement/macros.j2 -> osm_pla-14.0.2+g1390ad3/osm_pla/placement
copying osm_pla/placement/mznplacement.py -> osm_pla-14.0.2+g1390ad3/osm_pla/placement
copying osm_pla/placement/osm_pla_dynamic_template.j2 -> osm_pla-14.0.2+g1390ad3/osm_pla/placement
copying osm_pla/server/server.py -> osm_pla-14.0.2+g1390ad3/osm_pla/server
copying osm_pla/test/__init__.py -> osm_pla-14.0.2+g1390ad3/osm_pla/test
copying osm_pla/test/corrupt_pil_endpoints_config_unittest1.yaml -> osm_pla-14.0.2+g1390ad3/osm_pla/test
copying osm_pla/test/not_yaml_conformant.yaml -> osm_pla-14.0.2+g1390ad3/osm_pla/test
copying osm_pla/test/nsd_unittest1.yaml -> osm_pla-14.0.2+g1390ad3/osm_pla/test
copying osm_pla/test/nsd_unittest2.yaml -> osm_pla-14.0.2+g1390ad3/osm_pla/test
copying osm_pla/test/nsd_unittest3.yaml -> osm_pla-14.0.2+g1390ad3/osm_pla/test
copying osm_pla/test/nsd_unittest4.yaml -> osm_pla-14.0.2+g1390ad3/osm_pla/test
copying osm_pla/test/nsd_unittest_no_vld_constraints.yaml -> osm_pla-14.0.2+g1390ad3/osm_pla/test
copying osm_pla/test/pil_price_list.yaml -> osm_pla-14.0.2+g1390ad3/osm_pla/test
copying osm_pla/test/pil_price_list_hackfest.yaml -> osm_pla-14.0.2+g1390ad3/osm_pla/test
copying osm_pla/test/pil_price_list_rel7_webinar.yaml -> osm_pla-14.0.2+g1390ad3/osm_pla/test
copying osm_pla/test/pil_unittest1.yaml -> osm_pla-14.0.2+g1390ad3/osm_pla/test
copying osm_pla/test/pil_unittest1_keys.yaml -> osm_pla-14.0.2+g1390ad3/osm_pla/test
copying osm_pla/test/pil_unittest2.yaml -> osm_pla-14.0.2+g1390ad3/osm_pla/test
copying osm_pla/test/pil_unittest2_keys.yaml -> osm_pla-14.0.2+g1390ad3/osm_pla/test
copying osm_pla/test/slice_hackfest_middle_nsd.yaml -> osm_pla-14.0.2+g1390ad3/osm_pla/test
copying osm_pla/test/test_five_nsd.yaml -> osm_pla-14.0.2+g1390ad3/osm_pla/test
copying osm_pla/test/test_mznModelGenerator.py -> osm_pla-14.0.2+g1390ad3/osm_pla/test
copying osm_pla/test/test_mznPlacementConductor.py -> osm_pla-14.0.2+g1390ad3/osm_pla/test
copying osm_pla/test/test_mznmodels.py -> osm_pla-14.0.2+g1390ad3/osm_pla/test
copying osm_pla/test/test_nsPlacementDataFactory.py -> osm_pla-14.0.2+g1390ad3/osm_pla/test
copying osm_pla/test/test_server.py -> osm_pla-14.0.2+g1390ad3/osm_pla/test
copying osm_pla/test/vnf_price_list.yaml -> osm_pla-14.0.2+g1390ad3/osm_pla/test
copying osm_pla/test/vnf_price_list_keys.yaml -> osm_pla-14.0.2+g1390ad3/osm_pla/test
copying osm_pla/test/vnf_price_list_more_vims.yaml -> osm_pla-14.0.2+g1390ad3/osm_pla/test
copying osm_pla/test/vnf_price_list_rel7_webinar.yaml -> osm_pla-14.0.2+g1390ad3/osm_pla/test
Writing osm_pla-14.0.2+g1390ad3/setup.cfg
creating dist
Creating tar archive
removing 'osm_pla-14.0.2+g1390ad3' (and everything under it)
dpkg-buildpackage: info: source package osm-pla
dpkg-buildpackage: info: source version 14.0.2+g1390ad3-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by OSM Support <osmsupport@etsi.org>
dpkg-source --before-build .
dpkg-source: info: using options from osm-pla-14.0.2+g1390ad3/debian/source/options: --extend-diff-ignore=\.egg-info$
fakeroot debian/rules clean
dh clean --with python3 --buildsystem=python_distutils
dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
debian/rules override_dh_auto_clean
make[1]: Entering directory '/home/jenkins/workspace/PLA-stage_2-merge_v14.0/deb_dist/osm-pla-14.0.2+g1390ad3'
python3 setup.py clean -a
/tmp/.tox/dist/lib/python3.10/site-packages/setuptools/dist.py:723: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
warnings.warn(
/tmp/.tox/dist/lib/python3.10/site-packages/setuptools/dist.py:723: UserWarning: Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead
warnings.warn(
/tmp/.tox/dist/lib/python3.10/site-packages/setuptools_version_command.py:10: UserWarning: The setuptools-version-command package is deprecated, use setuptools-scm instead. See https://github.com/j0057/setuptools-version-command for more information.
warnings.warn('The setuptools-version-command package is deprecated, use setuptools-scm instead. '
/tmp/.tox/dist/lib/python3.10/site-packages/setuptools/dist.py:493: UserWarning: Normalizing 'v14.0.2+g1390ad3' to '14.0.2+g1390ad3'
warnings.warn(tmpl.format(**locals()))
/tmp/.tox/dist/lib/python3.10/site-packages/setuptools/dist.py:723: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
warnings.warn(
/tmp/.tox/dist/lib/python3.10/site-packages/setuptools/dist.py:723: UserWarning: Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead
warnings.warn(
running clean
'build/lib' does not exist -- can't clean it
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.10' does not exist -- can't clean it
find . -name \*.pyc -exec rm {} \;
make[1]: Leaving directory '/home/jenkins/workspace/PLA-stage_2-merge_v14.0/deb_dist/osm-pla-14.0.2+g1390ad3'
dh_clean -O--buildsystem=python_distutils
dh_clean: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dpkg-source -b .
dpkg-source: info: using options from osm-pla-14.0.2+g1390ad3/debian/source/options: --extend-diff-ignore=\.egg-info$
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building osm-pla using existing ./osm-pla_14.0.2+g1390ad3.orig.tar.gz
dpkg-source: info: building osm-pla in osm-pla_14.0.2+g1390ad3-1.debian.tar.xz
dpkg-source: info: building osm-pla in osm-pla_14.0.2+g1390ad3-1.dsc
dpkg-genbuildinfo --build=source -O../osm-pla_14.0.2+g1390ad3-1_source.buildinfo
dpkg-genchanges -sa --build=source -O../osm-pla_14.0.2+g1390ad3-1_source.changes
dpkg-genchanges: info: including full source code in upload
dpkg-source --after-build .
dpkg-source: info: using options from osm-pla-14.0.2+g1390ad3/debian/source/options: --extend-diff-ignore=\.egg-info$
dpkg-buildpackage: info: source-only upload (original source is included)
dpkg-source: warning: extracting unsigned source package (osm-pla_14.0.2+g1390ad3-1.dsc)
dpkg-source: info: extracting osm-pla in osm-pla-14.0.2+g1390ad3
dpkg-source: info: unpacking osm-pla_14.0.2+g1390ad3.orig.tar.gz
dpkg-source: info: unpacking osm-pla_14.0.2+g1390ad3-1.debian.tar.xz
dist run-test: commands[2] | sh -c 'cd deb_dist/osm-pla*/ && dpkg-buildpackage -rfakeroot -uc -us'
dpkg-buildpackage: info: source package osm-pla
dpkg-buildpackage: info: source version 14.0.2+g1390ad3-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by OSM Support <osmsupport@etsi.org>
dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
dpkg-source: info: using options from osm-pla-14.0.2+g1390ad3/debian/source/options: --extend-diff-ignore=\.egg-info$
fakeroot debian/rules clean
dh clean --with python3 --buildsystem=python_distutils
dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
debian/rules override_dh_auto_clean
make[1]: Entering directory '/home/jenkins/workspace/PLA-stage_2-merge_v14.0/deb_dist/osm-pla-14.0.2+g1390ad3'
python3 setup.py clean -a
/tmp/.tox/dist/lib/python3.10/site-packages/setuptools/dist.py:723: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
warnings.warn(
/tmp/.tox/dist/lib/python3.10/site-packages/setuptools/dist.py:723: UserWarning: Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead
warnings.warn(
/tmp/.tox/dist/lib/python3.10/site-packages/setuptools_version_command.py:10: UserWarning: The setuptools-version-command package is deprecated, use setuptools-scm instead. See https://github.com/j0057/setuptools-version-command for more information.
warnings.warn('The setuptools-version-command package is deprecated, use setuptools-scm instead. '
warning: unable to access '/root/.config/git/ignore': Permission denied
/tmp/.tox/dist/lib/python3.10/site-packages/setuptools/dist.py:493: UserWarning: Normalizing 'v14.0.2+g1390ad3' to '14.0.2+g1390ad3'
warnings.warn(tmpl.format(**locals()))
/tmp/.tox/dist/lib/python3.10/site-packages/setuptools/dist.py:723: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
warnings.warn(
/tmp/.tox/dist/lib/python3.10/site-packages/setuptools/dist.py:723: UserWarning: Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead
warnings.warn(
running clean
'build/lib' does not exist -- can't clean it
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.10' does not exist -- can't clean it
find . -name \*.pyc -exec rm {} \;
make[1]: Leaving directory '/home/jenkins/workspace/PLA-stage_2-merge_v14.0/deb_dist/osm-pla-14.0.2+g1390ad3'
dh_clean -O--buildsystem=python_distutils
dh_clean: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dpkg-source -b .
dpkg-source: info: using options from osm-pla-14.0.2+g1390ad3/debian/source/options: --extend-diff-ignore=\.egg-info$
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building osm-pla using existing ./osm-pla_14.0.2+g1390ad3.orig.tar.gz
dpkg-source: info: building osm-pla in osm-pla_14.0.2+g1390ad3-1.debian.tar.xz
dpkg-source: info: building osm-pla in osm-pla_14.0.2+g1390ad3-1.dsc
debian/rules build
dh build --with python3 --buildsystem=python_distutils
dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh_update_autotools_config -O--buildsystem=python_distutils
dh_auto_configure -O--buildsystem=python_distutils
dh_auto_configure: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh_auto_configure: warning: Please use the third-party "pybuild" build system instead of python-distutils
dh_auto_configure: warning: This feature will be removed in compat 12.
debian/rules override_dh_auto_build
make[1]: Entering directory '/home/jenkins/workspace/PLA-stage_2-merge_v14.0/deb_dist/osm-pla-14.0.2+g1390ad3'
python3 setup.py build --force
/tmp/.tox/dist/lib/python3.10/site-packages/setuptools/dist.py:723: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
warnings.warn(
/tmp/.tox/dist/lib/python3.10/site-packages/setuptools/dist.py:723: UserWarning: Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead
warnings.warn(
/tmp/.tox/dist/lib/python3.10/site-packages/setuptools_version_command.py:10: UserWarning: The setuptools-version-command package is deprecated, use setuptools-scm instead. See https://github.com/j0057/setuptools-version-command for more information.
warnings.warn('The setuptools-version-command package is deprecated, use setuptools-scm instead. '
/tmp/.tox/dist/lib/python3.10/site-packages/setuptools/dist.py:493: UserWarning: Normalizing 'v14.0.2+g1390ad3' to '14.0.2+g1390ad3'
warnings.warn(tmpl.format(**locals()))
/tmp/.tox/dist/lib/python3.10/site-packages/setuptools/dist.py:723: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
warnings.warn(
/tmp/.tox/dist/lib/python3.10/site-packages/setuptools/dist.py:723: UserWarning: Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead
warnings.warn(
running build
running build_py
creating build
creating build/lib
creating build/lib/osm_pla
copying osm_pla/__init__.py -> build/lib/osm_pla
running egg_info
writing version to osm_pla.egg-info/version.txt
writing version_full to osm_pla.egg-info/version_full.txt
writing osm_pla.egg-info/PKG-INFO
writing dependency_links to osm_pla.egg-info/dependency_links.txt
writing entry points to osm_pla.egg-info/entry_points.txt
writing top-level names to osm_pla.egg-info/top_level.txt
reading manifest file 'osm_pla.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.sh' under directory 'osm_pla'
adding license file 'LICENSE'
writing manifest file 'osm_pla.egg-info/SOURCES.txt'
copying osm_pla/requirements.txt -> build/lib/osm_pla
creating build/lib/osm_pla/cmd
copying osm_pla/cmd/__init__.py -> build/lib/osm_pla/cmd
copying osm_pla/cmd/pla_server.py -> build/lib/osm_pla/cmd
creating build/lib/osm_pla/config
copying osm_pla/config/config.py -> build/lib/osm_pla/config
copying osm_pla/config/pla.yaml -> build/lib/osm_pla/config
creating build/lib/osm_pla/placement
copying osm_pla/placement/__init__.py -> build/lib/osm_pla/placement
copying osm_pla/placement/macros.j2 -> build/lib/osm_pla/placement
copying osm_pla/placement/mznplacement.py -> build/lib/osm_pla/placement
copying osm_pla/placement/osm_pla_dynamic_template.j2 -> build/lib/osm_pla/placement
creating build/lib/osm_pla/server
copying osm_pla/server/server.py -> build/lib/osm_pla/server
creating build/lib/osm_pla/test
copying osm_pla/test/__init__.py -> build/lib/osm_pla/test
copying osm_pla/test/corrupt_pil_endpoints_config_unittest1.yaml -> build/lib/osm_pla/test
copying osm_pla/test/not_yaml_conformant.yaml -> build/lib/osm_pla/test
copying osm_pla/test/nsd_unittest1.yaml -> build/lib/osm_pla/test
copying osm_pla/test/nsd_unittest2.yaml -> build/lib/osm_pla/test
copying osm_pla/test/nsd_unittest3.yaml -> build/lib/osm_pla/test
copying osm_pla/test/nsd_unittest4.yaml -> build/lib/osm_pla/test
copying osm_pla/test/nsd_unittest_no_vld_constraints.yaml -> build/lib/osm_pla/test
copying osm_pla/test/pil_price_list.yaml -> build/lib/osm_pla/test
copying osm_pla/test/pil_price_list_hackfest.yaml -> build/lib/osm_pla/test
copying osm_pla/test/pil_price_list_rel7_webinar.yaml -> build/lib/osm_pla/test
copying osm_pla/test/pil_unittest1.yaml -> build/lib/osm_pla/test
copying osm_pla/test/pil_unittest1_keys.yaml -> build/lib/osm_pla/test
copying osm_pla/test/pil_unittest2.yaml -> build/lib/osm_pla/test
copying osm_pla/test/pil_unittest2_keys.yaml -> build/lib/osm_pla/test
copying osm_pla/test/slice_hackfest_middle_nsd.yaml -> build/lib/osm_pla/test
copying osm_pla/test/test_five_nsd.yaml -> build/lib/osm_pla/test
copying osm_pla/test/test_mznModelGenerator.py -> build/lib/osm_pla/test
copying osm_pla/test/test_mznPlacementConductor.py -> build/lib/osm_pla/test
copying osm_pla/test/test_mznmodels.py -> build/lib/osm_pla/test
copying osm_pla/test/test_nsPlacementDataFactory.py -> build/lib/osm_pla/test
copying osm_pla/test/test_server.py -> build/lib/osm_pla/test
copying osm_pla/test/vnf_price_list.yaml -> build/lib/osm_pla/test
copying osm_pla/test/vnf_price_list_keys.yaml -> build/lib/osm_pla/test
copying osm_pla/test/vnf_price_list_more_vims.yaml -> build/lib/osm_pla/test
copying osm_pla/test/vnf_price_list_rel7_webinar.yaml -> build/lib/osm_pla/test
warning: build_py: byte-compiling is disabled, skipping.
make[1]: Leaving directory '/home/jenkins/workspace/PLA-stage_2-merge_v14.0/deb_dist/osm-pla-14.0.2+g1390ad3'
dh_auto_test -O--buildsystem=python_distutils
dh_auto_test: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh_auto_test: warning: Please use the third-party "pybuild" build system instead of python-distutils
dh_auto_test: warning: This feature will be removed in compat 12.
fakeroot debian/rules binary
dh binary --with python3 --buildsystem=python_distutils
dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh_testroot -O--buildsystem=python_distutils
dh_prep -O--buildsystem=python_distutils
debian/rules override_dh_auto_install
make[1]: Entering directory '/home/jenkins/workspace/PLA-stage_2-merge_v14.0/deb_dist/osm-pla-14.0.2+g1390ad3'
python3 setup.py install --force --root=debian/python3-osm-pla --no-compile -O0 --install-layout=deb --prefix=/usr
/tmp/.tox/dist/lib/python3.10/site-packages/setuptools/dist.py:723: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
warnings.warn(
/tmp/.tox/dist/lib/python3.10/site-packages/setuptools/dist.py:723: UserWarning: Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead
warnings.warn(
/tmp/.tox/dist/lib/python3.10/site-packages/setuptools_version_command.py:10: UserWarning: The setuptools-version-command package is deprecated, use setuptools-scm instead. See https://github.com/j0057/setuptools-version-command for more information.
warnings.warn('The setuptools-version-command package is deprecated, use setuptools-scm instead. '
warning: unable to access '/root/.config/git/attributes': Permission denied
warning: unable to access '/root/.config/git/ignore': Permission denied
/tmp/.tox/dist/lib/python3.10/site-packages/setuptools/dist.py:493: UserWarning: Normalizing 'v14.0.2+g1390ad3' to '14.0.2+g1390ad3'
warnings.warn(tmpl.format(**locals()))
/tmp/.tox/dist/lib/python3.10/site-packages/setuptools/dist.py:723: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
warnings.warn(
/tmp/.tox/dist/lib/python3.10/site-packages/setuptools/dist.py:723: UserWarning: Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead
warnings.warn(
running install
/tmp/.tox/dist/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
running build_py
running egg_info
writing version to osm_pla.egg-info/version.txt
writing version_full to osm_pla.egg-info/version_full.txt
writing osm_pla.egg-info/PKG-INFO
writing dependency_links to osm_pla.egg-info/dependency_links.txt
writing entry points to osm_pla.egg-info/entry_points.txt
writing top-level names to osm_pla.egg-info/top_level.txt
reading manifest file 'osm_pla.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.sh' under directory 'osm_pla'
adding license file 'LICENSE'
writing manifest file 'osm_pla.egg-info/SOURCES.txt'
warning: build_py: byte-compiling is disabled, skipping.
running install_lib
creating debian/python3-osm-pla
creating debian/python3-osm-pla/usr
creating debian/python3-osm-pla/usr/lib
creating debian/python3-osm-pla/usr/lib/python3
creating debian/python3-osm-pla/usr/lib/python3/dist-packages
creating debian/python3-osm-pla/usr/lib/python3/dist-packages/osm_pla
creating debian/python3-osm-pla/usr/lib/python3/dist-packages/osm_pla/placement
copying build/lib/osm_pla/placement/__init__.py -> debian/python3-osm-pla/usr/lib/python3/dist-packages/osm_pla/placement
copying build/lib/osm_pla/placement/osm_pla_dynamic_template.j2 -> debian/python3-osm-pla/usr/lib/python3/dist-packages/osm_pla/placement
copying build/lib/osm_pla/placement/mznplacement.py -> debian/python3-osm-pla/usr/lib/python3/dist-packages/osm_pla/placement
copying build/lib/osm_pla/placement/macros.j2 -> debian/python3-osm-pla/usr/lib/python3/dist-packages/osm_pla/placement
creating debian/python3-osm-pla/usr/lib/python3/dist-packages/osm_pla/config
copying build/lib/osm_pla/config/pla.yaml -> debian/python3-osm-pla/usr/lib/python3/dist-packages/osm_pla/config
copying build/lib/osm_pla/config/config.py -> debian/python3-osm-pla/usr/lib/python3/dist-packages/osm_pla/config
creating debian/python3-osm-pla/usr/lib/python3/dist-packages/osm_pla/cmd
copying build/lib/osm_pla/cmd/pla_server.py -> debian/python3-osm-pla/usr/lib/python3/dist-packages/osm_pla/cmd
copying build/lib/osm_pla/cmd/__init__.py -> debian/python3-osm-pla/usr/lib/python3/dist-packages/osm_pla/cmd
copying build/lib/osm_pla/requirements.txt -> debian/python3-osm-pla/usr/lib/python3/dist-packages/osm_pla
copying build/lib/osm_pla/__init__.py -> debian/python3-osm-pla/usr/lib/python3/dist-packages/osm_pla
creating debian/python3-osm-pla/usr/lib/python3/dist-packages/osm_pla/test
copying build/lib/osm_pla/test/vnf_price_list_keys.yaml -> debian/python3-osm-pla/usr/lib/python3/dist-packages/osm_pla/test
copying build/lib/osm_pla/test/pil_unittest2.yaml -> debian/python3-osm-pla/usr/lib/python3/dist-packages/osm_pla/test
copying build/lib/osm_pla/test/test_server.py -> debian/python3-osm-pla/usr/lib/python3/dist-packages/osm_pla/test
copying build/lib/osm_pla/test/test_mznmodels.py -> debian/python3-osm-pla/usr/lib/python3/dist-packages/osm_pla/test
copying build/lib/osm_pla/test/vnf_price_list_rel7_webinar.yaml -> debian/python3-osm-pla/usr/lib/python3/dist-packages/osm_pla/test
copying build/lib/osm_pla/test/slice_hackfest_middle_nsd.yaml -> debian/python3-osm-pla/usr/lib/python3/dist-packages/osm_pla/test
copying build/lib/osm_pla/test/nsd_unittest4.yaml -> debian/python3-osm-pla/usr/lib/python3/dist-packages/osm_pla/test
copying build/lib/osm_pla/test/pil_price_list_hackfest.yaml -> debian/python3-osm-pla/usr/lib/python3/dist-packages/osm_pla/test
copying build/lib/osm_pla/test/test_mznPlacementConductor.py -> debian/python3-osm-pla/usr/lib/python3/dist-packages/osm_pla/test
copying build/lib/osm_pla/test/pil_unittest1_keys.yaml -> debian/python3-osm-pla/usr/lib/python3/dist-packages/osm_pla/test
copying build/lib/osm_pla/test/pil_unittest1.yaml -> debian/python3-osm-pla/usr/lib/python3/dist-packages/osm_pla/test
copying build/lib/osm_pla/test/pil_unittest2_keys.yaml -> debian/python3-osm-pla/usr/lib/python3/dist-packages/osm_pla/test
copying build/lib/osm_pla/test/test_nsPlacementDataFactory.py -> debian/python3-osm-pla/usr/lib/python3/dist-packages/osm_pla/test
copying build/lib/osm_pla/test/nsd_unittest1.yaml -> debian/python3-osm-pla/usr/lib/python3/dist-packages/osm_pla/test
copying build/lib/osm_pla/test/nsd_unittest2.yaml -> debian/python3-osm-pla/usr/lib/python3/dist-packages/osm_pla/test
copying build/lib/osm_pla/test/nsd_unittest3.yaml -> debian/python3-osm-pla/usr/lib/python3/dist-packages/osm_pla/test
copying build/lib/osm_pla/test/__init__.py -> debian/python3-osm-pla/usr/lib/python3/dist-packages/osm_pla/test
copying build/lib/osm_pla/test/nsd_unittest_no_vld_constraints.yaml -> debian/python3-osm-pla/usr/lib/python3/dist-packages/osm_pla/test
copying build/lib/osm_pla/test/vnf_price_list.yaml -> debian/python3-osm-pla/usr/lib/python3/dist-packages/osm_pla/test
copying build/lib/osm_pla/test/vnf_price_list_more_vims.yaml -> debian/python3-osm-pla/usr/lib/python3/dist-packages/osm_pla/test
copying build/lib/osm_pla/test/pil_price_list.yaml -> debian/python3-osm-pla/usr/lib/python3/dist-packages/osm_pla/test
copying build/lib/osm_pla/test/pil_price_list_rel7_webinar.yaml -> debian/python3-osm-pla/usr/lib/python3/dist-packages/osm_pla/test
copying build/lib/osm_pla/test/corrupt_pil_endpoints_config_unittest1.yaml -> debian/python3-osm-pla/usr/lib/python3/dist-packages/osm_pla/test
copying build/lib/osm_pla/test/not_yaml_conformant.yaml -> debian/python3-osm-pla/usr/lib/python3/dist-packages/osm_pla/test
copying build/lib/osm_pla/test/test_five_nsd.yaml -> debian/python3-osm-pla/usr/lib/python3/dist-packages/osm_pla/test
copying build/lib/osm_pla/test/test_mznModelGenerator.py -> debian/python3-osm-pla/usr/lib/python3/dist-packages/osm_pla/test
creating debian/python3-osm-pla/usr/lib/python3/dist-packages/osm_pla/server
copying build/lib/osm_pla/server/server.py -> debian/python3-osm-pla/usr/lib/python3/dist-packages/osm_pla/server
warning: install_lib: byte-compiling is disabled, skipping.
running install_egg_info
Copying osm_pla.egg-info to debian/python3-osm-pla/usr/lib/python3/dist-packages/osm_pla-14.0.2+g1390ad3-py3.10.egg-info
running install_scripts
Installing osm-pla-server script to debian/python3-osm-pla/usr/bin
make[1]: Leaving directory '/home/jenkins/workspace/PLA-stage_2-merge_v14.0/deb_dist/osm-pla-14.0.2+g1390ad3'
dh_installdocs -O--buildsystem=python_distutils
dh_installdocs: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh_installchangelogs -O--buildsystem=python_distutils
dh_python3 -O--buildsystem=python_distutils
I: dh_python3 tools:114: replacing shebang in debian/python3-osm-pla/usr/bin/osm-pla-server
dh_installinit -O--buildsystem=python_distutils
dh_installinit: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh_perl -O--buildsystem=python_distutils
dh_link -O--buildsystem=python_distutils
dh_strip_nondeterminism -O--buildsystem=python_distutils
dh_compress -O--buildsystem=python_distutils
dh_compress: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh_fixperms -O--buildsystem=python_distutils
dh_missing -O--buildsystem=python_distutils
dh_missing: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh_installdeb -O--buildsystem=python_distutils
dh_installdeb: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh_gencontrol -O--buildsystem=python_distutils
dh_md5sums -O--buildsystem=python_distutils
dh_builddeb -O--buildsystem=python_distutils
dpkg-deb: building package 'python3-osm-pla' in '../python3-osm-pla_14.0.2+g1390ad3-1_all.deb'.
dpkg-genbuildinfo -O../osm-pla_14.0.2+g1390ad3-1_amd64.buildinfo
dpkg-genchanges -O../osm-pla_14.0.2+g1390ad3-1_amd64.changes
dpkg-genchanges: info: including full source code in upload
dpkg-source --after-build .
dpkg-source: info: using options from osm-pla-14.0.2+g1390ad3/debian/source/options: --extend-diff-ignore=\.egg-info$
dpkg-buildpackage: info: full upload (original source is included)
dist run-test: commands[3] | sh -c 'rm osm_pla/requirements.txt'
rm: cannot remove 'osm_pla/requirements.txt': No such file or directory
ERROR: InvocationError for command /usr/bin/sh -c 'rm osm_pla/requirements.txt' (exited with code 1)
___________________________________ summary ____________________________________
ERROR: dist: commands failed
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
$ docker stop --time=1 4cf8afa3d34f3464cfb395c93a2ab15c9c1630f722a5f63172020bd51ef025b5
$ docker rm -f 4cf8afa3d34f3464cfb395c93a2ab15c9c1630f722a5f63172020bd51ef025b5
[Pipeline] // withDockerContainer
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: script returned exit code 1
Finished: FAILURE