SuccessConsole Output

Started by upstream project "LCM-stage_1" build number 2691
originally caused by:
 Triggered by Gerrit: https://osm.etsi.org/gerrit/14272
 > 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 879483e1764b729ddc445668f5326346df516d98
Running in Durability level: MAX_SURVIVABILITY
[Pipeline] properties
[Pipeline] node
Running on osm-cicd-2 in /home/jenkins/workspace/LCM-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/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 879483e1764b729ddc445668f5326346df516d98 (master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 879483e1764b729ddc445668f5326346df516d98
Commit message: "Fix 2328: In NS deletion, remove EE objects according to the VCA type"
 > git rev-list --no-walk 0cd8af3ed256f15931ddc8501c061888fb809050 # timeout=10
[Pipeline] dir
Running in /home/jenkins/workspace/LCM-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 59901ee802feb4cb12afbb8d42ebdf6e94404d00 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 59901ee802feb4cb12afbb8d42ebdf6e94404d00
 > git branch -a -v --no-abbrev # timeout=10
 > git branch -D master # timeout=10
 > git checkout -b master 59901ee802feb4cb12afbb8d42ebdf6e94404d00
Commit message: "Remove SSL env variables from NBI Dockerfile"
 > git rev-list --no-walk 59901ee802feb4cb12afbb8d42ebdf6e94404d00 # 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
[LCM-stage_2_master] 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/job/master/1683/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/job/master/1683/
HUDSON_COOKIE=13eaca42-d5b3-4d18-a7ab-e6743de0eb8f
JENKINS_SERVER_COOKIE=durable-f4f6bce78afd654a440f1311af654bee
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus
GERRIT_PATCHSET_REVISION=9cd5345320bde874db53c9e5dabd9c6c871ccfdf
WORKSPACE=/home/jenkins/workspace/LCM-stage_2_master
LOGNAME=jenkins
NODE_NAME=osm-cicd-2
GERRIT_BRANCH=master
_=/usr/bin/java
RUN_ARTIFACTS_DISPLAY_URL=https://osm.etsi.org/jenkins/job/LCM-stage_2/job/master/1683/display/redirect?page=artifacts
XDG_SESSION_CLASS=user
EXECUTOR_NUMBER=3
XDG_SESSION_ID=2054
RUN_TESTS_DISPLAY_URL=https://osm.etsi.org/jenkins/job/LCM-stage_2/job/master/1683/display/redirect?page=tests
BUILD_DISPLAY_NAME=#1683
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=1683
XDG_RUNTIME_DIR=/run/user/1001
BUILD_TAG=jenkins-LCM-stage_2-master-1683
JENKINS_URL=https://osm.etsi.org/jenkins/
LANG=C.UTF-8
JOB_URL=https://osm.etsi.org/jenkins/job/LCM-stage_2/job/master/
BUILD_NUMBER=1683
SHELL=/bin/bash
RUN_DISPLAY_URL=https://osm.etsi.org/jenkins/job/LCM-stage_2/job/master/1683/display/redirect
ARTIFACTORY_SERVER=artifactory-osm
GERRIT_REFSPEC=refs/changes/72/14272/1
HUDSON_SERVER_COOKIE=6d3295a483c3e6d5
JOB_DISPLAY_URL=https://osm.etsi.org/jenkins/job/LCM-stage_2/job/master/display/redirect
JOB_NAME=LCM-stage_2/master
TEST_INSTALL=true
PWD=/home/jenkins/workspace/LCM-stage_2_master
SSH_CONNECTION=212.234.161.1 22456 172.21.249.2 22
BRANCH_NAME=master
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Checkout)
[Pipeline] sh
[LCM-stage_2_master] Running shell script
+ git fetch --tags
[Pipeline] sh
[LCM-stage_2_master] Running shell script
+ git fetch origin refs/changes/72/14272/1
From https://osm.etsi.org/gerrit/osm/LCM
 * branch            refs/changes/72/14272/1 -> FETCH_HEAD
[Pipeline] sh
[LCM-stage_2_master] Running shell script
+ git checkout -f 9cd5345320bde874db53c9e5dabd9c6c871ccfdf
Previous HEAD position was 879483e Fix 2328: In NS deletion, remove EE objects according to the VCA type
HEAD is now at 9cd5345 Fixes VCA deletion in NS termination
[Pipeline] sh
[LCM-stage_2_master] Running shell script
+ sudo git clean -dfx
Removing .cache/
Removing .coverage
Removing .eggs/
Removing .local/
Removing cover/
Removing coverage.xml
Removing nosetests.xml
Removing osm_lcm.egg-info/
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (License Scan)
[Pipeline] sh
[LCM-stage_2_master] Running shell script
+ devops/tools/license_scan.sh
osm_lcm/ns.py is text
osm_lcm/ns.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
[LCM-stage_2_master] Running shell script
+ docker build --build-arg APT_PROXY=http://172.21.1.1:3142 -t osm/lcm-master .
Sending build context to Docker daemon    158MB

Step 1/4 : FROM ubuntu:22.04
 ---> ca2b0f26964c
Step 2/4 : ARG APT_PROXY
 ---> Using cache
 ---> 763db4f2c3ca
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
 ---> d717144472d3
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
 ---> 7d13f20fc5e4
Successfully built 7d13f20fc5e4
Successfully tagged osm/lcm-master:latest
[Pipeline] }
[Pipeline] // stage
[Pipeline] sh
[LCM-stage_2_master] Running shell script
+ id -u
[Pipeline] sh
[LCM-stage_2_master] 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_master -v /home/jenkins/workspace/LCM-stage_2_master:/home/jenkins/workspace/LCM-stage_2_master:rw,z -v /home/jenkins/workspace/LCM-stage_2_master@tmp:/home/jenkins/workspace/LCM-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/lcm-master
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Test)
[Pipeline] sh
[LCM-stage_2_master] Running shell script
+ groupadd -o -g 1001 -r jenkins
[LCM-stage_2_master] Running shell script
[Pipeline] sh
+ pwd
+ useradd -o -u 1001 -d /home/jenkins/workspace/LCM-stage_2_master -r -g jenkins jenkins
[Pipeline] sh
[LCM-stage_2_master] Running shell script
+ echo #! /bin/sh
[Pipeline] sh
[LCM-stage_2_master] Running shell script
+ chmod 755 /usr/bin/mesg
[Pipeline] sh
[LCM-stage_2_master] Running shell script
+ runuser jenkins -c devops-stages/stage-test.sh
Launching tox
✔ OK black in 8.617 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='52520633'
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 12.48 seconds
flake8 create: /tmp/.tox/flake8
flake8 installdeps: flake8
flake8 develop-inst: /home/jenkins/workspace/LCM-stage_2_master
flake8 installed: flake8==7.0.0,mccabe==0.7.0,-e git+https://osm.etsi.org/gerrit/osm/LCM.git@9cd5345320bde874db53c9e5dabd9c6c871ccfdf#egg=osm_lcm,pycodestyle==2.11.1,pyflakes==3.2.0
flake8 run-test-pre: PYTHONHASHSEED='3893886173'
flake8 run-test: commands[0] | flake8 osm_lcm/ setup.py

✔ OK safety in 47.147 seconds
safety create: /tmp/.tox/safety
safety installdeps: -r/home/jenkins/workspace/LCM-stage_2_master/requirements.txt, safety
safety develop-inst: /home/jenkins/workspace/LCM-stage_2_master
safety installed: aiohttp==3.8.5,aiosignal==1.3.1,annotated-types==0.5.0,async-timeout==4.0.3,attrs==23.1.0,boltons==23.0.0,certifi==2024.2.2,charset-normalizer==3.2.0,checksumdir==1.2.0,click==8.1.7,config-man==0.0.4,dparse==0.6.3,face==20.1.1,frozenlist==1.4.0,glom==23.3.0,grpcio==1.58.0,grpcio-tools==1.48.1,grpclib==0.4.5,h2==4.1.0,hpack==4.0.0,hyperframe==6.0.1,idna==3.4,Jinja2==3.1.2,MarkupSafe==2.1.3,multidict==6.0.4,-e git+https://osm.etsi.org/gerrit/osm/LCM.git@9cd5345320bde874db53c9e5dabd9c6c871ccfdf#egg=osm_lcm,packaging==21.3,protobuf==3.20.3,pydantic==2.4.2,pydantic_core==2.10.1,pyparsing==3.1.2,PyYAML==6.0.1,requests==2.31.0,ruamel.yaml==0.18.6,ruamel.yaml.clib==0.2.8,safety==2.3.5,tomli==2.0.1,typing_extensions==4.8.0,urllib3==2.2.1,yarl==1.9.2
safety run-test-pre: PYTHONHASHSEED='3264819561'
safety run-test: commands[0] | - safety check --full-report
+==============================================================================+

                               /$$$$$$            /$$
                              /$$__  $$          | $$
           /$$$$$$$  /$$$$$$ | $$  \__//$$$$$$  /$$$$$$   /$$   /$$
          /$$_____/ |____  $$| $$$$   /$$__  $$|_  $$_/  | $$  | $$
         |  $$$$$$   /$$$$$$$| $$_/  | $$$$$$$$  | $$    | $$  | $$
          \____  $$ /$$__  $$| $$    | $$_____/  | $$ /$$| $$  | $$
          /$$$$$$$/|  $$$$$$$| $$    |  $$$$$$$  |  $$$$/|  $$$$$$$
         |_______/  \_______/|__/     \_______/   \___/   \____  $$
                                                          /$$  | $$
                                                         |  $$$$$$/
  by pyup.io                                              \______/

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

 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 v2.3.5 is scanning for Vulnerabilities...
  Scanning dependencies in your environment:

  -> /home/jenkins/workspace/LCM-stage_2_master
  -> /tmp/.tox/safety/lib/python3.10/site-packages

  Using non-commercial database
  Found and scanned 43 packages
  Timestamp 2024-03-21 22:15:35
  9 vulnerabilities found
  0 vulnerabilities ignored

+==============================================================================+
 VULNERABILITIES FOUND 
+==============================================================================+

-> Vulnerability found in setuptools version 59.6.0
   Vulnerability ID: 52495
   Affected spec: <65.5.1
   ADVISORY: Setuptools 65.5.1 includes a fix for CVE-2022-40897: Python
   Packaging Authority (PyPA) setuptools before 65.5.1 allows remote attackers
   to cause a denial of service via HTML in a crafted package or custom
   PackageIndex page. There is a Regular Expression Denial of Service (ReDoS) in
   package_index.py.https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-
   in-top-python-packages
   CVE-2022-40897
   For more information, please visit
   https://data.safetycli.com/v/52495/f17


-> 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, please visit
   https://data.safetycli.com/v/62044/f17


-> 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, please visit
   https://data.safetycli.com/v/62582/f17


-> 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, please visit
   https://data.safetycli.com/v/62583/f17


-> 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, please visit
   https://data.safetycli.com/v/64644/f17


-> 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, please visit
   https://data.safetycli.com/v/64642/f17


-> 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, please visit
   https://data.safetycli.com/v/62326/f17


-> 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, please visit
   https://data.safetycli.com/v/64227/f17


-> 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, please visit
   https://data.safetycli.com/v/51499/f17

 Scan was completed. 9 vulnerabilities were found. 

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

  9 vulnerabilities were found in 5 packages. For detailed remediation & fix 
  recommendations, upgrade to a commercial license. 

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

  Safety is using PyUp's free open-source vulnerability database. This
data is 30 days old and limited. 
  For real-time enhanced vulnerability data, fix recommendations, severity
reporting, cybersecurity support, team and project policy management and more
sign up at https://pyup.io or email sales@pyup.io

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

✔ OK pylint in 2 minutes, 15.889 seconds
pylint create: /tmp/.tox/pylint
pylint installdeps: -r/home/jenkins/workspace/LCM-stage_2_master/requirements.txt, -r/home/jenkins/workspace/LCM-stage_2_master/requirements-dev.txt, -r/home/jenkins/workspace/LCM-stage_2_master/requirements-test.txt, pylint
pylint develop-inst: /home/jenkins/workspace/LCM-stage_2_master
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.2.0,checksumdir==1.2.0,config-man==0.0.4,coverage==7.3.1,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.58.0,grpcio-tools==1.48.1,grpclib==0.4.5,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@f5b7f4147a9d0ebff0a35de08ae9a9c22ee87de8,nose2==0.13.0,oauthlib==3.2.2,osm-common @ git+https://osm.etsi.org/gerrit/osm/common.git@a690b2ca4a6eeb821d3a3ba5c5e8dccf578018ff,-e git+https://osm.etsi.org/gerrit/osm/LCM.git@9cd5345320bde874db53c9e5dabd9c6c871ccfdf#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.5,websocket-client==1.6.3,websockets==11.0.3,yarl==1.9.2
pylint run-test-pre: PYTHONHASHSEED='94052637'
pylint run-test: commands[0] | pylint -E osm_lcm --extension-pkg-allow-list=pydantic

✔ OK cover in 3 minutes, 12.662 seconds
cover create: /tmp/.tox/cover
cover installdeps: -r/home/jenkins/workspace/LCM-stage_2_master/requirements.txt, -r/home/jenkins/workspace/LCM-stage_2_master/requirements-dev.txt, -r/home/jenkins/workspace/LCM-stage_2_master/requirements-test.txt
cover develop-inst: /home/jenkins/workspace/LCM-stage_2_master
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.2.0,checksumdir==1.2.0,config-man==0.0.4,coverage==7.3.1,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.58.0,grpcio-tools==1.48.1,grpclib==0.4.5,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@f5b7f4147a9d0ebff0a35de08ae9a9c22ee87de8,nose2==0.13.0,oauthlib==3.2.2,osm-common @ git+https://osm.etsi.org/gerrit/osm/common.git@a690b2ca4a6eeb821d3a3ba5c5e8dccf578018ff,-e git+https://osm.etsi.org/gerrit/osm/LCM.git@9cd5345320bde874db53c9e5dabd9c6c871ccfdf#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.5,websocket-client==1.6.3,websockets==11.0.3,yarl==1.9.2
cover run-test-pre: PYTHONHASHSEED='1615578836'
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-21T22:17:46 CRITICAL lcm lcm.py:140 starting osm/lcm version 9.0.0.post162+g9cd5345 2020-04-08
CRITICAL:lcm:starting osm/lcm version 9.0.0.post162+g9cd5345 2020-04-08
.2024-03-21T22:17:46 CRITICAL lcm lcm.py:95 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-21T22:17:46 CRITICAL lcm lcm.py:140 starting osm/lcm version 9.0.0.post162+g9cd5345 2020-04-08
2024-03-21T22:17:46 CRITICAL lcm lcm.py:140 starting osm/lcm version 9.0.0.post162+g9cd5345 2020-04-08
CRITICAL:lcm:starting osm/lcm version 9.0.0.post162+g9cd5345 2020-04-08
/usr/lib/python3.10/unittest/case.py:549: RuntimeWarning: coroutine 'TestLcm.test_kafka_admin_topic_ping_command' was never awaited
  method()
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
.2024-03-21T22:17:46 CRITICAL lcm lcm.py:95 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-21T22:17:46 CRITICAL lcm lcm.py:95 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-21T22:17:47 CRITICAL lcm lcm.py:140 starting osm/lcm version 9.0.0.post162+g9cd5345 2020-04-08
2024-03-21T22:17:47 CRITICAL lcm lcm.py:140 starting osm/lcm version 9.0.0.post162+g9cd5345 2020-04-08
2024-03-21T22:17:47 CRITICAL lcm lcm.py:140 starting osm/lcm version 9.0.0.post162+g9cd5345 2020-04-08
CRITICAL:lcm:starting osm/lcm version 9.0.0.post162+g9cd5345 2020-04-08
/usr/lib/python3.10/unittest/case.py:549: RuntimeWarning: coroutine 'TestLcm.test_kafka_admin_topic_ping_command_wrong_worker_id' was never awaited
  method()
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
.2024-03-21T22:17:47 CRITICAL lcm lcm.py:95 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-21T22:17:47 CRITICAL lcm lcm.py:95 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-21T22:17:47 CRITICAL lcm lcm.py:95 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-21T22:17:47 CRITICAL lcm lcm.py:140 starting osm/lcm version 9.0.0.post162+g9cd5345 2020-04-08
2024-03-21T22:17:47 CRITICAL lcm lcm.py:140 starting osm/lcm version 9.0.0.post162+g9cd5345 2020-04-08
2024-03-21T22:17:47 CRITICAL lcm lcm.py:140 starting osm/lcm version 9.0.0.post162+g9cd5345 2020-04-08
2024-03-21T22:17:47 CRITICAL lcm lcm.py:140 starting osm/lcm version 9.0.0.post162+g9cd5345 2020-04-08
CRITICAL:lcm:starting osm/lcm version 9.0.0.post162+g9cd5345 2020-04-08
/usr/lib/python3.10/unittest/case.py:549: RuntimeWarning: coroutine 'TestLcm.test_kafka_wrong_topic_ping_command' was never awaited
  method()
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
...............................
----------------------------------------------------------------------
Ran 95 tests in 69.924s

OK
Name                                          Stmts   Miss  Cover
-----------------------------------------------------------------
osm_lcm/ROclient.py                             509    457    10%
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       15      6    60%
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                        11      1    91%
osm_lcm/data_utils/nsr.py                        15      0   100%
osm_lcm/data_utils/vca.py                       100     13    87%
osm_lcm/data_utils/vim.py                        28     13    54%
osm_lcm/data_utils/vnfd.py                       76     31    59%
osm_lcm/data_utils/vnfr.py                       38     12    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                                  527    419    20%
osm_lcm/lcm_hc.py                                37     15    59%
osm_lcm/lcm_helm_conn.py                        296    155    48%
osm_lcm/lcm_utils.py                            320    172    46%
osm_lcm/netslice.py                             439    424     3%
osm_lcm/ng_ro.py                                204    160    22%
osm_lcm/ns.py                                  3700   2549    31%
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     22    62%
osm_lcm/tests/test_lcm_hc.py                     43      0   100%
osm_lcm/tests/test_lcm_helm_conn.py              76      1    99%
osm_lcm/tests/test_lcm_utils.py                 319     13    96%
osm_lcm/tests/test_ns.py                        756     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                   184      0   100%
osm_lcm/vim_sdn.py                              969    804    17%
-----------------------------------------------------------------
TOTAL                                          9148   5413    41%

cover run-test: commands[3] | coverage report '--omit=*tests*'
Name                                          Stmts   Miss  Cover
-----------------------------------------------------------------
osm_lcm/ROclient.py                             509    457    10%
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       15      6    60%
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                        11      1    91%
osm_lcm/data_utils/nsr.py                        15      0   100%
osm_lcm/data_utils/vca.py                       100     13    87%
osm_lcm/data_utils/vim.py                        28     13    54%
osm_lcm/data_utils/vnfd.py                       76     31    59%
osm_lcm/data_utils/vnfr.py                       38     12    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                                  527    419    20%
osm_lcm/lcm_hc.py                                37     15    59%
osm_lcm/lcm_helm_conn.py                        296    155    48%
osm_lcm/lcm_utils.py                            320    172    46%
osm_lcm/netslice.py                             439    424     3%
osm_lcm/ng_ro.py                                204    160    22%
osm_lcm/ns.py                                  3700   2549    31%
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     22    62%
osm_lcm/tests/test_lcm_hc.py                     43      0   100%
osm_lcm/tests/test_lcm_helm_conn.py              76      1    99%
osm_lcm/tests/test_lcm_utils.py                 319     13    96%
osm_lcm/tests/test_ns.py                        756     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                   184      0   100%
osm_lcm/vim_sdn.py                              969    804    17%
-----------------------------------------------------------------
TOTAL                                          9148   5413    41%
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_master] Running shell script
+ runuser jenkins -c devops-stages/stage-build.sh
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Archive)
[Pipeline] sh
[LCM-stage_2_master] Running shell script
+ runuser jenkins -c mkdir -p changelog
[Pipeline] sh
[LCM-stage_2_master] Running shell script
+ runuser jenkins -c devops/tools/generatechangelog-pipeline.sh > changelog/changelog-LCM.html
[Pipeline] sh
[LCM-stage_2_master] Running shell script
+ runuser jenkins -c devops-stages/stage-archive.sh
[Pipeline] getArtifactoryServer
[Pipeline] newBuildInfo
[Pipeline] artifactoryUpload
[consumer_1] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-LCM/master-staging/1683/changelog/changelog-LCM.html
[consumer_0] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-LCM/master-staging/1683/pool/LCM/python3-osm-lcm_9.0.0.post162%2Bg9cd5345-1_all.deb
[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%20::%20master/1683
[Pipeline] sh
[LCM-stage_2_master] Running shell script
+ env
[Pipeline] step
Archiving artifacts
Recording fingerprints
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
$ docker stop --time=1 d7ce3e6950f47ceee583f7cb7e3dca6978c7abb0efe1785d98de58369e6feb95
$ docker rm -f d7ce3e6950f47ceee583f7cb7e3dca6978c7abb0efe1785d98de58369e6feb95
[Pipeline] // withDockerContainer
[Pipeline] stage
[Pipeline] { (Build System)
[Pipeline] build (Building osm-stage_3 » master)
Scheduling project: osm-stage_3 » master
Starting building: osm-stage_3 » master #12367
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS