SuccessConsole Output

Started by upstream project "LCM-stage_1" build number 486
originally caused by:
 Triggered by Gerrit: https://osm.etsi.org/gerrit/8217
 > 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/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/v3.1
Seen branch in repository origin/v4.0
Seen branch in repository origin/v5.0
Seen branch in repository origin/v6.0
Seen 12 remote branches
Obtained Jenkinsfile from b16e5452834a8804726075be66ff14b5c6d62cc5
Running in Durability level: MAX_SURVIVABILITY
[Pipeline] properties
[Pipeline] node
Running on osm2 slave in /opt/jenkins/workspace/LCM-stage_2_feature5837@3
[Pipeline] {
[Pipeline] checkout
No credentials specified
Cloning the remote Git repository
Cloning with configured refspecs honoured and without tags
Cloning repository https://osm.etsi.org/gerrit/osm/LCM.git
 > git init /opt/jenkins/workspace/LCM-stage_2_feature5837@3 # timeout=10
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/*
 > git config remote.origin.url https://osm.etsi.org/gerrit/osm/LCM.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > 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 fetch --no-tags --progress https://osm.etsi.org/gerrit/osm/LCM.git +refs/heads/*:refs/remotes/origin/*
Checking out Revision b16e5452834a8804726075be66ff14b5c6d62cc5 (feature5837)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f b16e5452834a8804726075be66ff14b5c6d62cc5
Commit message: "Modified Jenkinsfile to disable TEST_INSTALL in branch feature5837"
 > git rev-list --no-walk b16e5452834a8804726075be66ff14b5c6d62cc5 # timeout=10
[Pipeline] dir
Running in /opt/jenkins/workspace/LCM-stage_2_feature5837@3/devops
[Pipeline] {
[Pipeline] git
No credentials specified
Cloning the remote Git repository
Cloning repository https://osm.etsi.org/gerrit/osm/devops
 > git init /opt/jenkins/workspace/LCM-stage_2_feature5837@3/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 config remote.origin.url https://osm.etsi.org/gerrit/osm/devops # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > 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 fetch --tags --progress https://osm.etsi.org/gerrit/osm/devops +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/feature5837^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/feature5837^{commit} # timeout=10
Checking out Revision 0e5f5fe18d9d821ab018e4cb5708f567912af568 (refs/remotes/origin/feature5837)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 0e5f5fe18d9d821ab018e4cb5708f567912af568
 > git branch -a -v --no-abbrev # timeout=10
 > git checkout -b feature5837 0e5f5fe18d9d821ab018e4cb5708f567912af568
Commit message: "generate_descriptor_pkg.sh: improved detection of allowed files"
 > git rev-list --no-walk 0e5f5fe18d9d821ab018e4cb5708f567912af568 # timeout=10
[Pipeline] }
[Pipeline] // dir
[Pipeline] load
[Pipeline] { (devops/jenkins/ci-pipelines/ci_stage_2.groovy)
[Pipeline] }
[Pipeline] // load
[Pipeline] echo
do_stage_3= false
[Pipeline] load
[Pipeline] { (devops/jenkins/ci-pipelines/ci_helper.groovy)
[Pipeline] }
[Pipeline] // load
[Pipeline] stage
[Pipeline] { (Prepare)
[Pipeline] sh
[LCM-stage_2_feature5837@3] 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 60312 22
USER=jenkins
RUN_CHANGES_DISPLAY_URL=https://osm.etsi.org/jenkins/job/LCM-stage_2/job/feature5837/24/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/feature5837/24/
HUDSON_COOKIE=c3390648-727b-4b37-aab6-1528a965a038
JENKINS_SERVER_COOKIE=durable-e2ea3b6480a95fe19a354c2368afa6f2
LC_MONETARY=fr_FR.UTF-8
GERRIT_PATCHSET_REVISION=ded5bbb90f2e216eee2ab4f1ac88060acef4da78
WORKSPACE=/opt/jenkins/workspace/LCM-stage_2_feature5837@3
LOGNAME=jenkins
NODE_NAME=osm2 slave
GERRIT_BRANCH=feature5837
_=/usr/bin/java
EXECUTOR_NUMBER=6
BUILD_DISPLAY_NAME=#24
PROJECT_URL_PREFIX=https://osm.etsi.org/gerrit
HUDSON_HOME=/var/lib/jenkins
JOB_BASE_NAME=feature5837
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
LC_ADDRESS=fr_FR.UTF-8
BUILD_ID=24
BUILD_TAG=jenkins-LCM-stage_2-feature5837-24
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/feature5837/
BUILD_NUMBER=24
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/feature5837/24/display/redirect
ARTIFACTORY_SERVER=artifactory-osm
GERRIT_REFSPEC=refs/changes/17/8217/1
HUDSON_SERVER_COOKIE=6d3295a483c3e6d5
LC_MEASUREMENT=fr_FR.UTF-8
JOB_DISPLAY_URL=https://osm.etsi.org/jenkins/job/LCM-stage_2/job/feature5837/display/redirect
LC_IDENTIFICATION=fr_FR.UTF-8
NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat
JOB_NAME=LCM-stage_2/feature5837
TEST_INSTALL=true
PWD=/opt/jenkins/workspace/LCM-stage_2_feature5837@3
LC_ALL=en_US.UTF-8
SSH_CONNECTION=195.238.226.13 60312 172.21.1.2 22
LC_NUMERIC=fr_FR.UTF-8
LC_PAPER=fr_FR.UTF-8
BRANCH_NAME=feature5837
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Checkout)
[Pipeline] sh
[LCM-stage_2_feature5837@3] Running shell script
+ git fetch --tags
From https://osm.etsi.org/gerrit/osm/LCM
 * [new tag]         BUILD_v4.0.1_1 -> BUILD_v4.0.1_1
 * [new tag]         BUILD_v4.0.1_2 -> BUILD_v4.0.1_2
 * [new tag]         v4.0.0     -> v4.0.0
 * [new tag]         v4.0.1     -> v4.0.1
 * [new tag]         v5.0.0     -> v5.0.0
 * [new tag]         v5.0.1     -> v5.0.1
 * [new tag]         v5.0.2     -> v5.0.2
 * [new tag]         v5.0.3     -> v5.0.3
 * [new tag]         v5.0.4     -> v5.0.4
 * [new tag]         v5.0.5     -> v5.0.5
 * [new tag]         v6.0.0     -> v6.0.0
 * [new tag]         v6.0.1     -> v6.0.1
 * [new tag]         v6.0.2     -> v6.0.2
 * [new tag]         v6.0.2rc1  -> v6.0.2rc1
 * [new tag]         v6.0.3     -> v6.0.3
 * [new tag]         v6.0.4     -> v6.0.4
 * [new tag]         v6.0.4rc1  -> v6.0.4rc1
[Pipeline] sh
[LCM-stage_2_feature5837@3] Running shell script
+ git fetch origin refs/changes/17/8217/1
From https://osm.etsi.org/gerrit/osm/LCM
 * branch            refs/changes/17/8217/1 -> FETCH_HEAD
[Pipeline] sh
[LCM-stage_2_feature5837@3] Running shell script
+ git checkout -f ded5bbb90f2e216eee2ab4f1ac88060acef4da78
Previous HEAD position was b16e545... Modified Jenkinsfile to disable TEST_INSTALL in branch feature5837
HEAD is now at ded5bbb... initial workflow for n2vc redesign
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (License Scan)
[Pipeline] sh
[LCM-stage_2_feature5837@3] Running shell script
+ devops/tools/license_scan.sh
GERRIT BRANCH is feature5837
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version           Architecture Description
+++-==============-=================-============-=======================================================
ii  curl           7.47.0-1ubuntu2.2 amd64        command line tool for transferring data with URL syntax
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version           Architecture Description
+++-==============-=================-============-=================================
ii  wget           1.17.1-1ubuntu1.2 amd64        retrieves files from the web
osm_lcm/ns.py Apache-2.0
osm_lcm/tests/test_ns.py Apache-2.0
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Docker-Build)
[Pipeline] sh
[LCM-stage_2_feature5837@3] 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_feature5837@3] Running shell script
+ docker build -t osm/lcm-feature5837 .
Sending build context to Docker daemon 557.1 kB
Sending build context to Docker daemon 1.114 MB
Sending build context to Docker daemon 1.671 MB
Sending build context to Docker daemon 2.228 MB
Sending build context to Docker daemon 2.785 MB
Sending build context to Docker daemon 3.342 MB
Sending build context to Docker daemon 3.899 MB
Sending build context to Docker daemon 4.456 MB
Sending build context to Docker daemon 5.014 MB
Sending build context to Docker daemon 5.571 MB
Sending build context to Docker daemon 6.128 MB
Sending build context to Docker daemon 6.685 MB
Sending build context to Docker daemon 7.242 MB
Sending build context to Docker daemon 7.799 MB
Sending build context to Docker daemon 8.356 MB
Sending build context to Docker daemon 8.913 MB
Sending build context to Docker daemon  9.47 MB
Sending build context to Docker daemon 10.03 MB
Sending build context to Docker daemon 10.58 MB
Sending build context to Docker daemon 11.14 MB
Sending build context to Docker daemon  11.7 MB
Sending build context to Docker daemon 12.26 MB
Sending build context to Docker daemon 12.81 MB
Sending build context to Docker daemon 13.37 MB
Sending build context to Docker daemon 13.93 MB
Sending build context to Docker daemon 14.22 MB

Step 1 : FROM ubuntu:16.04
 ---> f1d200737f6f
Step 2 : 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
 ---> 70f11f0f2d8f
Step 3 : RUN groupadd -o -g 1015 -r jenkins
 ---> Using cache
 ---> ba23d47df1ab
Step 4 : RUN useradd -o -u 1017 --create-home -r -g jenkins jenkins
 ---> Using cache
 ---> 44e4c54a9f85
Successfully built 44e4c54a9f85
[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_feature5837@3 -v /opt/jenkins/workspace/LCM-stage_2_feature5837@3:/opt/jenkins/workspace/LCM-stage_2_feature5837@3:rw,z -v /opt/jenkins/workspace/LCM-stage_2_feature5837@3@tmp:/opt/jenkins/workspace/LCM-stage_2_feature5837@3@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-feature5837
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Test)
[Pipeline] sh
[LCM-stage_2_feature5837@3] Running shell script
+ devops-stages/stage-test.sh
GLOB sdist-make: /opt/jenkins/workspace/LCM-stage_2_feature5837@3/setup.py
flake8 create: /home/jenkins/.tox/flake8
flake8 installdeps: flake8
flake8 inst: /home/jenkins/.tox/dist/osm_lcm-6.0.3.post9+gded5bbb.dirty.zip
flake8 installed: aiohttp==0.20.2,aiokafka==0.5.2,bcrypt==3.1.7,certifi==2019.9.11,cffi==1.13.2,chardet==3.0.4,cryptography==2.8,entrypoints==0.3,flake8==3.7.9,idna==2.8,Jinja2==2.10.3,juju==2.6.3,jujubundlelib==0.5.6,kafka-python==1.4.6,macaroonbakery==1.2.3,MarkupSafe==1.1.1,mccabe==0.6.1,N2VC==0.0.0,osm-common==6.0.4.post5+g13a71fb,osm-lcm==6.0.3.post9+gded5bbb.dirty,paramiko==2.6.0,pkg-resources==0.0.0,protobuf==3.10.0,pyasn1==0.4.8,pycodestyle==2.5.0,pycparser==2.19,pycrypto==2.6.1,pyflakes==2.1.1,pymacaroons==0.13.0,pymongo==3.9.0,PyNaCl==1.3.0,pyRFC3339==1.1,pytz==2019.3,PyYAML==3.13,requests==2.22.0,six==1.13.0,theblues==0.5.2,toposort==1.5,urllib3==1.25.7,websockets==7.0
flake8 runtests: PYTHONHASHSEED='3397621298'
flake8 runtests: commands[0] | flake8 osm_lcm --max-line-length 120 --exclude .svn,CVS,.gz,.git,__pycache__,.tox,local,temp --ignore W291,W293,E226,W504
___________________________________ summary ____________________________________
  flake8: commands succeeded
  congratulations :)
GLOB sdist-make: /opt/jenkins/workspace/LCM-stage_2_feature5837@3/setup.py
unittest create: /home/jenkins/.tox/unittest
unittest installdeps: asynctest
unittest inst: /home/jenkins/.tox/dist/osm_lcm-6.0.3.post9+gded5bbb.dirty.zip
unittest installed: aiohttp==0.20.2,aiokafka==0.5.2,asynctest==0.13.0,bcrypt==3.1.7,certifi==2019.9.11,cffi==1.13.2,chardet==3.0.4,cryptography==2.8,idna==2.8,Jinja2==2.10.3,juju==2.6.3,jujubundlelib==0.5.6,kafka-python==1.4.6,macaroonbakery==1.2.3,MarkupSafe==1.1.1,N2VC==0.0.0,osm-common==6.0.4.post5+g13a71fb,osm-lcm==6.0.3.post9+gded5bbb.dirty,paramiko==2.6.0,pkg-resources==0.0.0,protobuf==3.10.0,pyasn1==0.4.8,pycparser==2.19,pycrypto==2.6.1,pymacaroons==0.13.0,pymongo==3.9.0,PyNaCl==1.3.0,pyRFC3339==1.1,pytz==2019.3,PyYAML==3.13,requests==2.22.0,six==1.13.0,theblues==0.5.2,toposort==1.5,urllib3==1.25.7,websockets==7.0
unittest runtests: PYTHONHASHSEED='484963832'
unittest runtests: commands[0] | python3 -m unittest osm_lcm.tests.test_ns
........
----------------------------------------------------------------------
Ran 8 tests in 10.939s

OK
Test instantiate started
instantiate_result: done
___________________________________ summary ____________________________________
  unittest: commands succeeded
  congratulations :)
[Pipeline] fileExists
[Pipeline] fileExists
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build)
[Pipeline] sh
[LCM-stage_2_feature5837@3] Running shell script
+ devops-stages/stage-build.sh
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Archive)
[Pipeline] sh
[LCM-stage_2_feature5837@3] Running shell script
+ mkdir -p changelog
[Pipeline] sh
[LCM-stage_2_feature5837@3] Running shell script
+ devops/tools/generatechangelog-pipeline.sh
[Pipeline] sh
[LCM-stage_2_feature5837@3] Running shell script
+ devops-stages/stage-archive.sh
[Pipeline] getArtifactoryServer
[Pipeline] newBuildInfo
[Pipeline] artifactoryUpload
[consumer_0] Deploying artifact: http://osm1.etsi.org:8081/artifactory/osm-LCM/feature5837-staging/24/dists/unstable/LCM/binary-amd64/Packages.gz
[consumer_1] Deploying artifact: http://osm1.etsi.org:8081/artifactory/osm-LCM/feature5837-staging/24/dists/unstable/LCM/binary-amd64/Packages
[consumer_2] Deploying artifact: http://osm1.etsi.org:8081/artifactory/osm-LCM/feature5837-staging/24/pool/LCM/python3-osm-lcm_6.0.3.post9%2Bgded5bbb.dirty-1_all.deb
[consumer_1] Deploying artifact: http://osm1.etsi.org:8081/artifactory/osm-LCM/feature5837-staging/24/changelog/changelog-LCM.html
[Pipeline] publishBuildInfo
Deploying build info to: http://osm1.etsi.org:8081/artifactory/api/build
Deploying build descriptor to: http://osm1.etsi.org:8081/artifactory/api/build
Build successfully deployed. Browse it in Artifactory under http://osm1.etsi.org:8081/artifactory/webapp/builds/LCM-stage_2%20::%20feature5837/24
[Pipeline] sh
[LCM-stage_2_feature5837@3] Running shell script
+ env
[Pipeline] step
Archiving artifacts
Recording fingerprints
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
$ docker stop --time=1 330099d283cdaa4f8c5ce494b0889a3de497beab710ec658ee6ee47b48b3a910
$ docker rm -f 330099d283cdaa4f8c5ce494b0889a3de497beab710ec658ee6ee47b48b3a910
[Pipeline] // withDockerContainer
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS