[tests-stage_2_paas] Running shell script
+ runuser jenkins -c devops-stages/stage-test.sh
Checking syntax of Robot tests
Checking tabs in robot files. No tabs should be present
No tabs are present in robot files. Correct!
Checking param separation in robot files. Three spaces is the recommendation, instead of two
No presence of two spaces to separate params in robot files. Correct!
Checking param separation in robot files. Three spaces is the recommendation, instead of four or more
Only three spaces must be used between params in robot files. Correct!
Checking CRLF terminators in robot files. No CRLF should be found
No presence of CRLF terminators in robot files. Correct!
Checking spaces at the end of lines in robot files. No spaces at EOL should be found
No presence of spaces at EOL in robot files. Correct!
Launching tox
✔ OK black in 5.701 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='3336886270'
black run-test: commands[0] | black --check --diff robot-systest --fast
All done! ✨ 🍰 ✨
11 files would be left unchanged.
✔ OK flake8 in 8.586 seconds
flake8 create: /tmp/.tox/flake8
flake8 installdeps: flake8
flake8 develop-inst: /home/jenkins/workspace/tests-stage_2_paas
flake8 installed: flake8==6.0.0,mccabe==0.7.0,pycodestyle==2.10.0,pyflakes==3.0.1,-e git+https://osm.etsi.org/gerrit/osm/tests.git@0a1c454f243d475243edee1e8d817105d6542025#egg=tests
flake8 run-test-pre: PYTHONHASHSEED='1697397588'
flake8 run-test: commands[0] | flake8 robot-systest
✔ OK safety in 54.266 seconds
safety create: /tmp/.tox/safety
safety installdeps: -r/home/jenkins/workspace/tests-stage_2_paas/requirements.txt, safety
safety develop-inst: /home/jenkins/workspace/tests-stage_2_paas
safety installed: appdirs==1.4.4,argcomplete==3.1.1,attrs==23.1.0,autopage==0.5.1,bcrypt==4.0.1,bitarray==2.7.3,certifi==2023.5.7,cffi==1.15.1,charset-normalizer==3.1.0,click==8.1.3,cliff==4.3.0,cmd2==2.4.3,cryptography==41.0.2,debtcollector==2.5.0,decorator==5.1.1,dogpile.cache==1.2.2,dparse==0.6.3,enum34==1.1.10,exceptiongroup==1.1.2,h11==0.14.0,haikunator==2.1.0,idna==3.4,importlib-metadata==6.8.0,iso8601==2.0.0,Jinja2==3.1.2,jmespath==1.0.1,jsonpatch==1.33,jsonpath-ng==1.5.3,jsonpath-rw==1.4.0,jsonpath-rw-ext==1.2.2,jsonpointer==2.4,jsonschema==4.18.4,jsonschema-specifications==2023.7.1,keystoneauth1==5.2.1,lxml==4.9.2,MarkupSafe==2.1.2,msgpack==1.0.5,netaddr==0.8.0,netifaces==0.11.0,objectpath==0.6.1,openstacksdk==1.3.1,os-service-types==1.7.0,osc-lib==2.8.0,oslo.config==9.1.1,oslo.i18n==6.0.0,oslo.serialization==5.1.1,oslo.utils==6.2.0,outcome==1.2.0,packaging==23.1,paramiko==3.2.0,pbr==5.11.1,ply==3.11,prettytable==3.7.0,pyang==2.5.3,pyangbind==0.8.1,pycparser==2.21,pycurl==7.45.2,pyjsonselect==0.2.2,PyNaCl==1.5.0,pyparsing==3.1.0,pyperclip==1.8.2,PySocks==1.7.1,python-cinderclient==9.3.0,python-keystoneclient==5.1.0,python-magic==0.4.27,python-novaclient==18.3.0,python-openstackclient==6.2.0,pytz==2023.3,PyYAML==6.0.1,referencing==0.30.0,regex==2023.5.5,requests==2.30.0,requestsexceptions==1.4.0,rfc3986==2.0.0,robotframework==6.1,robotframework-jsonlibrary==0.5,robotframework-jsonvalidator==2.0.0,robotframework-pythonlibcore==4.2.0,robotframework-requests==0.9.5,robotframework-seleniumlibrary==6.1.0,robotframework-sshlibrary==3.8.0,robotframework-yamllibrary==0.2.8,rpds-py==0.9.2,ruamel.yaml==0.17.32,ruamel.yaml.clib==0.2.7,safety==2.3.4,scp==0.14.5,selenium==4.10.0,simplejson==3.19.1,six==1.16.0,sniffio==1.3.0,sortedcontainers==2.4.0,stevedore==5.1.0,-e git+https://osm.etsi.org/gerrit/osm/tests.git@0a1c454f243d475243edee1e8d817105d6542025#egg=tests,tomli==2.0.1,tomlkit==0.11.8,trio==0.22.2,trio-websocket==0.10.3,typing_extensions==4.7.1,tzdata==2023.3,urllib3==2.0.2,verboselogs==1.7,wcwidth==0.2.6,wrapt==1.15.0,wsproto==1.2.0,xmltodict==0.13.0,yq==3.2.2,zipp==3.16.2
safety run-test-pre: PYTHONHASHSEED='714284406'
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.4[0m is scanning for [1mVulnerabilities[0m[1m...[0m
[1m Scanning dependencies[0m in your [1menvironment:[0m
-> /tmp/.tox/safety/lib/python3.10/site-packages
-> /home/jenkins/workspace/tests-stage_2_paas
Using [1mnon-commercial database[0m
[1m Found and scanned 111 packages[0m
Timestamp [1m2023-07-21 19:46:01[0m
[1m 3[0m[1m vulnerabilities found[0m
[1m 0[0m[1m vulnerabilities ignored[0m
+==============================================================================+
[31m[1mVULNERABILITIES FOUND[0m
+==============================================================================+
[31m-> Vulnerability found in setuptools version 59.6.0
[0m[1m Vulnerability ID: [0m52495
[1m Affected spec: [0m<65.5.1
[1m ADVISORY: [0mPython 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
[1m CVE-2022-40897[0m
[1m For more information, please visit [0mhttps://pyup.io/v/52495/f17[0m
[31m-> Vulnerability found in requests version 2.30.0
[0m[1m Vulnerability ID: [0m58755
[1m Affected spec: [0m>=2.3.0,<2.31.0
[1m ADVISORY: [0mRequests 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.
[1m CVE-2023-32681[0m
[1m For more information, please visit [0mhttps://pyup.io/v/58755/f17[0m
[31m-> Vulnerability found in wheel version 0.37.1
[0m[1m Vulnerability ID: [0m51499
[1m Affected spec: [0m<0.38.1
[1m ADVISORY: [0mWheel 0.38.1 includes a fix for CVE-2022-40898: An issue
discovered in Python Packaging Authority (PyPA) Wheel 0.37.1 and earlier
allows remote attackers to cause a denial of service via attacker controlled
input to wheel cli.https://pyup.io/posts/pyup-discovers-redos-
vulnerabilities-in-top-python-packages
[1m CVE-2022-40898[0m
[1m For more information, please visit [0mhttps://pyup.io/v/51499/f17[0m
Scan was completed. 3 vulnerabilities were found.
+==============================================================================+
[32m[1m REMEDIATIONS[0m
3 vulnerabilities were found in 3 packages. For detailed remediation & fix
recommendations, upgrade to a commercial license.
+==============================================================================+
[31m[22m Safety is using PyUp's free open-source vulnerability database. This
data is 30 days old and limited. [0m
[31m For real-time enhanced vulnerability data, fix recommendations, severity
reporting, cybersecurity support, team and project policy management and more
sign up at https://pyup.io or email sales@pyup.io[0m
+==============================================================================+[0m
✔ OK cover in 54.299 seconds
cover create: /tmp/.tox/cover
cover installdeps: -r/home/jenkins/workspace/tests-stage_2_paas/requirements.txt
cover develop-inst: /home/jenkins/workspace/tests-stage_2_paas
cover installed: appdirs==1.4.4,argcomplete==3.1.1,attrs==23.1.0,autopage==0.5.1,bcrypt==4.0.1,bitarray==2.7.3,certifi==2023.5.7,cffi==1.15.1,charset-normalizer==3.1.0,click==8.1.3,cliff==4.3.0,cmd2==2.4.3,cryptography==41.0.2,debtcollector==2.5.0,decorator==5.1.1,dogpile.cache==1.2.2,enum34==1.1.10,exceptiongroup==1.1.2,h11==0.14.0,haikunator==2.1.0,idna==3.4,importlib-metadata==6.8.0,iso8601==2.0.0,Jinja2==3.1.2,jmespath==1.0.1,jsonpatch==1.33,jsonpath-ng==1.5.3,jsonpath-rw==1.4.0,jsonpath-rw-ext==1.2.2,jsonpointer==2.4,jsonschema==4.18.4,jsonschema-specifications==2023.7.1,keystoneauth1==5.2.1,lxml==4.9.2,MarkupSafe==2.1.2,msgpack==1.0.5,netaddr==0.8.0,netifaces==0.11.0,objectpath==0.6.1,openstacksdk==1.3.1,os-service-types==1.7.0,osc-lib==2.8.0,oslo.config==9.1.1,oslo.i18n==6.0.0,oslo.serialization==5.1.1,oslo.utils==6.2.0,outcome==1.2.0,packaging==23.1,paramiko==3.2.0,pbr==5.11.1,ply==3.11,prettytable==3.7.0,pyang==2.5.3,pyangbind==0.8.1,pycparser==2.21,pycurl==7.45.2,pyjsonselect==0.2.2,PyNaCl==1.5.0,pyparsing==3.1.0,pyperclip==1.8.2,PySocks==1.7.1,python-cinderclient==9.3.0,python-keystoneclient==5.1.0,python-magic==0.4.27,python-novaclient==18.3.0,python-openstackclient==6.2.0,pytz==2023.3,PyYAML==6.0.1,referencing==0.30.0,regex==2023.5.5,requests==2.30.0,requestsexceptions==1.4.0,rfc3986==2.0.0,robotframework==6.1,robotframework-jsonlibrary==0.5,robotframework-jsonvalidator==2.0.0,robotframework-pythonlibcore==4.2.0,robotframework-requests==0.9.5,robotframework-seleniumlibrary==6.1.0,robotframework-sshlibrary==3.8.0,robotframework-yamllibrary==0.2.8,rpds-py==0.9.2,scp==0.14.5,selenium==4.10.0,simplejson==3.19.1,six==1.16.0,sniffio==1.3.0,sortedcontainers==2.4.0,stevedore==5.1.0,-e git+https://osm.etsi.org/gerrit/osm/tests.git@0a1c454f243d475243edee1e8d817105d6542025#egg=tests,tomlkit==0.11.8,trio==0.22.2,trio-websocket==0.10.3,typing_extensions==4.7.1,tzdata==2023.3,urllib3==2.0.2,verboselogs==1.7,wcwidth==0.2.6,wrapt==1.15.0,wsproto==1.2.0,xmltodict==0.13.0,yq==3.2.2,zipp==3.16.2
cover run-test-pre: PYTHONHASHSEED='444660481'
cover run-test: commands[0] | sh -c 'echo No unit tests'
No unit tests
✔ OK pylint in 59.118 seconds
pylint create: /tmp/.tox/pylint
pylint installdeps: -r/home/jenkins/workspace/tests-stage_2_paas/requirements.txt, -r/home/jenkins/workspace/tests-stage_2_paas/requirements-dev.txt, pylint
pylint develop-inst: /home/jenkins/workspace/tests-stage_2_paas
pylint installed: appdirs==1.4.4,argcomplete==3.1.1,astroid==2.15.6,attrs==23.1.0,autopage==0.5.1,bcrypt==4.0.1,bitarray==2.7.3,certifi==2023.5.7,cffi==1.15.1,charset-normalizer==3.1.0,click==8.1.3,cliff==4.3.0,cmd2==2.4.3,cryptography==41.0.2,debtcollector==2.5.0,decorator==5.1.1,dill==0.3.6,dogpile.cache==1.2.2,enum34==1.1.10,exceptiongroup==1.1.2,h11==0.14.0,haikunator==2.1.0,idna==3.4,importlib-metadata==6.8.0,iso8601==2.0.0,isort==5.12.0,Jinja2==3.1.2,jmespath==1.0.1,jsonpatch==1.33,jsonpath-ng==1.5.3,jsonpath-rw==1.4.0,jsonpath-rw-ext==1.2.2,jsonpointer==2.4,jsonschema==4.18.4,jsonschema-specifications==2023.7.1,keystoneauth1==5.2.1,lazy-object-proxy==1.9.0,lxml==4.9.2,MarkupSafe==2.1.2,mccabe==0.7.0,msgpack==1.0.5,netaddr==0.8.0,netifaces==0.11.0,objectpath==0.6.1,openstacksdk==1.3.1,os-service-types==1.7.0,osc-lib==2.8.0,oslo.config==9.1.1,oslo.i18n==6.0.0,oslo.serialization==5.1.1,oslo.utils==6.2.0,osmclient @ git+https://osm.etsi.org/gerrit/osm/osmclient.git@a61aedcc60f5125b509b995a1e327cf009954637,outcome==1.2.0,packaging==23.1,paramiko==3.2.0,pbr==5.11.1,platformdirs==3.9.1,ply==3.11,prettytable==3.7.0,pyang==2.5.3,pyangbind==0.8.1,pycparser==2.21,pycurl==7.45.2,pyjsonselect==0.2.2,pylint==2.17.4,PyNaCl==1.5.0,pyparsing==3.1.0,pyperclip==1.8.2,PySocks==1.7.1,python-cinderclient==9.3.0,python-keystoneclient==5.1.0,python-magic==0.4.27,python-novaclient==18.3.0,python-openstackclient==6.2.0,pytz==2023.3,PyYAML==6.0.1,referencing==0.30.0,regex==2023.5.5,requests==2.30.0,requestsexceptions==1.4.0,rfc3986==2.0.0,robotframework==6.1,robotframework-jsonlibrary==0.5,robotframework-jsonvalidator==2.0.0,robotframework-pythonlibcore==4.2.0,robotframework-requests==0.9.5,robotframework-seleniumlibrary==6.1.0,robotframework-sshlibrary==3.8.0,robotframework-yamllibrary==0.2.8,rpds-py==0.9.2,scp==0.14.5,selenium==4.10.0,simplejson==3.19.1,six==1.16.0,sniffio==1.3.0,sortedcontainers==2.4.0,stevedore==5.1.0,-e git+https://osm.etsi.org/gerrit/osm/tests.git@0a1c454f243d475243edee1e8d817105d6542025#egg=tests,tomli==2.0.1,tomlkit==0.11.8,trio==0.22.2,trio-websocket==0.10.3,typing_extensions==4.7.1,tzdata==2023.3,urllib3==2.0.2,verboselogs==1.7,wcwidth==0.2.6,wrapt==1.15.0,wsproto==1.2.0,xmltodict==0.13.0,yq==3.2.2,zipp==3.16.2
pylint run-test-pre: PYTHONHASHSEED='3247807037'
pylint run-test: commands[0] | - pylint -E robot-systest/resources
************* Module resources.epa_03-crud_operations_on_sdnc_data
robot-systest/resources/epa_03-crud_operations_on_sdnc_data.py:15:0: E0401: Unable to import 'common_helpers' (import-error)
************* Module resources.sa_02-vnf_with_vim_metrics_and_autoscaling_data
robot-systest/resources/sa_02-vnf_with_vim_metrics_and_autoscaling_data.py:13:0: E0401: Unable to import 'common_helpers' (import-error)
************* Module resources.sa_08-vnf_with_vnf_indicators_snmp_data
robot-systest/resources/sa_08-vnf_with_vnf_indicators_snmp_data.py:13:0: E0401: Unable to import 'common_helpers' (import-error)
************* Module resources.sol003_01-vnf_lifecycle_management
robot-systest/resources/sol003_01-vnf_lifecycle_management.py:13:0: E0401: Unable to import 'common_helpers' (import-error)
************* Module resources.sa_07-alarms_from_sa-related_vnfs_data
robot-systest/resources/sa_07-alarms_from_sa-related_vnfs_data.py:13:0: E0401: Unable to import 'common_helpers' (import-error)
************* Module resources.basic_01-crud_operations_on_vim_targets_data
robot-systest/resources/basic_01-crud_operations_on_vim_targets_data.py:16:0: E0401: Unable to import 'common_helpers' (import-error)
************* Module resources.sa_01-vnf_with_vim_metrics_data
robot-systest/resources/sa_01-vnf_with_vim_metrics_data.py:13:0: E0401: Unable to import 'common_helpers' (import-error)
************* Module resources.basic_08-disable_port_security_network_level_data
robot-systest/resources/basic_08-disable_port_security_network_level_data.py:17:0: E0401: Unable to import 'common_helpers' (import-error)
___________________________________ summary ____________________________________
black: commands succeeded
cover: commands succeeded
flake8: commands succeeded
pylint: commands succeeded
safety: commands succeeded
congratulations :)