Started by upstream project "RO-stage_1" build number 3269
originally caused by:
Triggered by Gerrit: https://osm.etsi.org/gerrit/14354
> git rev-parse --is-inside-work-tree # timeout=10
Setting origin to https://osm.etsi.org/gerrit/osm/RO.git
> git config remote.origin.url https://osm.etsi.org/gerrit/osm/RO.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/5962-rebase
Seen branch in repository origin/Azure
Seen branch in repository origin/GCP
Seen branch in repository origin/WIM
Seen branch in repository origin/bug1511
Seen branch in repository origin/contrail
Seen branch in repository origin/feature1429
Seen branch in repository origin/feature5837
Seen branch in repository origin/feature7106
Seen branch in repository origin/feature7148
Seen branch in repository origin/feature7184
Seen branch in repository origin/feature7928
Seen branch in repository origin/fog
Seen branch in repository origin/lcm
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/py3
Seen branch in repository origin/python3
Seen branch in repository origin/rift300
Seen branch in repository origin/snapcraft
Seen branch in repository origin/sol006
Seen branch in repository origin/sol006v331
Seen branch in repository origin/v1.0
Seen branch in repository origin/v1.1
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/v2.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 branch in repository origin/vio
Seen branch in repository origin/vnffg
Seen 42 remote branches
Obtained Jenkinsfile from b4ba3ea5b0dedc18482ed52437f3e1d31f8934b7
Running in Durability level: MAX_SURVIVABILITY
[Pipeline] properties
[Pipeline] node
Running on osm-cicd-6 in /home/jenkins/workspace/RO-stage_2_v14.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/RO.git # timeout=10
Fetching without tags
Fetching upstream changes from https://osm.etsi.org/gerrit/osm/RO.git
> git --version # timeout=10
> git fetch --no-tags --force --progress https://osm.etsi.org/gerrit/osm/RO.git +refs/heads/*:refs/remotes/origin/*
Checking out Revision b4ba3ea5b0dedc18482ed52437f3e1d31f8934b7 (v14.0)
> git config core.sparsecheckout # timeout=10
> git checkout -f b4ba3ea5b0dedc18482ed52437f3e1d31f8934b7
Commit message: "Bug 2217 fixed: modified the cloud-init merge configs"
> git rev-list --no-walk b4ba3ea5b0dedc18482ed52437f3e1d31f8934b7 # timeout=10
[Pipeline] dir
Running in /home/jenkins/workspace/RO-stage_2_v14.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/v14.0^{commit} # timeout=10
> git rev-parse refs/remotes/origin/origin/v14.0^{commit} # timeout=10
Checking out Revision 73738a808076b4167ee1b86b28b655e83bdc4f8e (refs/remotes/origin/v14.0)
> git config core.sparsecheckout # timeout=10
> git checkout -f 73738a808076b4167ee1b86b28b655e83bdc4f8e
> git branch -a -v --no-abbrev # timeout=10
> git branch -D v14.0 # timeout=10
> git checkout -b v14.0 73738a808076b4167ee1b86b28b655e83bdc4f8e
Commit message: "Fix air-gapped installation issues with containerd and OSM helm chart"
> git rev-list --no-walk 73738a808076b4167ee1b86b28b655e83bdc4f8e # timeout=10
[Pipeline] }
[Pipeline] // dir
[Pipeline] load
[Pipeline] { (devops/jenkins/ci-pipelines/ci_stage_2.groovy)
[Pipeline] }
[Pipeline] // load
[Pipeline] echo
do_stage_3= true
[Pipeline] load
[Pipeline] { (devops/jenkins/ci-pipelines/ci_helper.groovy)
[Pipeline] }
[Pipeline] // load
[Pipeline] stage
[Pipeline] { (Prepare)
[Pipeline] sh
[RO-stage_2_v14.0] Running shell script
+ env
JENKINS_HOME=/var/lib/jenkins
SSH_CLIENT=212.234.161.1 32793 22
USER=jenkins
RUN_CHANGES_DISPLAY_URL=https://osm.etsi.org/jenkins/job/RO-stage_2/job/v14.0/47/display/redirect?page=changes
GERRIT_PROJECT=osm/RO
XDG_SESSION_TYPE=tty
SHLVL=0
NODE_LABELS=osm-cicd-6 pool 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/RO-stage_2/job/v14.0/47/
HUDSON_COOKIE=945b4e13-3d0f-43de-9717-12280e297761
JENKINS_SERVER_COOKIE=durable-8e0bbdd1792d09cab91739f715372e00
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1003/bus
GERRIT_PATCHSET_REVISION=dc4b2f8bd1b51767c7f0002c1735d89e0b42b606
WORKSPACE=/home/jenkins/workspace/RO-stage_2_v14.0
LOGNAME=jenkins
NODE_NAME=osm-cicd-6
GERRIT_BRANCH=v14.0
_=/usr/bin/java
RUN_ARTIFACTS_DISPLAY_URL=https://osm.etsi.org/jenkins/job/RO-stage_2/job/v14.0/47/display/redirect?page=artifacts
XDG_SESSION_CLASS=user
EXECUTOR_NUMBER=10
XDG_SESSION_ID=1320
RUN_TESTS_DISPLAY_URL=https://osm.etsi.org/jenkins/job/RO-stage_2/job/v14.0/47/display/redirect?page=tests
BUILD_DISPLAY_NAME=#47
PROJECT_URL_PREFIX=https://osm.etsi.org/gerrit
HUDSON_HOME=/var/lib/jenkins
JOB_BASE_NAME=v14.0
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
BUILD_ID=47
XDG_RUNTIME_DIR=/run/user/1003
BUILD_TAG=jenkins-RO-stage_2-v14.0-47
JENKINS_URL=https://osm.etsi.org/jenkins/
LANG=C.UTF-8
JOB_URL=https://osm.etsi.org/jenkins/job/RO-stage_2/job/v14.0/
BUILD_NUMBER=47
SHELL=/bin/bash
RUN_DISPLAY_URL=https://osm.etsi.org/jenkins/job/RO-stage_2/job/v14.0/47/display/redirect
ARTIFACTORY_SERVER=artifactory-osm
GERRIT_REFSPEC=refs/changes/54/14354/2
HUDSON_SERVER_COOKIE=6d3295a483c3e6d5
JOB_DISPLAY_URL=https://osm.etsi.org/jenkins/job/RO-stage_2/job/v14.0/display/redirect
JOB_NAME=RO-stage_2/v14.0
TEST_INSTALL=true
PWD=/home/jenkins/workspace/RO-stage_2_v14.0
SSH_CONNECTION=212.234.161.1 32793 172.21.1.6 22
BRANCH_NAME=v14.0
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Checkout)
[Pipeline] sh
[RO-stage_2_v14.0] Running shell script
+ git fetch --tags
[Pipeline] sh
[RO-stage_2_v14.0] Running shell script
+ git fetch origin refs/changes/54/14354/2
From https://osm.etsi.org/gerrit/osm/RO
* branch refs/changes/54/14354/2 -> FETCH_HEAD
[Pipeline] sh
[RO-stage_2_v14.0] Running shell script
+ git checkout -f dc4b2f8bd1b51767c7f0002c1735d89e0b42b606
Previous HEAD position was b4ba3ea Bug 2217 fixed: modified the cloud-init merge configs
HEAD is now at dc4b2f8 Bug 2370: Fix for Healing fails if the corresponding flavor does not exist in VIM
[Pipeline] sh
[RO-stage_2_v14.0] Running shell script
+ sudo git clean -dfx
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (License Scan)
[Pipeline] sh
[RO-stage_2_v14.0] Running shell script
+ devops/tools/license_scan.sh
NG-RO/osm_ng_ro/ns.py is text
NG-RO/osm_ng_ro/ns.py Apache-2.0
releasenotes/notes/fix_bug_2350-814291a32eed315f.yaml is text
releasenotes/notes/fix_bug_2350-814291a32eed315f.yaml Apache-2.0
releasenotes/notes/fix_bug_2370-6e6a06c4e2b21a5e.yaml is text
releasenotes/notes/fix_bug_2370-6e6a06c4e2b21a5e.yaml Apache-2.0
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Release Note Check)
[Pipeline] fileExists
[RO-stage_2_v14.0] Running shell script
[Pipeline] sh
+ devops-stages/stage-releasenote.sh
Checking the presence of release notes ...
OK. Release notes present in commit
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Docker-Build)
[Pipeline] sh
[RO-stage_2_v14.0] Running shell script
+ docker build --build-arg APT_PROXY=http://172.21.1.1:3142 -t osm/ro-v14.0 .
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
Install the buildx component to build images with BuildKit:
https://docs.docker.com/go/buildx/
Sending build context to Docker daemon 161.6MB
Step 1/6 : FROM ubuntu:22.04
---> 52882761a72a
Step 2/6 : ARG APT_PROXY
---> Using cache
---> 69976d5f4ca4
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
---> 0248aa1406dc
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
---> 234b029d6d0b
Step 5/6 : ENV LC_ALL C.UTF-8
---> Using cache
---> 46519124dbdd
Step 6/6 : ENV LANG C.UTF-8
---> Using cache
---> 159d1a0ae6d3
Successfully built 159d1a0ae6d3
Successfully tagged osm/ro-v14.0:latest
[Pipeline] }
[Pipeline] // stage
[Pipeline] sh
[RO-stage_2_v14.0] Running shell script
+ id -u
[Pipeline] sh
[RO-stage_2_v14.0] Running shell script
+ id -g
[Pipeline] withDockerContainer
osm-cicd-6 does not seem to be running inside a container
$ docker run -t -d -u 1003:1003 -u root -w /home/jenkins/workspace/RO-stage_2_v14.0 -v /home/jenkins/workspace/RO-stage_2_v14.0:/home/jenkins/workspace/RO-stage_2_v14.0:rw,z -v /home/jenkins/workspace/RO-stage_2_v14.0@tmp:/home/jenkins/workspace/RO-stage_2_v14.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/ro-v14.0
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Test)
[Pipeline] sh
[RO-stage_2_v14.0] Running shell script
+ groupadd -o -g 1003 -r jenkins
[Pipeline] sh
[RO-stage_2_v14.0] Running shell script
+ pwd
+ useradd -o -u 1003 -d /home/jenkins/workspace/RO-stage_2_v14.0 -r -g jenkins jenkins
[Pipeline] sh
[RO-stage_2_v14.0] Running shell script
+ echo #! /bin/sh
[Pipeline] sh
[RO-stage_2_v14.0] Running shell script
+ chmod 755 /usr/bin/mesg
[Pipeline] sh
[RO-stage_2_v14.0] Running shell script
+ runuser jenkins -c devops-stages/stage-test.sh
Launching tox
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='3740045271'
black run-test: commands[0] | black --check --diff NG-RO
--- /home/jenkins/workspace/RO-stage_2_v14.0/NG-RO/osm_ng_ro/ns.py 2024-05-08 11:04:08.135515+00:00
+++ /home/jenkins/workspace/RO-stage_2_v14.0/NG-RO/osm_ng_ro/ns.py 2024-05-08 11:04:29.143345+00:00
@@ -2387,11 +2387,10 @@
return vdu_flavor_dict
except (DbException, KeyError, ValueError, TypeError) as error:
raise NsException(error)
-
def _prepare_flavor_create_item(
self,
existing_instance: dict,
db_nsr: dict,
target_viminfo: dict,
@@ -2402,11 +2401,10 @@
item_index: int,
db_record_flavor: str,
changes_list: list,
**kwargs,
) -> str:
-
flavor_data = self._process_recreate_flavor_params(
existing_instance,
db_nsr,
target_viminfo,
target_record_id,
@@ -2418,11 +2416,10 @@
"deployment_info": {
"action_id": action_id,
"nsr_id": kwargs["nsr_id"],
"task_index": task_index,
},
-
"target_id": target_vim,
"item": "flavor",
"action": "CREATE",
"target_record": f"{db_record_flavor}.{item_index}.vim_info.{target_vim}",
# "target_record_id": "{}.{}".format(
@@ -2496,11 +2493,13 @@
instance["vdu-name"] == vdu_name
and instance["count-index"] == count_index
):
existing_instance = instance
item_index_flv = instance.get("ns-flavor-id")
- target_record_id_flv = "{}.{}".format(db_record_flavor, instance.get("ns-flavor-id"))
+ target_record_id_flv = "{}.{}".format(
+ db_record_flavor, instance.get("ns-flavor-id")
+ )
break
else:
item_index += 1
target_record_id = "{}.{}".format(db_record, existing_instance["id"])
@@ -2559,21 +2558,21 @@
"ro_nsr_public_key": ro_nsr_public_key,
}
# step 2 check if old flavor exists or prepare to create it
flavor_task_id = self._prepare_flavor_create_item(
- existing_instance=existing_instance,
- db_nsr=db_nsr,
- target_viminfo=target_viminfo,
- target_record_id=target_record_id_flv,
- target_vim=target_vim,
- action_id=action_id,
- task_index=task_index + 1,
- item_index=item_index_flv,
- db_record_flavor=db_record_flavor,
- changes_list=changes_list,
- **kwargs,
+ existing_instance=existing_instance,
+ db_nsr=db_nsr,
+ target_viminfo=target_viminfo,
+ target_record_id=target_record_id_flv,
+ target_vim=target_vim,
+ action_id=action_id,
+ task_index=task_index + 1,
+ item_index=item_index_flv,
+ db_record_flavor=db_record_flavor,
+ changes_list=changes_list,
+ **kwargs,
)
# step 3 vdu to be created
kwargs = {}
kwargs.update(
would reformat /home/jenkins/workspace/RO-stage_2_v14.0/NG-RO/osm_ng_ro/ns.py
Oh no! 💥 💔 💥
1 file would be reformatted, 13 files would be left unchanged.
ERROR: InvocationError for command /tmp/.tox/black/bin/black --check --diff NG-RO (exited with code 1)
cover create: /tmp/.tox/cover
cover installdeps: -r/home/jenkins/workspace/RO-stage_2_v14.0/requirements.txt, -r/home/jenkins/workspace/RO-stage_2_v14.0/requirements-dev.txt, -r/home/jenkins/workspace/RO-stage_2_v14.0/requirements-test.txt
cover installed: adal==1.2.7,aiokafka==0.8.1,appdirs==1.4.4,async-timeout==4.0.3,atpublic==4.0,attrs==23.1.0,autopage==0.5.1,azure-common==1.1.28,azure-core==1.29.4,azure-identity==1.14.0,azure-mgmt-compute==30.3.0,azure-mgmt-core==1.4.0,azure-mgmt-network==25.1.0,azure-mgmt-resource==23.0.1,bcrypt==4.0.1,boto==2.49.0,cachetools==5.3.1,certifi==2023.7.22,cffi==1.16.0,charset-normalizer==3.3.0,cheroot==10.0.0,CherryPy==18.1.2,cliff==4.3.0,cmd2==2.4.3,coverage==7.3.2,cryptography==41.0.4,cvprac==1.3.1,dataclasses==0.6,debtcollector==2.5.0,decorator==5.1.1,dnspython==2.4.2,dogpile.cache==1.2.2,flufl.enum==6.0.2,google-api-core==2.12.0,google-api-python-client==2.101.0,google-auth==2.23.2,google-auth-httplib2==0.1.1,google-cloud==0.34.0,googleapis-common-protos==1.60.0,httplib2==0.22.0,humanfriendly==10.0,idna==3.4,importlib-metadata==6.8.0,ipconflict==0.5.0,iso8601==2.1.0,isodate==0.6.1,jaraco.functools==3.9.0,Jinja2==3.1.2,jmespath==1.0.1,jsonpatch==1.33,jsonpointer==2.4,jsonschema==4.19.1,jsonschema-specifications==2023.7.1,kafka-python==2.0.2,keystoneauth1==5.3.0,logutils==0.3.5,lxml==4.9.3,MarkupSafe==2.1.3,mock==5.1.0,more-itertools==10.1.0,motor==3.3.1,msal==1.24.1,msal-extensions==1.0.0,msgpack==1.0.7,msrest==0.7.1,msrestazure==0.6.4,netaddr==0.9.0,netifaces==0.11.0,nose2==0.13.0,oauthlib==3.2.2,openstacksdk==1.5.0,os-client-config==2.1.0,os-service-types==1.7.0,osc-lib==2.8.1,oslo.config==9.2.0,oslo.context==5.2.0,oslo.i18n==6.1.0,oslo.log==5.3.0,oslo.serialization==5.2.0,oslo.utils==6.2.1,osm-common @ git+https://osm.etsi.org/gerrit/osm/common.git@df511049aeda8da03035b3adc2f900b76c8255de,-e git+https://osm.etsi.org/gerrit/osm/RO.git@dc4b2f8bd1b51767c7f0002c1735d89e0b42b606#egg=osm_ro_plugin&subdirectory=RO-plugin,packaging==23.1,paramiko==3.3.1,pbr==5.11.1,portalocker==2.8.2,portend==3.2.0,prettytable==3.9.0,progressbar==2.5,protobuf==4.24.3,py-radix==0.10.0,pyasn1==0.5.0,pyasn1-modules==0.3.0,pycparser==2.21,pycryptodome==3.19.0,Pygments==2.16.1,pyinotify==0.9.6,PyJWT==2.8.0,pymongo==4.5.0,PyNaCl==1.5.0,pyOpenSSL==23.2.0,pyparsing==3.1.1,pyperclip==1.8.2,PySocks==1.7.1,python-cinderclient==7.4.1,python-dateutil==2.8.2,python-glanceclient==4.4.0,python-keystoneclient==5.2.0,python-neutronclient==11.0.0,python-novaclient==18.4.0,python-openstackclient==6.3.0,pytz==2023.3.post1,pyvcloud==19.1.1,pyvmomi==8.0.2.0,PyYAML==6.0.1,referencing==0.30.2,requests==2.31.0,requests-oauthlib==1.3.1,requestsexceptions==1.4.0,rfc3986==2.0.0,rpds-py==0.10.3,rsa==4.9,simplejson==3.19.1,six==1.16.0,stevedore==5.1.0,tempora==5.5.0,tqdm==4.66.1,typing_extensions==4.8.0,tzdata==2023.3,uritemplate==4.1.1,urllib3==2.0.6,uuid==1.30,warlock==2.0.1,wcwidth==0.2.8,wrapt==1.15.0,zc.lockfile==3.0.post1,zipp==3.17.0
cover run-test-pre: PYTHONHASHSEED='3740045271'
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 NG-RO/osm_ng_ro -s NG-RO/osm_ng_ro
WARNING:root:The 'osm_ng_ro' distribution was not found and is required by the application occured while getting the ro version
..................................................................................................................................................ERROR:ro.workerworker-3:Error updating tasks to enable VM status updates: 'my_target_vim'
..ERROR:ro.workerworker-3:Error updating tasks to enable VM status updates: 'my_target_vim'
.ERROR:ro.workerworker-3:Error updating tasks to enable VM status updates: 'my_target_vim'
.ERROR:ro.workerworker-3:Error updating tasks to enable VM status updates: 'my_target_vim'
..........................ERROR:root:ro_task=122436:1 vim=0 del-shared-volume=sample_shared_volume_id_3: Connection failed.
..ERROR:root:task=123456:1 vim=0 new-shared-volume: Connection failed.
...........................................................................................................................................................................
----------------------------------------------------------------------
Ran 349 tests in 0.804s
OK
Name Stmts Miss Cover
-------------------------------------------------------------
NG-RO/osm_ng_ro/__init__.py 8 0 100%
NG-RO/osm_ng_ro/html_out.py 55 55 0%
NG-RO/osm_ng_ro/monitor.py 301 3 99%
NG-RO/osm_ng_ro/ns.py 1237 715 42%
NG-RO/osm_ng_ro/ns_thread.py 1258 822 35%
NG-RO/osm_ng_ro/ro_main.py 459 459 0%
NG-RO/osm_ng_ro/tests/__init__.py 0 0 100%
NG-RO/osm_ng_ro/tests/sample_data.py 40 0 100%
NG-RO/osm_ng_ro/tests/test_monitor.py 1421 4 99%
NG-RO/osm_ng_ro/tests/test_ns.py 1843 12 99%
NG-RO/osm_ng_ro/tests/test_ns_thread.py 692 0 100%
NG-RO/osm_ng_ro/validation.py 35 13 63%
NG-RO/osm_ng_ro/vim_admin.py 224 186 17%
-------------------------------------------------------------
TOTAL 7573 2269 70%
cover run-test: commands[3] | sh -c 'mv .coverage .coverage_ng_ro'
cover run-test: commands[4] | nose2 -C --coverage RO-SDN-juniper_contrail/osm_rosdn_juniper_contrail -s RO-SDN-juniper_contrail/osm_rosdn_juniper_contrail
....
----------------------------------------------------------------------
Ran 4 tests in 0.006s
OK
Name Stmts Miss Cover
-------------------------------------------------------------------------------------------------------------------
RO-SDN-juniper_contrail/osm_rosdn_juniper_contrail/__init__.py 0 0 100%
RO-SDN-juniper_contrail/osm_rosdn_juniper_contrail/rest_lib.py 98 66 33%
RO-SDN-juniper_contrail/osm_rosdn_juniper_contrail/sdn_api.py 146 79 46%
RO-SDN-juniper_contrail/osm_rosdn_juniper_contrail/sdn_assist_juniper_contrail.py 380 310 18%
RO-SDN-juniper_contrail/osm_rosdn_juniper_contrail/tests/__init__.py 0 0 100%
RO-SDN-juniper_contrail/osm_rosdn_juniper_contrail/tests/test_sdn_asssist_juniper_contrail.py 35 0 100%
-------------------------------------------------------------------------------------------------------------------
TOTAL 659 455 31%
cover run-test: commands[5] | sh -c 'mv .coverage .coverage_rosdn_juniper_contrail'
cover run-test: commands[6] | nose2 -C --coverage RO-SDN-tapi/osm_rosdn_tapi -s RO-SDN-tapi/osm_rosdn_tapi
127.0.0.1 - - [08/May/2024 11:05:36] "GET /restconf/data/tapi-common:context HTTP/1.1" 200 -
127.0.0.1 - - [08/May/2024 11:05:36] "GET /restconf/data/tapi-common:context/service-interface-point HTTP/1.1" 200 -
127.0.0.1 - - [08/May/2024 11:05:36] "POST /restconf/data/tapi-common:context/tapi-connectivity:connectivity-context HTTP/1.1" 201 -
127.0.0.1 - - [08/May/2024 11:05:36] "GET /restconf/data/tapi-common:context HTTP/1.1" 200 -
127.0.0.1 - - [08/May/2024 11:05:36] "GET /restconf/data/tapi-common:context/tapi-connectivity:connectivity-context/connectivity-service HTTP/1.1" 200 -
127.0.0.1 - - [08/May/2024 11:05:36] "GET /restconf/data/tapi-common:context HTTP/1.1" 200 -
127.0.0.1 - - [08/May/2024 11:05:36] "POST /restconf/operations/tapi-connectivity:delete-connectivity-service HTTP/1.1" 204 -
.127.0.0.1 - - [08/May/2024 11:05:37] "GET /restconf/data/tapi-common:context HTTP/1.1" 200 -
127.0.0.1 - - [08/May/2024 11:05:37] "GET /restconf/data/tapi-common:context/service-interface-point HTTP/1.1" 200 -
127.0.0.1 - - [08/May/2024 11:05:37] "POST /restconf/data/tapi-common:context/tapi-connectivity:connectivity-context HTTP/1.1" 201 -
127.0.0.1 - - [08/May/2024 11:05:37] "POST /restconf/data/tapi-common:context/tapi-connectivity:connectivity-context HTTP/1.1" 201 -
127.0.0.1 - - [08/May/2024 11:05:37] "GET /restconf/data/tapi-common:context HTTP/1.1" 200 -
127.0.0.1 - - [08/May/2024 11:05:37] "GET /restconf/data/tapi-common:context/tapi-connectivity:connectivity-context/connectivity-service HTTP/1.1" 200 -
127.0.0.1 - - [08/May/2024 11:05:37] "GET /restconf/data/tapi-common:context/tapi-connectivity:connectivity-context/connectivity-service HTTP/1.1" 200 -
127.0.0.1 - - [08/May/2024 11:05:37] "GET /restconf/data/tapi-common:context HTTP/1.1" 200 -
127.0.0.1 - - [08/May/2024 11:05:37] "POST /restconf/operations/tapi-connectivity:delete-connectivity-service HTTP/1.1" 204 -
127.0.0.1 - - [08/May/2024 11:05:37] "POST /restconf/operations/tapi-connectivity:delete-connectivity-service HTTP/1.1" 204 -
.127.0.0.1 - - [08/May/2024 11:05:38] "GET /restconf/data/tapi-common:context HTTP/1.1" 200 -
127.0.0.1 - - [08/May/2024 11:05:38] "GET /restconf/data/tapi-common:context HTTP/1.1" 200 -
127.0.0.1 - - [08/May/2024 11:05:38] "GET /restconf/data/tapi-common:context HTTP/1.1" 200 -
127.0.0.1 - - [08/May/2024 11:05:38] "GET /restconf/data/tapi-common:context HTTP/1.1" 200 -
127.0.0.1 - - [08/May/2024 11:05:38] "GET /restconf/data/tapi-common:context/service-interface-point HTTP/1.1" 200 -
.
----------------------------------------------------------------------
Ran 3 tests in 1.649s
OK
Name Stmts Miss Cover
---------------------------------------------------------------------------
RO-SDN-tapi/osm_rosdn_tapi/__init__.py 0 0 100%
RO-SDN-tapi/osm_rosdn_tapi/conn_info.py 19 3 84%
RO-SDN-tapi/osm_rosdn_tapi/exceptions.py 66 25 62%
RO-SDN-tapi/osm_rosdn_tapi/log_messages.py 8 0 100%
RO-SDN-tapi/osm_rosdn_tapi/message_composers.py 37 4 89%
RO-SDN-tapi/osm_rosdn_tapi/message_templates.py 6 0 100%
RO-SDN-tapi/osm_rosdn_tapi/services_composer.py 52 10 81%
RO-SDN-tapi/osm_rosdn_tapi/tapi_client.py 90 22 76%
RO-SDN-tapi/osm_rosdn_tapi/tests/__init__.py 0 0 100%
RO-SDN-tapi/osm_rosdn_tapi/tests/constants.py 6 0 100%
RO-SDN-tapi/osm_rosdn_tapi/tests/exceptions.py 10 4 60%
RO-SDN-tapi/osm_rosdn_tapi/tests/mock_osm_ro.py 33 7 79%
RO-SDN-tapi/osm_rosdn_tapi/tests/mock_tapi_handler.py 80 13 84%
RO-SDN-tapi/osm_rosdn_tapi/tests/test_wim_tapi.py 65 0 100%
RO-SDN-tapi/osm_rosdn_tapi/tests/tools.py 9 2 78%
RO-SDN-tapi/osm_rosdn_tapi/wimconn_tapi.py 93 5 95%
---------------------------------------------------------------------------
TOTAL 574 95 83%
cover run-test: commands[7] | sh -c 'mv .coverage .coverage_rosdn_tapi'
cover run-test: commands[8] | nose2 -C --coverage RO-VIM-openstack/osm_rovim_openstack -s RO-VIM-openstack/osm_rovim_openstack
................................................................................................................................................................................................................................................
----------------------------------------------------------------------
Ran 240 tests in 1.349s
OK
Name Stmts Miss Cover
------------------------------------------------------------------------------------------
RO-VIM-openstack/osm_rovim_openstack/__init__.py 0 0 100%
RO-VIM-openstack/osm_rovim_openstack/tests/__init__.py 0 0 100%
RO-VIM-openstack/osm_rovim_openstack/tests/test_vimconn_openstack.py 3124 24 99%
RO-VIM-openstack/osm_rovim_openstack/vimconn_openstack.py 1586 968 39%
------------------------------------------------------------------------------------------
TOTAL 4710 992 79%
cover run-test: commands[9] | sh -c 'mv .coverage .coverage_rovim_openstack'
cover run-test: commands[10] | coverage combine .coverage_ng_ro .coverage_rovim_openstack .coverage_rosdn_juniper_contrail
Combined data file .coverage_ng_ro
Combined data file .coverage_rovim_openstack
Combined data file .coverage_rosdn_juniper_contrail
cover run-test: commands[11] | coverage report '--omit=*tests*'
Name Stmts Miss Cover
-------------------------------------------------------------------------------------------------------------------
NG-RO/osm_ng_ro/__init__.py 8 0 100%
NG-RO/osm_ng_ro/html_out.py 55 55 0%
NG-RO/osm_ng_ro/monitor.py 301 3 99%
NG-RO/osm_ng_ro/ns.py 1237 715 42%
NG-RO/osm_ng_ro/ns_thread.py 1258 822 35%
NG-RO/osm_ng_ro/ro_main.py 459 459 0%
NG-RO/osm_ng_ro/tests/__init__.py 0 0 100%
NG-RO/osm_ng_ro/tests/sample_data.py 40 0 100%
NG-RO/osm_ng_ro/tests/test_monitor.py 1421 4 99%
NG-RO/osm_ng_ro/tests/test_ns.py 1843 12 99%
NG-RO/osm_ng_ro/tests/test_ns_thread.py 692 0 100%
NG-RO/osm_ng_ro/validation.py 35 13 63%
NG-RO/osm_ng_ro/vim_admin.py 224 186 17%
RO-SDN-juniper_contrail/osm_rosdn_juniper_contrail/__init__.py 0 0 100%
RO-SDN-juniper_contrail/osm_rosdn_juniper_contrail/rest_lib.py 98 66 33%
RO-SDN-juniper_contrail/osm_rosdn_juniper_contrail/sdn_api.py 146 79 46%
RO-SDN-juniper_contrail/osm_rosdn_juniper_contrail/sdn_assist_juniper_contrail.py 380 310 18%
RO-SDN-juniper_contrail/osm_rosdn_juniper_contrail/tests/__init__.py 0 0 100%
RO-SDN-juniper_contrail/osm_rosdn_juniper_contrail/tests/test_sdn_asssist_juniper_contrail.py 35 0 100%
RO-VIM-openstack/osm_rovim_openstack/__init__.py 0 0 100%
RO-VIM-openstack/osm_rovim_openstack/tests/__init__.py 0 0 100%
RO-VIM-openstack/osm_rovim_openstack/tests/test_vimconn_openstack.py 3124 24 99%
RO-VIM-openstack/osm_rovim_openstack/vimconn_openstack.py 1586 968 39%
-------------------------------------------------------------------------------------------------------------------
TOTAL 12942 3716 71%
cover run-test: commands[12] | coverage html -d ./cover '--omit=*tests*'
Wrote HTML report to ./cover/index.html
cover run-test: commands[13] | coverage xml -o coverage.xml '--omit=*tests*'
Wrote XML report to coverage.xml
flake8 create: /tmp/.tox/flake8
flake8 installdeps: flake8==5.0.4, flake8-import-order
flake8 installed: flake8==5.0.4,flake8-import-order==0.18.2,mccabe==0.7.0,pycodestyle==2.9.1,pyflakes==2.5.0
flake8 run-test-pre: PYTHONHASHSEED='3740045271'
flake8 run-test: commands[0] | flake8 NG-RO/osm_ng_ro/ NG-RO/setup.py
NG-RO/osm_ng_ro/ns.py:2393:5: E303 too many blank lines (2)
def _prepare_flavor_create_item(
^
NG-RO/osm_ng_ro/ns.py:2564:29: E126 continuation line over-indented for hanging indent
existing_instance=existing_instance,
^
ERROR: InvocationError for command /tmp/.tox/flake8/bin/flake8 NG-RO/osm_ng_ro/ NG-RO/setup.py (exited with code 1)
pylint create: /tmp/.tox/pylint
pylint installdeps: -r/home/jenkins/workspace/RO-stage_2_v14.0/requirements.txt, -r/home/jenkins/workspace/RO-stage_2_v14.0/requirements-dev.txt, -r/home/jenkins/workspace/RO-stage_2_v14.0/requirements-test.txt, pylint==2.17.7
pylint installed: adal==1.2.7,aiokafka==0.8.1,appdirs==1.4.4,astroid==2.15.8,async-timeout==4.0.3,atpublic==4.0,attrs==23.1.0,autopage==0.5.1,azure-common==1.1.28,azure-core==1.29.4,azure-identity==1.14.0,azure-mgmt-compute==30.3.0,azure-mgmt-core==1.4.0,azure-mgmt-network==25.1.0,azure-mgmt-resource==23.0.1,bcrypt==4.0.1,boto==2.49.0,cachetools==5.3.1,certifi==2023.7.22,cffi==1.16.0,charset-normalizer==3.3.0,cheroot==10.0.0,CherryPy==18.1.2,cliff==4.3.0,cmd2==2.4.3,coverage==7.3.2,cryptography==41.0.4,cvprac==1.3.1,dataclasses==0.6,debtcollector==2.5.0,decorator==5.1.1,dill==0.3.8,dnspython==2.4.2,dogpile.cache==1.2.2,flufl.enum==6.0.2,google-api-core==2.12.0,google-api-python-client==2.101.0,google-auth==2.23.2,google-auth-httplib2==0.1.1,google-cloud==0.34.0,googleapis-common-protos==1.60.0,httplib2==0.22.0,humanfriendly==10.0,idna==3.4,importlib-metadata==6.8.0,ipconflict==0.5.0,iso8601==2.1.0,isodate==0.6.1,isort==5.13.2,jaraco.functools==3.9.0,Jinja2==3.1.2,jmespath==1.0.1,jsonpatch==1.33,jsonpointer==2.4,jsonschema==4.19.1,jsonschema-specifications==2023.7.1,kafka-python==2.0.2,keystoneauth1==5.3.0,lazy-object-proxy==1.10.0,logutils==0.3.5,lxml==4.9.3,MarkupSafe==2.1.3,mccabe==0.7.0,mock==5.1.0,more-itertools==10.1.0,motor==3.3.1,msal==1.24.1,msal-extensions==1.0.0,msgpack==1.0.7,msrest==0.7.1,msrestazure==0.6.4,netaddr==0.9.0,netifaces==0.11.0,nose2==0.13.0,oauthlib==3.2.2,openstacksdk==1.5.0,os-client-config==2.1.0,os-service-types==1.7.0,osc-lib==2.8.1,oslo.config==9.2.0,oslo.context==5.2.0,oslo.i18n==6.1.0,oslo.log==5.3.0,oslo.serialization==5.2.0,oslo.utils==6.2.1,osm-common @ git+https://osm.etsi.org/gerrit/osm/common.git@df511049aeda8da03035b3adc2f900b76c8255de,-e git+https://osm.etsi.org/gerrit/osm/RO.git@dc4b2f8bd1b51767c7f0002c1735d89e0b42b606#egg=osm_ro_plugin&subdirectory=RO-plugin,packaging==23.1,paramiko==3.3.1,pbr==5.11.1,platformdirs==4.2.1,portalocker==2.8.2,portend==3.2.0,prettytable==3.9.0,progressbar==2.5,protobuf==4.24.3,py-radix==0.10.0,pyasn1==0.5.0,pyasn1-modules==0.3.0,pycparser==2.21,pycryptodome==3.19.0,Pygments==2.16.1,pyinotify==0.9.6,PyJWT==2.8.0,pylint==2.17.7,pymongo==4.5.0,PyNaCl==1.5.0,pyOpenSSL==23.2.0,pyparsing==3.1.1,pyperclip==1.8.2,PySocks==1.7.1,python-cinderclient==7.4.1,python-dateutil==2.8.2,python-glanceclient==4.4.0,python-keystoneclient==5.2.0,python-neutronclient==11.0.0,python-novaclient==18.4.0,python-openstackclient==6.3.0,pytz==2023.3.post1,pyvcloud==19.1.1,pyvmomi==8.0.2.0,PyYAML==6.0.1,referencing==0.30.2,requests==2.31.0,requests-oauthlib==1.3.1,requestsexceptions==1.4.0,rfc3986==2.0.0,rpds-py==0.10.3,rsa==4.9,simplejson==3.19.1,six==1.16.0,stevedore==5.1.0,tempora==5.5.0,tomli==2.0.1,tomlkit==0.12.4,tqdm==4.66.1,typing_extensions==4.8.0,tzdata==2023.3,uritemplate==4.1.1,urllib3==2.0.6,uuid==1.30,warlock==2.0.1,wcwidth==0.2.8,wrapt==1.15.0,zc.lockfile==3.0.post1,zipp==3.17.0
pylint run-test-pre: PYTHONHASHSEED='3740045271'
pylint run-test: commands[0] | pylint -E NG-RO/osm_ng_ro --disable=E1101
pylint run-test: commands[1] | pylint -E RO-plugin/osm_ro_plugin --disable=E1101
pylint run-test: commands[2] | pylint -E RO-SDN-arista_cloudvision/osm_rosdn_arista_cloudvision --disable=all
pylint run-test: commands[3] | pylint -E RO-SDN-dpb/osm_rosdn_dpb
pylint run-test: commands[4] | pylint -E RO-SDN-dynpac/osm_rosdn_dynpac --disable=E1101
pylint run-test: commands[5] | pylint -E RO-SDN-floodlight_openflow/osm_rosdn_floodlightof
pylint run-test: commands[6] | pylint -E RO-SDN-ietfl2vpn/osm_rosdn_ietfl2vpn --disable=E1101
pylint run-test: commands[7] | pylint -E RO-SDN-juniper_contrail/osm_rosdn_juniper_contrail
pylint run-test: commands[8] | pylint -E RO-SDN-odl_openflow/osm_rosdn_odlof
pylint run-test: commands[9] | pylint -E RO-SDN-onos_openflow/osm_rosdn_onosof
pylint run-test: commands[10] | pylint -E RO-SDN-onos_vpls/osm_rosdn_onos_vpls --disable=E1101
pylint run-test: commands[11] | pylint -E RO-SDN-tapi/osm_rosdn_tapi
pylint run-test: commands[12] | pylint -E RO-VIM-aws/osm_rovim_aws
pylint run-test: commands[13] | pylint -E RO-VIM-azure/osm_rovim_azure --disable=all
pylint run-test: commands[14] | pylint -E RO-VIM-openstack/osm_rovim_openstack --disable=E1101
pylint run-test: commands[15] | pylint -E RO-VIM-openvim/osm_rovim_openvim --disable=all
pylint run-test: commands[16] | pylint -E RO-VIM-vmware/osm_rovim_vmware --disable=all
pylint run-test: commands[17] | pylint -E RO-VIM-gcp/osm_rovim_gcp --disable=E1101
safety create: /tmp/.tox/safety
safety installdeps: -r/home/jenkins/workspace/RO-stage_2_v14.0/requirements.txt, safety
safety installed: adal==1.2.7,annotated-types==0.6.0,appdirs==1.4.4,atpublic==4.0,attrs==23.1.0,Authlib==1.3.0,autopage==0.5.1,azure-common==1.1.28,azure-core==1.29.4,azure-identity==1.14.0,azure-mgmt-compute==30.3.0,azure-mgmt-core==1.4.0,azure-mgmt-network==25.1.0,azure-mgmt-resource==23.0.1,bcrypt==4.0.1,boto==2.49.0,cachetools==5.3.1,certifi==2023.7.22,cffi==1.16.0,charset-normalizer==3.3.0,cheroot==10.0.0,CherryPy==18.1.2,click==8.1.7,cliff==4.3.0,cmd2==2.4.3,cryptography==41.0.4,cvprac==1.3.1,debtcollector==2.5.0,decorator==5.1.1,dogpile.cache==1.2.2,dparse==0.6.4b0,flufl.enum==6.0.2,google-api-core==2.12.0,google-api-python-client==2.101.0,google-auth==2.23.2,google-auth-httplib2==0.1.1,google-cloud==0.34.0,googleapis-common-protos==1.60.0,httplib2==0.22.0,humanfriendly==10.0,idna==3.4,importlib-metadata==6.8.0,ipconflict==0.5.0,iso8601==2.1.0,isodate==0.6.1,jaraco.functools==3.9.0,Jinja2==3.1.2,jmespath==1.0.1,jsonpatch==1.33,jsonpointer==2.4,jsonschema==4.19.1,jsonschema-specifications==2023.7.1,keystoneauth1==5.3.0,logutils==0.3.5,lxml==4.9.3,markdown-it-py==3.0.0,MarkupSafe==2.1.3,marshmallow==3.21.2,mdurl==0.1.2,more-itertools==10.1.0,msal==1.24.1,msal-extensions==1.0.0,msgpack==1.0.7,msrest==0.7.1,msrestazure==0.6.4,netaddr==0.9.0,netifaces==0.11.0,oauthlib==3.2.2,openstacksdk==1.5.0,os-client-config==2.1.0,os-service-types==1.7.0,osc-lib==2.8.1,oslo.config==9.2.0,oslo.context==5.2.0,oslo.i18n==6.1.0,oslo.log==5.3.0,oslo.serialization==5.2.0,oslo.utils==6.2.1,packaging==23.1,paramiko==3.3.1,pbr==5.11.1,portalocker==2.8.2,portend==3.2.0,prettytable==3.9.0,progressbar==2.5,protobuf==4.24.3,py-radix==0.10.0,pyasn1==0.5.0,pyasn1-modules==0.3.0,pycparser==2.21,pydantic==2.7.1,pydantic_core==2.18.2,Pygments==2.16.1,pyinotify==0.9.6,PyJWT==2.8.0,PyNaCl==1.5.0,pyOpenSSL==23.2.0,pyparsing==3.1.1,pyperclip==1.8.2,PySocks==1.7.1,python-cinderclient==7.4.1,python-dateutil==2.8.2,python-glanceclient==4.4.0,python-keystoneclient==5.2.0,python-neutronclient==11.0.0,python-novaclient==18.4.0,python-openstackclient==6.3.0,pytz==2023.3.post1,pyvcloud==19.1.1,pyvmomi==8.0.2.0,PyYAML==6.0.1,referencing==0.30.2,requests==2.31.0,requests-oauthlib==1.3.1,requestsexceptions==1.4.0,rfc3986==2.0.0,rich==13.7.1,rpds-py==0.10.3,rsa==4.9,ruamel.yaml==0.18.6,ruamel.yaml.clib==0.2.8,safety==3.2.0,safety-schemas==0.0.2,shellingham==1.5.4,simplejson==3.19.1,six==1.16.0,stevedore==5.1.0,tempora==5.5.0,tomli==2.0.1,tqdm==4.66.1,typer==0.12.3,typing_extensions==4.8.0,tzdata==2023.3,uritemplate==4.1.1,urllib3==2.0.6,uuid==1.30,warlock==2.0.1,wcwidth==0.2.8,wrapt==1.15.0,zc.lockfile==3.0.post1,zipp==3.17.0
safety run-test-pre: PYTHONHASHSEED='3740045271'
safety run-test: commands[0] | - safety check --full-report
+==============================================================================+
/$$$$$$ /$$
/$$__ $$ | $$
/$$$$$$$ /$$$$$$ | $$ \__//$$$$$$ /$$$$$$ /$$ /$$
/$$_____/ |____ $$| $$$$ /$$__ $$|_ $$_/ | $$ | $$
| $$$$$$ /$$$$$$$| $$_/ | $$$$$$$$ | $$ | $$ | $$
\____ $$ /$$__ $$| $$ | $$_____/ | $$ /$$| $$ | $$
/$$$$$$$/| $$$$$$$| $$ | $$$$$$$ | $$$$/| $$$$$$$
|_______/ \_______/|__/ \_______/ \___/ \____ $$
/$$ | $$
| $$$$$$/
by safetycli.com \______/
+==============================================================================+
[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 [1mv3.2.0[0m is scanning for [1mVulnerabilities[0m[1m...[0m
[1m Scanning dependencies[0m in your [1menvironment:[0m
-> /usr/lib/python3.10
-> /usr/lib/python310.zip
-> /usr/lib/python3.10/lib-dynload
-> /tmp/.tox/safety/lib/python3.10/site-packages
-> /tmp/.tox/safety/bin
Using [1mopen-source vulnerability database[0m
[1m Found and scanned 144 packages[0m
Timestamp [1m2024-05-08 11:09:18[0m
[1m 14[0m[1m vulnerabilities reported[0m
[1m 0[0m[1m vulnerabilities ignored[0m
+==============================================================================+
[1mVULNERABILITIES REPORTED[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 about this vulnerability, visit
[0mhttps://data.safetycli.com/v/51499/97c[0m
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.
[31m-> Vulnerability found in urllib3 version 2.0.6[0m
[1m Vulnerability ID: [0m61893
[1m Affected spec: [0m>=2.0.0a1,<2.0.7
[1m ADVISORY: [0mUrllib3 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
[1m CVE-2023-45803[0m
[1m For more information about this vulnerability, visit
[0mhttps://data.safetycli.com/v/61893/97c[0m
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.
[31m-> Vulnerability found in pyvcloud version 19.1.1[0m
[1m Vulnerability ID: [0m36809
[1m Affected spec: [0m<20.0.0
[1m ADVISORY: [0mPyvcloud 20.0.0 fixes CVE-2017-18342: Replace
yaml.load() with yaml.safe_load()
[1m CVE-2017-18342[0m
[1m For more information about this vulnerability, visit
[0mhttps://data.safetycli.com/v/36809/97c[0m
To ignore this vulnerability, use PyUp vulnerability id 36809 in safety’s
ignore command-line argument or add the ignore to your safety policy file.
[31m-> Vulnerability found in pyopenssl version 23.2.0[0m
[1m Vulnerability ID: [0m65213
[1m Affected spec: [0m>=22.0.0
[1m ADVISORY: [0mCVE-2023-6129 affects PyOpenSSL versions starting from
22.0.0 due to a vulnerability in the POLY1305 MAC algorithm on PowerPC
CPUs. This issue could lead to state corruption in applications, causing
inaccurate outcomes or service disruptions. Attackers need specific
conditions to exploit this flaw, including the ability to manipulate the
algorithm's use and reliance on certain system registers by the
application.
[1m CVE-2023-6129[0m
[1m For more information about this vulnerability, visit
[0mhttps://data.safetycli.com/v/65213/97c[0m
To ignore this vulnerability, use PyUp vulnerability id 65213 in safety’s
ignore command-line argument or add the ignore to your safety policy file.
[31m-> Vulnerability found in pip version 22.0.2[0m
[1m Vulnerability ID: [0m62044
[1m Affected spec: [0m<23.3
[1m ADVISORY: [0mAffected 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.
[1m CVE-2023-5752[0m
[1m For more information about this vulnerability, visit
[0mhttps://data.safetycli.com/v/62044/97c[0m
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.
[31m-> Vulnerability found in paramiko version 3.3.1[0m
[1m Vulnerability ID: [0m65193
[1m Affected spec: [0m<3.4.0
[1m ADVISORY: [0mThe SSH transport protocol with certain OpenSSH
extensions, found in OpenSSH before 9.6 and other products, allows remote
attackers to bypass integrity checks such that some packets are omitted
(from the extension negotiation message), and a client and server may
consequently end up with a connection for which some security features
have been downgraded or disabled, aka a Terrapin attack. This occurs
because the SSH Binary Packet Protocol (BPP), implemented by these
extensions, mishandles the handshake phase and mishandles use of sequence
numbers. For example, there is an effective attack against SSH's use of
ChaCha20-Poly1305 (and CBC with Encrypt-then-MAC). The bypass occurs in
chacha20-poly1305@openssh.com and (if CBC is used) the -etm@openssh.com
MAC algorithms.
[1m CVE-2023-48795[0m
[1m For more information about this vulnerability, visit
[0mhttps://data.safetycli.com/v/65193/97c[0m
To ignore this vulnerability, use PyUp vulnerability id 65193 in safety’s
ignore command-line argument or add the ignore to your safety policy file.
[31m-> Vulnerability found in paramiko version 3.3.1[0m
[1m Vulnerability ID: [0m63227
[1m Affected spec: [0m<3.4.0
[1m ADVISORY: [0mParamiko 3.4.0 has been released to fix vulnerabilities
affecting encrypt-then-MAC digest algorithms in tandem with CBC ciphers,
and ChaCha20-poly1305. The fix requires cooperation from both ends of the
connection, making it effective when the remote end is OpenSSH >= 9.6 and
configured to use the new “strict kex” mode. For further details, refer to
the official Paramiko documentation or GitHub
repository.https://github.com/advisories/GHSA-45x7-px36-x8w8
[1m CVE-2023-48795[0m
[1m For more information about this vulnerability, visit
[0mhttps://data.safetycli.com/v/63227/97c[0m
To ignore this vulnerability, use PyUp vulnerability id 63227 in safety’s
ignore command-line argument or add the ignore to your safety policy file.
[31m-> Vulnerability found in cryptography version 41.0.4[0m
[1m Vulnerability ID: [0m65647
[1m Affected spec: [0m<42.0.5
[1m ADVISORY: [0mCryptography version 42.0.5 introduces a limit on the
number of name constraint checks during X.509 path validation to prevent
denial of service attacks.https://github.com/pyca/cryptography/commit/4be5
3bf20cc90cbac01f5f94c5d1aecc5289ba1f
[1m PVE-2024-65647[0m
[1m For more information about this vulnerability, visit
[0mhttps://data.safetycli.com/v/65647/97c[0m
To ignore this vulnerability, use PyUp vulnerability id 65647 in safety’s
ignore command-line argument or add the ignore to your safety policy file.
[31m-> Vulnerability found in cryptography version 41.0.4[0m
[1m Vulnerability ID: [0m62556
[1m Affected spec: [0m>=3.1,<41.0.6
[1m ADVISORY: [0mCryptography 41.0.6 includes a fix for CVE-2023-49083:
NULL-dereference when loading PKCS7
certificates.https://github.com/advisories/GHSA-jfhm-5ghh-2f97
[1m CVE-2023-49083[0m
[1m For more information about this vulnerability, visit
[0mhttps://data.safetycli.com/v/62556/97c[0m
To ignore this vulnerability, use PyUp vulnerability id 62556 in safety’s
ignore command-line argument or add the ignore to your safety policy file.
[31m-> Vulnerability found in cryptography version 41.0.4[0m
[1m Vulnerability ID: [0m65212
[1m Affected spec: [0m>=35.0.0,<42.0.2
[1m ADVISORY: [0mVersions of Cryptograph starting from 35.0.0 are
susceptible to a security flaw in the POLY1305 MAC algorithm on PowerPC
CPUs, which allows an attacker to disrupt the application's state. This
disruption might result in false calculations or cause a denial of
service. The vulnerability's exploitation hinges on the attacker's ability
to alter the algorithm's application and the dependency of the software on
non-volatile XMM registers.https://github.com/pyca/cryptography/commit/89d
0d56fb104ac4e0e6db63d78fc22b8c53d27e9
[1m CVE-2023-6129[0m
[1m For more information about this vulnerability, visit
[0mhttps://data.safetycli.com/v/65212/97c[0m
To ignore this vulnerability, use PyUp vulnerability id 65212 in safety’s
ignore command-line argument or add the ignore to your safety policy file.
[31m-> Vulnerability found in cryptography version 41.0.4[0m
[1m Vulnerability ID: [0m66777
[1m Affected spec: [0m>=35.0.0,<42.0.2
[1m ADVISORY: [0mCVE-2023-6237 addresses a vulnerability in RSA public
key verification where checking a large, incorrect RSA key with
EVP_PKEY_public_check() could take an excessive amount of time. This is
due to no size limit on the RSA public key and an unnecessarily high
number of Miller-Rabin rounds for modulus non-primality checks. The fix
sets a maximum key size of 16384 bits and reduces Miller-Rabin rounds to
5, enhancing security and performance by preventing the
RSA_R_MODULUS_TOO_LARGE error.
[1m CVE-2023-6237[0m
[1m For more information about this vulnerability, visit
[0mhttps://data.safetycli.com/v/66777/97c[0m
To ignore this vulnerability, use PyUp vulnerability id 66777 in safety’s
ignore command-line argument or add the ignore to your safety policy file.
[31m-> Vulnerability found in cryptography version 41.0.4[0m
[1m Vulnerability ID: [0m66704
[1m Affected spec: [0m>=38.0.0,<42.0.4
[1m ADVISORY: [0mcryptography is a package designed to expose
cryptographic primitives and recipes to Python developers. Starting in
version 38.0.0 and before version 42.0.4, if
`pkcs12.serialize_key_and_certificates` is called with both a certificate
whose public key did not match the provided private key and an
`encryption_algorithm` with `hmac_hash` set (via
`PrivateFormat.PKCS12.encryption_builder().hmac_hash(...)`, then a NULL
pointer dereference would occur, crashing the Python process. This has
been resolved in version 42.0.4, the first version in which a `ValueError`
is properly raised.
[1m CVE-2024-26130[0m
[1m For more information about this vulnerability, visit
[0mhttps://data.safetycli.com/v/66704/97c[0m
To ignore this vulnerability, use PyUp vulnerability id 66704 in safety’s
ignore command-line argument or add the ignore to your safety policy file.
[31m-> Vulnerability found in cryptography version 41.0.4[0m
[1m Vulnerability ID: [0m65278
[1m Affected spec: [0m<42.0.0
[1m ADVISORY: [0mA flaw was found in the python-cryptography package.
This issue may allow a remote attacker to decrypt captured messages in TLS
servers that use RSA key exchanges, which may lead to exposure of
confidential or sensitive data. See CVE-2023-50782.
[1m CVE-2023-50782[0m
[1m For more information about this vulnerability, visit
[0mhttps://data.safetycli.com/v/65278/97c[0m
To ignore this vulnerability, use PyUp vulnerability id 65278 in safety’s
ignore command-line argument or add the ignore to your safety policy file.
[31m-> Vulnerability found in jinja2 version 3.1.2[0m
[1m Vulnerability ID: [0m64227
[1m Affected spec: [0m<3.1.3
[1m ADVISORY: [0mJinja2 before 3.1.3 is affected by a Cross-Site
Scripting vulnerability. Special placeholders in the template allow
writing code similar to Python syntax. It is possible to inject arbitrary
HTML attributes into the rendered HTML template. The Jinja 'xmlattr'
filter can be abused to inject arbitrary HTML attribute keys and values,
bypassing the auto escaping mechanism and potentially leading to XSS. It
may also be possible to bypass attribute validation checks if they are
blacklist-based.
[1m CVE-2024-22195[0m
[1m For more information about this vulnerability, visit
[0mhttps://data.safetycli.com/v/64227/97c[0m
To ignore this vulnerability, use PyUp vulnerability id 64227 in safety’s
ignore command-line argument or add the ignore to your safety policy file.
+==============================================================================+
[32m[1mREMEDIATIONS[0m
14 vulnerabilities were reported in 8 packages. For detailed remediation &
fix recommendations, upgrade to a commercial license.
+==============================================================================+
Scan was completed. 14 vulnerabilities were reported.
+==============================================================================+
[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
___________________________________ summary ____________________________________
ERROR: black: commands failed
cover: commands succeeded
ERROR: flake8: commands failed
pylint: commands succeeded
safety: commands succeeded
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
$ docker stop --time=1 d2884f404ef7c7de65428db3a3bdcf643446c5db657197ca4e0705fd8e01341b
$ docker rm -f d2884f404ef7c7de65428db3a3bdcf643446c5db657197ca4e0705fd8e01341b
[Pipeline] // withDockerContainer
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: script returned exit code 1
Finished: FAILURE