SuccessConsole Output

Started by upstream project "buildall-stage_2" build number 11
originally caused by:
 Started by user garciadeblas
 > git rev-parse --is-inside-work-tree # timeout=10
Setting origin to https://osm.etsi.org/gerrit/osm/POL.git
 > git config remote.origin.url https://osm.etsi.org/gerrit/osm/POL.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/v5.0
Seen 3 remote branches
Obtained Jenkinsfile from 28d5e049e96472f4482b4c6ae59b818b889abe47
[Pipeline] properties
[Pipeline] node
Running on osm2 slave in /opt/jenkins/workspace/POL-stage_2_v5.0-PDDCYZEGJCZ746CZB7CIPSPO27BUEGX2IBWCHHCZTS5VLWZ5RUZQ
[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/POL.git # timeout=10
Fetching upstream changes from https://osm.etsi.org/gerrit/osm/POL.git
 > git --version # timeout=10
 > git fetch --tags --progress https://osm.etsi.org/gerrit/osm/POL.git +refs/heads/*:refs/remotes/origin/*
Checking out Revision 28d5e049e96472f4482b4c6ae59b818b889abe47 (v5.0)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 28d5e049e96472f4482b4c6ae59b818b889abe47
 > git rev-list 28d5e049e96472f4482b4c6ae59b818b889abe47 # timeout=10
[Pipeline] dir
Running in /opt/jenkins/workspace/POL-stage_2_v5.0-PDDCYZEGJCZ746CZB7CIPSPO27BUEGX2IBWCHHCZTS5VLWZ5RUZQ/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/v5.0^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/v5.0^{commit} # timeout=10
Checking out Revision d50b2d1902ea6c236b076190a161fc7deafca284 (refs/remotes/origin/v5.0)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f d50b2d1902ea6c236b076190a161fc7deafca284
 > git branch -a -v --no-abbrev # timeout=10
 > git branch -D v5.0 # timeout=10
 > git checkout -b v5.0 d50b2d1902ea6c236b076190a161fc7deafca284
 > git rev-list d50b2d1902ea6c236b076190a161fc7deafca284 # 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
[POL-stage_2_v5.0-PDDCYZEGJCZ746CZB7CIPSPO27BUEGX2IBWCHHCZTS5VLWZ5RUZQ] 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 35985 22
USER=jenkins
RUN_CHANGES_DISPLAY_URL=https://osm.etsi.org/jenkins/job/POL-stage_2/job/v5.0/9/display/redirect?page=changes
GERRIT_PROJECT=osm/POL
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/POL-stage_2/job/v5.0/9/
HUDSON_COOKIE=6bb09abd-986d-4a0a-b58a-174d2ad0e7ca
JENKINS_SERVER_COOKIE=durable-f121ac17ab976c3ff27bda617a19407b
LC_MONETARY=fr_FR.UTF-8
WORKSPACE=/opt/jenkins/workspace/POL-stage_2_v5.0-PDDCYZEGJCZ746CZB7CIPSPO27BUEGX2IBWCHHCZTS5VLWZ5RUZQ
LOGNAME=jenkins
NODE_NAME=osm2 slave
GERRIT_BRANCH=v5.0
_=/usr/bin/java
EXECUTOR_NUMBER=0
XDG_SESSION_ID=3
BUILD_DISPLAY_NAME=#9
PROJECT_URL_PREFIX=https://osm.etsi.org/gerrit
HUDSON_HOME=/var/lib/jenkins
JOB_BASE_NAME=v5.0
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=9
XDG_RUNTIME_DIR=/run/user/1017
BUILD_TAG=jenkins-POL-stage_2-v5.0-9
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/POL-stage_2/job/v5.0/
BUILD_NUMBER=9
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/POL-stage_2/job/v5.0/9/display/redirect
ARTIFACTORY_SERVER=artifactory-osm
HUDSON_SERVER_COOKIE=6d3295a483c3e6d5
LC_MEASUREMENT=fr_FR.UTF-8
JOB_DISPLAY_URL=https://osm.etsi.org/jenkins/job/POL-stage_2/job/v5.0/display/redirect
LC_IDENTIFICATION=fr_FR.UTF-8
NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat
JOB_NAME=POL-stage_2/v5.0
TEST_INSTALL=false
PWD=/opt/jenkins/workspace/POL-stage_2_v5.0-PDDCYZEGJCZ746CZB7CIPSPO27BUEGX2IBWCHHCZTS5VLWZ5RUZQ
LC_ALL=en_US.UTF-8
SSH_CONNECTION=195.238.226.13 35985 172.21.1.2 22
LC_NUMERIC=fr_FR.UTF-8
LC_PAPER=fr_FR.UTF-8
BRANCH_NAME=v5.0
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Checkout)
[Pipeline] sh
[POL-stage_2_v5.0-PDDCYZEGJCZ746CZB7CIPSPO27BUEGX2IBWCHHCZTS5VLWZ5RUZQ] Running shell script
+ git fetch origin
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (License Scan)
[Pipeline] sh
[POL-stage_2_v5.0-PDDCYZEGJCZ746CZB7CIPSPO27BUEGX2IBWCHHCZTS5VLWZ5RUZQ] Running shell script
+ devops/tools/license_scan.sh
GERRIT BRANCH is v5.0
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
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Docker-Build)
[Pipeline] sh
[POL-stage_2_v5.0-PDDCYZEGJCZ746CZB7CIPSPO27BUEGX2IBWCHHCZTS5VLWZ5RUZQ] 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
[POL-stage_2_v5.0-PDDCYZEGJCZ746CZB7CIPSPO27BUEGX2IBWCHHCZTS5VLWZ5RUZQ] Running shell script
+ docker build -t osm/pol-v5.0 .
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.76 MB

Step 1 : FROM ubuntu:16.04
 ---> f1d200737f6f
Step 2 : RUN apt-get update &&   DEBIAN_FRONTEND=noninteractive apt-get --yes install git tox make python-all python3 python3-pip debhelper wget &&   DEBIAN_FRONTEND=noninteractive apt-get --yes install libmysqlclient-dev libxml2 python3-all &&   DEBIAN_FRONTEND=noninteractive pip3 install -U setuptools setuptools-version-command stdeb
 ---> Using cache
 ---> ad544baf7197
Step 3 : RUN groupadd -o -g 1015 -r jenkins
 ---> Using cache
 ---> e2ae66ae6fb0
Step 4 : RUN useradd -o -u 1017 --create-home -r -g jenkins jenkins
 ---> Using cache
 ---> f8ed601b151b
Successfully built f8ed601b151b
[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/POL-stage_2_v5.0-PDDCYZEGJCZ746CZB7CIPSPO27BUEGX2IBWCHHCZTS5VLWZ5RUZQ -v /opt/jenkins/workspace/POL-stage_2_v5.0-PDDCYZEGJCZ746CZB7CIPSPO27BUEGX2IBWCHHCZTS5VLWZ5RUZQ:/opt/jenkins/workspace/POL-stage_2_v5.0-PDDCYZEGJCZ746CZB7CIPSPO27BUEGX2IBWCHHCZTS5VLWZ5RUZQ:rw,z -v /opt/jenkins/workspace/POL-stage_2_v5.0-PDDCYZEGJCZ746CZB7CIPSPO27BUEGX2IBWCHHCZTS5VLWZ5RUZQ@tmp:/opt/jenkins/workspace/POL-stage_2_v5.0-PDDCYZEGJCZ746CZB7CIPSPO27BUEGX2IBWCHHCZTS5VLWZ5RUZQ@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/pol-v5.0
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Test)
[Pipeline] sh
[POL-stage_2_v5.0-PDDCYZEGJCZ746CZB7CIPSPO27BUEGX2IBWCHHCZTS5VLWZ5RUZQ] Running shell script
+ devops-stages/stage-test.sh
GLOB sdist-make: /opt/jenkins/workspace/POL-stage_2_v5.0-PDDCYZEGJCZ746CZB7CIPSPO27BUEGX2IBWCHHCZTS5VLWZ5RUZQ/setup.py
py3 create: /home/jenkins/.tox/py3
py3 installdeps: -r/opt/jenkins/workspace/POL-stage_2_v5.0-PDDCYZEGJCZ746CZB7CIPSPO27BUEGX2IBWCHHCZTS5VLWZ5RUZQ/test-requirements.txt
py3 inst: /home/jenkins/.tox/dist/osm_policy_module-5.0.5+g28d5e04.dirty.zip
py3 installed: aiokafka==0.4.3,flake8==2.6.2,jsonschema==2.6.0,kafka-python==1.4.3,mccabe==0.5.3,mock==2.0.0,osm-common==5.0.2.post3+g05ede8f,osm-policy-module==5.0.5+g28d5e04.dirty,pbr==5.1.2,peewee==3.1.7,pkg-resources==0.0.0,pycodestyle==2.0.0,pycrypto==2.6.1,pyflakes==1.2.3,pymongo==3.7.2,PyYAML==3.13,six==1.11.0
py3 runtests: PYTHONHASHSEED='2048146412'
py3 runtests: commands[0] | python3 -m unittest discover -v
test_send_instantiated_msg (osm_policy_module.tests.integration.test_kafka_messages.KafkaMessagesTest) ... Unable connect to "localhost:9092": Multiple exceptions: [Errno 111] Connect call failed ('::1', 9092), [Errno 111] Connect call failed ('127.0.0.1', 9092)
Unable connect to "localhost:9092": Multiple exceptions: [Errno 111] Connect call failed ('::1', 9092), [Errno 111] Connect call failed ('127.0.0.1', 9092)
skipped 'Kafka server not present.'
test_configure_scaling_groups (osm_policy_module.tests.integration.test_policy_agent.PolicyModuleAgentTest) ... Unclosed AIOKafkaProducer
producer: <aiokafka.producer.producer.AIOKafkaProducer object at 0x7f232f4eb630>
Unclosed AIOKafkaProducer
producer: <aiokafka.producer.producer.AIOKafkaProducer object at 0x7f232f4eb630>
Processing vnfr: {'vim-account-id': 'be48ae31-1d46-4892-a4b4-d69abd55714b', 'id': '0d9d06ad-3fc2-418c-9934-465e815fafe2', 'vdur': [{'status-detailed': None, 'status': 'ACTIVE', 'ip-address': '192.168.160.2', 'vdu-id-ref': 'cirros_vnfd-VM', 'interfaces': [{'mac-address': 'fa:16:3e:71:fd:b8', 'name': 'eth0', 'ip-address': '192.168.160.2'}], 'vim-id': '63a65636-9fc8-4022-b070-980823e6266a', 'name': 'cirros_ns-1-cirros_vnfd-VM-1'}], 'member-vnf-index-ref': '1', 'ip-address': '192.168.160.2', '_admin': {'created': 1535392482.0067868, 'projects_read': ['admin'], 'modified': 1535392482.0067868, 'projects_write': ['admin']}, '_id': '0d9d06ad-3fc2-418c-9934-465e815fafe2', 'nsr-id-ref': '87776f33-b67c-417a-8119-cb08e4098951', 'vnfd-id': '63f44c41-45ee-456b-b10d-5f08fb1796e0', 'vnfd-ref': 'cirros_vdu_scaling_vnf', 'connection-point': [{'name': 'eth0', 'id': None, 'connection-point-id': None}], 'created-time': 1535392482.0044956}
Processing vnfr: {'vim-account-id': 'be48ae31-1d46-4892-a4b4-d69abd55714b', 'id': '0d9d06ad-3fc2-418c-9934-465e815fafe2', 'vdur': [{'status-detailed': None, 'status': 'ACTIVE', 'ip-address': '192.168.160.2', 'vdu-id-ref': 'cirros_vnfd-VM', 'interfaces': [{'mac-address': 'fa:16:3e:71:fd:b8', 'name': 'eth0', 'ip-address': '192.168.160.2'}], 'vim-id': '63a65636-9fc8-4022-b070-980823e6266a', 'name': 'cirros_ns-1-cirros_vnfd-VM-1'}], 'member-vnf-index-ref': '1', 'ip-address': '192.168.160.2', '_admin': {'created': 1535392482.0067868, 'projects_read': ['admin'], 'modified': 1535392482.0067868, 'projects_write': ['admin']}, '_id': '0d9d06ad-3fc2-418c-9934-465e815fafe2', 'nsr-id-ref': '87776f33-b67c-417a-8119-cb08e4098951', 'vnfd-id': '63f44c41-45ee-456b-b10d-5f08fb1796e0', 'vnfd-ref': 'cirros_vdu_scaling_vnf', 'connection-point': [{'name': 'eth0', 'id': None, 'connection-point-id': None}], 'created-time': 1535392482.0044956}
Looking for vnfd 63f44c41-45ee-456b-b10d-5f08fb1796e0
Looking for vnfd 63f44c41-45ee-456b-b10d-5f08fb1796e0
Creating scaling group record in DB...
Creating scaling group record in DB...
Created scaling group record in DB : nsr_id=test_nsr_id, vnf_member_index=1, name=scale_cirros_vnfd-VM
Created scaling group record in DB : nsr_id=test_nsr_id, vnf_member_index=1, name=scale_cirros_vnfd-VM
Creating scaling policy record in DB...
Creating scaling policy record in DB...
Created scaling policy record in DB : name=auto_memory_util_above_threshold, scaling_group.name=scale_cirros_vnfd-VM
Created scaling policy record in DB : name=auto_memory_util_above_threshold, scaling_group.name=scale_cirros_vnfd-VM
Creating scaling criteria record in DB...
Creating scaling criteria record in DB...
Created scaling criteria record in DB : name=group1_memory_util_above_threshold, scaling_policy.name=auto_memory_util_above_threshold
Created scaling criteria record in DB : name=group1_memory_util_above_threshold, scaling_policy.name=auto_memory_util_above_threshold
Creating alarm for vdur {'status-detailed': None, 'status': 'ACTIVE', 'ip-address': '192.168.160.2', 'vdu-id-ref': 'cirros_vnfd-VM', 'interfaces': [{'mac-address': 'fa:16:3e:71:fd:b8', 'name': 'eth0', 'ip-address': '192.168.160.2'}], 'vim-id': '63a65636-9fc8-4022-b070-980823e6266a', 'name': 'cirros_ns-1-cirros_vnfd-VM-1'} 
Creating alarm for vdur {'status-detailed': None, 'status': 'ACTIVE', 'ip-address': '192.168.160.2', 'vdu-id-ref': 'cirros_vnfd-VM', 'interfaces': [{'mac-address': 'fa:16:3e:71:fd:b8', 'name': 'eth0', 'ip-address': '192.168.160.2'}], 'vim-id': '63a65636-9fc8-4022-b070-980823e6266a', 'name': 'cirros_ns-1-cirros_vnfd-VM-1'} 
Processing vnfr: {'vim-account-id': 'be48ae31-1d46-4892-a4b4-d69abd55714b', 'id': '3336eb44-77df-4c4f-9881-d2828d259864', 'vdur': [{'status-detailed': None, 'status': 'ACTIVE', 'ip-address': '192.168.160.10', 'vdu-id-ref': 'cirros_vnfd-VM', 'interfaces': [{'mac-address': 'fa:16:3e:1e:76:e8', 'name': 'eth0', 'ip-address': '192.168.160.10'}], 'vim-id': 'a154b8d3-2b10-421a-a51d-4b391d9bd366', 'name': 'cirros_ns-2-cirros_vnfd-VM-1'}], 'member-vnf-index-ref': '2', 'ip-address': '192.168.160.10', '_admin': {'created': 1535392482.0076294, 'projects_read': ['admin'], 'modified': 1535392482.0076294, 'projects_write': ['admin']}, '_id': '3336eb44-77df-4c4f-9881-d2828d259864', 'nsr-id-ref': '87776f33-b67c-417a-8119-cb08e4098951', 'vnfd-id': '63f44c41-45ee-456b-b10d-5f08fb1796e0', 'vnfd-ref': 'cirros_vdu_scaling_vnf', 'connection-point': [{'name': 'eth0', 'id': None, 'connection-point-id': None}], 'created-time': 1535392482.0044956}
Processing vnfr: {'vim-account-id': 'be48ae31-1d46-4892-a4b4-d69abd55714b', 'id': '3336eb44-77df-4c4f-9881-d2828d259864', 'vdur': [{'status-detailed': None, 'status': 'ACTIVE', 'ip-address': '192.168.160.10', 'vdu-id-ref': 'cirros_vnfd-VM', 'interfaces': [{'mac-address': 'fa:16:3e:1e:76:e8', 'name': 'eth0', 'ip-address': '192.168.160.10'}], 'vim-id': 'a154b8d3-2b10-421a-a51d-4b391d9bd366', 'name': 'cirros_ns-2-cirros_vnfd-VM-1'}], 'member-vnf-index-ref': '2', 'ip-address': '192.168.160.10', '_admin': {'created': 1535392482.0076294, 'projects_read': ['admin'], 'modified': 1535392482.0076294, 'projects_write': ['admin']}, '_id': '3336eb44-77df-4c4f-9881-d2828d259864', 'nsr-id-ref': '87776f33-b67c-417a-8119-cb08e4098951', 'vnfd-id': '63f44c41-45ee-456b-b10d-5f08fb1796e0', 'vnfd-ref': 'cirros_vdu_scaling_vnf', 'connection-point': [{'name': 'eth0', 'id': None, 'connection-point-id': None}], 'created-time': 1535392482.0044956}
Looking for vnfd 63f44c41-45ee-456b-b10d-5f08fb1796e0
Looking for vnfd 63f44c41-45ee-456b-b10d-5f08fb1796e0
Creating scaling group record in DB...
Creating scaling group record in DB...
Created scaling group record in DB : nsr_id=test_nsr_id, vnf_member_index=2, name=scale_cirros_vnfd-VM
Created scaling group record in DB : nsr_id=test_nsr_id, vnf_member_index=2, name=scale_cirros_vnfd-VM
Creating scaling policy record in DB...
Creating scaling policy record in DB...
Created scaling policy record in DB : name=auto_memory_util_above_threshold, scaling_group.name=scale_cirros_vnfd-VM
Created scaling policy record in DB : name=auto_memory_util_above_threshold, scaling_group.name=scale_cirros_vnfd-VM
Creating scaling criteria record in DB...
Creating scaling criteria record in DB...
Created scaling criteria record in DB : name=group1_memory_util_above_threshold, scaling_policy.name=auto_memory_util_above_threshold
Created scaling criteria record in DB : name=group1_memory_util_above_threshold, scaling_policy.name=auto_memory_util_above_threshold
Creating alarm for vdur {'status-detailed': None, 'status': 'ACTIVE', 'ip-address': '192.168.160.10', 'vdu-id-ref': 'cirros_vnfd-VM', 'interfaces': [{'mac-address': 'fa:16:3e:1e:76:e8', 'name': 'eth0', 'ip-address': '192.168.160.10'}], 'vim-id': 'a154b8d3-2b10-421a-a51d-4b391d9bd366', 'name': 'cirros_ns-2-cirros_vnfd-VM-1'} 
Creating alarm for vdur {'status-detailed': None, 'status': 'ACTIVE', 'ip-address': '192.168.160.10', 'vdu-id-ref': 'cirros_vnfd-VM', 'interfaces': [{'mac-address': 'fa:16:3e:1e:76:e8', 'name': 'eth0', 'ip-address': '192.168.160.10'}], 'vim-id': 'a154b8d3-2b10-421a-a51d-4b391d9bd366', 'name': 'cirros_ns-2-cirros_vnfd-VM-1'} 
/home/jenkins/.tox/py3/lib/python3.5/site-packages/aiokafka/producer/producer.py:225: ResourceWarning: Unclosed AIOKafkaProducer <aiokafka.producer.producer.AIOKafkaProducer object at 0x7f232f4eb630>
  **kwargs)
ok
test_handle_alarm_notification (osm_policy_module.tests.unit.core.test_policy_agent.PolicyAgentTest) ... Received alarm notification for alarm test_alarm_uuid,             metric test_metric_name,             operation test_operation,             threshold test_threshold_value,             vdu_name test_vdu_name,             vnf_member_index test_vnf_member_index,             ns_id test_nsr_id 
Received alarm notification for alarm test_alarm_uuid,             metric test_metric_name,             operation test_operation,             threshold test_threshold_value,             vdu_name test_vdu_name,             vnf_member_index test_vnf_member_index,             ns_id test_nsr_id 
Sending scaling action message for ns: test_nsr_id
Sending scaling action message for ns: test_nsr_id
Received alarm notification for alarm test_alarm_uuid,             metric test_metric_name,             operation test_operation,             threshold test_threshold_value,             vdu_name test_vdu_name,             vnf_member_index test_vnf_member_index,             ns_id test_nsr_id 
Received alarm notification for alarm test_alarm_uuid,             metric test_metric_name,             operation test_operation,             threshold test_threshold_value,             vdu_name test_vdu_name,             vnf_member_index test_vnf_member_index,             ns_id test_nsr_id 
Time between last scale and now is less than cooldown time. Skipping.
Time between last scale and now is less than cooldown time. Skipping.
/usr/lib/python3.5/asyncio/base_events.py:429: ResourceWarning: unclosed event loop <_UnixSelectorEventLoop running=False closed=False debug=False>
  warnings.warn("unclosed event loop %r" % self, ResourceWarning)
ok
test_handle_instantiated_or_scaled (osm_policy_module.tests.unit.core.test_policy_agent.PolicyAgentTest) ... Configuring scaling groups for network service with nsr_id: test_nsr_id
Configuring scaling groups for network service with nsr_id: test_nsr_id
Checking for orphaned alarms to be deleted for network service with nsr_id: test_nsr_id
Checking for orphaned alarms to be deleted for network service with nsr_id: test_nsr_id
Network service is not in COMPLETED or PARTIALLY_COMPLETED state. Current state is FAILED. Skipping...
Network service is not in COMPLETED or PARTIALLY_COMPLETED state. Current state is FAILED. Skipping...
ok
test_get_mgmt_vdu_by_cp (osm_policy_module.tests.unit.utils.test_vnfd_utils.VnfdUtilsTest) ... ok
test_get_mgmt_vdu_by_id (osm_policy_module.tests.unit.utils.test_vnfd_utils.VnfdUtilsTest) ... ok

----------------------------------------------------------------------
Ran 6 tests in 0.068s

OK (skipped=1)
flake8 create: /home/jenkins/.tox/flake8
flake8 installdeps: flake8
flake8 inst: /home/jenkins/.tox/dist/osm_policy_module-5.0.5+g28d5e04.dirty.zip
flake8 installed: aiokafka==0.4.3,entrypoints==0.3,flake8==3.7.4,jsonschema==2.6.0,kafka-python==1.4.3,mccabe==0.6.1,osm-common==5.0.2.post3+g05ede8f,osm-policy-module==5.0.5+g28d5e04.dirty,peewee==3.1.7,pkg-resources==0.0.0,pycodestyle==2.5.0,pycrypto==2.6.1,pyflakes==2.1.0,pymongo==3.7.2,PyYAML==3.13,six==1.11.0
flake8 runtests: PYTHONHASHSEED='2048146412'
flake8 runtests: commands[0] | flake8 osm_policy_module
___________________________________ summary ____________________________________
  py3: commands succeeded
  flake8: commands succeeded
  congratulations :)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build)
