FailedConsole Output

Started by upstream project "osmclient-stage_1" build number 1464
originally caused by:
 Triggered by Gerrit: https://osm.etsi.org/gerrit/13307
 > git rev-parse --is-inside-work-tree # timeout=10
Setting origin to https://osm.etsi.org/gerrit/osm/osmclient.git
 > git config remote.origin.url https://osm.etsi.org/gerrit/osm/osmclient.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 b9317cf8db6ede10ee63a1e648a2ed066ee05892
Running in Durability level: MAX_SURVIVABILITY
[Pipeline] properties
[Pipeline] node
Running on osm-cicd-3 in /home/jenkins/workspace/osmclient-stage_2_master
[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/osmclient.git # timeout=10
Fetching without tags
Fetching upstream changes from https://osm.etsi.org/gerrit/osm/osmclient.git
 > git --version # timeout=10
 > git fetch --no-tags --force --progress https://osm.etsi.org/gerrit/osm/osmclient.git +refs/heads/*:refs/remotes/origin/*
Checking out Revision b9317cf8db6ede10ee63a1e648a2ed066ee05892 (master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f b9317cf8db6ede10ee63a1e648a2ed066ee05892
Commit message: "Bug 2364 fixed: Performing NS-Heal when there are two NS with same member-vnf-index"
 > git rev-list --no-walk b9317cf8db6ede10ee63a1e648a2ed066ee05892 # timeout=10
[Pipeline] dir
Running in /home/jenkins/workspace/osmclient-stage_2_master/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/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 7abbfd5aed5bd744d5f49ee834f89822136ca6cc (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 7abbfd5aed5bd744d5f49ee834f89822136ca6cc
 > git branch -a -v --no-abbrev # timeout=10
 > git branch -D master # timeout=10
 > git checkout -b master 7abbfd5aed5bd744d5f49ee834f89822136ca6cc
Commit message: "Move lcm certificate to lcm folder in OSM helm chart"
 > git rev-list --no-walk 7abbfd5aed5bd744d5f49ee834f89822136ca6cc # 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
[osmclient-stage_2_master] Running shell script
+ env
JENKINS_HOME=/var/lib/jenkins
SSH_CLIENT=212.234.161.1 32791 22
USER=jenkins
RUN_CHANGES_DISPLAY_URL=https://osm.etsi.org/jenkins/job/osmclient-stage_2/job/master/1302/display/redirect?page=changes
GERRIT_PROJECT=osm/osmclient
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/osmclient-stage_2/job/master/1302/
HUDSON_COOKIE=93acad19-3bfb-4c54-adad-5a38ec0f1e93
JENKINS_SERVER_COOKIE=durable-22913e950aac940ff834c68983195f8d
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus
GERRIT_PATCHSET_REVISION=b481f555e41504476ba6c92d69acb604169a963a
WORKSPACE=/home/jenkins/workspace/osmclient-stage_2_master
LOGNAME=jenkins
NODE_NAME=osm-cicd-3
GERRIT_BRANCH=master
_=/usr/bin/java
RUN_ARTIFACTS_DISPLAY_URL=https://osm.etsi.org/jenkins/job/osmclient-stage_2/job/master/1302/display/redirect?page=artifacts
XDG_SESSION_CLASS=user
EXECUTOR_NUMBER=5
XDG_SESSION_ID=2057
RUN_TESTS_DISPLAY_URL=https://osm.etsi.org/jenkins/job/osmclient-stage_2/job/master/1302/display/redirect?page=tests
BUILD_DISPLAY_NAME=#1302
PROJECT_URL_PREFIX=https://osm.etsi.org/gerrit
HUDSON_HOME=/var/lib/jenkins
JOB_BASE_NAME=master
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
BUILD_ID=1302
XDG_RUNTIME_DIR=/run/user/1001
BUILD_TAG=jenkins-osmclient-stage_2-master-1302
JENKINS_URL=https://osm.etsi.org/jenkins/
LANG=C.UTF-8
JOB_URL=https://osm.etsi.org/jenkins/job/osmclient-stage_2/job/master/
BUILD_NUMBER=1302
SHELL=/bin/bash
RUN_DISPLAY_URL=https://osm.etsi.org/jenkins/job/osmclient-stage_2/job/master/1302/display/redirect
ARTIFACTORY_SERVER=artifactory-osm
GERRIT_REFSPEC=refs/changes/07/13307/2
HUDSON_SERVER_COOKIE=6d3295a483c3e6d5
JOB_DISPLAY_URL=https://osm.etsi.org/jenkins/job/osmclient-stage_2/job/master/display/redirect
JOB_NAME=osmclient-stage_2/master
TEST_INSTALL=true
PWD=/home/jenkins/workspace/osmclient-stage_2_master
SSH_CONNECTION=212.234.161.1 32791 172.21.249.3 22
BRANCH_NAME=master
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Checkout)
[Pipeline] sh
[osmclient-stage_2_master] Running shell script
+ git fetch --tags
[Pipeline] sh
[osmclient-stage_2_master] Running shell script
+ git fetch origin refs/changes/07/13307/2
From https://osm.etsi.org/gerrit/osm/osmclient
 * branch            refs/changes/07/13307/2 -> FETCH_HEAD
[Pipeline] sh
[osmclient-stage_2_master] Running shell script
+ git checkout -f b481f555e41504476ba6c92d69acb604169a963a
Previous HEAD position was b9317cf Bug 2364 fixed: Performing NS-Heal when there are two NS with same member-vnf-index
HEAD is now at b481f55 Coverity-CWE 398: 7PK - Code Quality (137908 Copy-paste error)
[osmclient-stage_2_master] Running shell script
[Pipeline] sh
+ sudo git clean -dfx
Removing .cache/
Removing .coverage
Removing .eggs/
Removing .local/
Removing .safety/
Removing .wget-hsts
Removing build.env
Removing changelog/
Removing cover/
Removing coverage.xml
Removing deb_dist/
Removing dist/
Removing osmclient-11.0.0rc1.post67+g0948b68.tar.gz
Removing osmclient.egg-info/
Removing pool/
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (License Scan)
[Pipeline] sh
[osmclient-stage_2_master] Running shell script
+ devops/tools/license_scan.sh
osmclient/sol005/sdncontroller.py is text
osmclient/sol005/sdncontroller.py Apache-2.0
osmclient/sol005/vim.py is text
osmclient/sol005/vim.py Apache-2.0
osmclient/sol005/wim.py is text
osmclient/sol005/wim.py 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
[osmclient-stage_2_master] Running shell script
+ docker build --build-arg APT_PROXY=http://172.21.1.1:3142 -t osm/osmclient-master .
Sending build context to Docker daemon  153.1MB

Step 1/7 : FROM ubuntu:22.04
 ---> 52882761a72a
Step 2/7 : ARG APT_PROXY
 ---> Using cache
 ---> 959626367239
Step 3/7 : 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
 ---> 71ebb39dbfb1
Step 4/7 : 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
 ---> 5c1b402c741f
Step 5/7 : RUN DEBIAN_FRONTEND=noninteractive apt-get -y install     wget
 ---> Using cache
 ---> e6135b63bfb8
Step 6/7 : ENV LC_ALL C.UTF-8
 ---> Using cache
 ---> 4463d289e2b2
Step 7/7 : ENV LANG C.UTF-8
 ---> Using cache
 ---> 9260b36f8441
Successfully built 9260b36f8441
Successfully tagged osm/osmclient-master:latest
[Pipeline] }
[Pipeline] // stage
[Pipeline] sh
[osmclient-stage_2_master] Running shell script
+ id -u
[Pipeline] sh
[osmclient-stage_2_master] Running shell script
+ id -g
[Pipeline] withDockerContainer
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/osmclient-stage_2_master -v /home/jenkins/workspace/osmclient-stage_2_master:/home/jenkins/workspace/osmclient-stage_2_master:rw,z -v /home/jenkins/workspace/osmclient-stage_2_master@tmp:/home/jenkins/workspace/osmclient-stage_2_master@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/osmclient-master
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Test)
[Pipeline] sh
[osmclient-stage_2_master] Running shell script
+ groupadd -o -g 1001 -r jenkins
[Pipeline] sh
[osmclient-stage_2_master] Running shell script
+ pwd
+ useradd -o -u 1001 -d /home/jenkins/workspace/osmclient-stage_2_master -r -g jenkins jenkins
[Pipeline] sh
[osmclient-stage_2_master] Running shell script
+ echo #! /bin/sh
[Pipeline] sh
[osmclient-stage_2_master] Running shell script
+ chmod 755 /usr/bin/mesg
[Pipeline] sh
[osmclient-stage_2_master] Running shell script
+ runuser jenkins -c devops-stages/stage-test.sh
Launching tox
ERROR: invocation failed (exit code 1), logfile: /tmp/.tox/black/log/black-0.log
================================== log start ===================================
black create: /tmp/.tox/black
black installdeps: black==24.1.1
black installed: black==24.1.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='2739190320'
black run-test: commands[0] | black --check --diff osmclient/
error: cannot format /home/jenkins/workspace/osmclient-stage_2_master/osmclient/sol005/vim.py: Cannot parse: 65:0: <<<<<<< HEAD

Oh no! 💥 💔 💥
65 files would be left unchanged, 1 file would fail to reformat.
ERROR: InvocationError for command /tmp/.tox/black/bin/black --check --diff osmclient/ (exited with code 123)

=================================== log end ====================================
✖ FAIL black in 6.517 seconds
ERROR: invocation failed (exit code 1), logfile: /tmp/.tox/flake8/log/flake8-0.log
================================== log start ===================================
flake8 create: /tmp/.tox/flake8
flake8 installdeps: flake8==7.0.0
flake8 develop-inst: /home/jenkins/workspace/osmclient-stage_2_master
flake8 installed: flake8==7.0.0,mccabe==0.7.0,-e git+https://osm.etsi.org/gerrit/osm/osmclient.git@b481f555e41504476ba6c92d69acb604169a963a#egg=osmclient,pycodestyle==2.11.1,pyflakes==3.2.0
flake8 run-test-pre: PYTHONHASHSEED='639094651'
flake8 run-test: commands[0] | flake8 osmclient/ setup.py
osmclient/sol005/vim.py:71:15: E999 SyntaxError: invalid decimal literal
ERROR: InvocationError for command /tmp/.tox/flake8/bin/flake8 osmclient/ setup.py (exited with code 1)

=================================== log end ====================================
✖ FAIL flake8 in 8.685 seconds
✔ OK safety in 22.913 seconds
safety create: /tmp/.tox/safety
safety installdeps: -r/home/jenkins/workspace/osmclient-stage_2_master/requirements.txt, safety
safety develop-inst: /home/jenkins/workspace/osmclient-stage_2_master
safety installed: annotated-types==0.6.0,Authlib==1.3.0,certifi==2023.7.22,cffi==1.16.0,charset-normalizer==3.2.0,click==8.1.7,cryptography==42.0.7,dparse==0.6.4b0,idna==3.4,Jinja2==3.1.2,jsonpath-ng==1.6.0,markdown-it-py==3.0.0,MarkupSafe==2.1.3,marshmallow==3.21.2,mdurl==0.1.2,-e git+https://osm.etsi.org/gerrit/osm/osmclient.git@b481f555e41504476ba6c92d69acb604169a963a#egg=osmclient,packaging==23.1,ply==3.11,prettytable==3.9.0,pycparser==2.22,pydantic==2.7.1,pydantic_core==2.18.2,Pygments==2.18.0,python-magic==0.4.27,PyYAML==6.0.1,requests==2.31.0,rich==13.7.1,ruamel.yaml==0.18.6,ruamel.yaml.clib==0.2.8,safety==3.2.0,safety-schemas==0.0.2,shellingham==1.5.4,tomli==2.0.1,typer==0.12.3,typing_extensions==4.11.0,urllib3==2.0.5,verboselogs==1.7,wcwidth==0.2.6
safety run-test-pre: PYTHONHASHSEED='308052542'
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.2.0 is scanning for Vulnerabilities...
  Scanning dependencies in your environment:

  -> /usr/lib/python310.zip
  -> /home/jenkins/workspace/osmclient-stage_2_master
  -> /usr/lib/python3.10/lib-dynload
  -> /usr/lib/python3.10
  -> /tmp/.tox/safety/bin
  -> /tmp/.tox/safety/lib/python3.10/site-packages

  Using open-source vulnerability database
  Found and scanned 41 packages
  Timestamp 2024-05-09 19:33:51
  4 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 urllib3 version 2.0.5
   Vulnerability ID: 61893
   Affected spec: >=2.0.0a1,<2.0.7
   ADVISORY: Urllib3 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
   CVE-2023-45803
   For more information about this vulnerability, visit
   https://data.safetycli.com/v/61893/97c
   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.


