Console Output
Started by upstream project "buildall-stage_2-merge-v12" build number 367
originally caused by:
Started by timer
> 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 a0b604e08d261d3c4a0f1cf86a4b597f5697b31a
Running in Durability level: MAX_SURVIVABILITY
[Pipeline] properties
[Pipeline] node
Running on osm-cicd-2 in /home/jenkins/workspace/IM-stage_2-merge_v12.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/IM.git # timeout=10
Fetching without tags
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/*
Checking out Revision a0b604e08d261d3c4a0f1cf86a4b597f5697b31a (v12.0)
> git config core.sparsecheckout # timeout=10
> git checkout -f a0b604e08d261d3c4a0f1cf86a4b597f5697b31a
Commit message: "Update yang2swagger version to 2.1.0"
> git rev-list --no-walk a0b604e08d261d3c4a0f1cf86a4b597f5697b31a # timeout=10
[Pipeline] dir
Running in /home/jenkins/workspace/IM-stage_2-merge_v12.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/v12.0^{commit} # timeout=10
> git rev-parse refs/remotes/origin/origin/v12.0^{commit} # timeout=10
Checking out Revision 8e91a950fbfac8777b24f8fc577f7159bce65ee4 (refs/remotes/origin/v12.0)
> git config core.sparsecheckout # timeout=10
> git checkout -f 8e91a950fbfac8777b24f8fc577f7159bce65ee4
> git branch -a -v --no-abbrev # timeout=10
> git branch -D v12.0 # timeout=10
> git checkout -b v12.0 8e91a950fbfac8777b24f8fc577f7159bce65ee4
Commit message: "Fix Bug 2338: updated kubernetes apt repo from apt.kubernetes.io to pkgs.k8s.io"
> git rev-list --no-walk 8e91a950fbfac8777b24f8fc577f7159bce65ee4 # timeout=10
[Pipeline] }
[Pipeline] // dir
[Pipeline] load
[Pipeline] { (devops/jenkins/ci-pipelines/ci_stage_2.groovy)
[Pipeline] }
[Pipeline] // load
[Pipeline] echo
do_stage_3= false
[Pipeline] load
[Pipeline] { (devops/jenkins/ci-pipelines/ci_helper.groovy)
[Pipeline] }
[Pipeline] // load
[Pipeline] stage
[Pipeline] { (Prepare)
[Pipeline] sh
[IM-stage_2-merge_v12.0] Running shell script
+ env
JENKINS_HOME=/var/lib/jenkins
SSH_CLIENT=212.234.161.1 42171 22
USER=jenkins
RUN_CHANGES_DISPLAY_URL=https://osm.etsi.org/jenkins/job/IM-stage_2-merge/job/v12.0/388/display/redirect?page=changes
GERRIT_PROJECT=osm/IM
XDG_SESSION_TYPE=tty
SHLVL=0
NODE_LABELS=docker osm-cicd-2 osm2 pipeline 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-merge/job/v12.0/388/
HUDSON_COOKIE=fea2cdcc-4111-45b3-91d5-255f71898d4c
JENKINS_SERVER_COOKIE=durable-27dc4a63fe79190182bd955744367623
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus
GERRIT_PATCHSET_REVISION=a0b604e08d261d3c4a0f1cf86a4b597f5697b31a
WORKSPACE=/home/jenkins/workspace/IM-stage_2-merge_v12.0
LOGNAME=jenkins
NODE_NAME=osm-cicd-2
GERRIT_BRANCH=v12.0
_=/usr/bin/java
RUN_ARTIFACTS_DISPLAY_URL=https://osm.etsi.org/jenkins/job/IM-stage_2-merge/job/v12.0/388/display/redirect?page=artifacts
XDG_SESSION_CLASS=user
EXECUTOR_NUMBER=2
XDG_SESSION_ID=1972
RUN_TESTS_DISPLAY_URL=https://osm.etsi.org/jenkins/job/IM-stage_2-merge/job/v12.0/388/display/redirect?page=tests
BUILD_DISPLAY_NAME=#388
PROJECT_URL_PREFIX=https://osm.etsi.org/gerrit
HUDSON_HOME=/var/lib/jenkins
JOB_BASE_NAME=v12.0
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
BUILD_ID=388
XDG_RUNTIME_DIR=/run/user/1001
BUILD_TAG=jenkins-IM-stage_2-merge-v12.0-388
JENKINS_URL=https://osm.etsi.org/jenkins/
LANG=C.UTF-8
JOB_URL=https://osm.etsi.org/jenkins/job/IM-stage_2-merge/job/v12.0/
BUILD_NUMBER=388
SHELL=/bin/bash
RUN_DISPLAY_URL=https://osm.etsi.org/jenkins/job/IM-stage_2-merge/job/v12.0/388/display/redirect
ARTIFACTORY_SERVER=artifactory-osm
GERRIT_REFSPEC=refs/changes/65/14265/5
HUDSON_SERVER_COOKIE=6d3295a483c3e6d5
JOB_DISPLAY_URL=https://osm.etsi.org/jenkins/job/IM-stage_2-merge/job/v12.0/display/redirect
JOB_NAME=IM-stage_2-merge/v12.0
TEST_INSTALL=false
PWD=/home/jenkins/workspace/IM-stage_2-merge_v12.0
SSH_CONNECTION=212.234.161.1 42171 172.21.249.2 22
BRANCH_NAME=v12.0
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Checkout)
[IM-stage_2-merge_v12.0] Running shell script
[Pipeline] sh
+ git fetch --tags
[Pipeline] sh
[IM-stage_2-merge_v12.0] Running shell script
+ git fetch origin refs/changes/65/14265/5
From https://osm.etsi.org/gerrit/osm/IM
* branch refs/changes/65/14265/5 -> FETCH_HEAD
[Pipeline] sh
[IM-stage_2-merge_v12.0] Running shell script
+ git checkout -f a0b604e08d261d3c4a0f1cf86a4b597f5697b31a
HEAD is now at a0b604e Update yang2swagger version to 2.1.0
[Pipeline] sh
[IM-stage_2-merge_v12.0] Running shell script
+ sudo git clean -dfx
Removing .cache/
Removing .coverage
Removing .local/
Removing .m2/
Removing .safety/
Removing .wget-hsts
Removing cover/
Removing coverage.xml
Removing models/yang/ietf-inet-types.yang
Removing models/yang/ietf-yang-types.yang
Removing nosetests.xml
Removing osm_im/etsi_nfv_nsd.py
Removing osm_im/etsi_nfv_vnfd.py
Removing osm_im/nsd.py
Removing osm_im/nsi.py
Removing osm_im/nst.py
Removing osm_im/vnfd.py
Removing osm_im_trees/
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (License Scan)
[Pipeline] echo
skip the scan for merge
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Release Note Check)
[Pipeline] fileExists
[Pipeline] echo
No releasenote check present
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Docker-Build)
[Pipeline] sh
[IM-stage_2-merge_v12.0] Running shell script
+ docker build --build-arg APT_PROXY=http://172.21.1.1:3142 -t osm/im-v12.0 .
Sending build context to Docker daemon 65.99MB
Step 1/8 : FROM ubuntu:20.04
---> 3cff1c6ff37e
Step 2/8 : ARG APT_PROXY
---> Using cache
---> ebaec09a14bf
Step 3/8 : 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
---> b0c1e5559433
Step 4/8 : RUN DEBIAN_FRONTEND=noninteractive apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y install debhelper dh-python git python3.8 python3-all python3.8-dev python3-setuptools
---> Using cache
---> 7781bdbcb347
Step 5/8 : RUN python3 -m easy_install pip==21.3.1
---> Using cache
---> 35c6dbb37b85
Step 6/8 : RUN pip install tox==3.24.5
---> Using cache
---> 0be2a0d5b9a2
Step 7/8 : RUN DEBIAN_FRONTEND=noninteractive apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y install wget build-essential dh-make openjdk-17-jdk maven
---> Using cache
---> 0079914e4a29
Step 8/8 : RUN update-java-alternatives --jre-headless --set /usr/lib/jvm/java-1.17.0-openjdk-amd64
---> Using cache
---> c04a11acde91
Successfully built c04a11acde91
Successfully tagged osm/im-v12.0:latest
[Pipeline] }
[Pipeline] // stage
[Pipeline] sh
[IM-stage_2-merge_v12.0] Running shell script
+ id -u
[Pipeline] sh
[IM-stage_2-merge_v12.0] Running shell script
+ id -g
[Pipeline] withDockerContainer
osm-cicd-2 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-merge_v12.0 -v /home/jenkins/workspace/IM-stage_2-merge_v12.0:/home/jenkins/workspace/IM-stage_2-merge_v12.0:rw,z -v /home/jenkins/workspace/IM-stage_2-merge_v12.0@tmp:/home/jenkins/workspace/IM-stage_2-merge_v12.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-v12.0
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Test)
[Pipeline] sh
[IM-stage_2-merge_v12.0] Running shell script
+ groupadd -o -g 1001 -r jenkins
[Pipeline] sh
[IM-stage_2-merge_v12.0] Running shell script
+ pwd
+ useradd -o -u 1001 -d /home/jenkins/workspace/IM-stage_2-merge_v12.0 -r -g jenkins jenkins
[Pipeline] sh
[IM-stage_2-merge_v12.0] Running shell script
+ echo #! /bin/sh
[Pipeline] sh
[IM-stage_2-merge_v12.0] Running shell script
+ chmod 755 /usr/bin/mesg
[Pipeline] sh
[IM-stage_2-merge_v12.0] Running shell script
+ runuser jenkins -c devops-stages/stage-test.sh
Launching tox
ERROR: invocation failed (exit code 1), logfile: /tmp/.tox/pylint/log/pylint-0.log
================================== log start ===================================
pylint create: /tmp/.tox/pylint
pylint installdeps: -r/home/jenkins/workspace/IM-stage_2-merge_v12.0/requirements.txt
ERROR: invocation failed (exit code 1), logfile: /tmp/.tox/pylint/log/pylint-2.log
================================== log start ===================================
Collecting bitarray==2.5.1 (from -r /home/jenkins/workspace/IM-stage_2-merge_v12.0/requirements.txt (line 17))
Using cached bitarray-2.5.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (30 kB)
Collecting enum34==1.1.10 (from -r /home/jenkins/workspace/IM-stage_2-merge_v12.0/requirements.txt (line 19))
Using cached enum34-1.1.10-py3-none-any.whl.metadata (1.6 kB)
Collecting lxml==4.9.0 (from -r /home/jenkins/workspace/IM-stage_2-merge_v12.0/requirements.txt (line 21))
Using cached lxml-4.9.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl.metadata (3.5 kB)
Collecting pyang==2.5.3 (from -r /home/jenkins/workspace/IM-stage_2-merge_v12.0/requirements.txt (line 25))
Using cached pyang-2.5.3-py2.py3-none-any.whl.metadata (683 bytes)
Collecting pyangbind==0.8.1 (from -r /home/jenkins/workspace/IM-stage_2-merge_v12.0/requirements.txt (line 29))
Downloading pyangbind-0.8.1.tar.gz (48 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.6/48.6 kB 995.4 kB/s eta 0:00:00
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting pyyaml==5.4.1 (from -r /home/jenkins/workspace/IM-stage_2-merge_v12.0/requirements.txt (line 31))
Using cached PyYAML-5.4.1-cp38-cp38-manylinux1_x86_64.whl.metadata (2.1 kB)
Collecting regex==2022.6.2 (from -r /home/jenkins/workspace/IM-stage_2-merge_v12.0/requirements.txt (line 33))
Using cached regex-2022.6.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (39 kB)
Collecting six==1.16.0 (from -r /home/jenkins/workspace/IM-stage_2-merge_v12.0/requirements.txt (line 35))
Using cached six-1.16.0-py2.py3-none-any.whl.metadata (1.8 kB)
Downloading bitarray-2.5.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (242 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 242.4/242.4 kB 5.5 MB/s eta 0:00:00
Using cached enum34-1.1.10-py3-none-any.whl (11 kB)
Downloading lxml-4.9.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (6.9 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.9/6.9 MB 7.2 MB/s eta 0:00:00
Using cached pyang-2.5.3-py2.py3-none-any.whl (592 kB)
Using cached PyYAML-5.4.1-cp38-cp38-manylinux1_x86_64.whl (662 kB)
Using cached regex-2022.6.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (764 kB)
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Building wheels for collected packages: pyangbind
Building wheel for pyangbind (setup.py): started
Building wheel for pyangbind (setup.py): finished with status 'done'
Created wheel for pyangbind: filename=pyangbind-0.8.1-py3-none-any.whl size=47756 sha256=3fa4bef4eb07e2d82f3f1f267cb96d98cded3f15a80cda6c78722e81c2f38f55
Stored in directory: /home/jenkins/workspace/IM-stage_2-merge_v12.0/.cache/pip/wheels/0c/fb/5a/3d09fc1fae9987036f767b8aa0076ac7f91ce4cd952de3f49a
WARNING: Built wheel for pyangbind is invalid: pyangbind has an invalid wheel, pyangbind has an invalid wheel, could not read 'pyangbind-0.8.1.dist-info/WHEEL' file: BadZipFile('Truncated file header')
Failed to build pyangbind
ERROR: Could not build wheels for pyangbind, which is required to install pyproject.toml-based projects
=================================== log end ====================================
ERROR: could not install deps [-r/home/jenkins/workspace/IM-stage_2-merge_v12.0/requirements.txt]; v = InvocationError('/tmp/.tox/pylint/bin/python -m pip install -r/home/jenkins/workspace/IM-stage_2-merge_v12.0/requirements.txt', 1)
=================================== log end ====================================
✖ FAIL pylint in 7.755 seconds
✔ OK black in 10.667 seconds
black create: /tmp/.tox/black
black installdeps: -r/home/jenkins/workspace/IM-stage_2-merge_v12.0/requirements.txt
black installed: bitarray==2.5.1,enum34==1.1.10,lxml==4.9.0,pyang==2.5.3,pyangbind==0.8.1,PyYAML==5.4.1,regex==2022.6.2,six==1.16.0
black run-test-pre: PYTHONHASHSEED='333719269'
black run-test: commands[0] | python3 -c 'print("Skipping due to generated code")'
Skipping due to generated code
✔ OK flake8 in 10.77 seconds
flake8 create: /tmp/.tox/flake8
flake8 installdeps: -r/home/jenkins/workspace/IM-stage_2-merge_v12.0/requirements.txt
flake8 installed: bitarray==2.5.1,enum34==1.1.10,lxml==4.9.0,pyang==2.5.3,pyangbind==0.8.1,PyYAML==5.4.1,regex==2022.6.2,six==1.16.0
flake8 run-test-pre: PYTHONHASHSEED='2891992533'
flake8 run-test: commands[0] | python3 -c 'print("Skipping due to generated code")'
Skipping due to generated code
✔ OK safety in 23.601 seconds
safety create: /tmp/.tox/safety
safety installdeps: -r/home/jenkins/workspace/IM-stage_2-merge_v12.0/requirements.txt, safety
safety installed: Authlib==1.3.0,bitarray==2.5.1,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.0,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.1,pycparser==2.21,pydantic==1.10.14,Pygments==2.17.2,PyYAML==5.4.1,regex==2022.6.2,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='2064380460'
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.0.1[0m is scanning for [1mVulnerabilities[0m[1m...[0m
[1m Scanning dependencies[0m in your [1menvironment:[0m
-> /usr/lib/python3.8
-> /tmp/.tox/safety/lib/python3.8/site-packages
-> /usr/lib/python3.8/lib-dynload
-> /tmp/.tox/safety/bin
-> /usr/lib/python38.zip
Using [1mopen-source vulnerability database[0m
[1m Found and scanned 38 packages[0m
Timestamp [1m2024-03-21 09:27:00[0m
[1m 1[0m[1m vulnerability reported[0m
[1m 0[0m[1m vulnerabilities ignored[0m
+==============================================================================+
[1mVULNERABILITIES REPORTED[0m
+==============================================================================+
[31m-> Vulnerability found in lxml version 4.9.0[0m
[1m Vulnerability ID: [0m50748
[1m Affected spec: [0m<4.9.1
[1m ADVISORY: [0mLxml 4.9.1 includes a fix for CVE-2022-2309: NULL
Pointer Dereference allows attackers to cause a denial of service (or
application crash). This only applies when lxml is used together with
libxml2 2.9.10 through 2.9.14. libxml2 2.9.9 and earlier are not affected.
It allows triggering crashes through forged input data, given a vulnerable
code sequence in the application. The vulnerability is caused by the
iterwalk function (also used by the canonicalize function). Such code
shouldn't be in wide-spread use, given that parsing + iterwalk would
usually be replaced with the more efficient iterparse function. However,
an XML converter that serialises to C14N would also be vulnerable, for
example, and there are legitimate use cases for this code sequence. If
untrusted input is received (also remotely) and processed via iterwalk
function, a crash can be triggered.
[1m CVE-2022-2309[0m
[1m For more information about this vulnerability, visit
[0mhttps://data.safetycli.com/v/50748/97c[0m
To ignore this vulnerability, use PyUp vulnerability id 50748 in safety’s
ignore command-line argument or add the ignore to your safety policy file.
+==============================================================================+
[32m[1mREMEDIATIONS[0m
1 vulnerability was reported in 1 package. For detailed remediation & fix
recommendations, upgrade to a commercial license.
+==============================================================================+
Scan was completed. 1 vulnerability was 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
✔ OK cover in 1 minute, 19.696 seconds
cover create: /tmp/.tox/cover
cover installdeps: -r/home/jenkins/workspace/IM-stage_2-merge_v12.0/requirements.txt, -r/home/jenkins/workspace/IM-stage_2-merge_v12.0/requirements-test.txt
cover develop-inst: /home/jenkins/workspace/IM-stage_2-merge_v12.0
cover installed: bitarray==2.5.1,coverage==6.4.1,enum34==1.1.10,lxml==4.9.0,nose2==0.11.0,-e git+https://osm.etsi.org/gerrit/osm/IM.git@a0b604e08d261d3c4a0f1cf86a4b597f5697b31a#egg=osm_im,pyang==2.5.3,pyangbind==0.8.1,PyYAML==5.4.1,regex==2022.6.2,six==1.16.0
cover run-test-pre: PYTHONHASHSEED='415612189'
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.8/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.8/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.8/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.8/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.8/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.8/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.860s
OK
Name Stmts Miss Cover
----------------------------------------------
osm_im/__init__.py 0 0 100%
osm_im/etsi_nfv_nsd.py 15959 11697 27%
osm_im/etsi_nfv_vnfd.py 13396 8297 38%
osm_im/im_translation.py 502 52 90%
osm_im/nsd.py 5183 3935 24%
osm_im/nsi.py 4950 4950 0%
osm_im/nst.py 2872 2180 24%
osm_im/validation.py 50 12 76%
osm_im/vnfd.py 10950 7835 28%
----------------------------------------------
TOTAL 53862 38958 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 15959 11697 27%
osm_im/etsi_nfv_vnfd.py 13396 8297 38%
osm_im/im_translation.py 502 52 90%
osm_im/nsd.py 5183 3935 24%
osm_im/nsi.py 4950 4950 0%
osm_im/nst.py 2872 2180 24%
osm_im/validation.py 50 12 76%
osm_im/vnfd.py 10950 7835 28%
----------------------------------------------
TOTAL 53862 38958 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
ERROR: pylint: parallel child exit code 1
safety: commands succeeded
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
$ docker stop --time=1 8bb191b2bfbccd986cf56f13525e78c657cf0f6b287c8a8e9a4b55e9094887d8
$ docker rm -f 8bb191b2bfbccd986cf56f13525e78c657cf0f6b287c8a8e9a4b55e9094887d8
[Pipeline] // withDockerContainer
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: script returned exit code 1
Finished: FAILURE