SuccessConsole Output

Started by upstream project "MON-stage_1" build number 1253
originally caused by:
 Triggered by Gerrit: https://osm.etsi.org/gerrit/11267
 > git rev-parse --is-inside-work-tree # timeout=10
Setting origin to https://osm.etsi.org/gerrit/osm/MON.git
 > git config remote.origin.url https://osm.etsi.org/gerrit/osm/MON.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/bug1511
Seen branch in repository origin/feature5837
Seen branch in repository origin/feature7106
Seen branch in repository origin/feature7928
Seen branch in repository origin/master
Seen branch in repository origin/netslice
Seen branch in repository origin/ng-ro-refactor
Seen branch in repository origin/rift300
Seen branch in repository origin/sol006
Seen branch in repository origin/sol006v331
Seen branch in repository origin/v10.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 18 remote branches
Obtained Jenkinsfile from ceb51ff33fc82594550a692541b855769b6174ca
Running in Durability level: MAX_SURVIVABILITY
[Pipeline] properties
[Pipeline] node
Running on osm2 slave in /opt/jenkins/workspace/MON-stage_2_v9.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/MON.git # timeout=10
Fetching without tags
Fetching upstream changes from https://osm.etsi.org/gerrit/osm/MON.git
 > git --version # timeout=10
 > git fetch --no-tags --progress https://osm.etsi.org/gerrit/osm/MON.git +refs/heads/*:refs/remotes/origin/*
Checking out Revision ceb51ff33fc82594550a692541b855769b6174ca (v9.0)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f ceb51ff33fc82594550a692541b855769b6174ca
Commit message: "Fix bug 1694: add prometheus authentication support"
 > git rev-list --no-walk ceb51ff33fc82594550a692541b855769b6174ca # timeout=10
[Pipeline] dir
Running in /opt/jenkins/workspace/MON-stage_2_v9.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/v9.0^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/v9.0^{commit} # timeout=10
Checking out Revision aac52e0ac6d5364e48d2c25b00d6a1435b7e0d6a (refs/remotes/origin/v9.0)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f aac52e0ac6d5364e48d2c25b00d6a1435b7e0d6a
 > git branch -a -v --no-abbrev # timeout=10
 > git branch -D v9.0 # timeout=10
 > git checkout -b v9.0 aac52e0ac6d5364e48d2c25b00d6a1435b7e0d6a
Commit message: "Pin version of LXD to latest LTS, and pin juju 2.8.11"
 > git rev-list --no-walk aac52e0ac6d5364e48d2c25b00d6a1435b7e0d6a # 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
[MON-stage_2_v9.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 58184 22
USER=jenkins
RUN_CHANGES_DISPLAY_URL=https://osm.etsi.org/jenkins/job/MON-stage_2/job/v9.0/72/display/redirect?page=changes
GERRIT_PROJECT=osm/MON
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/MON-stage_2/job/v9.0/72/
HUDSON_COOKIE=bf53614d-013f-4589-9a71-11f422577c4e
JENKINS_SERVER_COOKIE=durable-c4fb61981a3f41695701a9587a76a9fa
LC_MONETARY=fr_FR.UTF-8
GERRIT_PATCHSET_REVISION=d68abe3738974fcba038c8970421ee58a9770b7e
WORKSPACE=/opt/jenkins/workspace/MON-stage_2_v9.0
LOGNAME=jenkins
NODE_NAME=osm2 slave
GERRIT_BRANCH=v9.0
_=/usr/bin/java
EXECUTOR_NUMBER=7
XDG_SESSION_ID=3587
BUILD_DISPLAY_NAME=#72
PROJECT_URL_PREFIX=https://osm.etsi.org/gerrit
HUDSON_HOME=/var/lib/jenkins
JOB_BASE_NAME=v9.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=72
XDG_RUNTIME_DIR=/run/user/1017
BUILD_TAG=jenkins-MON-stage_2-v9.0-72
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/MON-stage_2/job/v9.0/
BUILD_NUMBER=72
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/MON-stage_2/job/v9.0/72/display/redirect
ARTIFACTORY_SERVER=artifactory-osm
GERRIT_REFSPEC=refs/changes/67/11267/3
HUDSON_SERVER_COOKIE=6d3295a483c3e6d5
LC_MEASUREMENT=fr_FR.UTF-8
JOB_DISPLAY_URL=https://osm.etsi.org/jenkins/job/MON-stage_2/job/v9.0/display/redirect
LC_IDENTIFICATION=fr_FR.UTF-8
NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat
JOB_NAME=MON-stage_2/v9.0
TEST_INSTALL=true
PWD=/opt/jenkins/workspace/MON-stage_2_v9.0
LC_ALL=en_US.UTF-8
SSH_CONNECTION=195.238.226.13 58184 172.21.1.2 22
LC_NUMERIC=fr_FR.UTF-8
LC_PAPER=fr_FR.UTF-8
BRANCH_NAME=v9.0
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Checkout)
[Pipeline] sh
[MON-stage_2_v9.0] Running shell script
+ git fetch --tags
[Pipeline] sh
[MON-stage_2_v9.0] Running shell script
+ git fetch origin refs/changes/67/11267/3
From https://osm.etsi.org/gerrit/osm/MON
 * branch            refs/changes/67/11267/3 -> FETCH_HEAD
[Pipeline] sh
[MON-stage_2_v9.0] Running shell script
+ git checkout -f d68abe3738974fcba038c8970421ee58a9770b7e
Previous HEAD position was ceb51ff... Fix bug 1694: add prometheus authentication support
HEAD is now at d68abe3... Resolved 1698 - MON fails to collect metrics from an OpenStack VIM with metrics support if there is another OpenStack VIM without metrics support registered
[Pipeline] sh
[MON-stage_2_v9.0] Running shell script
+ sudo git clean -dfx
Removing .cache/
Removing .coverage
Removing .local/
Removing build.env
Removing changelog/
Removing cover/
Removing coverage.xml
Removing deb_dist/
Skipping repository devops/
Removing dist/
Removing dists/
Removing nosetests.xml
Removing osm_mon-9.1.4.post2+g80951bf.tar.gz
Removing osm_mon.egg-info/
Removing pool/
Removing vcd_pysdk.log
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (License Scan)
[Pipeline] sh
[MON-stage_2_v9.0] Running shell script
+ devops/tools/license_scan.sh
osm_mon/collector/service.py Apache-2.0
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Docker-Build)
[Pipeline] sh
[MON-stage_2_v9.0] Running shell script
+ docker build -t osm/mon-v9.0 .
Sending build context to Docker daemon   20.6MB

Step 1/6 : FROM ubuntu:20.04
 ---> 1318b700e415
Step 2/6 : 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
 ---> Using cache
 ---> 213172f35ad4
Step 3/6 : RUN python3 -m easy_install pip==21.0.1
 ---> Using cache
 ---> afe3c1840c5c
Step 4/6 : RUN pip3 install tox==3.22.0
 ---> Using cache
 ---> ffed3cc2bc6d
Step 5/6 : ENV LC_ALL C.UTF-8
 ---> Using cache
 ---> 452d4207a233
Step 6/6 : ENV LANG C.UTF-8
 ---> Using cache
 ---> adf7866ba897
Successfully built adf7866ba897
Successfully tagged osm/mon-v9.0:latest
[Pipeline] }
[Pipeline] // stage
[Pipeline] sh
[MON-stage_2_v9.0] Running shell script
+ id -u
[Pipeline] sh
[MON-stage_2_v9.0] Running shell script
+ id -g
[Pipeline] withDockerContainer
osm2 slave does not seem to be running inside a container
$ docker run -t -d -u 1017:1015 -u root -w /opt/jenkins/workspace/MON-stage_2_v9.0 -v /opt/jenkins/workspace/MON-stage_2_v9.0:/opt/jenkins/workspace/MON-stage_2_v9.0:rw,z -v /opt/jenkins/workspace/MON-stage_2_v9.0@tmp:/opt/jenkins/workspace/MON-stage_2_v9.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/mon-v9.0
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Test)
[Pipeline] sh
[MON-stage_2_v9.0] Running shell script
+ groupadd -o -g 1015 -r jenkins
[Pipeline] sh
[MON-stage_2_v9.0] Running shell script
+ pwd
+ useradd -o -u 1017 -d /opt/jenkins/workspace/MON-stage_2_v9.0 -r -g jenkins jenkins
[Pipeline] sh
[MON-stage_2_v9.0] Running shell script
+ echo #! /bin/sh
[Pipeline] sh
[MON-stage_2_v9.0] Running shell script
+ chmod 755 /usr/bin/mesg
[Pipeline] sh
[MON-stage_2_v9.0] Running shell script
+ runuser jenkins -c devops-stages/stage-test.sh
✔ OK black in 13.028 seconds
✔ OK flake8 in 14.541 seconds
✔ OK safety in 1 minute, 4.976 seconds
✔ OK cover in 2 minutes, 17.185 seconds
ERROR: invocation failed (exit code 1), logfile: /tmp/.tox/pylint/log/pylint-0.log
================================== log start ===================================
pylint create: /tmp/.tox/pylint
pylint installdeps: -r/opt/jenkins/workspace/MON-stage_2_v9.0/requirements.txt, -r/opt/jenkins/workspace/MON-stage_2_v9.0/requirements-dev.txt, -r/opt/jenkins/workspace/MON-stage_2_v9.0/requirements-test.txt, pylint
pylint develop-inst: /opt/jenkins/workspace/MON-stage_2_v9.0
pylint installed: aiokafka==0.7.0,appdirs==1.4.4,astroid==2.7.3,async-timeout==3.0.1,attrs==20.3.0,bcrypt==3.2.0,cachetools==4.2.1,certifi==2020.12.5,cffi==1.14.5,chardet==4.0.0,cliff==3.7.0,cmd2==1.5.0,colorama==0.4.4,coverage==5.5,cryptography==3.4.7,dataclasses==0.6,debtcollector==2.2.0,decorator==4.4.2,dogpile.cache==1.1.2,futurist==2.3.0,gnocchiclient==7.0.7,google-auth==1.28.0,humanfriendly==9.1,idna==2.10,iso8601==0.1.14,isort==5.9.3,jmespath==0.10.0,jsonpatch==1.32,jsonpointer==2.1,juju==2.8.4,jujubundlelib==0.5.6,kafka-python==2.0.2,keystoneauth1==4.3.1,kubernetes==10.0.1,lazy-object-proxy==1.6.0,lxml==4.6.3,macaroonbakery==1.3.1,mccabe==0.6.1,mock==4.0.3,monotonic==1.5,motor==1.3.1,msgpack==1.0.2,munch==2.5.0,mypy-extensions==0.4.3,-e git+https://osm.etsi.org/gerrit/osm/N2VC.git@2b83a9fa1daad721c22c82e8895f466c45d3655d#egg=N2VC,netaddr==0.8.0,netifaces==0.10.9,nose2==0.10.0,oauthlib==3.1.0,openstacksdk==0.55.0,os-client-config==2.1.0,os-service-types==1.7.0,osc-lib==2.3.1,oslo.config==8.5.0,oslo.context==3.2.0,oslo.i18n==5.0.1,oslo.log==4.4.0,oslo.serialization==4.1.0,oslo.utils==4.8.0,-e git+https://osm.etsi.org/gerrit/osm/common.git@4e49c9652e85ef8fd6393759740e63628a04b97a#egg=osm_common,-e git+https://osm.etsi.org/gerrit/osm/MON.git@d68abe3738974fcba038c8970421ee58a9770b7e#egg=osm_mon,packaging==20.9,paramiko==2.7.2,pbr==5.5.1,platformdirs==2.4.0,prettytable==0.7.2,prometheus-client==0.9.0,protobuf==3.15.6,pyasn1==0.4.8,pyasn1-modules==0.2.8,pycparser==2.20,pycrypto==2.6.1,Pygments==2.8.1,pyinotify==0.9.6,pylint==2.10.2,pymacaroons==0.13.0,pymongo==3.11.3,PyNaCl==1.4.0,pyparsing==2.4.7,pyperclip==1.8.2,pyRFC3339==1.1,python-ceilometerclient==2.9.0,python-dateutil==2.8.1,python-keystoneclient==4.2.0,python-neutronclient==7.3.0,python-novaclient==17.4.0,pytz==2021.1,pyvcloud==23.0.0,PyYAML==5.4.1,requests==2.25.1,requests-mock==1.8.0,requests-oauthlib==1.3.0,requestsexceptions==1.4.0,retrying-async==1.2.0,rfc3986==1.4.0,rsa==4.7.2,simplejson==3.17.2,six==1.15.0,stevedore==3.3.0,theblues==0.5.2,toml==0.10.2,toposort==1.6,typing-extensions==3.7.4.3,typing-inspect==0.6.0,ujson==4.0.2,unittest-xml-reporting==3.0.4,urllib3==1.26.4,vcd-api-schemas-type==9.1.2.dev10,wcwidth==0.2.5,websocket-client==0.58.0,websockets==7.0,wrapt==1.12.1
pylint run-test-pre: PYTHONHASHSEED='1494744579'
pylint run-test: commands[0] | pylint -E osm_mon
************* Module osm_mon.dashboarder.service
osm_mon/dashboarder/service.py:184:35: E1101: Instance of 'Response' has no 'permissions' member (no-member)
ERROR: InvocationError for command /tmp/.tox/pylint/bin/pylint -E osm_mon (exited with code 2)

=================================== log end ====================================
✖ FAIL pylint in 2 minutes, 34.961 seconds
___________________________________ summary ____________________________________
  black: commands succeeded
  cover: commands succeeded
  flake8: commands succeeded
ERROR:   pylint: parallel child exit code 1
  safety: commands succeeded[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
[MON-stage_2_v9.0] Running shell script
+ runuser jenkins -c devops-stages/stage-build.sh
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Archive)
[Pipeline] sh
[MON-stage_2_v9.0] Running shell script
+ runuser jenkins -c mkdir -p changelog
[Pipeline] sh
[MON-stage_2_v9.0] Running shell script
+ runuser jenkins -c devops/tools/generatechangelog-pipeline.sh > changelog/changelog-MON.html
[Pipeline] sh
[MON-stage_2_v9.0] Running shell script
+ runuser jenkins -c devops-stages/stage-archive.sh
devops-stages/stage-archive.sh: 32: apt-ftparchive: not found
[Pipeline] getArtifactoryServer
[Pipeline] newBuildInfo
[Pipeline] artifactoryUpload
[consumer_0] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-MON/v9.0-staging/72/dists/unstable/MON/binary-amd64/Packages.gz
[consumer_1] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-MON/v9.0-staging/72/dists/unstable/MON/binary-amd64/Packages
[consumer_2] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-MON/v9.0-staging/72/pool/MON/python3-osm-mon_9.1.4.post2%2Bgd68abe3-1_all.deb
[consumer_1] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-MON/v9.0-staging/72/changelog/changelog-MON.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/MON-stage_2%20::%20v9.0/72
[Pipeline] sh
[MON-stage_2_v9.0] Running shell script
+ env
[Pipeline] step
Archiving artifacts
Recording fingerprints
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
$ docker stop --time=1 0c7c1604e12265ad3251ecfe25059c81ff77a8a0306e40dda8d79d48731eecc4
$ docker rm -f 0c7c1604e12265ad3251ecfe25059c81ff77a8a0306e40dda8d79d48731eecc4
[Pipeline] // withDockerContainer
[Pipeline] fileExists
[Pipeline] stage
[Pipeline] { (Build System)
[Pipeline] build (Building osm-stage_3 » v9.0)
Scheduling project: osm-stage_3 » v9.0
Starting building: osm-stage_3 » v9.0 #377
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS