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 #254: 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-dc2rb-fbddj
Agent kubedeploy-agent-dc2rb-fbddj is provisioned from template kubedeploy-agent-dc2rb
---
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/254/"
    runUrl: "job/public/job/asciidoc-wg.eclipse.org/job/main/254/"
  labels:
    jenkins: "slave"
    jenkins/label-digest: "078414e62b08fdd4b7ec6f7a2b1a7ad931de4d06"
    jenkins/label: "kubedeploy-agent"
  name: "kubedeploy-agent-dc2rb-fbddj"
  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-dc2rb-fbddj"
    - name: "JENKINS_NAME"
      value: "kubedeploy-agent-dc2rb-fbddj"
    - 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-dc2rb-fbddj 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 #254: 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-254
[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 #254: 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-254 .
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
Digest: sha256:043568ffee4148ecc4ebfc5d0de5351899bc4d1a0f1f14c5beb2951057f6b901
Status: Image is up to date for eclipsefdn/nginx:stable-alpine
 ---> fd5504647ce6
Step 13/13 : COPY --from=builder /workdir/public/ /usr/share/nginx/html/
 ---> Using cache
 ---> 62121c53ff2e
[Warning] One or more build-args [BUILDER_IMAGE_TAG] were not consumed
Successfully built 62121c53ff2e
Successfully tagged eclipsefdn/asciidoc-wg.eclipse.org:production-8f9deae-254
[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 #254: 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/7928a9db-de49-4e98-85ce-87760ef95149/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-254
The push refers to repository [docker.io/eclipsefdn/asciidoc-wg.eclipse.org]
3480e883bfde: Preparing
af8f705a8084: Preparing
0e81f2fb8f63: Preparing
c6485c38bce0: Preparing
02e1b2d39b7c: Preparing
7388ed75460c: Preparing
66afb7c3e6d1: Preparing
439be94dd989: Preparing
08761a690f84: Preparing
419b89bbfa3b: Preparing
5fa2288e0d6e: Preparing
f4111324080c: Preparing
7388ed75460c: Waiting
66afb7c3e6d1: Waiting
439be94dd989: Waiting
08761a690f84: Waiting
419b89bbfa3b: Waiting
5fa2288e0d6e: Waiting
f4111324080c: Waiting
3480e883bfde: Layer already exists
02e1b2d39b7c: Layer already exists
0e81f2fb8f63: Layer already exists
c6485c38bce0: Layer already exists
af8f705a8084: Layer already exists
66afb7c3e6d1: Layer already exists
439be94dd989: Layer already exists
419b89bbfa3b: Layer already exists
7388ed75460c: Layer already exists
08761a690f84: Layer already exists
f4111324080c: Layer already exists
5fa2288e0d6e: Layer already exists
production-8f9deae-254: digest: sha256:e9822b3c044306b18f8141e1f84dfc717f3f7763ee3c19458be181b190b0dd50 size: 2821
[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 #254: 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/12dd2ac0-703f-4f69-8602-a7d736a9cb81/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-254 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]
3480e883bfde: Preparing
af8f705a8084: Preparing
0e81f2fb8f63: Preparing
c6485c38bce0: Preparing
02e1b2d39b7c: Preparing
7388ed75460c: Preparing
66afb7c3e6d1: Preparing
439be94dd989: Preparing
08761a690f84: Preparing
419b89bbfa3b: Preparing
5fa2288e0d6e: Preparing
f4111324080c: Preparing
08761a690f84: Waiting
419b89bbfa3b: Waiting
7388ed75460c: Waiting
66afb7c3e6d1: Waiting
439be94dd989: Waiting
5fa2288e0d6e: Waiting
f4111324080c: Waiting
3480e883bfde: Layer already exists
02e1b2d39b7c: Layer already exists
0e81f2fb8f63: Layer already exists
af8f705a8084: Layer already exists
7388ed75460c: Layer already exists
c6485c38bce0: Layer already exists
439be94dd989: Layer already exists
66afb7c3e6d1: Layer already exists
419b89bbfa3b: Layer already exists
08761a690f84: Layer already exists
5fa2288e0d6e: Layer already exists
f4111324080c: Layer already exists
latest: digest: sha256:e9822b3c044306b18f8141e1f84dfc717f3f7763ee3c19458be181b190b0dd50 size: 2821
[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
Error from server (Forbidden): deployments.apps is forbidden: User "system:serviceaccount:foundation-internal-webdev-jamstack-sites:jamstack-jenkins" cannot list resource "deployments" in API group "apps" in the namespace "foundation-internal-webdev-apps"
ERROR: Unable to find a 'deployment.v1.apps' to patch matching selector 'app=asciidoc-wg.eclipse.org,environment=production' in namespace 'foundation-internal-webdev-apps'
[Pipeline] }
[kubernetes-cli] kubectl configuration cleaned up
[Pipeline] // withKubeConfig
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Declarative: Post Actions)
[Pipeline] deleteDir
[Pipeline] slackSend
Slack Send Pipeline step running, values are - baseUrl: <empty>, teamDomain: eclipsefoundation, channel: , color: #A20E10, botUser: false, tokenCredentialId: f13af7e7-6910-4f59-b3f5-73a16ff4d98f, notifyCommitters: false, iconEmoji: <empty>, username: <empty>, timestamp: <empty>
[Pipeline] emailext
Sending email to: sebastien.heurtematte@eclipse-foundation.org
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // podTemplate
[Pipeline] End of Pipeline
ERROR: script returned exit code 1
[GitLab Pipeline Status] Notifying branch build status: FAILED public/asciidoc-wg.eclipse.org/main #254: There was a failure building this commit.
[GitLab Pipeline Status] Notified
Finished: FAILURE