Started by upstream project "buildall-stage_2-merge-v12" build number 400 originally caused by: Started by timer > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to https://osm.etsi.org/gerrit/osm/POL.git > git config remote.origin.url https://osm.etsi.org/gerrit/osm/POL.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/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/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 21 remote branches Obtained Jenkinsfile from 90c437db951c5d9cebac47c65f7aefd2cf6e7577 Running in Durability level: MAX_SURVIVABILITY [Pipeline] properties [Pipeline] node Running on osm-cicd-3 in /home/jenkins/workspace/POL-stage_2-merge_v12.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/POL.git # timeout=10 Fetching without tags Fetching upstream changes from https://osm.etsi.org/gerrit/osm/POL.git > git --version # timeout=10 > git fetch --no-tags --force --progress https://osm.etsi.org/gerrit/osm/POL.git +refs/heads/*:refs/remotes/origin/* Checking out Revision 90c437db951c5d9cebac47c65f7aefd2cf6e7577 (v12.0) > git config core.sparsecheckout # timeout=10 > git checkout -f 90c437db951c5d9cebac47c65f7aefd2cf6e7577 Commit message: "Bug 2113 fix: POL upgrade from v10.1.1 to v12.0.0 fails due to changes in databases" > git rev-list --no-walk 90c437db951c5d9cebac47c65f7aefd2cf6e7577 # timeout=10 [Pipeline] dir Running in /home/jenkins/workspace/POL-stage_2-merge_v12.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/v12.0^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/v12.0^{commit} # timeout=10 Checking out Revision 8e91a950fbfac8777b24f8fc577f7159bce65ee4 (refs/remotes/origin/v12.0) > git config core.sparsecheckout # timeout=10 > git checkout -f 8e91a950fbfac8777b24f8fc577f7159bce65ee4 > git branch -a -v --no-abbrev # timeout=10 > git branch -D v12.0 # timeout=10 > git checkout -b v12.0 8e91a950fbfac8777b24f8fc577f7159bce65ee4 Commit message: "Fix Bug 2338: updated kubernetes apt repo from apt.kubernetes.io to pkgs.k8s.io" > git rev-list --no-walk 8e91a950fbfac8777b24f8fc577f7159bce65ee4 # 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 [POL-stage_2-merge_v12.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/POL-stage_2-merge/job/v12.0/420/display/redirect?page=changes GERRIT_PROJECT=osm/POL 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/POL-stage_2-merge/job/v12.0/420/ HUDSON_COOKIE=7fd6003f-c4cc-4a11-be70-1d4adf7d3341 JENKINS_SERVER_COOKIE=durable-d08bfa8bfb9210d9bb0bd6a995c5dc2f DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus GERRIT_PATCHSET_REVISION=90c437db951c5d9cebac47c65f7aefd2cf6e7577 WORKSPACE=/home/jenkins/workspace/POL-stage_2-merge_v12.0 LOGNAME=jenkins NODE_NAME=osm-cicd-3 GERRIT_BRANCH=v12.0 _=/usr/bin/java RUN_ARTIFACTS_DISPLAY_URL=https://osm.etsi.org/jenkins/job/POL-stage_2-merge/job/v12.0/420/display/redirect?page=artifacts XDG_SESSION_CLASS=user EXECUTOR_NUMBER=0 XDG_SESSION_ID=2057 RUN_TESTS_DISPLAY_URL=https://osm.etsi.org/jenkins/job/POL-stage_2-merge/job/v12.0/420/display/redirect?page=tests BUILD_DISPLAY_NAME=#420 PROJECT_URL_PREFIX=https://osm.etsi.org/gerrit HUDSON_HOME=/var/lib/jenkins JOB_BASE_NAME=v12.0 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin BUILD_ID=420 XDG_RUNTIME_DIR=/run/user/1001 BUILD_TAG=jenkins-POL-stage_2-merge-v12.0-420 JENKINS_URL=https://osm.etsi.org/jenkins/ LANG=C.UTF-8 JOB_URL=https://osm.etsi.org/jenkins/job/POL-stage_2-merge/job/v12.0/ BUILD_NUMBER=420 SHELL=/bin/bash RUN_DISPLAY_URL=https://osm.etsi.org/jenkins/job/POL-stage_2-merge/job/v12.0/420/display/redirect ARTIFACTORY_SERVER=artifactory-osm GERRIT_REFSPEC=refs/changes/52/12352/3 HUDSON_SERVER_COOKIE=6d3295a483c3e6d5 JOB_DISPLAY_URL=https://osm.etsi.org/jenkins/job/POL-stage_2-merge/job/v12.0/display/redirect JOB_NAME=POL-stage_2-merge/v12.0 TEST_INSTALL=false PWD=/home/jenkins/workspace/POL-stage_2-merge_v12.0 SSH_CONNECTION=212.234.161.1 32791 172.21.249.3 22 BRANCH_NAME=v12.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Checkout) [Pipeline] sh [POL-stage_2-merge_v12.0] Running shell script + git fetch --tags [Pipeline] sh [POL-stage_2-merge_v12.0] Running shell script + git fetch origin refs/changes/52/12352/3 From https://osm.etsi.org/gerrit/osm/POL * branch refs/changes/52/12352/3 -> FETCH_HEAD [Pipeline] sh [POL-stage_2-merge_v12.0] Running shell script + git checkout -f 90c437db951c5d9cebac47c65f7aefd2cf6e7577 HEAD is now at 90c437d Bug 2113 fix: POL upgrade from v10.1.1 to v12.0.0 fails due to changes in databases [Pipeline] sh [POL-stage_2-merge_v12.0] Running shell script + sudo git clean -dfx Removing .cache/ Removing .coverage Removing .local/ Removing .safety/ Removing build.env Removing changelog/ Removing cover/ Removing coverage.xml Removing deb_dist/ Removing dist/ Removing dists/ Removing nosetests.xml Removing osm_policy_module-12.0.8+g90c437d.tar.gz Removing osm_policy_module.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 [POL-stage_2-merge_v12.0] Running shell script + docker build --build-arg APT_PROXY=http://172.21.1.1:3142 -t osm/pol-v12.0 . Sending build context to Docker daemon 53.4MB Step 1/6 : FROM ubuntu:20.04 ---> 33985b2ba010 Step 2/6 : ARG APT_PROXY ---> Using cache ---> 372ac0b66c5e Step 3/6 : RUN if [ ! -z $APT_PROXY ] ; then echo "Acquire::http::Proxy \"$APT_PROXY\";" > /etc/apt/apt.conf.d/proxy.conf ; echo "Acquire::https::Proxy \"$APT_PROXY\";" >> /etc/apt/apt.conf.d/proxy.conf ; fi ---> Using cache ---> 69e5ff866c0a Step 4/6 : RUN DEBIAN_FRONTEND=noninteractive apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y install debhelper dh-python git python3 python3-all python3-dev python3-setuptools ---> Using cache ---> ffcf621a7c1e Step 5/6 : RUN python3 -m easy_install pip==21.3.1 ---> Using cache ---> d4a058d96aed Step 6/6 : RUN pip install tox==3.24.5 ---> Using cache ---> 0960b7a4f9c0 Successfully built 0960b7a4f9c0 Successfully tagged osm/pol-v12.0:latest [Pipeline] } [Pipeline] // stage [Pipeline] sh [POL-stage_2-merge_v12.0] Running shell script + id -u [Pipeline] sh [POL-stage_2-merge_v12.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/POL-stage_2-merge_v12.0 -v /home/jenkins/workspace/POL-stage_2-merge_v12.0:/home/jenkins/workspace/POL-stage_2-merge_v12.0:rw,z -v /home/jenkins/workspace/POL-stage_2-merge_v12.0@tmp:/home/jenkins/workspace/POL-stage_2-merge_v12.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/pol-v12.0 [Pipeline] { [Pipeline] stage [Pipeline] { (Test) [Pipeline] sh [POL-stage_2-merge_v12.0] Running shell script + groupadd -o -g 1001 -r jenkins [POL-stage_2-merge_v12.0] Running shell script [Pipeline] sh + pwd + useradd -o -u 1001 -d /home/jenkins/workspace/POL-stage_2-merge_v12.0 -r -g jenkins jenkins [Pipeline] sh [POL-stage_2-merge_v12.0] Running shell script + echo #! /bin/sh [Pipeline] sh [POL-stage_2-merge_v12.0] Running shell script + chmod 755 /usr/bin/mesg [Pipeline] sh [POL-stage_2-merge_v12.0] Running shell script + runuser jenkins -c devops-stages/stage-test.sh Launching tox ✔ OK flake8 in 25.612 seconds flake8 create: /tmp/.tox/flake8 flake8 installdeps: flake8 flake8 develop-inst: /home/jenkins/workspace/POL-stage_2-merge_v12.0 flake8 installed: flake8==7.0.0,mccabe==0.7.0,-e git+https://osm.etsi.org/gerrit/osm/POL.git@90c437db951c5d9cebac47c65f7aefd2cf6e7577#egg=osm_policy_module,pycodestyle==2.11.1,pyflakes==3.2.0 flake8 run-test-pre: PYTHONHASHSEED='3735799251' flake8 run-test: commands[0] | flake8 osm_policy_module/ setup.py ✔ OK black in 28.12 seconds black create: /tmp/.tox/black black installdeps: black black installed: black==24.4.0,click==8.1.7,mypy-extensions==1.0.0,packaging==24.0,pathspec==0.12.1,platformdirs==4.2.0,tomli==2.0.1,typing_extensions==4.11.0 black run-test-pre: PYTHONHASHSEED='3400825748' black run-test: commands[0] | black --check --diff osm_policy_module/ All done! ✨ 🍰 ✨ 47 files would be left unchanged. black run-test: commands[1] | black --check --diff setup.py All done! ✨ 🍰 ✨ 1 file would be left unchanged. ERROR: invocation failed (exit code 1), logfile: /tmp/.tox/pylint/log/pylint-0.log ================================== log start =================================== pylint create: /tmp/.tox/pylint pylint installdeps: -r/home/jenkins/workspace/POL-stage_2-merge_v12.0/requirements.txt, -r/home/jenkins/workspace/POL-stage_2-merge_v12.0/requirements-dev.txt, -r/home/jenkins/workspace/POL-stage_2-merge_v12.0/requirements-test.txt, pylint ERROR: invocation failed (exit code 1), logfile: /tmp/.tox/pylint/log/pylint-2.log ================================== log start =================================== Collecting osm-common@ git+https://osm.etsi.org/gerrit/osm/common.git@v12.0 (from -r /home/jenkins/workspace/POL-stage_2-merge_v12.0/requirements-dev.txt (line 25)) Cloning https://osm.etsi.org/gerrit/osm/common.git (to revision v12.0) to /tmp/pip-install-o5fs1fq_/osm-common_f6ec949cb5b44dc7ab639b381526212a Running command git clone --filter=blob:none --quiet https://osm.etsi.org/gerrit/osm/common.git /tmp/pip-install-o5fs1fq_/osm-common_f6ec949cb5b44dc7ab639b381526212a warning: filtering not recognized by server, ignoring Running command git checkout -b v12.0 --track origin/v12.0 Switched to a new branch 'v12.0' Branch 'v12.0' set up to track remote branch 'v12.0' from 'origin'. Resolved https://osm.etsi.org/gerrit/osm/common.git to commit 6aaeaa389273ec46b469f79f3c9b47cf3249bd74 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting pylint Downloading pylint-3.1.0-py3-none-any.whl.metadata (12 kB) Collecting aiokafka==0.7.2 (from -r /home/jenkins/workspace/POL-stage_2-merge_v12.0/requirements.txt (line 17)) Using cached aiokafka-0.7.2-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.metadata (17 kB) Collecting cached-property==1.5.2 (from -r /home/jenkins/workspace/POL-stage_2-merge_v12.0/requirements.txt (line 19)) Using cached cached_property-1.5.2-py2.py3-none-any.whl.metadata (11 kB) Collecting certifi==2022.6.15 (from -r /home/jenkins/workspace/POL-stage_2-merge_v12.0/requirements.txt (line 21)) Using cached certifi-2022.6.15-py3-none-any.whl.metadata (2.8 kB) Collecting charset-normalizer==2.0.12 (from -r /home/jenkins/workspace/POL-stage_2-merge_v12.0/requirements.txt (line 23)) Using cached charset_normalizer-2.0.12-py3-none-any.whl.metadata (11 kB) Collecting click==8.1.3 (from -r /home/jenkins/workspace/POL-stage_2-merge_v12.0/requirements.txt (line 25)) Using cached click-8.1.3-py3-none-any.whl.metadata (3.2 kB) Collecting idna==3.3 (from -r /home/jenkins/workspace/POL-stage_2-merge_v12.0/requirements.txt (line 27)) Using cached idna-3.3-py3-none-any.whl.metadata (9.8 kB) Collecting jsonschema==2.6.0 (from -r /home/jenkins/workspace/POL-stage_2-merge_v12.0/requirements.txt (line 29)) Using cached jsonschema-2.6.0-py2.py3-none-any.whl.metadata (4.6 kB) Collecting kafka-python==2.0.2 (from -r /home/jenkins/workspace/POL-stage_2-merge_v12.0/requirements.txt (line 31)) Using cached kafka_python-2.0.2-py2.py3-none-any.whl.metadata (7.8 kB) Collecting mock==4.0.3 (from -r /home/jenkins/workspace/POL-stage_2-merge_v12.0/requirements.txt (line 33)) Using cached mock-4.0.3-py3-none-any.whl.metadata (2.8 kB) Collecting peewee==3.8.2 (from -r /home/jenkins/workspace/POL-stage_2-merge_v12.0/requirements.txt (line 35)) Using cached peewee-3.8.2.tar.gz (816 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting peewee-migrate==1.1.6 (from -r /home/jenkins/workspace/POL-stage_2-merge_v12.0/requirements.txt (line 39)) Using cached peewee_migrate-1.1.6-py2.py3-none-any.whl.metadata (6.1 kB) Collecting pymysql==0.9.3 (from -r /home/jenkins/workspace/POL-stage_2-merge_v12.0/requirements.txt (line 41)) Using cached PyMySQL-0.9.3-py2.py3-none-any.whl.metadata (5.2 kB) Collecting pyyaml==5.4.1 (from -r /home/jenkins/workspace/POL-stage_2-merge_v12.0/requirements.txt (line 43)) Using cached PyYAML-5.4.1-cp38-cp38-manylinux1_x86_64.whl.metadata (2.1 kB) Collecting requests==2.28.0 (from -r /home/jenkins/workspace/POL-stage_2-merge_v12.0/requirements.txt (line 45)) Using cached requests-2.28.0-py3-none-any.whl.metadata (4.6 kB) Collecting urllib3==1.26.9 (from -r /home/jenkins/workspace/POL-stage_2-merge_v12.0/requirements.txt (line 47)) Using cached urllib3-1.26.9-py2.py3-none-any.whl.metadata (46 kB) Collecting dataclasses==0.6 (from -r /home/jenkins/workspace/POL-stage_2-merge_v12.0/requirements-dev.txt (line 19)) Using cached dataclasses-0.6-py3-none-any.whl.metadata (3.0 kB) Collecting pycrypto==2.6.1 (from -r /home/jenkins/workspace/POL-stage_2-merge_v12.0/requirements-dev.txt (line 27)) Using cached pycrypto-2.6.1.tar.gz (446 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting pymongo==3.12.3 (from -r /home/jenkins/workspace/POL-stage_2-merge_v12.0/requirements-dev.txt (line 29)) Using cached pymongo-3.12.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (9.8 kB) Collecting coverage==6.4.1 (from -r /home/jenkins/workspace/POL-stage_2-merge_v12.0/requirements-test.txt (line 17)) Using cached coverage-6.4.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (8.1 kB) Collecting nose2==0.11.0 (from -r /home/jenkins/workspace/POL-stage_2-merge_v12.0/requirements-test.txt (line 23)) Downloading nose2-0.11.0-py2.py3-none-any.whl.metadata (6.8 kB) Collecting six==1.16.0 (from -r /home/jenkins/workspace/POL-stage_2-merge_v12.0/requirements-test.txt (line 25)) Downloading six-1.16.0-py2.py3-none-any.whl.metadata (1.8 kB) Collecting platformdirs>=2.2.0 (from pylint) Using cached platformdirs-4.2.0-py3-none-any.whl.metadata (11 kB) Collecting astroid<=3.2.0-dev0,>=3.1.0 (from pylint) Downloading astroid-3.1.0-py3-none-any.whl.metadata (4.5 kB) Collecting isort!=5.13.0,<6,>=4.2.5 (from pylint) Downloading isort-5.13.2-py3-none-any.whl.metadata (12 kB) Collecting mccabe<0.8,>=0.6 (from pylint) Using cached mccabe-0.7.0-py2.py3-none-any.whl.metadata (5.0 kB) Collecting tomlkit>=0.10.1 (from pylint) Downloading tomlkit-0.12.4-py3-none-any.whl.metadata (2.7 kB) Collecting typing-extensions>=3.10.0 (from pylint) Using cached typing_extensions-4.11.0-py3-none-any.whl.metadata (3.0 kB) Collecting dill>=0.2 (from pylint) Downloading dill-0.3.8-py3-none-any.whl.metadata (10 kB) Collecting tomli>=1.1.0 (from pylint) Using cached tomli-2.0.1-py3-none-any.whl.metadata (8.9 kB) Using cached aiokafka-0.7.2-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.2 MB) Using cached cached_property-1.5.2-py2.py3-none-any.whl (7.6 kB) Using cached certifi-2022.6.15-py3-none-any.whl (160 kB) Using cached charset_normalizer-2.0.12-py3-none-any.whl (39 kB) Using cached click-8.1.3-py3-none-any.whl (96 kB) Using cached idna-3.3-py3-none-any.whl (61 kB) Using cached jsonschema-2.6.0-py2.py3-none-any.whl (39 kB) Using cached kafka_python-2.0.2-py2.py3-none-any.whl (246 kB) Using cached mock-4.0.3-py3-none-any.whl (28 kB) Downloading peewee_migrate-1.1.6-py2.py3-none-any.whl (16 kB) Downloading PyMySQL-0.9.3-py2.py3-none-any.whl (47 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 47.7/47.7 kB 56.9 kB/s eta 0:00:00 Downloading PyYAML-5.4.1-cp38-cp38-manylinux1_x86_64.whl (662 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 662.4/662.4 kB 2.4 MB/s eta 0:00:00 Downloading requests-2.28.0-py3-none-any.whl (62 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.8/62.8 kB 184.1 kB/s eta 0:00:00 Using cached urllib3-1.26.9-py2.py3-none-any.whl (138 kB) Downloading dataclasses-0.6-py3-none-any.whl (14 kB) Downloading pymongo-3.12.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (527 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 528.0/528.0 kB 18.1 MB/s eta 0:00:00 Downloading coverage-6.4.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (213 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 213.3/213.3 kB 2.3 MB/s eta 0:00:00 Downloading nose2-0.11.0-py2.py3-none-any.whl (144 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 144.1/144.1 kB 2.0 MB/s eta 0:00:00 Downloading six-1.16.0-py2.py3-none-any.whl (11 kB) Downloading pylint-3.1.0-py3-none-any.whl (515 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 515.6/515.6 kB 10.9 MB/s eta 0:00:00 Downloading astroid-3.1.0-py3-none-any.whl (275 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 275.6/275.6 kB 7.5 MB/s eta 0:00:00 Downloading dill-0.3.8-py3-none-any.whl (116 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 116.3/116.3 kB 1.6 MB/s eta 0:00:00 Downloading isort-5.13.2-py3-none-any.whl (92 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 92.3/92.3 kB 2.4 MB/s eta 0:00:00 Using cached mccabe-0.7.0-py2.py3-none-any.whl (7.3 kB) Using cached platformdirs-4.2.0-py3-none-any.whl (17 kB) Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Downloading tomlkit-0.12.4-py3-none-any.whl (37 kB) Using cached typing_extensions-4.11.0-py3-none-any.whl (34 kB) Building wheels for collected packages: peewee, pycrypto, osm-common Building wheel for peewee (setup.py): started Building wheel for peewee (setup.py): finished with status 'done' Created wheel for peewee: filename=peewee-3.8.2-cp38-cp38-linux_x86_64.whl size=156200 sha256=e8f526e2c6c4346321f3c70eaf57fc476a183643e4723044751e5ce4e5114c5a Stored in directory: /home/jenkins/workspace/POL-stage_2-merge_v12.0/.cache/pip/wheels/f0/11/74/d5c4df68a1514aeeae7914a7c2aecba0d3fe36df8c1d272bc5 ERROR: Wheel 'peewee' located at /home/jenkins/workspace/POL-stage_2-merge_v12.0/.cache/pip/wheels/f0/11/74/d5c4df68a1514aeeae7914a7c2aecba0d3fe36df8c1d272bc5/peewee-3.8.2-cp38-cp38-linux_x86_64.whl is invalid. =================================== log end ==================================== ERROR: could not install deps [-r/home/jenkins/workspace/POL-stage_2-merge_v12.0/requirements.txt, -r/home/jenkins/workspace/POL-stage_2-merge_v12.0/requirements-dev.txt, -r/home/jenkins/workspace/POL-stage_2-merge_v12.0/requirements-test.txt, pylint]; v = InvocationError('/tmp/.tox/pylint/bin/python -m pip install -r/home/jenkins/workspace/POL-stage_2-merge_v12.0/requirements.txt -r/home/jenkins/workspace/POL-stage_2-merge_v12.0/requirements-dev.txt -r/home/jenkins/workspace/POL-stage_2-merge_v12.0/requirements-test.txt pylint', 1) =================================== log end ==================================== ✖ FAIL pylint in 43.777 seconds ✔ OK safety in 1 minute, 23.13 seconds safety create: /tmp/.tox/safety safety installdeps: -r/home/jenkins/workspace/POL-stage_2-merge_v12.0/requirements.txt, safety safety develop-inst: /home/jenkins/workspace/POL-stage_2-merge_v12.0 safety installed: aiokafka==0.7.2,annotated-types==0.6.0,Authlib==1.3.0,cached-property==1.5.2,certifi==2022.6.15,cffi==1.16.0,charset-normalizer==2.0.12,click==8.1.3,cryptography==42.0.5,dparse==0.6.4b0,idna==3.3,Jinja2==3.1.3,jsonschema==2.6.0,kafka-python==2.0.2,markdown-it-py==3.0.0,MarkupSafe==2.1.5,marshmallow==3.21.1,mdurl==0.1.2,mock==4.0.3,-e git+https://osm.etsi.org/gerrit/osm/POL.git@90c437db951c5d9cebac47c65f7aefd2cf6e7577#egg=osm_policy_module,packaging==24.0,peewee==3.8.2,peewee-migrate==1.1.6,pycparser==2.22,pydantic==2.7.0,pydantic_core==2.18.1,Pygments==2.17.2,PyMySQL==0.9.3,PyYAML==5.4.1,requests==2.28.0,rich==13.7.1,ruamel.yaml==0.18.6,ruamel.yaml.clib==0.2.8,safety==3.1.0,safety-schemas==0.0.2,shellingham==1.5.4,tomli==2.0.1,typer==0.12.3,typing_extensions==4.11.0,urllib3==1.26.9 safety run-test-pre: PYTHONHASHSEED='4193902625' safety run-test: commands[0] | - safety check --full-report +==============================================================================+ /$$$$$$ /$$ /$$__ $$ | $$ /$$$$$$$ /$$$$$$ | $$ \__//$$$$$$ /$$$$$$ /$$ /$$ /$$_____/ |____ $$| $$$$ /$$__ $$|_ $$_/ | $$ | $$ | $$$$$$ /$$$$$$$| $$_/ | $$$$$$$$ | $$ | $$ | $$ \____ $$ /$$__ $$| $$ | $$_____/ | $$ /$$| $$ | $$ /$$$$$$$/| $$$$$$$| $$ | $$$$$$$ | $$$$/| $$$$$$$ |_______/ \_______/|__/ \_______/ \___/ \____ $$ /$$ | $$ | $$$$$$/ by safetycli.com \______/ +==============================================================================+ 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 v3.1.0 is scanning for Vulnerabilities...  Scanning dependencies in your environment: -> /usr/lib/python3.8/lib-dynload -> /home/jenkins/workspace/POL-stage_2-merge_v12.0 -> /tmp/.tox/safety/lib/python3.8/site-packages -> /usr/lib/python38.zip -> /tmp/.tox/safety/bin -> /usr/lib/python3.8 Using open-source vulnerability database  Found and scanned 43 packages Timestamp 2024-04-22 08:28:28  6 vulnerabilities reported  0 vulnerabilities ignored +==============================================================================+ VULNERABILITIES REPORTED +==============================================================================+ -> Vulnerability found in urllib3 version 1.26.9  Vulnerability ID: 61893  Affected spec: <1.26.18  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 about this vulnerability, visit https://data.safetycli.com/v/61893/97c To ignore this vulnerability, use PyUp vulnerability id 61893 in safety’s ignore command-line argument or add the ignore to your safety policy file. -> Vulnerability found in urllib3 version 1.26.9  Vulnerability ID: 61601  Affected spec: <1.26.17  ADVISORY: Urllib3 1.26.17 and 2.0.5 include a fix for CVE-2023-43804: Urllib3 doesn't treat the 'Cookie' HTTP header special or provide any helpers for managing cookies over HTTP, that is the responsibility of the user. However, it is possible for a user to specify a 'Cookie' header and unknowingly leak information via HTTP redirects to a different origin if that user doesn't disable redirects explicitly.https:/ /github.com/urllib3/urllib3/security/advisories/GHSA-v845-jxx5-vc9f  CVE-2023-43804  For more information about this vulnerability, visit https://data.safetycli.com/v/61601/97c To ignore this vulnerability, use PyUp vulnerability id 61601 in safety’s ignore command-line argument or add the ignore to your safety policy file. -> Vulnerability found in requests version 2.28.0  Vulnerability ID: 58755  Affected spec: >=2.3.0,<2.31.0  ADVISORY: Requests 2.31.0 includes a fix for CVE-2023-32681: Since Requests 2.3.0, Requests has been leaking Proxy-Authorization headers to destination servers when redirected to an HTTPS endpoint. This is a product of how we use 'rebuild_proxies' to reattach the 'Proxy- Authorization' header to requests. For HTTP connections sent through the tunnel, the proxy will identify the header in the request itself and remove it prior to forwarding to the destination server. However when sent over HTTPS, the 'Proxy-Authorization' header must be sent in the CONNECT request as the proxy has no visibility into the tunneled request. This results in Requests forwarding proxy credentials to the destination server unintentionally, allowing a malicious actor to potentially exfiltrate sensitive information.  CVE-2023-32681  For more information about this vulnerability, visit https://data.safetycli.com/v/58755/97c To ignore this vulnerability, use PyUp vulnerability id 58755 in safety’s ignore command-line argument or add the ignore to your safety policy file. -> Vulnerability found in peewee version 3.8.2  Vulnerability ID: 64952  Affected spec: <3.17.1  ADVISORY: Peewee 3.17.1 introduces enhancements to address a race condition issue by implementing stricter locking mechanisms around pool connection management.https://github.com/coleifer/peewee/commit/ea3fb11a9c 2a4b0cd958a453dd287e408477eda5  PVE-2024-64952  For more information about this vulnerability, visit https://data.safetycli.com/v/64952/97c To ignore this vulnerability, use PyUp vulnerability id 64952 in safety’s ignore command-line argument or add the ignore to your safety policy file. -> Vulnerability found in certifi version 2022.6.15  Vulnerability ID: 52365  Affected spec: <2022.12.07  ADVISORY: Certifi 2022.12.07 includes a fix for CVE-2022-23491: Certifi 2022.12.07 removes root certificates from "TrustCor" from the root store. These are in the process of being removed from Mozilla's trust store. TrustCor's root certificates are being removed pursuant to an investigation prompted by media reporting that TrustCor's ownership also operated a business that produced spyware. Conclusions of Mozilla's investigation can be found in the linked google group discussion.https://github.com/certifi/python- certifi/security/advisories/GHSA-43fp- rhv2-5gv8https://groups.google.com/a/mozilla.org/g/dev-security- policy/c/oxX69KFvsm4/m/yLohoVqtCgAJ  CVE-2022-23491  For more information about this vulnerability, visit https://data.safetycli.com/v/52365/97c To ignore this vulnerability, use PyUp vulnerability id 52365 in safety’s ignore command-line argument or add the ignore to your safety policy file. -> Vulnerability found in certifi version 2022.6.15  Vulnerability ID: 59956  Affected spec: >=2015.04.28,<2023.07.22  ADVISORY: Certifi 2023.07.22 includes a fix for CVE-2023-37920: Certifi prior to version 2023.07.22 recognizes "e-Tugra" root certificates. e-Tugra's root certificates were subject to an investigation prompted by reporting of security issues in their systems. Certifi 2023.07.22 removes root certificates from "e-Tugra" from the root store.https://github.com/certifi/python-certifi/security/advisories/GHSA- xqr8-7jwr-rhp7  CVE-2023-37920  For more information about this vulnerability, visit https://data.safetycli.com/v/59956/97c To ignore this vulnerability, use PyUp vulnerability id 59956 in safety’s ignore command-line argument or add the ignore to your safety policy file. +==============================================================================+ REMEDIATIONS 6 vulnerabilities were reported in 4 packages. For detailed remediation & fix recommendations, upgrade to a commercial license. +==============================================================================+ Scan was completed. 6 vulnerabilities were reported. +==============================================================================+  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, 32.583 seconds cover create: /tmp/.tox/cover cover installdeps: -r/home/jenkins/workspace/POL-stage_2-merge_v12.0/requirements.txt, -r/home/jenkins/workspace/POL-stage_2-merge_v12.0/requirements-dev.txt, -r/home/jenkins/workspace/POL-stage_2-merge_v12.0/requirements-test.txt cover develop-inst: /home/jenkins/workspace/POL-stage_2-merge_v12.0 cover installed: aiokafka==0.7.2,cached-property==1.5.2,certifi==2022.6.15,charset-normalizer==2.0.12,click==8.1.3,coverage==6.4.1,dataclasses==0.6,idna==3.3,jsonschema==2.6.0,kafka-python==2.0.2,mock==4.0.3,nose2==0.11.0,osm_common @ git+https://osm.etsi.org/gerrit/osm/common.git@6aaeaa389273ec46b469f79f3c9b47cf3249bd74,-e git+https://osm.etsi.org/gerrit/osm/POL.git@90c437db951c5d9cebac47c65f7aefd2cf6e7577#egg=osm_policy_module,peewee==3.8.2,peewee-migrate==1.1.6,pycrypto==2.6.1,pymongo==3.12.3,PyMySQL==0.9.3,PyYAML==5.4.1,requests==2.28.0,six==1.16.0,urllib3==1.26.9 cover run-test-pre: PYTHONHASHSEED='1825737249' 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_policy_module INFO:osm_policy_module.alarming.service:Executing request to url http://alarm-url/ for vnf alarm test_id with status alarm Executing request to url http://alarm-url/ for vnf alarm test_id with status alarm Executing request to url http://alarm-url/ for vnf alarm test_id with status alarm INFO:osm_policy_module.alarming.service:Response Response Response ..INFO:osm_policy_module.alarming.service:Executing request to url http://insufficient-data-url/ for vnf alarm test_id with status insufficient-data Executing request to url http://insufficient-data-url/ for vnf alarm test_id with status insufficient-data Executing request to url http://insufficient-data-url/ for vnf alarm test_id with status insufficient-data INFO:osm_policy_module.alarming.service:Response Response Response .INFO:osm_policy_module.alarming.service:Executing request to url http://ok-url/ for vnf alarm test_id with status ok Executing request to url http://ok-url/ for vnf alarm test_id with status ok Executing request to url http://ok-url/ for vnf alarm test_id with status ok INFO:osm_policy_module.alarming.service:Response Response Response ...INFO:osm_policy_module.autoscaling.service:Sending scale_in action message for ns: test_nsr_id Sending scale_in action message for ns: test_nsr_id Sending scale_in action message for ns: test_nsr_id .INFO:osm_policy_module.autoscaling.service:Sending scale_in action message for ns: test_nsr_id Sending scale_in action message for ns: test_nsr_id Sending scale_in action message for ns: test_nsr_id .INFO:osm_policy_module.autoscaling.service:Sending scale_in action message for ns: test_nsr_id Sending scale_in action message for ns: test_nsr_id Sending scale_in action message for ns: test_nsr_id ..INFO:osm_policy_module.autoscaling.service:Sending scale_out action message for ns: test_nsr_id Sending scale_out action message for ns: test_nsr_id Sending scale_out action message for ns: test_nsr_id .INFO:osm_policy_module.autoscaling.service:Sending scale_out action message for ns: test_nsr_id Sending scale_out action message for ns: test_nsr_id Sending scale_out action message for ns: test_nsr_id .INFO:osm_policy_module.autoscaling.service:Sending scale_out action message for ns: test_nsr_id Sending scale_out action message for ns: test_nsr_id Sending scale_out action message for ns: test_nsr_id .....INFO:osm_policy_module.healing.service:HealingService Initialized HealingService Initialized HealingService Initialized INFO:osm_policy_module.healing.service:Constructor created for HealingService Constructor created for HealingService Constructor created for HealingService .INFO:osm_policy_module.healing.service:HealingService Initialized HealingService Initialized HealingService Initialized INFO:osm_policy_module.healing.service:Constructor created for HealingService Constructor created for HealingService Constructor created for HealingService INFO:osm_policy_module.core.agent:Configuring nsr_id: test_nsr_id Configuring nsr_id: test_nsr_id Configuring nsr_id: test_nsr_id INFO:osm_policy_module.core.agent:Network_service is not in COMPLETED or PARTIALLY_COMPLETED state. Current state is FAILED. Skipping... Network_service is not in COMPLETED or PARTIALLY_COMPLETED state. Current state is FAILED. Skipping... Network_service is not in COMPLETED or PARTIALLY_COMPLETED state. Current state is FAILED. Skipping... .INFO:osm_policy_module.healing.service:HealingService Initialized HealingService Initialized HealingService Initialized INFO:osm_policy_module.healing.service:Constructor created for HealingService Constructor created for HealingService Constructor created for HealingService INFO:osm_policy_module.core.agent:_handle_policy_update: {'nsr_id': 'test_nsr_id', 'vnf_member_index': '1', 'operationState': 'COMPLETED'} _handle_policy_update: {'nsr_id': 'test_nsr_id', 'vnf_member_index': '1', 'operationState': 'COMPLETED'} _handle_policy_update: {'nsr_id': 'test_nsr_id', 'vnf_member_index': '1', 'operationState': 'COMPLETED'} INFO:osm_policy_module.core.agent:Updating policies of VNF with nsr_id: test_nsr_id and vnf-member-index: 1 Updating policies of VNF with nsr_id: test_nsr_id and vnf-member-index: 1 Updating policies of VNF with nsr_id: test_nsr_id and vnf-member-index: 1 INFO:osm_policy_module.core.agent:_handle_policy_update: {'nsr_id': 'test_nsr_id', 'vnf_member_index': '1', 'operationState': 'FAILED'} _handle_policy_update: {'nsr_id': 'test_nsr_id', 'vnf_member_index': '1', 'operationState': 'FAILED'} _handle_policy_update: {'nsr_id': 'test_nsr_id', 'vnf_member_index': '1', 'operationState': 'FAILED'} INFO:osm_policy_module.core.agent:Network service is not in COMPLETED or PARTIALLY_COMPLETED state. Current state is FAILED. Skipping... Network service is not in COMPLETED or PARTIALLY_COMPLETED state. Current state is FAILED. Skipping... Network service is not in COMPLETED or PARTIALLY_COMPLETED state. Current state is FAILED. Skipping... .INFO:osm_policy_module.healing.service:HealingService Initialized HealingService Initialized HealingService Initialized INFO:osm_policy_module.healing.service:Constructor created for HealingService Constructor created for HealingService Constructor created for HealingService INFO:osm_policy_module.core.agent:Deleting policies of VNF with nsr_id: test_nsr_id and vnf-member-index: 1 Deleting policies of VNF with nsr_id: test_nsr_id and vnf-member-index: 1 Deleting policies of VNF with nsr_id: test_nsr_id and vnf-member-index: 1 INFO:osm_policy_module.core.agent:Network service is not in COMPLETED or PARTIALLY_COMPLETED state. Current state is FAILED. Skipping... Network service is not in COMPLETED or PARTIALLY_COMPLETED state. Current state is FAILED. Skipping... Network service is not in COMPLETED or PARTIALLY_COMPLETED state. Current state is FAILED. Skipping... ...INFO:osm_policy_module.healing.service:HealingService Initialized HealingService Initialized HealingService Initialized INFO:osm_policy_module.healing.service:Constructor created for HealingService Constructor created for HealingService Constructor created for HealingService INFO:osm_policy_module.healing.service:Configuring Healing alarm for NS test_nsr_id Configuring Healing alarm for NS test_nsr_id Configuring Healing alarm for NS test_nsr_id .INFO:osm_policy_module.healing.service:HealingService Initialized HealingService Initialized HealingService Initialized INFO:osm_policy_module.healing.service:Constructor created for HealingService Constructor created for HealingService Constructor created for HealingService INFO:osm_policy_module.autoscaling.service:Configuring scaling groups for network service with nsr_id: test_nsr_id Configuring scaling groups for network service with nsr_id: test_nsr_id Configuring scaling groups for network service with nsr_id: test_nsr_id .INFO:osm_policy_module.healing.service:HealingService Initialized HealingService Initialized HealingService Initialized INFO:osm_policy_module.healing.service:Constructor created for HealingService Constructor created for HealingService Constructor created for HealingService INFO:osm_policy_module.alarming.service:Configuring vnf alarms for network service test_nsr_id Configuring vnf alarms for network service test_nsr_id Configuring vnf alarms for network service test_nsr_id .ERROR:aiokafka:Unable connect to "kafka:9092": [Errno -2] Name or service not known Unable connect to "kafka:9092": [Errno -2] Name or service not known Unable connect to "kafka:9092": [Errno -2] Name or service not known s ERROR:asyncio:Unclosed AIOKafkaProducer producer: Unclosed AIOKafkaProducer producer: Unclosed AIOKafkaProducer producer: ---------------------------------------------------------------------- Ran 27 tests in 2.158s OK (skipped=1) Name Stmts Miss Cover ------------------------------------------------------------------------------------------ osm_policy_module/__init__.py 0 0 100% osm_policy_module/alarming/__init__.py 0 0 100% osm_policy_module/alarming/service.py 173 80 54% osm_policy_module/autoscaling/__init__.py 0 0 100% osm_policy_module/autoscaling/service.py 246 91 63% osm_policy_module/cmd/__init__.py 0 0 100% osm_policy_module/cmd/policy_module_agent.py 34 34 0% osm_policy_module/cmd/policy_module_healthcheck.py 30 30 0% osm_policy_module/common/__init__.py 0 0 100% osm_policy_module/common/common_db_client.py 35 17 51% osm_policy_module/common/lcm_client.py 45 25 44% osm_policy_module/common/message_bus_client.py 22 2 91% osm_policy_module/common/mon_client.py 81 63 22% osm_policy_module/core/__init__.py 0 0 100% osm_policy_module/core/agent.py 115 50 57% osm_policy_module/core/config.py 39 11 72% osm_policy_module/core/database.py 166 23 86% osm_policy_module/core/exceptions.py 4 0 100% osm_policy_module/healing/__init__.py 0 0 100% osm_policy_module/healing/service.py 137 86 37% osm_policy_module/migrations/001_initial.py 50 50 0% osm_policy_module/migrations/002_add_vnf_alarm.py 25 25 0% osm_policy_module/migrations/003_add_fields_to_policy.py 7 7 0% osm_policy_module/migrations/004_add_fields_to_alarm.py 7 7 0% osm_policy_module/migrations/005_change_vnf_index_member_to_str.py 11 11 0% osm_policy_module/migrations/006_add_heal_alarm.py 24 24 0% osm_policy_module/migrations/007_add_vnf_alarm_fields.py 7 7 0% osm_policy_module/migrations/__init__.py 0 0 100% osm_policy_module/migrations/conf.py 2 2 0% osm_policy_module/tests/__init__.py 0 0 100% osm_policy_module/tests/integration/__init__.py 0 0 100% osm_policy_module/tests/integration/test_kafka_messages.py 44 14 68% osm_policy_module/tests/integration/test_policy_agent.py 124 2 98% osm_policy_module/tests/unit/__init__.py 0 0 100% osm_policy_module/tests/unit/alarming/__init__.py 0 0 100% osm_policy_module/tests/unit/alarming/test_alarming_service.py 83 6 93% osm_policy_module/tests/unit/autoscaling/__init__.py 0 0 100% osm_policy_module/tests/unit/autoscaling/test_autoscaling_service.py 177 0 100% osm_policy_module/tests/unit/common/__init__.py 0 0 100% osm_policy_module/tests/unit/common/test_message_bus_client.py 41 1 98% osm_policy_module/tests/unit/core/__init__.py 0 0 100% osm_policy_module/tests/unit/core/test_policy_agent.py 148 2 99% osm_policy_module/tests/unit/utils/__init__.py 0 0 100% osm_policy_module/tests/unit/utils/test_vnfd_utils.py 19 0 100% osm_policy_module/utils/__init__.py 0 0 100% osm_policy_module/utils/vnfd.py 14 0 100% ------------------------------------------------------------------------------------------ TOTAL 1910 670 65% cover run-test: commands[3] | coverage report '--omit=*tests*' Name Stmts Miss Cover ---------------------------------------------------------------------------------------- osm_policy_module/__init__.py 0 0 100% osm_policy_module/alarming/__init__.py 0 0 100% osm_policy_module/alarming/service.py 173 80 54% osm_policy_module/autoscaling/__init__.py 0 0 100% osm_policy_module/autoscaling/service.py 246 91 63% osm_policy_module/cmd/__init__.py 0 0 100% osm_policy_module/cmd/policy_module_agent.py 34 34 0% osm_policy_module/cmd/policy_module_healthcheck.py 30 30 0% osm_policy_module/common/__init__.py 0 0 100% osm_policy_module/common/common_db_client.py 35 17 51% osm_policy_module/common/lcm_client.py 45 25 44% osm_policy_module/common/message_bus_client.py 22 2 91% osm_policy_module/common/mon_client.py 81 63 22% osm_policy_module/core/__init__.py 0 0 100% osm_policy_module/core/agent.py 115 50 57% osm_policy_module/core/config.py 39 11 72% osm_policy_module/core/database.py 166 23 86% osm_policy_module/core/exceptions.py 4 0 100% osm_policy_module/healing/__init__.py 0 0 100% osm_policy_module/healing/service.py 137 86 37% osm_policy_module/migrations/001_initial.py 50 50 0% osm_policy_module/migrations/002_add_vnf_alarm.py 25 25 0% osm_policy_module/migrations/003_add_fields_to_policy.py 7 7 0% osm_policy_module/migrations/004_add_fields_to_alarm.py 7 7 0% osm_policy_module/migrations/005_change_vnf_index_member_to_str.py 11 11 0% osm_policy_module/migrations/006_add_heal_alarm.py 24 24 0% osm_policy_module/migrations/007_add_vnf_alarm_fields.py 7 7 0% osm_policy_module/migrations/__init__.py 0 0 100% osm_policy_module/migrations/conf.py 2 2 0% osm_policy_module/utils/__init__.py 0 0 100% osm_policy_module/utils/vnfd.py 14 0 100% ---------------------------------------------------------------------------------------- TOTAL 1274 645 49% 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 ___________________________________ summary ____________________________________ black: commands succeeded cover: commands succeeded flake8: commands succeeded ERROR: pylint: parallel child exit code 1 safety: commands succeeded [Pipeline] } [Pipeline] // stage [Pipeline] } $ docker stop --time=1 95ad4e77016da289680ddb347510287a2a566d97728c4a2fd03bcb0feb6571f7 $ docker rm -f 95ad4e77016da289680ddb347510287a2a566d97728c4a2fd03bcb0feb6571f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline ERROR: script returned exit code 1 Finished: FAILURE