Started by upstream project "tests-stage_1" build number 1216 originally caused by: Triggered by Gerrit: https://osm.etsi.org/gerrit/14441 > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to https://osm.etsi.org/gerrit/osm/tests.git > git config remote.origin.url https://osm.etsi.org/gerrit/osm/tests.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/bug1511 Seen branch in repository origin/master Seen branch in repository origin/ng-ro-refactor Seen branch in repository origin/paas 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/v8.0 Seen branch in repository origin/v9.0 Seen 14 remote branches Obtained Jenkinsfile from 21e74da5550521ee2cc561210b4d36c0047a41bc Running in Durability level: MAX_SURVIVABILITY [Pipeline] properties [Pipeline] node Running on osm-cicd-2 in /home/jenkins/workspace/tests-stage_2_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/tests.git # timeout=10 Fetching without tags Fetching upstream changes from https://osm.etsi.org/gerrit/osm/tests.git > git --version # timeout=10 > git fetch --no-tags --force --progress https://osm.etsi.org/gerrit/osm/tests.git +refs/heads/*:refs/remotes/origin/* Checking out Revision 21e74da5550521ee2cc561210b4d36c0047a41bc (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 21e74da5550521ee2cc561210b4d36c0047a41bc Commit message: "Fix bug 2334 in heal_03 to add loop to check presence of remote file after healing" > git rev-list --no-walk 21e74da5550521ee2cc561210b4d36c0047a41bc # timeout=10 [Pipeline] dir Running in /home/jenkins/workspace/tests-stage_2_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" > git rev-list --no-walk 9c253bda06915c374c7e38144976923ee67787d5 # 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 [tests-stage_2_master] Running shell script + env JENKINS_HOME=/var/lib/jenkins SSH_CLIENT=212.234.161.1 18264 22 USER=jenkins RUN_CHANGES_DISPLAY_URL=https://osm.etsi.org/jenkins/job/tests-stage_2/job/master/988/display/redirect?page=changes GERRIT_PROJECT=osm/tests 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/tests-stage_2/job/master/988/ HUDSON_COOKIE=c7714683-c37d-41f6-829d-56a0fe61a2cc JENKINS_SERVER_COOKIE=durable-b631a37ce1678a2bcf5fda0b711a413e DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus GERRIT_PATCHSET_REVISION=3229b76d70fc470540ed2b3e35aa9a70d9fad5a7 WORKSPACE=/home/jenkins/workspace/tests-stage_2_master LOGNAME=jenkins NODE_NAME=osm-cicd-2 GERRIT_BRANCH=master _=/usr/bin/java RUN_ARTIFACTS_DISPLAY_URL=https://osm.etsi.org/jenkins/job/tests-stage_2/job/master/988/display/redirect?page=artifacts XDG_SESSION_CLASS=user EXECUTOR_NUMBER=1 XDG_SESSION_ID=4182 RUN_TESTS_DISPLAY_URL=https://osm.etsi.org/jenkins/job/tests-stage_2/job/master/988/display/redirect?page=tests BUILD_DISPLAY_NAME=#988 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=988 XDG_RUNTIME_DIR=/run/user/1001 BUILD_TAG=jenkins-tests-stage_2-master-988 JENKINS_URL=https://osm.etsi.org/jenkins/ LANG=C.UTF-8 JOB_URL=https://osm.etsi.org/jenkins/job/tests-stage_2/job/master/ BUILD_NUMBER=988 SHELL=/bin/bash RUN_DISPLAY_URL=https://osm.etsi.org/jenkins/job/tests-stage_2/job/master/988/display/redirect ARTIFACTORY_SERVER=artifactory-osm GERRIT_REFSPEC=refs/changes/41/14441/1 HUDSON_SERVER_COOKIE=6d3295a483c3e6d5 JOB_DISPLAY_URL=https://osm.etsi.org/jenkins/job/tests-stage_2/job/master/display/redirect JOB_NAME=tests-stage_2/master TEST_INSTALL=true PWD=/home/jenkins/workspace/tests-stage_2_master SSH_CONNECTION=212.234.161.1 18264 172.21.249.2 22 BRANCH_NAME=master [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Checkout) [Pipeline] sh [tests-stage_2_master] Running shell script + git fetch --tags [Pipeline] sh [tests-stage_2_master] Running shell script + git fetch origin refs/changes/41/14441/1 From https://osm.etsi.org/gerrit/osm/tests * branch refs/changes/41/14441/1 -> FETCH_HEAD [Pipeline] sh [tests-stage_2_master] Running shell script + git checkout -f 3229b76d70fc470540ed2b3e35aa9a70d9fad5a7 Previous HEAD position was 21e74da Fix bug 2334 in heal_03 to add loop to check presence of remote file after healing HEAD is now at 3229b76 Feature 10991: k8s_04 test now checks labels injected into Kubernetes objects before executing the upgrade operation [Pipeline] sh [tests-stage_2_master] Running shell script + sudo git clean -dfx Removing .cache/ Removing .eggs/ Removing .local/ Removing .safety/ Removing build.env Removing changelog/ Removing deb_dist/ Removing debian/osm-tests.install Removing pool/ Removing tests.egg-info/ [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (License Scan) [Pipeline] sh [tests-stage_2_master] Running shell script + devops/tools/license_scan.sh robot-systest/lib/ns_lib.resource is text robot-systest/lib/ns_lib.resource Apache-2.0 robot-systest/testsuite/k8s_04-openldap_helm.robot is text robot-systest/testsuite/k8s_04-openldap_helm.robot 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 [tests-stage_2_master] Running shell script + docker build --build-arg APT_PROXY=http://172.21.1.1:3142 -t osm/tests-master . Sending build context to Docker daemon 152.5MB Step 1/7 : FROM ubuntu:22.04 ---> 67c845845b7d Step 2/7 : ARG APT_PROXY ---> Using cache ---> 884e98c0a47f Step 3/7 : 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 ---> 04d5e01174b3 Step 4/7 : 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 ---> 5e80f9d4286e Step 5/7 : RUN DEBIAN_FRONTEND=noninteractive apt-get -y install dh-make ---> Using cache ---> d008696f63db Step 6/7 : ENV LC_ALL C.UTF-8 ---> Using cache ---> 00fdb5fca59f Step 7/7 : ENV LANG C.UTF-8 ---> Using cache ---> f0aa0eab68dd Successfully built f0aa0eab68dd Successfully tagged osm/tests-master:latest [Pipeline] } [Pipeline] // stage [Pipeline] sh [tests-stage_2_master] Running shell script + id -u [Pipeline] sh [tests-stage_2_master] 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/tests-stage_2_master -v /home/jenkins/workspace/tests-stage_2_master:/home/jenkins/workspace/tests-stage_2_master:rw,z -v /home/jenkins/workspace/tests-stage_2_master@tmp:/home/jenkins/workspace/tests-stage_2_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/tests-master [Pipeline] { [Pipeline] stage [Pipeline] { (Test) [Pipeline] sh [tests-stage_2_master] Running shell script + groupadd -o -g 1001 -r jenkins [Pipeline] sh [tests-stage_2_master] Running shell script + pwd + useradd -o -u 1001 -d /home/jenkins/workspace/tests-stage_2_master -r -g jenkins jenkins [Pipeline] sh [tests-stage_2_master] Running shell script + echo #! /bin/sh [tests-stage_2_master] Running shell script [Pipeline] sh + chmod 755 /usr/bin/mesg [Pipeline] sh [tests-stage_2_master] Running shell script + runuser jenkins -c devops-stages/stage-test.sh Checking syntax of Robot tests Checking tabs in robot files. No tabs should be present No tabs are present in robot files. Correct! Checking param separation in robot files. Three spaces is the recommendation, instead of two No presence of two spaces to separate params in robot files. Correct! Checking param separation in robot files. Three spaces is the recommendation, instead of four or more Only three spaces must be used between params in robot files. Correct! Checking CRLF terminators in robot files. No CRLF should be found No presence of CRLF terminators in robot files. Correct! Checking spaces at the end of lines in robot files. No spaces at EOL should be found robot-systest/lib/ns_lib.resource: Some files in robot-systest/lib have spaces at the end of some lines Use this command to change it: sed -i 's/ *$//g' <FILENAME> [Pipeline] } [Pipeline] // stage [Pipeline] } $ docker stop --time=1 12b0150a397750627eed398cb12a9c7efb2d61b5f6edbd6feb1521cd80ca0365 $ docker rm -f 12b0150a397750627eed398cb12a9c7efb2d61b5f6edbd6feb1521cd80ca0365 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline ERROR: script returned exit code 1 Finished: FAILURE