SuccessConsole Output

Started by upstream project "buildall-stage_2-merge-master" build number 408
originally caused by:
 Started by timer
 > git rev-parse --is-inside-work-tree # timeout=10
Setting origin to https://osm.etsi.org/gerrit/osm/common.git
 > git config remote.origin.url https://osm.etsi.org/gerrit/osm/common.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/v3.1
Seen branch in repository origin/v4.0
Seen branch in repository origin/v5.0
Seen branch in repository origin/v6.0
Seen branch in repository origin/v7.0
Seen branch in repository origin/v8.0
Seen branch in repository origin/v9.0
Seen 23 remote branches
Obtained Jenkinsfile from 409397d74a1a9dd1257a55b6c9ae02a7b8bf1bdd
Running in Durability level: MAX_SURVIVABILITY
[Pipeline] properties
[Pipeline] node
Running on osm-cicd-3 in /home/jenkins/workspace/common-stage_2-merge_master
[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/common.git # timeout=10
Fetching without tags
Fetching upstream changes from https://osm.etsi.org/gerrit/osm/common.git
 > git --version # timeout=10
 > git fetch --no-tags --force --progress https://osm.etsi.org/gerrit/osm/common.git +refs/heads/*:refs/remotes/origin/*
Checking out Revision 409397d74a1a9dd1257a55b6c9ae02a7b8bf1bdd (master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 409397d74a1a9dd1257a55b6c9ae02a7b8bf1bdd
Commit message: "Enable parallel execution and output of tox env"
 > git rev-list --no-walk 409397d74a1a9dd1257a55b6c9ae02a7b8bf1bdd # timeout=10
[Pipeline] dir
Running in /home/jenkins/workspace/common-stage_2-merge_master/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/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 7abbfd5aed5bd744d5f49ee834f89822136ca6cc (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 7abbfd5aed5bd744d5f49ee834f89822136ca6cc
 > git branch -a -v --no-abbrev # timeout=10
 > git branch -D master # timeout=10
 > git checkout -b master 7abbfd5aed5bd744d5f49ee834f89822136ca6cc
Commit message: "Move lcm certificate to lcm folder in OSM helm chart"
 > git rev-list --no-walk 7abbfd5aed5bd744d5f49ee834f89822136ca6cc # 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
[common-stage_2-merge_master] 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/common-stage_2-merge/job/master/539/display/redirect?page=changes
GERRIT_PROJECT=osm/common
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/common-stage_2-merge/job/master/539/
HUDSON_COOKIE=99240449-6576-4213-85a7-a2016c8ba36b
JENKINS_SERVER_COOKIE=durable-c643b386ce5df813d3267d519e49c94d
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus
GERRIT_PATCHSET_REVISION=409397d74a1a9dd1257a55b6c9ae02a7b8bf1bdd
WORKSPACE=/home/jenkins/workspace/common-stage_2-merge_master
LOGNAME=jenkins
NODE_NAME=osm-cicd-3
GERRIT_BRANCH=master
_=/usr/bin/java
RUN_ARTIFACTS_DISPLAY_URL=https://osm.etsi.org/jenkins/job/common-stage_2-merge/job/master/539/display/redirect?page=artifacts
XDG_SESSION_CLASS=user
EXECUTOR_NUMBER=1
XDG_SESSION_ID=2057
RUN_TESTS_DISPLAY_URL=https://osm.etsi.org/jenkins/job/common-stage_2-merge/job/master/539/display/redirect?page=tests
BUILD_DISPLAY_NAME=#539
PROJECT_URL_PREFIX=https://osm.etsi.org/gerrit
HUDSON_HOME=/var/lib/jenkins
JOB_BASE_NAME=master
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
BUILD_ID=539
XDG_RUNTIME_DIR=/run/user/1001
BUILD_TAG=jenkins-common-stage_2-merge-master-539
JENKINS_URL=https://osm.etsi.org/jenkins/
LANG=C.UTF-8
JOB_URL=https://osm.etsi.org/jenkins/job/common-stage_2-merge/job/master/
BUILD_NUMBER=539
SHELL=/bin/bash
RUN_DISPLAY_URL=https://osm.etsi.org/jenkins/job/common-stage_2-merge/job/master/539/display/redirect
ARTIFACTORY_SERVER=artifactory-osm
GERRIT_REFSPEC=refs/changes/18/14318/2
HUDSON_SERVER_COOKIE=6d3295a483c3e6d5
JOB_DISPLAY_URL=https://osm.etsi.org/jenkins/job/common-stage_2-merge/job/master/display/redirect
JOB_NAME=common-stage_2-merge/master
TEST_INSTALL=false
PWD=/home/jenkins/workspace/common-stage_2-merge_master
SSH_CONNECTION=212.234.161.1 32791 172.21.249.3 22
BRANCH_NAME=master
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Checkout)
[Pipeline] sh
[common-stage_2-merge_master] Running shell script
+ git fetch --tags
[Pipeline] sh
[common-stage_2-merge_master] Running shell script
+ git fetch origin refs/changes/18/14318/2
From https://osm.etsi.org/gerrit/osm/common
 * branch            refs/changes/18/14318/2 -> FETCH_HEAD
[Pipeline] sh
[common-stage_2-merge_master] Running shell script
+ git checkout -f 409397d74a1a9dd1257a55b6c9ae02a7b8bf1bdd
HEAD is now at 409397d Enable parallel execution and output of tox env
[Pipeline] sh
[common-stage_2-merge_master] 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_common-15.0.0.post1+ga690b2c.tar.gz
Removing osm_common.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
Not checking release notes for merge job
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Docker-Build)
[Pipeline] sh
[common-stage_2-merge_master] Running shell script
+ docker build --build-arg APT_PROXY=http://172.21.1.1:3142 -t osm/common-master .
Sending build context to Docker daemon    155MB

Step 1/6 : FROM ubuntu:22.04
 ---> 7af9ba4f0a47
Step 2/6 : ARG APT_PROXY
 ---> Using cache
 ---> d50ca342415e
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
 ---> 265432e9f109
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         python3-pip         tox
 ---> Using cache
 ---> 0f750d866464
Step 5/6 : ENV LC_ALL C.UTF-8
 ---> Using cache
 ---> 9121483f8815
Step 6/6 : ENV LANG C.UTF-8
 ---> Using cache
 ---> bbd96c40957d
Successfully built bbd96c40957d
Successfully tagged osm/common-master:latest
[Pipeline] }
[Pipeline] // stage
[Pipeline] sh
[common-stage_2-merge_master] Running shell script
+ id -u
[Pipeline] sh
[common-stage_2-merge_master] 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/common-stage_2-merge_master -v /home/jenkins/workspace/common-stage_2-merge_master:/home/jenkins/workspace/common-stage_2-merge_master:rw,z -v /home/jenkins/workspace/common-stage_2-merge_master@tmp:/home/jenkins/workspace/common-stage_2-merge_master@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/common-master
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Test)
[Pipeline] sh
[common-stage_2-merge_master] Running shell script
+ groupadd -o -g 1001 -r jenkins
[common-stage_2-merge_master] Running shell script
[Pipeline] sh
+ pwd
+ useradd -o -u 1001 -d /home/jenkins/workspace/common-stage_2-merge_master -r -g jenkins jenkins
[Pipeline] sh
[common-stage_2-merge_master] Running shell script
+ echo #! /bin/sh
[common-stage_2-merge_master] Running shell script
[Pipeline] sh
+ chmod 755 /usr/bin/mesg
[Pipeline] sh
[common-stage_2-merge_master] Running shell script
+ runuser jenkins -c devops-stages/stage-test.sh
Launching tox
✔ OK black in 11.758 seconds
black create: /tmp/.tox/black
black installdeps: black==23.12.1
black installed: black==23.12.1,click==8.1.7,mypy-extensions==1.0.0,packaging==24.0,pathspec==0.12.1,platformdirs==4.2.1,tomli==2.0.1,typing_extensions==4.11.0
black run-test-pre: PYTHONHASHSEED='1897964021'
black run-test: commands[0] | black --check --diff osm_common/
All done! ✨ 🍰 ✨
25 files would be left unchanged.
black run-test: commands[1] | black --check --diff setup.py
All done! ✨ 🍰 ✨
1 file would be left unchanged.

