Skip to content

Console Output

Merge request !514 state:opened action:update changes:{
  "authorId" : null,
  "createdAt" : null,
  "updatedAt" : {
    "previous" : "2024-04-26T18:59:38Z",
    "current" : "2024-04-26T19:21:45Z"
  },
  "updatedById" : null,
  "title" : null,
  "description" : null,
  "state" : null,
  "milestoneId" : null,
  "labels" : null,
  "assignees" : null,
  "totalTimeSpent" : null,
  "mergeStatus" : null,
  "reviewers" : null
}
Triggered by GitLab Merge Request #514: Olivier Goulet/storybooks => main
Querying the current revision of merge request #514...
Current revision of merge request #514 is 351923c866534832a22deb57da94144e75ceaeb9
Obtained Jenkinsfile from 360f7453a8eb4ec37ae12ebf5d3bdd21c3e15b46+351923c866534832a22deb57da94144e75ceaeb9
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-solstice-assets-mr-514-3-wqtqd-2cfbv-mjbz9
Agent public-solstice-assets-mr-514-3-wqtqd-2cfbv-mjbz9 is provisioned from template public_solstice-assets_MR-514_3-wqtqd-2cfbv
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations:
    buildUrl: "http://jenkins-ui.foundation-internal-webdev.svc.cluster.local/ci/webdev/job/public/job/solstice-assets/job/MR-514/3/"
    runUrl: "job/public/job/solstice-assets/job/MR-514/3/"
  labels:
    jenkins: "slave"
    jenkins/label-digest: "e4630bc06d18b881dfdd5c74a5d77406de667571"
    jenkins/label: "public_solstice-assets_MR-514_3-wqtqd"
  name: "public-solstice-assets-mr-514-3-wqtqd-2cfbv-mjbz9"
  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-solstice-assets-mr-514-3-wqtqd-2cfbv-mjbz9"
    - name: "JENKINS_NAME"
      value: "public-solstice-assets-mr-514-3-wqtqd-2cfbv-mjbz9"
    - 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-solstice-assets-mr-514-3-wqtqd-2cfbv-mjbz9 in /home/jenkins/agent/workspace/public_solstice-assets_MR-514
[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/solstice-assets.git
 > git init /home/jenkins/agent/workspace/public_solstice-assets_MR-514 # timeout=10
Fetching upstream changes from https://gitlab.eclipse.org/eclipsefdn/it/webdev/solstice-assets.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/solstice-assets.git +refs/merge-requests/514/head:refs/remotes/origin/MR-514 +refs/heads/main:refs/remotes/origin/main # timeout=10
 > git config remote.origin.url https://gitlab.eclipse.org/eclipsefdn/it/webdev/solstice-assets.git # timeout=10
 > git config --add remote.origin.fetch +refs/merge-requests/514/head:refs/remotes/origin/MR-514 # timeout=10
 > git config --add remote.origin.fetch +refs/heads/main:refs/remotes/origin/main # timeout=10
Fetching without tags
Merging remotes/origin/main commit 360f7453a8eb4ec37ae12ebf5d3bdd21c3e15b46 into PR head commit 351923c866534832a22deb57da94144e75ceaeb9
Merge succeeded, producing 6cacd35050d205bdbc3a6378e5c99c632c0e7441
Checking out Revision 6cacd35050d205bdbc3a6378e5c99c632c0e7441 (storybooks)
 > git config remote.origin.url https://gitlab.eclipse.org/eclipsefdn/it/webdev/solstice-assets.git # timeout=10
Fetching upstream changes from https://gitlab.eclipse.org/eclipsefdn/it/webdev/solstice-assets.git
using GIT_ASKPASS to set credentials GitLab username/token
 > git fetch --no-tags --force --progress -- https://gitlab.eclipse.org/eclipsefdn/it/webdev/solstice-assets.git +refs/merge-requests/514/head:refs/remotes/origin/MR-514 +refs/heads/main:refs/remotes/origin/main # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 351923c866534832a22deb57da94144e75ceaeb9 # 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 360f7453a8eb4ec37ae12ebf5d3bdd21c3e15b46 # timeout=10
 > git rev-parse HEAD^{commit} # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 6cacd35050d205bdbc3a6378e5c99c632c0e7441 # timeout=10
Commit message: "Merge commit '360f7453a8eb4ec37ae12ebf5d3bdd21c3e15b46' into HEAD"
First time build. Skipping changelog.
[GitLab Pipeline Status] Notifying merge request build status: RUNNING public/solstice-assets/MR-514 #3: Build started...
 > git rev-list --no-walk ca5a0b2ba918b97d7779cb852a0d82f9783fd37c # 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-solstice-assets",
    "safeAppName": "webdev-eclipse-org-solstice-assets",
    "productionBranchName": "main",
    "productionDomain": "preview-514--webdev-eclipse-org-solstice-assets.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-solstice-assets",
        "version": "mr-514--6cacd35-b3",
        "dockerfile": null,
        "buildArgs": null,
        "annotation": true,
        "registryCredentialsId": "04264967-fea0-40c2-bf60-09af5aeba60f"
    },
    "deployment": {
        "locationPath": "/docs/solstice",
        "nginxHttpPort": 8080,
        "nginxServerConf": null,
        "dateTimeUTC": "2024-04-26T19:22:48.868632373",
        "domain": "preview-514--webdev-eclipse-org-solstice-assets.eclipsecontent.org",
        "kind": "changeRequestPreview",
        "containerImageNameWithTag": "docker.io/eclipsefdn/webdev-eclipse-org-solstice-assets:mr-514--6cacd35-b3",
        "authBasic": false,
        "authBasicSecretPath": "/etc/nginx/htpasswd",
        "secretPath": ""
    },
    "build": {
        "kubeAgentYmlFile": null,
        "containerImage": "eclipsefdn/hugo-node:h0.110.0-n18.13.0",
        "destinationFolder": "docs",
        "script": "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-solstice-assets--mr-514"
    },
    "scm": {
        "credentialsId": "gitlab-credentials",
        "changeId": "514",
        "branchName": "MR-514",
        "repoHost": "gitlab.eclipse.org",
        "repoId": "eclipsefdn/it/webdev/solstice-assets",
        "botId": "webdev-bot",
        "commitId": "6cacd35050d205bdbc3a6378e5c99c632c0e7441"
    }
}
[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/headers8941471795672063624.tmp 'https://gitlab.eclipse.org/api/v4/projects/eclipsefdn%2Fit%2Fwebdev%2Fsolstice-assets/merge_requests/514/notes?per_page=50'
+ rm -f /tmp/headers8941471795672063624.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/headers3382014972030784498.tmp -X POST --data @/tmp/bodyPayload17567113159580184907.json https://gitlab.eclipse.org/api/v4/projects/eclipsefdn%2Fit%2Fwebdev%2Fsolstice-assets/merge_requests/514/notes
+ rm -f /tmp/headers3382014972030784498.tmp /tmp/bodyPayload17567113159580184907.json
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build Hugo site)
[Pipeline] container
[Pipeline] {
[Pipeline] sh
[Pipeline] echo
readTrusted: build.sh
[Pipeline] readTrusted
Obtained build.sh from 360f7453a8eb4ec37ae12ebf5d3bdd21c3e15b46+351923c866534832a22deb57da94144e75ceaeb9
[Pipeline] echo
readTrusted: 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 audit;
yarn test;
yarn run production
[Pipeline] writeFile
[Pipeline] sh
yarn install v1.22.19
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning "@chromatic-com/storybook > react-confetti@6.1.0" has unmet peer dependency "react@^16.3.0 || ^17.0.1 || ^18.0.0".
warning "@storybook/addon-essentials > @storybook/manager-api > @storybook/icons@1.2.9" has unmet peer dependency "react@^16.8.0 || ^17.0.0 || ^18.0.0".
warning "@storybook/addon-essentials > @storybook/manager-api > @storybook/icons@1.2.9" has unmet peer dependency "react-dom@^16.8.0 || ^17.0.0 || ^18.0.0".
warning "@storybook/addon-essentials > @storybook/addon-controls > @storybook/blocks > markdown-to-jsx@7.3.2" has unmet peer dependency "react@>= 0.14.0".
warning "@storybook/addon-essentials > @storybook/addon-controls > @storybook/blocks > react-colorful@5.6.1" has unmet peer dependency "react@>=16.8.0".
warning "@storybook/addon-essentials > @storybook/addon-controls > @storybook/blocks > react-colorful@5.6.1" has unmet peer dependency "react-dom@>=16.8.0".
[4/4] Building fresh packages...
Done in 36.88s.
yarn audit v1.22.19
0 vulnerabilities found - Packages audited: 1602
Done in 1.18s.
yarn run v1.22.19
$ NODE_OPTIONS='--no-experimental-fetch' jest --coverage=false
PASS js/shared/tests/shared-test-suite.test.js
FAIL js/api/tests/api-test-suite.test.js (9.956 s)
  ● APIs › Projects API › Proposals › Fetches proposals for a specific industry collaboration

    expect(received).toHaveProperty(path)

    Matcher error: received value must not be null nor undefined

    Received has value: undefined

      173 |       expect(error).toBeNull();
      174 |       expect(result).toHaveLength(expectedProposals.length);
    > 175 |       expect(result[0]).toHaveProperty('mentors');
          |                         ^
      176 |     });
      177 |
      178 |     it('Resolves empty array when no proposals found', async () => {

      at toHaveProperty (js/api/tests/eclipsefdn.projects.test.js:175:25)
      at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
      at Generator.<anonymous> (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
      at Generator.next (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
      at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
      at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:9)

PASS js/solstice/tests/ui-test-suite.test.js (12.021 s)

Test Suites: 1 failed, 2 passed, 3 total
Tests:       1 failed, 5 skipped, 86 passed, 92 total
Snapshots:   0 total
Time:        14.738 s
Ran all test suites.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build Docker image)
Stage "Build Docker image" skipped due to earlier failure(s)
[Pipeline] getContext
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Deployment and cleanup)
Stage "Deployment and cleanup" skipped due to earlier failure(s)
[Pipeline] getContext
[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] getContext
[Pipeline] }
Stage "Deploy to kubernetes cluster" skipped due to earlier failure(s)
[Pipeline] getContext
[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/headers6361919119224583760.tmp -X PUT --data @/tmp/bodyPayload2148849389497929841.json https://gitlab.eclipse.org/api/v4/projects/eclipsefdn%2Fit%2Fwebdev%2Fsolstice-assets/merge_requests/514/notes/2137691
+ rm -f /tmp/headers6361919119224583760.tmp /tmp/bodyPayload2148849389497929841.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 1
[GitLab Pipeline Status] Notifying merge request build status: FAILED public/solstice-assets/MR-514 #3: There was a failure building this commit.
Finished: FAILURE