Started by upstream project "PLA-stage_1-merge" build number 53 originally caused by: Triggered by Gerrit: https://osm.etsi.org/gerrit/13729 > 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/v8.0 Seen branch in repository origin/v9.0 Seen 13 remote branches Obtained Jenkinsfile from bc3a87fdbbc0cfcb709498ef48bad67ab8bbf444 Running in Durability level: MAX_SURVIVABILITY [Pipeline] properties [Pipeline] node Running on osm worker 2 in /home/jenkins/workspace/PLA-stage_2-merge_paas [Pipeline] { [Pipeline] checkout No credentials specified Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository https://osm.etsi.org/gerrit/osm/PLA.git > git init /home/jenkins/workspace/PLA-stage_2-merge_paas # timeout=10 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/* > git config remote.origin.url https://osm.etsi.org/gerrit/osm/PLA.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url https://osm.etsi.org/gerrit/osm/PLA.git # timeout=10 Fetching without tags Fetching upstream changes from https://osm.etsi.org/gerrit/osm/PLA.git > git fetch --no-tags --force --progress https://osm.etsi.org/gerrit/osm/PLA.git +refs/heads/*:refs/remotes/origin/* Checking out Revision bc3a87fdbbc0cfcb709498ef48bad67ab8bbf444 (paas) > git config core.sparsecheckout # timeout=10 > git checkout -f bc3a87fdbbc0cfcb709498ef48bad67ab8bbf444 Commit message: "PyYAML fix" > git rev-list --no-walk 3c4a849ca360ab47ba3ef234bbd500b9e77996a0 # timeout=10 [Pipeline] dir Running in /home/jenkins/workspace/PLA-stage_2-merge_paas/devops [Pipeline] { [Pipeline] git No credentials specified Cloning the remote Git repository Cloning repository https://osm.etsi.org/gerrit/osm/devops > git init /home/jenkins/workspace/PLA-stage_2-merge_paas/devops # timeout=10 Fetching upstream changes from https://osm.etsi.org/gerrit/osm/devops > git --version # timeout=10 > git fetch --tags --force --progress https://osm.etsi.org/gerrit/osm/devops +refs/heads/*:refs/remotes/origin/* > git config remote.origin.url https://osm.etsi.org/gerrit/osm/devops # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url https://osm.etsi.org/gerrit/osm/devops # timeout=10 Fetching upstream changes from https://osm.etsi.org/gerrit/osm/devops > git fetch --tags --force --progress https://osm.etsi.org/gerrit/osm/devops +refs/heads/*:refs/remotes/origin/* > git rev-parse refs/remotes/origin/paas^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/paas^{commit} # timeout=10 Checking out Revision 35cfd81f73e286a1ba4edca17a2b516ea44b5adb (refs/remotes/origin/paas) > git config core.sparsecheckout # timeout=10 > git checkout -f 35cfd81f73e286a1ba4edca17a2b516ea44b5adb > git branch -a -v --no-abbrev # timeout=10 > git checkout -b paas 35cfd81f73e286a1ba4edca17a2b516ea44b5adb Commit message: "PyYAML bug workaround" > git rev-list --no-walk 424ad53aec685817378b2c926f196652f56712d4 # 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_paas] Running shell script + env JENKINS_HOME=/var/lib/jenkins SSH_CLIENT=212.234.161.1 25998 22 USER=jenkins RUN_CHANGES_DISPLAY_URL=https://osm.etsi.org/jenkins/job/PLA-stage_2-merge/job/paas/13/display/redirect?page=changes GERRIT_PROJECT=osm/PLA XDG_SESSION_TYPE=tty SHLVL=0 NODE_LABELS=docker osm worker 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/PLA-stage_2-merge/job/paas/13/ HUDSON_COOKIE=d781c1c2-3f97-45e9-8dd1-fe9339601a5c JENKINS_SERVER_COOKIE=durable-1dae813c875eb986a57a927594fff055 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus GERRIT_PATCHSET_REVISION=bc3a87fdbbc0cfcb709498ef48bad67ab8bbf444 WORKSPACE=/home/jenkins/workspace/PLA-stage_2-merge_paas LOGNAME=jenkins NODE_NAME=osm worker 2 GERRIT_BRANCH=paas _=/usr/bin/java RUN_ARTIFACTS_DISPLAY_URL=https://osm.etsi.org/jenkins/job/PLA-stage_2-merge/job/paas/13/display/redirect?page=artifacts XDG_SESSION_CLASS=user EXECUTOR_NUMBER=1 XDG_SESSION_ID=1 RUN_TESTS_DISPLAY_URL=https://osm.etsi.org/jenkins/job/PLA-stage_2-merge/job/paas/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=paas 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-PLA-stage_2-merge-paas-13 JENKINS_URL=https://osm.etsi.org/jenkins/ LANG=C.UTF-8 JOB_URL=https://osm.etsi.org/jenkins/job/PLA-stage_2-merge/job/paas/ BUILD_NUMBER=13 SHELL=/bin/bash RUN_DISPLAY_URL=https://osm.etsi.org/jenkins/job/PLA-stage_2-merge/job/paas/13/display/redirect ARTIFACTORY_SERVER=artifactory-osm GERRIT_REFSPEC=refs/changes/29/13729/1 HUDSON_SERVER_COOKIE=6d3295a483c3e6d5 JOB_DISPLAY_URL=https://osm.etsi.org/jenkins/job/PLA-stage_2-merge/job/paas/display/redirect JOB_NAME=PLA-stage_2-merge/paas TEST_INSTALL=false PWD=/home/jenkins/workspace/PLA-stage_2-merge_paas SSH_CONNECTION=212.234.161.1 25998 172.21.249.2 22 BRANCH_NAME=paas [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Checkout) [Pipeline] sh [PLA-stage_2-merge_paas] Running shell script + git fetch --tags From https://osm.etsi.org/gerrit/osm/PLA * [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-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] 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] v14.0.0 -> v14.0.0 * [new tag] v14.0.0rc1 -> v14.0.0rc1 * [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] 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.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 [PLA-stage_2-merge_paas] Running shell script + git fetch origin refs/changes/29/13729/1 From https://osm.etsi.org/gerrit/osm/PLA * branch refs/changes/29/13729/1 -> FETCH_HEAD [Pipeline] sh [PLA-stage_2-merge_paas] Running shell script + git checkout -f bc3a87fdbbc0cfcb709498ef48bad67ab8bbf444 HEAD is now at bc3a87f PyYAML fix [Pipeline] sh [PLA-stage_2-merge_paas] Running shell script + sudo git clean -dfx [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_paas] Running shell script + docker build --build-arg APT_PROXY=http://172.21.1.1:3142 -t osm/pla-paas . Sending build context to Docker daemon 151.5MB Step 1/11 : FROM ubuntu:22.04 ---> 5a81c4b8502e Step 2/11 : ARG APT_PROXY ---> Using cache ---> 0ad20df48514 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 ---> d85da1c75175 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 ---> c4349b1785e1 Step 5/11 : ENV LC_ALL C.UTF-8 ---> Using cache ---> 27dd56ced3cf Step 6/11 : ENV LANG C.UTF-8 ---> Using cache ---> 9e8bb00a8d6f 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 ---> 7c9882785a50 Step 8/11 : RUN tar -zxf /minizinc.tgz && mv /MiniZincIDE-2.4.2-bundle-linux /minizinc ---> Using cache ---> b78d3a773e02 Step 9/11 : RUN mkdir /entry_data && mkdir /entry_data/mzn-lib && ln -s /entry_data/mzn-lib /minizinc/share/minizinc/exec ---> Using cache ---> 0fd9dde7d3b9 Step 10/11 : ENV FZNEXEC "/entry_data/fzn-exec" ---> Using cache ---> 8d927dff176c Step 11/11 : ENV PATH "/minizinc/bin:${PATH}" ---> Using cache ---> 013a7a97844d Successfully built 013a7a97844d Successfully tagged osm/pla-paas:latest [Pipeline] } [Pipeline] // stage [Pipeline] sh [PLA-stage_2-merge_paas] Running shell script + id -u [Pipeline] sh [PLA-stage_2-merge_paas] Running shell script + id -g [Pipeline] withDockerContainer osm worker 2 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_paas -v /home/jenkins/workspace/PLA-stage_2-merge_paas:/home/jenkins/workspace/PLA-stage_2-merge_paas:rw,z -v /home/jenkins/workspace/PLA-stage_2-merge_paas@tmp:/home/jenkins/workspace/PLA-stage_2-merge_paas@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-paas [Pipeline] { [Pipeline] stage [Pipeline] { (Test) [Pipeline] sh [PLA-stage_2-merge_paas] Running shell script + groupadd -o -g 1001 -r jenkins [Pipeline] sh [PLA-stage_2-merge_paas] Running shell script + pwd + useradd -o -u 1001 -d /home/jenkins/workspace/PLA-stage_2-merge_paas -r -g jenkins jenkins [Pipeline] sh [PLA-stage_2-merge_paas] Running shell script + echo #! /bin/sh [Pipeline] sh [PLA-stage_2-merge_paas] Running shell script + chmod 755 /usr/bin/mesg [Pipeline] sh [PLA-stage_2-merge_paas] Running shell script + runuser jenkins -c devops-stages/stage-test.sh Launching tox ✔ OK black in 8.174 seconds black create: /tmp/.tox/black black installdeps: black black installed: black==23.7.0,click==8.1.6,mypy-extensions==1.0.0,packaging==23.1,pathspec==0.11.1,platformdirs==3.9.1,tomli==2.0.1 black run-test-pre: PYTHONHASHSEED='3852326916' black run-test: commands[0] | black --check --diff osm_pla/ All done! ✨ 🍰 ✨ 13 files would be left unchanged. ✔ OK flake8 in 10.672 seconds flake8 create: /tmp/.tox/flake8 flake8 installdeps: flake8 flake8 develop-inst: /home/jenkins/workspace/PLA-stage_2-merge_paas flake8 installed: flake8==6.0.0,mccabe==0.7.0,-e git+https://osm.etsi.org/gerrit/osm/PLA.git@bc3a87fdbbc0cfcb709498ef48bad67ab8bbf444#egg=osm_pla,pycodestyle==2.10.0,pyflakes==3.0.1 flake8 run-test-pre: PYTHONHASHSEED='3861779795' flake8 run-test: commands[0] | flake8 osm_pla/ setup.py ✔ OK safety in 13.077 seconds safety create: /tmp/.tox/safety safety installdeps: -r/home/jenkins/workspace/PLA-stage_2-merge_paas/requirements.txt, safety safety develop-inst: /home/jenkins/workspace/PLA-stage_2-merge_paas safety installed: certifi==2023.5.7,charset-normalizer==3.2.0,click==8.1.6,dparse==0.6.3,idna==3.4,Jinja2==3.1.2,MarkupSafe==2.1.2,-e git+https://osm.etsi.org/gerrit/osm/PLA.git@bc3a87fdbbc0cfcb709498ef48bad67ab8bbf444#egg=osm_pla,packaging==21.3,pymzn==0.18.3,pyparsing==3.1.0,PyYAML==6.0.1,requests==2.31.0,ruamel.yaml==0.17.32,ruamel.yaml.clib==0.2.7,safety==2.3.5,tomli==2.0.1,urllib3==2.0.4 safety run-test-pre: PYTHONHASHSEED='54474840' 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.5 is scanning for Vulnerabilities...  Scanning dependencies in your environment: -> /home/jenkins/workspace/PLA-stage_2-merge_paas -> /tmp/.tox/safety/lib/python3.10/site-packages Using non-commercial database  Found and scanned 21 packages Timestamp 2023-07-21 17:44:43  2 vulnerabilities found  0 vulnerabilities ignored +==============================================================================+ VULNERABILITIES FOUND +==============================================================================+ -> Vulnerability found in setuptools version 59.6.0  Vulnerability ID: 52495  Affected spec: <65.5.1  ADVISORY: 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://pyup.io/v/52495/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://pyup.io/v/51499/f17 Scan was completed. 2 vulnerabilities were found. +==============================================================================+  REMEDIATIONS 2 vulnerabilities were found in 2 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 32.264 seconds cover create: /tmp/.tox/cover cover installdeps: -r/home/jenkins/workspace/PLA-stage_2-merge_paas/requirements.txt, -r/home/jenkins/workspace/PLA-stage_2-merge_paas/requirements-dev.txt, -r/home/jenkins/workspace/PLA-stage_2-merge_paas/requirements-test.txt cover develop-inst: /home/jenkins/workspace/PLA-stage_2-merge_paas cover installed: aiokafka==0.8.0,async-timeout==4.0.2,coverage==7.2.5,dataclasses==0.6,dnspython==2.3.0,Jinja2==3.1.2,kafka-python==2.0.2,MarkupSafe==2.1.2,mock==5.0.2,motor==3.1.2,nose2==0.13.0,osm-common @ git+https://osm.etsi.org/gerrit/osm/common.git@ff880cf82bd7a80a168e0e4f474fae11dc401da8,-e git+https://osm.etsi.org/gerrit/osm/PLA.git@bc3a87fdbbc0cfcb709498ef48bad67ab8bbf444#egg=osm_pla,packaging==23.1,pycryptodome==3.17,pymongo==4.3.3,pymzn==0.18.3,PyYAML==6.0.1 cover run-test-pre: PYTHONHASHSEED='2808961081' 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_paas/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 1104, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib/python3.10/unittest/mock.py", line 1108, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib/python3.10/unittest/mock.py", line 1163, in _execute_mock_call raise effect RuntimeError: kaboom! .......................................................................... ---------------------------------------------------------------------- Ran 81 tests in 10.549s 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 34.618 seconds pylint create: /tmp/.tox/pylint pylint installdeps: -r/home/jenkins/workspace/PLA-stage_2-merge_paas/requirements.txt, -r/home/jenkins/workspace/PLA-stage_2-merge_paas/requirements-dev.txt, -r/home/jenkins/workspace/PLA-stage_2-merge_paas/requirements-test.txt, pylint pylint develop-inst: /home/jenkins/workspace/PLA-stage_2-merge_paas pylint installed: aiokafka==0.8.0,astroid==2.15.6,async-timeout==4.0.2,coverage==7.2.5,dataclasses==0.6,dill==0.3.6,dnspython==2.3.0,isort==5.12.0,Jinja2==3.1.2,kafka-python==2.0.2,lazy-object-proxy==1.9.0,MarkupSafe==2.1.2,mccabe==0.7.0,mock==5.0.2,motor==3.1.2,nose2==0.13.0,osm-common @ git+https://osm.etsi.org/gerrit/osm/common.git@ff880cf82bd7a80a168e0e4f474fae11dc401da8,-e git+https://osm.etsi.org/gerrit/osm/PLA.git@bc3a87fdbbc0cfcb709498ef48bad67ab8bbf444#egg=osm_pla,packaging==23.1,platformdirs==3.9.1,pycryptodome==3.17,pylint==2.17.4,pymongo==4.3.3,pymzn==0.18.3,PyYAML==6.0.1,tomli==2.0.1,tomlkit==0.11.8,typing_extensions==4.7.1,wrapt==1.15.0 pylint run-test-pre: PYTHONHASHSEED='1878434080' 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 [Cobertura] Publishing Cobertura coverage report... [Pipeline] step [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_paas] Running shell script + runuser jenkins -c devops-stages/stage-build.sh [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive) [Pipeline] sh [PLA-stage_2-merge_paas] Running shell script + runuser jenkins -c mkdir -p changelog [Pipeline] sh [PLA-stage_2-merge_paas] Running shell script + runuser jenkins -c devops/tools/generatechangelog-pipeline.sh > changelog/changelog-PLA.html [Pipeline] sh [PLA-stage_2-merge_paas] 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-PLA/paas/13/pool/PLA/python3-osm-pla_11.0.0.post12%2Bgbc3a87f-1_all.deb [consumer_1] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-PLA/paas/13/changelog/changelog-PLA.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/PLA-stage_2-merge%20::%20paas/13 [Pipeline] sh [PLA-stage_2-merge_paas] Running shell script + env [Pipeline] step Archiving artifacts Recording fingerprints [Pipeline] } [Pipeline] // stage [Pipeline] } $ docker stop --time=1 fb4206c47036f519cc8813e1e888c6be5c4be336d3b916a864ddd19eb6764bb0 $ docker rm -f fb4206c47036f519cc8813e1e888c6be5c4be336d3b916a864ddd19eb6764bb0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (Snap build) [Pipeline] fileExists [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Charm build) [Pipeline] sh [PLA-stage_2-merge_paas] 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] fileExists [Pipeline] fileExists [Pipeline] parallel No branches to run [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline Finished: SUCCESS