✔ OK flake8 in 16.896 seconds
flake8 create: /tmp/.tox/flake8
flake8 installdeps: flake8==6.0.0, flake8-import-order
flake8 develop-inst: /home/jenkins/workspace/common-stage_2-merge_master
flake8 installed: flake8==6.0.0,flake8-import-order==0.18.2,mccabe==0.7.0,-e git+https://osm.etsi.org/gerrit/osm/common.git@409397d74a1a9dd1257a55b6c9ae02a7b8bf1bdd#egg=osm_common,pycodestyle==2.10.0,pyflakes==3.0.1
flake8 run-test-pre: PYTHONHASHSEED='1073619079'
flake8 run-test: commands[0] | flake8 osm_common/ setup.py

✔ OK cover in 29.156 seconds
cover create: /tmp/.tox/cover
cover installdeps: -r/home/jenkins/workspace/common-stage_2-merge_master/requirements.txt, -r/home/jenkins/workspace/common-stage_2-merge_master/requirements-test.txt
cover develop-inst: /home/jenkins/workspace/common-stage_2-merge_master
cover installed: aiokafka==0.8.1,async-timeout==4.0.3,coverage==7.3.1,dataclasses==0.6,dnspython==2.4.2,exceptiongroup==1.1.3,iniconfig==2.0.0,kafka-python==2.0.2,motor==3.3.1,nose2==0.13.0,-e git+https://osm.etsi.org/gerrit/osm/common.git@409397d74a1a9dd1257a55b6c9ae02a7b8bf1bdd#egg=osm_common,packaging==23.1,pluggy==1.3.0,pycryptodome==3.19.0,pymongo==4.5.0,pytest==7.4.2,PyYAML==6.0.1,tomli==2.0.1
cover run-test-pre: PYTHONHASHSEED='2589161818'
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_common -s osm_common/tests
.....ERROR:db:database exception Cannot set 'a.6', index too large '6' occured while updating DB.
ERROR:db:database exception Cannot set 'd.b.c', not existing 'b' occured while updating DB.
...ERROR:db:database exception Cannot set 'd.b.c', not existing 'b' occured while updating DB.
ERROR:db:'b' occured while updating DB.
ERROR:db:database exception Cannot set 'a.6', index too large '6' occured while updating DB.
...tmp/example_tar/
tmp/example_tar/directory/
tmp/example_tar/directory/file
tmp/example_tar/symlinks/
tmp/example_tar/symlinks/file_link
tmp/example_tar/symlinks/directory_link
.......................................................................................
----------------------------------------------------------------------
Ran 98 tests in 0.525s

