SuccessConsole Output

Started by upstream project "osmclient-stage_1" build number 204
originally caused by:
 Triggered by Gerrit: https://osm.etsi.org/gerrit/6799
 > git rev-parse --is-inside-work-tree # timeout=10
Setting origin to https://osm.etsi.org/gerrit/osm/osmclient.git
 > git config remote.origin.url https://osm.etsi.org/gerrit/osm/osmclient.git # timeout=10
Fetching origin...
Fetching upstream changes from origin
 > git --version # timeout=10
 > git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/*
Seen branch in repository origin/master
Seen branch in repository origin/netslice
Seen branch in repository origin/rift300
Seen branch in repository origin/v2.0
Seen branch in repository origin/v3.1
Seen branch in repository origin/v4.0
Seen 6 remote branches
Obtained Jenkinsfile from 40693cbe601e61c7ebdbdd3b5350aeb7240636c1
[Pipeline] properties
[Pipeline] node
Running on osm2 slave in /opt/jenkins/workspace/osmclient-stage_2_netslice-UB5W65QO5TYYPCAOCVCQAOM4L77HSZS3EIYHSS3WPDDBTQPQJYUA
[Pipeline] {
[Pipeline] checkout
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://osm.etsi.org/gerrit/osm/osmclient.git # timeout=10
Fetching upstream changes from https://osm.etsi.org/gerrit/osm/osmclient.git
 > git --version # timeout=10
 > git fetch --tags --progress https://osm.etsi.org/gerrit/osm/osmclient.git +refs/heads/*:refs/remotes/origin/*
Checking out Revision 40693cbe601e61c7ebdbdd3b5350aeb7240636c1 (netslice)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 40693cbe601e61c7ebdbdd3b5350aeb7240636c1
 > git rev-list 40693cbe601e61c7ebdbdd3b5350aeb7240636c1 # timeout=10
[Pipeline] dir
Running in /opt/jenkins/workspace/osmclient-stage_2_netslice-UB5W65QO5TYYPCAOCVCQAOM4L77HSZS3EIYHSS3WPDDBTQPQJYUA/devops
[Pipeline] {
[Pipeline] git
 > 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/netslice^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/netslice^{commit} # timeout=10
Checking out Revision 763d332c9fc6eec094d091ab66772c8563754476 (refs/remotes/origin/netslice)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 763d332c9fc6eec094d091ab66772c8563754476
 > git branch -a -v --no-abbrev # timeout=10
 > git branch -D netslice # timeout=10
 > git checkout -b netslice 763d332c9fc6eec094d091ab66772c8563754476
 > git rev-list 763d332c9fc6eec094d091ab66772c8563754476 # timeout=10
[Pipeline] }
[Pipeline] // dir
[Pipeline] load
[Pipeline] { (devops/jenkins/ci-pipelines/ci_stage_2.groovy)
[Pipeline] }
[Pipeline] // load
[Pipeline] echo
do_stage_3= true
[Pipeline] load
[Pipeline] { (devops/jenkins/ci-pipelines/ci_helper.groovy)
[Pipeline] }
[Pipeline] // load
[Pipeline] stage
[Pipeline] { (Prepare)
[Pipeline] sh
[osmclient-stage_2_netslice-UB5W65QO5TYYPCAOCVCQAOM4L77HSZS3EIYHSS3WPDDBTQPQJYUA] 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 53594 22
USER=jenkins
RUN_CHANGES_DISPLAY_URL=https://osm.etsi.org/jenkins/job/osmclient-stage_2/job/netslice/3/display/redirect?page=changes
GERRIT_PROJECT=osm/osmclient
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/osmclient-stage_2/job/netslice/3/
HUDSON_COOKIE=cd802ee1-4dd7-4723-91f6-a86b11fe92f1
JENKINS_SERVER_COOKIE=durable-5beea1c850e2eef98610b660599ada21
LC_MONETARY=fr_FR.UTF-8
GERRIT_PATCHSET_REVISION=7bc68f35f4b5d582d53961197bdc54b9e0ac10e3
WORKSPACE=/opt/jenkins/workspace/osmclient-stage_2_netslice-UB5W65QO5TYYPCAOCVCQAOM4L77HSZS3EIYHSS3WPDDBTQPQJYUA
LOGNAME=jenkins
NODE_NAME=osm2 slave
GERRIT_BRANCH=netslice
_=/usr/bin/java
EXECUTOR_NUMBER=6
XDG_SESSION_ID=4083
BUILD_DISPLAY_NAME=#3
PROJECT_URL_PREFIX=https://osm.etsi.org/gerrit
HUDSON_HOME=/var/lib/jenkins
JOB_BASE_NAME=netslice
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=3
XDG_RUNTIME_DIR=/run/user/1017
BUILD_TAG=jenkins-osmclient-stage_2-netslice-3
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/osmclient-stage_2/job/netslice/
BUILD_NUMBER=3
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/osmclient-stage_2/job/netslice/3/display/redirect
ARTIFACTORY_SERVER=artifactory-osm
GERRIT_REFSPEC=refs/changes/99/6799/3
HUDSON_SERVER_COOKIE=6d3295a483c3e6d5
LC_MEASUREMENT=fr_FR.UTF-8
JOB_DISPLAY_URL=https://osm.etsi.org/jenkins/job/osmclient-stage_2/job/netslice/display/redirect
LC_IDENTIFICATION=fr_FR.UTF-8
NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat
JOB_NAME=osmclient-stage_2/netslice
TEST_INSTALL=true
PWD=/opt/jenkins/workspace/osmclient-stage_2_netslice-UB5W65QO5TYYPCAOCVCQAOM4L77HSZS3EIYHSS3WPDDBTQPQJYUA
LC_ALL=en_US.UTF-8
SSH_CONNECTION=195.238.226.13 53594 172.21.1.2 22
LC_NUMERIC=fr_FR.UTF-8
LC_PAPER=fr_FR.UTF-8
BRANCH_NAME=netslice
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Checkout)
[Pipeline] sh
[osmclient-stage_2_netslice-UB5W65QO5TYYPCAOCVCQAOM4L77HSZS3EIYHSS3WPDDBTQPQJYUA] Running shell script
+ git fetch origin refs/changes/99/6799/3
From https://osm.etsi.org/gerrit/osm/osmclient
 * branch            refs/changes/99/6799/3 -> FETCH_HEAD
[Pipeline] sh
[osmclient-stage_2_netslice-UB5W65QO5TYYPCAOCVCQAOM4L77HSZS3EIYHSS3WPDDBTQPQJYUA] Running shell script
+ git checkout -f 7bc68f35f4b5d582d53961197bdc54b9e0ac10e3
Previous HEAD position was 40693cb... Add version schedule pep440-git-full
HEAD is now at 7bc68f3... Support of network slices
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (License Scan)
[Pipeline] sh
[osmclient-stage_2_netslice-UB5W65QO5TYYPCAOCVCQAOM4L77HSZS3EIYHSS3WPDDBTQPQJYUA] Running shell script
+ devops/tools/license_scan.sh
GERRIT BRANCH is netslice
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
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
osmclient/scripts/osm.py Apache-2.0
osmclient/sol005/client.py Apache-2.0
osmclient/sol005/ns.py Apache-2.0
osmclient/sol005/nsi.py Apache-2.0
osmclient/sol005/nst.py Apache-2.0
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Docker-Build)
[Pipeline] sh
[osmclient-stage_2_netslice-UB5W65QO5TYYPCAOCVCQAOM4L77HSZS3EIYHSS3WPDDBTQPQJYUA] 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
[osmclient-stage_2_netslice-UB5W65QO5TYYPCAOCVCQAOM4L77HSZS3EIYHSS3WPDDBTQPQJYUA] Running shell script
+ docker build -t osm/osmclient-netslice .
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.28 MB

Step 1 : FROM ubuntu:16.04
 ---> f1d200737f6f
Step 2 : RUN apt-get update && apt-get -y install git make python python3     libcurl4-gnutls-dev libgnutls-dev tox python-dev python3-dev     debhelper python-setuptools python-all apt-utils
 ---> Using cache
 ---> ea4f3d2c5c74
Step 3 : RUN groupadd -o -g 1015 -r jenkins
 ---> Using cache
 ---> e7db30fa4e80
Step 4 : RUN useradd -o -u 1017 --create-home -r -g jenkins jenkins
 ---> Using cache
 ---> ccb3244bf8c0
Successfully built ccb3244bf8c0
[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/osmclient-stage_2_netslice-UB5W65QO5TYYPCAOCVCQAOM4L77HSZS3EIYHSS3WPDDBTQPQJYUA -v /opt/jenkins/workspace/osmclient-stage_2_netslice-UB5W65QO5TYYPCAOCVCQAOM4L77HSZS3EIYHSS3WPDDBTQPQJYUA:/opt/jenkins/workspace/osmclient-stage_2_netslice-UB5W65QO5TYYPCAOCVCQAOM4L77HSZS3EIYHSS3WPDDBTQPQJYUA:rw,z -v /opt/jenkins/workspace/osmclient-stage_2_netslice-UB5W65QO5TYYPCAOCVCQAOM4L77HSZS3EIYHSS3WPDDBTQPQJYUA@tmp:/opt/jenkins/workspace/osmclient-stage_2_netslice-UB5W65QO5TYYPCAOCVCQAOM4L77HSZS3EIYHSS3WPDDBTQPQJYUA@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/osmclient-netslice
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Test)
[Pipeline] sh
[osmclient-stage_2_netslice-UB5W65QO5TYYPCAOCVCQAOM4L77HSZS3EIYHSS3WPDDBTQPQJYUA] Running shell script
+ devops-stages/stage-test.sh
GLOB sdist-make: /opt/jenkins/workspace/osmclient-stage_2_netslice-UB5W65QO5TYYPCAOCVCQAOM4L77HSZS3EIYHSS3WPDDBTQPQJYUA/setup.py
py27 create: /home/jenkins/.tox/py27
py27 installdeps: nose, mock
py27 inst: /home/jenkins/.tox/dist/osmclient-2.0.1.post62+g7bc68f3.dirty.zip
py27 installed: Click==7.0,funcsigs==1.0.2,mock==2.0.0,nose==1.3.7,osmclient==2.0.1.post62+g7bc68f3.dirty,pbr==5.1.1,pkg-resources==0.0.0,prettytable==0.7.2,pycurl==7.43.0.2,python-magic==0.4.15,PyYAML==3.13,six==1.11.0
py27 runtests: PYTHONHASHSEED='1570224429'
py27 runtests: commands[0] | nosetests
.......................
----------------------------------------------------------------------
Ran 23 tests in 2.103s

OK
py3 create: /home/jenkins/.tox/py3
py3 installdeps: nose, mock
py3 inst: /home/jenkins/.tox/dist/osmclient-2.0.1.post62+g7bc68f3.dirty.zip
py3 installed: Click==7.0,mock==2.0.0,nose==1.3.7,osmclient==2.0.1.post62+g7bc68f3.dirty,pbr==5.1.1,pkg-resources==0.0.0,prettytable==0.7.2,pycurl==7.43.0.2,python-magic==0.4.15,PyYAML==3.13,six==1.11.0
py3 runtests: PYTHONHASHSEED='1570224429'
py3 runtests: commands[0] | nosetests
.......................
----------------------------------------------------------------------
Ran 23 tests in 2.090s

OK
flake8 create: /home/jenkins/.tox/flake8
flake8 installdeps: flake8
flake8 inst: /home/jenkins/.tox/dist/osmclient-2.0.1.post62+g7bc68f3.dirty.zip
flake8 installed: Click==7.0,configparser==3.5.0,enum34==1.1.6,flake8==3.6.0,mccabe==0.6.1,osmclient==2.0.1.post62+g7bc68f3.dirty,pkg-resources==0.0.0,prettytable==0.7.2,pycodestyle==2.4.0,pycurl==7.43.0.2,pyflakes==2.0.0,python-magic==0.4.15,PyYAML==3.13
flake8 runtests: PYTHONHASHSEED='1570224429'
flake8 runtests: commands[0] | flake8 setup.py
pyflakes create: /home/jenkins/.tox/pyflakes
pyflakes installdeps: pyflakes
pyflakes inst: /home/jenkins/.tox/dist/osmclient-2.0.1.post62+g7bc68f3.dirty.zip
pyflakes installed: Click==7.0,osmclient==2.0.1.post62+g7bc68f3.dirty,pkg-resources==0.0.0,prettytable==0.7.2,pycurl==7.43.0.2,pyflakes==2.0.0,python-magic==0.4.15,PyYAML==3.13
pyflakes runtests: PYTHONHASHSEED='1570224429'
pyflakes runtests: commands[0] | pyflakes osmclient
___________________________________ summary ____________________________________
  py27: commands succeeded
  py3: commands succeeded
  flake8: commands succeeded
  pyflakes: commands succeeded
  congratulations :)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build)
[Pipeline] sh
[osmclient-stage_2_netslice-UB5W65QO5TYYPCAOCVCQAOM4L77HSZS3EIYHSS3WPDDBTQPQJYUA] Running shell script
+ devops-stages/stage-build.sh
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Archive)
[Pipeline] sh
[osmclient-stage_2_netslice-UB5W65QO5TYYPCAOCVCQAOM4L77HSZS3EIYHSS3WPDDBTQPQJYUA] Running shell script
+ mkdir -p changelog
[Pipeline] sh
[osmclient-stage_2_netslice-UB5W65QO5TYYPCAOCVCQAOM4L77HSZS3EIYHSS3WPDDBTQPQJYUA] Running shell script
+ devops/tools/generatechangelog-pipeline.sh
[Pipeline] sh
[osmclient-stage_2_netslice-UB5W65QO5TYYPCAOCVCQAOM4L77HSZS3EIYHSS3WPDDBTQPQJYUA] Running shell script
+ devops-stages/stage-archive.sh
[Pipeline] getArtifactoryServer
[Pipeline] artifactoryUpload
For pattern: dists/*.gz 1 artifacts were found.
For pattern: dists/*Packages 1 artifacts were found.
For pattern: pool/*/*.deb 1 artifacts were found.
For pattern: changelog/* 1 artifacts were found.
Deploying artifact: http://osm1.etsi.org:8081/artifactory/osm-osmclient/netslice-staging/3/pool/osmclient/python-osmclient_2.0.1.post62+g7bc68f3.dirty-1_all.deb
Deploying artifact: http://osm1.etsi.org:8081/artifactory/osm-osmclient/netslice-staging/3/dists/unstable/osmclient/binary-amd64/Packages.gz
Deploying artifact: http://osm1.etsi.org:8081/artifactory/osm-osmclient/netslice-staging/3/dists/unstable/osmclient/binary-amd64/Packages
Deploying artifact: http://osm1.etsi.org:8081/artifactory/osm-osmclient/netslice-staging/3/changelog/changelog-osmclient.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/osmclient-stage_2%20::%20netslice/3
[Pipeline] sh
[osmclient-stage_2_netslice-UB5W65QO5TYYPCAOCVCQAOM4L77HSZS3EIYHSS3WPDDBTQPQJYUA] Running shell script
+ env
[Pipeline] step
Archiving artifacts
Recording fingerprints
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
$ docker stop --time=1 53fdb1021c1a7306714fd6fd71645539a1ca05a7c068d84a07e4ddc4cb63a44b
$ docker rm -f 53fdb1021c1a7306714fd6fd71645539a1ca05a7c068d84a07e4ddc4cb63a44b
[Pipeline] // withDockerContainer
[Pipeline] stage
[Pipeline] { (Build System)
[Pipeline] build (Building osm-stage_3 » netslice)
Scheduling project: osm-stage_3 » netslice
Starting building: osm-stage_3 » netslice #33
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS