Skip to content

Console Output

Branch indexing
Querying the current revision of merge request #314...
Current revision of merge request #314 is 953aa0bee993c0593953f37ee5f05aab7546f604
Obtained Jenkinsfile from e80177d633b668ebf824172787d1e7d5d39af847+953aa0bee993c0593953f37ee5f05aab7546f604
Loading library releng-pipeline@refs/tags/v0.11.0
Library releng-pipeline@refs/tags/v0.11.0 is cached. Copying from home.
[Pipeline] Start of Pipeline
[Pipeline] libraryResource
[Pipeline] echo
Final resourceContent: apiVersion: v1
kind: Pod
spec:
  containers:
  - name: kubectl
    image: eclipsefdn/kubectl:okd-c1
    imagePullPolicy: Always
    command: [ "sleep" ]
    args: [ "infinity" ]
    resources:
      limits:
        cpu: 500m
        memory: 256Mi
  - name: containertools
    image: eclipsefdn/containertools:alpine-latest
    imagePullPolicy: Always
    command: [ "sleep" ]
    args: [ "infinity" ]
    resources:
      limits:
        cpu: 500m
        memory: 256Mi
  - name: build
    image: eclipsefdn/hugo-node:h0.110.0-n18.13.0
    imagePullPolicy: Always
    command: [ "sleep" ]
    args: [ "infinity" ]
    resources:
      limits:
        cpu: 2
        memory: 2Gi
  - name: jnlp
    imagePullPolicy: Always
    resources:
      limits:
        cpu: 1
        memory: 512Mi

[Pipeline] podTemplate
[Pipeline] {
[Pipeline] node
Created Pod: kubernetes foundation-internal-webdev/public-hugo-solstice-theme-mr-314-78-16qb0-hhsgq-r4f2z
Still waiting to schedule task
‘public-hugo-solstice-theme-mr-314-78-16qb0-hhsgq-r4f2z’ is offline
Agent public-hugo-solstice-theme-mr-314-78-16qb0-hhsgq-r4f2z is provisioned from template public_hugo-solstice-theme_MR-314_78-16qb0-hhsgq
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations:
    buildUrl: "http://jenkins-ui.foundation-internal-webdev.svc.cluster.local/ci/webdev/job/public/job/hugo-solstice-theme/job/MR-314/78/"
    runUrl: "job/public/job/hugo-solstice-theme/job/MR-314/78/"
  labels:
    jenkins: "slave"
    jenkins/label-digest: "a21ca7fc1b04a181f31f71882e2c5213a02d29f7"
    jenkins/label: "public_hugo-solstice-theme_MR-314_78-16qb0"
  name: "public-hugo-solstice-theme-mr-314-78-16qb0-hhsgq-r4f2z"
  namespace: "foundation-internal-webdev"
spec:
  containers:
  - args:
    - "infinity"
    command:
    - "sleep"
    image: "eclipsefdn/kubectl:okd-c1"
    imagePullPolicy: "Always"
    name: "kubectl"
    resources:
      limits:
        cpu: "500m"
        memory: "256Mi"
    volumeMounts:
    - mountPath: "/home/jenkins/agent"
      name: "workspace-volume"
      readOnly: false
  - args:
    - "infinity"
    command:
    - "sleep"
    image: "eclipsefdn/containertools:alpine-latest"
    imagePullPolicy: "Always"
    name: "containertools"
    resources:
      limits:
        cpu: "500m"
        memory: "256Mi"
    volumeMounts:
    - mountPath: "/home/jenkins/agent"
      name: "workspace-volume"
      readOnly: false
  - args:
    - "infinity"
    command:
    - "sleep"
    image: "eclipsefdn/hugo-node:h0.110.0-n18.13.0"
    imagePullPolicy: "Always"
    name: "build"
    resources:
      limits:
        cpu: "2"
        memory: "2Gi"
    volumeMounts:
    - 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: "public-hugo-solstice-theme-mr-314-78-16qb0-hhsgq-r4f2z"
    - name: "JENKINS_NAME"
      value: "public-hugo-solstice-theme-mr-314-78-16qb0-hhsgq-r4f2z"
    - 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"
    imagePullPolicy: "Always"
    name: "jnlp"
    resources:
      limits:
        cpu: "1"
        memory: "512Mi"
    volumeMounts:
    - mountPath: "/home/jenkins/agent"
      name: "workspace-volume"
      readOnly: false
  nodeSelector:
    kubernetes.io/os: "linux"
  restartPolicy: "Never"
  volumes:
  - emptyDir:
      medium: ""
    name: "workspace-volume"

Running on public-hugo-solstice-theme-mr-314-78-16qb0-hhsgq-r4f2z in /home/jenkins/agent/workspace/ublic_hugo-solstice-theme_MR-314
[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/eclipsefdn/it/webdev/hugo-solstice-theme.git
 > git init /home/jenkins/agent/workspace/ublic_hugo-solstice-theme_MR-314 # timeout=10
Fetching upstream changes from https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme.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/eclipsefdn/it/webdev/hugo-solstice-theme.git +refs/merge-requests/314/head:refs/remotes/origin/MR-314 +refs/heads/main:refs/remotes/origin/main # timeout=10
Fetching without tags
 > git config remote.origin.url https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme.git # timeout=10
 > git config --add remote.origin.fetch +refs/merge-requests/314/head:refs/remotes/origin/MR-314 # timeout=10
 > git config --add remote.origin.fetch +refs/heads/main:refs/remotes/origin/main # timeout=10
 > git config remote.origin.url https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme.git # timeout=10
Fetching upstream changes from https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme.git
using GIT_ASKPASS to set credentials GitLab username/token
 > git fetch --no-tags --force --progress -- https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme.git +refs/merge-requests/314/head:refs/remotes/origin/MR-314 +refs/heads/main:refs/remotes/origin/main # timeout=10
Merging remotes/origin/main commit e80177d633b668ebf824172787d1e7d5d39af847 into PR head commit 953aa0bee993c0593953f37ee5f05aab7546f604
Merge succeeded, producing 69cb506ca506d344641e36da28b624322abfeef4
Checking out Revision 69cb506ca506d344641e36da28b624322abfeef4 (oliviergoulet/main/274)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 953aa0bee993c0593953f37ee5f05aab7546f604 # timeout=10
 > git remote # timeout=10
 > git config --get remote.origin.url # timeout=10
using GIT_ASKPASS to set credentials GitLab username/token
 > git merge e80177d633b668ebf824172787d1e7d5d39af847 # timeout=10
 > git rev-parse HEAD^{commit} # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 69cb506ca506d344641e36da28b624322abfeef4 # timeout=10
Commit message: "Merge commit 'e80177d633b668ebf824172787d1e7d5d39af847' into HEAD"
First time build. Skipping changelog.
[GitLab Pipeline Status] Notifying merge request build status: RUNNING public/hugo-solstice-theme/MR-314 #78: Build started...
 > git rev-list --no-walk fcfba2438ad2165dac2fdffa3bc7f52b68d99f54 # timeout=10
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] timeout
Timeout set to expire in 1 hr 0 min
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Compute build variables)
[Pipeline] script
[Pipeline] {
[Pipeline] sh
+ [[ false == \t\r\u\e ]]
+ echo 'credentialsId: gitlab-credentials'
credentialsId: gitlab-credentials
+ exit 0
[Pipeline] withCredentials
Masking supported pattern matches of $BOT_ID or $__UNUSED
[Pipeline] {
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] echo
Deployment config: 
[Pipeline] echo
{
    "appName": "webdev.eclipse.org-docs-hugo",
    "safeAppName": "webdev-eclipse-org-docs-hugo",
    "productionBranchName": "main",
    "productionDomain": "preview-314--webdev-eclipse-org-docs-hugo.eclipsecontent.org",
    "deployPreviews": true,
    "previewDomain": "eclipsecontent.org",
    "previewBranchesRegex": null,
    "branchDomain": null,
    "cronExpression": "H H * * H",
    "debug": false,
    "container": {
        "name": "docker.io/eclipsefdn/webdev-eclipse-org-docs-hugo",
        "version": "mr-314--69cb506-b78",
        "dockerfile": null,
        "buildArgs": null,
        "annotation": true,
        "registryCredentialsId": "04264967-fea0-40c2-bf60-09af5aeba60f"
    },
    "deployment": {
        "locationPath": "/docs/hugo",
        "nginxHttpPort": 8080,
        "nginxServerConf": null,
        "dateTimeUTC": "2024-04-26T16:21:55.829677369",
        "domain": "preview-314--webdev-eclipse-org-docs-hugo.eclipsecontent.org",
        "kind": "changeRequestPreview",
        "containerImageNameWithTag": "docker.io/eclipsefdn/webdev-eclipse-org-docs-hugo:mr-314--69cb506-b78",
        "authBasic": false,
        "authBasicSecretPath": "/etc/nginx/htpasswd",
        "secretPath": ""
    },
    "build": {
        "kubeAgentYmlFile": null,
        "containerImage": "eclipsefdn/hugo-node:h0.110.0-n18.13.0",
        "destinationFolder": "./public/",
        "script": "bin/build.sh"
    },
    "kubernetes": {
        "namespace": "foundation-internal-webdev-jamstack-sites",
        "credentialsId": "ci-bot-okd-c1-token",
        "apiServerUrl": "https://api.okd-c1.eclipse.org:6443",
        "deploymentName": "webdev-eclipse-org-docs-hugo--mr-314"
    },
    "scm": {
        "credentialsId": "gitlab-credentials",
        "changeId": "314",
        "branchName": "MR-314",
        "repoHost": "gitlab.eclipse.org",
        "repoId": "eclipsefdn/it/webdev/hugo-solstice-theme",
        "botId": "webdev-bot",
        "commitId": "69cb506ca506d344641e36da28b624322abfeef4"
    }
}
[Pipeline] withCredentials
Masking supported pattern matches of $__UNUSED or $GITLAB_MR_COMMENT_TOKEN
[Pipeline] {
[Pipeline] writeFile
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] sh
+ curl -fsSL -H@/tmp/headers13507700305170261732.tmp 'https://gitlab.eclipse.org/api/v4/projects/eclipsefdn%2Fit%2Fwebdev%2Fhugo-solstice-theme/merge_requests/314/notes?per_page=50'
+ rm -f /tmp/headers13507700305170261732.tmp
[Pipeline] withCredentials
Masking supported pattern matches of $__UNUSED or $GITLAB_MR_COMMENT_TOKEN
[Pipeline] {
[Pipeline] writeFile
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] writeFile
[Pipeline] sh
+ curl -fsSL -H@/tmp/headers8242878787036937725.tmp -X POST --data @/tmp/bodyPayload12207540350702532560.json https://gitlab.eclipse.org/api/v4/projects/eclipsefdn%2Fit%2Fwebdev%2Fhugo-solstice-theme/merge_requests/314/notes
+ rm -f /tmp/headers8242878787036937725.tmp /tmp/bodyPayload12207540350702532560.json
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build Hugo site)
[Pipeline] container
[Pipeline] {
[Pipeline] sh
[Pipeline] echo
readTrusted: bin/build.sh
[Pipeline] readTrusted
Obtained bin/build.sh from e80177d633b668ebf824172787d1e7d5d39af847+953aa0bee993c0593953f37ee5f05aab7546f604
[Pipeline] echo
readTrusted: bin/build.sh OK!
[Pipeline] echo
Final resourceContent: #!/usr/bin/env bash
# ===========================================================================
# Copyright (c) 2021 Eclipse Foundation and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
#
# Contributors:
#    Christopher Guindon (Eclipse Foundation)
# ==========================================================================

set -euo pipefail

yarn install --frozen-lockfile;
yarn run build
hugo --source exampleSite --theme "${PWD##*/}" --themesDir ../../ --gc --minify --destination ."${1}" --baseURL "${2}"
[Pipeline] writeFile
[Pipeline] sh
yarn install v1.22.19
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
Done in 20.80s.
yarn run v1.22.19
$ npm run production && npm run fetch_project

> eclipsefdn-hugo-solstice-theme@0.0.210 production
> NODE_ENV=production webpack --progress --config=node_modules/laravel-mix/setup/webpack.config.js

Loading eclipsefdn-solstice-assets default configurations.
[info] [webpackbar] Compiling Mix


                         
   Laravel Mix v6.0.49   
                         

✔ Compiled Successfully in 33518ms
┌───────────────────────────────────┬───────────┐
│                              File │ Size      │
├───────────────────────────────────┼───────────┤
│                      /js/astro.js │ 627 KiB   │
│          /js/astro.js.LICENSE.txt │ 27.4 KiB  │
│        /js/eclipsefdn.projects.js │ 248 KiB   │
│  …ipsefdn.projects.js.LICENSE.txt │ 1.06 KiB  │
│       /js/eclipsefdn.promotion.js │ 83 KiB    │
│  …psefdn.promotion.js.LICENSE.txt │ 626 bytes │
│                   /js/solstice.js │ 623 KiB   │
│       /js/solstice.js.LICENSE.txt │ 27.4 KiB  │
│                     css/astro.css │ 269 KiB   │
│               css/quicksilver.css │ 243 KiB   │
│  …be1347c682810f199c7f486f40c5974 │ 19.7 KiB  │
│  …60b2710bdbbe3dfe48b58d59bd5f1fb │ 106 KiB   │
│  …692b9ec53fd5972caa2f2372ae20d16 │ 44.3 KiB  │
│  …e810be3a3e14c682a257d6eff341fe4 │ 17.6 KiB  │
│  …2b1212e45a2bc35dd731913b27ad813 │ 22.9 KiB  │
│  …b43027f47b20503057dfbbaa9401fef │ 162 KiB   │
│  …1e38fd9e0e74ba58f7a2b77ef29fdd3 │ 434 KiB   │
│  …e59d2330b4c6deb84b340635ed36249 │ 162 KiB   │
│  …0fd1704ea223900efa9fd4e869efb08 │ 75.4 KiB  │
│  …691f37e57f04c152e2315ab7dbad881 │ 95.7 KiB  │
│  …07c056f2120bd11f6b38f781f08150c │ 3.19 KiB  │
│  …ea2caca91f7bff636a3caf8412871c5 │ 23.4 KiB  │
│  …77ad5db4a5fd4291dd35234a1a057ce │ 3.13 KiB  │
│  …aa26698d2593cb8396fbcd1264c3290 │ 14.6 KiB  │
│  …81f3578e8c92caaa2691632d0fb4065 │ 112 KiB   │
│  …816bd41acf906da45f21e963109a2fc │ 36.4 KiB  │
│  …c2a995c59419bc34713639c431fc953 │ 64.9 KiB  │
│  …3ff043b6b0a45ea06c721f163d52496 │ 1.23 KiB  │
│  …ce33481a6e4f368a7de4aeed1b2ff7f │ 38.7 KiB  │
│  …da31ed3c4336f7cde32228284b14936 │ 62.3 KiB  │
│  …70bb3f7797f58e39915fa38d052e732 │ 4.97 KiB  │
│  …9b9ff4c965177e7a88f4dc0c77538cb │ 993 bytes │
│  …f01b07148f205f6e8258e92bbf652d9 │ 4.86 KiB  │
└───────────────────────────────────┴───────────┘
[success] [webpackbar] Mix: Compiled successfully in 33.95s
webpack compiled successfully

> eclipsefdn-hugo-solstice-theme@0.0.210 fetch_project
> node bin/projects/index.js -l exampleSite/data

Loading data using 'https://projects.eclipse.org/api/projects' as initial URL
Loading additional data using 'https://projects.eclipse.org/api/projects?pagesize=20&page=2' as next URL
Loading additional data using 'https://projects.eclipse.org/api/projects?pagesize=20&page=3' as next URL
Loading additional data using 'https://projects.eclipse.org/api/projects?pagesize=20&page=4' as next URL
Loading additional data using 'https://projects.eclipse.org/api/projects?pagesize=20&page=5' as next URL
Loading additional data using 'https://projects.eclipse.org/api/projects?pagesize=20&page=6' as next URL
Loading additional data using 'https://projects.eclipse.org/api/projects?pagesize=20&page=7' as next URL
Loading additional data using 'https://projects.eclipse.org/api/projects?pagesize=20&page=8' as next URL
Loading additional data using 'https://projects.eclipse.org/api/projects?pagesize=20&page=9' as next URL
Loading additional data using 'https://projects.eclipse.org/api/projects?pagesize=20&page=10' as next URL
Loading additional data using 'https://projects.eclipse.org/api/projects?pagesize=20&page=11' as next URL
Loading additional data using 'https://projects.eclipse.org/api/projects?pagesize=20&page=12' as next URL
Loading additional data using 'https://projects.eclipse.org/api/projects?pagesize=20&page=13' as next URL
Loading additional data using 'https://projects.eclipse.org/api/projects?pagesize=20&page=14' as next URL
Loading additional data using 'https://projects.eclipse.org/api/projects?pagesize=20&page=15' as next URL
Loading additional data using 'https://projects.eclipse.org/api/projects?pagesize=20&page=16' as next URL
Loading additional data using 'https://projects.eclipse.org/api/projects?pagesize=20&page=17' as next URL
Loading additional data using 'https://projects.eclipse.org/api/projects?pagesize=20&page=18' as next URL
Loading additional data using 'https://projects.eclipse.org/api/projects?pagesize=20&page=19' as next URL
Loading additional data using 'https://projects.eclipse.org/api/projects?pagesize=20&page=20' as next URL
Loading additional data using 'https://projects.eclipse.org/api/projects?pagesize=20&page=21' as next URL
Loading additional data using 'https://projects.eclipse.org/api/projects?pagesize=20&page=22' as next URL
Loading additional data using 'https://projects.eclipse.org/api/projects?pagesize=20&page=23' as next URL
Loading additional data using 'https://projects.eclipse.org/api/projects?pagesize=20&page=24' as next URL
Loading additional data using 'https://projects.eclipse.org/api/projects?pagesize=20&page=25' as next URL
Loading additional data using 'https://projects.eclipse.org/api/projects?pagesize=20&page=26' as next URL
Loading additional data using 'https://projects.eclipse.org/api/projects?pagesize=20&page=27' as next URL
Loading additional data using 'https://projects.eclipse.org/api/projects?pagesize=20&page=28' as next URL
Loading additional data using 'https://projects.eclipse.org/api/projects?pagesize=20&page=29' as next URL
Loading additional data using 'https://projects.eclipse.org/api/projects?pagesize=20&page=30' as next URL
Loading additional data using 'https://projects.eclipse.org/api/projects?pagesize=20&page=31' as next URL
Done in 40.46s.
Start building sites … 
hugo v0.110.0-e32a493b7826d02763c3b79623952e625402b168+extended linux/amd64 BuildDate=2023-01-17T12:16:09Z VendorInfo=gohugoio
WARNING: calling IsSet with unsupported type "invalid" (<nil>) will always return false.

                   | EN  | FR | ES | PT | JP | ZH | RU | DE  
-------------------+-----+----+----+----+----+----+----+-----
  Pages            | 130 | 26 | 20 | 17 | 17 | 17 | 17 | 17  
  Paginator pages  |   0 |  0 |  0 |  0 |  0 |  0 |  0 |  0  
  Non-page files   |   3 |  0 |  0 |  0 |  0 |  0 |  0 |  0  
  Static files     |  35 | 35 | 35 | 35 | 35 | 35 | 35 | 35  
  Processed images |   0 |  0 |  0 |  0 |  0 |  0 |  0 |  0  
  Aliases          |  27 |  8 |  7 |  7 |  7 |  7 |  7 |  7  
  Sitemaps         |   2 |  1 |  1 |  1 |  1 |  1 |  1 |  1  
  Cleaned          |   0 |  0 |  0 |  0 |  0 |  0 |  0 |  0  

Total in 2029 ms
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build Docker image)
[Pipeline] withEnv
[Pipeline] {
[Pipeline] container
[Pipeline] {
[Pipeline] script
[Pipeline] {
[Pipeline] libraryResource
[Pipeline] echo
Final resourceContent: server {
    listen       8080;
    server_name  localhost;
    port_in_redirect off;

    #access_log  /var/log/nginx/host.access.log  main;

    location /docs/hugo {
        root   /usr/share/nginx/html;
        index  index.html index.htm;
    }

    error_page  404              /404.html;

    # redirect server error pages to the static page /50x.html
    #
    error_page   500 502 503 504  /50x.html;
    location = /50x.html {
        root   /usr/share/nginx/html;
    }
}

[Pipeline] writeFile
[Pipeline] libraryResource
[Pipeline] echo
Final resourceContent: FROM eclipsefdn/nginx:stable-alpine

COPY MR-314-nginx-default.conf /etc/nginx/conf.d/default.conf

RUN mkdir -p "/usr/share/nginx/html//docs/hugo" \
  && echo "ok" > "/usr/share/nginx/html//docs/hugo/_livenessProbe"
COPY ./public/ "/usr/share/nginx/html//docs/hugo"

[Pipeline] writeFile
[Pipeline] withCredentials
Masking supported pattern matches of $DOCKER_REGISTRY_USERNAME or $DOCKER_REGISTRY_PASSWORD
[Pipeline] {
[Pipeline] sh
Registry login to docker.io with user: ****
2024/04/26 16:23:05 logged in via /home/jenkins/agent/.docker/config.json
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] sh
Building and shipping image to docker.io/eclipsefdn/webdev-eclipse-org-docs-hugo:mr-314--69cb506-b78
Annotation: ,annotation.org.opencontainers.image.created=2024-04-26T16:23:05Z,annotation.org.opencontainers.image.ref.name=docker.io/eclipsefdn/webdev-eclipse-org-docs-hugo:mr-314--69cb506-b78,annotation.org.opencontainers.image.revision=69cb506ca506d344641e36da28b624322abfeef4,annotation.org.opencontainers.image.source=https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme.git,annotation.org.opencontainers.image.url=https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme.git,annotation.org.opencontainers.image.version=mr-314--69cb506-b78
Context: /home/jenkins/agent/workspace/ublic_hugo-solstice-theme_MR-314
Dockerfile: MR-314.Dockerfile
Dockerfile path: /home/jenkins/agent/workspace/ublic_hugo-solstice-theme_MR-314
filename: MR-314.Dockerfile
buildArgs: null
push: true
latest: false
#1 [internal] load build definition from MR-314.Dockerfile
#1 transferring dockerfile: 380B done
#1 DONE 0.0s

#2 [auth] eclipsefdn/nginx:pull token for registry-1.docker.io
#2 DONE 0.0s

#3 [internal] load metadata for docker.io/eclipsefdn/nginx:stable-alpine
#3 DONE 0.6s

#4 [internal] load .dockerignore
#4 transferring context: 2B done
#4 DONE 0.0s

#5 [1/4] FROM docker.io/eclipsefdn/nginx:stable-alpine@sha256:fb3306f0d28278485c3ee5311710a52a34c97fc5dae44be2c842986fe7a0a1cf
#5 resolve docker.io/eclipsefdn/nginx:stable-alpine@sha256:fb3306f0d28278485c3ee5311710a52a34c97fc5dae44be2c842986fe7a0a1cf done
#5 sha256:15e493733d57ff3b21afc5a0a48ea93137dd1250fe35d9985a1db38fb5b2ee6d 3.35kB / 3.35kB 0.1s done
#5 sha256:0a56762d8207cec245f25941c531d20161a657c96e21d3852e106c88d98e5551 469B / 469B 0.1s done
#5 sha256:a0eb23f315906bc635ef508a59a1236193cf26e79b51b570d5507ac0df458b67 597B / 597B 0.1s done
#5 sha256:0e4a02da9f62b5bc6ac6a424775ec683d55e630f1b407752cffa70a25728ab27 0B / 13.04MB 0.2s
#5 sha256:bd75bb60cdbb992a9f78232b550adf88b3199f1c8853d36939eb9cd1922fa31f 1.21kB / 1.21kB 0.1s done
#5 sha256:0e4a02da9f62b5bc6ac6a424775ec683d55e630f1b407752cffa70a25728ab27 5.24MB / 13.04MB 0.3s
#5 sha256:125d178ee43c0b386693c2635ecce90f8aad572f9a7a05f18ba66fef827d089c 1.40kB / 1.40kB 0.2s done
#5 sha256:26087820d60a54635a5c91a255fc080b80bb15c40b880e2441dcf410d2b908f7 394B / 394B 0.1s done
#5 sha256:b04f45f24a9c66d04eee91e92f732179b6f37f834b8751f158a96f479a02138c 957B / 957B 0.1s done
#5 sha256:680080a33f4ff2b0d8aedac2d12fda4dec7b4522728f1bc522d45c4c871de011 629B / 629B 0.1s done
#5 sha256:0e4a02da9f62b5bc6ac6a424775ec683d55e630f1b407752cffa70a25728ab27 13.04MB / 13.04MB 0.4s done
#5 sha256:091275ae680776b2922329c9b3f581863a6de95856c04671e8f4dffb8c7578ca 0B / 3.99MB 0.2s
#5 sha256:4abcf20661432fb2d719aaf90656f55c287f8ca915dc1c92ec14ff61e67fbaf8 0B / 3.41MB 0.2s
#5 sha256:091275ae680776b2922329c9b3f581863a6de95856c04671e8f4dffb8c7578ca 1.05MB / 3.99MB 0.3s
#5 sha256:4abcf20661432fb2d719aaf90656f55c287f8ca915dc1c92ec14ff61e67fbaf8 3.41MB / 3.41MB 0.2s done
#5 extracting sha256:4abcf20661432fb2d719aaf90656f55c287f8ca915dc1c92ec14ff61e67fbaf8
#5 sha256:091275ae680776b2922329c9b3f581863a6de95856c04671e8f4dffb8c7578ca 3.99MB / 3.99MB 0.5s done
#5 extracting sha256:4abcf20661432fb2d719aaf90656f55c287f8ca915dc1c92ec14ff61e67fbaf8 0.2s done
#5 extracting sha256:091275ae680776b2922329c9b3f581863a6de95856c04671e8f4dffb8c7578ca
#5 ...

#6 [internal] load build context
#6 transferring context: 7.88MB 0.8s done
#6 DONE 0.8s

#5 [1/4] FROM docker.io/eclipsefdn/nginx:stable-alpine@sha256:fb3306f0d28278485c3ee5311710a52a34c97fc5dae44be2c842986fe7a0a1cf
#5 extracting sha256:091275ae680776b2922329c9b3f581863a6de95856c04671e8f4dffb8c7578ca 0.6s done
#5 extracting sha256:680080a33f4ff2b0d8aedac2d12fda4dec7b4522728f1bc522d45c4c871de011
#5 extracting sha256:680080a33f4ff2b0d8aedac2d12fda4dec7b4522728f1bc522d45c4c871de011 0.6s done
#5 extracting sha256:b04f45f24a9c66d04eee91e92f732179b6f37f834b8751f158a96f479a02138c
#5 extracting sha256:b04f45f24a9c66d04eee91e92f732179b6f37f834b8751f158a96f479a02138c 0.4s done
#5 extracting sha256:26087820d60a54635a5c91a255fc080b80bb15c40b880e2441dcf410d2b908f7
#5 extracting sha256:26087820d60a54635a5c91a255fc080b80bb15c40b880e2441dcf410d2b908f7 0.4s done
#5 DONE 2.6s

#5 [1/4] FROM docker.io/eclipsefdn/nginx:stable-alpine@sha256:fb3306f0d28278485c3ee5311710a52a34c97fc5dae44be2c842986fe7a0a1cf
#5 extracting sha256:bd75bb60cdbb992a9f78232b550adf88b3199f1c8853d36939eb9cd1922fa31f
#5 extracting sha256:bd75bb60cdbb992a9f78232b550adf88b3199f1c8853d36939eb9cd1922fa31f 0.4s done
#5 extracting sha256:125d178ee43c0b386693c2635ecce90f8aad572f9a7a05f18ba66fef827d089c
#5 extracting sha256:125d178ee43c0b386693c2635ecce90f8aad572f9a7a05f18ba66fef827d089c 0.4s done
#5 extracting sha256:0e4a02da9f62b5bc6ac6a424775ec683d55e630f1b407752cffa70a25728ab27
#5 extracting sha256:0e4a02da9f62b5bc6ac6a424775ec683d55e630f1b407752cffa70a25728ab27 0.9s done
#5 extracting sha256:a0eb23f315906bc635ef508a59a1236193cf26e79b51b570d5507ac0df458b67
#5 extracting sha256:a0eb23f315906bc635ef508a59a1236193cf26e79b51b570d5507ac0df458b67 0.7s done
#5 DONE 5.0s

#5 [1/4] FROM docker.io/eclipsefdn/nginx:stable-alpine@sha256:fb3306f0d28278485c3ee5311710a52a34c97fc5dae44be2c842986fe7a0a1cf
#5 extracting sha256:0a56762d8207cec245f25941c531d20161a657c96e21d3852e106c88d98e5551
#5 extracting sha256:0a56762d8207cec245f25941c531d20161a657c96e21d3852e106c88d98e5551 0.6s done
#5 DONE 5.6s

#5 [1/4] FROM docker.io/eclipsefdn/nginx:stable-alpine@sha256:fb3306f0d28278485c3ee5311710a52a34c97fc5dae44be2c842986fe7a0a1cf
#5 extracting sha256:15e493733d57ff3b21afc5a0a48ea93137dd1250fe35d9985a1db38fb5b2ee6d
#5 extracting sha256:15e493733d57ff3b21afc5a0a48ea93137dd1250fe35d9985a1db38fb5b2ee6d 0.6s done
#5 DONE 6.3s

#7 [2/4] COPY MR-314-nginx-default.conf /etc/nginx/conf.d/default.conf
#7 DONE 0.6s

#8 [3/4] RUN mkdir -p "/usr/share/nginx/html//docs/hugo"   && echo "ok" > "/usr/share/nginx/html//docs/hugo/_livenessProbe"
#8 DONE 0.7s

#9 [4/4] COPY ./public/ /usr/share/nginx/html//docs/hugo
#9 DONE 0.9s

#10 exporting to image
#10 exporting layers
#10 exporting layers 1.9s done
#10 ...

#11 [auth] eclipsefdn/webdev-eclipse-org-docs-hugo:pull,push token for registry-1.docker.io
#11 DONE 0.0s

#10 exporting to image
#10 exporting manifest sha256:4a4777081ec1905cfc0db35c1c9bb116a4b5dacbca79e88b3443e85e9848b30e done
#10 exporting config sha256:3d9585c80c63e99dde35d15606f1cbe085691b500a119a4c00ace51ad6dd13c3 done
#10 pushing layers
#10 pushing layers 2.8s done
#10 pushing manifest for docker.io/eclipsefdn/webdev-eclipse-org-docs-hugo:mr-314--69cb506-b78@sha256:4a4777081ec1905cfc0db35c1c9bb116a4b5dacbca79e88b3443e85e9848b30e
#10 pushing manifest for docker.io/eclipsefdn/webdev-eclipse-org-docs-hugo:mr-314--69cb506-b78@sha256:4a4777081ec1905cfc0db35c1c9bb116a4b5dacbca79e88b3443e85e9848b30e 0.3s done
#10 DONE 5.1s
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Deployment and cleanup)
[Pipeline] parallel
[Pipeline] { (Branch: Cleanup previews)
[Pipeline] { (Branch: Deploy to kubernetes cluster)
[Pipeline] stage
[Pipeline] { (Cleanup previews)
[Pipeline] stage
[Pipeline] { (Deploy to kubernetes cluster)
Stage "Cleanup previews" skipped due to when conditional
[Pipeline] getContext
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] container
[Pipeline] {
[Pipeline] libraryResource
[Pipeline] echo
Final resourceContent: {
  "version": 1,
  "dependencies": [
    {
      "source": {
        "git": {
          "remote": "https://gitlab.eclipse.org/eclipsefdn/it/releng/kube-deploy.git",
          "subdir": ""
        }
      },
      "version": "main"
    }
  ],
  "legacyImports": false
}

[Pipeline] writeFile
[Pipeline] libraryResource
[Pipeline] echo
Final resourceContent: {
  "version": 1,
  "dependencies": [
    {
      "source": {
        "git": {
          "remote": "https://gitlab.eclipse.org/eclipsefdn/it/releng/kube-deploy.git",
          "subdir": ""
        }
      },
      "version": "a2a0dc300f36e7b62f24487a1a1cb9e7c8e653a2",
      "sum": "3aeTpmX3t6bDqDb3UZZsR4WVjrfCmQfrfKlnXwVCTno="
    }
  ],
  "legacyImports": false
}

[Pipeline] writeFile
[Pipeline] libraryResource
[Pipeline] echo
Final resourceContent: local jamstack = import "vendor/gitlab.eclipse.org/eclipsefdn/it/releng/kube-deploy/jamstack/jamstack.libsonnet";
local metadata = import "vendor/gitlab.eclipse.org/eclipsefdn/it/releng/kube-deploy/utils/metadata.libsonnet";

// local config = {
//     "appName": "lts.eclipse.org",
//     "safeAppName": "lts-eclipse-org",
//     "productionBranchName": "main",
//     "productionDomain": "lts.eclipse.org",
//     "deployPreviews": true,
//     "previewDomain": "eclipsecontent.org",
//     "previewBranchesRegex": null,
//     "branchDomain": null,
//     "debug": false,
//     "container": {
//         "name": "docker.io/eclipsefdn/lts-eclipse-org",
//         "version": "mr-24--2208996-b85",
//         "dockerfile": null,
//         "registryCredentialsId": "04264967-fea0-40c2-bf60-09af5aeba60f"
//     },
//     "deployment": {
//         "locationPath": "/",
//         "nginxHttpPort": 8080,
//         "nginxServerConf": null,
//         "dateTimeUTC": "2022-06-18T20:09:16.558296572",
//         "domain": "preview-24--lts-eclipse-org.eclipsecontent.org",
//         "kind": "changeRequestPreview",
//     },
//     "build": {
//         "kubeAgentYmlFile": null,
//         "containerImage": "eclipsefdn/hugo-node:latest",
//         "script": null,
//         "destinationFolder": "./public/"
//     },
//     "kubernetes": {
//         "namespace": "foundation-internal-webdev-jamstack-sites",
//         "credentialsId": "ci-bot-okd-c1-token",
//         "apiServerUrl": "https://api.okd-c1.eclipse.org:6443",
//         "deploymentName": "lts-eclipse-org--mr-24"
//     },
//     "scm": {
//         "credentialsId": "gitlab-api-token3",
//         "changeId": "24",
//         "branchName": "MR-24",
//         "repoHost": "gitlab.eclipse.org",
//         "repoId": "eclipsefdn/it/websites/lts.eclipse.org",
//         "botId": "webdev-bot",
//         "commitId": "2208996b450a0d45ccb5d5f270c0bb4192218ec8"
//     }
// };

function(config)
{
  jamstack::
    jamstack.newDeployment(
      metadata.newMetadata(
        config.safeAppName,
        config.kubernetes.deploymentName,
        config.kubernetes.namespace,
        config.scm.branchName,
        config.deployment.kind,
        config.scm.botId,
        config.deployment.dateTimeUTC,
        config.scm.repoHost,
        config.scm.repoId,
        config.scm.changeId
      ),
      config.deployment.containerImageNameWithTag,
      config.deployment.domain,
      config.deployment.nginxHttpPort,
      config.deployment.locationPath,
      config.deployment.locationPath,
      if (config.deployment.authBasic) then config.deployment.authBasicSecretPath else config.deployment.secretPath,
    ),
  apiVersion: "v1",
  kind: "List",
  items: [
    $.jamstack.deployment,
    $.jamstack.service,
    $.jamstack.route,
  ]
}
[Pipeline] writeFile
[Pipeline] writeFile
[Pipeline] withKubeConfig
[Pipeline] {
[Pipeline] sh
Initialized empty Git repository in /home/jenkins/agent/workspace/ublic_hugo-solstice-theme_MR-314/vendor/.tmp/e574055fe3c0c19d0bbf9d1ced6ea85e2580136706/.git/
From https://gitlab.eclipse.org/eclipsefdn/it/releng/kube-deploy
 * branch            a2a0dc300f36e7b62f24487a1a1cb9e7c8e653a2 -> FETCH_HEAD
HEAD is now at a2a0dc3 Merge branch 'feat/secret_path' into 'main'
deployment.apps/webdev-eclipse-org-docs-hugo--mr-314 configured
service/webdev-eclipse-org-docs-hugo--mr-314 configured
route.route.openshift.io/webdev-eclipse-org-docs-hugo--mr-314 configured
deployment.apps/webdev-eclipse-org-docs-hugo--mr-314 restarted
Waiting for deployment "webdev-eclipse-org-docs-hugo--mr-314" rollout to finish: 1 old replicas are pending termination...
Waiting for deployment "webdev-eclipse-org-docs-hugo--mr-314" rollout to finish: 1 old replicas are pending termination...
deployment "webdev-eclipse-org-docs-hugo--mr-314" successfully rolled out
[Pipeline] }
[kubernetes-cli] kubectl configuration cleaned up
[Pipeline] // withKubeConfig
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // parallel
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Declarative: Post Actions)
[Pipeline] script
[Pipeline] {
[Pipeline] withCredentials
Masking supported pattern matches of $__UNUSED or $GITLAB_MR_COMMENT_TOKEN
[Pipeline] {
[Pipeline] writeFile
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] writeFile
[Pipeline] sh
+ curl -fsSL -H@/tmp/headers4355692735948773002.tmp -X PUT --data @/tmp/bodyPayload15736721361210583698.json https://gitlab.eclipse.org/api/v4/projects/eclipsefdn%2Fit%2Fwebdev%2Fhugo-solstice-theme/merge_requests/314/notes/2137656
+ rm -f /tmp/headers4355692735948773002.tmp /tmp/bodyPayload15736721361210583698.json
[Pipeline] echo
You can browse the site at https://preview-314--webdev-eclipse-org-docs-hugo.eclipsecontent.org/docs/hugo
[Pipeline] }
[Pipeline] // script
[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 merge request build status: SUCCESS public/hugo-solstice-theme/MR-314 #78: This commit looks good.
Finished: SUCCESS