OK
Name                                Stmts   Miss  Cover
-------------------------------------------------------
osm_common/__init__.py                  8      2    75%
osm_common/common_utils.py             10      2    80%
osm_common/dbbase.py                  322     46    86%
osm_common/dbmemory.py                341    217    36%
osm_common/dbmongo.py                 251    218    13%
osm_common/fsbase.py                   45     20    56%
osm_common/fslocal.py                 103     78    24%
osm_common/fsmongo.py                 379    237    37%
osm_common/msgbase.py                  31     13    58%
osm_common/msgkafka.py                 78     78     0%
osm_common/msglocal.py                101     79    22%
osm_common/sol004_package.py           36     36     0%
osm_common/sol007_package.py           32     32     0%
osm_common/sol_package.py             158    158     0%
osm_common/tests/test_dbbase.py       890     32    96%
osm_common/tests/test_dbmemory.py     346    190    45%
osm_common/tests/test_dbmongo.py       80     38    52%
osm_common/tests/test_fsbase.py        50     31    38%
osm_common/tests/test_fslocal.py      204    136    33%
osm_common/tests/test_fsmongo.py      224     76    66%
osm_common/tests/test_msgbase.py       37     20    46%
osm_common/tests/test_msglocal.py     274    203    26%
-------------------------------------------------------
TOTAL                                4000   1942    51%

({'A': ['a', 'b', 'a']}, {'A': {'$a': None}}, {'A': ['b']})
({'A': ['a', 'b', 'a']}, {'A': {'$d': None}}, {'A': ['a', 'b', 'a']})
({'A': ['a', 'b', 'c']}, {'A': {'$b': None, '$+[0]': 'b'}}, {'A': ['b', 'a', 'c']})
({'A': ['a', 'b', 'a']}, {'A': {'$a': None, '$[1]': {'c': 'd'}}}, {'A': [{'c': 'd'}]})
({'A': ['a', 'b', 'c']}, {'A': {'$+b': 'b'}}, {'A': ['a', 'b', 'c']})
({'A': ['a', 'b', 'c']}, {'A': {'$+d': 'f'}}, {'A': ['a', 'b', 'c', 'f']})
({'A': ['a', 'b', 'a']}, {'A': {'$b': {'c': 'd'}}}, {'A': ['a', {'c': 'd'}, 'a']})
({'A': ['a', 'b', 'a']}, {'A': {'$b': None, '$+[0]': 'b', '$+': 'c'}}, {'A': ['b', 'a', 'a', 'c']})
({'A': ['a', 'b', 'a']}, {'A': {'$c': None}}, {'A': ['a', 'b', 'a']})
({'A': ['a', 'b', 'a']}, {'A': {'$[5]': None}}, {'A': ['a', 'b', 'a']})
({'A': ['a', 'b', {'id': '1', 'c': {'d': 2}}]}, {'A': {"$id: '1'": {'h': None, 'c': {'d': 'e', 'f': 'g'}}}}, {'A': ['a', 'b', {'id': '1', 'c': {'d': 'e', 'f': 'g'}}]})
({'A': [{'id': 1, 'c': {'d': 2}}, {'id': 1, 'c': {'f': []}}]}, {'A': {'$id: 1': {'h': None, 'c': {'d': 'e', 'f': 'g'}}}}, {'A': [{'id': 1, 'c': {'d': 'e', 'f': 'g'}}, {'id': 1, 'c': {'d': 'e', 'f': 'g'}}]})
({'A': ['a', 'b', ['a', 'b']]}, {'A': {'$b': None, '$[2]': {'$b': {}, '$+': 'c'}}}, {'A': ['a', ['a', {}, 'c']]})
({'A': ['a', {'id': '1', 'c': 'd'}]}, {'A': {'$id: 1': {'c': 'e'}}}, {'A': ['a', {'id': '1', 'c': 'd'}]})
({'A': ['a', 'b', 'a']}, {'A': {'$a': None, '$[0]': {'c': 'd'}}})
database exception Conflict at 'A:$[0]'. Several editions on array index 0
({'A': ['a', 'b', 'a']}, {'A': {'$[1]': 'c', '$[-2]': 'd'}})
database exception Conflict at 'A:$[-2]'. Several editions on array index 1
({'A': ['a', 'b', 'a']}, {'A': {'$[1]': 'c', '$[+1]': 'd'}})
database exception Conflict at 'A:$[+1]'. Several editions on array index 1
({'A': ['a', 'b', 'a']}, {'A': {'$b': {'c': 'd'}, 'c': 3}})
database exception Found array edition (keys starting with '$') and pure dictionary edition in the same dict at 'A'
({'A': ['a', 'b', 'a']}, {'A': {'$': 3}})
database exception Wrong format at 'A:$'. Expecting '$+', '$[<index]' or '$[<filter>]'
({'A': ['a', 'b', 'a']}, {'A': {'$a: b: c': 3}})
database exception Wrong format at 'A:$a: b: c'. Expecting '$<yaml-format>'
({'A': ['a', 'b', 'a']}, {'A': {'$a: b, c: d': 3}})
database exception Wrong format at 'A:$a: b, c: d'. Expecting '$<yaml-format>'
({'A': ['a', 'b', 'a']}, {'A': {'$+': None}})
database exception A value of None has not sense for insertions at 'A:$+'
({'A': ['a', 'b', 'a']}, {'A': {'$+c': None}})
database exception A value of None has not sense for insertions at 'A:$+c'
({'A': ['a', 'b', 'a']}, {'A': {'$[5]': 6}})
database exception Array edition index out of range at 'A:5'
({'A': ['a', {'id': '1', 'c': 'd'}]}, {'A': {"$id: '1'": {'c': 'e'}, '$c: d': {'c': 'f'}}})
database exception Conflict at 'A:$c: d'. Several editions on array index 1
cover run-test: commands[3] | coverage report '--omit=*tests*'
Name                                Stmts   Miss  Cover
-------------------------------------------------------
osm_common/__init__.py                  8      2    75%
osm_common/common_utils.py             10      2    80%
osm_common/dbbase.py                  322     46    86%
osm_common/dbmemory.py                341    217    36%
osm_common/dbmongo.py                 251    218    13%
osm_common/fsbase.py                   45     20    56%
osm_common/fslocal.py                 103     78    24%
osm_common/fsmongo.py                 379    237    37%
osm_common/msgbase.py                  31     13    58%
osm_common/msgkafka.py                 78     78     0%
osm_common/msglocal.py                101     79    22%
osm_common/sol004_package.py           36     36     0%
osm_common/sol007_package.py           32     32     0%
osm_common/sol_package.py             158    158     0%
osm_common/tests/test_dbbase.py       890     32    96%
osm_common/tests/test_dbmemory.py     346    190    45%
osm_common/tests/test_dbmongo.py       80     38    52%
osm_common/tests/test_fsbase.py        50     31    38%
osm_common/tests/test_fslocal.py      204    136    33%
osm_common/tests/test_fsmongo.py      224     76    66%
osm_common/tests/test_msgbase.py       37     20    46%
osm_common/tests/test_msglocal.py     274    203    26%
-------------------------------------------------------
TOTAL                                4000   1942    51%
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 37.067 seconds
pylint create: /tmp/.tox/pylint
pylint installdeps: -r/home/jenkins/workspace/common-stage_2-merge_master/requirements.txt, -r/home/jenkins/workspace/common-stage_2-merge_master/requirements-test.txt, pylint
pylint develop-inst: /home/jenkins/workspace/common-stage_2-merge_master
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,exceptiongroup==1.1.3,iniconfig==2.0.0,isort==5.13.2,kafka-python==2.0.2,mccabe==0.7.0,motor==3.3.1,nose2==0.13.0,-e git+https://osm.etsi.org/gerrit/osm/common.git@409397d74a1a9dd1257a55b6c9ae02a7b8bf1bdd#egg=osm_common,packaging==23.1,platformdirs==4.2.1,pluggy==1.3.0,pycryptodome==3.19.0,pylint==3.1.0,pymongo==4.5.0,pytest==7.4.2,PyYAML==6.0.1,tomli==2.0.1,tomlkit==0.12.4,typing_extensions==4.11.0
pylint run-test-pre: PYTHONHASHSEED='1830085953'
pylint run-test: commands[0] | pylint -E osm_common

✔ OK safety in 40.188 seconds
safety create: /tmp/.tox/safety
safety installdeps: -r/home/jenkins/workspace/common-stage_2-merge_master/requirements.txt, safety
safety develop-inst: /home/jenkins/workspace/common-stage_2-merge_master
safety installed: aiokafka==0.8.1,annotated-types==0.6.0,async-timeout==4.0.3,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,dataclasses==0.6,dnspython==2.4.2,dparse==0.6.4b0,idna==3.7,Jinja2==3.1.3,kafka-python==2.0.2,markdown-it-py==3.0.0,MarkupSafe==2.1.5,marshmallow==3.21.1,mdurl==0.1.2,motor==3.3.1,-e git+https://osm.etsi.org/gerrit/osm/common.git@409397d74a1a9dd1257a55b6c9ae02a7b8bf1bdd#egg=osm_common,packaging==23.1,pycparser==2.22,pycryptodome==3.19.0,pydantic==2.7.1,pydantic_core==2.18.2,Pygments==2.17.2,pymongo==4.5.0,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.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==2.2.1
safety run-test-pre: PYTHONHASHSEED='89071100'
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:

  -> /tmp/.tox/safety/bin
  -> /usr/lib/python3.10
  -> /tmp/.tox/safety/lib/python3.10/site-packages
  -> /home/jenkins/workspace/common-stage_2-merge_master
  -> /usr/lib/python3.10/lib-dynload
  -> /usr/lib/python310.zip

  Using open-source vulnerability database
  Found and scanned 43 packages
  Timestamp 2024-04-25 09:01:36
  6 vulnerabilities reported
  0 vulnerabilities ignored

+==============================================================================+
 VULNERABILITIES REPORTED 
+==============================================================================+

-> 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 about this vulnerability, visit
   https://data.safetycli.com/v/51499/97c
   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.