[Pipeline] sh
[POL-stage_2_v5.0-PDDCYZEGJCZ746CZB7CIPSPO27BUEGX2IBWCHHCZTS5VLWZ5RUZQ] Running shell script
+ devops-stages/stage-build.sh
/usr/local/lib/python3.5/dist-packages/setuptools/dist.py:398: UserWarning: Normalizing 'v5.0.5+g28d5e04.dirty' to '5.0.5+g28d5e04.dirty'
  normalized_version,
warning: no files found matching '*.xml' under directory 'osm_policy_module'
warning: no files found matching '*.sh' under directory 'osm_policy_module'
CALLING dpkg-source -b osm-policy-module-5.0.5+g28d5e04.dirty osm-policy-module_5.0.5+g28d5e04.dirty.orig.tar.gz (in dir deb_dist)
 dpkg-source --before-build osm-policy-module-5.0.5+g28d5e04.dirty
 fakeroot debian/rules clean
/usr/local/lib/python3.5/dist-packages/setuptools/dist.py:398: UserWarning: Normalizing 'v5.0.5+g28d5e04.dirty' to '5.0.5+g28d5e04.dirty'
  normalized_version,
'build/lib' does not exist -- can't clean it
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.5' does not exist -- can't clean it
 dpkg-source -b osm-policy-module-5.0.5+g28d5e04.dirty
 dpkg-genchanges -S -sa >../osm-policy-module_5.0.5+g28d5e04.dirty-1_source.changes
