SuccessConsole Output

Started by upstream project "buildall-stage_2-merge-v10" build number 292
originally caused by:
 Started by timer
 > git rev-parse --is-inside-work-tree # timeout=10
Setting origin to https://osm.etsi.org/gerrit/osm/IM.git
 > git config remote.origin.url https://osm.etsi.org/gerrit/osm/IM.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/paas
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/v11.0
Seen branch in repository origin/v12.0
Seen branch in repository origin/v13.0
Seen branch in repository origin/v14.0
Seen branch in repository origin/v15.0
Seen branch in repository origin/v2.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 25 remote branches
Obtained Jenkinsfile from 5fa114a0c18a1f84ac56edfa1899b86e354ea9ee
Running in Durability level: MAX_SURVIVABILITY
[Pipeline] properties
[Pipeline] node
Running on osm-cicd-2 in /home/jenkins/workspace/IM-stage_2-merge_v10.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/IM.git # timeout=10
Fetching without tags
Fetching upstream changes from https://osm.etsi.org/gerrit/osm/IM.git
 > git --version # timeout=10
 > git fetch --no-tags --force --progress https://osm.etsi.org/gerrit/osm/IM.git +refs/heads/*:refs/remotes/origin/*
Checking out Revision 5fa114a0c18a1f84ac56edfa1899b86e354ea9ee (v10.0)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 5fa114a0c18a1f84ac56edfa1899b86e354ea9ee
Commit message: "Update Makefile to work properly under Git bash for Windows"
 > git rev-list --no-walk 5fa114a0c18a1f84ac56edfa1899b86e354ea9ee # timeout=10
Running in /home/jenkins/workspace/IM-stage_2-merge_v10.0/devops
[Pipeline] dir
[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 --force --progress https://osm.etsi.org/gerrit/osm/devops +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/v10.0^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/v10.0^{commit} # timeout=10
Checking out Revision f92f3137aeecbc88d221f44b7e992af1f5e116aa (refs/remotes/origin/v10.0)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f f92f3137aeecbc88d221f44b7e992af1f5e116aa
 > git branch -a -v --no-abbrev # timeout=10
 > git branch -D v10.0 # timeout=10
 > git checkout -b v10.0 f92f3137aeecbc88d221f44b7e992af1f5e116aa
Commit message: "Changing charmed installer to use 10.0/stable Fixing black error in keystone charm"
 > git rev-list --no-walk f92f3137aeecbc88d221f44b7e992af1f5e116aa # 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
[IM-stage_2-merge_v10.0] Running shell script
+ env
JENKINS_HOME=/var/lib/jenkins
SSH_CLIENT=212.234.161.1 51943 22
USER=jenkins
RUN_CHANGES_DISPLAY_URL=https://osm.etsi.org/jenkins/job/IM-stage_2-merge/job/v10.0/341/display/redirect?page=changes
GERRIT_PROJECT=osm/IM
XDG_SESSION_TYPE=tty
SHLVL=0
NODE_LABELS=docker osm-cicd-2 osm2 pipeline stage_2
HUDSON_URL=https://osm.etsi.org/jenkins/
MOTD_SHOWN=pam
OLDPWD=/home/jenkins
HOME=/home/jenkins
BUILD_URL=https://osm.etsi.org/jenkins/job/IM-stage_2-merge/job/v10.0/341/
HUDSON_COOKIE=a1281a74-573c-45b5-8cc5-45acbc7f2792
JENKINS_SERVER_COOKIE=durable-d41a0a001531d90f608ce7e47c61b2c3
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus
GERRIT_PATCHSET_REVISION=5fa114a0c18a1f84ac56edfa1899b86e354ea9ee
WORKSPACE=/home/jenkins/workspace/IM-stage_2-merge_v10.0
LOGNAME=jenkins
NODE_NAME=osm-cicd-2
GERRIT_BRANCH=v10.0
_=/usr/bin/java
RUN_ARTIFACTS_DISPLAY_URL=https://osm.etsi.org/jenkins/job/IM-stage_2-merge/job/v10.0/341/display/redirect?page=artifacts
XDG_SESSION_CLASS=user
EXECUTOR_NUMBER=2
XDG_SESSION_ID=144
RUN_TESTS_DISPLAY_URL=https://osm.etsi.org/jenkins/job/IM-stage_2-merge/job/v10.0/341/display/redirect?page=tests
BUILD_DISPLAY_NAME=#341
PROJECT_URL_PREFIX=https://osm.etsi.org/gerrit
HUDSON_HOME=/var/lib/jenkins
JOB_BASE_NAME=v10.0
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
BUILD_ID=341
XDG_RUNTIME_DIR=/run/user/1001
BUILD_TAG=jenkins-IM-stage_2-merge-v10.0-341
JENKINS_URL=https://osm.etsi.org/jenkins/
LANG=C.UTF-8
JOB_URL=https://osm.etsi.org/jenkins/job/IM-stage_2-merge/job/v10.0/
BUILD_NUMBER=341
SHELL=/bin/bash
RUN_DISPLAY_URL=https://osm.etsi.org/jenkins/job/IM-stage_2-merge/job/v10.0/341/display/redirect
ARTIFACTORY_SERVER=artifactory-osm
GERRIT_REFSPEC=refs/changes/56/12556/1
HUDSON_SERVER_COOKIE=6d3295a483c3e6d5
JOB_DISPLAY_URL=https://osm.etsi.org/jenkins/job/IM-stage_2-merge/job/v10.0/display/redirect
JOB_NAME=IM-stage_2-merge/v10.0
TEST_INSTALL=false
PWD=/home/jenkins/workspace/IM-stage_2-merge_v10.0
SSH_CONNECTION=212.234.161.1 51943 172.21.249.2 22
BRANCH_NAME=v10.0
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Checkout)
[Pipeline] sh
[IM-stage_2-merge_v10.0] Running shell script
+ git fetch --tags
[Pipeline] sh
[IM-stage_2-merge_v10.0] Running shell script
+ git fetch origin refs/changes/56/12556/1
From https://osm.etsi.org/gerrit/osm/IM
 * branch            refs/changes/56/12556/1 -> FETCH_HEAD
[Pipeline] sh
[IM-stage_2-merge_v10.0] Running shell script
+ git checkout -f 5fa114a0c18a1f84ac56edfa1899b86e354ea9ee
HEAD is now at 5fa114a Update Makefile to work properly under Git bash for Windows
[Pipeline] sh
[IM-stage_2-merge_v10.0] Running shell script
+ sudo git clean -dfx
Removing .cache/
Removing .coverage
Removing .local/
Removing .m2/
Removing .wget-hsts
Removing build.env
Removing changelog/
Removing cover/
Removing coverage.xml
Skipping repository deb_dist/osm-im-10.1.5+g5fa114a/sol006_model
Removing deb_dist/osm-im-10.1.5+g5fa114a/PKG-INFO
Removing deb_dist/osm-im-10.1.5+g5fa114a/README.rst
Removing deb_dist/osm-im-10.1.5+g5fa114a/debian
Removing deb_dist/osm-im-10.1.5+g5fa114a/osm_im.egg-info
Removing deb_dist/osm-im-10.1.5+g5fa114a/LICENSE
Removing deb_dist/osm-im-10.1.5+g5fa114a/osm_im
Removing deb_dist/osm-im-10.1.5+g5fa114a/.pc
Removing deb_dist/osm-im-10.1.5+g5fa114a/models
Removing deb_dist/osm-im-10.1.5+g5fa114a/patch
Removing deb_dist/osm-im-10.1.5+g5fa114a/setup.py
Removing deb_dist/osm-im-10.1.5+g5fa114a/setup.cfg
Removing deb_dist/osm-im-10.1.5+g5fa114a/Makefile
Removing deb_dist/osm-im-10.1.5+g5fa114a/build
Removing deb_dist/osm-im-10.1.5+g5fa114a/MANIFEST.in
Removing deb_dist/osm-im_10.1.5+g5fa114a-1.debian.tar.xz
Removing deb_dist/osm-im_10.1.5+g5fa114a-1.dsc
Removing deb_dist/osm-im_10.1.5+g5fa114a-1_source.changes
Removing deb_dist/osm-im_10.1.5+g5fa114a-1_amd64.changes
Removing deb_dist/osm-im_10.1.5+g5fa114a.orig.tar.gz
Removing deb_dist/osm-im_10.1.5+g5fa114a-1_amd64.buildinfo
Removing deb_dist/osm-im_10.1.5+g5fa114a-1_source.buildinfo
Removing debian/osm-imdocs.install
Removing dist/
Removing dists/
Removing models/yang/ietf-inet-types.yang
Removing models/yang/ietf-yang-types.yang
Removing osm-imdocs-10.1.5/
Removing osm-imdocs_10.1.5-g5fa114a.debian.tar.xz
Removing osm-imdocs_10.1.5-g5fa114a.dsc
Removing osm-imdocs_10.1.5-g5fa114a_amd64.buildinfo
Removing osm-imdocs_10.1.5-g5fa114a_amd64.changes
Removing osm-imdocs_10.1.5.orig.tar.xz
Removing osm_im-10.1.5+g5fa114a.tar.gz
Removing osm_im.egg-info/
Removing osm_im/etsi_nfv_nsd.py
Removing osm_im/etsi_nfv_vnfd.py
Removing osm_im/nsd.py
Removing osm_im/nsi.py
Removing osm_im/nst.py
Removing osm_im/osm.yaml
Removing osm_im/vnfd.py
Removing osm_im_trees/
Removing pool/
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (License Scan)
[Pipeline] echo
skip the scan for merge
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Release Note Check)
[Pipeline] fileExists
[Pipeline] echo
No releasenote check present
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Docker-Build)
[Pipeline] sh
[IM-stage_2-merge_v10.0] Running shell script
+ docker build -t osm/im-v10.0 .
Sending build context to Docker daemon  63.56MB

Step 1/8 : FROM ubuntu:20.04
 ---> f78909c2b360
Step 2/8 : ARG APT_PROXY
 ---> Using cache
 ---> ad00a18b3e37
Step 3/8 : RUN if [ ! -z $APT_PROXY ] ; then     echo "Acquire::http::Proxy \"$APT_PROXY\";" > /etc/apt/apt.conf.d/proxy.conf ;    echo "Acquire::https::Proxy \"$APT_PROXY\";" >> /etc/apt/apt.conf.d/proxy.conf ;    fi
 ---> Using cache
 ---> 55e644c707a2
Step 4/8 : RUN DEBIAN_FRONTEND=noninteractive apt-get update &&     DEBIAN_FRONTEND=noninteractive apt-get -y install         debhelper         dh-python         git         python3.8         python3-all         python3.8-dev         python3-setuptools
 ---> Using cache
 ---> db63e9c930bd
Step 5/8 : RUN python3 -m easy_install pip==21.3.1
 ---> Using cache
 ---> dce0dc7e1415
Step 6/8 : RUN pip install tox==3.24.5
 ---> Using cache
 ---> 70ced7f8c2d8
Step 7/8 : RUN DEBIAN_FRONTEND=noninteractive apt -y install wget build-essential dh-make                                             openjdk-8-jdk maven
 ---> Using cache
 ---> e7ea134b89aa
Step 8/8 : RUN update-java-alternatives --set /usr/lib/jvm/java-1.8.0-openjdk-amd64
 ---> Using cache
 ---> 06877c43f394
Successfully built 06877c43f394
Successfully tagged osm/im-v10.0:latest
[Pipeline] }
[Pipeline] // stage
[Pipeline] sh
[IM-stage_2-merge_v10.0] Running shell script
+ id -u
[Pipeline] sh
[IM-stage_2-merge_v10.0] Running shell script
+ id -g
[Pipeline] withDockerContainer
osm-cicd-2 does not seem to be running inside a container
$ docker run -t -d -u 1001:1001 -u root -w /home/jenkins/workspace/IM-stage_2-merge_v10.0 -v /home/jenkins/workspace/IM-stage_2-merge_v10.0:/home/jenkins/workspace/IM-stage_2-merge_v10.0:rw,z -v /home/jenkins/workspace/IM-stage_2-merge_v10.0@tmp:/home/jenkins/workspace/IM-stage_2-merge_v10.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 ******** -e ******** -e ******** --entrypoint cat osm/im-v10.0
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Test)
[Pipeline] sh
[IM-stage_2-merge_v10.0] Running shell script
+ groupadd -o -g 1001 -r jenkins
[Pipeline] sh
[IM-stage_2-merge_v10.0] Running shell script
+ pwd
+ useradd -o -u 1001 -d /home/jenkins/workspace/IM-stage_2-merge_v10.0 -r -g jenkins jenkins
[Pipeline] sh
[IM-stage_2-merge_v10.0] Running shell script
+ echo #! /bin/sh
[Pipeline] sh
[IM-stage_2-merge_v10.0] Running shell script
+ chmod 755 /usr/bin/mesg
[Pipeline] sh
[IM-stage_2-merge_v10.0] Running shell script
+ runuser jenkins -c devops-stages/stage-test.sh
ERROR: invocation failed (exit code 1), logfile: /tmp/.tox/flake8/log/flake8-0.log
================================== log start ===================================
flake8 create: /tmp/.tox/flake8
flake8 installdeps: -r/home/jenkins/workspace/IM-stage_2-merge_v10.0/requirements.txt
ERROR: invocation failed (exit code 1), logfile: /tmp/.tox/flake8/log/flake8-2.log
================================== log start ===================================
Collecting bitarray==2.3.5 (from -r /home/jenkins/workspace/IM-stage_2-merge_v10.0/requirements.txt (line 17))
  Using cached bitarray-2.3.5.tar.gz (88 kB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting enum34==1.1.10 (from -r /home/jenkins/workspace/IM-stage_2-merge_v10.0/requirements.txt (line 19))
  Using cached enum34-1.1.10-py3-none-any.whl (11 kB)
Collecting lxml==4.7.1 (from -r /home/jenkins/workspace/IM-stage_2-merge_v10.0/requirements.txt (line 21))
  Using cached lxml-4.7.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (6.9 MB)
Collecting pyang==2.5.2 (from -r /home/jenkins/workspace/IM-stage_2-merge_v10.0/requirements.txt (line 25))
  Downloading pyang-2.5.2-py2.py3-none-any.whl (595 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 595.5/595.5 kB 978.3 kB/s eta 0:00:00
Collecting pyangbind==0.8.1 (from -r /home/jenkins/workspace/IM-stage_2-merge_v10.0/requirements.txt (line 29))
  Downloading pyangbind-0.8.1.tar.gz (48 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.6/48.6 kB 90.2 kB/s eta 0:00:00
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting pyyaml==5.4.1 (from -r /home/jenkins/workspace/IM-stage_2-merge_v10.0/requirements.txt (line 31))
  Downloading PyYAML-5.4.1-cp38-cp38-manylinux1_x86_64.whl (662 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 662.4/662.4 kB 1.6 MB/s eta 0:00:00
Collecting regex==2021.11.10 (from -r /home/jenkins/workspace/IM-stage_2-merge_v10.0/requirements.txt (line 33))
  Downloading regex-2021.11.10-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (764 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 764.7/764.7 kB 17.0 MB/s eta 0:00:00
Collecting six==1.16.0 (from -r /home/jenkins/workspace/IM-stage_2-merge_v10.0/requirements.txt (line 35))
  Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Building wheels for collected packages: bitarray, pyangbind
  Building wheel for bitarray (setup.py): started
  Building wheel for bitarray (setup.py): finished with status 'done'
  Created wheel for bitarray: filename=bitarray-2.3.5-cp38-cp38-linux_x86_64.whl size=188752 sha256=27f7eb61233aa2e85b2c7dc0c71e43fa1d361a800c68af4d410579afd9f177d0
  Stored in directory: /home/jenkins/workspace/IM-stage_2-merge_v10.0/.cache/pip/wheels/94/69/4b/830f24f80f3064bf446eb37eb441d7c1af74eda281bc2d9d03
ERROR: Wheel 'bitarray' located at /home/jenkins/workspace/IM-stage_2-merge_v10.0/.cache/pip/wheels/94/69/4b/830f24f80f3064bf446eb37eb441d7c1af74eda281bc2d9d03/bitarray-2.3.5-cp38-cp38-linux_x86_64.whl is invalid.

[notice] A new release of pip is available: 23.3.1 -> 23.3.2
[notice] To update, run: pip install --upgrade pip

=================================== log end ====================================
ERROR: could not install deps [-r/home/jenkins/workspace/IM-stage_2-merge_v10.0/requirements.txt]; v = InvocationError('/tmp/.tox/flake8/bin/python -m pip install -r/home/jenkins/workspace/IM-stage_2-merge_v10.0/requirements.txt', 1)

=================================== log end ====================================
✖ FAIL flake8 in 17.626 seconds
✔ OK pylint in 22.575 seconds
✔ OK black in 22.624 seconds
✔ OK safety in 26.911 seconds
✔ OK cover in 1 minute, 25.943 seconds
___________________________________ summary ____________________________________
  black: commands succeeded
  cover: commands succeeded
ERROR:   flake8: parallel child exit code 1
  pylint: commands succeeded
  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] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build)
[Pipeline] sh
[IM-stage_2-merge_v10.0] Running shell script
+ runuser jenkins -c devops-stages/stage-build.sh
+ rm -rf dist deb_dist osm*.tar.gz *.egg-info .eggs
+ tox -e dist
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Archive)
[Pipeline] sh
[IM-stage_2-merge_v10.0] Running shell script
+ runuser jenkins -c mkdir -p changelog
[Pipeline] sh
[IM-stage_2-merge_v10.0] Running shell script
+ runuser jenkins -c devops/tools/generatechangelog-pipeline.sh > changelog/changelog-IM.html
[Pipeline] sh
[IM-stage_2-merge_v10.0] Running shell script
+ runuser jenkins -c devops-stages/stage-archive.sh
mv: cannot stat 'pyangbind/deb_dist/*.deb': No such file or directory
mv: cannot stat 'pyang/deb_dist/*.deb': No such file or directory
devops-stages/stage-archive.sh: 13: apt-ftparchive: not found
[Pipeline] getArtifactoryServer
[Pipeline] newBuildInfo
[Pipeline] artifactoryUpload
[consumer_0] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-IM/v10.0/341/dists/unstable/IM/binary-amd64/Packages.gz
[consumer_1] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-IM/v10.0/341/dists/unstable/IM/binary-amd64/Packages
[consumer_2] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-IM/v10.0/341/pool/IM/python3-osm-im_10.1.5%2Bg5fa114a-1_all.deb
[consumer_1] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-IM/v10.0/341/pool/IM/osm-imdocs_10.1.5-g5fa114a_all.deb
[consumer_1] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-IM/v10.0/341/changelog/changelog-IM.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/IM-stage_2-merge%20::%20v10.0/341
[Pipeline] sh
[IM-stage_2-merge_v10.0] Running shell script
+ env
[Pipeline] step
Archiving artifacts
Recording fingerprints
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
$ docker stop --time=1 76823c905c5145db113a260298185c1675017ff84c7a2d6ad1c931c0609078c2
$ docker rm -f 76823c905c5145db113a260298185c1675017ff84c7a2d6ad1c931c0609078c2
[Pipeline] // withDockerContainer
[Pipeline] fileExists
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS