SuccessConsole Output

Started by upstream project "LCM-stage_1" build number 1150
originally caused by:
 Retriggered by user rbara for Gerrit: https://osm.etsi.org/gerrit/10383
 > 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/bug-585
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/sol006
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 17 remote branches
Obtained Jenkinsfile from c5e58063019ca387cac9527cfc0dba9b595d1ff1
Running in Durability level: MAX_SURVIVABILITY
[Pipeline] properties
[Pipeline] node
Running on osm2 slave in /opt/jenkins/workspace/LCM-stage_2_v8.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 --progress https://osm.etsi.org/gerrit/osm/LCM.git +refs/heads/*:refs/remotes/origin/*
Checking out Revision c5e58063019ca387cac9527cfc0dba9b595d1ff1 (v8.0)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f c5e58063019ca387cac9527cfc0dba9b595d1ff1
Commit message: "Bug 1422 - NSR record contain stale vcaStatus after successful completion of day 2 fixed."
 > git rev-list --no-walk c5e58063019ca387cac9527cfc0dba9b595d1ff1 # timeout=10
[Pipeline] dir
Running in /opt/jenkins/workspace/LCM-stage_2_v8.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 --progress https://osm.etsi.org/gerrit/osm/devops +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/v8.0^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/v8.0^{commit} # timeout=10
Checking out Revision a399630a503a37d0f0fd2c7fd760a35d72305556 (refs/remotes/origin/v8.0)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f a399630a503a37d0f0fd2c7fd760a35d72305556
 > git branch -a -v --no-abbrev # timeout=10
 > git branch -D v8.0 # timeout=10
 > git checkout -b v8.0 a399630a503a37d0f0fd2c7fd760a35d72305556
Commit message: "Change VM Size"
 > git rev-list --no-walk a399630a503a37d0f0fd2c7fd760a35d72305556 # 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_v8.0] Running shell script
+ env
JENKINS_HOME=/var/lib/jenkins
MAIL=/var/mail/jenkins
LC_TIME=fr_FR.UTF-8
SSH_CLIENT=195.238.226.13 46068 22
USER=jenkins
RUN_CHANGES_DISPLAY_URL=https://osm.etsi.org/jenkins/job/LCM-stage_2/job/v8.0/149/display/redirect?page=changes
GERRIT_PROJECT=osm/LCM
SHLVL=1
NODE_LABELS=docker osm2 osm2 slave pipeline
HUDSON_URL=https://osm.etsi.org/jenkins/
OLDPWD=/home/jenkins
HOME=/home/jenkins
BUILD_URL=https://osm.etsi.org/jenkins/job/LCM-stage_2/job/v8.0/149/
HUDSON_COOKIE=a5899104-2f73-4ee8-a839-2ed26a8f2690
JENKINS_SERVER_COOKIE=durable-45d1bcd6c3c192fe67ab4e3c50d039bb
LC_MONETARY=fr_FR.UTF-8
GERRIT_PATCHSET_REVISION=756cde1d807c6e7c35139ff93f84533f87db714f
WORKSPACE=/opt/jenkins/workspace/LCM-stage_2_v8.0
LOGNAME=jenkins
NODE_NAME=osm2 slave
GERRIT_BRANCH=v8.0
_=/usr/bin/java
EXECUTOR_NUMBER=2
XDG_SESSION_ID=1010
BUILD_DISPLAY_NAME=#149
PROJECT_URL_PREFIX=https://osm.etsi.org/gerrit
HUDSON_HOME=/var/lib/jenkins
JOB_BASE_NAME=v8.0
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
LC_ADDRESS=fr_FR.UTF-8
BUILD_ID=149
XDG_RUNTIME_DIR=/run/user/1017
BUILD_TAG=jenkins-LCM-stage_2-v8.0-149
LC_TELEPHONE=fr_FR.UTF-8
JENKINS_URL=https://osm.etsi.org/jenkins/
LANG=en_US.UTF-8
JOB_URL=https://osm.etsi.org/jenkins/job/LCM-stage_2/job/v8.0/
BUILD_NUMBER=149
SHELL=/bin/bash
XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt
LC_NAME=fr_FR.UTF-8
RUN_DISPLAY_URL=https://osm.etsi.org/jenkins/job/LCM-stage_2/job/v8.0/149/display/redirect
ARTIFACTORY_SERVER=artifactory-osm
GERRIT_REFSPEC=refs/changes/83/10383/1
HUDSON_SERVER_COOKIE=6d3295a483c3e6d5
LC_MEASUREMENT=fr_FR.UTF-8
JOB_DISPLAY_URL=https://osm.etsi.org/jenkins/job/LCM-stage_2/job/v8.0/display/redirect
LC_IDENTIFICATION=fr_FR.UTF-8
NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat
JOB_NAME=LCM-stage_2/v8.0
TEST_INSTALL=true
PWD=/opt/jenkins/workspace/LCM-stage_2_v8.0
LC_ALL=en_US.UTF-8
SSH_CONNECTION=195.238.226.13 46068 172.21.1.2 22
LC_NUMERIC=fr_FR.UTF-8
LC_PAPER=fr_FR.UTF-8
BRANCH_NAME=v8.0
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Checkout)
[Pipeline] sh
[LCM-stage_2_v8.0] Running shell script
+ git fetch --tags
[Pipeline] sh
[LCM-stage_2_v8.0] Running shell script
+ git fetch origin refs/changes/83/10383/1
From https://osm.etsi.org/gerrit/osm/LCM
 * branch            refs/changes/83/10383/1 -> FETCH_HEAD
[Pipeline] sh
[LCM-stage_2_v8.0] Running shell script
+ git checkout -f 756cde1d807c6e7c35139ff93f84533f87db714f
Previous HEAD position was c5e5806... Bug 1422 - NSR record contain stale vcaStatus after successful completion of day 2 fixed.
HEAD is now at 756cde1... Feature-9904: Enhancing NG-UI to enable Juju operational view dashboard
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (License Scan)
[Pipeline] sh
[LCM-stage_2_v8.0] Running shell script
+ devops/tools/license_scan.sh
osm_lcm/ns.py Apache-2.0
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Docker-Build)
[Pipeline] sh
[LCM-stage_2_v8.0] Running shell script
+ id -g
+ echo RUN groupadd -o -g 1015 -r jenkins
+ id -u
+ echo RUN useradd -o -u 1017 --create-home -r -g jenkins jenkins
[Pipeline] sh
[LCM-stage_2_v8.0] Running shell script
+ docker build -t osm/lcm-v8.0 .
Sending build context to Docker daemon    419MB

Step 1/4 : FROM ubuntu:18.04
 ---> c090eaba6b94
Step 2/4 : RUN apt-get update &&     DEBIAN_FRONTEND=noninteractive apt-get --yes install git tox make debhelper wget     python-all python3 python3-pip python3-all apt-utils &&     DEBIAN_FRONTEND=noninteractive pip3 install -U setuptools setuptools-version-command stdeb
 ---> Using cache
 ---> 11627492fe20
Step 3/4 : RUN groupadd -o -g 1015 -r jenkins
 ---> Using cache
 ---> 582fc3437f06
Step 4/4 : RUN useradd -o -u 1017 --create-home -r -g jenkins jenkins
 ---> Using cache
 ---> 0d665b2a1cba