-> Vulnerability found in pip version 22.0.2
   Vulnerability ID: 62044
   Affected spec: <23.3
   ADVISORY: Affected 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.
   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.


-> Vulnerability found in jinja2 version 3.1.2
   Vulnerability ID: 64227
   Affected spec: <3.1.3
   ADVISORY: Jinja2 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.
   CVE-2024-22195
   For more information about this vulnerability, visit
   https://data.safetycli.com/v/64227/97c
   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.


+==============================================================================+
   REMEDIATIONS

  4 vulnerabilities were reported in 4 packages. For detailed remediation & 
  fix recommendations, upgrade to a commercial license. 

+==============================================================================+

 Scan was completed. 4 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

+==============================================================================+

ERROR: invocation failed (exit code 1), logfile: /tmp/.tox/cover/log/cover-0.log
================================== log start ===================================
cover create: /tmp/.tox/cover
cover installdeps: -r/home/jenkins/workspace/osmclient-stage_2_master/requirements.txt, -r/home/jenkins/workspace/osmclient-stage_2_master/requirements-dev.txt, -r/home/jenkins/workspace/osmclient-stage_2_master/requirements-test.txt
cover develop-inst: /home/jenkins/workspace/osmclient-stage_2_master
cover installed: certifi==2023.7.22,charset-normalizer==3.2.0,click==8.1.7,coverage==7.3.1,enum34==1.1.10,idna==3.4,Jinja2==3.1.2,jsonpath-ng==1.6.0,lxml==5.2.1,MarkupSafe==2.1.3,mock==5.1.0,nose2==0.13.0,osm-im @ git+https://osm.etsi.org/gerrit/osm/IM.git@90ffed24477703d8b77f8805c567cdaba0798ea6,-e git+https://osm.etsi.org/gerrit/osm/osmclient.git@b481f555e41504476ba6c92d69acb604169a963a#egg=osmclient,packaging==23.1,ply==3.11,prettytable==3.9.0,pyang==2.5.3,pyangbind==0.8.3.post1,python-magic==0.4.27,PyYAML==6.0.1,regex==2024.4.28,requests==2.31.0,six==1.16.0,urllib3==2.0.5,verboselogs==1.7,wcwidth==0.2.6
cover run-test-pre: PYTHONHASHSEED='1817560622'
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 osmclient
EEEEEEEEEEEEEEEE....................
======================================================================
ERROR: test_vim_create_ca_cert (tests_vim.TestVim)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.10/unittest/mock.py", line 1248, in _dot_lookup
    return getattr(thing, comp)
AttributeError: module 'osmclient.scripts' has no attribute 'osm'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.10/unittest/mock.py", line 1376, in patched
    with self.decoration_helper(patched,
  File "/usr/lib/python3.10/contextlib.py", line 135, in __enter__
    return next(self.gen)
  File "/usr/lib/python3.10/unittest/mock.py", line 1358, in decoration_helper
    arg = exit_stack.enter_context(patching)
  File "/usr/lib/python3.10/contextlib.py", line 492, in enter_context
    result = _cm_type.__enter__(cm)
  File "/usr/lib/python3.10/unittest/mock.py", line 1431, in __enter__
    self.target = self.getter()
  File "/usr/lib/python3.10/unittest/mock.py", line 1618, in <lambda>
    getter = lambda: _importer(target)
  File "/usr/lib/python3.10/unittest/mock.py", line 1261, in _importer
    thing = _dot_lookup(thing, comp, import_path)
  File "/usr/lib/python3.10/unittest/mock.py", line 1250, in _dot_lookup
    __import__(import_path)
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/scripts/osm.py", line 17, in <module>
    from osmclient import client
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/client.py", line 22, in <module>
    from osmclient.sol005 import client as sol005client
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/sol005/client.py", line 27, in <module>
    from osmclient.sol005 import vim
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/sol005/vim.py", line 71
    >>>>>>> 401964a (Coverity-CWE 398: 7PK - Code Quality (137908 Copy-paste error))
                 ^
SyntaxError: invalid decimal literal

======================================================================
ERROR: test_vim_create_no_config (tests_vim.TestVim)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.10/unittest/mock.py", line 1248, in _dot_lookup
    return getattr(thing, comp)
AttributeError: module 'osmclient.scripts' has no attribute 'osm'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.10/unittest/mock.py", line 1376, in patched
    with self.decoration_helper(patched,
  File "/usr/lib/python3.10/contextlib.py", line 135, in __enter__
    return next(self.gen)
  File "/usr/lib/python3.10/unittest/mock.py", line 1358, in decoration_helper
    arg = exit_stack.enter_context(patching)
  File "/usr/lib/python3.10/contextlib.py", line 492, in enter_context
    result = _cm_type.__enter__(cm)
  File "/usr/lib/python3.10/unittest/mock.py", line 1431, in __enter__
    self.target = self.getter()
  File "/usr/lib/python3.10/unittest/mock.py", line 1618, in <lambda>
    getter = lambda: _importer(target)
  File "/usr/lib/python3.10/unittest/mock.py", line 1261, in _importer
    thing = _dot_lookup(thing, comp, import_path)
  File "/usr/lib/python3.10/unittest/mock.py", line 1250, in _dot_lookup
    __import__(import_path)
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/scripts/osm.py", line 17, in <module>
    from osmclient import client
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/client.py", line 22, in <module>
    from osmclient.sol005 import client as sol005client
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/sol005/client.py", line 27, in <module>
    from osmclient.sol005 import vim
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/sol005/vim.py", line 71
    >>>>>>> 401964a (Coverity-CWE 398: 7PK - Code Quality (137908 Copy-paste error))
                 ^
SyntaxError: invalid decimal literal

======================================================================
ERROR: test_vim_create_sdn (tests_vim.TestVim)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.10/unittest/mock.py", line 1248, in _dot_lookup
    return getattr(thing, comp)
AttributeError: module 'osmclient.scripts' has no attribute 'osm'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.10/unittest/mock.py", line 1376, in patched
    with self.decoration_helper(patched,
  File "/usr/lib/python3.10/contextlib.py", line 135, in __enter__
    return next(self.gen)
  File "/usr/lib/python3.10/unittest/mock.py", line 1358, in decoration_helper
    arg = exit_stack.enter_context(patching)
  File "/usr/lib/python3.10/contextlib.py", line 492, in enter_context
    result = _cm_type.__enter__(cm)
  File "/usr/lib/python3.10/unittest/mock.py", line 1431, in __enter__
    self.target = self.getter()
  File "/usr/lib/python3.10/unittest/mock.py", line 1618, in <lambda>
    getter = lambda: _importer(target)
  File "/usr/lib/python3.10/unittest/mock.py", line 1261, in _importer
    thing = _dot_lookup(thing, comp, import_path)
  File "/usr/lib/python3.10/unittest/mock.py", line 1250, in _dot_lookup
    __import__(import_path)
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/scripts/osm.py", line 17, in <module>
    from osmclient import client
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/client.py", line 22, in <module>
    from osmclient.sol005 import client as sol005client
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/sol005/client.py", line 27, in <module>
    from osmclient.sol005 import vim
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/sol005/vim.py", line 71
    >>>>>>> 401964a (Coverity-CWE 398: 7PK - Code Quality (137908 Copy-paste error))
                 ^
SyntaxError: invalid decimal literal

======================================================================
ERROR: test_vim_update_ca_cert (tests_vim.TestVim)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.10/unittest/mock.py", line 1248, in _dot_lookup
    return getattr(thing, comp)
AttributeError: module 'osmclient.scripts' has no attribute 'osm'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.10/unittest/mock.py", line 1376, in patched
    with self.decoration_helper(patched,
  File "/usr/lib/python3.10/contextlib.py", line 135, in __enter__
    return next(self.gen)
  File "/usr/lib/python3.10/unittest/mock.py", line 1358, in decoration_helper
    arg = exit_stack.enter_context(patching)
  File "/usr/lib/python3.10/contextlib.py", line 492, in enter_context
    result = _cm_type.__enter__(cm)
  File "/usr/lib/python3.10/unittest/mock.py", line 1431, in __enter__
    self.target = self.getter()
  File "/usr/lib/python3.10/unittest/mock.py", line 1618, in <lambda>
    getter = lambda: _importer(target)
  File "/usr/lib/python3.10/unittest/mock.py", line 1261, in _importer
    thing = _dot_lookup(thing, comp, import_path)
  File "/usr/lib/python3.10/unittest/mock.py", line 1250, in _dot_lookup
    __import__(import_path)
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/scripts/osm.py", line 17, in <module>
    from osmclient import client
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/client.py", line 22, in <module>
    from osmclient.sol005 import client as sol005client
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/sol005/client.py", line 27, in <module>
    from osmclient.sol005 import vim
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/sol005/vim.py", line 71
    >>>>>>> 401964a (Coverity-CWE 398: 7PK - Code Quality (137908 Copy-paste error))
                 ^
SyntaxError: invalid decimal literal

======================================================================
ERROR: test_vim_update_no_config (tests_vim.TestVim)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.10/unittest/mock.py", line 1248, in _dot_lookup
    return getattr(thing, comp)
AttributeError: module 'osmclient.scripts' has no attribute 'osm'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.10/unittest/mock.py", line 1376, in patched
    with self.decoration_helper(patched,
  File "/usr/lib/python3.10/contextlib.py", line 135, in __enter__
    return next(self.gen)
  File "/usr/lib/python3.10/unittest/mock.py", line 1358, in decoration_helper
    arg = exit_stack.enter_context(patching)
  File "/usr/lib/python3.10/contextlib.py", line 492, in enter_context
    result = _cm_type.__enter__(cm)
  File "/usr/lib/python3.10/unittest/mock.py", line 1431, in __enter__
    self.target = self.getter()
  File "/usr/lib/python3.10/unittest/mock.py", line 1618, in <lambda>
    getter = lambda: _importer(target)
  File "/usr/lib/python3.10/unittest/mock.py", line 1261, in _importer
    thing = _dot_lookup(thing, comp, import_path)
  File "/usr/lib/python3.10/unittest/mock.py", line 1250, in _dot_lookup
    __import__(import_path)
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/scripts/osm.py", line 17, in <module>
    from osmclient import client
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/client.py", line 22, in <module>
    from osmclient.sol005 import client as sol005client
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/sol005/client.py", line 27, in <module>
    from osmclient.sol005 import vim
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/sol005/vim.py", line 71
    >>>>>>> 401964a (Coverity-CWE 398: 7PK - Code Quality (137908 Copy-paste error))
                 ^
SyntaxError: invalid decimal literal

======================================================================
ERROR: test_vim_update_sdn (tests_vim.TestVim)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.10/unittest/mock.py", line 1248, in _dot_lookup
    return getattr(thing, comp)
AttributeError: module 'osmclient.scripts' has no attribute 'osm'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.10/unittest/mock.py", line 1376, in patched
    with self.decoration_helper(patched,
  File "/usr/lib/python3.10/contextlib.py", line 135, in __enter__
    return next(self.gen)
  File "/usr/lib/python3.10/unittest/mock.py", line 1358, in decoration_helper
    arg = exit_stack.enter_context(patching)
  File "/usr/lib/python3.10/contextlib.py", line 492, in enter_context
    result = _cm_type.__enter__(cm)
  File "/usr/lib/python3.10/unittest/mock.py", line 1431, in __enter__
    self.target = self.getter()
  File "/usr/lib/python3.10/unittest/mock.py", line 1618, in <lambda>
    getter = lambda: _importer(target)
  File "/usr/lib/python3.10/unittest/mock.py", line 1261, in _importer
    thing = _dot_lookup(thing, comp, import_path)
  File "/usr/lib/python3.10/unittest/mock.py", line 1250, in _dot_lookup
    __import__(import_path)
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/scripts/osm.py", line 17, in <module>
    from osmclient import client
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/client.py", line 22, in <module>
    from osmclient.sol005 import client as sol005client
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/sol005/client.py", line 27, in <module>
    from osmclient.sol005 import vim
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/sol005/vim.py", line 71
    >>>>>>> 401964a (Coverity-CWE 398: 7PK - Code Quality (137908 Copy-paste error))
                 ^
SyntaxError: invalid decimal literal

======================================================================
ERROR: test_load (tests_vca.TestVca)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.10/unittest/mock.py", line 1248, in _dot_lookup
    return getattr(thing, comp)
AttributeError: module 'osmclient.scripts' has no attribute 'osm'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.10/unittest/mock.py", line 1376, in patched
    with self.decoration_helper(patched,
  File "/usr/lib/python3.10/contextlib.py", line 135, in __enter__
    return next(self.gen)
  File "/usr/lib/python3.10/unittest/mock.py", line 1358, in decoration_helper
    arg = exit_stack.enter_context(patching)
  File "/usr/lib/python3.10/contextlib.py", line 492, in enter_context
    result = _cm_type.__enter__(cm)
  File "/usr/lib/python3.10/unittest/mock.py", line 1431, in __enter__
    self.target = self.getter()
  File "/usr/lib/python3.10/unittest/mock.py", line 1618, in <lambda>
    getter = lambda: _importer(target)
  File "/usr/lib/python3.10/unittest/mock.py", line 1261, in _importer
    thing = _dot_lookup(thing, comp, import_path)
  File "/usr/lib/python3.10/unittest/mock.py", line 1250, in _dot_lookup
    __import__(import_path)
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/scripts/osm.py", line 17, in <module>
    from osmclient import client
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/client.py", line 22, in <module>
    from osmclient.sol005 import client as sol005client
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/sol005/client.py", line 27, in <module>
    from osmclient.sol005 import vim
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/sol005/vim.py", line 71
    >>>>>>> 401964a (Coverity-CWE 398: 7PK - Code Quality (137908 Copy-paste error))
                 ^
SyntaxError: invalid decimal literal

======================================================================
ERROR: test_vca_add (tests_vca.TestVca)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.10/unittest/mock.py", line 1248, in _dot_lookup
    return getattr(thing, comp)
AttributeError: module 'osmclient.scripts' has no attribute 'osm'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.10/unittest/mock.py", line 1376, in patched
    with self.decoration_helper(patched,
  File "/usr/lib/python3.10/contextlib.py", line 135, in __enter__
    return next(self.gen)
  File "/usr/lib/python3.10/unittest/mock.py", line 1358, in decoration_helper
    arg = exit_stack.enter_context(patching)
  File "/usr/lib/python3.10/contextlib.py", line 492, in enter_context
    result = _cm_type.__enter__(cm)
  File "/usr/lib/python3.10/unittest/mock.py", line 1431, in __enter__
    self.target = self.getter()
  File "/usr/lib/python3.10/unittest/mock.py", line 1618, in <lambda>
    getter = lambda: _importer(target)
  File "/usr/lib/python3.10/unittest/mock.py", line 1261, in _importer
    thing = _dot_lookup(thing, comp, import_path)
  File "/usr/lib/python3.10/unittest/mock.py", line 1250, in _dot_lookup
    __import__(import_path)
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/scripts/osm.py", line 17, in <module>
    from osmclient import client
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/client.py", line 22, in <module>
    from osmclient.sol005 import client as sol005client
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/sol005/client.py", line 27, in <module>
    from osmclient.sol005 import vim
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/sol005/vim.py", line 71
    >>>>>>> 401964a (Coverity-CWE 398: 7PK - Code Quality (137908 Copy-paste error))
                 ^
SyntaxError: invalid decimal literal

======================================================================
ERROR: test_vca_delete (tests_vca.TestVca)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.10/unittest/mock.py", line 1248, in _dot_lookup
    return getattr(thing, comp)
AttributeError: module 'osmclient.scripts' has no attribute 'osm'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.10/unittest/mock.py", line 1376, in patched
    with self.decoration_helper(patched,
  File "/usr/lib/python3.10/contextlib.py", line 135, in __enter__
    return next(self.gen)
  File "/usr/lib/python3.10/unittest/mock.py", line 1358, in decoration_helper
    arg = exit_stack.enter_context(patching)
  File "/usr/lib/python3.10/contextlib.py", line 492, in enter_context
    result = _cm_type.__enter__(cm)
  File "/usr/lib/python3.10/unittest/mock.py", line 1431, in __enter__
    self.target = self.getter()
  File "/usr/lib/python3.10/unittest/mock.py", line 1618, in <lambda>
    getter = lambda: _importer(target)
  File "/usr/lib/python3.10/unittest/mock.py", line 1261, in _importer
    thing = _dot_lookup(thing, comp, import_path)
  File "/usr/lib/python3.10/unittest/mock.py", line 1250, in _dot_lookup
    __import__(import_path)
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/scripts/osm.py", line 17, in <module>
    from osmclient import client
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/client.py", line 22, in <module>
    from osmclient.sol005 import client as sol005client
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/sol005/client.py", line 27, in <module>
    from osmclient.sol005 import vim
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/sol005/vim.py", line 71
    >>>>>>> 401964a (Coverity-CWE 398: 7PK - Code Quality (137908 Copy-paste error))
                 ^
SyntaxError: invalid decimal literal

======================================================================
ERROR: test_vca_list (tests_vca.TestVca)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.10/unittest/mock.py", line 1248, in _dot_lookup
    return getattr(thing, comp)
AttributeError: module 'osmclient.scripts' has no attribute 'osm'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.10/unittest/mock.py", line 1376, in patched
    with self.decoration_helper(patched,
  File "/usr/lib/python3.10/contextlib.py", line 135, in __enter__
    return next(self.gen)
  File "/usr/lib/python3.10/unittest/mock.py", line 1358, in decoration_helper
    arg = exit_stack.enter_context(patching)
  File "/usr/lib/python3.10/contextlib.py", line 492, in enter_context
    result = _cm_type.__enter__(cm)
  File "/usr/lib/python3.10/unittest/mock.py", line 1431, in __enter__
    self.target = self.getter()
  File "/usr/lib/python3.10/unittest/mock.py", line 1618, in <lambda>
    getter = lambda: _importer(target)
  File "/usr/lib/python3.10/unittest/mock.py", line 1261, in _importer
    thing = _dot_lookup(thing, comp, import_path)
  File "/usr/lib/python3.10/unittest/mock.py", line 1250, in _dot_lookup
    __import__(import_path)
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/scripts/osm.py", line 17, in <module>
    from osmclient import client
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/client.py", line 22, in <module>
    from osmclient.sol005 import client as sol005client
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/sol005/client.py", line 27, in <module>
    from osmclient.sol005 import vim
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/sol005/vim.py", line 71
    >>>>>>> 401964a (Coverity-CWE 398: 7PK - Code Quality (137908 Copy-paste error))
                 ^
SyntaxError: invalid decimal literal

======================================================================
ERROR: test_vca_list_literal (tests_vca.TestVca)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.10/unittest/mock.py", line 1248, in _dot_lookup
    return getattr(thing, comp)
AttributeError: module 'osmclient.scripts' has no attribute 'osm'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.10/unittest/mock.py", line 1376, in patched
    with self.decoration_helper(patched,
  File "/usr/lib/python3.10/contextlib.py", line 135, in __enter__
    return next(self.gen)
  File "/usr/lib/python3.10/unittest/mock.py", line 1358, in decoration_helper
    arg = exit_stack.enter_context(patching)
  File "/usr/lib/python3.10/contextlib.py", line 492, in enter_context
    result = _cm_type.__enter__(cm)
  File "/usr/lib/python3.10/unittest/mock.py", line 1431, in __enter__
    self.target = self.getter()
  File "/usr/lib/python3.10/unittest/mock.py", line 1618, in <lambda>
    getter = lambda: _importer(target)
  File "/usr/lib/python3.10/unittest/mock.py", line 1261, in _importer
    thing = _dot_lookup(thing, comp, import_path)
  File "/usr/lib/python3.10/unittest/mock.py", line 1250, in _dot_lookup
    __import__(import_path)
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/scripts/osm.py", line 17, in <module>
    from osmclient import client
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/client.py", line 22, in <module>
    from osmclient.sol005 import client as sol005client
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/sol005/client.py", line 27, in <module>
    from osmclient.sol005 import vim
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/sol005/vim.py", line 71
    >>>>>>> 401964a (Coverity-CWE 398: 7PK - Code Quality (137908 Copy-paste error))
                 ^
SyntaxError: invalid decimal literal

======================================================================
ERROR: test_vca_list_long (tests_vca.TestVca)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.10/unittest/mock.py", line 1248, in _dot_lookup
    return getattr(thing, comp)
AttributeError: module 'osmclient.scripts' has no attribute 'osm'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.10/unittest/mock.py", line 1376, in patched
    with self.decoration_helper(patched,
  File "/usr/lib/python3.10/contextlib.py", line 135, in __enter__
    return next(self.gen)
  File "/usr/lib/python3.10/unittest/mock.py", line 1358, in decoration_helper
    arg = exit_stack.enter_context(patching)
  File "/usr/lib/python3.10/contextlib.py", line 492, in enter_context
    result = _cm_type.__enter__(cm)
  File "/usr/lib/python3.10/unittest/mock.py", line 1431, in __enter__
    self.target = self.getter()
  File "/usr/lib/python3.10/unittest/mock.py", line 1618, in <lambda>
    getter = lambda: _importer(target)
  File "/usr/lib/python3.10/unittest/mock.py", line 1261, in _importer
    thing = _dot_lookup(thing, comp, import_path)
  File "/usr/lib/python3.10/unittest/mock.py", line 1250, in _dot_lookup
    __import__(import_path)
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/scripts/osm.py", line 17, in <module>
    from osmclient import client
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/client.py", line 22, in <module>
    from osmclient.sol005 import client as sol005client
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/sol005/client.py", line 27, in <module>
    from osmclient.sol005 import vim
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/sol005/vim.py", line 71
    >>>>>>> 401964a (Coverity-CWE 398: 7PK - Code Quality (137908 Copy-paste error))
                 ^
SyntaxError: invalid decimal literal

======================================================================
ERROR: test_vca_show (tests_vca.TestVca)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.10/unittest/mock.py", line 1248, in _dot_lookup
    return getattr(thing, comp)
AttributeError: module 'osmclient.scripts' has no attribute 'osm'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.10/unittest/mock.py", line 1376, in patched
    with self.decoration_helper(patched,
  File "/usr/lib/python3.10/contextlib.py", line 135, in __enter__
    return next(self.gen)
  File "/usr/lib/python3.10/unittest/mock.py", line 1358, in decoration_helper
    arg = exit_stack.enter_context(patching)
  File "/usr/lib/python3.10/contextlib.py", line 492, in enter_context
    result = _cm_type.__enter__(cm)
  File "/usr/lib/python3.10/unittest/mock.py", line 1431, in __enter__
    self.target = self.getter()
  File "/usr/lib/python3.10/unittest/mock.py", line 1618, in <lambda>
    getter = lambda: _importer(target)
  File "/usr/lib/python3.10/unittest/mock.py", line 1261, in _importer
    thing = _dot_lookup(thing, comp, import_path)
  File "/usr/lib/python3.10/unittest/mock.py", line 1250, in _dot_lookup
    __import__(import_path)
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/scripts/osm.py", line 17, in <module>
    from osmclient import client
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/client.py", line 22, in <module>
    from osmclient.sol005 import client as sol005client
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/sol005/client.py", line 27, in <module>
    from osmclient.sol005 import vim
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/sol005/vim.py", line 71
    >>>>>>> 401964a (Coverity-CWE 398: 7PK - Code Quality (137908 Copy-paste error))
                 ^
SyntaxError: invalid decimal literal

======================================================================
ERROR: test_vca_show_literal (tests_vca.TestVca)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.10/unittest/mock.py", line 1248, in _dot_lookup
    return getattr(thing, comp)
AttributeError: module 'osmclient.scripts' has no attribute 'osm'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.10/unittest/mock.py", line 1376, in patched
    with self.decoration_helper(patched,
  File "/usr/lib/python3.10/contextlib.py", line 135, in __enter__
    return next(self.gen)
  File "/usr/lib/python3.10/unittest/mock.py", line 1358, in decoration_helper
    arg = exit_stack.enter_context(patching)
  File "/usr/lib/python3.10/contextlib.py", line 492, in enter_context
    result = _cm_type.__enter__(cm)
  File "/usr/lib/python3.10/unittest/mock.py", line 1431, in __enter__
    self.target = self.getter()
  File "/usr/lib/python3.10/unittest/mock.py", line 1618, in <lambda>
    getter = lambda: _importer(target)
  File "/usr/lib/python3.10/unittest/mock.py", line 1261, in _importer
    thing = _dot_lookup(thing, comp, import_path)
  File "/usr/lib/python3.10/unittest/mock.py", line 1250, in _dot_lookup
    __import__(import_path)
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/scripts/osm.py", line 17, in <module>
    from osmclient import client
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/client.py", line 22, in <module>
    from osmclient.sol005 import client as sol005client
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/sol005/client.py", line 27, in <module>
    from osmclient.sol005 import vim
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/sol005/vim.py", line 71
    >>>>>>> 401964a (Coverity-CWE 398: 7PK - Code Quality (137908 Copy-paste error))
                 ^
SyntaxError: invalid decimal literal

======================================================================
ERROR: test_vca_update (tests_vca.TestVca)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.10/unittest/mock.py", line 1248, in _dot_lookup
    return getattr(thing, comp)
AttributeError: module 'osmclient.scripts' has no attribute 'osm'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.10/unittest/mock.py", line 1376, in patched
    with self.decoration_helper(patched,
  File "/usr/lib/python3.10/contextlib.py", line 135, in __enter__
    return next(self.gen)
  File "/usr/lib/python3.10/unittest/mock.py", line 1358, in decoration_helper
    arg = exit_stack.enter_context(patching)
  File "/usr/lib/python3.10/contextlib.py", line 492, in enter_context
    result = _cm_type.__enter__(cm)
  File "/usr/lib/python3.10/unittest/mock.py", line 1431, in __enter__
    self.target = self.getter()
  File "/usr/lib/python3.10/unittest/mock.py", line 1618, in <lambda>
    getter = lambda: _importer(target)
  File "/usr/lib/python3.10/unittest/mock.py", line 1261, in _importer
    thing = _dot_lookup(thing, comp, import_path)
  File "/usr/lib/python3.10/unittest/mock.py", line 1250, in _dot_lookup
    __import__(import_path)
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/scripts/osm.py", line 17, in <module>
    from osmclient import client
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/client.py", line 22, in <module>
    from osmclient.sol005 import client as sol005client
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/sol005/client.py", line 27, in <module>
    from osmclient.sol005 import vim
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/sol005/vim.py", line 71
    >>>>>>> 401964a (Coverity-CWE 398: 7PK - Code Quality (137908 Copy-paste error))
                 ^
SyntaxError: invalid decimal literal

======================================================================
ERROR: test_vca_update_with_args (tests_vca.TestVca)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.10/unittest/mock.py", line 1248, in _dot_lookup
    return getattr(thing, comp)
AttributeError: module 'osmclient.scripts' has no attribute 'osm'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.10/unittest/mock.py", line 1376, in patched
    with self.decoration_helper(patched,
  File "/usr/lib/python3.10/contextlib.py", line 135, in __enter__
    return next(self.gen)
  File "/usr/lib/python3.10/unittest/mock.py", line 1358, in decoration_helper
    arg = exit_stack.enter_context(patching)
  File "/usr/lib/python3.10/contextlib.py", line 492, in enter_context
    result = _cm_type.__enter__(cm)
  File "/usr/lib/python3.10/unittest/mock.py", line 1431, in __enter__
    self.target = self.getter()
  File "/usr/lib/python3.10/unittest/mock.py", line 1618, in <lambda>
    getter = lambda: _importer(target)
  File "/usr/lib/python3.10/unittest/mock.py", line 1261, in _importer
    thing = _dot_lookup(thing, comp, import_path)
  File "/usr/lib/python3.10/unittest/mock.py", line 1250, in _dot_lookup
    __import__(import_path)
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/scripts/osm.py", line 17, in <module>
    from osmclient import client
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/client.py", line 22, in <module>
    from osmclient.sol005 import client as sol005client
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/sol005/client.py", line 27, in <module>
    from osmclient.sol005 import vim
  File "/home/jenkins/workspace/osmclient-stage_2_master/osmclient/sol005/vim.py", line 71
    >>>>>>> 401964a (Coverity-CWE 398: 7PK - Code Quality (137908 Copy-paste error))
                 ^
SyntaxError: invalid decimal literal

ERROR:nose2.main:Internal Error
Traceback (most recent call last):
  File "/tmp/.tox/cover/lib/python3.10/site-packages/coverage/parser.py", line 254, in parse_source
    self._raw_parse()
  File "/tmp/.tox/cover/lib/python3.10/site-packages/coverage/parser.py", line 141, in _raw_parse
    tokgen = generate_tokens(self.text)
  File "/tmp/.tox/cover/lib/python3.10/site-packages/coverage/phystokens.py", line 188, in generate_tokens
    self.last_tokens = list(tokenize.generate_tokens(readline))
  File "/usr/lib/python3.10/tokenize.py", line 514, in _tokenize
    raise IndentationError(
  File "<tokenize>", line 74
    def create(
IndentationError: unindent does not match any outer indentation level

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/tmp/.tox/cover/lib/python3.10/site-packages/nose2/main.py", line 302, in runTests
    self.result = runner.run(self.test)
  File "/tmp/.tox/cover/lib/python3.10/site-packages/nose2/runner.py", line 61, in run
    self.session.hooks.afterTestRun(event)
  File "/tmp/.tox/cover/lib/python3.10/site-packages/nose2/events.py", line 233, in __call__
    result = getattr(plugin, self.method)(event)
  File "/tmp/.tox/cover/lib/python3.10/site-packages/nose2/plugins/result.py", line 125, in afterTestRun
    self._reportSummary(event)
  File "/tmp/.tox/cover/lib/python3.10/site-packages/nose2/plugins/result.py", line 193, in _reportSummary
    self._printSummary(evt)
  File "/tmp/.tox/cover/lib/python3.10/site-packages/nose2/plugins/result.py", line 205, in _printSummary
    self.session.hooks.beforeSummaryReport(reportEvent)
  File "/tmp/.tox/cover/lib/python3.10/site-packages/nose2/events.py", line 233, in __call__
    result = getattr(plugin, self.method)(event)
  File "/tmp/.tox/cover/lib/python3.10/site-packages/nose2/plugins/coverage.py", line 138, in beforeSummaryReport
    percent_coverage = self.covController.report(
  File "/tmp/.tox/cover/lib/python3.10/site-packages/coverage/control.py", line 1084, in report
    return reporter.report(morfs, outfile=file)
  File "/tmp/.tox/cover/lib/python3.10/site-packages/coverage/report.py", line 181, in report
    for fr, analysis in get_analysis_to_report(self.coverage, morfs):
  File "/tmp/.tox/cover/lib/python3.10/site-packages/coverage/report_core.py", line 100, in get_analysis_to_report
    analysis = coverage._analyze(fr)
  File "/tmp/.tox/cover/lib/python3.10/site-packages/coverage/control.py", line 945, in _analyze
    return Analysis(data, self.config.precision, fr, self._file_mapper)
  File "/tmp/.tox/cover/lib/python3.10/site-packages/coverage/results.py", line 35, in __init__
    self.statements = self.file_reporter.lines()
  File "/tmp/.tox/cover/lib/python3.10/site-packages/coverage/python.py", line 193, in lines
    return self.parser.statements
  File "/tmp/.tox/cover/lib/python3.10/site-packages/coverage/python.py", line 188, in parser
    self._parser.parse_source()
  File "/tmp/.tox/cover/lib/python3.10/site-packages/coverage/parser.py", line 260, in parse_source
    raise NotPython(
coverage.exceptions.NotPython: Couldn't parse '/home/jenkins/workspace/osmclient-stage_2_master/osmclient/sol005/vim.py' as Python source: 'unindent does not match any outer indentation level' at line 74
Internal Error: runTests aborted: Couldn't parse '/home/jenkins/workspace/osmclient-stage_2_master/osmclient/sol005/vim.py' as Python source: 'unindent does not match any outer indentation level' at line 74
ERROR: InvocationError for command /tmp/.tox/cover/bin/nose2 -C --coverage osmclient (exited with code 1)

=================================== log end ====================================
✖ FAIL cover in 46.886 seconds
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/osmclient-stage_2_master/requirements.txt, -r/home/jenkins/workspace/osmclient-stage_2_master/requirements-dev.txt, -r/home/jenkins/workspace/osmclient-stage_2_master/requirements-test.txt, pylint==3.0.3
pylint develop-inst: /home/jenkins/workspace/osmclient-stage_2_master
pylint installed: astroid==3.0.3,certifi==2023.7.22,charset-normalizer==3.2.0,click==8.1.7,coverage==7.3.1,dill==0.3.8,enum34==1.1.10,idna==3.4,isort==5.13.2,Jinja2==3.1.2,jsonpath-ng==1.6.0,lxml==5.2.1,MarkupSafe==2.1.3,mccabe==0.7.0,mock==5.1.0,nose2==0.13.0,osm-im @ git+https://osm.etsi.org/gerrit/osm/IM.git@90ffed24477703d8b77f8805c567cdaba0798ea6,-e git+https://osm.etsi.org/gerrit/osm/osmclient.git@b481f555e41504476ba6c92d69acb604169a963a#egg=osmclient,packaging==23.1,platformdirs==4.2.1,ply==3.11,prettytable==3.9.0,pyang==2.5.3,pyangbind==0.8.3.post1,pylint==3.0.3,python-magic==0.4.27,PyYAML==6.0.1,regex==2024.4.28,requests==2.31.0,six==1.16.0,tomli==2.0.1,tomlkit==0.12.5,typing_extensions==4.11.0,urllib3==2.0.5,verboselogs==1.7,wcwidth==0.2.6
pylint run-test-pre: PYTHONHASHSEED='3393638627'
pylint run-test: commands[0] | pylint -E osmclient/
************* Module osmclient.sol005.vim
osmclient/sol005/vim.py:71:14: E0001: Parsing failed: 'invalid decimal literal (<unknown>, line 71)' (syntax-error)
************* Module osmclient.sol005.client
osmclient/sol005/client.py:27:0: E0611: No name 'vim' in module 'osmclient.sol005' (no-name-in-module)
ERROR: InvocationError for command /tmp/.tox/pylint/bin/pylint -E osmclient/ (exited with code 2)

=================================== log end ====================================
✖ FAIL pylint in 54.655 seconds
___________________________________ summary ____________________________________
ERROR:   black: parallel child exit code 1
ERROR:   cover: parallel child exit code 1
ERROR:   flake8: parallel child exit code 1
ERROR:   pylint: parallel child exit code 1
  safety: commands succeeded
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
$ docker stop --time=1 43dde9d2f429ce8c75dfd18705b98a313a79c3657a0b74383414b26876cdf4a3
$ docker rm -f 43dde9d2f429ce8c75dfd18705b98a313a79c3657a0b74383414b26876cdf4a3
[Pipeline] // withDockerContainer
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: script returned exit code 1
Finished: FAILURE