SuccessConsole Output

Started by upstream project "devops-stage_1-merge" build number 1631
originally caused by:
 Triggered by Gerrit: https://osm.etsi.org/gerrit/14423
 > 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 --force --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/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 branch in repository origin/vagrant_stage_3
Seen 31 remote branches
Obtained Jenkinsfile from 9c253bda06915c374c7e38144976923ee67787d5
Running in Durability level: MAX_SURVIVABILITY
[Pipeline] properties
[Pipeline] node
Running on osm-cicd-3 in /home/jenkins/workspace/devops-stage_2-merge_master
[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 9c253bda06915c374c7e38144976923ee67787d5 (master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 9c253bda06915c374c7e38144976923ee67787d5
Commit message: "Fix installation of Kubernetes metrics server by updating the URL"
 > git rev-list --no-walk 027f8ee24f2293c0ae049ecccf31be000da72e85 # timeout=10
Cleaning workspace
 > git rev-parse --verify HEAD # timeout=10
Resetting working tree
 > git reset --hard # timeout=10
 > git clean -fdx # timeout=10
[Pipeline] dir
Running in /home/jenkins/workspace/devops-stage_2-merge_master/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/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 9c253bda06915c374c7e38144976923ee67787d5 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 9c253bda06915c374c7e38144976923ee67787d5
 > git branch -a -v --no-abbrev # timeout=10
 > git branch -D master # timeout=10
 > git checkout -b master 9c253bda06915c374c7e38144976923ee67787d5
Commit message: "Fix installation of Kubernetes metrics server by updating the URL"
[Pipeline] sh
[devops] Running shell script
+ git fetch origin refs/changes/23/14423/1
From https://osm.etsi.org/gerrit/osm/devops
 * branch            refs/changes/23/14423/1 -> FETCH_HEAD
[Pipeline] sh
[devops] Running shell script
+ git checkout -f 9c253bda06915c374c7e38144976923ee67787d5
Note: switching to '9c253bda06915c374c7e38144976923ee67787d5'.

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 9c253bd Fix installation of Kubernetes metrics server by updating the URL
[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
[devops-stage_2-merge_master] Running shell script
+ env
JENKINS_HOME=/var/lib/jenkins
SSH_CLIENT=212.234.161.1 18265 22
USER=jenkins
RUN_CHANGES_DISPLAY_URL=https://osm.etsi.org/jenkins/job/devops-stage_2-merge/job/master/1657/display/redirect?page=changes
GERRIT_PROJECT=osm/devops
XDG_SESSION_TYPE=tty
SHLVL=0
NODE_LABELS=osm-cicd-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-merge/job/master/1657/
HUDSON_COOKIE=924bce85-a3e3-4e3d-9790-89757de148e3
JENKINS_SERVER_COOKIE=durable-342aed854e7b8baa661a9475c1a14279
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus
GERRIT_PATCHSET_REVISION=9c253bda06915c374c7e38144976923ee67787d5
WORKSPACE=/home/jenkins/workspace/devops-stage_2-merge_master
LOGNAME=jenkins
NODE_NAME=osm-cicd-3
GERRIT_BRANCH=master
_=/usr/bin/java
RUN_ARTIFACTS_DISPLAY_URL=https://osm.etsi.org/jenkins/job/devops-stage_2-merge/job/master/1657/display/redirect?page=artifacts
XDG_SESSION_CLASS=user
EXECUTOR_NUMBER=4
XDG_SESSION_ID=4194
RUN_TESTS_DISPLAY_URL=https://osm.etsi.org/jenkins/job/devops-stage_2-merge/job/master/1657/display/redirect?page=tests
BUILD_DISPLAY_NAME=#1657
PROJECT_URL_PREFIX=https://osm.etsi.org/gerrit
HUDSON_HOME=/var/lib/jenkins
JOB_BASE_NAME=master
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
BUILD_ID=1657
XDG_RUNTIME_DIR=/run/user/1001
BUILD_TAG=jenkins-devops-stage_2-merge-master-1657
JENKINS_URL=https://osm.etsi.org/jenkins/
LANG=C.UTF-8
JOB_URL=https://osm.etsi.org/jenkins/job/devops-stage_2-merge/job/master/
BUILD_NUMBER=1657
SHELL=/bin/bash
RUN_DISPLAY_URL=https://osm.etsi.org/jenkins/job/devops-stage_2-merge/job/master/1657/display/redirect
ARTIFACTORY_SERVER=artifactory-osm
GERRIT_REFSPEC=refs/changes/23/14423/1
HUDSON_SERVER_COOKIE=6d3295a483c3e6d5
JOB_DISPLAY_URL=https://osm.etsi.org/jenkins/job/devops-stage_2-merge/job/master/display/redirect
JOB_NAME=devops-stage_2-merge/master
TEST_INSTALL=false
PWD=/home/jenkins/workspace/devops-stage_2-merge_master
SSH_CONNECTION=212.234.161.1 18265 172.21.249.3 22
BRANCH_NAME=master
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Checkout)
[Pipeline] sh
[devops-stage_2-merge_master] Running shell script
+ git fetch --tags
[Pipeline] sh
[devops-stage_2-merge_master] Running shell script
+ git fetch origin refs/changes/23/14423/1
From https://osm.etsi.org/gerrit/osm/devops
 * branch            refs/changes/23/14423/1 -> FETCH_HEAD
[Pipeline] sh
[devops-stage_2-merge_master] Running shell script
+ git checkout -f 9c253bda06915c374c7e38144976923ee67787d5
HEAD is now at 9c253bd Fix installation of Kubernetes metrics server by updating the URL
[Pipeline] sh
[devops-stage_2-merge_master] Running shell script
+ sudo git clean -dfx
Removing devops@tmp/
[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
[devops-stage_2-merge_master] Running shell script
+ docker build --build-arg APT_PROXY=http://172.21.1.1:3142 -t osm/devops-master .
Sending build context to Docker daemon  308.3MB

Step 1/10 : FROM ubuntu:22.04
22.04: Pulling from library/ubuntu
Digest: sha256:19478ce7fc2ffbce89df29fea5725a8d12e57de52eb9ea570890dc5852aac1ac
Status: Downloaded newer image for ubuntu:22.04
 ---> 67c845845b7d
Step 2/10 : ARG APT_PROXY
 ---> Using cache
 ---> 9ed390ab8cf5
Step 3/10 : 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
 ---> a648025efc3d
Step 4/10 : 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         python3-pip         tox
 ---> Using cache
 ---> 0bc184d111cb
Step 5/10 : ENV LC_ALL C.UTF-8
 ---> Running in 93f111dc80bd
Removing intermediate container 93f111dc80bd
 ---> 9019596c8063
Step 6/10 : ENV LANG C.UTF-8
 ---> Running in da9a67408758
Removing intermediate container da9a67408758
 ---> 60b2309903ea
Step 7/10 : RUN DEBIAN_FRONTEND=noninteractive apt-get update &&     DEBIAN_FRONTEND=noninteractive apt-get -y install         dh-make
 ---> Running in a3f83370daad
Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
Get:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
Get:3 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
Hit:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Get:5 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [2525 kB]
Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [2173 kB]
Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1391 kB]
Get:8 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [1900 kB]
Get:9 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [2453 kB]
Get:10 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1090 kB]
Fetched 11.8 MB in 2s (7643 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  dh-make
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 32.7 kB of archives.
After this operation, 174 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu jammy/main amd64 dh-make all 2.202102 [32.7 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 32.7 kB in 0s (1448 kB/s)
Selecting previously unselected package dh-make.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 19743 files and directories currently installed.)
Preparing to unpack .../dh-make_2.202102_all.deb ...
Unpacking dh-make (2.202102) ...
Setting up dh-make (2.202102) ...
Processing triggers for man-db (2.10.2-1) ...
Removing intermediate container a3f83370daad
 ---> 0b87de8bd0fe
Step 8/10 : 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/
 ---> Running in a755fc82e9d6
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0 14.7M    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 14.7M  100 14.7M    0     0  12.8M      0  0:00:01  0:00:01 --:--:-- 12.8M
linux-amd64/
linux-amd64/LICENSE
linux-amd64/README.md
linux-amd64/helm
Removing intermediate container a755fc82e9d6
 ---> 0f37ceec1531
Step 9/10 : RUN curl https://get.datree.io | /bin/bash
 ---> Running in f2af4a6ace0d
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: get.datree.io
Removing intermediate container f2af4a6ace0d
 ---> 3e4b8753014e
Step 10/10 : RUN helm plugin install https://github.com/datreeio/helm-datree
 ---> Running in 6b1cb1f39e7f
Installing helm-datree...
https://github.com/datreeio/datree/releases/download/1.9.19/datree-cli_1.9.19_Linux_x86_64.zip
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 18.0M  100 18.0M    0     0  13.9M      0  0:00:01  0:00:01 --:--:-- 24.4M
./scripts/install.sh: line 36: unzip: command not found
helm-datree is installed.

See https://hub.datree.io for help getting started.
Installed plugin: datree
Removing intermediate container 6b1cb1f39e7f
 ---> b5ce3f1a5c67
Successfully built b5ce3f1a5c67
Successfully tagged osm/devops-master:latest
[Pipeline] }
[Pipeline] // stage
[Pipeline] sh
[devops-stage_2-merge_master] Running shell script
+ id -u
[Pipeline] sh
[devops-stage_2-merge_master] Running shell script
+ id -g
[Pipeline] withDockerContainer
osm-cicd-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-merge_master -v /home/jenkins/workspace/devops-stage_2-merge_master:/home/jenkins/workspace/devops-stage_2-merge_master:rw,z -v /home/jenkins/workspace/devops-stage_2-merge_master@tmp:/home/jenkins/workspace/devops-stage_2-merge_master@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-master
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Test)
[Pipeline] sh
[devops-stage_2-merge_master] Running shell script
+ groupadd -o -g 1001 -r jenkins
[Pipeline] sh
[devops-stage_2-merge_master] Running shell script
+ pwd
+ useradd -o -u 1001 -d /home/jenkins/workspace/devops-stage_2-merge_master -r -g jenkins jenkins
[Pipeline] sh
[devops-stage_2-merge_master] Running shell script
+ echo #! /bin/sh
[Pipeline] sh
[devops-stage_2-merge_master] Running shell script
+ chmod 755 /usr/bin/mesg
[Pipeline] sh
[devops-stage_2-merge_master] Running shell script
+ runuser jenkins -c devops-stages/stage-test.sh
Getting updates for unmanaged Helm repositories...
...Successfully got an update from the "https://grafana.github.io/helm-charts" chart repository
...Successfully got an update from the "https://prometheus-community.github.io/helm-charts" chart repository
...Successfully got an update from the "https://charts.bitnami.com/bitnami" chart repository
...Successfully got an update from the "https://charts.bitnami.com/bitnami" chart repository
Saving 4 charts
Downloading mysql from repo https://charts.bitnami.com/bitnami
Downloading kafka from repo https://charts.bitnami.com/bitnami
Downloading grafana from repo https://grafana.github.io/helm-charts
Downloading prometheus from repo https://prometheus-community.github.io/helm-charts
Deleting outdated charts
==> 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-merge_master] 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 -O../osm-devops_15.0.0.post39-1_amd64.buildinfo
 dpkg-genchanges -O../osm-devops_15.0.0.post39-1_amd64.changes
 fakeroot debian/rules clean
 dpkg-source --after-build .
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Archive)
[Pipeline] sh
[devops-stage_2-merge_master] Running shell script
+ runuser jenkins -c mkdir -p changelog
[Pipeline] sh
[devops-stage_2-merge_master] Running shell script
+ runuser jenkins -c devops/tools/generatechangelog-pipeline.sh > changelog/changelog-devops.html
[Pipeline] sh
[devops-stage_2-merge_master] 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/master/1657/pool/devops/osm-devops_15.0.0.post39-1_all.deb
[consumer_1] Deploying artifact: https://artifactory-osm.etsi.org/artifactory/osm-devops/master/1657/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-merge%20::%20master/1657
[Pipeline] sh
[devops-stage_2-merge_master] Running shell script
+ env
[Pipeline] step
Archiving artifacts
Recording fingerprints
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
$ docker stop --time=1 7abd39debd8e4925362151dab683f67dedec5cb9ca9dd6f739d809c6e7d8e541
$ docker rm -f 7abd39debd8e4925362151dab683f67dedec5cb9ca9dd6f739d809c6e7d8e541
[Pipeline] // withDockerContainer
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS