Started by timer Querying the current revision of merge request #274... Current revision of merge request #274 is 22daf61c2ec3fe18059713fdd797ae23ccc3a104 Obtained Jenkinsfile from a680435f3977488f2adcdb8912928d34a629234b+22daf61c2ec3fe18059713fdd797ae23ccc3a104 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:latest 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-ecdtools-eclipse-org-mr-274-20-qm57r-3sk8x-69xm7 Still waiting to schedule task ‘public-ecdtools-eclipse-org-mr-274-20-qm57r-3sk8x-69xm7’ is offline Agent public-ecdtools-eclipse-org-mr-274-20-qm57r-3sk8x-69xm7 is provisioned from template public_ecdtools_eclipse_org_MR-274_20-qm57r-3sk8x --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins-ui.foundation-internal-webdev.svc.cluster.local/ci/webdev/job/public/job/ecdtools.eclipse.org/job/MR-274/20/" runUrl: "job/public/job/ecdtools.eclipse.org/job/MR-274/20/" labels: jenkins: "slave" jenkins/label-digest: "7f6e987bfb90c9dcba3175bd2a7d06d5013119d0" jenkins/label: "public_ecdtools_eclipse_org_MR-274_20-qm57r" name: "public-ecdtools-eclipse-org-mr-274-20-qm57r-3sk8x-69xm7" 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:latest" 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-ecdtools-eclipse-org-mr-274-20-qm57r-3sk8x-69xm7" - name: "JENKINS_NAME" value: "public-ecdtools-eclipse-org-mr-274-20-qm57r-3sk8x-69xm7" - 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-ecdtools-eclipse-org-mr-274-20-qm57r-3sk8x-69xm7 in /home/jenkins/agent/workspace/blic_ecdtools.eclipse.org_MR-274 [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/websites/ecdtools.eclipse.org.git > git init /home/jenkins/agent/workspace/blic_ecdtools.eclipse.org_MR-274 # timeout=10 Fetching upstream changes from https://gitlab.eclipse.org/eclipsefdn/it/websites/ecdtools.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/eclipsefdn/it/websites/ecdtools.eclipse.org.git +refs/merge-requests/274/head:refs/remotes/origin/MR-274 +refs/heads/main:refs/remotes/origin/main # timeout=10 Fetching without tags > git config remote.origin.url https://gitlab.eclipse.org/eclipsefdn/it/websites/ecdtools.eclipse.org.git # timeout=10 > git config --add remote.origin.fetch +refs/merge-requests/274/head:refs/remotes/origin/MR-274 # 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/websites/ecdtools.eclipse.org.git # timeout=10 Fetching upstream changes from https://gitlab.eclipse.org/eclipsefdn/it/websites/ecdtools.eclipse.org.git using GIT_ASKPASS to set credentials GitLab username/token > git fetch --no-tags --force --progress -- https://gitlab.eclipse.org/eclipsefdn/it/websites/ecdtools.eclipse.org.git +refs/merge-requests/274/head:refs/remotes/origin/MR-274 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a680435f3977488f2adcdb8912928d34a629234b into PR head commit 22daf61c2ec3fe18059713fdd797ae23ccc3a104 Merge succeeded, producing 22daf61c2ec3fe18059713fdd797ae23ccc3a104 Checking out Revision 22daf61c2ec3fe18059713fdd797ae23ccc3a104 (upgrade-efhst-200) Commit message: "fix: patch breaking change" > git config core.sparsecheckout # timeout=10 > git checkout -f 22daf61c2ec3fe18059713fdd797ae23ccc3a104 # 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 a680435f3977488f2adcdb8912928d34a629234b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 22daf61c2ec3fe18059713fdd797ae23ccc3a104 # timeout=10 > git rev-list --no-walk 22daf61c2ec3fe18059713fdd797ae23ccc3a104 # timeout=10 [GitLab Pipeline Status] Notifying merge request build status: RUNNING public/ecdtools.eclipse.org/MR-274 #20: Build started... [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": "ecdtools.eclipse.org", "safeAppName": "ecdtools-eclipse-org", "productionBranchName": "main", "productionDomain": "preview-274--ecdtools-eclipse-org.eclipsecontent.org", "deployPreviews": true, "previewDomain": "eclipsecontent.org", "previewBranchesRegex": null, "branchDomain": null, "cronExpression": "H H * * H", "debug": false, "container": { "name": "docker.io/eclipsefdn/ecdtools-eclipse-org", "version": "mr-274--22daf61-b20", "dockerfile": null, "buildArgs": null, "annotation": true, "registryCredentialsId": "04264967-fea0-40c2-bf60-09af5aeba60f" }, "deployment": { "locationPath": "/", "nginxHttpPort": 8080, "nginxServerConf": null, "dateTimeUTC": "2024-03-17T17:19:33.249454073", "domain": "preview-274--ecdtools-eclipse-org.eclipsecontent.org", "kind": "changeRequestPreview", "containerImageNameWithTag": "docker.io/eclipsefdn/ecdtools-eclipse-org:mr-274--22daf61-b20", "authBasic": false, "authBasicSecretPath": "/etc/nginx/htpasswd", "secretPath": "" }, "build": { "kubeAgentYmlFile": null, "containerImage": "eclipsefdn/hugo-node:latest", "destinationFolder": "./public/", "script": null }, "kubernetes": { "namespace": "foundation-internal-webdev-jamstack-sites", "credentialsId": "ci-bot-okd-c1-token", "apiServerUrl": "https://api.okd-c1.eclipse.org:6443", "deploymentName": "ecdtools-eclipse-org--mr-274" }, "scm": { "credentialsId": "gitlab-credentials", "changeId": "274", "branchName": "MR-274", "repoHost": "gitlab.eclipse.org", "repoId": "eclipsefdn/it/websites/ecdtools.eclipse.org", "botId": "webdev-bot", "commitId": "22daf61c2ec3fe18059713fdd797ae23ccc3a104" }, "buildImage": { "containerImage": "eclipsefdn/hugo-node:h0.110.0-n18.13.0" } } [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/headers6387933817533705646.tmp 'https://gitlab.eclipse.org/api/v4/projects/eclipsefdn%2Fit%2Fwebsites%2Fecdtools.eclipse.org/merge_requests/274/notes?per_page=50' + rm -f /tmp/headers6387933817533705646.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/headers18227140655598299549.tmp -X PUT --data @/tmp/bodyPayload830557634380733179.json https://gitlab.eclipse.org/api/v4/projects/eclipsefdn%2Fit%2Fwebsites%2Fecdtools.eclipse.org/merge_requests/274/notes/1351553 + rm -f /tmp/headers18227140655598299549.tmp /tmp/bodyPayload830557634380733179.json [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Hugo site) [Pipeline] container [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] echo Final resourceContent: #!/usr/bin/env bash set -euo pipefail if [[ -e yarn.lock ]]; then yarn install --frozen-lockfile; elif [[ -e package-lock.json ]]; then npm --unsafe-perm ci; fi; hugo --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... $ NODE_ENV=production npm run production npm WARN lifecycle The node binary used for scripts is /tmp/yarn--1710695991937-0.005953799222110812/node but npm is using /usr/local/lib/nodejs/node-v12.22.1-linux-x64/bin/node itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with. > eclipsefdn-hugo-ecdtools@0.0.0 production /home/jenkins/agent/workspace/blic_ecdtools.eclipse.org_MR-274 > 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 15612ms ┌───────────────────────────────────┬───────────┐ │ File │ Size │ ├───────────────────────────────────┼───────────┤ │ /js/solstice.js │ 692 KiB │ │ /js/solstice.js.LICENSE.txt │ 28.2 KiB │ │ css/styles.css │ 262 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 │ │ …943fe4312d730459b1abf1b816cffb4 │ 123 KiB │ │ …38a7a7499f4541982f0f5e80dbdb850 │ 56.9 KiB │ │ …e5159db1ced3c3736fa1139c61587d9 │ 71.2 KiB │ │ …6f14d55313b0f48c07eaf7648779cec │ 78.4 KiB │ │ …a3f0fab62e006f608d6665e70838472 │ 46.4 KiB │ │ …ed832e325b1bcb65b71007a5eb7dffe │ 72.3 KiB │ │ …d3dfd2473ce8f2e829f5a70fd60923f │ 90.9 KiB │ │ …c5d2c9e19902c2010cf5e1d0bd43619 │ 97 KiB │ │ …da2845e115c59cc3381959b1021ae16 │ 56.3 KiB │ │ …7ad568967f2d04b7d38c4855cc31e7e │ 105 KiB │ │ …5e1bb46dd9424fd394c974dd00d2f4b │ 83.9 KiB │ │ …27a130c159e983ab352461ae8cd0b19 │ 56.1 KiB │ │ …9a0c184cd5c4ab17872df76f3a7fb88 │ 184 KiB │ │ …14e850a403f31a2417d805185e38217 │ 73.9 KiB │ │ …07c056f2120bd11f6b38f781f08150c │ 3.19 KiB │ │ …ea2caca91f7bff636a3caf8412871c5 │ 23.4 KiB │ │ …77ad5db4a5fd4291dd35234a1a057ce │ 3.13 KiB │ │ …aa26698d2593cb8396fbcd1264c3290 │ 14.6 KiB │ │ …816bd41acf906da45f21e963109a2fc │ 36.4 KiB │ │ …c2a995c59419bc34713639c431fc953 │ 64.9 KiB │ │ …3ff043b6b0a45ea06c721f163d52496 │ 1.23 KiB │ │ …da31ed3c4336f7cde32228284b14936 │ 62.3 KiB │ │ …70bb3f7797f58e39915fa38d052e732 │ 4.97 KiB │ │ …9b9ff4c965177e7a88f4dc0c77538cb │ 993 bytes │ │ …f01b07148f205f6e8258e92bbf652d9 │ 4.86 KiB │ │ …97b0e32a48c60153791420588fac23f │ 28.3 KiB │ └───────────────────────────────────┴───────────┘ [success] [webpackbar] Mix: Compiled successfully in 15.98s webpack compiled successfully $ npm run fetch_projects && npm run yaml2json_projects npm WARN lifecycle The node binary used for scripts is /tmp/yarn--1710695991937-0.005953799222110812/node but npm is using /usr/local/lib/nodejs/node-v12.22.1-linux-x64/bin/node itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with. > eclipsefdn-hugo-ecdtools@0.0.0 fetch_projects /home/jenkins/agent/workspace/blic_ecdtools.eclipse.org_MR-274 > node node_modules/eclipsefdn-hugo-solstice-theme/bin/projects/index.js -l data -u https://projects.eclipse.org/api/projects?working_group=cloud-development-tools Loading data using 'https://projects.eclipse.org/api/projects?working_group=cloud-development-tools' as initial URL npm WARN lifecycle The node binary used for scripts is /tmp/yarn--1710695991937-0.005953799222110812/node but npm is using /usr/local/lib/nodejs/node-v12.22.1-linux-x64/bin/node itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with. > eclipsefdn-hugo-ecdtools@0.0.0 yaml2json_projects /home/jenkins/agent/workspace/blic_ecdtools.eclipse.org_MR-274 > node node_modules/js-yaml/bin/js-yaml.js -c data/eclipsefdn_projects.yaml | node node_modules/json-minify/index.js > static/js/projects.json Done in 37.08s. Start building sites … WARN 2024/03/17 17:20:13 .File.Dir on zero object. Wrap it in if or with: {{ with .File }}{{ .Dir }}{{ end }} ERROR 2024/03/17 17:20:13 render of "page" failed: execute of template failed: template: _default/single.html:16:25: executing "head" at : error calling partial: "/home/jenkins/agent/workspace/blic_ecdtools.eclipse.org_MR-274/node_modules/eclipsefdn-hugo-solstice-theme/layouts/partials/head.html:35:37": execute of template failed: template: partials/head.html:35:37: executing "partials/head.html" at <.Page.Params.author>: can't evaluate field Page in type string ERROR 2024/03/17 17:20:13 render of "page" failed: execute of template failed: template: _default/single.html:16:25: executing "head" at : error calling partial: "/home/jenkins/agent/workspace/blic_ecdtools.eclipse.org_MR-274/node_modules/eclipsefdn-hugo-solstice-theme/layouts/partials/head.html:35:37": execute of template failed: template: partials/head.html:35:37: executing "partials/head.html" at <.Page.Params.author>: can't evaluate field Page in type string ERROR 2024/03/17 17:20:13 render of "page" failed: execute of template failed: template: _default/single.html:16:25: executing "head" at : error calling partial: "/home/jenkins/agent/workspace/blic_ecdtools.eclipse.org_MR-274/node_modules/eclipsefdn-hugo-solstice-theme/layouts/partials/head.html:35:37": execute of template failed: template: partials/head.html:35:37: executing "partials/head.html" at <.Page.Params.author>: can't evaluate field Page in type string ERROR 2024/03/17 17:20:13 render of "page" failed: execute of template failed: template: _default/single.html:16:25: executing "head" at : error calling partial: "/home/jenkins/agent/workspace/blic_ecdtools.eclipse.org_MR-274/node_modules/eclipsefdn-hugo-solstice-theme/layouts/partials/head.html:35:37": execute of template failed: template: partials/head.html:35:37: executing "partials/head.html" at <.Page.Params.author>: can't evaluate field Page in type string Total in 497 ms Error: Error building site: failed to render pages: render of "page" failed: execute of template failed: template: _default/single.html:16:25: executing "head" at : error calling partial: "/home/jenkins/agent/workspace/blic_ecdtools.eclipse.org_MR-274/node_modules/eclipsefdn-hugo-solstice-theme/layouts/partials/head.html:35:37": execute of template failed: template: partials/head.html:35:37: executing "partials/head.html" at <.Page.Params.author>: can't evaluate field Page in type string [Pipeline] } [Pipeline] // container [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Docker image) Stage "Build Docker image" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Deployment and cleanup) Stage "Deployment and cleanup" skipped due to earlier failure(s) [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 earlier failure(s) [Pipeline] } Stage "Deploy to kubernetes cluster" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } Failed in branch Cleanup previews [Pipeline] } Failed in branch Deploy to kubernetes cluster [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/headers9973959883994980325.tmp -X PUT --data @/tmp/bodyPayload2432713233553056840.json https://gitlab.eclipse.org/api/v4/projects/eclipsefdn%2Fit%2Fwebsites%2Fecdtools.eclipse.org/merge_requests/274/notes/1351553 + rm -f /tmp/headers9973959883994980325.tmp /tmp/bodyPayload2432713233553056840.json [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 ERROR: script returned exit code 255 [GitLab Pipeline Status] Notifying merge request build status: FAILED public/ecdtools.eclipse.org/MR-274 #20: There was a failure building this commit. Finished: FAILURE