dpkg-genchanges: including full source code in upload
 dpkg-source --after-build osm-policy-module-5.0.5+g28d5e04.dirty
dpkg-source: warning: extracting unsigned source package (osm-policy-module_5.0.5+g28d5e04.dirty-1.dsc)
 dpkg-source --before-build osm-policy-module-5.0.5+g28d5e04.dirty
 fakeroot debian/rules clean
/usr/local/lib/python3.5/dist-packages/setuptools/dist.py:398: UserWarning: Normalizing 'v5.0.5+g28d5e04.dirty' to '5.0.5+g28d5e04.dirty'
  normalized_version,
'build/lib' does not exist -- can't clean it
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.5' does not exist -- can't clean it
 dpkg-source -b osm-policy-module-5.0.5+g28d5e04.dirty
 debian/rules build
/usr/local/lib/python3.5/dist-packages/setuptools/dist.py:398: UserWarning: Normalizing 'v5.0.5+g28d5e04.dirty' to '5.0.5+g28d5e04.dirty'
  normalized_version,
warning: no files found matching '*.xml' under directory 'osm_policy_module'
warning: no files found matching '*.sh' under directory 'osm_policy_module'
 fakeroot debian/rules binary
/usr/local/lib/python3.5/dist-packages/setuptools/dist.py:398: UserWarning: Normalizing 'v5.0.5+g28d5e04.dirty' to '5.0.5+g28d5e04.dirty'
  normalized_version,
warning: no files found matching '*.xml' under directory 'osm_policy_module'
warning: no files found matching '*.sh' under directory 'osm_policy_module'
I: dh_python3 fs:379: renaming osm_policy_module-5.0.5+g28d5e04.dirty-py3.5.egg-info to osm_policy_module-5.0.5+g28d5e04.dirty.egg-info
I: dh_python3 pydist:184: Cannot find package that provides aiokafka. Please add package that provides it to Build-Depends or add "aiokafka python3-aiokafka" line to debian/py3dist-overrides or add proper  dependency to Depends by hand and ignore this info.
I: dh_python3 pydist:184: Cannot find package that provides peewee. Please add package that provides it to Build-Depends or add "peewee python3-peewee" line to debian/py3dist-overrides or add proper  dependency to Depends by hand and ignore this info.
I: dh_python3 pydist:184: 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.
 dpkg-genchanges  >../osm-policy-module_5.0.5+g28d5e04.dirty-1_amd64.changes
dpkg-genchanges: including full source code in upload
 dpkg-source --after-build osm-policy-module-5.0.5+g28d5e04.dirty
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Archive)
[Pipeline] sh
[POL-stage_2_v5.0-PDDCYZEGJCZ746CZB7CIPSPO27BUEGX2IBWCHHCZTS5VLWZ5RUZQ] Running shell script
+ mkdir -p changelog
[Pipeline] sh
[POL-stage_2_v5.0-PDDCYZEGJCZ746CZB7CIPSPO27BUEGX2IBWCHHCZTS5VLWZ5RUZQ] Running shell script
+ devops/tools/generatechangelog-pipeline.sh
[Pipeline] sh
[POL-stage_2_v5.0-PDDCYZEGJCZ746CZB7CIPSPO27BUEGX2IBWCHHCZTS5VLWZ5RUZQ] Running shell script
+ devops-stages/stage-archive.sh
devops-stages/stage-archive.sh: 32: devops-stages/stage-archive.sh: apt-ftparchive: not found
[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-POL/v5.0-staging/9/pool/POL/python3-osm-policy-module_5.0.5+g28d5e04.dirty-1_all.deb
Deploying artifact: http://osm1.etsi.org:8081/artifactory/osm-POL/v5.0-staging/9/dists/unstable/POL/binary-amd64/Packages.gz
Deploying artifact: http://osm1.etsi.org:8081/artifactory/osm-POL/v5.0-staging/9/dists/unstable/POL/binary-amd64/Packages
Deploying artifact: http://osm1.etsi.org:8081/artifactory/osm-POL/v5.0-staging/9/changelog/changelog-POL.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/POL-stage_2%20::%20v5.0/9
[Pipeline] sh
[POL-stage_2_v5.0-PDDCYZEGJCZ746CZB7CIPSPO27BUEGX2IBWCHHCZTS5VLWZ5RUZQ] Running shell script
+ env
[Pipeline] step
Archiving artifacts
Recording fingerprints
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
$ docker stop --time=1 b54463205627ab494b8b56551ff8d02a43ec5f80efbb9d0a4933407089e6fc17
$ docker rm -f b54463205627ab494b8b56551ff8d02a43ec5f80efbb9d0a4933407089e6fc17
[Pipeline] // withDockerContainer
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS