Started by GitLab push by Alex Muravya Lightweight checkout support not available, falling back to full checkout. Checking out git https://gitlab.com/yasys/hub2swarm.git into /var/lib/jenkins/workspace/Hub2Swarm@script to read Jenkinsfile using credential kyberorg_gl > /usr/bin/git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > /usr/bin/git config remote.origin.url https://gitlab.com/yasys/hub2swarm.git # timeout=10 Fetching upstream changes from https://gitlab.com/yasys/hub2swarm.git > /usr/bin/git --version # timeout=10 using GIT_ASKPASS to set credentials Kyberorg GitLab > /usr/bin/git fetch --tags --progress https://gitlab.com/yasys/hub2swarm.git +refs/heads/*:refs/remotes/origin/* # timeout=10 skipping resolution of commit remotes/origin/master, since it originates from another repository Seen branch in repository origin/master Seen 1 remote branch > /usr/bin/git show-ref --tags -d # timeout=10 Checking out Revision 97cfd20192dc56e6113ba9e75aba95438706fba4 (origin/master) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 97cfd20192dc56e6113ba9e75aba95438706fba4 # timeout=10 Commit message: "bash" > /usr/bin/git rev-list --no-walk 06e659105aba786d09400530a16526950458915b # timeout=10 Running in Durability level: MAX_SURVIVABILITY Loading library common-pipe@2.3.3 Attempting to resolve 2.3.3 from remote references... > /usr/bin/git --version # timeout=10 using GIT_ASKPASS to set credentials Kyberorg GitLab > /usr/bin/git ls-remote -h https://gitlab.com/yasys/common-pipe.git # timeout=10 Could not find 2.3.3 in remote references. Pulling heads to local for deep search... > /usr/bin/git rev-parse --is-inside-work-tree # timeout=10 Setting origin to https://gitlab.com/yasys/common-pipe.git > /usr/bin/git config remote.origin.url https://gitlab.com/yasys/common-pipe.git # timeout=10 Fetching origin... Fetching upstream changes from origin > /usr/bin/git --version # timeout=10 > /usr/bin/git config --get remote.origin.url # timeout=10 using GIT_ASKPASS to set credentials Kyberorg GitLab > /usr/bin/git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > /usr/bin/git rev-parse 2.3.3^{commit} # timeout=10 > /usr/bin/git branch -a -v --no-abbrev --contains 78e505581bfc1d87a0194b7a0531760b3985472d # timeout=10 Selected match: master revision 78e505581bfc1d87a0194b7a0531760b3985472d using credential kyberorg_gl > /usr/bin/git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > /usr/bin/git config remote.origin.url https://gitlab.com/yasys/common-pipe.git # timeout=10 Fetching without tags Fetching upstream changes from https://gitlab.com/yasys/common-pipe.git > /usr/bin/git --version # timeout=10 using GIT_ASKPASS to set credentials Kyberorg GitLab > /usr/bin/git fetch --no-tags --progress https://gitlab.com/yasys/common-pipe.git +refs/heads/*:refs/remotes/origin/* # timeout=10 skipping resolution of commit remotes/origin/master, since it originates from another repository Checking out Revision 78e505581bfc1d87a0194b7a0531760b3985472d (master) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 78e505581bfc1d87a0194b7a0531760b3985472d # timeout=10 Commit message: "Merge branch 'steps-fix' into 'master'" > /usr/bin/git rev-list --no-walk 78e505581bfc1d87a0194b7a0531760b3985472d # timeout=10 [Pipeline] Start of Pipeline [Pipeline] getContext [Pipeline] node Running on Jenkins in /var/lib/jenkins/workspace/Hub2Swarm [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential kyberorg_gl Cloning the remote Git repository Cloning repository https://gitlab.com/yasys/hub2swarm.git > /usr/bin/git init /var/lib/jenkins/workspace/Hub2Swarm # timeout=10 Fetching upstream changes from https://gitlab.com/yasys/hub2swarm.git > /usr/bin/git --version # timeout=10 using GIT_ASKPASS to set credentials Kyberorg GitLab > /usr/bin/git fetch --tags --progress https://gitlab.com/yasys/hub2swarm.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > /usr/bin/git config remote.origin.url https://gitlab.com/yasys/hub2swarm.git # timeout=10 > /usr/bin/git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > /usr/bin/git config remote.origin.url https://gitlab.com/yasys/hub2swarm.git # timeout=10 Fetching upstream changes from https://gitlab.com/yasys/hub2swarm.git using GIT_ASKPASS to set credentials Kyberorg GitLab > /usr/bin/git fetch --tags --progress https://gitlab.com/yasys/hub2swarm.git +refs/heads/*:refs/remotes/origin/* # timeout=10 skipping resolution of commit remotes/origin/master, since it originates from another repository Seen branch in repository origin/master Seen 1 remote branch > /usr/bin/git show-ref --tags -d # timeout=10 Checking out Revision 97cfd20192dc56e6113ba9e75aba95438706fba4 (origin/master) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 97cfd20192dc56e6113ba9e75aba95438706fba4 # timeout=10 Commit message: "bash" [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry $ docker login -u kyberorg -p ******** https://index.docker.io/v1/ WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /var/lib/jenkins/workspace/Hub2Swarm@tmp/a8a6c378-2134-4755-acbb-649dc3c7e970/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded [Pipeline] { [Pipeline] sh + docker inspect -f . yasys/jobbari:1.7.0 . [Pipeline] withDockerContainer Jenkins does not seem to be running inside a container $ docker run -t -d -u 108:112 -u root --privileged -v /opt/mvn/:/root/.m2 -w /var/lib/jenkins/workspace/Hub2Swarm -v /var/lib/jenkins/workspace/Hub2Swarm:/var/lib/jenkins/workspace/Hub2Swarm:rw,z -v /var/lib/jenkins/workspace/Hub2Swarm@tmp:/var/lib/jenkins/workspace/Hub2Swarm@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** yasys/jobbari:1.7.0 cat $ docker top 8aadf08fbe11f0818ee75c4f2333aa77c7f2a0270bd4d5dfef5da1e27d7fc92b -eo pid,comm ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] timeout Timeout set to expire in 15 min [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] stage [Pipeline] { (Preparation) [Pipeline] script [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Execution info) [Pipeline] script [Pipeline] { [Pipeline] timeout 18:12:52 [2019-04-24T15:12:52.769Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 18:12:53 [2019-04-24T15:12:53.067Z] + set +x 18:12:53 [2019-04-24T15:12:53.067Z] [Runner info] 18:12:53 [2019-04-24T15:12:53.067Z] Hostname: 8aadf08fbe11 18:12:53 [2019-04-24T15:12:53.319Z] Network Status: Host Online 18:12:53 [2019-04-24T15:12:53.319Z] 18:12:53 [2019-04-24T15:12:53.319Z] === Tools info === 18:12:53 [2019-04-24T15:12:53.569Z] Docker version: Docker version 18.09.5, build e8ff056dbc 18:12:53 [2019-04-24T15:12:53.569Z] 18:12:53 [2019-04-24T15:12:53.569Z] Maven version: Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T18:41:47Z) 18:12:53 [2019-04-24T15:12:53.569Z] Maven home: /opt/mvn 18:12:53 [2019-04-24T15:12:53.569Z] Java version: 1.8.0_212, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-8-openjdk-amd64/jre 18:12:53 [2019-04-24T15:12:53.569Z] Default locale: en, platform encoding: UTF-8 18:12:53 [2019-04-24T15:12:53.569Z] OS name: "linux", version: "4.9.0-8-amd64", arch: "amd64", family: "unix" 18:12:53 [2019-04-24T15:12:53.569Z] 18:12:53 [2019-04-24T15:12:53.569Z] Requested by kyberorg [Pipeline] } [Pipeline] // timeout [Pipeline] timeout 18:12:53 [2019-04-24T15:12:53.649Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh 18:12:53 [2019-04-24T15:12:53.944Z] + set +x 18:12:53 [2019-04-24T15:12:53.944Z] [Build info] 18:12:53 [2019-04-24T15:12:53.944Z] ===== Git info ===== 18:12:53 [2019-04-24T15:12:53.944Z] Git branch: master 18:12:53 [2019-04-24T15:12:53.944Z] Git commit: 97cfd20192dc56e6113ba9e75aba95438706fba4 18:12:53 [2019-04-24T15:12:53.944Z] Git tag: - 18:12:53 [2019-04-24T15:12:53.944Z] 18:12:53 [2019-04-24T15:12:53.944Z] ===== Jenkins info ===== 18:12:53 [2019-04-24T15:12:53.944Z] Jenkins Job #32 18:12:53 [2019-04-24T15:12:53.944Z] Jenkins Job URL: https://ci.yadev.eu/job/Hub2Swarm/32/ 18:12:53 [2019-04-24T15:12:53.944Z] Jenkins Tag: jenkins-Hub2Swarm-32 18:12:53 [2019-04-24T15:12:53.944Z] 18:12:53 [2019-04-24T15:12:53.944Z] ===== Job Params ===== 18:12:53 [2019-04-24T15:12:53.944Z] 18:12:53 [2019-04-24T15:12:53.944Z] dockerRepo=yasys/hub2swarm 18:12:53 [2019-04-24T15:12:53.944Z] dockerStep=ee.yadev.pipe.commonpipe.Default@68d736d 18:12:53 [2019-04-24T15:12:53.944Z] javaStep=org.jenkinsci.plugins.workflow.cps.CpsClosure2@62e01dc2 18:12:53 [2019-04-24T15:12:53.944Z] executionInfoStep=ee.yadev.pipe.commonpipe.Default@68d736d 18:12:53 [2019-04-24T15:12:53.944Z] hubUrl=https://cloud.docker.com/repository/docker 18:12:53 [2019-04-24T15:12:53.944Z] useDebugTag=false 18:12:53 [2019-04-24T15:12:53.944Z] mavenBuildOptions={addJavadoc=false, runTestsAsWell=false} 18:12:53 [2019-04-24T15:12:53.944Z] preparationStep=ee.yadev.pipe.commonpipe.Default@68d736d 18:12:53 [2019-04-24T15:12:53.944Z] stepTimeout=5 18:12:53 [2019-04-24T15:12:53.944Z] hubCredentialsId=docker-hub 18:12:53 [2019-04-24T15:12:53.944Z] class=class ee.yadev.pipe.commonpipe.Params 18:12:53 [2019-04-24T15:12:53.944Z] skipMavenTests=true 18:12:53 [2019-04-24T15:12:53.944Z] agent={image=yasys/jobbari, tag=1.7.0, args=-u root --privileged -v /opt/mvn/:/root/.m2} 18:12:53 [2019-04-24T15:12:53.944Z] verbose=false 18:12:53 [2019-04-24T15:12:53.944Z] mavenTestsTimeout=5 18:12:53 [2019-04-24T15:12:53.944Z] pipelineTimeout=15 18:12:53 [2019-04-24T15:12:53.944Z] hubUser=kyberorg 18:12:53 [2019-04-24T15:12:53.944Z] 18:12:53 [2019-04-24T15:12:53.944Z] ==== Environment Variables ===== 18:12:53 [2019-04-24T15:12:53.944Z] GIT_COMMITTER_NAME=Jenkins CI 18:12:53 [2019-04-24T15:12:53.944Z] gitlabSourceRepoURL=git@gitlab.com:yasys/hub2swarm.git 18:12:53 [2019-04-24T15:12:53.944Z] GIT_PREVIOUS_SUCCESSFUL_COMMIT=fdc4245a1b48c771cbb2a84ce4bd38867e55f4c8 18:12:53 [2019-04-24T15:12:53.944Z] GIT_AUTHOR_EMAIL=ci@yadev.eu 18:12:53 [2019-04-24T15:12:53.944Z] HOSTNAME=8aadf08fbe11 18:12:53 [2019-04-24T15:12:53.944Z] RUN_CHANGES_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/32/display/redirect?page=changes 18:12:53 [2019-04-24T15:12:53.944Z] gitlabAfter=97cfd20192dc56e6113ba9e75aba95438706fba4 18:12:53 [2019-04-24T15:12:53.944Z] GIT_COMMIT=97cfd20192dc56e6113ba9e75aba95438706fba4 18:12:53 [2019-04-24T15:12:53.944Z] NODE_LABELS=master 18:12:53 [2019-04-24T15:12:53.944Z] HUDSON_URL=https://ci.yadev.eu/ 18:12:53 [2019-04-24T15:12:53.944Z] HOME=/root 18:12:53 [2019-04-24T15:12:53.944Z] BUILD_URL=https://ci.yadev.eu/job/Hub2Swarm/32/ 18:12:53 [2019-04-24T15:12:53.944Z] gitlabTargetBranch=master 18:12:53 [2019-04-24T15:12:53.944Z] JENKINS_SERVER_COOKIE=durable-a20a2f40a8ef5813fe7ee1dcdca63f0d 18:12:53 [2019-04-24T15:12:53.944Z] GIT_AUTHOR_NAME=Jenkins CI 18:12:53 [2019-04-24T15:12:53.944Z] WORKSPACE=/var/lib/jenkins/workspace/Hub2Swarm 18:12:53 [2019-04-24T15:12:53.944Z] gitlabSourceRepoHttpUrl=https://gitlab.com/yasys/hub2swarm.git 18:12:53 [2019-04-24T15:12:53.944Z] gitlabMergeRequestLastCommit=97cfd20192dc56e6113ba9e75aba95438706fba4 18:12:53 [2019-04-24T15:12:53.944Z] JAVA_VERSION=8u212 18:12:53 [2019-04-24T15:12:53.944Z] NODE_NAME=master 18:12:53 [2019-04-24T15:12:53.944Z] gitlabSourceRepoSshUrl=git@gitlab.com:yasys/hub2swarm.git 18:12:53 [2019-04-24T15:12:53.944Z] GIT_BRANCH=origin/master 18:12:53 [2019-04-24T15:12:53.944Z] gitlabSourceRepoHomepage=https://gitlab.com/yasys/hub2swarm 18:12:53 [2019-04-24T15:12:53.944Z] EXECUTOR_NUMBER=0 18:12:53 [2019-04-24T15:12:53.944Z] STAGE_NAME=Execution info 18:12:53 [2019-04-24T15:12:53.944Z] gitlabBranch=master 18:12:53 [2019-04-24T15:12:53.944Z] gitlabUserEmail=kyberorg@yadev.eu 18:12:53 [2019-04-24T15:12:53.944Z] BUILD_DISPLAY_NAME=#32 18:12:53 [2019-04-24T15:12:53.944Z] gitlabSourceBranch=master 18:12:53 [2019-04-24T15:12:53.944Z] HUDSON_HOME=/var/lib/jenkins 18:12:53 [2019-04-24T15:12:53.944Z] JOB_BASE_NAME=Hub2Swarm 18:12:53 [2019-04-24T15:12:53.944Z] DOCKER_REGISTRY_URL=https://index.docker.io/v1/ 18:12:53 [2019-04-24T15:12:53.944Z] JAVA_DEBIAN_VERSION=8u212-b01-1~deb9u1 18:12:53 [2019-04-24T15:12:53.944Z] PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 18:12:53 [2019-04-24T15:12:53.944Z] BUILD_ID=32 18:12:53 [2019-04-24T15:12:53.944Z] BUILDING_FOR=kyberorg 18:12:53 [2019-04-24T15:12:53.944Z] BUILD_TAG=jenkins-Hub2Swarm-32 18:12:53 [2019-04-24T15:12:53.944Z] gitlabBefore=06e659105aba786d09400530a16526950458915b 18:12:53 [2019-04-24T15:12:53.944Z] gitlabActionType=PUSH 18:12:53 [2019-04-24T15:12:53.944Z] JENKINS_URL=https://ci.yadev.eu/ 18:12:53 [2019-04-24T15:12:53.944Z] LANG=C.UTF-8 18:12:53 [2019-04-24T15:12:53.944Z] JOB_URL=https://ci.yadev.eu/job/Hub2Swarm/ 18:12:53 [2019-04-24T15:12:53.944Z] GIT_URL=https://gitlab.com/yasys/hub2swarm.git 18:12:53 [2019-04-24T15:12:53.944Z] gitlabSourceRepoName=Hub2Swarm 18:12:53 [2019-04-24T15:12:53.944Z] gitlabSourceNamespace=Yet another Systems 18:12:53 [2019-04-24T15:12:53.944Z] BUILD_NUMBER=32 18:12:53 [2019-04-24T15:12:53.944Z] JENKINS_NODE_COOKIE=b1e6f1b7-6c88-483b-86f1-4c78a00617fd 18:12:53 [2019-04-24T15:12:53.944Z] RUN_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/32/display/redirect 18:12:53 [2019-04-24T15:12:53.944Z] HUDSON_SERVER_COOKIE=e746ebc0b92d9cbd 18:12:53 [2019-04-24T15:12:53.944Z] JOB_DISPLAY_URL=https://ci.yadev.eu/job/Hub2Swarm/display/redirect 18:12:53 [2019-04-24T15:12:53.944Z] CLASSPATH= 18:12:53 [2019-04-24T15:12:53.944Z] JOB_NAME=Hub2Swarm 18:12:53 [2019-04-24T15:12:53.944Z] GIT_COMMITTER_EMAIL=ci@yadev.eu 18:12:53 [2019-04-24T15:12:53.944Z] gitlabUserName=Alex Muravya 18:12:53 [2019-04-24T15:12:53.944Z] DOCKER_CONFIG=/var/lib/jenkins/workspace/Hub2Swarm@tmp/a8a6c378-2134-4755-acbb-649dc3c7e970 18:12:53 [2019-04-24T15:12:53.944Z] JAVA_HOME=/docker-java-home 18:12:53 [2019-04-24T15:12:53.944Z] PWD=/var/lib/jenkins/workspace/Hub2Swarm 18:12:53 [2019-04-24T15:12:53.944Z] GIT_PREVIOUS_COMMIT=06e659105aba786d09400530a16526950458915b 18:12:53 [2019-04-24T15:12:53.944Z] Requested by kyberorg [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (JavaApp: Build and Test) [Pipeline] script [Pipeline] { [Pipeline] sh 18:12:54 [2019-04-24T15:12:54.440Z] /var/lib/jenkins/workspace/Hub2Swarm@tmp/durable-404e8047/script.sh: 1: /var/lib/jenkins/workspace/Hub2Swarm@tmp/durable-404e8047/script.sh: Syntax error: end of file unexpected (expecting "then") [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker: Build and Push) Stage "Docker: Build and Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] echo 18:12:54 [2019-04-24T15:12:54.627Z] One way or another, I have finished. Tsau! [Pipeline] sh 18:12:54 [2019-04-24T15:12:54.918Z] + set +x 18:12:54 [2019-04-24T15:12:54.918Z] Making workspace writable for correct cleanup 18:12:54 [2019-04-24T15:12:54.918Z] Done for kyberorg [Pipeline] deleteDir [Pipeline] echo 18:12:54 [2019-04-24T15:12:54.955Z] Perkele! I failed :( [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // timestamps [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withEnv [Pipeline] } $ docker stop --time=1 8aadf08fbe11f0818ee75c4f2333aa77c7f2a0270bd4d5dfef5da1e27d7fc92b $ docker rm -f 8aadf08fbe11f0818ee75c4f2333aa77c7f2a0270bd4d5dfef5da1e27d7fc92b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline ERROR: script returned exit code 2 Finished: FAILURE