Started by upstream project "IM-stage_1" build number 935 originally caused by: Triggered by Gerrit: https://osm.etsi.org/gerrit/14264 > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to https://osm.etsi.org/gerrit/osm/IM.git > git config remote.origin.url https://osm.etsi.org/gerrit/osm/IM.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/rift300 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/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 25 remote branches Obtained Jenkinsfile from 88bac732521859614e3acfdcc52e328c0ca7168b Running in Durability level: MAX_SURVIVABILITY [Pipeline] properties [Pipeline] node Running on osm-cicd-3 in /home/jenkins/workspace/IM-stage_2_v14.0 [Pipeline] { [Pipeline] checkout No credentials specified Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository https://osm.etsi.org/gerrit/osm/IM.git > git init /home/jenkins/workspace/IM-stage_2_v14.0 # timeout=10 Fetching upstream changes from https://osm.etsi.org/gerrit/osm/IM.git > git --version # timeout=10 > git fetch --no-tags --force --progress https://osm.etsi.org/gerrit/osm/IM.git +refs/heads/*:refs/remotes/origin/* > git config remote.origin.url https://osm.etsi.org/gerrit/osm/IM.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url https://osm.etsi.org/gerrit/osm/IM.git # timeout=10 Fetching without tags Fetching upstream changes from https://osm.etsi.org/gerrit/osm/IM.git > git fetch --no-tags --force --progress https://osm.etsi.org/gerrit/osm/IM.git +refs/heads/*:refs/remotes/origin/* Checking out Revision 88bac732521859614e3acfdcc52e328c0ca7168b (v14.0) > git config core.sparsecheckout # timeout=10 > git checkout -f 88bac732521859614e3acfdcc52e328c0ca7168b Commit message: "Fix osm-im installation from setup" > git rev-list --no-walk c025acf03e564da16cd4cdce79c8462172ce61a4 # timeout=10 [Pipeline] dir Running in /home/jenkins/workspace/IM-stage_2_v14.0/devops [Pipeline] { [Pipeline] git No credentials specified Cloning the remote Git repository Cloning repository https://osm.etsi.org/gerrit/osm/devops > git init /home/jenkins/workspace/IM-stage_2_v14.0/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 config remote.origin.url https://osm.etsi.org/gerrit/osm/devops # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 cfe99d5c8f6105eff01919083418c8236465d2fc (refs/remotes/origin/v14.0) > git config core.sparsecheckout # timeout=10 > git checkout -f cfe99d5c8f6105eff01919083418c8236465d2fc > git branch -a -v --no-abbrev # timeout=10 > git checkout -b v14.0 cfe99d5c8f6105eff01919083418c8236465d2fc Commit message: "Fix Bug 2338: updated kubernetes apt repo from apt.kubernetes.io to pkgs.k8s.io" > git rev-list --no-walk d31ac6bd4e18ff376d0a521b8520aa071693ec0d # 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 [IM-stage_2_v14.0] Running shell script + env JENKINS_HOME=/var/lib/jenkins SSH_CLIENT=212.234.161.1 45335 22 USER=jenkins RUN_CHANGES_DISPLAY_URL=https://osm.etsi.org/jenkins/job/IM-stage_2/job/v14.0/13/display/redirect?page=changes GERRIT_PROJECT=osm/IM 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/IM-stage_2/job/v14.0/13/ HUDSON_COOKIE=acefecd2-db69-415c-89ff-726f0cafcc51 JENKINS_SERVER_COOKIE=durable-d2dd06324b558b8153005f2243592a55 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus GERRIT_PATCHSET_REVISION=a54dbc2b3c8db303b7615ef25f76695ca12b9eab WORKSPACE=/home/jenkins/workspace/IM-stage_2_v14.0 LOGNAME=jenkins NODE_NAME=osm-cicd-3 GERRIT_BRANCH=v14.0 _=/usr/bin/java RUN_ARTIFACTS_DISPLAY_URL=https://osm.etsi.org/jenkins/job/IM-stage_2/job/v14.0/13/display/redirect?page=artifacts XDG_SESSION_CLASS=user EXECUTOR_NUMBER=1 XDG_SESSION_ID=1975 RUN_TESTS_DISPLAY_URL=https://osm.etsi.org/jenkins/job/IM-stage_2/job/v14.0/13/display/redirect?page=tests BUILD_DISPLAY_NAME=#13 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=13 XDG_RUNTIME_DIR=/run/user/1001 BUILD_TAG=jenkins-IM-stage_2-v14.0-13 JENKINS_URL=https://osm.etsi.org/jenkins/ LANG=C.UTF-8 JOB_URL=https://osm.etsi.org/jenkins/job/IM-stage_2/job/v14.0/ BUILD_NUMBER=13 SHELL=/bin/bash RUN_DISPLAY_URL=https://osm.etsi.org/jenkins/job/IM-stage_2/job/v14.0/13/display/redirect ARTIFACTORY_SERVER=artifactory-osm GERRIT_REFSPEC=refs/changes/64/14264/1 HUDSON_SERVER_COOKIE=6d3295a483c3e6d5 JOB_DISPLAY_URL=https://osm.etsi.org/jenkins/job/IM-stage_2/job/v14.0/display/redirect JOB_NAME=IM-stage_2/v14.0 TEST_INSTALL=true PWD=/home/jenkins/workspace/IM-stage_2_v14.0 SSH_CONNECTION=212.234.161.1 45335 172.21.249.3 22 BRANCH_NAME=v14.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Checkout) [Pipeline] sh [IM-stage_2_v14.0] Running shell script + git fetch --tags From https://osm.etsi.org/gerrit/osm/IM * [new tag] BUILD_v4.0.1_1 -> BUILD_v4.0.1_1 * [new tag] BUILD_v4.0.1_2 -> BUILD_v4.0.1_2 * [new tag] branch-bug1511-start -> branch-bug1511-start * [new tag] branch-ng-ro-refactor-start -> branch-ng-ro-refactor-start * [new tag] branch-sol006v331-start -> branch-sol006v331-start * [new tag] release-v10.0-start -> release-v10.0-start * [new tag] release-v11.0-start -> release-v11.0-start * [new tag] release-v12.0-start -> release-v12.0-start * [new tag] release-v13.0-start -> release-v13.0-start * [new tag] release-v14.0-start -> release-v14.0-start * [new tag] release-v15.0-start -> release-v15.0-start * [new tag] release-v8.0-start -> release-v8.0-start * [new tag] release-v9.0-start -> release-v9.0-start * [new tag] v0.0.0 -> v0.0.0 * [new tag] v10.0.0 -> v10.0.0 * [new tag] v10.0.1 -> v10.0.1 * [new tag] v10.0.2 -> v10.0.2 * [new tag] v10.0.3 -> v10.0.3 * [new tag] v10.1.0 -> v10.1.0 * [new tag] v10.1.0-rc1 -> v10.1.0-rc1 * [new tag] v10.1.0rc2 -> v10.1.0rc2 * [new tag] v10.1.0rc3 -> v10.1.0rc3 * [new tag] v10.1.1 -> v10.1.1 * [new tag] v10.1.1-rc1 -> v10.1.1-rc1 * [new tag] v10.1.1rc2 -> v10.1.1rc2 * [new tag] v10.1.2 -> v10.1.2 * [new tag] v10.1.3 -> v10.1.3 * [new tag] v10.1.4 -> v10.1.4 * [new tag] v10.1.5 -> v10.1.5 * [new tag] v11.0.0 -> v11.0.0 * [new tag] v11.0.0rc1 -> v11.0.0rc1 * [new tag] v11.0.0rc2 -> v11.0.0rc2 * [new tag] v11.0.1 -> v11.0.1 * [new tag] v11.0.2 -> v11.0.2 * [new tag] v11.0.3 -> v11.0.3 * [new tag] v11.0.4 -> v11.0.4 * [new tag] v12.0.0 -> v12.0.0 * [new tag] v12.0.0rc1 -> v12.0.0rc1 * [new tag] v12.0.1 -> v12.0.1 * [new tag] v12.0.2 -> v12.0.2 * [new tag] v12.0.3 -> v12.0.3 * [new tag] v12.0.4 -> v12.0.4 * [new tag] v12.0.5 -> v12.0.5 * [new tag] v12.0.6 -> v12.0.6 * [new tag] v12.0.7 -> v12.0.7 * [new tag] v13.0.0 -> v13.0.0 * [new tag] v13.0.0rc1 -> v13.0.0rc1 * [new tag] v13.0.0rc2 -> v13.0.0rc2 * [new tag] v13.0.1 -> v13.0.1 * [new tag] v13.0.2 -> v13.0.2 * [new tag] v14.0.0 -> v14.0.0 * [new tag] v14.0.0rc1 -> v14.0.0rc1 * [new tag] v14.0.1 -> v14.0.1 * [new tag] v15.0.0 -> v15.0.0 * [new tag] v3.0.0 -> v3.0.0 * [new tag] v3.0.0rc -> v3.0.0rc * [new tag] v3.0.0rc02 -> v3.0.0rc02 * [new tag] v3.0.0rc14 -> v3.0.0rc14 * [new tag] v3.0.0rc15 -> v3.0.0rc15 * [new tag] v3.0.0rc16 -> v3.0.0rc16 * [new tag] v3.0.0rc17 -> v3.0.0rc17 * [new tag] v3.0.0rc2 -> v3.0.0rc2 * [new tag] v3.0.1 -> v3.0.1 * [new tag] v3.0.2 -> v3.0.2 * [new tag] v3.0.3 -> v3.0.3 * [new tag] v3.1.0 -> v3.1.0 * [new tag] v4.0.0 -> v4.0.0 * [new tag] v4.0.1 -> v4.0.1 * [new tag] v5.0.0 -> v5.0.0 * [new tag] v5.0.1 -> v5.0.1 * [new tag] v5.0.2 -> v5.0.2 * [new tag] v5.0.3 -> v5.0.3 * [new tag] v5.0.4 -> v5.0.4 * [new tag] v5.0.5 -> v5.0.5 * [new tag] v6.0.0 -> v6.0.0 * [new tag] v6.0.1 -> v6.0.1 * [new tag] v6.0.2 -> v6.0.2 * [new tag] v6.0.2rc1 -> v6.0.2rc1 * [new tag] v6.0.3 -> v6.0.3 * [new tag] v6.0.4 -> v6.0.4 * [new tag] v6.0.4rc1 -> v6.0.4rc1 * [new tag] v7.0.0 -> v7.0.0 * [new tag] v7.0.0rc1 -> v7.0.0rc1 * [new tag] v7.0.1 -> v7.0.1 * [new tag] v7.0.1rc1 -> v7.0.1rc1 * [new tag] v7.0.1rc2 -> v7.0.1rc2 * [new tag] v7.0.1rc3 -> v7.0.1rc3 * [new tag] v7.1.0 -> v7.1.0 * [new tag] v7.1.0rc1 -> v7.1.0rc1 * [new tag] v7.1.0rc2 -> v7.1.0rc2 * [new tag] v7.1.0rc3 -> v7.1.0rc3 * [new tag] v7.1.0rc4 -> v7.1.0rc4 * [new tag] v7.1.0rc5 -> v7.1.0rc5 * [new tag] v7.1.0rc6 -> v7.1.0rc6 * [new tag] v7.1.2 -> v7.1.2 * [new tag] v7.1.3 -> v7.1.3 * [new tag] v7.1.4 -> v7.1.4 * [new tag] v7.1.5 -> v7.1.5 * [new tag] v8.0.0 -> v8.0.0 * [new tag] v8.0.0rc1 -> v8.0.0rc1 * [new tag] v8.0.0rc2 -> v8.0.0rc2 * [new tag] v8.0.0rc3 -> v8.0.0rc3 * [new tag] v8.0.1 -> v8.0.1 * [new tag] v8.0.1rc1 -> v8.0.1rc1 * [new tag] v8.0.2 -> v8.0.2 * [new tag] v8.0.3 -> v8.0.3 * [new tag] v8.0.4 -> v8.0.4 * [new tag] v9.0.0 -> v9.0.0 * [new tag] v9.0.0rc1 -> v9.0.0rc1 * [new tag] v9.1.0 -> v9.1.0 * [new tag] v9.1.1 -> v9.1.1 * [new tag] v9.1.1rc1 -> v9.1.1rc1 * [new tag] v9.1.2 -> v9.1.2 * [new tag] v9.1.3 -> v9.1.3 * [new tag] v9.1.4 -> v9.1.4 * [new tag] v9.1.5 -> v9.1.5 [IM-stage_2_v14.0] Running shell script [Pipeline] sh + git fetch origin refs/changes/64/14264/1 From https://osm.etsi.org/gerrit/osm/IM * branch refs/changes/64/14264/1 -> FETCH_HEAD [Pipeline] sh [IM-stage_2_v14.0] Running shell script + git checkout -f a54dbc2b3c8db303b7615ef25f76695ca12b9eab Previous HEAD position was 88bac73 Fix osm-im installation from setup HEAD is now at a54dbc2 Update openjdk version to 19 and yang2swagger version to 2.1.0 [Pipeline] sh [IM-stage_2_v14.0] Running shell script + sudo git clean -dfx [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (License Scan) [Pipeline] sh [IM-stage_2_v14.0] Running shell script + devops/tools/license_scan.sh Dockerfile is text Dockerfile Apache-2.0 Makefile is text Makefile Apache-2.0 requirements-dist.in is text requirements-dist.in Apache-2.0 requirements-dist.txt is text requirements-dist.txt Apache-2.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Release Note Check) [Pipeline] fileExists [Pipeline] echo No releasenote check present [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker-Build) [Pipeline] sh [IM-stage_2_v14.0] Running shell script + docker build --build-arg APT_PROXY=http://172.21.1.1:3142 -t osm/im-v14.0 . Sending build context to Docker daemon 151.7MB Step 1/6 : FROM ubuntu:22.04 ---> ca2b0f26964c Step 2/6 : ARG APT_PROXY ---> Using cache ---> 06e999805a83 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 ---> ac3d099e0f50 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 ---> 595a608862e4 Step 5/6 : RUN DEBIAN_FRONTEND=noninteractive apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y install wget build-essential dh-make openjdk-19-jdk maven ---> Using cache ---> 0c468365b931 Step 6/6 : RUN update-java-alternatives --jre-headless --set /usr/lib/jvm/java-1.19.0-openjdk-amd64 ---> Using cache ---> 0f538af3c56b Successfully built 0f538af3c56b Successfully tagged osm/im-v14.0:latest [Pipeline] } [Pipeline] // stage [Pipeline] sh [IM-stage_2_v14.0] Running shell script + id -u [Pipeline] sh [IM-stage_2_v14.0] Running shell script + id -g 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/IM-stage_2_v14.0 -v /home/jenkins/workspace/IM-stage_2_v14.0:/home/jenkins/workspace/IM-stage_2_v14.0:rw,z -v /home/jenkins/workspace/IM-stage_2_v14.0@tmp:/home/jenkins/workspace/IM-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/im-v14.0 [Pipeline] withDockerContainer [Pipeline] { [Pipeline] stage [Pipeline] { (Test) [Pipeline] sh [IM-stage_2_v14.0] Running shell script + groupadd -o -g 1001 -r jenkins [Pipeline] sh [IM-stage_2_v14.0] Running shell script + pwd + useradd -o -u 1001 -d /home/jenkins/workspace/IM-stage_2_v14.0 -r -g jenkins jenkins [Pipeline] sh [IM-stage_2_v14.0] Running shell script + echo #! /bin/sh [Pipeline] sh [IM-stage_2_v14.0] Running shell script + chmod 755 /usr/bin/mesg [Pipeline] sh [IM-stage_2_v14.0] Running shell script + runuser jenkins -c devops-stages/stage-test.sh Launching tox ✔ OK flake8 in 7.578 seconds flake8 create: /tmp/.tox/flake8 flake8 installdeps: -r/home/jenkins/workspace/IM-stage_2_v14.0/requirements.txt flake8 installed: enum34==1.1.10,lxml==4.9.3,pyang==2.5.3,pyangbind==0.8.3.post1,PyYAML==6.0.1,regex==2023.8.8,six==1.16.0 flake8 run-test-pre: PYTHONHASHSEED='2521323580' flake8 run-test: commands[0] | python3 -c 'print("Skipping due to generated code")' Skipping due to generated code ✔ OK black in 7.618 seconds black create: /tmp/.tox/black black installdeps: -r/home/jenkins/workspace/IM-stage_2_v14.0/requirements.txt black installed: enum34==1.1.10,lxml==4.9.3,pyang==2.5.3,pyangbind==0.8.3.post1,PyYAML==6.0.1,regex==2023.8.8,six==1.16.0 black run-test-pre: PYTHONHASHSEED='2218572582' black run-test: commands[0] | python3 -c 'print("Skipping due to generated code")' Skipping due to generated code ✔ OK pylint in 7.644 seconds pylint create: /tmp/.tox/pylint pylint installdeps: -r/home/jenkins/workspace/IM-stage_2_v14.0/requirements.txt pylint installed: enum34==1.1.10,lxml==4.9.3,pyang==2.5.3,pyangbind==0.8.3.post1,PyYAML==6.0.1,regex==2023.8.8,six==1.16.0 pylint run-test-pre: PYTHONHASHSEED='1893101631' pylint run-test: commands[0] | python3 -c 'print("Skipping due to generated code")' Skipping due to generated code ✔ OK safety in 20.181 seconds safety create: /tmp/.tox/safety safety installdeps: -r/home/jenkins/workspace/IM-stage_2_v14.0/requirements.txt, safety safety installed: 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,dparse==0.6.4b0,enum34==1.1.10,idna==3.6,Jinja2==3.1.3,lxml==4.9.3,markdown-it-py==3.0.0,MarkupSafe==2.1.5,marshmallow==3.21.1,mdurl==0.1.2,packaging==24.0,pyang==2.5.3,pyangbind==0.8.3.post1,pycparser==2.21,pydantic==1.10.14,Pygments==2.17.2,PyYAML==6.0.1,regex==2023.8.8,requests==2.31.0,rich==13.7.1,ruamel.yaml==0.18.6,ruamel.yaml.clib==0.2.8,safety==3.0.1,safety-schemas==0.0.2,six==1.16.0,tomli==2.0.1,typer==0.9.0,typing_extensions==4.10.0,urllib3==2.2.1 safety run-test-pre: PYTHONHASHSEED='853626971' 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.0.1 is scanning for Vulnerabilities...  Scanning dependencies in your environment: -> /usr/lib/python3.10/lib-dynload -> /usr/lib/python3.10 -> /tmp/.tox/safety/lib/python3.10/site-packages -> /tmp/.tox/safety/bin -> /usr/lib/python310.zip Using open-source vulnerability database  Found and scanned 37 packages Timestamp 2024-03-19 08:41:17  2 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 pip version 22.0.2  Vulnerability ID: 62044  Affected spec: <23.3  ADVISORY: Pip 23.3 includes a fix for CVE-2023-5752: 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.https://github.com/pypa/pip/pull/12306  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. +==============================================================================+ REMEDIATIONS 2 vulnerabilities were reported in 2 packages. For detailed remediation & fix recommendations, upgrade to a commercial license. +==============================================================================+ Scan was completed. 2 vulnerabilities were reported. +==============================================================================+  Safety is using PyUp's free open-source vulnerability database. This data is 30 days old and limited.   For real-time enhanced vulnerability data, fix recommendations, severity reporting, cybersecurity support, team and project policy management and more sign up at https://pyup.io or email sales@pyup.io +==============================================================================+ ✔ OK cover in 1 minute, 9.902 seconds cover create: /tmp/.tox/cover cover installdeps: -r/home/jenkins/workspace/IM-stage_2_v14.0/requirements.txt, -r/home/jenkins/workspace/IM-stage_2_v14.0/requirements-test.txt cover develop-inst: /home/jenkins/workspace/IM-stage_2_v14.0 cover installed: coverage==7.3.1,enum34==1.1.10,lxml==4.9.3,nose2==0.13.0,-e git+https://osm.etsi.org/gerrit/osm/IM.git@a54dbc2b3c8db303b7615ef25f76695ca12b9eab#egg=osm_im,pyang==2.5.3,pyangbind==0.8.3.post1,PyYAML==6.0.1,regex==2023.8.8,six==1.16.0 cover run-test-pre: PYTHONHASHSEED='1702593812' cover run-test: commands[0] | sh -c 'make clean' cover run-test: commands[1] | sh -c 'make models Q=""' git clone --single-branch --branch v2.6.1 https://forge.etsi.org/rep/nfv/SOL006.git sol006_model Cloning into 'sol006_model'... patch -p2 < patch/deref_warnings.patch patching file sol006_model/src/yang/etsi-nfv-ns.yang patch -p2 < patch/nested_workaround.patch patching file sol006_model/src/yang/etsi-nfv-ns.yang wget -q https://raw.githubusercontent.com/YangModels/yang/master/standard/ietf/RFC/ietf-yang-types%402013-07-15.yang -O models/yang/ietf-yang-types.yang wget -q https://raw.githubusercontent.com/YangModels/yang/master/standard/ietf/RFC/ietf-inet-types%402013-07-15.yang -O models/yang/ietf-inet-types.yang cp models/yang/ietf-yang-types.yang sol006_model/src/yang/ietf-yang-types.yang cp models/yang/ietf-inet-types.yang sol006_model/src/yang/ietf-inet-types.yang echo generating vnfd.py from vnfd.yang generating vnfd.py from vnfd.yang pyang -Werror --path models/yang --plugindir "/tmp/.tox/cover/lib/python3.10/site-packages/pyangbind/plugin" -f pybind -o osm_im/vnfd.py models/yang/vnfd.yang echo generating nsd.py from nsd.yang generating nsd.py from nsd.yang pyang -Werror --path models/yang --plugindir "/tmp/.tox/cover/lib/python3.10/site-packages/pyangbind/plugin" -f pybind -o osm_im/nsd.py models/yang/nsd.yang echo generating nst.py from nst.yang generating nst.py from nst.yang pyang -Werror --path models/yang --plugindir "/tmp/.tox/cover/lib/python3.10/site-packages/pyangbind/plugin" -f pybind -o osm_im/nst.py models/yang/nst.yang echo generating nsi.py from nsi.yang generating nsi.py from nsi.yang pyang -Werror --path models/yang --plugindir "/tmp/.tox/cover/lib/python3.10/site-packages/pyangbind/plugin" -f pybind -o osm_im/nsi.py models/yang/nsi.yang echo generating etsi-nfv-vnfd.py from etsi-nfv-vnfd.yang generating etsi-nfv-vnfd.py from etsi-nfv-vnfd.yang pyang -Werror --path sol006_model/src/yang --plugindir "/tmp/.tox/cover/lib/python3.10/site-packages/pyangbind/plugin" -f pybind -o osm_im/etsi-nfv-vnfd.py models/augments/* sol006_model/src/yang/etsi-nfv-vnfd.yang echo generating etsi-nfv-nsd.py from etsi-nfv-nsd.yang generating etsi-nfv-nsd.py from etsi-nfv-nsd.yang pyang -Werror --path sol006_model/src/yang --plugindir "/tmp/.tox/cover/lib/python3.10/site-packages/pyangbind/plugin" -f pybind -o osm_im/etsi-nfv-nsd.py models/augments/* sol006_model/src/yang/etsi-nfv-nsd.yang mv osm_im/etsi-nfv-nsd.py osm_im/etsi_nfv_nsd.py mv osm_im/etsi-nfv-vnfd.py osm_im/etsi_nfv_vnfd.py cover run-test: commands[2] | sh -c 'rm -f nosetests.xml' cover run-test: commands[3] | coverage erase cover run-test: commands[4] | nose2 -C --coverage osm_im -s tests ..... ---------------------------------------------------------------------- Ran 5 tests in 2.859s OK Name Stmts Miss Cover ---------------------------------------------- osm_im/__init__.py 0 0 100% osm_im/etsi_nfv_nsd.py 16132 11697 27% osm_im/etsi_nfv_vnfd.py 13717 8420 39% osm_im/im_translation.py 502 52 90% osm_im/nsd.py 5232 3935 25% osm_im/nsi.py 5003 5003 0% osm_im/nst.py 2901 2180 25% osm_im/validation.py 50 12 76% osm_im/vnfd.py 11058 7835 29% ---------------------------------------------- TOTAL 54595 39134 28% cover run-test: commands[5] | coverage report '--omit=*tests*' Name Stmts Miss Cover ---------------------------------------------- osm_im/__init__.py 0 0 100% osm_im/etsi_nfv_nsd.py 16132 11697 27% osm_im/etsi_nfv_vnfd.py 13717 8420 39% osm_im/im_translation.py 502 52 90% osm_im/nsd.py 5232 3935 25% osm_im/nsi.py 5003 5003 0% osm_im/nst.py 2901 2180 25% osm_im/validation.py 50 12 76% osm_im/vnfd.py 11058 7835 29% ---------------------------------------------- TOTAL 54595 39134 28% cover run-test: commands[6] | coverage html -d ./cover '--omit=*tests*' Wrote HTML report to ./cover/index.html cover run-test: commands[7] | coverage xml -o coverage.xml '--omit=*tests*' Wrote XML report to coverage.xml ___________________________________ 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) [IM-stage_2_v14.0] Running shell script [Pipeline] sh + runuser jenkins -c devops-stages/stage-build.sh + rm -rf dist deb_dist osm*.tar.gz *.egg-info .eggs + tox -e dist --recreate [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive) [Pipeline] sh [IM-stage_2_v14.0] Running shell script + runuser jenkins -c mkdir -p changelog [Pipeline] sh [IM-stage_2_v14.0] Running shell script + runuser jenkins -c devops/tools/generatechangelog-pipeline.sh > changelog/changelog-IM.html [Pipeline] sh [IM-stage_2_v14.0] Running shell script + runuser jenkins -c devops-stages/stage-archive.sh [Pipeline] getArtifactoryServer [Pipeline] newBuildInfo [consumer_0] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-IM/v14.0-staging/13/pool/IM/python3-osm-im_14.0.1.post1%2Bga54dbc2-1_all.deb [consumer_1] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-IM/v14.0-staging/13/pool/IM/osm-imdocs_14.0.1.post1-ga54dbc2_amd64.deb [consumer_2] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-IM/v14.0-staging/13/changelog/changelog-IM.html [Pipeline] artifactoryUpload [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/IM-stage_2%20::%20v14.0/13 [Pipeline] sh [IM-stage_2_v14.0] Running shell script + env [Pipeline] step Archiving artifacts Recording fingerprints [Pipeline] } [Pipeline] // stage $ docker stop --time=1 00120d9bac91e11760f041b08d94682134429db528f24a5a836ad1ad10760a98 $ docker rm -f 00120d9bac91e11760f041b08d94682134429db528f24a5a836ad1ad10760a98 [Pipeline] } [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (Snap build) [Pipeline] fileExists [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Charm build) [Pipeline] sh [IM-stage_2_v14.0] Running shell script + nproc + expr 16 / 2 [Pipeline] fileExists [Pipeline] fileExists [Pipeline] fileExists [Pipeline] fileExists [Pipeline] fileExists [Pipeline] fileExists [Pipeline] fileExists [Pipeline] fileExists [Pipeline] fileExists [Pipeline] fileExists [Pipeline] fileExists [Pipeline] fileExists [Pipeline] fileExists [Pipeline] fileExists [Pipeline] parallel No branches to run [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build System) [Pipeline] build (Building osm-stage_3 » v14.0) Scheduling project: osm-stage_3 » v14.0 Starting building: osm-stage_3 » v14.0 #184 [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline Finished: SUCCESS