Skip to content

Console Output

Started by user Sébastien Heurtematte
Running as Sébastien Heurtematte
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.0'
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 #256: 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-k0k0p-jcjjg
Agent kubedeploy-agent-k0k0p-jcjjg is provisioned from template kubedeploy-agent-k0k0p
---
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/256/"
    runUrl: "job/public/job/asciidoc-wg.eclipse.org/job/main/256/"
  labels:
    jenkins: "slave"
    jenkins/label-digest: "078414e62b08fdd4b7ec6f7a2b1a7ad931de4d06"
    jenkins/label: "kubedeploy-agent"
  name: "kubedeploy-agent-k0k0p-jcjjg"
  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-k0k0p-jcjjg"
    - name: "JENKINS_NAME"
      value: "kubedeploy-agent-k0k0p-jcjjg"
    - 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-k0k0p-jcjjg 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 #256: 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-256
[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 #256: 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-256 .
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:4620251e86cea652ef2746c8abef2fcc3ea54abb5f014bfbf841159d805cd1fd
Status: Image is up to date for debian:10-slim
 ---> 0b031cf4038f
Step 3/13 : ARG HUGO_VERSION=0.76.5
 ---> Using cache
 ---> d9d9b0b7075b
Step 4/13 : ARG NODE_VERSION=16.14.2
 ---> Using cache
 ---> c52a8fb59602
Step 5/13 : RUN apt-get update && apt-get install -y     build-essential     ca-certificates     curl     ruby     bundler     git     --no-install-recommends
 ---> Using cache
 ---> 43c63d22f81c
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
 ---> 73a58b71fedf
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
 ---> 3055ea5542a0
Step 8/13 : WORKDIR /workdir
 ---> Using cache
 ---> 61e2982f92af
Step 9/13 : COPY . /workdir/
 ---> Using cache
 ---> 683f5fcbd5aa
Step 10/13 : RUN echo -n "Node.js version " && node --version   && echo -n "npm version " && npm --version   && hugo version
 ---> Using cache
 ---> b65a327033f2
Step 11/13 : RUN bundle     && yarn install --frozen-lockfile     && hugo --gc --minify --destination public
 ---> Using cache
 ---> 3cd8dc4518d0
Step 12/13 : FROM eclipsefdn/nginx:${NGINX_IMAGE_TAG}
stable-alpine: Pulling from eclipsefdn/nginx
3c854c8cbf46: Already exists
de5d475193dd: Already exists
b407bcc80638: Already exists
da33b1ad0ac4: Already exists
a0fbd691d7c1: Already exists
16eaaaf5f1c0: Already exists
5e845cc16269: Already exists
2d19de40b86e: Pulling fs layer
d007f84f1af9: Pulling fs layer
42a779f5b59c: Pulling fs layer
42a779f5b59c: Verifying Checksum
42a779f5b59c: Download complete
d007f84f1af9: Verifying Checksum
d007f84f1af9: Download complete
2d19de40b86e: Download complete
2d19de40b86e: Pull complete
d007f84f1af9: Pull complete
42a779f5b59c: Pull complete
Digest: sha256:2b8aed4d4d57094173356cb3bd5e0960087c967144f7b9a38f70ab33ca023f21
Status: Downloaded newer image for eclipsefdn/nginx:stable-alpine
 ---> 298ab92b5605
Step 13/13 : COPY --from=builder /workdir/public/ /usr/share/nginx/html/
 ---> f66c07004bf8
[Warning] One or more build-args [BUILDER_IMAGE_TAG] were not consumed
Successfully built f66c07004bf8
Successfully tagged eclipsefdn/asciidoc-wg.eclipse.org:production-8f9deae-256
[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 #256: 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/c5aa00e9-d3ca-436d-a56a-4328dc3bba63/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-256
The push refers to repository [docker.io/eclipsefdn/asciidoc-wg.eclipse.org]
5bf7ad910a3c: Preparing
6872d86bb78d: Preparing
93b803c30522: Preparing
dbb82759e511: Preparing
7388ed75460c: Preparing
66afb7c3e6d1: Preparing
439be94dd989: Preparing
08761a690f84: Preparing
419b89bbfa3b: Preparing
5fa2288e0d6e: Preparing
f4111324080c: Preparing
08761a690f84: Waiting
419b89bbfa3b: Waiting
5fa2288e0d6e: Waiting
f4111324080c: Waiting
66afb7c3e6d1: Waiting
439be94dd989: Waiting
7388ed75460c: Layer already exists
66afb7c3e6d1: Layer already exists
6872d86bb78d: Mounted from eclipsefdn/nginx
439be94dd989: Layer already exists
93b803c30522: Mounted from eclipsefdn/nginx
dbb82759e511: Mounted from eclipsefdn/nginx
419b89bbfa3b: Layer already exists
08761a690f84: Layer already exists
5fa2288e0d6e: Layer already exists
f4111324080c: Layer already exists
5bf7ad910a3c: Pushed
production-8f9deae-256: digest: sha256:79e5fb0ceba5abfc210a627da56e3a617527087a1166d151dfc63040fa91ceb3 size: 2614
[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
Checking out Revision 8f9deae87fcdb8d4dbbdae56a395dae061a7d10d (main)
Commit message: "updated meeting minutes"
[GitLab Pipeline Status] Notifying branch build status: RUNNING public/asciidoc-wg.eclipse.org/main #256: 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/3afdcc4d-6890-485b-a029-c23b4576b444/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-256 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]
5bf7ad910a3c: Preparing
6872d86bb78d: Preparing
93b803c30522: Preparing
dbb82759e511: Preparing
7388ed75460c: Preparing
66afb7c3e6d1: Preparing
439be94dd989: Preparing
08761a690f84: Preparing
419b89bbfa3b: Preparing
5fa2288e0d6e: Preparing
f4111324080c: Preparing
66afb7c3e6d1: Waiting
5fa2288e0d6e: Waiting
f4111324080c: Waiting
08761a690f84: Waiting
419b89bbfa3b: Waiting
93b803c30522: Layer already exists
dbb82759e511: Layer already exists
5bf7ad910a3c: Layer already exists
7388ed75460c: Layer already exists
6872d86bb78d: Layer already exists
66afb7c3e6d1: Layer already exists
439be94dd989: Layer already exists
419b89bbfa3b: Layer already exists
08761a690f84: Layer already exists
5fa2288e0d6e: Layer already exists
f4111324080c: Layer already exists
latest: digest: sha256:79e5fb0ceba5abfc210a627da56e3a617527087a1166d151dfc63040fa91ceb3 size: 2614
[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: 0 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 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 #256: This commit looks good.
[GitLab Pipeline Status] Notified
Finished: SUCCESS