Successfully built 0d665b2a1cba
Successfully tagged osm/lcm-v8.0:latest
[Pipeline] }
[Pipeline] // stage
[Pipeline] withDockerContainer
osm2 slave does not seem to be running inside a container
$ docker run -t -d -u 1017:1015 -w /opt/jenkins/workspace/LCM-stage_2_v8.0 -v /opt/jenkins/workspace/LCM-stage_2_v8.0:/opt/jenkins/workspace/LCM-stage_2_v8.0:rw,z -v /opt/jenkins/workspace/LCM-stage_2_v8.0@tmp:/opt/jenkins/workspace/LCM-stage_2_v8.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 ******** --entrypoint cat osm/lcm-v8.0
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Test)
[Pipeline] sh
[LCM-stage_2_v8.0] Running shell script
+ devops-stages/stage-test.sh
cover develop-inst-nodeps: /opt/jenkins/workspace/LCM-stage_2_v8.0
cover installed: aiohttp==3.7.3,aiokafka==0.6.0,async-timeout==3.0.1,asynctest==0.13.0,attrs==20.3.0,bcrypt==3.2.0,cachetools==4.2.1,certifi==2020.12.5,cffi==1.14.4,chardet==3.0.4,cov-core==1.15.0,coverage==5.4,cryptography==3.3.1,dataclasses==0.8,flake8==2.6.2,google-auth==1.24.0,grpcio==1.35.0,grpcio-tools==1.32.0,grpclib==0.4.1,h2==4.0.0,hpack==4.0.0,hyperframe==6.0.0,idna==2.10,idna-ssl==1.1.0,Jinja2==2.10,juju==2.8.4,jujubundlelib==0.5.6,kafka-python==2.0.2,kubernetes==10.0.1,macaroonbakery==1.3.1,MarkupSafe==1.1.1,mccabe==0.5.3,multidict==5.1.0,mypy-extensions==0.4.3,N2VC @ git+https://osm.etsi.org/gerrit/osm/N2VC.git@ba24d4cac220183fefac64314afc5fd8d19ab671,nose2==0.9.2,nose2-cov==1.0a4,oauthlib==3.1.0,osm-common @ git+https://osm.etsi.org/gerrit/osm/common.git@60aa4e61def0e1f1c1470a095092cabb86fa1a2a,-e git+https://osm.etsi.org/gerrit/osm/LCM.git@756cde1d807c6e7c35139ff93f84533f87db714f#egg=osm_lcm,paramiko==2.7.2,pkg-resources==0.0.0,protobuf==3.14.0,pyasn1==0.4.8,pyasn1-modules==0.2.8,pycodestyle==2.0.0,pycparser==2.20,pycrypto==2.6.1,pyflakes==1.2.3,pymacaroons==0.13.0,pymongo==3.11.2,PyNaCl==1.4.0,pyRFC3339==1.1,python-dateutil==2.8.1,pytz==2020.5,PyYAML==5.4.1,requests==2.25.1,requests-oauthlib==1.3.0,rsa==4.7,six==1.15.0,theblues==0.5.2,toposort==1.6,typing-extensions==3.7.4.3,typing-inspect==0.6.0,urllib3==1.26.3,websocket-client==0.57.0,websockets==7.0,yarl==1.6.3
cover runtests: PYTHONHASHSEED='4063904262'
cover runtests: commands[0] | coverage erase
cover runtests: commands[1] | nose2 -C --coverage osm_lcm --plugin nose2.plugins.junitxml -s osm_lcm/tests
.................INFO:test_lcm_helm_conn:url=None, username=None, vca_config={}
WARNING:test_lcm_helm_conn:No HOME environment variable, using /tmp
DEBUG:test_lcm_helm_conn:Initialize helm N2VC connector
INFO:test_lcm_helm_conn:Helm N2VC connector initialized
INFO:test_lcm_helm_conn:create_execution_environment: namespace: testnamespace, artifact_path: helm_sample_charm, db_dict: {}, reuse_ee_id: None
DEBUG:test_lcm_helm_conn:install helm chart: /app/storage/helm_sample_charm
.INFO:test_lcm_helm_conn:url=None, username=None, vca_config={}
WARNING:test_lcm_helm_conn:No HOME environment variable, using /tmp
DEBUG:test_lcm_helm_conn:Initialize helm N2VC connector
INFO:test_lcm_helm_conn:Helm N2VC connector initialized
INFO:test_lcm_helm_conn:ee_id: osm.helm_sample_charm_0001
INFO:test_lcm_helm_conn:ee_id: osm.helm_sample_charm_0001 deleted
.INFO:test_lcm_helm_conn:url=None, username=None, vca_config={}
WARNING:test_lcm_helm_conn:No HOME environment variable, using /tmp
DEBUG:test_lcm_helm_conn:Initialize helm N2VC connector
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
.INFO:test_lcm_helm_conn:url=None, username=None, vca_config={}
WARNING:test_lcm_helm_conn:No HOME environment variable, using /tmp
DEBUG:test_lcm_helm_conn:Initialize helm N2VC connector
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
.INFO:test_lcm_helm_conn:url=None, username=None, vca_config={}
WARNING:test_lcm_helm_conn:No HOME environment variable, using /tmp
DEBUG:test_lcm_helm_conn:Initialize helm N2VC connector
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: {}
.
----------------------------------------------------------------------
Ran 22 tests in 50.012s

OK
Name                                   Stmts   Miss  Cover
----------------------------------------------------------
osm_lcm/ROclient.py                      818    706    14%
osm_lcm/__init__.py                        7      2    71%
osm_lcm/frontend_grpc.py                  20      6    70%
osm_lcm/frontend_pb2.py                   27      0   100%
osm_lcm/lcm.py                           491    491     0%
osm_lcm/lcm_hc.py                         20     20     0%
osm_lcm/lcm_helm_conn.py                 204     87    57%
osm_lcm/lcm_utils.py                     215    153    29%
osm_lcm/netslice.py                      436    436     0%
osm_lcm/ng_ro.py                         118     94    20%
osm_lcm/ns.py                           2588   1413    45%
osm_lcm/prometheus.py                    129     58    55%
osm_lcm/tests/test_db_descriptors.py      11      0   100%
osm_lcm/tests/test_lcm_helm_conn.py       65      1    98%
osm_lcm/tests/test_ns.py                 360     25    93%
osm_lcm/tests/test_prometheus.py          71      1    99%
osm_lcm/vim_sdn.py                       851    851     0%
----------------------------------------------------------
TOTAL                                   6431   4344    32%

cover runtests: commands[2] | coverage report --omit=*tests*
Name                       Stmts   Miss  Cover
----------------------------------------------
osm_lcm/ROclient.py          818    706    14%
osm_lcm/__init__.py            7      2    71%
osm_lcm/frontend_grpc.py      20      6    70%
osm_lcm/frontend_pb2.py       27      0   100%
osm_lcm/lcm.py               491    491     0%
osm_lcm/lcm_hc.py             20     20     0%
osm_lcm/lcm_helm_conn.py     204     87    57%
osm_lcm/lcm_utils.py         215    153    29%
osm_lcm/netslice.py          436    436     0%
osm_lcm/ng_ro.py             118     94    20%
osm_lcm/ns.py               2588   1413    45%
osm_lcm/prometheus.py        129     58    55%
osm_lcm/vim_sdn.py           851    851     0%
----------------------------------------------
TOTAL                       5924   4317    27%
cover runtests: commands[3] | coverage html -d ./cover --omit=*tests*
cover runtests: commands[4] | coverage xml -o coverage.xml --omit=*tests*
flake8 develop-inst-nodeps: /opt/jenkins/workspace/LCM-stage_2_v8.0
flake8 installed: aiohttp==3.7.3,aiokafka==0.6.0,async-timeout==3.0.1,attrs==20.3.0,bcrypt==3.2.0,cachetools==4.2.1,certifi==2020.12.5,cffi==1.14.4,chardet==3.0.4,cryptography==3.3.1,dataclasses==0.8,flake8==3.8.4,google-auth==1.24.0,grpcio==1.35.0,grpcio-tools==1.32.0,grpclib==0.4.1,h2==4.0.0,hpack==4.0.0,hyperframe==6.0.0,idna==2.10,idna-ssl==1.1.0,importlib-metadata==3.4.0,Jinja2==2.10,juju==2.8.4,jujubundlelib==0.5.6,kafka-python==2.0.2,kubernetes==10.0.1,macaroonbakery==1.3.1,MarkupSafe==1.1.1,mccabe==0.6.1,multidict==5.1.0,mypy-extensions==0.4.3,N2VC @ git+https://osm.etsi.org/gerrit/osm/N2VC.git@ba24d4cac220183fefac64314afc5fd8d19ab671,oauthlib==3.1.0,osm-common @ git+https://osm.etsi.org/gerrit/osm/common.git@60aa4e61def0e1f1c1470a095092cabb86fa1a2a,-e git+https://osm.etsi.org/gerrit/osm/LCM.git@756cde1d807c6e7c35139ff93f84533f87db714f#egg=osm_lcm,paramiko==2.7.2,pkg-resources==0.0.0,protobuf==3.14.0,pyasn1==0.4.8,pyasn1-modules==0.2.8,pycodestyle==2.6.0,pycparser==2.20,pycrypto==2.6.1,pyflakes==2.2.0,pymacaroons==0.13.0,pymongo==3.11.2,PyNaCl==1.4.0,pyRFC3339==1.1,python-dateutil==2.8.1,pytz==2020.5,PyYAML==5.4.1,requests==2.25.1,requests-oauthlib==1.3.0,rsa==4.7,six==1.15.0,theblues==0.5.2,toposort==1.6,typing-extensions==3.7.4.3,typing-inspect==0.6.0,urllib3==1.26.3,websocket-client==0.57.0,websockets==7.0,yarl==1.6.3,zipp==3.4.0
flake8 runtests: PYTHONHASHSEED='4063904262'
flake8 runtests: commands[0] | flake8 osm_lcm --max-line-length 120 --exclude .svn,CVS,.gz,.git,__pycache__,.tox,local,temp,frontend_grpc.py,frontend_pb2.py --ignore W291,W293,E226,W504
unittest develop-inst-nodeps: /opt/jenkins/workspace/LCM-stage_2_v8.0
unittest installed: aiohttp==3.7.3,aiokafka==0.6.0,async-timeout==3.0.1,asynctest==0.13.0,attrs==20.3.0,bcrypt==3.2.0,cachetools==4.2.1,certifi==2020.12.5,cffi==1.14.4,chardet==3.0.4,cryptography==3.3.1,dataclasses==0.8,google-auth==1.24.0,grpcio==1.35.0,grpcio-tools==1.32.0,grpclib==0.4.1,h2==4.0.0,hpack==4.0.0,hyperframe==6.0.0,idna==2.10,idna-ssl==1.1.0,Jinja2==2.10,juju==2.8.4,jujubundlelib==0.5.6,kafka-python==2.0.2,kubernetes==10.0.1,macaroonbakery==1.3.1,MarkupSafe==1.1.1,multidict==5.1.0,mypy-extensions==0.4.3,N2VC @ git+https://osm.etsi.org/gerrit/osm/N2VC.git@ba24d4cac220183fefac64314afc5fd8d19ab671,oauthlib==3.1.0,osm-common @ git+https://osm.etsi.org/gerrit/osm/common.git@60aa4e61def0e1f1c1470a095092cabb86fa1a2a,-e git+https://osm.etsi.org/gerrit/osm/LCM.git@756cde1d807c6e7c35139ff93f84533f87db714f#egg=osm_lcm,paramiko==2.7.2,pkg-resources==0.0.0,protobuf==3.14.0,pyasn1==0.4.8,pyasn1-modules==0.2.8,pycparser==2.20,pycrypto==2.6.1,pymacaroons==0.13.0,pymongo==3.11.2,PyNaCl==1.4.0,pyRFC3339==1.1,python-dateutil==2.8.1,pytz==2020.5,PyYAML==5.4.1,requests==2.25.1,requests-oauthlib==1.3.0,rsa==4.7,six==1.15.0,theblues==0.5.2,toposort==1.6,typing-extensions==3.7.4.3,typing-inspect==0.6.0,urllib3==1.26.3,websocket-client==0.57.0,websockets==7.0,yarl==1.6.3
unittest runtests: PYTHONHASHSEED='4063904262'
unittest runtests: commands[0] | python3 -m unittest discover osm_lcm/tests -v
test_create_execution_environment (test_lcm_helm_conn.TestLcmHelmConn) ... DEBUG:asyncio:Using selector: EpollSelector
INFO:test_lcm_helm_conn:url=None, username=None, vca_config={}
WARNING:test_lcm_helm_conn:No HOME environment variable, using /tmp
DEBUG:test_lcm_helm_conn:Initialize helm N2VC connector
INFO:test_lcm_helm_conn:Helm N2VC connector initialized
INFO:test_lcm_helm_conn:create_execution_environment: namespace: testnamespace, artifact_path: helm_sample_charm, db_dict: {}, reuse_ee_id: None
DEBUG:test_lcm_helm_conn:install helm chart: /app/storage/helm_sample_charm
ok
test_delete_execution_environment (test_lcm_helm_conn.TestLcmHelmConn) ... DEBUG:asyncio:Using selector: EpollSelector
INFO:test_lcm_helm_conn:url=None, username=None, vca_config={}
WARNING:test_lcm_helm_conn:No HOME environment variable, using /tmp
DEBUG:test_lcm_helm_conn:Initialize helm N2VC connector
INFO:test_lcm_helm_conn:Helm N2VC connector initialized
INFO:test_lcm_helm_conn:ee_id: osm.helm_sample_charm_0001
INFO:test_lcm_helm_conn:ee_id: osm.helm_sample_charm_0001 deleted
ok
test_execute_config_primitive (test_lcm_helm_conn.TestLcmHelmConn) ... DEBUG:asyncio:Using selector: EpollSelector
INFO:test_lcm_helm_conn:url=None, username=None, vca_config={}
WARNING:test_lcm_helm_conn:No HOME environment variable, using /tmp
DEBUG:test_lcm_helm_conn:Initialize helm N2VC connector
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
ok
test_execute_primitive (test_lcm_helm_conn.TestLcmHelmConn) ... DEBUG:asyncio:Using selector: EpollSelector
INFO:test_lcm_helm_conn:url=None, username=None, vca_config={}
WARNING:test_lcm_helm_conn:No HOME environment variable, using /tmp
DEBUG:test_lcm_helm_conn:Initialize helm N2VC connector
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
ok
test_get_ee_ssh_public__key (test_lcm_helm_conn.TestLcmHelmConn) ... DEBUG:asyncio:Using selector: EpollSelector
INFO:test_lcm_helm_conn:url=None, username=None, vca_config={}
WARNING:test_lcm_helm_conn:No HOME environment variable, using /tmp
DEBUG:test_lcm_helm_conn:Initialize helm N2VC connector
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: {}
ok
test_deploy_kdus (test_ns.TestMyNS) ... DEBUG:asyncio:Using selector: EpollSelector
ok
test_instantiate (test_ns.TestMyNS) ... DEBUG:asyncio:Using selector: EpollSelector
ok
test_instantiate_ee_list (test_ns.TestMyNS) ... DEBUG:asyncio:Using selector: EpollSelector
ok
test_instantiate_pdu (test_ns.TestMyNS) ... DEBUG:asyncio:Using selector: EpollSelector
ok
test_ns_params_2_RO (test_ns.TestMyNS) ... DEBUG:asyncio:Using selector: EpollSelector
ok
test_scale (test_ns.TestMyNS) ... DEBUG:asyncio:Using selector: EpollSelector
ok
test_scale_add_suboperation (test_ns.TestMyNS) ... DEBUG:asyncio:Using selector: EpollSelector
ok
test_scale_check_or_add_scale_suboperation (test_ns.TestMyNS) ... DEBUG:asyncio:Using selector: EpollSelector
ok
test_scale_find_suboperation (test_ns.TestMyNS) ... DEBUG:asyncio:Using selector: EpollSelector
ok
test_scale_retry_or_skip_suboperation (test_ns.TestMyNS) ... DEBUG:asyncio:Using selector: EpollSelector
ok
test_scale_update_suboperation_status (test_ns.TestMyNS) ... DEBUG:asyncio:Using selector: EpollSelector
ok
test_terminate_primitive (test_ns.TestMyNS) ... DEBUG:asyncio:Using selector: EpollSelector
ok
test_terminate_without_configuration (test_ns.TestMyNS) ... DEBUG:asyncio:Using selector: EpollSelector
ok
test_vca_status_refresh (test_ns.TestMyNS) ... DEBUG:asyncio:Using selector: EpollSelector
ok
test_parse_job (test_prometheus.TestPrometheus) ... DEBUG:asyncio:Using selector: EpollSelector
ok
test_start (test_prometheus.TestPrometheus) ... DEBUG:asyncio:Using selector: EpollSelector
INFO:lcm.prometheus:Init db.admin.prometheus content
ok
test_update (test_prometheus.TestPrometheus) ... DEBUG:asyncio:Using selector: EpollSelector
DEBUG:lcm.prometheus:Updating. adding jobs: ['job1']
DEBUG:lcm.prometheus:Updating. removing jobs: ['job1']
ok

----------------------------------------------------------------------
Ran 22 tests in 46.324s

OK
___________________________________ summary ____________________________________
  cover: commands succeeded
  flake8: commands succeeded
  unittest: 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_v8.0] Running shell script
+ devops-stages/stage-build.sh
/usr/local/lib/python3.6/dist-packages/setuptools/dist.py:461: UserWarning: Normalizing 'v8.0.4.post6+g756cde1.dirty' to '8.0.4.post6+g756cde1.dirty'
  warnings.warn(tmpl.format(**locals()))
warning: no files found matching '*.xml' under directory 'osm_lcm'
warning: no files found matching '*.sh' under directory 'osm_lcm'
 dpkg-source --before-build osm-lcm-8.0.4.post6+g756cde1.dirty
 fakeroot debian/rules clean
/usr/local/lib/python3.6/dist-packages/setuptools/dist.py:461: UserWarning: Normalizing 'v8.0.4.post6+g756cde1.dirty' to '8.0.4.post6+g756cde1.dirty'
  warnings.warn(tmpl.format(**locals()))
'build/lib' does not exist -- can't clean it
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.6' does not exist -- can't clean it
 dpkg-source -b osm-lcm-8.0.4.post6+g756cde1.dirty
 dpkg-genbuildinfo --build=source
 dpkg-genchanges -sa --build=source >../osm-lcm_8.0.4.post6+g756cde1.dirty-1_source.changes
dpkg-genchanges: info: including full source code in upload
 dpkg-source --after-build osm-lcm-8.0.4.post6+g756cde1.dirty
dpkg-source: warning: extracting unsigned source package (osm-lcm_8.0.4.post6+g756cde1.dirty-1.dsc)
 dpkg-source --before-build osm-lcm-8.0.4.post6+g756cde1.dirty
 fakeroot debian/rules clean
/usr/local/lib/python3.6/dist-packages/setuptools/dist.py:461: UserWarning: Normalizing 'v8.0.4.post6+g756cde1.dirty' to '8.0.4.post6+g756cde1.dirty'
  warnings.warn(tmpl.format(**locals()))
'build/lib' does not exist -- can't clean it
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.6' does not exist -- can't clean it
 dpkg-source -b osm-lcm-8.0.4.post6+g756cde1.dirty
 debian/rules build
/usr/local/lib/python3.6/dist-packages/setuptools/dist.py:461: UserWarning: Normalizing 'v8.0.4.post6+g756cde1.dirty' to '8.0.4.post6+g756cde1.dirty'
  warnings.warn(tmpl.format(**locals()))
warning: no files found matching '*.xml' under directory 'osm_lcm'
warning: no files found matching '*.sh' under directory 'osm_lcm'
 fakeroot debian/rules binary
/usr/local/lib/python3.6/dist-packages/setuptools/dist.py:461: UserWarning: Normalizing 'v8.0.4.post6+g756cde1.dirty' to '8.0.4.post6+g756cde1.dirty'
  warnings.warn(tmpl.format(**locals()))
warning: no files found matching '*.xml' under directory 'osm_lcm'
warning: no files found matching '*.sh' under directory 'osm_lcm'
I: dh_python3 fs:373: renaming osm_lcm-8.0.4.post6+g756cde1.dirty-py3.6.egg-info to osm_lcm-8.0.4.post6+g756cde1.dirty.egg-info
I: dh_python3 pydist:220: Cannot find package that provides osm_common_. Please add package that provides it to Build-Depends or add "osm_common_ python3-osm-common-" line to debian/py3dist-overrides or add proper  dependency to Depends by hand and ignore this info.
I: dh_python3 pydist:220: Cannot find package that provides n2vc_. Please add package that provides it to Build-Depends or add "n2vc_ python3-n2vc-" line to debian/py3dist-overrides or add proper  dependency to Depends by hand and ignore this info.
I: dh_python3 pydist:220: Cannot find package that provides grpcio_tools. Please add package that provides it to Build-Depends or add "grpcio_tools python3-grpcio-tools" line to debian/py3dist-overrides or add proper  dependency to Depends by hand and ignore this info.
I: dh_python3 pydist:220: Cannot find package that provides grpclib. Please add package that provides it to Build-Depends or add "grpclib python3-grpclib" line to debian/py3dist-overrides or add proper  dependency to Depends by hand and ignore this info.
 dpkg-genbuildinfo
 dpkg-genchanges  >../osm-lcm_8.0.4.post6+g756cde1.dirty-1_amd64.changes
dpkg-genchanges: info: including full source code in upload
 dpkg-source --after-build osm-lcm-8.0.4.post6+g756cde1.dirty
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Archive)
[Pipeline] sh
[LCM-stage_2_v8.0] Running shell script
+ mkdir -p changelog
[Pipeline] sh
[LCM-stage_2_v8.0] Running shell script
+ devops/tools/generatechangelog-pipeline.sh
[Pipeline] sh
[LCM-stage_2_v8.0] Running shell script
+ devops-stages/stage-archive.sh
[Pipeline] getArtifactoryServer
[Pipeline] newBuildInfo
[Pipeline] artifactoryUpload
[consumer_0] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-LCM/v8.0-staging/149/dists/unstable/LCM/binary-amd64/Packages.gz
[consumer_1] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-LCM/v8.0-staging/149/dists/unstable/LCM/binary-amd64/Packages
[consumer_2] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-LCM/v8.0-staging/149/pool/LCM/python3-osm-lcm_8.0.4.post6%2Bg756cde1.dirty-1_all.deb
[consumer_0] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-LCM/v8.0-staging/149/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%20::%20v8.0/149
[Pipeline] sh
[LCM-stage_2_v8.0] Running shell script
+ env
[Pipeline] step
Archiving artifacts
Recording fingerprints
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
$ docker stop --time=1 4a070330bdf6bbc98f7d6df1d7f5d9d7059766c6cb05f5b6f14da8064cbd6bb5
$ docker rm -f 4a070330bdf6bbc98f7d6df1d7f5d9d7059766c6cb05f5b6f14da8064cbd6bb5
[Pipeline] // withDockerContainer
[Pipeline] stage
[Pipeline] { (Build System)
[Pipeline] build (Building osm-stage_3 » v8.0)
Scheduling project: osm-stage_3 » v8.0
Starting building: osm-stage_3 » v8.0 #691
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS