Started by upstream project "devops-stage_1" build number 5588 originally caused by: Triggered by Gerrit: https://osm.etsi.org/gerrit/14424 > 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-2 in /home/jenkins/workspace/devops-stage_2_master@2 [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 9c253bda06915c374c7e38144976923ee67787d5 # timeout=10 [Pipeline] dir Running in /home/jenkins/workspace/devops-stage_2_master@2/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/24/14424/1 From https://osm.etsi.org/gerrit/osm/devops * branch refs/changes/24/14424/1 -> FETCH_HEAD [Pipeline] sh [devops] Running shell script + git checkout -f 113b433d1cb35657ebc9fd5b7dce74c751b82bbf Note: switching to '113b433d1cb35657ebc9fd5b7dce74c751b82bbf'. 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 Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at 113b433 Feature 11033: Publication of OSM helm chart externally in Gitlab [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_master@2] 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/devops-stage_2/job/master/4238/display/redirect?page=changes GERRIT_PROJECT=osm/devops 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/devops-stage_2/job/master/4238/ HUDSON_COOKIE=24af6785-c6cf-4be2-8224-493b1b58d209 JENKINS_SERVER_COOKIE=durable-36694959e6c2de30e4194a67f4aade70 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus GERRIT_PATCHSET_REVISION=113b433d1cb35657ebc9fd5b7dce74c751b82bbf WORKSPACE=/home/jenkins/workspace/devops-stage_2_master@2 LOGNAME=jenkins NODE_NAME=osm-cicd-2 GERRIT_BRANCH=master _=/usr/bin/java RUN_ARTIFACTS_DISPLAY_URL=https://osm.etsi.org/jenkins/job/devops-stage_2/job/master/4238/display/redirect?page=artifacts XDG_SESSION_CLASS=user EXECUTOR_NUMBER=2 XDG_SESSION_ID=4182 RUN_TESTS_DISPLAY_URL=https://osm.etsi.org/jenkins/job/devops-stage_2/job/master/4238/display/redirect?page=tests BUILD_DISPLAY_NAME=#4238 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=4238 XDG_RUNTIME_DIR=/run/user/1001 BUILD_TAG=jenkins-devops-stage_2-master-4238 JENKINS_URL=https://osm.etsi.org/jenkins/ LANG=C.UTF-8 JOB_URL=https://osm.etsi.org/jenkins/job/devops-stage_2/job/master/ BUILD_NUMBER=4238 SHELL=/bin/bash RUN_DISPLAY_URL=https://osm.etsi.org/jenkins/job/devops-stage_2/job/master/4238/display/redirect ARTIFACTORY_SERVER=artifactory-osm GERRIT_REFSPEC=refs/changes/24/14424/1 HUDSON_SERVER_COOKIE=6d3295a483c3e6d5 JOB_DISPLAY_URL=https://osm.etsi.org/jenkins/job/devops-stage_2/job/master/display/redirect JOB_NAME=devops-stage_2/master TEST_INSTALL=true PWD=/home/jenkins/workspace/devops-stage_2_master@2 SSH_CONNECTION=212.234.161.1 18264 172.21.249.2 22 BRANCH_NAME=master [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Checkout) [Pipeline] sh [devops-stage_2_master@2] Running shell script + git fetch --tags [Pipeline] sh [devops-stage_2_master@2] Running shell script + git fetch origin refs/changes/24/14424/1 From https://osm.etsi.org/gerrit/osm/devops * branch refs/changes/24/14424/1 -> FETCH_HEAD [Pipeline] sh [devops-stage_2_master@2] Running shell script + git checkout -f 113b433d1cb35657ebc9fd5b7dce74c751b82bbf Previous HEAD position was 9c253bd Fix installation of Kubernetes metrics server by updating the URL HEAD is now at 113b433 Feature 11033: Publication of OSM helm chart externally in Gitlab [Pipeline] sh [devops-stage_2_master@2] Running shell script + sudo git clean -dfx Removing .cache/ Removing build.env Removing changelog/ Removing debian/osm-devops.install Removing devops@tmp/ Removing installers/helm/osm/Chart.lock Removing installers/helm/osm/charts/ Removing osm-devops-15.0.0.post39/ Removing osm-devops_15.0.0.post39-1.debian.tar.xz Removing osm-devops_15.0.0.post39-1.dsc Removing osm-devops_15.0.0.post39-1_amd64.buildinfo Removing osm-devops_15.0.0.post39-1_amd64.changes Removing osm-devops_15.0.0.post39.orig.tar.xz Removing pool/ [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (License Scan) [Pipeline] sh [devops-stage_2_master@2] Running shell script + devops/tools/license_scan.sh .gitlab-ci.yml is text .gitlab-ci.yml No Apache license found FATAL: Files without apache license found [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline ERROR: script returned exit code 2 Finished: FAILURE