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/yadevv/logo.git into /var/lib/jenkins/workspace/LogoSite@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/yadevv/logo.git # timeout=10 Fetching upstream changes from https://gitlab.com/yadevv/logo.git > /usr/bin/git --version # timeout=10 using GIT_ASKPASS to set credentials Kyberorg GitLab > /usr/bin/git fetch --tags --progress https://gitlab.com/yadevv/logo.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Seen branch in repository origin/master Seen branch in repository origin/trunk Seen 2 remote branches > /usr/bin/git show-ref --tags -d # timeout=10 Checking out Revision 5a1ddbe2660c06bd9877adc5b4965dc462407894 (origin/trunk) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 5a1ddbe2660c06bd9877adc5b4965dc462407894 # timeout=10 Commit message: "Trunk update" > /usr/bin/git rev-list --no-walk 5a1ddbe2660c06bd9877adc5b4965dc462407894 # 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 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/LogoSite [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential kyberorg_gl Cloning the remote Git repository Cloning repository https://gitlab.com/yadevv/logo.git > /usr/bin/git init /var/lib/jenkins/workspace/LogoSite # timeout=10 Fetching upstream changes from https://gitlab.com/yadevv/logo.git > /usr/bin/git --version # timeout=10 using GIT_ASKPASS to set credentials Kyberorg GitLab > /usr/bin/git fetch --tags --progress https://gitlab.com/yadevv/logo.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > /usr/bin/git config remote.origin.url https://gitlab.com/yadevv/logo.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/yadevv/logo.git # timeout=10 Fetching upstream changes from https://gitlab.com/yadevv/logo.git using GIT_ASKPASS to set credentials Kyberorg GitLab > /usr/bin/git fetch --tags --progress https://gitlab.com/yadevv/logo.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Seen branch in repository origin/master Seen branch in repository origin/trunk Seen 2 remote branches > /usr/bin/git show-ref --tags -d # timeout=10 Checking out Revision 5a1ddbe2660c06bd9877adc5b4965dc462407894 (origin/trunk) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 5a1ddbe2660c06bd9877adc5b4965dc462407894 # timeout=10 Commit message: "Trunk update" [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/LogoSite@tmp/c4e95fff-0535-4bfd-8e33-7b74675c7907/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 -w /var/lib/jenkins/workspace/LogoSite -v /var/lib/jenkins/workspace/LogoSite:/var/lib/jenkins/workspace/LogoSite:rw,z -v /var/lib/jenkins/workspace/LogoSite@tmp:/var/lib/jenkins/workspace/LogoSite@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 ******** yasys/jobbari:1.7.0 cat $ docker top 91c34a108373063df4e9dce724017a98dadca90545029d0678336468137651ea -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-05-27T07:33:24.733Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh [2019-05-27T07:33:25.041Z] + set +x [2019-05-27T07:33:25.041Z] [Runner info] [2019-05-27T07:33:25.041Z] Hostname: 91c34a108373 [2019-05-27T07:33:25.292Z] Network Status: Host Online [2019-05-27T07:33:25.292Z] [2019-05-27T07:33:25.292Z] === Tools info === [2019-05-27T07:33:25.543Z] Docker version: Docker version 18.09.5, build e8ff056dbc [2019-05-27T07:33:25.543Z] [2019-05-27T07:33:25.543Z] Maven version: Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T18:41:47Z) [2019-05-27T07:33:25.543Z] Maven home: /opt/mvn [2019-05-27T07:33:25.543Z] Java version: 1.8.0_212, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-8-openjdk-amd64/jre [2019-05-27T07:33:25.543Z] Default locale: en, platform encoding: UTF-8 [2019-05-27T07:33:25.543Z] OS name: "linux", version: "4.9.0-8-amd64", arch: "amd64", family: "unix" [2019-05-27T07:33:25.543Z] [2019-05-27T07:33:25.543Z] Requested by kyberorg [Pipeline] } [Pipeline] // timeout [Pipeline] timeout [2019-05-27T07:33:25.674Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh [2019-05-27T07:33:25.992Z] + set +x [2019-05-27T07:33:25.992Z] [Build info] [2019-05-27T07:33:25.992Z] ===== Git info ===== [2019-05-27T07:33:25.992Z] Git branch: trunk [2019-05-27T07:33:25.992Z] Git commit: 5a1ddbe2660c06bd9877adc5b4965dc462407894 [2019-05-27T07:33:25.992Z] Git tag: - [2019-05-27T07:33:25.992Z] [2019-05-27T07:33:25.992Z] ===== Jenkins info ===== [2019-05-27T07:33:25.992Z] Jenkins Job #47 [2019-05-27T07:33:25.992Z] Jenkins Job URL: https://ci.yadev.eu/job/LogoSite/47/ [2019-05-27T07:33:25.992Z] Jenkins Tag: jenkins-LogoSite-47 [2019-05-27T07:33:25.992Z] [2019-05-27T07:33:25.992Z] ===== Job Params ===== [2019-05-27T07:33:25.992Z] [2019-05-27T07:33:25.992Z] dockerRepo=yadev/logo [2019-05-27T07:33:25.992Z] dockerStep=ee.yadev.pipe.commonpipe.Default@51ac719 [2019-05-27T07:33:25.992Z] javaStep=null [2019-05-27T07:33:25.992Z] executionInfoStep=ee.yadev.pipe.commonpipe.Default@51ac719 [2019-05-27T07:33:25.992Z] hubUrl=https://cloud.docker.com/repository/docker [2019-05-27T07:33:25.992Z] useDebugTag=false [2019-05-27T07:33:25.992Z] mavenBuildOptions={addJavadoc=false, runTestsAsWell=false} [2019-05-27T07:33:25.992Z] preparationStep=ee.yadev.pipe.commonpipe.Default@51ac719 [2019-05-27T07:33:25.992Z] stepTimeout=5 [2019-05-27T07:33:25.992Z] hubCredentialsId=docker-hub [2019-05-27T07:33:25.992Z] class=class ee.yadev.pipe.commonpipe.Params [2019-05-27T07:33:25.992Z] skipMavenTests=false [2019-05-27T07:33:25.992Z] agent={image=yasys/jobbari, tag=1.7.0, args=-u root --privileged} [2019-05-27T07:33:25.992Z] verbose=false [2019-05-27T07:33:25.992Z] mavenTestsTimeout=5 [2019-05-27T07:33:25.992Z] pipelineTimeout=15 [2019-05-27T07:33:25.992Z] hubUser=kyberorg [2019-05-27T07:33:25.992Z] [2019-05-27T07:33:25.992Z] ==== Environment Variables ===== [2019-05-27T07:33:25.992Z] GIT_COMMITTER_NAME=Jenkins CI [2019-05-27T07:33:25.992Z] GIT_PREVIOUS_SUCCESSFUL_COMMIT=5a1ddbe2660c06bd9877adc5b4965dc462407894 [2019-05-27T07:33:25.992Z] GIT_AUTHOR_EMAIL=ci@yadev.eu [2019-05-27T07:33:25.992Z] HOSTNAME=91c34a108373 [2019-05-27T07:33:25.992Z] RUN_CHANGES_DISPLAY_URL=https://ci.yadev.eu/job/LogoSite/47/display/redirect?page=changes [2019-05-27T07:33:25.992Z] NODE_LABELS=master [2019-05-27T07:33:25.992Z] GIT_COMMIT=5a1ddbe2660c06bd9877adc5b4965dc462407894 [2019-05-27T07:33:25.992Z] HUDSON_URL=https://ci.yadev.eu/ [2019-05-27T07:33:25.992Z] HOME=/root [2019-05-27T07:33:25.992Z] BUILD_URL=https://ci.yadev.eu/job/LogoSite/47/ [2019-05-27T07:33:25.992Z] GIT_AUTHOR_NAME=Jenkins CI [2019-05-27T07:33:25.992Z] JENKINS_SERVER_COOKIE=durable-18112f03f9512c807ea95c42da22cbcb [2019-05-27T07:33:25.992Z] WORKSPACE=/var/lib/jenkins/workspace/LogoSite [2019-05-27T07:33:25.992Z] JAVA_VERSION=8u212 [2019-05-27T07:33:25.992Z] NODE_NAME=master [2019-05-27T07:33:25.992Z] GIT_BRANCH=origin/trunk [2019-05-27T07:33:25.992Z] EXECUTOR_NUMBER=0 [2019-05-27T07:33:25.992Z] STAGE_NAME=Execution info [2019-05-27T07:33:25.992Z] BUILD_DISPLAY_NAME=#47 [2019-05-27T07:33:25.992Z] HUDSON_HOME=/var/lib/jenkins [2019-05-27T07:33:25.992Z] JOB_BASE_NAME=LogoSite [2019-05-27T07:33:25.992Z] DOCKER_REGISTRY_URL=https://index.docker.io/v1/ [2019-05-27T07:33:25.992Z] JAVA_DEBIAN_VERSION=8u212-b01-1~deb9u1 [2019-05-27T07:33:25.992Z] PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin [2019-05-27T07:33:25.992Z] BUILD_ID=47 [2019-05-27T07:33:25.992Z] BUILDING_FOR=kyberorg [2019-05-27T07:33:25.992Z] BUILD_TAG=jenkins-LogoSite-47 [2019-05-27T07:33:25.992Z] JENKINS_URL=https://ci.yadev.eu/ [2019-05-27T07:33:25.992Z] LANG=C.UTF-8 [2019-05-27T07:33:25.992Z] JOB_URL=https://ci.yadev.eu/job/LogoSite/ [2019-05-27T07:33:25.992Z] GIT_URL=https://gitlab.com/yadevv/logo.git [2019-05-27T07:33:25.992Z] BUILD_NUMBER=47 [2019-05-27T07:33:25.992Z] JENKINS_NODE_COOKIE=9f00299a-382e-477d-8faa-73adff1a07ed [2019-05-27T07:33:25.992Z] RUN_DISPLAY_URL=https://ci.yadev.eu/job/LogoSite/47/display/redirect [2019-05-27T07:33:25.992Z] HUDSON_SERVER_COOKIE=e746ebc0b92d9cbd [2019-05-27T07:33:25.992Z] JOB_DISPLAY_URL=https://ci.yadev.eu/job/LogoSite/display/redirect [2019-05-27T07:33:25.992Z] CLASSPATH= [2019-05-27T07:33:25.992Z] JOB_NAME=LogoSite [2019-05-27T07:33:25.992Z] GIT_COMMITTER_EMAIL=ci@yadev.eu [2019-05-27T07:33:25.992Z] DOCKER_CONFIG=/var/lib/jenkins/workspace/LogoSite@tmp/c4e95fff-0535-4bfd-8e33-7b74675c7907 [2019-05-27T07:33:25.992Z] JAVA_HOME=/docker-java-home [2019-05-27T07:33:25.992Z] PWD=/var/lib/jenkins/workspace/LogoSite [2019-05-27T07:33:25.992Z] GIT_PREVIOUS_COMMIT=5a1ddbe2660c06bd9877adc5b4965dc462407894 [2019-05-27T07:33:25.992Z] 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-05-27T07:33:26.442Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh [2019-05-27T07:33:27.070Z] + set +x [2019-05-27T07:33:27.070Z] Starting Docker: docker. [2019-05-27T07:33:27.070Z] Daemon started. kyberorg, go ahead! [Pipeline] } [Pipeline] // timeout [Pipeline] withCredentials [2019-05-27T07:33:27.148Z] Masking only exact matches of $USR or $PASS [Pipeline] { [Pipeline] timeout [2019-05-27T07:33:27.206Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh [2019-05-27T07:33:27.508Z] + set +x [2019-05-27T07:33:27.508Z] Login as **** to Docker Repository [2019-05-27T07:33:29.370Z] WARNING! Your password will be stored unencrypted in /var/lib/jenkins/workspace/LogoSite@tmp/c4e95fff-0535-4bfd-8e33-7b74675c7907/config.json. [2019-05-27T07:33:29.370Z] Configure a credential helper to remove this warning. See [2019-05-27T07:33:29.370Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2019-05-27T07:33:29.370Z] [2019-05-27T07:33:29.370Z] Login Succeeded [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withCredentials [Pipeline] timeout [2019-05-27T07:33:29.522Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh [2019-05-27T07:33:29.842Z] + set +x [2019-05-27T07:33:29.842Z] Building Docker Image yadev/logo with tags: [trunk] [2019-05-27T07:33:30.093Z] Sending build context to Docker daemon 1.121MB [2019-05-27T07:33:30.093Z] Step 1/2 : FROM nginx:alpine [2019-05-27T07:33:31.955Z] alpine: Pulling from library/nginx [2019-05-27T07:33:32.206Z] e7c96db7181b: Pulling fs layer [2019-05-27T07:33:32.206Z] 264026bbe255: Pulling fs layer [2019-05-27T07:33:32.206Z] a71634c55d29: Pulling fs layer [2019-05-27T07:33:32.206Z] 5595887beb81: Pulling fs layer [2019-05-27T07:33:32.206Z] 5595887beb81: Waiting [2019-05-27T07:33:32.757Z] a71634c55d29: Download complete [2019-05-27T07:33:32.757Z] e7c96db7181b: Verifying Checksum [2019-05-27T07:33:32.757Z] e7c96db7181b: Download complete [2019-05-27T07:33:32.757Z] 264026bbe255: Verifying Checksum [2019-05-27T07:33:32.757Z] 264026bbe255: Download complete [2019-05-27T07:33:33.008Z] e7c96db7181b: Pull complete [2019-05-27T07:33:33.259Z] 5595887beb81: Verifying Checksum [2019-05-27T07:33:33.811Z] 264026bbe255: Pull complete [2019-05-27T07:33:34.362Z] a71634c55d29: Pull complete [2019-05-27T07:33:34.613Z] 5595887beb81: Pull complete [2019-05-27T07:33:34.613Z] Digest: sha256:57a226fb6ab6823027c0704a9346a890ffb0cacde06bc19bbc234c8720673555 [2019-05-27T07:33:34.613Z] Status: Downloaded newer image for nginx:alpine [2019-05-27T07:33:34.613Z] ---> dd025cdfe837 [2019-05-27T07:33:34.613Z] Step 2/2 : COPY site /usr/share/nginx/html [2019-05-27T07:33:35.163Z] ---> 1a79ad1313b9 [2019-05-27T07:33:35.414Z] Successfully built 1a79ad1313b9 [2019-05-27T07:33:35.414Z] Successfully tagged yadev/logo:trunk [2019-05-27T07:33:35.414Z] Docker image yadev/logo:[trunk] for kyberorg created [Pipeline] } [Pipeline] // timeout [Pipeline] timeout [2019-05-27T07:33:35.494Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh [2019-05-27T07:33:35.803Z] + set +x [2019-05-27T07:33:35.804Z] Push yadev/logo to Docker Repository [2019-05-27T07:33:36.054Z] The push refers to repository [docker.io/yadev/logo] [2019-05-27T07:33:36.605Z] ba374b6f165f: Preparing [2019-05-27T07:33:36.605Z] a521e1bbddf5: Preparing [2019-05-27T07:33:36.605Z] bf381a670956: Preparing [2019-05-27T07:33:36.605Z] a61993362baf: Preparing [2019-05-27T07:33:36.605Z] f1b5933fe4b5: Preparing [2019-05-27T07:33:37.517Z] f1b5933fe4b5: Layer already exists [2019-05-27T07:33:37.517Z] bf381a670956: Layer already exists [2019-05-27T07:33:37.517Z] a521e1bbddf5: Layer already exists [2019-05-27T07:33:37.517Z] a61993362baf: Layer already exists [2019-05-27T07:33:41.640Z] ba374b6f165f: Pushed [2019-05-27T07:33:45.764Z] trunk: digest: sha256:4edf259b0d2c80765f960a0d45ed84998477658631a6f59d1c3ed7b7d074f41a size: 1363 [2019-05-27T07:33:45.764Z] Docker image successfully pushed for kyberorg. Enjoy! [Pipeline] } [Pipeline] // timeout [Pipeline] timeout [2019-05-27T07:33:45.855Z] Timeout set to expire in 5 min 0 sec [Pipeline] { [Pipeline] sh [2019-05-27T07:33:46.184Z] + set +x [2019-05-27T07:33:46.185Z] Moikka kyberorg! [2019-05-27T07:33:46.185Z] Here is Docker Summary: [2019-05-27T07:33:46.185Z] Images built and pushed: 1 [2019-05-27T07:33:46.185Z] [ [2019-05-27T07:33:46.185Z] yadev/logo:trunk [2019-05-27T07:33:46.185Z] ] [2019-05-27T07:33:46.185Z] Hub Url: https://cloud.docker.com/repository/docker/yadev/logo [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] echo [2019-05-27T07:33:46.422Z] One way or another, I have finished. Tsau! [Pipeline] sh [2019-05-27T07:33:46.723Z] + set +x [2019-05-27T07:33:46.723Z] Making workspace writable for correct cleanup [2019-05-27T07:33:46.723Z] Done for kyberorg [Pipeline] deleteDir [Pipeline] echo [2019-05-27T07:33:46.787Z] Great success! [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // timestamps [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withEnv [Pipeline] } $ docker stop --time=1 91c34a108373063df4e9dce724017a98dadca90545029d0678336468137651ea $ docker rm -f 91c34a108373063df4e9dce724017a98dadca90545029d0678336468137651ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline Finished: SUCCESS