Started by user Toor Admin Running as Toor Admin Lightweight checkout support not available, falling back to full checkout. Checking out git https://gitlab.com/yasys/db-aware-openjdk.git into /var/lib/jenkins/workspace/DBAwareOpenJDK@script to read Jenkinsfile using credential yabot-gitlab Cloning the remote Git repository Cloning repository https://gitlab.com/yasys/db-aware-openjdk.git > /usr/bin/git init /var/lib/jenkins/workspace/DBAwareOpenJDK@script # timeout=10 Fetching upstream changes from https://gitlab.com/yasys/db-aware-openjdk.git > /usr/bin/git --version # timeout=10 using GIT_ASKPASS to set credentials YaBot gitlab > /usr/bin/git fetch --tags --progress https://gitlab.com/yasys/db-aware-openjdk.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > /usr/bin/git config remote.origin.url https://gitlab.com/yasys/db-aware-openjdk.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/db-aware-openjdk.git # timeout=10 Fetching upstream changes from https://gitlab.com/yasys/db-aware-openjdk.git using GIT_ASKPASS to set credentials YaBot gitlab > /usr/bin/git fetch --tags --progress https://gitlab.com/yasys/db-aware-openjdk.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Seen branch in repository origin/master Seen 1 remote branch > /usr/bin/git show-ref --tags -d # timeout=10 Checking out Revision a75f241bb1d85f47e5aff451a0cacadf7e52bce9 (origin/master) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f a75f241bb1d85f47e5aff451a0cacadf7e52bce9 # timeout=10 Commit message: "Init comit" First time build. Skipping changelog. Running in Durability level: MAX_SURVIVABILITY Loading library common-pipe@2.3.4 Attempting to resolve 2.3.4 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.4 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.4^{commit} # timeout=10 > /usr/bin/git branch -a -v --no-abbrev --contains 4a98aae649239cab341ccab30b525012d6160717 # timeout=10 Selected match: tagging revision 4a98aae649239cab341ccab30b525012d6160717 using credential kyberorg_gl Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository https://gitlab.com/yasys/common-pipe.git > /usr/bin/git init /var/lib/jenkins/workspace/DBAwareOpenJDK@libs/common-pipe # timeout=10 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 > /usr/bin/git config remote.origin.url https://gitlab.com/yasys/common-pipe.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/common-pipe.git # timeout=10 Fetching without tags Fetching upstream changes from https://gitlab.com/yasys/common-pipe.git 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 Checking out Revision 4a98aae649239cab341ccab30b525012d6160717 (tagging) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 4a98aae649239cab341ccab30b525012d6160717 # timeout=10 Commit message: "New tagging" First time build. Skipping changelog. [Pipeline] Start of Pipeline [Pipeline] getContext [Pipeline] node Running on Jenkins in /var/lib/jenkins/workspace/DBAwareOpenJDK [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential yabot-gitlab Cloning the remote Git repository Cloning repository https://gitlab.com/yasys/db-aware-openjdk.git > /usr/bin/git init /var/lib/jenkins/workspace/DBAwareOpenJDK # timeout=10 Fetching upstream changes from https://gitlab.com/yasys/db-aware-openjdk.git > /usr/bin/git --version # timeout=10 using GIT_ASKPASS to set credentials YaBot gitlab > /usr/bin/git fetch --tags --progress https://gitlab.com/yasys/db-aware-openjdk.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > /usr/bin/git config remote.origin.url https://gitlab.com/yasys/db-aware-openjdk.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/db-aware-openjdk.git # timeout=10 Fetching upstream changes from https://gitlab.com/yasys/db-aware-openjdk.git using GIT_ASKPASS to set credentials YaBot gitlab > /usr/bin/git fetch --tags --progress https://gitlab.com/yasys/db-aware-openjdk.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Seen branch in repository origin/master Seen 1 remote branch > /usr/bin/git show-ref --tags -d # timeout=10 Checking out Revision a75f241bb1d85f47e5aff451a0cacadf7e52bce9 (origin/master) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f a75f241bb1d85f47e5aff451a0cacadf7e52bce9 # timeout=10 Commit message: "Init comit" [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/DBAwareOpenJDK@tmp/982aa321-43d1-4416-bdc0-01212e1529b8/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/DBAwareOpenJDK -v /var/lib/jenkins/workspace/DBAwareOpenJDK:/var/lib/jenkins/workspace/DBAwareOpenJDK:rw,z -v /var/lib/jenkins/workspace/DBAwareOpenJDK@tmp:/var/lib/jenkins/workspace/DBAwareOpenJDK@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 ******** yasys/jobbari:1.7.0 cat $ docker top d8a8bb7b1083c16cebcda959d3a07f9c873968839dfc8de6ffd89a21bd74084e -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 [2019-07-02T08:13:54.862Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh [2019-07-02T08:13:55.180Z] + set +x [2019-07-02T08:13:55.180Z] [Runner info] [2019-07-02T08:13:55.180Z] Hostname: d8a8bb7b1083 [2019-07-02T08:13:55.432Z] Network Status: Host Online [2019-07-02T08:13:55.432Z] [2019-07-02T08:13:55.432Z] === Tools info === [2019-07-02T08:13:55.682Z] Docker version: Docker version 18.09.5, build e8ff056dbc [2019-07-02T08:13:55.682Z] [2019-07-02T08:13:55.682Z] Maven version: Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T18:41:47Z) [2019-07-02T08:13:55.682Z] Maven home: /opt/mvn [2019-07-02T08:13:55.682Z] Java version: 1.8.0_212, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-8-openjdk-amd64/jre [2019-07-02T08:13:55.682Z] Default locale: en, platform encoding: UTF-8 [2019-07-02T08:13:55.682Z] OS name: "linux", version: "4.9.0-8-amd64", arch: "amd64", family: "unix" [2019-07-02T08:13:55.682Z] [2019-07-02T08:13:55.682Z] Requested by kyberorg [Pipeline] } [Pipeline] // timeout [Pipeline] timeout [2019-07-02T08:13:55.825Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh [2019-07-02T08:13:56.146Z] + set +x [2019-07-02T08:13:56.146Z] [Build info] [2019-07-02T08:13:56.146Z] ===== Git info ===== [2019-07-02T08:13:56.146Z] Git branch: master [2019-07-02T08:13:56.146Z] Git commit: a75f241bb1d85f47e5aff451a0cacadf7e52bce9 [2019-07-02T08:13:56.146Z] Git tag: - [2019-07-02T08:13:56.146Z] [2019-07-02T08:13:56.146Z] ===== Jenkins info ===== [2019-07-02T08:13:56.146Z] Jenkins Job #1 [2019-07-02T08:13:56.146Z] Jenkins Job URL: https://ci.yadev.eu/job/DBAwareOpenJDK/1/ [2019-07-02T08:13:56.146Z] Jenkins Tag: jenkins-DBAwareOpenJDK-1 [2019-07-02T08:13:56.146Z] [2019-07-02T08:13:56.146Z] ===== Job Params ===== [2019-07-02T08:13:56.146Z] [2019-07-02T08:13:56.146Z] dockerRepo=yasys/db-aware-openjdk [2019-07-02T08:13:56.146Z] dockerStep=ee.yadev.pipe.commonpipe.Default@1594b141 [2019-07-02T08:13:56.146Z] javaStep=null [2019-07-02T08:13:56.146Z] executionInfoStep=ee.yadev.pipe.commonpipe.Default@1594b141 [2019-07-02T08:13:56.146Z] hubUrl=https://cloud.docker.com/repository/docker [2019-07-02T08:13:56.146Z] useDebugTag=false [2019-07-02T08:13:56.146Z] mavenBuildOptions={addJavadoc=false, runTestsAsWell=false} [2019-07-02T08:13:56.146Z] preparationStep=ee.yadev.pipe.commonpipe.Default@1594b141 [2019-07-02T08:13:56.146Z] stepTimeout=5 [2019-07-02T08:13:56.146Z] hubCredentialsId=docker-hub [2019-07-02T08:13:56.146Z] class=class ee.yadev.pipe.commonpipe.Params [2019-07-02T08:13:56.146Z] skipMavenTests=false [2019-07-02T08:13:56.146Z] agent={image=yasys/jobbari, tag=1.7.0, args=-u root --privileged -v /opt/mvn/:/root/.m2} [2019-07-02T08:13:56.146Z] verbose=false [2019-07-02T08:13:56.146Z] mavenTestsTimeout=5 [2019-07-02T08:13:56.146Z] pipelineTimeout=15 [2019-07-02T08:13:56.146Z] hubUser=kyberorg [2019-07-02T08:13:56.146Z] [2019-07-02T08:13:56.146Z] ==== Environment Variables ===== [2019-07-02T08:13:56.146Z] GIT_COMMITTER_NAME=Jenkins CI [2019-07-02T08:13:56.146Z] GIT_AUTHOR_EMAIL=ci@yadev.eu [2019-07-02T08:13:56.146Z] HOSTNAME=d8a8bb7b1083 [2019-07-02T08:13:56.146Z] RUN_CHANGES_DISPLAY_URL=https://ci.yadev.eu/job/DBAwareOpenJDK/1/display/redirect?page=changes [2019-07-02T08:13:56.146Z] HUDSON_URL=https://ci.yadev.eu/ [2019-07-02T08:13:56.146Z] NODE_LABELS=master [2019-07-02T08:13:56.146Z] GIT_COMMIT=a75f241bb1d85f47e5aff451a0cacadf7e52bce9 [2019-07-02T08:13:56.146Z] HOME=/root [2019-07-02T08:13:56.146Z] BUILD_URL=https://ci.yadev.eu/job/DBAwareOpenJDK/1/ [2019-07-02T08:13:56.146Z] GIT_AUTHOR_NAME=Jenkins CI [2019-07-02T08:13:56.146Z] JENKINS_SERVER_COOKIE=durable-7931f0a25cee63cf2262863fa7519e9a [2019-07-02T08:13:56.146Z] WORKSPACE=/var/lib/jenkins/workspace/DBAwareOpenJDK [2019-07-02T08:13:56.146Z] JAVA_VERSION=8u212 [2019-07-02T08:13:56.146Z] NODE_NAME=master [2019-07-02T08:13:56.146Z] GIT_BRANCH=origin/master [2019-07-02T08:13:56.146Z] EXECUTOR_NUMBER=1 [2019-07-02T08:13:56.146Z] STAGE_NAME=Execution info [2019-07-02T08:13:56.146Z] BUILD_DISPLAY_NAME=#1 [2019-07-02T08:13:56.146Z] HUDSON_HOME=/var/lib/jenkins [2019-07-02T08:13:56.146Z] JOB_BASE_NAME=DBAwareOpenJDK [2019-07-02T08:13:56.146Z] DOCKER_REGISTRY_URL=https://index.docker.io/v1/ [2019-07-02T08:13:56.146Z] JAVA_DEBIAN_VERSION=8u212-b01-1~deb9u1 [2019-07-02T08:13:56.146Z] PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin [2019-07-02T08:13:56.146Z] BUILD_ID=1 [2019-07-02T08:13:56.146Z] BUILDING_FOR=kyberorg [2019-07-02T08:13:56.146Z] BUILD_TAG=jenkins-DBAwareOpenJDK-1 [2019-07-02T08:13:56.146Z] JENKINS_URL=https://ci.yadev.eu/ [2019-07-02T08:13:56.146Z] LANG=C.UTF-8 [2019-07-02T08:13:56.146Z] GIT_URL=https://gitlab.com/yasys/db-aware-openjdk.git [2019-07-02T08:13:56.146Z] JOB_URL=https://ci.yadev.eu/job/DBAwareOpenJDK/ [2019-07-02T08:13:56.146Z] BUILD_NUMBER=1 [2019-07-02T08:13:56.146Z] JENKINS_NODE_COOKIE=ceefbdd6-5768-4de6-bfca-f4135f1c7149 [2019-07-02T08:13:56.146Z] RUN_DISPLAY_URL=https://ci.yadev.eu/job/DBAwareOpenJDK/1/display/redirect [2019-07-02T08:13:56.146Z] HUDSON_SERVER_COOKIE=e746ebc0b92d9cbd [2019-07-02T08:13:56.146Z] JOB_DISPLAY_URL=https://ci.yadev.eu/job/DBAwareOpenJDK/display/redirect [2019-07-02T08:13:56.146Z] CLASSPATH= [2019-07-02T08:13:56.146Z] JOB_NAME=DBAwareOpenJDK [2019-07-02T08:13:56.146Z] GIT_COMMITTER_EMAIL=ci@yadev.eu [2019-07-02T08:13:56.146Z] DOCKER_CONFIG=/var/lib/jenkins/workspace/DBAwareOpenJDK@tmp/982aa321-43d1-4416-bdc0-01212e1529b8 [2019-07-02T08:13:56.146Z] JAVA_HOME=/docker-java-home [2019-07-02T08:13:56.146Z] PWD=/var/lib/jenkins/workspace/DBAwareOpenJDK [2019-07-02T08:13:56.146Z] Requested by kyberorg [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (JavaApp: Build and Test) Stage "JavaApp: Build and Test" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker: Build and Push) [Pipeline] script [Pipeline] { [Pipeline] timeout [2019-07-02T08:13:56.536Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh [2019-07-02T08:13:56.857Z] + set +x [2019-07-02T08:13:57.108Z] Starting Docker: docker. [2019-07-02T08:13:57.108Z] Daemon started. kyberorg, go ahead! [Pipeline] } [Pipeline] // timeout [Pipeline] withCredentials [2019-07-02T08:13:57.186Z] Masking supported pattern matches of $USR or $PASS [Pipeline] { [Pipeline] timeout [2019-07-02T08:13:57.257Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh [2019-07-02T08:13:57.577Z] + set +x [2019-07-02T08:13:57.577Z] Login as **** to Docker Repository [2019-07-02T08:13:59.441Z] WARNING! Your password will be stored unencrypted in /var/lib/jenkins/workspace/DBAwareOpenJDK@tmp/982aa321-43d1-4416-bdc0-01212e1529b8/config.json. [2019-07-02T08:13:59.441Z] Configure a credential helper to remove this warning. See [2019-07-02T08:13:59.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2019-07-02T08:13:59.441Z] [2019-07-02T08:13:59.441Z] Login Succeeded [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withCredentials [Pipeline] timeout [2019-07-02T08:13:59.585Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh [2019-07-02T08:13:59.898Z] + set +x [2019-07-02T08:13:59.898Z] Building Docker Image yasys/db-aware-openjdk with tags: [latest] [2019-07-02T08:14:00.150Z] Sending build context to Docker daemon 56.32kB [2019-07-02T08:14:00.150Z] Step 1/7 : FROM openjdk:8-jre-slim [2019-07-02T08:14:01.493Z] 8-jre-slim: Pulling from library/openjdk [2019-07-02T08:14:02.045Z] fc7181108d40: Pulling fs layer [2019-07-02T08:14:02.045Z] 73f08ce352c8: Pulling fs layer [2019-07-02T08:14:02.045Z] eac271a34b40: Pulling fs layer [2019-07-02T08:14:02.045Z] 9ba0eff26192: Pulling fs layer [2019-07-02T08:14:02.045Z] 9ba0eff26192: Waiting [2019-07-02T08:14:02.595Z] eac271a34b40: Verifying Checksum [2019-07-02T08:14:02.595Z] eac271a34b40: Download complete [2019-07-02T08:14:02.595Z] 73f08ce352c8: Download complete [2019-07-02T08:14:02.846Z] fc7181108d40: Verifying Checksum [2019-07-02T08:14:02.846Z] fc7181108d40: Download complete [2019-07-02T08:14:03.757Z] 9ba0eff26192: Verifying Checksum [2019-07-02T08:14:03.757Z] 9ba0eff26192: Download complete [2019-07-02T08:14:06.240Z] fc7181108d40: Pull complete [2019-07-02T08:14:06.791Z] 73f08ce352c8: Pull complete [2019-07-02T08:14:07.342Z] eac271a34b40: Pull complete [2019-07-02T08:14:12.538Z] 9ba0eff26192: Pull complete [2019-07-02T08:14:12.538Z] Digest: sha256:39bece5e977d0daeb0510335f2624b929f893c167a09e6fc4e28412bb78eeb90 [2019-07-02T08:14:12.538Z] Status: Downloaded newer image for openjdk:8-jre-slim [2019-07-02T08:14:12.538Z] ---> 1d98c8a8ff74 [2019-07-02T08:14:12.538Z] Step 2/7 : MAINTAINER Alexander Muravya (aka kyberorg) [2019-07-02T08:14:13.881Z] ---> Running in ccd1f62f7ebc [2019-07-02T08:14:14.792Z] Removing intermediate container ccd1f62f7ebc [2019-07-02T08:14:14.792Z] ---> 0edb6b767c5e [2019-07-02T08:14:14.792Z] Step 3/7 : COPY ./entrypoint / [2019-07-02T08:14:14.792Z] COPY failed: stat /var/lib/docker/tmp/docker-builder633090746/entrypoint: no such file or directory [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] echo [2019-07-02T08:14:15.016Z] One way or another, I have finished. Tsau! [Pipeline] sh [2019-07-02T08:14:15.308Z] + set +x [2019-07-02T08:14:15.308Z] Making workspace writable for correct cleanup [2019-07-02T08:14:15.308Z] Done for kyberorg [Pipeline] deleteDir [Pipeline] echo [2019-07-02T08:14:15.369Z] Perkele! I failed :( [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // timestamps [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withEnv [Pipeline] } $ docker stop --time=1 d8a8bb7b1083c16cebcda959d3a07f9c873968839dfc8de6ffd89a21bd74084e $ docker rm -f d8a8bb7b1083c16cebcda959d3a07f9c873968839dfc8de6ffd89a21bd74084e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline ERROR: script returned exit code 1 Finished: FAILURE