Started by timer Querying the current revision of branch main... Current revision of branch main is 8f9deae87fcdb8d4dbbdae56a395dae061a7d10d Obtained Jenkinsfile from 8f9deae87fcdb8d4dbbdae56a395dae061a7d10d Loading library common-shared@master Examining eclipsefdn/jenkins-pipeline-shared Attempting to resolve master as a branch Resolved master as branch master at revision 98d7bb8ab3157d6d4738858f3badd16db141e1e7 The recommended git tool is: NONE using credential 2167ee51-24e8-4acf-8b51-ee6f68fa5bc8 > git rev-parse --resolve-git-dir /var/jenkins/workspace/lic_asciidoc-wg.eclipse.org_main@libs/4c733d19e20413ec39e26a9a2a519ef068a1f3d891939735973dc41c89ea57a9/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/eclipsefdn/jenkins-pipeline-shared.git # timeout=10 Fetching without tags Fetching upstream changes from https://github.com/eclipsefdn/jenkins-pipeline-shared.git > git --version # timeout=10 > git --version # 'git version 2.43.2' using GIT_ASKPASS to set credentials webdev-bot@api.eclipse.org (access token) > git fetch --no-tags --force --progress -- https://github.com/eclipsefdn/jenkins-pipeline-shared.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision 98d7bb8ab3157d6d4738858f3badd16db141e1e7 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98d7bb8ab3157d6d4738858f3badd16db141e1e7 # timeout=10 Commit message: "Touch file to create a new SHA" > git rev-list --no-walk 98d7bb8ab3157d6d4738858f3badd16db141e1e7 # timeout=10 [GitLab Pipeline Status] Notifying branch build status: RUNNING public/asciidoc-wg.eclipse.org/main #262: Build started... [GitLab Pipeline Status] Notified [Pipeline] Start of Pipeline [Pipeline] echo [WARNING] label option is deprecated. To use a static pod template, use the 'inheritFrom' option. [Pipeline] podTemplate [Pipeline] { [Pipeline] node Created Pod: kubernetes foundation-internal-webdev/kubedeploy-agent-qvj6k-lt97j Agent kubedeploy-agent-qvj6k-lt97j is provisioned from template kubedeploy-agent-qvj6k --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins-ui.foundation-internal-webdev.svc.cluster.local/ci/webdev/job/public/job/asciidoc-wg.eclipse.org/job/main/262/" runUrl: "job/public/job/asciidoc-wg.eclipse.org/job/main/262/" labels: jenkins: "slave" jenkins/label-digest: "078414e62b08fdd4b7ec6f7a2b1a7ad931de4d06" jenkins/label: "kubedeploy-agent" name: "kubedeploy-agent-qvj6k-lt97j" namespace: "foundation-internal-webdev" spec: containers: - command: - "cat" image: "eclipsefdn/kubectl:okd-c1" name: "kubectl" resources: limits: cpu: "1" memory: "1Gi" tty: true volumeMounts: - mountPath: "/home/default/.kube" name: "dot-kube" readOnly: false - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false - env: - name: "JENKINS_SECRET" value: "********" - name: "JENKINS_TUNNEL" value: "jenkins-discovery.foundation-internal-webdev.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "kubedeploy-agent-qvj6k-lt97j" - name: "JENKINS_NAME" value: "kubedeploy-agent-qvj6k-lt97j" - name: "JENKINS_AGENT_WORKDIR" value: "/home/jenkins/agent" - name: "JENKINS_URL" value: "http://jenkins-ui.foundation-internal-webdev.svc.cluster.local/ci/webdev/" image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-3160.vd76b_9ddd10cc" name: "jnlp" resources: limits: cpu: "1" memory: "1Gi" volumeMounts: - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false nodeSelector: kubernetes.io/os: "linux" restartPolicy: "Never" volumes: - emptyDir: {} name: "dot-kube" - emptyDir: medium: "" name: "workspace-volume" Running on kubedeploy-agent-qvj6k-lt97j in /home/jenkins/agent/workspace/lic_asciidoc-wg.eclipse.org_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: NONE using credential gitlab-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository https://gitlab.eclipse.org/eclipse-wg/asciidoc-wg/asciidoc-wg.eclipse.org.git > git init /home/jenkins/agent/workspace/lic_asciidoc-wg.eclipse.org_main # timeout=10 Fetching upstream changes from https://gitlab.eclipse.org/eclipse-wg/asciidoc-wg/asciidoc-wg.eclipse.org.git > git --version # timeout=10 > git --version # 'git version 2.20.1' using GIT_ASKPASS to set credentials GitLab username/token > git fetch --no-tags --force --progress -- https://gitlab.eclipse.org/eclipse-wg/asciidoc-wg/asciidoc-wg.eclipse.org.git +refs/heads/main:refs/remotes/origin/main # timeout=10 Avoid second fetch Checking out Revision 8f9deae87fcdb8d4dbbdae56a395dae061a7d10d (main) Commit message: "updated meeting minutes" > git config remote.origin.url https://gitlab.eclipse.org/eclipse-wg/asciidoc-wg/asciidoc-wg.eclipse.org.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8f9deae87fcdb8d4dbbdae56a395dae061a7d10d # timeout=10 > git rev-list --no-walk 8f9deae87fcdb8d4dbbdae56a395dae061a7d10d # timeout=10 [GitLab Pipeline Status] Notifying branch build status: RUNNING public/asciidoc-wg.eclipse.org/main #262: Build started... [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] sh + '[' main = master ']' + '[' main = main ']' + printf production [Pipeline] sh + '[' main = master ']' + '[' main = main ']' + printf production [Pipeline] sh + '[' production = production ']' + printf stable-alpine [Pipeline] sh + '[' main = master ']' + '[' main = main ']' + printf production [Pipeline] sh + '[' main = master ']' + '[' main = main ']' + printf production [Pipeline] sh ++ git rev-parse --short 8f9deae87fcdb8d4dbbdae56a395dae061a7d10d + GIT_COMMIT_SHORT=8f9deae + '[' production = '' ']' + printf production-8f9deae-262 [Pipeline] withEnv [Pipeline] { [Pipeline] timeout Timeout set to expire in 1 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Build docker image) [Pipeline] node Running on w9x5t-ubuntu1804 in /home/genie.webdev/jenkins-agent/workspace/lic_asciidoc-wg.eclipse.org_main [Pipeline] { [Pipeline] checkout The recommended git tool is: NONE using credential gitlab-credentials Fetching changes from the remote Git repository Fetching without tags Checking out Revision 8f9deae87fcdb8d4dbbdae56a395dae061a7d10d (main) Commit message: "updated meeting minutes" [GitLab Pipeline Status] Notifying branch build status: RUNNING public/asciidoc-wg.eclipse.org/main #262: Build started... > git rev-parse --resolve-git-dir /home/genie.webdev/jenkins-agent/workspace/lic_asciidoc-wg.eclipse.org_main/.git # timeout=10 > git config remote.origin.url https://gitlab.eclipse.org/eclipse-wg/asciidoc-wg/asciidoc-wg.eclipse.org.git # timeout=10 Fetching upstream changes from https://gitlab.eclipse.org/eclipse-wg/asciidoc-wg/asciidoc-wg.eclipse.org.git > git --version # timeout=10 > git --version # 'git version 2.17.1' using GIT_ASKPASS to set credentials GitLab username/token > git fetch --no-tags --progress -- https://gitlab.eclipse.org/eclipse-wg/asciidoc-wg/asciidoc-wg.eclipse.org.git +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8f9deae87fcdb8d4dbbdae56a395dae061a7d10d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] readTrusted Obtained Dockerfile from 8f9deae87fcdb8d4dbbdae56a395dae061a7d10d [Pipeline] } [Pipeline] // script [Pipeline] sh + docker build --pull --build-arg NGINX_IMAGE_TAG=stable-alpine --build-arg BUILDER_IMAGE_TAG=latest -t eclipsefdn/asciidoc-wg.eclipse.org:production-8f9deae-262 . Sending build context to Docker daemon 2.489MB Step 1/13 : ARG NGINX_IMAGE_TAG=stable-alpine Step 2/13 : FROM debian:10-slim AS builder 10-slim: Pulling from library/debian Digest: sha256:09bdc82c64e5e106d3f97cc8d834ef30eb46fab5fdbfde488aec554e94cd83a7 Status: Image is up to date for debian:10-slim ---> 6d0d34a48ee1 Step 3/13 : ARG HUGO_VERSION=0.76.5 ---> Using cache ---> aacdfc276ca9 Step 4/13 : ARG NODE_VERSION=16.14.2 ---> Using cache ---> 4c0f23816fa1 Step 5/13 : RUN apt-get update && apt-get install -y build-essential ca-certificates curl ruby bundler git --no-install-recommends ---> Using cache ---> cbab93e978d6 Step 6/13 : RUN curl -L -o /tmp/node.tar.xz "https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-x64.tar.xz" && mkdir -p /usr/local/lib/nodejs && tar -xJf /tmp/node.tar.xz -C /usr/local/lib/nodejs && ln -s /usr/local/lib/nodejs/node-v${NODE_VERSION}-linux-x64/bin/node /usr/bin/node && ln -s /usr/local/lib/nodejs/node-v${NODE_VERSION}-linux-x64/bin/npm /usr/bin/npm && ln -s /usr/local/lib/nodejs/node-v${NODE_VERSION}-linux-x64/bin/npx /usr/bin/npx && npm install -g yarn@1.22.10 && ln -s /usr/local/lib/nodejs/node-v${NODE_VERSION}-linux-x64/bin/yarn /usr/bin/yarn ---> Using cache ---> 2449f0573f87 Step 7/13 : RUN curl -L -o /tmp/hugo.deb "https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_Linux-64bit.deb" && dpkg -i /tmp/hugo.deb ---> Using cache ---> db8693cad235 Step 8/13 : WORKDIR /workdir ---> Using cache ---> 7f1552e4f845 Step 9/13 : COPY . /workdir/ ---> Using cache ---> b5a36cf7c14b Step 10/13 : RUN echo -n "Node.js version " && node --version && echo -n "npm version " && npm --version && hugo version ---> Using cache ---> 4966f4e1dd6d Step 11/13 : RUN bundle && yarn install --frozen-lockfile && hugo --gc --minify --destination public ---> Using cache ---> 5d510fe073f5 Step 12/13 : FROM eclipsefdn/nginx:${NGINX_IMAGE_TAG} stable-alpine: Pulling from eclipsefdn/nginx 4abcf2066143: Already exists 3129a53fcac0: Pulling fs layer 51c6306186bf: Pulling fs layer 097adf26662d: Pulling fs layer 27b4ece6aebb: Pulling fs layer 7101c7574452: Pulling fs layer 98679bd10007: Pulling fs layer b1a0e0d8fc1d: Pulling fs layer a7f76fb731bb: Pulling fs layer 04c9cde8d74a: Pulling fs layer bd34bd38e9e2: Pulling fs layer 27b4ece6aebb: Waiting 7101c7574452: Waiting 98679bd10007: Waiting b1a0e0d8fc1d: Waiting a7f76fb731bb: Waiting 04c9cde8d74a: Waiting bd34bd38e9e2: Waiting 51c6306186bf: Verifying Checksum 51c6306186bf: Download complete 097adf26662d: Verifying Checksum 097adf26662d: Download complete 3129a53fcac0: Verifying Checksum 3129a53fcac0: Download complete 27b4ece6aebb: Verifying Checksum 27b4ece6aebb: Download complete 7101c7574452: Verifying Checksum 7101c7574452: Download complete 98679bd10007: Verifying Checksum 98679bd10007: Download complete a7f76fb731bb: Verifying Checksum a7f76fb731bb: Download complete 04c9cde8d74a: Verifying Checksum 04c9cde8d74a: Download complete bd34bd38e9e2: Verifying Checksum bd34bd38e9e2: Download complete b1a0e0d8fc1d: Verifying Checksum b1a0e0d8fc1d: Download complete 3129a53fcac0: Pull complete 51c6306186bf: Pull complete 097adf26662d: Pull complete 27b4ece6aebb: Pull complete 7101c7574452: Pull complete 98679bd10007: Pull complete b1a0e0d8fc1d: Pull complete a7f76fb731bb: Pull complete 04c9cde8d74a: Pull complete bd34bd38e9e2: Pull complete Digest: sha256:e83fbcebd3c32ab6892ef610a4929779a474b0ad4cd79c64cfcc59943369a709 Status: Downloaded newer image for eclipsefdn/nginx:stable-alpine ---> ec736255f671 Step 13/13 : COPY --from=builder /workdir/public/ /usr/share/nginx/html/ ---> 96bf2933f697 [Warning] One or more build-args [BUILDER_IMAGE_TAG] were not consumed Successfully built 96bf2933f697 Successfully tagged eclipsefdn/asciidoc-wg.eclipse.org:production-8f9deae-262 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Push docker image) [Pipeline] node Running on w9x5t-ubuntu1804 in /home/genie.webdev/jenkins-agent/workspace/lic_asciidoc-wg.eclipse.org_main [Pipeline] { [Pipeline] checkout The recommended git tool is: NONE using credential gitlab-credentials Fetching changes from the remote Git repository Fetching without tags Checking out Revision 8f9deae87fcdb8d4dbbdae56a395dae061a7d10d (main) Commit message: "updated meeting minutes" [GitLab Pipeline Status] Notifying branch build status: RUNNING public/asciidoc-wg.eclipse.org/main #262: Build started... > git rev-parse --resolve-git-dir /home/genie.webdev/jenkins-agent/workspace/lic_asciidoc-wg.eclipse.org_main/.git # timeout=10 > git config remote.origin.url https://gitlab.eclipse.org/eclipse-wg/asciidoc-wg/asciidoc-wg.eclipse.org.git # timeout=10 Fetching upstream changes from https://gitlab.eclipse.org/eclipse-wg/asciidoc-wg/asciidoc-wg.eclipse.org.git > git --version # timeout=10 > git --version # 'git version 2.17.1' using GIT_ASKPASS to set credentials GitLab username/token > git fetch --no-tags --progress -- https://gitlab.eclipse.org/eclipse-wg/asciidoc-wg/asciidoc-wg.eclipse.org.git +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8f9deae87fcdb8d4dbbdae56a395dae061a7d10d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry $ docker login -u webdevbot -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 /home/genie.webdev/jenkins-agent/workspace/lic_asciidoc-wg.eclipse.org_main@tmp/a8772328-37ab-4865-857b-0132719a4d23/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 push eclipsefdn/asciidoc-wg.eclipse.org:production-8f9deae-262 The push refers to repository [docker.io/eclipsefdn/asciidoc-wg.eclipse.org] d0faabcd1285: Preparing ea1355047dfe: Preparing 99a4ba35c60a: Preparing bbcb0f280bf4: Preparing 3f815151f15a: Preparing c8ee365a8f96: Preparing caa2c1164fa4: Preparing c19ca31bf212: Preparing 3651e56dc394: Preparing 2806be01f229: Preparing 0d01880f987b: Preparing d4fc045c9e3a: Preparing c8ee365a8f96: Waiting caa2c1164fa4: Waiting c19ca31bf212: Waiting 3651e56dc394: Waiting 2806be01f229: Waiting 0d01880f987b: Waiting d4fc045c9e3a: Waiting ea1355047dfe: Mounted from eclipsefdn/nginx 3f815151f15a: Mounted from eclipsefdn/nginx bbcb0f280bf4: Mounted from eclipsefdn/nginx 99a4ba35c60a: Mounted from eclipsefdn/nginx caa2c1164fa4: Mounted from eclipsefdn/nginx c8ee365a8f96: Mounted from eclipsefdn/nginx c19ca31bf212: Mounted from eclipsefdn/nginx 3651e56dc394: Mounted from eclipsefdn/nginx d4fc045c9e3a: Layer already exists 2806be01f229: Mounted from eclipsefdn/nginx 0d01880f987b: Mounted from eclipsefdn/nginx d0faabcd1285: Pushed production-8f9deae-262: digest: sha256:52ea985941a74ed677a0a5d151c0c2f03ec9d043b47e3d4e9c07006a29a85abe size: 2822 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Tag and push image as latest) [Pipeline] node Running on w9x5t-ubuntu1804 in /home/genie.webdev/jenkins-agent/workspace/lic_asciidoc-wg.eclipse.org_main [Pipeline] { [Pipeline] checkout The recommended git tool is: NONE using credential gitlab-credentials Fetching changes from the remote Git repository Fetching without tags > git rev-parse --resolve-git-dir /home/genie.webdev/jenkins-agent/workspace/lic_asciidoc-wg.eclipse.org_main/.git # timeout=10 > git config remote.origin.url https://gitlab.eclipse.org/eclipse-wg/asciidoc-wg/asciidoc-wg.eclipse.org.git # timeout=10 Fetching upstream changes from https://gitlab.eclipse.org/eclipse-wg/asciidoc-wg/asciidoc-wg.eclipse.org.git > git --version # timeout=10 > git --version # 'git version 2.17.1' using GIT_ASKPASS to set credentials GitLab username/token > git fetch --no-tags --progress -- https://gitlab.eclipse.org/eclipse-wg/asciidoc-wg/asciidoc-wg.eclipse.org.git +refs/heads/main:refs/remotes/origin/main # timeout=10 Checking out Revision 8f9deae87fcdb8d4dbbdae56a395dae061a7d10d (main) Commit message: "updated meeting minutes" [GitLab Pipeline Status] Notifying branch build status: RUNNING public/asciidoc-wg.eclipse.org/main #262: Build started... > git config core.sparsecheckout # timeout=10 > git checkout -f 8f9deae87fcdb8d4dbbdae56a395dae061a7d10d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry $ docker login -u webdevbot -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 /home/genie.webdev/jenkins-agent/workspace/lic_asciidoc-wg.eclipse.org_main@tmp/eea0c9ed-d24b-4041-aa04-21fe2484b9a8/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 tag eclipsefdn/asciidoc-wg.eclipse.org:production-8f9deae-262 eclipsefdn/asciidoc-wg.eclipse.org:latest + docker push eclipsefdn/asciidoc-wg.eclipse.org:latest The push refers to repository [docker.io/eclipsefdn/asciidoc-wg.eclipse.org] d0faabcd1285: Preparing ea1355047dfe: Preparing 99a4ba35c60a: Preparing bbcb0f280bf4: Preparing 3f815151f15a: Preparing c8ee365a8f96: Preparing caa2c1164fa4: Preparing c19ca31bf212: Preparing 3651e56dc394: Preparing 2806be01f229: Preparing 0d01880f987b: Preparing d4fc045c9e3a: Preparing caa2c1164fa4: Waiting c19ca31bf212: Waiting 3651e56dc394: Waiting 2806be01f229: Waiting 0d01880f987b: Waiting d4fc045c9e3a: Waiting c8ee365a8f96: Waiting 99a4ba35c60a: Layer already exists bbcb0f280bf4: Layer already exists 3f815151f15a: Layer already exists ea1355047dfe: Layer already exists d0faabcd1285: Layer already exists caa2c1164fa4: Layer already exists c8ee365a8f96: Layer already exists 3651e56dc394: Layer already exists 2806be01f229: Layer already exists c19ca31bf212: Layer already exists 0d01880f987b: Layer already exists d4fc045c9e3a: Layer already exists latest: digest: sha256:52ea985941a74ed677a0a5d151c0c2f03ec9d043b47e3d4e9c07006a29a85abe size: 2822 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Deploy to cluster) [Pipeline] container [Pipeline] { [Pipeline] withKubeConfig [Pipeline] { [Pipeline] sh Flag --record has been deprecated, --record will be removed in the future deployment.apps/asciidoc-wg.eclipse.org image updated Waiting for deployment "asciidoc-wg.eclipse.org" rollout to finish: 1 out of 2 new replicas have been updated... Waiting for deployment "asciidoc-wg.eclipse.org" rollout to finish: 1 out of 2 new replicas have been updated... Waiting for deployment "asciidoc-wg.eclipse.org" rollout to finish: 1 out of 2 new replicas have been updated... Waiting for deployment "asciidoc-wg.eclipse.org" rollout to finish: 1 old replicas are pending termination... Waiting for deployment "asciidoc-wg.eclipse.org" rollout to finish: 1 old replicas are pending termination... deployment "asciidoc-wg.eclipse.org" successfully rolled out [Pipeline] } [kubernetes-cli] kubectl configuration cleaned up [Pipeline] // withKubeConfig [Pipeline] } [Pipeline] // container [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] deleteDir [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // podTemplate [Pipeline] End of Pipeline [GitLab Pipeline Status] Notifying branch build status: SUCCESS public/asciidoc-wg.eclipse.org/main #262: This commit looks good. [GitLab Pipeline Status] Notified Finished: SUCCESS