FailedConsole Output

Started by upstream project "SOL005-stage_1" build number 106
originally caused by:
 Triggered by Gerrit: https://osm.etsi.org/gerrit/14443
 > git rev-parse --is-inside-work-tree # timeout=10
Setting origin to https://osm.etsi.org/gerrit/osm/SOL005.git
 > git config remote.origin.url https://osm.etsi.org/gerrit/osm/SOL005.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/master
Seen branch in repository origin/netslice
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/v3.1
Seen branch in repository origin/v5.0
Seen branch in repository origin/v6.0
Seen branch in repository origin/v7.0
Seen 12 remote branches
Obtained Jenkinsfile from 0881dcfe831e189634f9df89b0061fb31f11aac7
Running in Durability level: MAX_SURVIVABILITY
[Pipeline] properties
[Pipeline] node
Running on osm-cicd-2 in /home/jenkins/workspace/SOL005-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/SOL005.git # timeout=10
Fetching without tags
Fetching upstream changes from https://osm.etsi.org/gerrit/osm/SOL005.git
 > git --version # timeout=10
 > git fetch --no-tags --force --progress https://osm.etsi.org/gerrit/osm/SOL005.git +refs/heads/*:refs/remotes/origin/*
Checking out Revision 0881dcfe831e189634f9df89b0061fb31f11aac7 (master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 0881dcfe831e189634f9df89b0061fb31f11aac7
Commit message: "Feature 10997: add oci flag as new property in k8s repos"
 > git rev-list --no-walk 0881dcfe831e189634f9df89b0061fb31f11aac7 # timeout=10
[Pipeline] dir
Running in /home/jenkins/workspace/SOL005-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= false
[Pipeline] load
[Pipeline] { (devops/jenkins/ci-pipelines/ci_helper.groovy)
[Pipeline] }
[Pipeline] // load
[Pipeline] stage
[Pipeline] { (Prepare)
[Pipeline] sh
[SOL005-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/SOL005-stage_2/job/master/102/display/redirect?page=changes
GERRIT_PROJECT=osm/SOL005
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/SOL005-stage_2/job/master/102/
HUDSON_COOKIE=a67ff545-201c-411e-9c34-f1a8e57884fd
JENKINS_SERVER_COOKIE=durable-9533545c0a12ad634297bd08593151b8
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus
GERRIT_PATCHSET_REVISION=b78a6c3d5f64b41a197de5eb84f197a5281d71b8
WORKSPACE=/home/jenkins/workspace/SOL005-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/SOL005-stage_2/job/master/102/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/SOL005-stage_2/job/master/102/display/redirect?page=tests
BUILD_DISPLAY_NAME=#102
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=102
XDG_RUNTIME_DIR=/run/user/1001
BUILD_TAG=jenkins-SOL005-stage_2-master-102
JENKINS_URL=https://osm.etsi.org/jenkins/
LANG=C.UTF-8
JOB_URL=https://osm.etsi.org/jenkins/job/SOL005-stage_2/job/master/
BUILD_NUMBER=102
SHELL=/bin/bash
RUN_DISPLAY_URL=https://osm.etsi.org/jenkins/job/SOL005-stage_2/job/master/102/display/redirect
ARTIFACTORY_SERVER=artifactory-osm
GERRIT_REFSPEC=refs/changes/43/14443/8
HUDSON_SERVER_COOKIE=6d3295a483c3e6d5
JOB_DISPLAY_URL=https://osm.etsi.org/jenkins/job/SOL005-stage_2/job/master/display/redirect
JOB_NAME=SOL005-stage_2/master
TEST_INSTALL=false
PWD=/home/jenkins/workspace/SOL005-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
[SOL005-stage_2_master] Running shell script
+ git fetch --tags
[SOL005-stage_2_master] Running shell script
[Pipeline] sh
+ git fetch origin refs/changes/43/14443/8
From https://osm.etsi.org/gerrit/osm/SOL005
 * branch            refs/changes/43/14443/8 -> FETCH_HEAD
[Pipeline] sh
[SOL005-stage_2_master] Running shell script
+ git checkout -f b78a6c3d5f64b41a197de5eb84f197a5281d71b8
Previous HEAD position was 0881dcf Feature 10997: add oci flag as new property in k8s repos
HEAD is now at b78a6c3 Feature 11009 NS config templates as first class citizens in OSM
[Pipeline] sh
[SOL005-stage_2_master] Running shell script
+ sudo git clean -dfx
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (License Scan)
[Pipeline] sh
[SOL005-stage_2_master] Running shell script
+ devops/tools/license_scan.sh
osm-openapi.yaml is text
osm-openapi.yaml 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
[SOL005-stage_2_master] Running shell script
+ docker build --build-arg APT_PROXY=http://172.21.1.1:3142 -t osm/sol005-master .
Sending build context to Docker daemon  151.1MB

Step 1/5 : FROM ubuntu:18.04
 ---> f9a80a55f492
Step 2/5 : RUN apt-get update && apt-get install -y git build-essential curl     && curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -     && echo "deb https://deb.nodesource.com/node_10.x bionic main" | tee -a /etc/apt/sources.list.d/nodesource.list     && echo "deb-src https://deb.nodesource.com/node_10.x bionic main" | tee -a /etc/apt/sources.list.d/nodesource.list     && apt-get update && apt-get install -y nodejs
 ---> Using cache
 ---> 7436054dba03
Step 3/5 : RUN npm install --save @openapi-contrib/json-schema-to-openapi-schema
 ---> Using cache
 ---> 2707bd5a11ac
Step 4/5 : RUN npm install -g swagger-cli
 ---> Using cache
 ---> 259539b2c000
Step 5/5 : RUN npm install -g speccy
 ---> Using cache
 ---> 3cbb7cb9d06b
[Warning] One or more build-args [APT_PROXY] were not consumed
Successfully built 3cbb7cb9d06b
Successfully tagged osm/sol005-master:latest
[Pipeline] }
[Pipeline] // stage
[Pipeline] sh
[SOL005-stage_2_master] Running shell script
+ id -u
[Pipeline] sh
[SOL005-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/SOL005-stage_2_master -v /home/jenkins/workspace/SOL005-stage_2_master:/home/jenkins/workspace/SOL005-stage_2_master:rw,z -v /home/jenkins/workspace/SOL005-stage_2_master@tmp:/home/jenkins/workspace/SOL005-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/sol005-master
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Test)
[Pipeline] sh
[SOL005-stage_2_master] Running shell script
+ groupadd -o -g 1001 -r jenkins
[Pipeline] sh
[SOL005-stage_2_master] Running shell script
+ pwd
+ useradd -o -u 1001 -d /home/jenkins/workspace/SOL005-stage_2_master -r -g jenkins jenkins
[Pipeline] sh
[SOL005-stage_2_master] Running shell script
+ echo #! /bin/sh
[Pipeline] sh
[SOL005-stage_2_master] Running shell script
+ chmod 755 /usr/bin/mesg
[Pipeline] sh
[SOL005-stage_2_master] Running shell script
+ runuser jenkins -c devops-stages/stage-test.sh
-- Validating and linting OpenAPI file osm-openapi.yaml...
Swagger schema validation failed.
  #/tags/12 must NOT have additional properties

Specification schema is invalid.
--- Validator returned 1, linter returned 1.
-- Final validation returns 1.
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
$ docker stop --time=1 624c9a463d41a4817e2153752d0746877b5a4cce6c5d3bf7085bd6d97bbcb00c
$ docker rm -f 624c9a463d41a4817e2153752d0746877b5a4cce6c5d3bf7085bd6d97bbcb00c
[Pipeline] // withDockerContainer
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: script returned exit code 1
Finished: FAILURE