FailedConsole Output

Started by upstream project "devops-stage_1" build number 5323
originally caused by:
 Triggered by Gerrit: https://osm.etsi.org/gerrit/14050
 > git rev-parse --is-inside-work-tree # timeout=10
Setting origin to https://osm.etsi.org/gerrit/osm/devops.git
 > git config remote.origin.url https://osm.etsi.org/gerrit/osm/devops.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/WIM
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/multi_stack
Seen branch in repository origin/netslice
Seen branch in repository origin/new-pipeline
Seen branch in repository origin/ng-ro-refactor
Seen branch in repository origin/paas
Seen branch in repository origin/py3
Seen branch in repository origin/rift300
Seen branch in repository origin/sol006
Seen branch in repository origin/sol006v331
Seen branch in repository origin/systest
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/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 branch in repository origin/vagrant_stage_3
Seen 30 remote branches
Obtained Jenkinsfile from d31ac6bd4e18ff376d0a521b8520aa071693ec0d
Running in Durability level: MAX_SURVIVABILITY
[Pipeline] properties
[Pipeline] node
Running on osm worker 3 in /home/jenkins/workspace/devops-stage_2_v14.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/devops.git # timeout=10
Fetching without tags
Fetching upstream changes from https://osm.etsi.org/gerrit/osm/devops.git
 > git --version # timeout=10
 > git fetch --no-tags --force --progress https://osm.etsi.org/gerrit/osm/devops.git +refs/heads/*:refs/remotes/origin/*
Checking out Revision d31ac6bd4e18ff376d0a521b8520aa071693ec0d (v14.0)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f d31ac6bd4e18ff376d0a521b8520aa071693ec0d
Commit message: "Update full_install to remove pull of docker images before deploying with helm"
 > git rev-list --no-walk d31ac6bd4e18ff376d0a521b8520aa071693ec0d # timeout=10
[Pipeline] dir
Running in /home/jenkins/workspace/devops-stage_2_v14.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 --force --progress https://osm.etsi.org/gerrit/osm/devops +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/v14.0^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/v14.0^{commit} # timeout=10
Checking out Revision d31ac6bd4e18ff376d0a521b8520aa071693ec0d (refs/remotes/origin/v14.0)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f d31ac6bd4e18ff376d0a521b8520aa071693ec0d
 > git branch -a -v --no-abbrev # timeout=10
 > git branch -D v14.0 # timeout=10
 > git checkout -b v14.0 d31ac6bd4e18ff376d0a521b8520aa071693ec0d
Commit message: "Update full_install to remove pull of docker images before deploying with helm"
[Pipeline] sh
[devops] Running shell script
+ git fetch origin refs/changes/50/14050/2
From https://osm.etsi.org/gerrit/osm/devops
 * branch            refs/changes/50/14050/2 -> FETCH_HEAD
[Pipeline] sh
[devops] Running shell script
+ git checkout -f ff85b954d9a68b1a164e8a360b7474fa4c09bc67
Note: switching to 'ff85b954d9a68b1a164e8a360b7474fa4c09bc67'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at ff85b95 Pin version of charmed MongoDB to use channel 5/edge
[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
[devops-stage_2_v14.0] Running shell script
+ env
JENKINS_HOME=/var/lib/jenkins
SSH_CLIENT=212.234.161.1 41467 22
USER=jenkins
RUN_CHANGES_DISPLAY_URL=https://osm.etsi.org/jenkins/job/devops-stage_2/job/v14.0/42/display/redirect?page=changes
GERRIT_PROJECT=osm/devops
XDG_SESSION_TYPE=tty
SHLVL=0
NODE_LABELS=osm worker 3 osm3 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/devops-stage_2/job/v14.0/42/
HUDSON_COOKIE=83e535d4-d274-42f8-9c6d-3ef942e80ac7
JENKINS_SERVER_COOKIE=durable-6953b6b1914fac55182093024dd58c82
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus
GERRIT_PATCHSET_REVISION=ff85b954d9a68b1a164e8a360b7474fa4c09bc67
WORKSPACE=/home/jenkins/workspace/devops-stage_2_v14.0
LOGNAME=jenkins
NODE_NAME=osm worker 3
GERRIT_BRANCH=v14.0
_=/usr/bin/java
RUN_ARTIFACTS_DISPLAY_URL=https://osm.etsi.org/jenkins/job/devops-stage_2/job/v14.0/42/display/redirect?page=artifacts
XDG_SESSION_CLASS=user
EXECUTOR_NUMBER=4
XDG_SESSION_ID=2773
RUN_TESTS_DISPLAY_URL=https://osm.etsi.org/jenkins/job/devops-stage_2/job/v14.0/42/display/redirect?page=tests
BUILD_DISPLAY_NAME=#42
PROJECT_URL_PREFIX=https://osm.etsi.org/gerrit
HUDSON_HOME=/var/lib/jenkins
JOB_BASE_NAME=v14.0
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
BUILD_ID=42
XDG_RUNTIME_DIR=/run/user/1001
BUILD_TAG=jenkins-devops-stage_2-v14.0-42
JENKINS_URL=https://osm.etsi.org/jenkins/
LANG=C.UTF-8
JOB_URL=https://osm.etsi.org/jenkins/job/devops-stage_2/job/v14.0/
BUILD_NUMBER=42
SHELL=/bin/bash
RUN_DISPLAY_URL=https://osm.etsi.org/jenkins/job/devops-stage_2/job/v14.0/42/display/redirect
ARTIFACTORY_SERVER=artifactory-osm
GERRIT_REFSPEC=refs/changes/50/14050/2
HUDSON_SERVER_COOKIE=6d3295a483c3e6d5
JOB_DISPLAY_URL=https://osm.etsi.org/jenkins/job/devops-stage_2/job/v14.0/display/redirect
JOB_NAME=devops-stage_2/v14.0
TEST_INSTALL=true
PWD=/home/jenkins/workspace/devops-stage_2_v14.0
SSH_CONNECTION=212.234.161.1 41467 172.21.249.3 22
BRANCH_NAME=v14.0
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Checkout)
[Pipeline] sh
[devops-stage_2_v14.0] Running shell script
+ git fetch --tags
[Pipeline] sh
[devops-stage_2_v14.0] Running shell script
+ git fetch origin refs/changes/50/14050/2
From https://osm.etsi.org/gerrit/osm/devops
 * branch            refs/changes/50/14050/2 -> FETCH_HEAD
[Pipeline] sh
[devops-stage_2_v14.0] Running shell script
+ git checkout -f ff85b954d9a68b1a164e8a360b7474fa4c09bc67
Previous HEAD position was d31ac6b Update full_install to remove pull of docker images before deploying with helm
HEAD is now at ff85b95 Pin version of charmed MongoDB to use channel 5/edge
[devops-stage_2_v14.0] Running shell script
[Pipeline] sh
+ sudo git clean -dfx
Removing build.env
Removing changelog/
Removing debian/osm-devops.install
Removing devops@tmp/
Removing osm-devops-14.0.0.post8/
Removing osm-devops_14.0.0.post8-1.debian.tar.xz
Removing osm-devops_14.0.0.post8-1.dsc
Removing osm-devops_14.0.0.post8-1_amd64.buildinfo
Removing osm-devops_14.0.0.post8-1_amd64.changes
Removing osm-devops_14.0.0.post8.orig.tar.xz
Removing pool/
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (License Scan)
[Pipeline] sh
[devops-stage_2_v14.0] Running shell script
+ devops/tools/license_scan.sh
installers/full_install_osm.sh is text
installers/full_install_osm.sh Apache-2.0
[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
[devops-stage_2_v14.0] Running shell script
+ docker build --build-arg APT_PROXY=http://172.21.1.1:3142 -t osm/devops-v14.0 .
Sending build context to Docker daemon  300.6MB

Step 1/12 : FROM ubuntu:20.04
 ---> bf40b7bc7a11
Step 2/12 : ARG APT_PROXY
 ---> Using cache
 ---> 0d7179f7b11e
Step 3/12 : 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
 ---> 991d55fc7838
Step 4/12 : RUN DEBIAN_FRONTEND=noninteractive apt-get update &&     DEBIAN_FRONTEND=noninteractive apt-get -y install         debhelper         dh-make         git         python3         python3-all         python3-dev         python3-setuptools
 ---> Using cache
 ---> 44e66e3ce93c
Step 5/12 : RUN python3 -m easy_install pip==21.3.1
 ---> Using cache
 ---> 4be2984a3b75
Step 6/12 : RUN pip install tox==3.24.5
 ---> Using cache
 ---> 3915873302b4
Step 7/12 : ENV LC_ALL C.UTF-8
 ---> Using cache
 ---> 8f63966d1991
Step 8/12 : ENV LANG C.UTF-8
 ---> Using cache
 ---> 7e6f4a22e7d1
Step 9/12 : RUN DEBIAN_FRONTEND=noninteractive apt-get update &&     DEBIAN_FRONTEND=noninteractive apt-get -y install         unzip
 ---> Using cache
 ---> 9b0270e0f727
Step 10/12 : RUN curl https://get.helm.sh/helm-v3.11.3-linux-amd64.tar.gz --output helm-v3.11.3.tar.gz     && tar -zxvf helm-v3.11.3.tar.gz     && mv linux-amd64/helm /usr/local/bin/helm     && rm -r linux-amd64/
 ---> Using cache
 ---> cd3a85315169
Step 11/12 : RUN curl https://get.datree.io | /bin/bash
 ---> Using cache
 ---> 3ec111523b75
Step 12/12 : RUN helm plugin install https://github.com/datreeio/helm-datree
 ---> Using cache
 ---> 7693cb6ac988
Successfully built 7693cb6ac988
Successfully tagged osm/devops-v14.0:latest
[Pipeline] }
[Pipeline] // stage
[Pipeline] sh
[devops-stage_2_v14.0] Running shell script
+ id -u
[Pipeline] sh
[devops-stage_2_v14.0] Running shell script
+ id -g
[Pipeline] withDockerContainer
osm worker 3 does not seem to be running inside a container
$ docker run -t -d -u 1001:1001 -u root -w /home/jenkins/workspace/devops-stage_2_v14.0 -v /home/jenkins/workspace/devops-stage_2_v14.0:/home/jenkins/workspace/devops-stage_2_v14.0:rw,z -v /home/jenkins/workspace/devops-stage_2_v14.0@tmp:/home/jenkins/workspace/devops-stage_2_v14.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/devops-v14.0
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Test)
[Pipeline] sh
[devops-stage_2_v14.0] Running shell script
+ groupadd -o -g 1001 -r jenkins
[Pipeline] sh
[devops-stage_2_v14.0] Running shell script
+ pwd
+ useradd -o -u 1001 -d /home/jenkins/workspace/devops-stage_2_v14.0 -r -g jenkins jenkins
[Pipeline] sh
[devops-stage_2_v14.0] Running shell script
+ echo #! /bin/sh
[Pipeline] sh
[devops-stage_2_v14.0] Running shell script
+ chmod 755 /usr/bin/mesg
[Pipeline] sh
[devops-stage_2_v14.0] Running shell script
+ runuser jenkins -c devops-stages/stage-test.sh
==> Linting installers/helm/osm

1 chart(s) linted, 0 chart(s) failed
[Pipeline] fileExists
[Pipeline] fileExists
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build)
[Pipeline] sh
[devops-stage_2_v14.0] Running shell script
+ runuser jenkins -c devops-stages/stage-build.sh
 dpkg-source --before-build .
 fakeroot debian/rules clean
 dpkg-source -b .
 debian/rules build
 fakeroot debian/rules binary
 dpkg-genbuildinfo
 dpkg-genchanges  >../osm-devops_14.0.0.post8-1_amd64.changes
dpkg-genchanges: info: including full source code in upload
 fakeroot debian/rules clean
 dpkg-source --after-build .
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Archive)
[Pipeline] sh
[devops-stage_2_v14.0] Running shell script
+ runuser jenkins -c mkdir -p changelog
[Pipeline] sh
[devops-stage_2_v14.0] Running shell script
+ runuser jenkins -c devops/tools/generatechangelog-pipeline.sh > changelog/changelog-devops.html
[Pipeline] sh
[devops-stage_2_v14.0] Running shell script
+ runuser jenkins -c devops-stages/stage-archive.sh
[Pipeline] getArtifactoryServer
[Pipeline] newBuildInfo
[Pipeline] artifactoryUpload
[consumer_0] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-devops/v14.0-staging/42/pool/devops/osm-devops_14.0.0.post8-1_all.deb
[consumer_1] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-devops/v14.0-staging/42/changelog/changelog-devops.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/devops-stage_2%20::%20v14.0/42
[Pipeline] sh
[devops-stage_2_v14.0] Running shell script
+ env
[Pipeline] step
Archiving artifacts
Recording fingerprints
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
$ docker stop --time=1 8f92ef75461001a24424b0b9bf7ed88f817d70ea1a0ee1ffdff6bc2d0ab775d8
$ docker rm -f 8f92ef75461001a24424b0b9bf7ed88f817d70ea1a0ee1ffdff6bc2d0ab775d8
[Pipeline] // withDockerContainer
[Pipeline] stage
[Pipeline] { (Snap build)
[Pipeline] fileExists
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Charm build)
[Pipeline] sh
[devops-stage_2_v14.0] Running shell script
+ nproc
+ expr 16 / 2
[Pipeline] fileExists
[Pipeline] sh
[devops-stage_2_v14.0] Running shell script
+ git diff --name-only origin/v14.0 --+  installers/charm/bundles/osm
wc -l
[Pipeline] fileExists
[Pipeline] sh
[devops-stage_2_v14.0] Running shell script
+ git diff --name-only origin/v14.0 -- installers/charm/bundles/osm-ha
+ wc -l
[Pipeline] fileExists
[Pipeline] sh
[devops-stage_2_v14.0] Running shell script
+ git+  diff --name-only origin/v14.0 -- installers/charm/grafana
wc -l
[Pipeline] fileExists
[Pipeline] sh
[devops-stage_2_v14.0] Running shell script
+ git diff --name-only origin/v14.0 -- installers/charm/mongodb-exporter
+ wc -l
[Pipeline] fileExists
[Pipeline] sh
[devops-stage_2_v14.0] Running shell script
+ git diff --name-only origin/v14.0 -- installers/charm/mysqld-exporter
+ wc -l
[Pipeline] fileExists
[Pipeline] sh
[devops-stage_2_v14.0] Running shell script
+ git diff --name-only origin/v14.0 -- installers/charm/osm-lcm
+ wc -l
[Pipeline] fileExists
[Pipeline] sh
[devops-stage_2_v14.0] Running shell script
+ + git diff --name-onlywc origin/v14.0 -l --
 installers/charm/osm-mon
[Pipeline] fileExists
[Pipeline] sh
[devops-stage_2_v14.0] Running shell script
+ git diff --name-only origin/v14.0 -- installers/charm/osm-nbi
+ wc -l
[Pipeline] fileExists
[Pipeline] sh
[devops-stage_2_v14.0] Running shell script
+ git diff --name-only origin/v14.0 -- installers/charm/osm-ng-ui
+ wc -l
[Pipeline] fileExists
[Pipeline] sh
[devops-stage_2_v14.0] Running shell script
+ git diff --name-only origin/v14.0 -- installers/charm/osm-pol
+ wc -l
[Pipeline] fileExists
[devops-stage_2_v14.0] Running shell script
[Pipeline] sh
+ wc -l
+ git diff --name-only origin/v14.0 -- installers/charm/osm-ro
[Pipeline] fileExists
[Pipeline] sh
[devops-stage_2_v14.0] Running shell script
+ + git diff --name-onlywc origin/v14.0 -l --
 installers/charm/osm-update-db-operator
[Pipeline] fileExists
[Pipeline] sh
[devops-stage_2_v14.0] Running shell script
+ git diff --name-only origin/v14.0 -- installers/charm/prometheus
+ wc -l
[Pipeline] fileExists
[Pipeline] sh
[devops-stage_2_v14.0] Running shell script
+ wc -l
+ git diff --name-only origin/v14.0 -- installers/charm/vca-integrator-operator
[Pipeline] parallel
No branches to run
[Pipeline] // parallel
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build System)
[Pipeline] build (Building osm-stage_3 » v14.0)
Scheduling project: osm-stage_3 » v14.0
Starting building: osm-stage_3 » v14.0 #148
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: osm-stage_3 » v14.0 #148 completed with status FAILURE (propagate: false to ignore)
Finished: FAILURE