Console Output
[PLA-stage_2-merge_v13.0] Running shell script
+ runuser jenkins -c devops-stages/stage-test.sh
Launching tox
✔ OK black in 12.15 seconds
black create: /tmp/.tox/black
black installdeps: black
black installed: black==23.12.1,click==8.1.7,mypy-extensions==1.0.0,packaging==23.2,pathspec==0.12.1,platformdirs==4.1.0,tomli==2.0.1,typing_extensions==4.9.0
black run-test-pre: PYTHONHASHSEED='2232742735'
black run-test: commands[0] | black --check --diff osm_pla/
All done! ✨ 🍰 ✨
13 files would be left unchanged.
✔ OK flake8 in 13.321 seconds
flake8 create: /tmp/.tox/flake8
flake8 installdeps: flake8==5.0.4
flake8 develop-inst: /home/jenkins/workspace/PLA-stage_2-merge_v13.0
flake8 installed: flake8==5.0.4,mccabe==0.7.0,-e git+https://osm.etsi.org/gerrit/osm/PLA.git@e68492d5dcfeece79bac90fccc6a7d326a2923e9#egg=osm_pla,pycodestyle==2.9.1,pyflakes==2.5.0
flake8 run-test-pre: PYTHONHASHSEED='3543458754'
flake8 run-test: commands[0] | flake8 osm_pla/ setup.py
✔ OK safety in 19.213 seconds
safety create: /tmp/.tox/safety
safety installdeps: -r/home/jenkins/workspace/PLA-stage_2-merge_v13.0/requirements.txt, safety
safety develop-inst: /home/jenkins/workspace/PLA-stage_2-merge_v13.0
safety installed: certifi==2023.11.17,charset-normalizer==3.3.2,click==8.1.7,dparse==0.6.3,idna==3.6,Jinja2==3.1.2,MarkupSafe==2.1.1,-e git+https://osm.etsi.org/gerrit/osm/PLA.git@e68492d5dcfeece79bac90fccc6a7d326a2923e9#egg=osm_pla,packaging==21.3,pymzn==0.18.3,pyparsing==3.1.1,PyYAML==5.4.1,requests==2.31.0,ruamel.yaml==0.18.5,ruamel.yaml.clib==0.2.8,safety==2.3.5,tomli==2.0.1,urllib3==2.1.0
safety run-test-pre: PYTHONHASHSEED='329605942'
safety run-test: commands[0] | - safety check --full-report
+==============================================================================+
/$$$$$$ /$$
/$$__ $$ | $$
/$$$$$$$ /$$$$$$ | $$ \__//$$$$$$ /$$$$$$ /$$ /$$
/$$_____/ |____ $$| $$$$ /$$__ $$|_ $$_/ | $$ | $$
| $$$$$$ /$$$$$$$| $$_/ | $$$$$$$$ | $$ | $$ | $$
\____ $$ /$$__ $$| $$ | $$_____/ | $$ /$$| $$ | $$
/$$$$$$$/| $$$$$$$| $$ | $$$$$$$ | $$$$/| $$$$$$$
|_______/ \_______/|__/ \_______/ \___/ \____ $$
/$$ | $$
| $$$$$$/
by pyup.io \______/
+==============================================================================+
[1mREPORT[0m
[31m[22m Safety is using PyUp's free open-source vulnerability database. This
data is 30 days old and limited. [0m
[31m For real-time enhanced vulnerability data, fix recommendations, severity
reporting, cybersecurity support, team and project policy management and more
sign up at https://pyup.io or email sales@pyup.io[0m
Safety [1mv2.3.5[0m is scanning for [1mVulnerabilities[0m[1m...[0m
[1m Scanning dependencies[0m in your [1menvironment:[0m
-> /tmp/.tox/safety/lib/python3.8/site-packages
-> /home/jenkins/workspace/PLA-stage_2-merge_v13.0
Using [1mnon-commercial database[0m
[1m Found and scanned 21 packages[0m
Timestamp [1m2024-01-09 09:51:39[0m
[1m 0[0m[1m vulnerabilities found[0m
[1m 0[0m[1m vulnerabilities ignored[0m
+==============================================================================+
[32m[1mNo known security vulnerabilities found.[0m
+==============================================================================+
[31m[22m Safety is using PyUp's free open-source vulnerability database. This
data is 30 days old and limited. [0m
[31m For real-time enhanced vulnerability data, fix recommendations, severity
reporting, cybersecurity support, team and project policy management and more
sign up at https://pyup.io or email sales@pyup.io[0m
+==============================================================================+[0m
ERROR: invocation failed (exit code 1), logfile: /tmp/.tox/cover/log/cover-0.log
================================== log start ===================================
cover create: /tmp/.tox/cover
cover installdeps: -r/home/jenkins/workspace/PLA-stage_2-merge_v13.0/requirements.txt, -r/home/jenkins/workspace/PLA-stage_2-merge_v13.0/requirements-dev.txt, -r/home/jenkins/workspace/PLA-stage_2-merge_v13.0/requirements-test.txt
ERROR: invocation failed (exit code 2), logfile: /tmp/.tox/cover/log/cover-2.log
================================== log start ===================================
Collecting osm-common@ git+https://osm.etsi.org/gerrit/osm/common.git@v13.0 (from -r /home/jenkins/workspace/PLA-stage_2-merge_v13.0/requirements-dev.txt (line 25))
Cloning https://osm.etsi.org/gerrit/osm/common.git (to revision v13.0) to /tmp/pip-install-hlfp1qhw/osm-common_3f4135eabccf43df8ccf1062b6b5b2ec
Running command git clone --filter=blob:none --quiet https://osm.etsi.org/gerrit/osm/common.git /tmp/pip-install-hlfp1qhw/osm-common_3f4135eabccf43df8ccf1062b6b5b2ec
warning: filtering not recognized by server, ignoring
Running command git checkout -b v13.0 --track origin/v13.0
Switched to a new branch 'v13.0'
Branch 'v13.0' set up to track remote branch 'v13.0' from 'origin'.
Resolved https://osm.etsi.org/gerrit/osm/common.git to commit 303ffe4f33c7a0fcc6b5c267d402c0e7d44e5a57
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting jinja2==3.1.2 (from -r /home/jenkins/workspace/PLA-stage_2-merge_v13.0/requirements.txt (line 17))
Using cached Jinja2-3.1.2-py3-none-any.whl (133 kB)
Collecting markupsafe==2.1.1 (from -r /home/jenkins/workspace/PLA-stage_2-merge_v13.0/requirements.txt (line 19))
Using cached MarkupSafe-2.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB)
Collecting pymzn==0.18.3 (from -r /home/jenkins/workspace/PLA-stage_2-merge_v13.0/requirements.txt (line 21))
Using cached pymzn-0.18.3-py3-none-any.whl (42 kB)
Collecting pyyaml==5.4.1 (from -r /home/jenkins/workspace/PLA-stage_2-merge_v13.0/requirements.txt (line 23))
Using cached PyYAML-5.4.1-cp38-cp38-manylinux1_x86_64.whl (662 kB)
Collecting aiokafka==0.7.2 (from -r /home/jenkins/workspace/PLA-stage_2-merge_v13.0/requirements-dev.txt (line 17))
Downloading aiokafka-0.7.2-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 6.9 MB/s eta 0:00:00
Collecting dataclasses==0.6 (from -r /home/jenkins/workspace/PLA-stage_2-merge_v13.0/requirements-dev.txt (line 19))
Using cached dataclasses-0.6-py3-none-any.whl (14 kB)
Collecting kafka-python==2.0.2 (from -r /home/jenkins/workspace/PLA-stage_2-merge_v13.0/requirements-dev.txt (line 21))
Downloading kafka_python-2.0.2-py2.py3-none-any.whl (246 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 246.5/246.5 kB 11.0 MB/s eta 0:00:00
Collecting pycrypto==2.6.1 (from -r /home/jenkins/workspace/PLA-stage_2-merge_v13.0/requirements-dev.txt (line 27))
Downloading pycrypto-2.6.1.tar.gz (446 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 446.2/446.2 kB 4.5 MB/s eta 0:00:00
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting pymongo==3.12.3 (from -r /home/jenkins/workspace/PLA-stage_2-merge_v13.0/requirements-dev.txt (line 29))
Downloading pymongo-3.12.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (527 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 528.0/528.0 kB 20.7 MB/s eta 0:00:00
Collecting coverage==6.4.1 (from -r /home/jenkins/workspace/PLA-stage_2-merge_v13.0/requirements-test.txt (line 17))
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 919.3 kB/s eta 0:00:00
Collecting mock==4.0.3 (from -r /home/jenkins/workspace/PLA-stage_2-merge_v13.0/requirements-test.txt (line 21))
Downloading mock-4.0.3-py3-none-any.whl (28 kB)
Collecting nose2==0.11.0 (from -r /home/jenkins/workspace/PLA-stage_2-merge_v13.0/requirements-test.txt (line 23))
Downloading nose2-0.11.0-py2.py3-none-any.whl (144 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 144.1/144.1 kB 4.8 MB/s eta 0:00:00
Collecting six==1.16.0 (from -r /home/jenkins/workspace/PLA-stage_2-merge_v13.0/requirements-test.txt (line 25))
Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Building wheels for collected packages: pycrypto, osm-common
Building wheel for pycrypto (setup.py): started
Building wheel for pycrypto (setup.py): finished with status 'done'
Created wheel for pycrypto: filename=pycrypto-2.6.1-cp38-cp38-linux_x86_64.whl size=498614 sha256=ed12a72010b1f1316815d430b4747268215a6842fd514cc922e1b8ef1a56f030
Stored in directory: /home/jenkins/workspace/PLA-stage_2-merge_v13.0/.cache/pip/wheels/d0/99/d0/0298ea019d63f1d63a0965b9944b719e875f9bd6ffc6dcf293
Building wheel for osm-common (setup.py): started
Building wheel for osm-common (setup.py): finished with status 'done'
Created wheel for osm-common: filename=osm_common-13.0.1.post1+g303ffe4-py3-none-any.whl size=73131 sha256=851a5a884614333cc78f48512cbba8c6abf9e7117748a4b1070d13821f14872b
Stored in directory: /tmp/pip-ephem-wheel-cache-gz35nura/wheels/1b/f5/a6/a3f9d9a9dbaa5e84fe94146f157c5f5462e07f52d3f0cc3869
Successfully built pycrypto osm-common
Installing collected packages: pymzn, pycrypto, osm-common, kafka-python, dataclasses, six, pyyaml, pymongo, mock, markupsafe, coverage, aiokafka, nose2, jinja2
ERROR: Exception:
Traceback (most recent call last):
File "/tmp/.tox/cover/lib/python3.8/site-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper
status = run_func(*args)
File "/tmp/.tox/cover/lib/python3.8/site-packages/pip/_internal/cli/req_command.py", line 245, in wrapper
return func(self, options, args)
File "/tmp/.tox/cover/lib/python3.8/site-packages/pip/_internal/commands/install.py", line 452, in run
installed = install_given_reqs(
File "/tmp/.tox/cover/lib/python3.8/site-packages/pip/_internal/req/__init__.py", line 72, in install_given_reqs
requirement.install(
File "/tmp/.tox/cover/lib/python3.8/site-packages/pip/_internal/req/req_install.py", line 847, in install
install_wheel(
File "/tmp/.tox/cover/lib/python3.8/site-packages/pip/_internal/operations/install/wheel.py", line 731, in install_wheel
_install_wheel(
File "/tmp/.tox/cover/lib/python3.8/site-packages/pip/_internal/operations/install/wheel.py", line 591, in _install_wheel
file.save()
File "/tmp/.tox/cover/lib/python3.8/site-packages/pip/_internal/operations/install/wheel.py", line 390, in save
shutil.copyfileobj(f, dest)
File "/usr/lib/python3.8/shutil.py", line 205, in copyfileobj
buf = fsrc_read(length)
File "/usr/lib/python3.8/zipfile.py", line 940, in read
data = self._read1(n)
File "/usr/lib/python3.8/zipfile.py", line 1008, in _read1
data += self._read2(n - len(data))
File "/usr/lib/python3.8/zipfile.py", line 1043, in _read2
raise EOFError
EOFError
[notice] A new release of pip is available: 23.3.1 -> 23.3.2
[notice] To update, run: pip install --upgrade pip
=================================== log end ====================================
ERROR: could not install deps [-r/home/jenkins/workspace/PLA-stage_2-merge_v13.0/requirements.txt, -r/home/jenkins/workspace/PLA-stage_2-merge_v13.0/requirements-dev.txt, -r/home/jenkins/workspace/PLA-stage_2-merge_v13.0/requirements-test.txt]; v = InvocationError('/tmp/.tox/cover/bin/python -m pip install -r/home/jenkins/workspace/PLA-stage_2-merge_v13.0/requirements.txt -r/home/jenkins/workspace/PLA-stage_2-merge_v13.0/requirements-dev.txt -r/home/jenkins/workspace/PLA-stage_2-merge_v13.0/requirements-test.txt', 2)
=================================== log end ====================================
✖ FAIL cover in 31.813 seconds
✔ OK pylint in 54.684 seconds
pylint create: /tmp/.tox/pylint
pylint installdeps: -r/home/jenkins/workspace/PLA-stage_2-merge_v13.0/requirements.txt, -r/home/jenkins/workspace/PLA-stage_2-merge_v13.0/requirements-dev.txt, -r/home/jenkins/workspace/PLA-stage_2-merge_v13.0/requirements-test.txt, pylint
pylint develop-inst: /home/jenkins/workspace/PLA-stage_2-merge_v13.0
pylint installed: aiokafka==0.7.2,astroid==3.0.2,coverage==6.4.1,dataclasses==0.6,dill==0.3.7,isort==5.13.2,Jinja2==3.1.2,kafka-python==2.0.2,MarkupSafe==2.1.1,mccabe==0.7.0,mock==4.0.3,nose2==0.11.0,osm-common @ git+https://osm.etsi.org/gerrit/osm/common.git@303ffe4f33c7a0fcc6b5c267d402c0e7d44e5a57,-e git+https://osm.etsi.org/gerrit/osm/PLA.git@e68492d5dcfeece79bac90fccc6a7d326a2923e9#egg=osm_pla,platformdirs==4.1.0,pycrypto==2.6.1,pylint==3.0.3,pymongo==3.12.3,pymzn==0.18.3,PyYAML==5.4.1,six==1.16.0,tomli==2.0.1,tomlkit==0.12.3,typing_extensions==4.9.0
pylint run-test-pre: PYTHONHASHSEED='201628015'
pylint run-test: commands[0] | pylint -E osm_pla
___________________________________ summary ____________________________________
black: commands succeeded
ERROR: cover: parallel child exit code 1
flake8: commands succeeded
pylint: commands succeeded
safety: commands succeeded