-> Vulnerability found in pycryptodome version 3.19.0
   Vulnerability ID: 63680
   Affected spec: <3.20.0
   ADVISORY: Pycryptodome 3.20.0 addresses a vulnerability in the
   OAEP decryption process, which previously had a side-channel leakage
   issue. This vulnerability could potentially be exploited through a Manger
   attack, a type of cryptographic attack. The resolution of this issue
   enhances the security of the library, especially in its handling of OAEP d
   ecryption.https://github.com/Legrandin/pycryptodome/commit/0deea1bfe1489e8
   c80d2053bbb06a1aa0b181ebd
   PVE-2024-63680
   For more information about this vulnerability, visit
   https://data.safetycli.com/v/63680/97c
   To ignore this vulnerability, use PyUp vulnerability id 63680 in safety’s
   ignore command-line argument or add the ignore to your safety policy file.


-> Vulnerability found in pycryptodome version 3.19.0
   Vulnerability ID: 65207
   Affected spec: >=0,<3.19.1
   ADVISORY: PyCryptodome and pycryptodomex before 3.19.1 allow side-
   channel leakage for OAEP decryption, exploitable for a Manger attack.
   CVE-2023-52323
   For more information about this vulnerability, visit
   https://data.safetycli.com/v/65207/97c
   To ignore this vulnerability, use PyUp vulnerability id 65207 in safety’s
   ignore command-line argument or add the ignore to your safety policy file.


-> Vulnerability found in pip version 22.0.2
   Vulnerability ID: 62044
   Affected spec: <23.3
   ADVISORY: Affected 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.
   CVE-2023-5752
   For more information about this vulnerability, visit
   https://data.safetycli.com/v/62044/97c
   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.


-> Vulnerability found in dnspython version 2.4.2
   Vulnerability ID: 66710
   Affected spec: <2.6.1
   ADVISORY: The dnspython stub resolver is vulnerable to a potential
   DoS if a bad-in-some-way response from the right address and port forged
   by an attacker arrives before a legitimate one on the UDP port dnspython
   is using for that query.
   CVE-2023-29483
   For more information about this vulnerability, visit
   https://data.safetycli.com/v/66710/97c
   To ignore this vulnerability, use PyUp vulnerability id 66710 in safety’s
   ignore command-line argument or add the ignore to your safety policy file.


-> Vulnerability found in dnspython version 2.4.2
   Vulnerability ID: 65401
   Affected spec: <2.6.0
   ADVISORY: Dnspython 2.6.0 fixes a DoS vulnerability highlighted in
   the "TuDoor" paper (CVE-2023-29483), where spoofed DNS responses could
   disrupt service. The update prevents denial of service by ignoring
   malicious packets, allowing the resolver to wait for valid responses until
   a query's timeout. This mitigation ensures continued service despite
   attempted attacks, enhancing the resolver's reliability and security.
   PVE-2024-65401
   For more information about this vulnerability, visit
   https://data.safetycli.com/v/65401/97c
   To ignore this vulnerability, use PyUp vulnerability id 65401 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

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

___________________________________ 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
[common-stage_2-merge_master] Running shell script
+ runuser jenkins -c devops-stages/stage-build.sh
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Archive)
[Pipeline] sh
[common-stage_2-merge_master] Running shell script
+ runuser jenkins -c mkdir -p changelog
[Pipeline] sh
[common-stage_2-merge_master] Running shell script
+ runuser jenkins -c devops/tools/generatechangelog-pipeline.sh > changelog/changelog-common.html
[Pipeline] sh
[common-stage_2-merge_master] 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-common/master/539/pool/common/python3-osm-common_15.0.0.post3%2Bg409397d-1_all.deb
[consumer_1] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-common/master/539/changelog/changelog-common.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/common-stage_2-merge%20::%20master/539
[Pipeline] sh
[common-stage_2-merge_master] Running shell script
+ env
[Pipeline] step
Archiving artifacts
Recording fingerprints
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
$ docker stop --time=1 016285132d52d56832d2c7d1feed73e4b76440b54856aead1b139c29d14111c1
$ docker rm -f 016285132d52d56832d2c7d1feed73e4b76440b54856aead1b139c29d14111c1
[Pipeline] // withDockerContainer
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS