SuccessConsole Output

Started by upstream project "buildall-stage_2-merge-v14" build number 277
originally caused by:
 Started by timer
 > git rev-parse --is-inside-work-tree # timeout=10
Setting origin to https://osm.etsi.org/gerrit/osm/LCM.git
 > git config remote.origin.url https://osm.etsi.org/gerrit/osm/LCM.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/ELCM
Seen branch in repository origin/bug-585
Seen branch in repository origin/bug1511
Seen branch in repository origin/feature5837
Seen branch in repository origin/feature7106
Seen branch in repository origin/feature7184
Seen branch in repository origin/feature7928
Seen branch in repository origin/lcm-bug-585
Seen branch in repository origin/master
Seen branch in repository origin/n2vc
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/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/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 28 remote branches
Obtained Jenkinsfile from a24c5ecb16911280606932e0a2b654823b808b75
Running in Durability level: MAX_SURVIVABILITY
[Pipeline] properties
[Pipeline] node
Still waiting to schedule task
Waiting for next available executor on ‘stage_2’
Running on osm-cicd-2 in /home/jenkins/workspace/LCM-stage_2-merge_v14.0
[Pipeline] {
[Pipeline] checkout
No credentials specified
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://osm.etsi.org/gerrit/osm/LCM.git # timeout=10
Fetching without tags
Fetching upstream changes from https://osm.etsi.org/gerrit/osm/LCM.git
 > git --version # timeout=10
 > git fetch --no-tags --force --progress https://osm.etsi.org/gerrit/osm/LCM.git +refs/heads/*:refs/remotes/origin/*
Checking out Revision a24c5ecb16911280606932e0a2b654823b808b75 (v14.0)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f a24c5ecb16911280606932e0a2b654823b808b75
Commit message: "Fix Bug 2304: Flavor Not getting Updated in Mongodb nsrs after Vertical scaling"
 > git rev-list --no-walk a24c5ecb16911280606932e0a2b654823b808b75 # timeout=10
[Pipeline] dir
Running in /home/jenkins/workspace/LCM-stage_2-merge_v14.0/devops
[Pipeline] {
[Pipeline] git
No credentials specified
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://osm.etsi.org/gerrit/osm/devops # timeout=10
Fetching upstream changes from https://osm.etsi.org/gerrit/osm/devops
 > git --version # timeout=10
 > git fetch --tags --force --progress https://osm.etsi.org/gerrit/osm/devops +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/v14.0^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/v14.0^{commit} # timeout=10
Checking out Revision 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 branch -D v14.0 # 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 cfe99d5c8f6105eff01919083418c8236465d2fc # 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
[LCM-stage_2-merge_v14.0] Running shell script
+ env
JENKINS_HOME=/var/lib/jenkins
SSH_CLIENT=212.234.161.1 22456 22
USER=jenkins
RUN_CHANGES_DISPLAY_URL=https://osm.etsi.org/jenkins/job/LCM-stage_2-merge/job/v14.0/287/display/redirect?page=changes
GERRIT_PROJECT=osm/LCM
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/LCM-stage_2-merge/job/v14.0/287/
HUDSON_COOKIE=627d533d-acad-4e68-bd30-6620804894d6
JENKINS_SERVER_COOKIE=durable-bea429c70a333a6a11e03e213307221b
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus
GERRIT_PATCHSET_REVISION=a24c5ecb16911280606932e0a2b654823b808b75
WORKSPACE=/home/jenkins/workspace/LCM-stage_2-merge_v14.0
LOGNAME=jenkins
NODE_NAME=osm-cicd-2
GERRIT_BRANCH=v14.0
_=/usr/bin/java
RUN_ARTIFACTS_DISPLAY_URL=https://osm.etsi.org/jenkins/job/LCM-stage_2-merge/job/v14.0/287/display/redirect?page=artifacts
XDG_SESSION_CLASS=user
EXECUTOR_NUMBER=0
XDG_SESSION_ID=2054
RUN_TESTS_DISPLAY_URL=https://osm.etsi.org/jenkins/job/LCM-stage_2-merge/job/v14.0/287/display/redirect?page=tests
BUILD_DISPLAY_NAME=#287
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=287
XDG_RUNTIME_DIR=/run/user/1001
BUILD_TAG=jenkins-LCM-stage_2-merge-v14.0-287
JENKINS_URL=https://osm.etsi.org/jenkins/
LANG=C.UTF-8
JOB_URL=https://osm.etsi.org/jenkins/job/LCM-stage_2-merge/job/v14.0/
BUILD_NUMBER=287
SHELL=/bin/bash
RUN_DISPLAY_URL=https://osm.etsi.org/jenkins/job/LCM-stage_2-merge/job/v14.0/287/display/redirect
ARTIFACTORY_SERVER=artifactory-osm
GERRIT_REFSPEC=refs/changes/30/14030/2
HUDSON_SERVER_COOKIE=6d3295a483c3e6d5
JOB_DISPLAY_URL=https://osm.etsi.org/jenkins/job/LCM-stage_2-merge/job/v14.0/display/redirect
JOB_NAME=LCM-stage_2-merge/v14.0
TEST_INSTALL=false
PWD=/home/jenkins/workspace/LCM-stage_2-merge_v14.0
SSH_CONNECTION=212.234.161.1 22456 172.21.249.2 22
BRANCH_NAME=v14.0
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Checkout)
[Pipeline] sh
[LCM-stage_2-merge_v14.0] Running shell script
+ git fetch --tags
From https://osm.etsi.org/gerrit/osm/LCM
 * [new tag]         v12.0.8    -> v12.0.8
 * [new tag]         v14.0.2    -> v14.0.2
[Pipeline] sh
[LCM-stage_2-merge_v14.0] Running shell script
+ git fetch origin refs/changes/30/14030/2
From https://osm.etsi.org/gerrit/osm/LCM
 * branch            refs/changes/30/14030/2 -> FETCH_HEAD
[Pipeline] sh
[LCM-stage_2-merge_v14.0] Running shell script
+ git checkout -f a24c5ecb16911280606932e0a2b654823b808b75
HEAD is now at a24c5ec Fix Bug 2304: Flavor Not getting Updated in Mongodb nsrs after Vertical scaling
[Pipeline] sh
[LCM-stage_2-merge_v14.0] Running shell script
+ sudo git clean -dfx
Removing .cache/
Removing .coverage
Removing .local/
Removing build.env
Removing changelog/
Removing cover/
Removing coverage.xml
Removing deb_dist/
Removing dist/
Removing nosetests.xml
Removing osm_lcm-14.0.1.post5+ga24c5ec.tar.gz
Removing osm_lcm.egg-info/
Removing pool/
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (License Scan)
skip the scan for merge
[Pipeline] echo
[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
[LCM-stage_2-merge_v14.0] Running shell script
+ docker build --build-arg APT_PROXY=http://172.21.1.1:3142 -t osm/lcm-v14.0 .
Sending build context to Docker daemon  160.8MB

Step 1/4 : FROM ubuntu:22.04
 ---> ca2b0f26964c
Step 2/4 : ARG APT_PROXY
 ---> Using cache
 ---> ee734d7d031f
Step 3/4 : 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
 ---> 7ff5aba90edd
Step 4/4 : 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
 ---> d60fa346fff4
Successfully built d60fa346fff4
Successfully tagged osm/lcm-v14.0:latest
[Pipeline] }
[Pipeline] // stage
[Pipeline] sh
[LCM-stage_2-merge_v14.0] Running shell script
+ id -u
[Pipeline] sh
[LCM-stage_2-merge_v14.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/LCM-stage_2-merge_v14.0 -v /home/jenkins/workspace/LCM-stage_2-merge_v14.0:/home/jenkins/workspace/LCM-stage_2-merge_v14.0:rw,z -v /home/jenkins/workspace/LCM-stage_2-merge_v14.0@tmp:/home/jenkins/workspace/LCM-stage_2-merge_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/lcm-v14.0
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Test)
[Pipeline] sh
[LCM-stage_2-merge_v14.0] Running shell script
+ groupadd -o -g 1001 -r jenkins
[Pipeline] sh
[LCM-stage_2-merge_v14.0] Running shell script
+ pwd
+ useradd -o -u 1001 -d /home/jenkins/workspace/LCM-stage_2-merge_v14.0 -r -g jenkins jenkins
[Pipeline] sh
[LCM-stage_2-merge_v14.0] Running shell script
+ echo #! /bin/sh
[Pipeline] sh
[LCM-stage_2-merge_v14.0] Running shell script
+ chmod 755 /usr/bin/mesg
[Pipeline] sh
[LCM-stage_2-merge_v14.0] Running shell script
+ runuser jenkins -c devops-stages/stage-test.sh
Launching tox
✔ OK black in 8.465 seconds
black create: /tmp/.tox/black
black installdeps: black==23.12.1
black installed: black==23.12.1,click==8.1.7,mypy-extensions==1.0.0,packaging==24.0,pathspec==0.12.1,platformdirs==4.2.0,tomli==2.0.1,typing_extensions==4.10.0
black run-test-pre: PYTHONHASHSEED='2378921006'
black run-test: commands[0] | black --check --diff osm_lcm/
All done! ✨ 🍰 ✨
40 files would be left unchanged.
black run-test: commands[1] | black --check --diff setup.py
All done! ✨ 🍰 ✨
1 file would be left unchanged.

✔ OK flake8 in 10.676 seconds
flake8 create: /tmp/.tox/flake8
flake8 installdeps: flake8
flake8 develop-inst: /home/jenkins/workspace/LCM-stage_2-merge_v14.0
flake8 installed: flake8==7.0.0,mccabe==0.7.0,-e git+https://osm.etsi.org/gerrit/osm/LCM.git@a24c5ecb16911280606932e0a2b654823b808b75#egg=osm_lcm,pycodestyle==2.11.1,pyflakes==3.2.0
flake8 run-test-pre: PYTHONHASHSEED='4063137223'
flake8 run-test: commands[0] | flake8 osm_lcm/ setup.py

✔ OK safety in 35.921 seconds
safety create: /tmp/.tox/safety
safety installdeps: -r/home/jenkins/workspace/LCM-stage_2-merge_v14.0/requirements.txt, safety
safety develop-inst: /home/jenkins/workspace/LCM-stage_2-merge_v14.0
safety installed: aiohttp==3.8.5,aiosignal==1.3.1,annotated-types==0.5.0,async-timeout==4.0.3,attrs==23.1.0,Authlib==1.3.0,boltons==23.0.0,certifi==2024.2.2,cffi==1.16.0,charset-normalizer==3.3.0,checksumdir==1.2.0,click==8.1.7,config-man==0.0.4,cryptography==42.0.5,dparse==0.6.4b0,face==20.1.1,frozenlist==1.4.0,glom==23.3.0,grpcio==1.59.0,grpcio-tools==1.48.1,grpclib==0.4.6,h2==4.1.0,hpack==4.0.0,hyperframe==6.0.1,idna==3.4,Jinja2==3.1.2,markdown-it-py==3.0.0,MarkupSafe==2.1.3,marshmallow==3.21.1,mdurl==0.1.2,multidict==6.0.4,-e git+https://osm.etsi.org/gerrit/osm/LCM.git@a24c5ecb16911280606932e0a2b654823b808b75#egg=osm_lcm,packaging==24.0,protobuf==3.20.3,pycparser==2.21,pydantic==2.4.2,pydantic_core==2.10.1,Pygments==2.17.2,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.1.0,safety-schemas==0.0.2,tomli==2.0.1,typer==0.10.0,typing_extensions==4.8.0,urllib3==2.2.1,yarl==1.9.2
safety run-test-pre: PYTHONHASHSEED='1293991048'
safety run-test: commands[0] | - safety check --full-report
+==============================================================================+

                               /$$$$$$            /$$
                              /$$__  $$          | $$
           /$$$$$$$  /$$$$$$ | $$  \__//$$$$$$  /$$$$$$   /$$   /$$
          /$$_____/ |____  $$| $$$$   /$$__  $$|_  $$_/  | $$  | $$
         |  $$$$$$   /$$$$$$$| $$_/  | $$$$$$$$  | $$    | $$  | $$
          \____  $$ /$$__  $$| $$    | $$_____/  | $$ /$$| $$  | $$
          /$$$$$$$/|  $$$$$$$| $$    |  $$$$$$$  |  $$$$/|  $$$$$$$
         |_______/  \_______/|__/     \_______/   \___/   \____  $$
                                                          /$$  | $$
                                                         |  $$$$$$/
  by safetycli.com                                        \______/

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

 REPORT 

  Safety v3.1.0 is scanning for Vulnerabilities...
  Scanning dependencies in your environment:

  -> /usr/lib/python3.10
  -> /tmp/.tox/safety/lib/python3.10/site-packages
  -> /home/jenkins/workspace/LCM-stage_2-merge_v14.0
  -> /usr/lib/python310.zip
  -> /tmp/.tox/safety/bin
  -> /usr/lib/python3.10/lib-dynload

  Using open-source vulnerability database
  Found and scanned 53 packages
  Timestamp 2024-03-26 10:50:40
  8 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.


-> Vulnerability found in aiohttp version 3.8.5
   Vulnerability ID: 62582
   Affected spec: <3.9.0
   ADVISORY: Aiohttp 3.9.0 includes a fix for CVE-2023-49081:
   Improper validation made it possible for an attacker to modify the HTTP
   request (e.g. to insert a new header) or create a new HTTP request if the
   attacker controls the HTTP version. The vulnerability only occurs if the
   attacker can control the HTTP version of the
   request.https://github.com/aio-
   libs/aiohttp/security/advisories/GHSA-q3qx-c6g2-7pw2
   CVE-2023-49081
   For more information about this vulnerability, visit
   https://data.safetycli.com/v/62582/97c
   To ignore this vulnerability, use PyUp vulnerability id 62582 in safety’s
   ignore command-line argument or add the ignore to your safety policy file.


-> Vulnerability found in aiohttp version 3.8.5
   Vulnerability ID: 62583
   Affected spec: <3.9.0
   ADVISORY: Affected versions of aiohttp are vulnerable to an
   Improper Validation vulnerability. It is possible for an attacker to
   modify the HTTP request (e.g. insert a new header) or even create a new
   HTTP request if the attacker controls the HTTP method. The vulnerability
   occurs only if the attacker can control the HTTP method (GET, POST etc.)
   of the request. If the attacker can control the HTTP version of the
   request it will be able to modify the request (request smuggling).
   CVE-2023-49082
   For more information about this vulnerability, visit
   https://data.safetycli.com/v/62583/97c
   To ignore this vulnerability, use PyUp vulnerability id 62583 in safety’s
   ignore command-line argument or add the ignore to your safety policy file.


-> Vulnerability found in aiohttp version 3.8.5
   Vulnerability ID: 62326
   Affected spec: <3.8.6
   ADVISORY: Aiohttp 3.8.6 includes a fix for CVE-2023-47627: The
   HTTP parser in AIOHTTP has numerous problems with header parsing, which
   could lead to request smuggling. This parser is only used when
   AIOHTTP_NO_EXTENSIONS is enabled (or not using a prebuilt
   wheel).https://github.com/aio-libs/aiohttp/security/advisories/GHSA-
   gfw2-4jvh-wgfg
   CVE-2023-47627
   For more information about this vulnerability, visit
   https://data.safetycli.com/v/62326/97c
   To ignore this vulnerability, use PyUp vulnerability id 62326 in safety’s
   ignore command-line argument or add the ignore to your safety policy file.


-> Vulnerability found in aiohttp version 3.8.5
   Vulnerability ID: 64642
   Affected spec: >1.0.5,<3.9.2
   ADVISORY: The vulnerability lies in the improper configuration of
   static resource resolution when aiohttp is used as a web server. It occurs
   when the follow_symlinks option is enabled without proper validation,
   leading to directory traversal vulnerabilities. Unauthorized access to
   arbitrary files on the system could potentially occur. The affected
   versions are >1.0.5, and the issue was patched in version 3.9.2. As a
   workaround, it is advised to disable the follow_symlinks option outside of
   a restricted local development environment, especially in a server
   accepting requests from remote users. Using a reverse proxy server to
   handle static resources is also recommended.https://github.com/aio-
   libs/aiohttp/commit/1c335944d6a8b1298baf179b7c0b3069f10c514b
   CVE-2024-23334
   For more information about this vulnerability, visit
   https://data.safetycli.com/v/64642/97c
   To ignore this vulnerability, use PyUp vulnerability id 64642 in safety’s
   ignore command-line argument or add the ignore to your safety policy file.


-> Vulnerability found in aiohttp version 3.8.5
   Vulnerability ID: 64644
   Affected spec: <3.9.1
   ADVISORY: The aiohttp versions minor than 3.9. has a vulnerability
   that affects the Python HTTP parser used in the aiohttp library. It allows
   for minor differences in allowable character sets, which could lead to
   robust frame boundary matching of proxies to protect against the injection
   of additional requests. The vulnerability also allows  exceptions during
   validation that aren't handled consistently with other malformed inputs.
   CVE-2024-23829
   For more information about this vulnerability, visit
   https://data.safetycli.com/v/64644/97c
   To ignore this vulnerability, use PyUp vulnerability id 64644 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

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

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

 Scan was completed. 8 vulnerabilities were reported. 

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

✔ OK pylint in 1 minute, 14.102 seconds
pylint create: /tmp/.tox/pylint
pylint installdeps: -r/home/jenkins/workspace/LCM-stage_2-merge_v14.0/requirements.txt, -r/home/jenkins/workspace/LCM-stage_2-merge_v14.0/requirements-dev.txt, -r/home/jenkins/workspace/LCM-stage_2-merge_v14.0/requirements-test.txt, pylint
pylint develop-inst: /home/jenkins/workspace/LCM-stage_2-merge_v14.0
pylint installed: aiohttp==3.8.5,aiokafka==0.8.1,aiosignal==1.3.1,annotated-types==0.5.0,astroid==3.1.0,async-timeout==4.0.3,asynctest==0.13.0,attrs==23.1.0,bcrypt==4.0.1,boltons==23.0.0,cachetools==5.3.1,certifi==2023.7.22,cffi==1.16.0,charset-normalizer==3.3.0,checksumdir==1.2.0,config-man==0.0.4,coverage==7.3.2,cryptography==41.0.4,dataclasses==0.6,dill==0.3.8,dnspython==2.4.2,face==20.1.1,frozenlist==1.4.0,glom==23.3.0,google-auth==2.17.3,grpcio==1.59.0,grpcio-tools==1.48.1,grpclib==0.4.6,h2==4.1.0,hpack==4.0.0,hyperframe==6.0.1,idna==3.4,isort==5.13.2,Jinja2==3.1.2,juju==2.9.44.0,jujubundlelib==0.5.7,kafka-python==2.0.2,kubernetes==26.1.0,macaroonbakery==1.3.1,MarkupSafe==2.1.3,mccabe==0.7.0,mock==5.1.0,motor==3.3.1,multidict==6.0.4,mypy-extensions==1.0.0,N2VC @ git+https://osm.etsi.org/gerrit/osm/N2VC.git@febbaa05ff5c9a59694f74abc7da10071f026d09,nose2==0.13.0,oauthlib==3.2.2,osm-common @ git+https://osm.etsi.org/gerrit/osm/common.git@df511049aeda8da03035b3adc2f900b76c8255de,-e git+https://osm.etsi.org/gerrit/osm/LCM.git@a24c5ecb16911280606932e0a2b654823b808b75#egg=osm_lcm,packaging==23.1,paramiko==2.12.0,platformdirs==4.2.0,protobuf==3.20.3,pyasn1==0.5.0,pyasn1-modules==0.3.0,pycparser==2.21,pycryptodome==3.19.0,pydantic==2.4.2,pydantic_core==2.10.1,pylint==3.1.0,pymacaroons==0.13.0,pymongo==4.5.0,PyNaCl==1.5.0,pyRFC3339==1.1,python-dateutil==2.8.2,pytz==2023.3.post1,PyYAML==6.0.1,requests==2.31.0,requests-oauthlib==1.3.1,retrying-async==2.0.0,rsa==4.9,six==1.16.0,theblues==0.5.2,tomli==2.0.1,tomlkit==0.12.4,toposort==1.10,typing-inspect==0.9.0,typing_extensions==4.8.0,urllib3==2.0.6,websocket-client==1.6.3,websockets==11.0.3,yarl==1.9.2
pylint run-test-pre: PYTHONHASHSEED='1925452853'
pylint run-test: commands[0] | pylint -E osm_lcm --extension-pkg-allow-list=pydantic

✔ OK cover in 2 minutes, 15.971 seconds
cover create: /tmp/.tox/cover
cover installdeps: -r/home/jenkins/workspace/LCM-stage_2-merge_v14.0/requirements.txt, -r/home/jenkins/workspace/LCM-stage_2-merge_v14.0/requirements-dev.txt, -r/home/jenkins/workspace/LCM-stage_2-merge_v14.0/requirements-test.txt
cover develop-inst: /home/jenkins/workspace/LCM-stage_2-merge_v14.0
cover installed: aiohttp==3.8.5,aiokafka==0.8.1,aiosignal==1.3.1,annotated-types==0.5.0,async-timeout==4.0.3,asynctest==0.13.0,attrs==23.1.0,bcrypt==4.0.1,boltons==23.0.0,cachetools==5.3.1,certifi==2023.7.22,cffi==1.16.0,charset-normalizer==3.3.0,checksumdir==1.2.0,config-man==0.0.4,coverage==7.3.2,cryptography==41.0.4,dataclasses==0.6,dnspython==2.4.2,face==20.1.1,frozenlist==1.4.0,glom==23.3.0,google-auth==2.17.3,grpcio==1.59.0,grpcio-tools==1.48.1,grpclib==0.4.6,h2==4.1.0,hpack==4.0.0,hyperframe==6.0.1,idna==3.4,Jinja2==3.1.2,juju==2.9.44.0,jujubundlelib==0.5.7,kafka-python==2.0.2,kubernetes==26.1.0,macaroonbakery==1.3.1,MarkupSafe==2.1.3,mock==5.1.0,motor==3.3.1,multidict==6.0.4,mypy-extensions==1.0.0,N2VC @ git+https://osm.etsi.org/gerrit/osm/N2VC.git@febbaa05ff5c9a59694f74abc7da10071f026d09,nose2==0.13.0,oauthlib==3.2.2,osm-common @ git+https://osm.etsi.org/gerrit/osm/common.git@df511049aeda8da03035b3adc2f900b76c8255de,-e git+https://osm.etsi.org/gerrit/osm/LCM.git@a24c5ecb16911280606932e0a2b654823b808b75#egg=osm_lcm,packaging==23.1,paramiko==2.12.0,protobuf==3.20.3,pyasn1==0.5.0,pyasn1-modules==0.3.0,pycparser==2.21,pycryptodome==3.19.0,pydantic==2.4.2,pydantic_core==2.10.1,pymacaroons==0.13.0,pymongo==4.5.0,PyNaCl==1.5.0,pyRFC3339==1.1,python-dateutil==2.8.2,pytz==2023.3.post1,PyYAML==6.0.1,requests==2.31.0,requests-oauthlib==1.3.1,retrying-async==2.0.0,rsa==4.9,six==1.16.0,theblues==0.5.2,toposort==1.10,typing-inspect==0.9.0,typing_extensions==4.8.0,urllib3==2.0.6,websocket-client==1.6.3,websockets==11.0.3,yarl==1.9.2
cover run-test-pre: PYTHONHASHSEED='2750819423'
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 osm_lcm
.....ERROR:lcm.vca:Task vca_create=id Failed with exception: failed
ERROR:lcm.vca:Task vca_create=id Cannot update database: database exception failed
..ERROR:lcm.vca:Task vca_delete=id Failed with exception: failed deleting
ERROR:lcm.vca:Task vca_delete=id Cannot update database: database exception failed
.ERROR:lcm.vca:Task vca_edit=id Cannot update database: database exception failed
.ERROR:lcm.vca:Task vca_edit=id Failed with exception: failed
..../tmp/.tox/cover/lib/python3.10/site-packages/pydantic/main.py:308: UserWarning: Pydantic serializer warnings:
  Expected `list[dict[any, any]]` but got `dict` - serialized value may not be as expected
  return self.__pydantic_serializer__.to_python(
.DEBUG:test_lcm_helm_conn:Initialize helm N2VC connector
DEBUG:test_lcm_helm_conn:initial vca_config: {'host': None, 'port': None, 'user': None, 'secret': None, 'cloud': None, 'k8s_cloud': None, 'helmpath': '/usr/local/bin/helm', 'helm3path': '/usr/local/bin/helm3', 'kubectlpath': '/usr/bin/kubectl', 'jujupath': None, 'public_key': None, 'ca_cert': None, 'api_proxy': None, 'apt_mirror': None, 'eegrpcinittimeout': None, 'eegrpctimeout': None, 'eegrpc_tls_enforce': False, 'eegrpc_pod_admission_policy': 'baseline', 'loglevel': 'DEBUG', 'logfile': None, 'ca_store': '/etc/ssl/certs/osm-ca.crt', 'client_cert_path': '/etc/ssl/lcm-client/tls.crt', 'client_key_path': '/etc/ssl/lcm-client/tls.key', 'kubectl_osm_namespace': 'osm', 'kubectl_osm_cluster_name': '_system-osm-k8s', 'helm_ee_service_port': 50050, 'helm_max_initial_retry_time': 600, 'helm_max_retry_time': 30, 'helm_ee_retry_delay': 10}
DEBUG:test_lcm_helm_conn:Initial retry time: 600
DEBUG:test_lcm_helm_conn:Retry time: 30
INFO:test_lcm_helm_conn:Helm N2VC connector initialized
INFO:test_lcm_helm_conn:create_execution_environment: namespace: testnamespace, artifact_path: helm_sample_charm, chart_model: {}, db_dict: helm_sample_charm, reuse_ee_id: None
DEBUG:test_lcm_helm_conn:install helm chart: /helm_sample_charm
.DEBUG:test_lcm_helm_conn:Initialize helm N2VC connector
DEBUG:test_lcm_helm_conn:initial vca_config: {'host': None, 'port': None, 'user': None, 'secret': None, 'cloud': None, 'k8s_cloud': None, 'helmpath': '/usr/local/bin/helm', 'helm3path': '/usr/local/bin/helm3', 'kubectlpath': '/usr/bin/kubectl', 'jujupath': None, 'public_key': None, 'ca_cert': None, 'api_proxy': None, 'apt_mirror': None, 'eegrpcinittimeout': None, 'eegrpctimeout': None, 'eegrpc_tls_enforce': False, 'eegrpc_pod_admission_policy': 'baseline', 'loglevel': 'DEBUG', 'logfile': None, 'ca_store': '/etc/ssl/certs/osm-ca.crt', 'client_cert_path': '/etc/ssl/lcm-client/tls.crt', 'client_key_path': '/etc/ssl/lcm-client/tls.key', 'kubectl_osm_namespace': 'osm', 'kubectl_osm_cluster_name': '_system-osm-k8s', 'helm_ee_service_port': 50050, 'helm_max_initial_retry_time': 600, 'helm_max_retry_time': 30, 'helm_ee_retry_delay': 10}
DEBUG:test_lcm_helm_conn:Initial retry time: 600
DEBUG:test_lcm_helm_conn:Retry time: 30
INFO:test_lcm_helm_conn:Helm N2VC connector initialized
INFO:test_lcm_helm_conn:ee_id: helm-v3:osm.helm_sample_charm_0001
INFO:test_lcm_helm_conn:ee_id: helm-v3:osm.helm_sample_charm_0001 deleted
.DEBUG:test_lcm_helm_conn:Initialize helm N2VC connector
DEBUG:test_lcm_helm_conn:initial vca_config: {'host': None, 'port': None, 'user': None, 'secret': None, 'cloud': None, 'k8s_cloud': None, 'helmpath': '/usr/local/bin/helm', 'helm3path': '/usr/local/bin/helm3', 'kubectlpath': '/usr/bin/kubectl', 'jujupath': None, 'public_key': None, 'ca_cert': None, 'api_proxy': None, 'apt_mirror': None, 'eegrpcinittimeout': None, 'eegrpctimeout': None, 'eegrpc_tls_enforce': False, 'eegrpc_pod_admission_policy': 'baseline', 'loglevel': 'DEBUG', 'logfile': None, 'ca_store': '/etc/ssl/certs/osm-ca.crt', 'client_cert_path': '/etc/ssl/lcm-client/tls.crt', 'client_key_path': '/etc/ssl/lcm-client/tls.key', 'kubectl_osm_namespace': 'osm', 'kubectl_osm_cluster_name': '_system-osm-k8s', 'helm_ee_service_port': 50050, 'helm_max_initial_retry_time': 600, 'helm_max_retry_time': 30, 'helm_ee_retry_delay': 10}
DEBUG:test_lcm_helm_conn:Initial retry time: 600
DEBUG:test_lcm_helm_conn:Retry time: 30
INFO:test_lcm_helm_conn:Helm N2VC connector initialized
DEBUG:test_lcm_helm_conn:Execute config primitive
INFO:test_lcm_helm_conn:exec primitive for ee_id : osm.helm_sample_charm_0001, primitive_name: config, params_dict: {'ssh-host-name': 'host1'}, db_dict: None
DEBUG:test_lcm_helm_conn:Executed config primitive ee_id_ osm.helm_sample_charm_0001, status: OK, message: CONFIG OK
.DEBUG:test_lcm_helm_conn:Initialize helm N2VC connector
DEBUG:test_lcm_helm_conn:initial vca_config: {'host': None, 'port': None, 'user': None, 'secret': None, 'cloud': None, 'k8s_cloud': None, 'helmpath': '/usr/local/bin/helm', 'helm3path': '/usr/local/bin/helm3', 'kubectlpath': '/usr/bin/kubectl', 'jujupath': None, 'public_key': None, 'ca_cert': None, 'api_proxy': None, 'apt_mirror': None, 'eegrpcinittimeout': None, 'eegrpctimeout': None, 'eegrpc_tls_enforce': False, 'eegrpc_pod_admission_policy': 'baseline', 'loglevel': 'DEBUG', 'logfile': None, 'ca_store': '/etc/ssl/certs/osm-ca.crt', 'client_cert_path': '/etc/ssl/lcm-client/tls.crt', 'client_key_path': '/etc/ssl/lcm-client/tls.key', 'kubectl_osm_namespace': 'osm', 'kubectl_osm_cluster_name': '_system-osm-k8s', 'helm_ee_service_port': 50050, 'helm_max_initial_retry_time': 600, 'helm_max_retry_time': 30, 'helm_ee_retry_delay': 10}
DEBUG:test_lcm_helm_conn:Initial retry time: 600
DEBUG:test_lcm_helm_conn:Retry time: 30
INFO:test_lcm_helm_conn:Helm N2VC connector initialized
INFO:test_lcm_helm_conn:exec primitive for ee_id : osm.helm_sample_charm_0001, primitive_name: sleep, params_dict: {}, db_dict: None
DEBUG:test_lcm_helm_conn:Executed primitive sleep ee_id_ osm.helm_sample_charm_0001, status: OK, message: test-ok
.DEBUG:test_lcm_helm_conn:Initialize helm N2VC connector
DEBUG:test_lcm_helm_conn:initial vca_config: {'host': None, 'port': None, 'user': None, 'secret': None, 'cloud': None, 'k8s_cloud': None, 'helmpath': '/usr/local/bin/helm', 'helm3path': '/usr/local/bin/helm3', 'kubectlpath': '/usr/bin/kubectl', 'jujupath': None, 'public_key': None, 'ca_cert': None, 'api_proxy': None, 'apt_mirror': None, 'eegrpcinittimeout': None, 'eegrpctimeout': None, 'eegrpc_tls_enforce': False, 'eegrpc_pod_admission_policy': 'baseline', 'loglevel': 'DEBUG', 'logfile': None, 'ca_store': '/etc/ssl/certs/osm-ca.crt', 'client_cert_path': '/etc/ssl/lcm-client/tls.crt', 'client_key_path': '/etc/ssl/lcm-client/tls.key', 'kubectl_osm_namespace': 'osm', 'kubectl_osm_cluster_name': '_system-osm-k8s', 'helm_ee_service_port': 50050, 'helm_max_initial_retry_time': 600, 'helm_max_retry_time': 30, 'helm_ee_retry_delay': 10}
DEBUG:test_lcm_helm_conn:Initial retry time: 600
DEBUG:test_lcm_helm_conn:Retry time: 30
INFO:test_lcm_helm_conn:Helm N2VC connector initialized
INFO:test_lcm_helm_conn:get_ee_ssh_public_key: ee_id: osm.helm_sample_charm_0001, db_dict: {}
...........................................CRITICAL:lcm:Loaded configuration:{'globalConfig': {'loglevel': 'DEBUG', 'logfile': None, 'nologging': False}, 'timeout': {'nsi_deploy': 7200, 'vca_on_error': 300, 'ns_deploy': 7200, 'ns_terminate': 1800, 'ns_heal': 1800, 'charm_delete': 600, 'primitive': 1800, 'ns_update': 1800, 'progress_primitive': 600, 'migrate': 1800, 'operate': 1800, 'verticalscale': 1800}, 'RO': {'host': 'ro', 'ng': True, 'port': 9090, 'uri': 'h', 'tenant': 'osm', 'loglevel': 'DEBUG', 'logfile': None, 'logger_name': 'lcm.roclient'}, 'VCA': {'host': 'vca', 'port': 17070, 'user': 'admin', 'secret': 'secret', 'cloud': 'localhost', 'k8s_cloud': 'k8scloud', 'helmpath': '/usr/local/bin/helm', 'helm3path': '/usr/local/bin/helm3', 'kubectlpath': '/usr/bin/kubectl', 'jujupath': '/usr/local/bin/juju', 'public_key': None, 'ca_cert': None, 'api_proxy': None, 'apt_mirror': None, 'eegrpcinittimeout': None, 'eegrpctimeout': None, 'eegrpc_tls_enforce': False, 'eegrpc_pod_admission_policy': 'baseline', 'loglevel': 'DEBUG', 'logfile': None, 'ca_store': '/etc/ssl/certs/osm-ca.crt', 'client_cert_path': '/etc/ssl/lcm-client/tls.crt', 'client_key_path': '/etc/ssl/lcm-client/tls.key', 'kubectl_osm_namespace': 'osm', 'kubectl_osm_cluster_name': '_system-osm-k8s', 'helm_ee_service_port': 50050, 'helm_max_initial_retry_time': 600, 'helm_max_retry_time': 30, 'helm_ee_retry_delay': 10}, 'database': {'driver': 'memory', 'host': None, 'port': 27017, 'uri': None, 'name': 'osm', 'replicaset': None, 'user': None, 'password': None, 'commonkey': None, 'loglevel': 'DEBUG', 'logfile': None, 'logger_name': 'lcm.db'}, 'storage': {'driver': 'local', 'path': '/tmp/storage', 'loglevel': 'DEBUG', 'logfile': None, 'logger_name': 'lcm.fs', 'collection': None, 'uri': None}, 'message': {'driver': 'local', 'path': '/tmp/kafka', 'host': 'kafka', 'port': 9092, 'loglevel': 'DEBUG', 'logfile': None, 'group_id': 'lcm-server', 'logger_name': 'lcm.msg'}, 'tsdb': {'driver': 'prometheus', 'path': '/tmp/prometheus', 'uri': 'http://prometheus:9090/', 'loglevel': 'DEBUG', 'logfile': None, 'logger_name': 'lcm.prometheus'}}
2024-03-26T10:52:06 CRITICAL lcm lcm.py:141 starting osm/lcm version 14.0.2+ga24c5ec 2020-04-08
CRITICAL:lcm:starting osm/lcm version 14.0.2+ga24c5ec 2020-04-08
.2024-03-26T10:52:06 CRITICAL lcm lcm.py:96 Loaded configuration:{'globalConfig': {'loglevel': 'DEBUG', 'logfile': None, 'nologging': False}, 'timeout': {'nsi_deploy': 7200, 'vca_on_error': 300, 'ns_deploy': 7200, 'ns_terminate': 1800, 'ns_heal': 1800, 'charm_delete': 600, 'primitive': 1800, 'ns_update': 1800, 'progress_primitive': 600, 'migrate': 1800, 'operate': 1800, 'verticalscale': 1800}, 'RO': {'host': 'ro', 'ng': True, 'port': 9090, 'uri': 'h', 'tenant': 'osm', 'loglevel': 'DEBUG', 'logfile': None, 'logger_name': 'lcm.roclient'}, 'VCA': {'host': 'vca', 'port': 17070, 'user': 'admin', 'secret': 'secret', 'cloud': 'localhost', 'k8s_cloud': 'k8scloud', 'helmpath': '/usr/local/bin/helm', 'helm3path': '/usr/local/bin/helm3', 'kubectlpath': '/usr/bin/kubectl', 'jujupath': '/usr/local/bin/juju', 'public_key': None, 'ca_cert': None, 'api_proxy': None, 'apt_mirror': None, 'eegrpcinittimeout': None, 'eegrpctimeout': None, 'eegrpc_tls_enforce': False, 'eegrpc_pod_admission_policy': 'baseline', 'loglevel': 'DEBUG', 'logfile': None, 'ca_store': '/etc/ssl/certs/osm-ca.crt', 'client_cert_path': '/etc/ssl/lcm-client/tls.crt', 'client_key_path': '/etc/ssl/lcm-client/tls.key', 'kubectl_osm_namespace': 'osm', 'kubectl_osm_cluster_name': '_system-osm-k8s', 'helm_ee_service_port': 50050, 'helm_max_initial_retry_time': 600, 'helm_max_retry_time': 30, 'helm_ee_retry_delay': 10}, 'database': {'driver': 'memory', 'host': None, 'port': 27017, 'uri': None, 'name': 'osm', 'replicaset': None, 'user': None, 'password': None, 'commonkey': None, 'loglevel': 'DEBUG', 'logfile': None, 'logger_name': 'lcm.db'}, 'storage': {'driver': 'local', 'path': '/tmp/storage', 'loglevel': 'DEBUG', 'logfile': None, 'logger_name': 'lcm.fs', 'collection': None, 'uri': None}, 'message': {'driver': 'local', 'path': '/tmp/kafka', 'host': 'kafka', 'port': 9092, 'loglevel': 'DEBUG', 'logfile': None, 'group_id': 'lcm-server', 'logger_name': 'lcm.msg'}, 'tsdb': {'driver': 'prometheus', 'path': '/tmp/prometheus', 'uri': 'http://prometheus:9090/', 'loglevel': 'DEBUG', 'logfile': None, 'logger_name': 'lcm.prometheus'}}
CRITICAL:lcm:Loaded configuration:{'globalConfig': {'loglevel': 'DEBUG', 'logfile': None, 'nologging': False}, 'timeout': {'nsi_deploy': 7200, 'vca_on_error': 300, 'ns_deploy': 7200, 'ns_terminate': 1800, 'ns_heal': 1800, 'charm_delete': 600, 'primitive': 1800, 'ns_update': 1800, 'progress_primitive': 600, 'migrate': 1800, 'operate': 1800, 'verticalscale': 1800}, 'RO': {'host': 'ro', 'ng': True, 'port': 9090, 'uri': 'h', 'tenant': 'osm', 'loglevel': 'DEBUG', 'logfile': None, 'logger_name': 'lcm.roclient'}, 'VCA': {'host': 'vca', 'port': 17070, 'user': 'admin', 'secret': 'secret', 'cloud': 'localhost', 'k8s_cloud': 'k8scloud', 'helmpath': '/usr/local/bin/helm', 'helm3path': '/usr/local/bin/helm3', 'kubectlpath': '/usr/bin/kubectl', 'jujupath': '/usr/local/bin/juju', 'public_key': None, 'ca_cert': None, 'api_proxy': None, 'apt_mirror': None, 'eegrpcinittimeout': None, 'eegrpctimeout': None, 'eegrpc_tls_enforce': False, 'eegrpc_pod_admission_policy': 'baseline', 'loglevel': 'DEBUG', 'logfile': None, 'ca_store': '/etc/ssl/certs/osm-ca.crt', 'client_cert_path': '/etc/ssl/lcm-client/tls.crt', 'client_key_path': '/etc/ssl/lcm-client/tls.key', 'kubectl_osm_namespace': 'osm', 'kubectl_osm_cluster_name': '_system-osm-k8s', 'helm_ee_service_port': 50050, 'helm_max_initial_retry_time': 600, 'helm_max_retry_time': 30, 'helm_ee_retry_delay': 10}, 'database': {'driver': 'memory', 'host': None, 'port': 27017, 'uri': None, 'name': 'osm', 'replicaset': None, 'user': None, 'password': None, 'commonkey': None, 'loglevel': 'DEBUG', 'logfile': None, 'logger_name': 'lcm.db'}, 'storage': {'driver': 'local', 'path': '/tmp/storage', 'loglevel': 'DEBUG', 'logfile': None, 'logger_name': 'lcm.fs', 'collection': None, 'uri': None}, 'message': {'driver': 'local', 'path': '/tmp/kafka', 'host': 'kafka', 'port': 9092, 'loglevel': 'DEBUG', 'logfile': None, 'group_id': 'lcm-server', 'logger_name': 'lcm.msg'}, 'tsdb': {'driver': 'prometheus', 'path': '/tmp/prometheus', 'uri': 'http://prometheus:9090/', 'loglevel': 'DEBUG', 'logfile': None, 'logger_name': 'lcm.prometheus'}}
2024-03-26T10:52:06 CRITICAL lcm lcm.py:141 starting osm/lcm version 14.0.2+ga24c5ec 2020-04-08
2024-03-26T10:52:06 CRITICAL lcm lcm.py:141 starting osm/lcm version 14.0.2+ga24c5ec 2020-04-08
CRITICAL:lcm:starting osm/lcm version 14.0.2+ga24c5ec 2020-04-08
.2024-03-26T10:52:06 CRITICAL lcm lcm.py:96 Loaded configuration:{'globalConfig': {'loglevel': 'DEBUG', 'logfile': None, 'nologging': False}, 'timeout': {'nsi_deploy': 7200, 'vca_on_error': 300, 'ns_deploy': 7200, 'ns_terminate': 1800, 'ns_heal': 1800, 'charm_delete': 600, 'primitive': 1800, 'ns_update': 1800, 'progress_primitive': 600, 'migrate': 1800, 'operate': 1800, 'verticalscale': 1800}, 'RO': {'host': 'ro', 'ng': True, 'port': 9090, 'uri': 'h', 'tenant': 'osm', 'loglevel': 'DEBUG', 'logfile': None, 'logger_name': 'lcm.roclient'}, 'VCA': {'host': 'vca', 'port': 17070, 'user': 'admin', 'secret': 'secret', 'cloud': 'localhost', 'k8s_cloud': 'k8scloud', 'helmpath': '/usr/local/bin/helm', 'helm3path': '/usr/local/bin/helm3', 'kubectlpath': '/usr/bin/kubectl', 'jujupath': '/usr/local/bin/juju', 'public_key': None, 'ca_cert': None, 'api_proxy': None, 'apt_mirror': None, 'eegrpcinittimeout': None, 'eegrpctimeout': None, 'eegrpc_tls_enforce': False, 'eegrpc_pod_admission_policy': 'baseline', 'loglevel': 'DEBUG', 'logfile': None, 'ca_store': '/etc/ssl/certs/osm-ca.crt', 'client_cert_path': '/etc/ssl/lcm-client/tls.crt', 'client_key_path': '/etc/ssl/lcm-client/tls.key', 'kubectl_osm_namespace': 'osm', 'kubectl_osm_cluster_name': '_system-osm-k8s', 'helm_ee_service_port': 50050, 'helm_max_initial_retry_time': 600, 'helm_max_retry_time': 30, 'helm_ee_retry_delay': 10}, 'database': {'driver': 'memory', 'host': None, 'port': 27017, 'uri': None, 'name': 'osm', 'replicaset': None, 'user': None, 'password': None, 'commonkey': None, 'loglevel': 'DEBUG', 'logfile': None, 'logger_name': 'lcm.db'}, 'storage': {'driver': 'local', 'path': '/tmp/storage', 'loglevel': 'DEBUG', 'logfile': None, 'logger_name': 'lcm.fs', 'collection': None, 'uri': None}, 'message': {'driver': 'local', 'path': '/tmp/kafka', 'host': 'kafka', 'port': 9092, 'loglevel': 'DEBUG', 'logfile': None, 'group_id': 'lcm-server', 'logger_name': 'lcm.msg'}, 'tsdb': {'driver': 'prometheus', 'path': '/tmp/prometheus', 'uri': 'http://prometheus:9090/', 'loglevel': 'DEBUG', 'logfile': None, 'logger_name': 'lcm.prometheus'}}
2024-03-26T10:52:06 CRITICAL lcm lcm.py:96 Loaded configuration:{'globalConfig': {'loglevel': 'DEBUG', 'logfile': None, 'nologging': False}, 'timeout': {'nsi_deploy': 7200, 'vca_on_error': 300, 'ns_deploy': 7200, 'ns_terminate': 1800, 'ns_heal': 1800, 'charm_delete': 600, 'primitive': 1800, 'ns_update': 1800, 'progress_primitive': 600, 'migrate': 1800, 'operate': 1800, 'verticalscale': 1800}, 'RO': {'host': 'ro', 'ng': True, 'port': 9090, 'uri': 'h', 'tenant': 'osm', 'loglevel': 'DEBUG', 'logfile': None, 'logger_name': 'lcm.roclient'}, 'VCA': {'host': 'vca', 'port': 17070, 'user': 'admin', 'secret': 'secret', 'cloud': 'localhost', 'k8s_cloud': 'k8scloud', 'helmpath': '/usr/local/bin/helm', 'helm3path': '/usr/local/bin/helm3', 'kubectlpath': '/usr/bin/kubectl', 'jujupath': '/usr/local/bin/juju', 'public_key': None, 'ca_cert': None, 'api_proxy': None, 'apt_mirror': None, 'eegrpcinittimeout': None, 'eegrpctimeout': None, 'eegrpc_tls_enforce': False, 'eegrpc_pod_admission_policy': 'baseline', 'loglevel': 'DEBUG', 'logfile': None, 'ca_store': '/etc/ssl/certs/osm-ca.crt', 'client_cert_path': '/etc/ssl/lcm-client/tls.crt', 'client_key_path': '/etc/ssl/lcm-client/tls.key', 'kubectl_osm_namespace': 'osm', 'kubectl_osm_cluster_name': '_system-osm-k8s', 'helm_ee_service_port': 50050, 'helm_max_initial_retry_time': 600, 'helm_max_retry_time': 30, 'helm_ee_retry_delay': 10}, 'database': {'driver': 'memory', 'host': None, 'port': 27017, 'uri': None, 'name': 'osm', 'replicaset': None, 'user': None, 'password': None, 'commonkey': None, 'loglevel': 'DEBUG', 'logfile': None, 'logger_name': 'lcm.db'}, 'storage': {'driver': 'local', 'path': '/tmp/storage', 'loglevel': 'DEBUG', 'logfile': None, 'logger_name': 'lcm.fs', 'collection': None, 'uri': None}, 'message': {'driver': 'local', 'path': '/tmp/kafka', 'host': 'kafka', 'port': 9092, 'loglevel': 'DEBUG', 'logfile': None, 'group_id': 'lcm-server', 'logger_name': 'lcm.msg'}, 'tsdb': {'driver': 'prometheus', 'path': '/tmp/prometheus', 'uri': 'http://prometheus:9090/', 'loglevel': 'DEBUG', 'logfile': None, 'logger_name': 'lcm.prometheus'}}
CRITICAL:lcm:Loaded configuration:{'globalConfig': {'loglevel': 'DEBUG', 'logfile': None, 'nologging': False}, 'timeout': {'nsi_deploy': 7200, 'vca_on_error': 300, 'ns_deploy': 7200, 'ns_terminate': 1800, 'ns_heal': 1800, 'charm_delete': 600, 'primitive': 1800, 'ns_update': 1800, 'progress_primitive': 600, 'migrate': 1800, 'operate': 1800, 'verticalscale': 1800}, 'RO': {'host': 'ro', 'ng': True, 'port': 9090, 'uri': 'h', 'tenant': 'osm', 'loglevel': 'DEBUG', 'logfile': None, 'logger_name': 'lcm.roclient'}, 'VCA': {'host': 'vca', 'port': 17070, 'user': 'admin', 'secret': 'secret', 'cloud': 'localhost', 'k8s_cloud': 'k8scloud', 'helmpath': '/usr/local/bin/helm', 'helm3path': '/usr/local/bin/helm3', 'kubectlpath': '/usr/bin/kubectl', 'jujupath': '/usr/local/bin/juju', 'public_key': None, 'ca_cert': None, 'api_proxy': None, 'apt_mirror': None, 'eegrpcinittimeout': None, 'eegrpctimeout': None, 'eegrpc_tls_enforce': False, 'eegrpc_pod_admission_policy': 'baseline', 'loglevel': 'DEBUG', 'logfile': None, 'ca_store': '/etc/ssl/certs/osm-ca.crt', 'client_cert_path': '/etc/ssl/lcm-client/tls.crt', 'client_key_path': '/etc/ssl/lcm-client/tls.key', 'kubectl_osm_namespace': 'osm', 'kubectl_osm_cluster_name': '_system-osm-k8s', 'helm_ee_service_port': 50050, 'helm_max_initial_retry_time': 600, 'helm_max_retry_time': 30, 'helm_ee_retry_delay': 10}, 'database': {'driver': 'memory', 'host': None, 'port': 27017, 'uri': None, 'name': 'osm', 'replicaset': None, 'user': None, 'password': None, 'commonkey': None, 'loglevel': 'DEBUG', 'logfile': None, 'logger_name': 'lcm.db'}, 'storage': {'driver': 'local', 'path': '/tmp/storage', 'loglevel': 'DEBUG', 'logfile': None, 'logger_name': 'lcm.fs', 'collection': None, 'uri': None}, 'message': {'driver': 'local', 'path': '/tmp/kafka', 'host': 'kafka', 'port': 9092, 'loglevel': 'DEBUG', 'logfile': None, 'group_id': 'lcm-server', 'logger_name': 'lcm.msg'}, 'tsdb': {'driver': 'prometheus', 'path': '/tmp/prometheus', 'uri': 'http://prometheus:9090/', 'loglevel': 'DEBUG', 'logfile': None, 'logger_name': 'lcm.prometheus'}}
2024-03-26T10:52:06 CRITICAL lcm lcm.py:141 starting osm/lcm version 14.0.2+ga24c5ec 2020-04-08
2024-03-26T10:52:06 CRITICAL lcm lcm.py:141 starting osm/lcm version 14.0.2+ga24c5ec 2020-04-08
2024-03-26T10:52:06 CRITICAL lcm lcm.py:141 starting osm/lcm version 14.0.2+ga24c5ec 2020-04-08
CRITICAL:lcm:starting osm/lcm version 14.0.2+ga24c5ec 2020-04-08
.2024-03-26T10:52:06 CRITICAL lcm lcm.py:96 Loaded configuration:{'globalConfig': {'loglevel': 'DEBUG', 'logfile': None, 'nologging': False}, 'timeout': {'nsi_deploy': 7200, 'vca_on_error': 300, 'ns_deploy': 7200, 'ns_terminate': 1800, 'ns_heal': 1800, 'charm_delete': 600, 'primitive': 1800, 'ns_update': 1800, 'progress_primitive': 600, 'migrate': 1800, 'operate': 1800, 'verticalscale': 1800}, 'RO': {'host': 'ro', 'ng': True, 'port': 9090, 'uri': 'h', 'tenant': 'osm', 'loglevel': 'DEBUG', 'logfile': None, 'logger_name': 'lcm.roclient'}, 'VCA': {'host': 'vca', 'port': 17070, 'user': 'admin', 'secret': 'secret', 'cloud': 'localhost', 'k8s_cloud': 'k8scloud', 'helmpath': '/usr/local/bin/helm', 'helm3path': '/usr/local/bin/helm3', 'kubectlpath': '/usr/bin/kubectl', 'jujupath': '/usr/local/bin/juju', 'public_key': None, 'ca_cert': None, 'api_proxy': None, 'apt_mirror': None, 'eegrpcinittimeout': None, 'eegrpctimeout': None, 'eegrpc_tls_enforce': False, 'eegrpc_pod_admission_policy': 'baseline', 'loglevel': 'DEBUG', 'logfile': None, 'ca_store': '/etc/ssl/certs/osm-ca.crt', 'client_cert_path': '/etc/ssl/lcm-client/tls.crt', 'client_key_path': '/etc/ssl/lcm-client/tls.key', 'kubectl_osm_namespace': 'osm', 'kubectl_osm_cluster_name': '_system-osm-k8s', 'helm_ee_service_port': 50050, 'helm_max_initial_retry_time': 600, 'helm_max_retry_time': 30, 'helm_ee_retry_delay': 10}, 'database': {'driver': 'memory', 'host': None, 'port': 27017, 'uri': None, 'name': 'osm', 'replicaset': None, 'user': None, 'password': None, 'commonkey': None, 'loglevel': 'DEBUG', 'logfile': None, 'logger_name': 'lcm.db'}, 'storage': {'driver': 'local', 'path': '/tmp/storage', 'loglevel': 'DEBUG', 'logfile': None, 'logger_name': 'lcm.fs', 'collection': None, 'uri': None}, 'message': {'driver': 'local', 'path': '/tmp/kafka', 'host': 'kafka', 'port': 9092, 'loglevel': 'DEBUG', 'logfile': None, 'group_id': 'lcm-server', 'logger_name': 'lcm.msg'}, 'tsdb': {'driver': 'prometheus', 'path': '/tmp/prometheus', 'uri': 'http://prometheus:9090/', 'loglevel': 'DEBUG', 'logfile': None, 'logger_name': 'lcm.prometheus'}}
2024-03-26T10:52:06 CRITICAL lcm lcm.py:96 Loaded configuration:{'globalConfig': {'loglevel': 'DEBUG', 'logfile': None, 'nologging': False}, 'timeout': {'nsi_deploy': 7200, 'vca_on_error': 300, 'ns_deploy': 7200, 'ns_terminate': 1800, 'ns_heal': 1800, 'charm_delete': 600, 'primitive': 1800, 'ns_update': 1800, 'progress_primitive': 600, 'migrate': 1800, 'operate': 1800, 'verticalscale': 1800}, 'RO': {'host': 'ro', 'ng': True, 'port': 9090, 'uri': 'h', 'tenant': 'osm', 'loglevel': 'DEBUG', 'logfile': None, 'logger_name': 'lcm.roclient'}, 'VCA': {'host': 'vca', 'port': 17070, 'user': 'admin', 'secret': 'secret', 'cloud': 'localhost', 'k8s_cloud': 'k8scloud', 'helmpath': '/usr/local/bin/helm', 'helm3path': '/usr/local/bin/helm3', 'kubectlpath': '/usr/bin/kubectl', 'jujupath': '/usr/local/bin/juju', 'public_key': None, 'ca_cert': None, 'api_proxy': None, 'apt_mirror': None, 'eegrpcinittimeout': None, 'eegrpctimeout': None, 'eegrpc_tls_enforce': False, 'eegrpc_pod_admission_policy': 'baseline', 'loglevel': 'DEBUG', 'logfile': None, 'ca_store': '/etc/ssl/certs/osm-ca.crt', 'client_cert_path': '/etc/ssl/lcm-client/tls.crt', 'client_key_path': '/etc/ssl/lcm-client/tls.key', 'kubectl_osm_namespace': 'osm', 'kubectl_osm_cluster_name': '_system-osm-k8s', 'helm_ee_service_port': 50050, 'helm_max_initial_retry_time': 600, 'helm_max_retry_time': 30, 'helm_ee_retry_delay': 10}, 'database': {'driver': 'memory', 'host': None, 'port': 27017, 'uri': None, 'name': 'osm', 'replicaset': None, 'user': None, 'password': None, 'commonkey': None, 'loglevel': 'DEBUG', 'logfile': None, 'logger_name': 'lcm.db'}, 'storage': {'driver': 'local', 'path': '/tmp/storage', 'loglevel': 'DEBUG', 'logfile': None, 'logger_name': 'lcm.fs', 'collection': None, 'uri': None}, 'message': {'driver': 'local', 'path': '/tmp/kafka', 'host': 'kafka', 'port': 9092, 'loglevel': 'DEBUG', 'logfile': None, 'group_id': 'lcm-server', 'logger_name': 'lcm.msg'}, 'tsdb': {'driver': 'prometheus', 'path': '/tmp/prometheus', 'uri': 'http://prometheus:9090/', 'loglevel': 'DEBUG', 'logfile': None, 'logger_name': 'lcm.prometheus'}}
2024-03-26T10:52:06 CRITICAL lcm lcm.py:96 Loaded configuration:{'globalConfig': {'loglevel': 'DEBUG', 'logfile': None, 'nologging': False}, 'timeout': {'nsi_deploy': 7200, 'vca_on_error': 300, 'ns_deploy': 7200, 'ns_terminate': 1800, 'ns_heal': 1800, 'charm_delete': 600, 'primitive': 1800, 'ns_update': 1800, 'progress_primitive': 600, 'migrate': 1800, 'operate': 1800, 'verticalscale': 1800}, 'RO': {'host': 'ro', 'ng': True, 'port': 9090, 'uri': 'h', 'tenant': 'osm', 'loglevel': 'DEBUG', 'logfile': None, 'logger_name': 'lcm.roclient'}, 'VCA': {'host': 'vca', 'port': 17070, 'user': 'admin', 'secret': 'secret', 'cloud': 'localhost', 'k8s_cloud': 'k8scloud', 'helmpath': '/usr/local/bin/helm', 'helm3path': '/usr/local/bin/helm3', 'kubectlpath': '/usr/bin/kubectl', 'jujupath': '/usr/local/bin/juju', 'public_key': None, 'ca_cert': None, 'api_proxy': None, 'apt_mirror': None, 'eegrpcinittimeout': None, 'eegrpctimeout': None, 'eegrpc_tls_enforce': False, 'eegrpc_pod_admission_policy': 'baseline', 'loglevel': 'DEBUG', 'logfile': None, 'ca_store': '/etc/ssl/certs/osm-ca.crt', 'client_cert_path': '/etc/ssl/lcm-client/tls.crt', 'client_key_path': '/etc/ssl/lcm-client/tls.key', 'kubectl_osm_namespace': 'osm', 'kubectl_osm_cluster_name': '_system-osm-k8s', 'helm_ee_service_port': 50050, 'helm_max_initial_retry_time': 600, 'helm_max_retry_time': 30, 'helm_ee_retry_delay': 10}, 'database': {'driver': 'memory', 'host': None, 'port': 27017, 'uri': None, 'name': 'osm', 'replicaset': None, 'user': None, 'password': None, 'commonkey': None, 'loglevel': 'DEBUG', 'logfile': None, 'logger_name': 'lcm.db'}, 'storage': {'driver': 'local', 'path': '/tmp/storage', 'loglevel': 'DEBUG', 'logfile': None, 'logger_name': 'lcm.fs', 'collection': None, 'uri': None}, 'message': {'driver': 'local', 'path': '/tmp/kafka', 'host': 'kafka', 'port': 9092, 'loglevel': 'DEBUG', 'logfile': None, 'group_id': 'lcm-server', 'logger_name': 'lcm.msg'}, 'tsdb': {'driver': 'prometheus', 'path': '/tmp/prometheus', 'uri': 'http://prometheus:9090/', 'loglevel': 'DEBUG', 'logfile': None, 'logger_name': 'lcm.prometheus'}}
CRITICAL:lcm:Loaded configuration:{'globalConfig': {'loglevel': 'DEBUG', 'logfile': None, 'nologging': False}, 'timeout': {'nsi_deploy': 7200, 'vca_on_error': 300, 'ns_deploy': 7200, 'ns_terminate': 1800, 'ns_heal': 1800, 'charm_delete': 600, 'primitive': 1800, 'ns_update': 1800, 'progress_primitive': 600, 'migrate': 1800, 'operate': 1800, 'verticalscale': 1800}, 'RO': {'host': 'ro', 'ng': True, 'port': 9090, 'uri': 'h', 'tenant': 'osm', 'loglevel': 'DEBUG', 'logfile': None, 'logger_name': 'lcm.roclient'}, 'VCA': {'host': 'vca', 'port': 17070, 'user': 'admin', 'secret': 'secret', 'cloud': 'localhost', 'k8s_cloud': 'k8scloud', 'helmpath': '/usr/local/bin/helm', 'helm3path': '/usr/local/bin/helm3', 'kubectlpath': '/usr/bin/kubectl', 'jujupath': '/usr/local/bin/juju', 'public_key': None, 'ca_cert': None, 'api_proxy': None, 'apt_mirror': None, 'eegrpcinittimeout': None, 'eegrpctimeout': None, 'eegrpc_tls_enforce': False, 'eegrpc_pod_admission_policy': 'baseline', 'loglevel': 'DEBUG', 'logfile': None, 'ca_store': '/etc/ssl/certs/osm-ca.crt', 'client_cert_path': '/etc/ssl/lcm-client/tls.crt', 'client_key_path': '/etc/ssl/lcm-client/tls.key', 'kubectl_osm_namespace': 'osm', 'kubectl_osm_cluster_name': '_system-osm-k8s', 'helm_ee_service_port': 50050, 'helm_max_initial_retry_time': 600, 'helm_max_retry_time': 30, 'helm_ee_retry_delay': 10}, 'database': {'driver': 'memory', 'host': None, 'port': 27017, 'uri': None, 'name': 'osm', 'replicaset': None, 'user': None, 'password': None, 'commonkey': None, 'loglevel': 'DEBUG', 'logfile': None, 'logger_name': 'lcm.db'}, 'storage': {'driver': 'local', 'path': '/tmp/storage', 'loglevel': 'DEBUG', 'logfile': None, 'logger_name': 'lcm.fs', 'collection': None, 'uri': None}, 'message': {'driver': 'local', 'path': '/tmp/kafka', 'host': 'kafka', 'port': 9092, 'loglevel': 'DEBUG', 'logfile': None, 'group_id': 'lcm-server', 'logger_name': 'lcm.msg'}, 'tsdb': {'driver': 'prometheus', 'path': '/tmp/prometheus', 'uri': 'http://prometheus:9090/', 'loglevel': 'DEBUG', 'logfile': None, 'logger_name': 'lcm.prometheus'}}
2024-03-26T10:52:06 CRITICAL lcm lcm.py:141 starting osm/lcm version 14.0.2+ga24c5ec 2020-04-08
2024-03-26T10:52:06 CRITICAL lcm lcm.py:141 starting osm/lcm version 14.0.2+ga24c5ec 2020-04-08
2024-03-26T10:52:06 CRITICAL lcm lcm.py:141 starting osm/lcm version 14.0.2+ga24c5ec 2020-04-08
2024-03-26T10:52:06 CRITICAL lcm lcm.py:141 starting osm/lcm version 14.0.2+ga24c5ec 2020-04-08
CRITICAL:lcm:starting osm/lcm version 14.0.2+ga24c5ec 2020-04-08
2024-03-26T10:52:06 CRITICAL lcm lcm.py:648 unknown topic kafka and command 'ping'
2024-03-26T10:52:06 CRITICAL lcm lcm.py:648 unknown topic kafka and command 'ping'
2024-03-26T10:52:06 CRITICAL lcm lcm.py:648 unknown topic kafka and command 'ping'
2024-03-26T10:52:06 CRITICAL lcm lcm.py:648 unknown topic kafka and command 'ping'
CRITICAL:lcm:unknown topic kafka and command 'ping'
...............................
----------------------------------------------------------------------
Ran 95 tests in 74.518s

OK
Name                                          Stmts   Miss  Cover
-----------------------------------------------------------------
osm_lcm/ROclient.py                             764    700     8%
osm_lcm/__init__.py                               7      2    71%
osm_lcm/data_utils/__init__.py                    0      0   100%
osm_lcm/data_utils/database/__init__.py           0      0   100%
osm_lcm/data_utils/database/database.py          26      8    69%
osm_lcm/data_utils/database/vim_account.py       11      0   100%
osm_lcm/data_utils/database/wim_account.py       24     13    46%
osm_lcm/data_utils/dict_utils.py                  7      2    71%
osm_lcm/data_utils/filesystem/__init__.py         0      0   100%
osm_lcm/data_utils/filesystem/filesystem.py      26      9    65%
osm_lcm/data_utils/lcm_config.py                159      4    97%
osm_lcm/data_utils/list_utils.py                  5      0   100%
osm_lcm/data_utils/nsd.py                        16      4    75%
osm_lcm/data_utils/nsr.py                        17      1    94%
osm_lcm/data_utils/vca.py                       100     13    87%
osm_lcm/data_utils/vim.py                        28     13    54%
osm_lcm/data_utils/vnfd.py                       78     32    59%
osm_lcm/data_utils/vnfr.py                       41     13    68%
osm_lcm/data_utils/wim.py                        75     58    23%
osm_lcm/frontend_grpc.py                         20      6    70%
osm_lcm/frontend_pb2.py                          27      0   100%
osm_lcm/lcm.py                                  508    374    26%
osm_lcm/lcm_hc.py                                37     15    59%
osm_lcm/lcm_helm_conn.py                        305    160    48%
osm_lcm/lcm_utils.py                            306    157    49%
osm_lcm/netslice.py                             439    424     3%
osm_lcm/ng_ro.py                                204    160    22%
osm_lcm/ns.py                                  3807   2651    30%
osm_lcm/osm_config.py                            22      0   100%
osm_lcm/prometheus.py                            11      2    82%
osm_lcm/tests/test_db_descriptors.py             13      0   100%
osm_lcm/tests/test_lcm.py                        58      1    98%
osm_lcm/tests/test_lcm_hc.py                     43      0   100%
osm_lcm/tests/test_lcm_helm_conn.py              79      1    99%
osm_lcm/tests/test_lcm_utils.py                 319     13    96%
osm_lcm/tests/test_ns.py                        757     54    93%
osm_lcm/tests/test_osm_config.py                  7      0   100%
osm_lcm/tests/test_prometheus.py                 12      1    92%
osm_lcm/tests/test_vim_sdn.py                   185      0   100%
osm_lcm/vim_sdn.py                              978    811    17%
-----------------------------------------------------------------
TOTAL                                          9521   5702    40%

cover run-test: commands[3] | coverage report '--omit=*tests*'
Name                                          Stmts   Miss  Cover
-----------------------------------------------------------------
osm_lcm/ROclient.py                             764    700     8%
osm_lcm/__init__.py                               7      2    71%
osm_lcm/data_utils/__init__.py                    0      0   100%
osm_lcm/data_utils/database/__init__.py           0      0   100%
osm_lcm/data_utils/database/database.py          26      8    69%
osm_lcm/data_utils/database/vim_account.py       11      0   100%
osm_lcm/data_utils/database/wim_account.py       24     13    46%
osm_lcm/data_utils/dict_utils.py                  7      2    71%
osm_lcm/data_utils/filesystem/__init__.py         0      0   100%
osm_lcm/data_utils/filesystem/filesystem.py      26      9    65%
osm_lcm/data_utils/lcm_config.py                159      4    97%
osm_lcm/data_utils/list_utils.py                  5      0   100%
osm_lcm/data_utils/nsd.py                        16      4    75%
osm_lcm/data_utils/nsr.py                        17      1    94%
osm_lcm/data_utils/vca.py                       100     13    87%
osm_lcm/data_utils/vim.py                        28     13    54%
osm_lcm/data_utils/vnfd.py                       78     32    59%
osm_lcm/data_utils/vnfr.py                       41     13    68%
osm_lcm/data_utils/wim.py                        75     58    23%
osm_lcm/frontend_grpc.py                         20      6    70%
osm_lcm/frontend_pb2.py                          27      0   100%
osm_lcm/lcm.py                                  508    374    26%
osm_lcm/lcm_hc.py                                37     15    59%
osm_lcm/lcm_helm_conn.py                        305    160    48%
osm_lcm/lcm_utils.py                            306    157    49%
osm_lcm/netslice.py                             439    424     3%
osm_lcm/ng_ro.py                                204    160    22%
osm_lcm/ns.py                                  3807   2651    30%
osm_lcm/osm_config.py                            22      0   100%
osm_lcm/prometheus.py                            11      2    82%
osm_lcm/tests/test_db_descriptors.py             13      0   100%
osm_lcm/tests/test_lcm.py                        58      1    98%
osm_lcm/tests/test_lcm_hc.py                     43      0   100%
osm_lcm/tests/test_lcm_helm_conn.py              79      1    99%
osm_lcm/tests/test_lcm_utils.py                 319     13    96%
osm_lcm/tests/test_ns.py                        757     54    93%
osm_lcm/tests/test_osm_config.py                  7      0   100%
osm_lcm/tests/test_prometheus.py                 12      1    92%
osm_lcm/tests/test_vim_sdn.py                   185      0   100%
osm_lcm/vim_sdn.py                              978    811    17%
-----------------------------------------------------------------
TOTAL                                          9521   5702    40%
cover run-test: commands[4] | coverage html -d ./cover '--omit=*tests*'
Wrote HTML report to ./cover/index.html
cover run-test: commands[5] | 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)
[Pipeline] sh
[LCM-stage_2-merge_v14.0] Running shell script
+ runuser jenkins -c devops-stages/stage-build.sh
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Archive)
[Pipeline] sh
[LCM-stage_2-merge_v14.0] Running shell script
+ runuser jenkins -c mkdir -p changelog
[Pipeline] sh
[LCM-stage_2-merge_v14.0] Running shell script
+ runuser jenkins -c devops/tools/generatechangelog-pipeline.sh > changelog/changelog-LCM.html
[Pipeline] sh
[LCM-stage_2-merge_v14.0] Running shell script
+ runuser jenkins -c devops-stages/stage-archive.sh
[Pipeline] getArtifactoryServer
[Pipeline] newBuildInfo
[Pipeline] artifactoryUpload
[consumer_0] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-LCM/v14.0/287/pool/LCM/python3-osm-lcm_14.0.2%2Bga24c5ec-1_all.deb
[consumer_1] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-LCM/v14.0/287/changelog/changelog-LCM.html
[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/LCM-stage_2-merge%20::%20v14.0/287
[Pipeline] sh
[LCM-stage_2-merge_v14.0] Running shell script
+ env
[Pipeline] step
Archiving artifacts
Recording fingerprints
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
$ docker stop --time=1 4e91e12b2de9b1c5c2a58696d8fe936566861ca0b857a737245ec7b2eb80eacb
$ docker rm -f 4e91e12b2de9b1c5c2a58696d8fe936566861ca0b857a737245ec7b2eb80eacb
[Pipeline] // withDockerContainer
[Pipeline] stage
[Pipeline] { (Snap build)
[Pipeline] fileExists
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Charm build)
[Pipeline] sh
[LCM-stage_2-merge_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] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS