Showing logs for build greencapitaltrade/cro/pr-3 #4 stage from-build-pack and container prepare 2024/01/12 09:46:22 Entrypoint initialization Showing logs for build greencapitaltrade/cro/pr-3 #4 stage from-build-pack and container place-scripts 2024/01/12 09:46:23 Decoded script /tekton/scripts/script-0-lpkw8 2024/01/12 09:46:23 Decoded script /tekton/scripts/script-1-dv29m 2024/01/12 09:46:23 Decoded script /tekton/scripts/script-2-9sldr 2024/01/12 09:46:23 Decoded script /tekton/scripts/script-3-jv96p 2024/01/12 09:46:23 Decoded script /tekton/scripts/script-4-82rbs 2024/01/12 09:46:23 Decoded script /tekton/scripts/script-5-jkcjm 2024/01/12 09:46:23 Decoded script /tekton/scripts/script-6-q5jmd Showing logs for build greencapitaltrade/cro/pr-3 #4 stage from-build-pack and container working-dir-initializer Showing logs for build greencapitaltrade/cro/pr-3 #4 stage from-build-pack and container step-git-clone git cloning url: https://github.com/greencapitaltrade/cro.git version refs/pull/3/head:PR-3@3b949b3c5ff258bf5a93dea1204b67970e3a1214 to dir: source Cloning into 'source'... From https://github.com/greencapitaltrade/cro * [new ref] refs/pull/3/head -> PR-3 Switched to branch 'PR-3' HEAD is now at 3b949b3 chore: fixes checked out revision: refs/pull/3/head:PR-3@3b949b3c5ff258bf5a93dea1204b67970e3a1214 to dir: source Showing logs for build greencapitaltrade/cro/pr-3 #4 stage from-build-pack and container step-git-merge setup git user email jenkins-x@googlegroups.com Using SHAs from PULL_REFS=master:ea536b53819574665c27f5d58148cadc931b7521,3:3b949b3c5ff258bf5a93dea1204b67970e3a1214:refs/pull/3/head using base branch master and base sha ea536b53819574665c27f5d58148cadc931b7521 merging sha: 3b949b3c5ff258bf5a93dea1204b67970e3a1214 Showing logs for build greencapitaltrade/cro/pr-3 #4 stage from-build-pack and container step-jx-variables WARNING: no $GIT_SECRET_MOUNT_PATH environment variable set about to run: git clone https://github.com/greencapitaltrade/mcu.git /tmp/jx-git-3781455714 in dir /tmp Cloning into '/tmp/jx-git-3781455714'... export APP_NAME='cro' export BRANCH_NAME='PR-3' export BUILD_NUMBER='4' export DOCKERFILE_PATH='Dockerfile' export DOCKER_REGISTRY='gctdev.azurecr.io' export DOCKER_REGISTRY_ORG='greencapitaltrade' export DOMAIN='gc-t.in' about to run: git rev-parse --abbrev-ref HEAD in dir . master export GIT_BRANCH='master' export JENKINS_X_URL='https://dashboard-jx.gc-t.in/greencapitaltrade/cro/PR-3/4' export JX_CHART_REPOSITORY='http://jenkins-x-chartmuseum.jx.svc.cluster.local:8080' export KANIKO_FLAGS='--skip-unused-stages --snapshotMode=redo' export MINK_AS='tekton-bot' version file VERSION does not exist export MINK_IMAGE='gctdev.azurecr.io/greencapitaltrade/cro:0.0.0-PR-3-4-SNAPSHOT' export NAMESPACE_SUB_DOMAIN='-jx.' export PIPELINE_KIND='pullrequest' export PUSH_CONTAINER_REGISTRY='gctdev.azurecr.io' export REPO_NAME='cro' export REPO_OWNER='greencapitaltrade' version file VERSION does not exist export VERSION='0.0.0-PR-3-4-SNAPSHOT' added variables to file: .jx/variables.sh about to run: git config --get user.name in dir . root about to run: git config --get user.email in dir . jenkins-x@googlegroups.com about to run: git config --global --add user.name root in dir . about to run: git add * in dir . about to run: git status -s in dir . A .jx/variables.sh about to run: git commit -m chore: add variables in dir . [master 6008a08] chore: add variables 1 file changed, 21 insertions(+) create mode 100644 .jx/variables.sh added variables to file: .jx/variables.sh Showing logs for build greencapitaltrade/cro/pr-3 #4 stage from-build-pack and container step-build-yarn-install yarn install v1.22.19 [1/4] Resolving packages... [2/4] Fetching packages... warning sharp@0.33.1: The engine "libvips" appears to be invalid. warning @img/sharp-darwin-arm64@0.33.1: The engine "pnpm" appears to be invalid. warning @img/sharp-darwin-arm64@0.33.1: The engine "glibc" appears to be invalid. warning @img/sharp-darwin-x64@0.33.1: The engine "pnpm" appears to be invalid. warning @img/sharp-darwin-x64@0.33.1: The engine "glibc" appears to be invalid. warning @img/sharp-libvips-darwin-arm64@1.0.0: The engine "pnpm" appears to be invalid. warning @img/sharp-libvips-darwin-arm64@1.0.0: The engine "macos" appears to be invalid. warning @img/sharp-libvips-darwin-x64@1.0.0: The engine "pnpm" appears to be invalid. warning @img/sharp-libvips-darwin-x64@1.0.0: The engine "macos" appears to be invalid. warning @img/sharp-libvips-linux-arm@1.0.0: The engine "pnpm" appears to be invalid. warning @img/sharp-libvips-linux-arm@1.0.0: The engine "glibc" appears to be invalid. warning @img/sharp-libvips-linux-arm64@1.0.0: The engine "pnpm" appears to be invalid. warning @img/sharp-libvips-linux-arm64@1.0.0: The engine "glibc" appears to be invalid. warning @img/sharp-libvips-linux-s390x@1.0.0: The engine "pnpm" appears to be invalid. warning @img/sharp-libvips-linux-s390x@1.0.0: The engine "glibc" appears to be invalid. warning @img/sharp-libvips-linux-x64@1.0.0: The engine "pnpm" appears to be invalid. warning @img/sharp-libvips-linux-x64@1.0.0: The engine "glibc" appears to be invalid. warning @img/sharp-libvips-linuxmusl-arm64@1.0.0: The engine "pnpm" appears to be invalid. warning @img/sharp-libvips-linuxmusl-arm64@1.0.0: The engine "musl" appears to be invalid. warning @img/sharp-libvips-linuxmusl-x64@1.0.0: The engine "pnpm" appears to be invalid. warning @img/sharp-libvips-linuxmusl-x64@1.0.0: The engine "musl" appears to be invalid. warning @img/sharp-linux-arm@0.33.1: The engine "pnpm" appears to be invalid. warning @img/sharp-linux-arm@0.33.1: The engine "glibc" appears to be invalid. warning @img/sharp-linux-arm64@0.33.1: The engine "pnpm" appears to be invalid. warning @img/sharp-linux-arm64@0.33.1: The engine "glibc" appears to be invalid. warning @img/sharp-linux-s390x@0.33.1: The engine "pnpm" appears to be invalid. warning @img/sharp-linux-s390x@0.33.1: The engine "glibc" appears to be invalid. warning @img/sharp-linux-x64@0.33.1: The engine "pnpm" appears to be invalid. warning @img/sharp-linux-x64@0.33.1: The engine "glibc" appears to be invalid. warning @img/sharp-linuxmusl-arm64@0.33.1: The engine "pnpm" appears to be invalid. warning @img/sharp-linuxmusl-arm64@0.33.1: The engine "musl" appears to be invalid. warning @img/sharp-linuxmusl-x64@0.33.1: The engine "pnpm" appears to be invalid. warning @img/sharp-linuxmusl-x64@0.33.1: The engine "musl" appears to be invalid. warning @img/sharp-wasm32@0.33.1: The engine "pnpm" appears to be invalid. warning @img/sharp-win32-ia32@0.33.1: The engine "pnpm" appears to be invalid. warning @img/sharp-win32-x64@0.33.1: The engine "pnpm" appears to be invalid. [3/4] Linking dependencies... warning " > bootstrap@5.3.2" has unmet peer dependency "@popperjs/core@^2.11.8". warning "eslint-config-next > @typescript-eslint/parser > @typescript-eslint/typescript-estree > ts-api-utils@1.0.3" has unmet peer dependency "typescript@>=4.2.0". warning " > react-gsap@3.2.1" has incorrect peer dependency "react@^16.0.0-0 || ^17.0.0-0". warning " > react-gsap@3.2.1" has incorrect peer dependency "react-dom@^16.0.0-0 || ^17.0.0-0". [4/4] Building fresh packages... Done in 24.70s. Showing logs for build greencapitaltrade/cro/pr-3 #4 stage from-build-pack and container step-next-build yarn run v1.22.19 $ next build Attention: Next.js now collects completely anonymous telemetry regarding usage. This information is used to shape Next.js' roadmap and prioritize features. You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL: https://nextjs.org/telemetry Linting and checking validity of types ... ▲ Next.js 14.0.4 Creating an optimized production build ... ⚠ For production Image Optimization with Next.js, the optional 'sharp' package is strongly recommended. Run 'npm i sharp', and Next.js will use it automatically for Image Optimization. Read more: https://nextjs.org/docs/messages/sharp-missing-in-production ✓ Compiled successfully Collecting page data ... Generating static pages (0/7) ... Generating static pages (1/7) Generating static pages (3/7) Generating static pages (5/7) ✓ Generating static pages (7/7) Finalizing page optimization ... Collecting build traces ... Route (pages) Size First Load JS ┌ ○ / 47.4 kB 145 kB ├ └ css/8a07fbce2e12a805.css 514 B ├ /_app 0 B 98 kB ├ ○ /404 181 B 98.2 kB ├ λ /api/hello 0 B 98 kB ├ ○ /demo 852 B 98.9 kB ├ ○ /home 257 B 98.3 kB ├ ○ /login 877 B 98.9 kB └ ○ /plan 24.9 kB 123 kB └ css/a80738c1c588044f.css 1.14 kB + First Load JS shared by all 134 kB ├ chunks/framework-5429a50ba5373c56.js 45.2 kB ├ chunks/main-fdf56fc4602be5bb.js 31.7 kB ├ chunks/pages/_app-5b2c0115110865b6.js 20.1 kB ├ chunks/webpack-6ef43a8d4a395f49.js 1.01 kB └ css/d48b4c31ab1bcbd2.css 35.8 kB ○ (Static) prerendered as static content λ (Dynamic) server-rendered on demand using Node.js Done in 15.52s. Showing logs for build greencapitaltrade/cro/pr-3 #4 stage from-build-pack and container step-build-container-build time="2024-01-12T09:47:17Z" level=warning msg="Flag --snapshotMode is deprecated. Use: --snapshot-mode" INFO[0000] Retrieving image manifest node:19-slim INFO[0000] Retrieving image node:19-slim from registry index.docker.io INFO[0003] Built cross stage deps: map[] INFO[0003] Retrieving image manifest node:19-slim INFO[0003] Returning cached image manifest INFO[0003] Executing 0 build triggers INFO[0003] Building stage 'node:19-slim' [idx: '0', base-idx: '-1'] INFO[0003] Unpacking rootfs as cmd COPY . . requires it. INFO[0009] ENV TZ='Asia/Kolkata' INFO[0009] COPY . . INFO[0011] Taking snapshot of files... INFO[0018] CMD npm run start INFO[0018] Pushing image to gctdev.azurecr.io/greencapitaltrade/cro:0.0.0-PR-3-4-SNAPSHOT INFO[0027] Pushed gctdev.azurecr.io/greencapitaltrade/cro@sha256:8e47ad282d9b35e21b673c827582a98db63ac1fce3bc207c4c8d84ab46fb74be Showing logs for build greencapitaltrade/cro/pr-3 #4 stage from-build-pack and container step-promote-jx-preview WARNING: Note that the environment variable $XDG_CONFIG_HOME is not defined so we may not be able to push to git! found PullRequest https://github.com/greencapitaltrade/cro/pull/3 using ingress sub domain -jx-greencapitaltrade-cro-pr-3. upserted preview jx-greencapitaltrade-cro-pr-3 passing env vars into helmfile: map[string]string{"APP_NAME":"cro", "DOCKER_REGISTRY":"gctdev.azurecr.io", "DOCKER_REGISTRY_ORG":"greencapitaltrade", "PREVIEW_NAMESPACE":"jx-greencapitaltrade-cro-pr-3", "VERSION":"0.0.0-PR-3-4-SNAPSHOT"} jx-greencapitaltrade-cro-pr-3: LAST SEEN TYPE REASON OBJECT MESSAGE jx-greencapitaltrade-cro-pr-3: 0s Normal SuccessfulCreate job/jx-verify-gc-jobs-dzcxi Created pod: jx-verify-gc-jobs-dzcxi-kqsdz jx-greencapitaltrade-cro-pr-3: 0s Normal Scheduled pod/jx-verify-gc-jobs-dzcxi-kqsdz Successfully assigned jx-greencapitaltrade-cro-pr-3/jx-verify-gc-jobs-dzcxi-kqsdz to aks-jxnode-58796507-vmss00000c error: failed to helmfile sync: failed to run helmfile sync: failed to run 'helmfile --file ../../preview/helmfile.yaml sync' command in directory '', output: 'Adding repo jx3 https://jenkins-x-charts.github.io/repo "jx3" has been added to your repositories Upgrading release=jx-verify, chart=jx3/jx-verify hook[presync] logs | Upgrading release=preview, chart=../charts/cro Release "preview" does not exist. Installing it now. Release "jx-verify" does not exist. Installing it now. NAME: jx-verify LAST DEPLOYED: Fri Jan 12 09:48:02 2024 NAMESPACE: jx-greencapitaltrade-cro-pr-3 STATUS: deployed REVISION: 1 TEST SUITE: None NOTES: jx-verify-pods has been installed successfully. To verify the Job is setup correctly, run: kubectl --namespace=jx-greencapitaltrade-cro-pr-3 get job -l "app=jx-verify-gc-jobs-o0d2g" Listing releases matching ^jx-verify$ jx-verify jx-greencapitaltrade-cro-pr-3 1 2024-01-12 09:48:02.955670162 +0000 UTC deployed jx-verify-0.3.8 0.3.8 UPDATED RELEASES: NAME CHART VERSION jx-verify jx3/jx-verify 0.3.8 FAILED RELEASES: NAME preview in ../../preview/helmfile.yaml: failed processing release preview: command "/usr/bin/helm" exited with non-zero status: PATH: /usr/bin/helm ARGS: 0: helm (4 bytes) 1: upgrade (7 bytes) 2: --install (9 bytes) 3: --reset-values (14 bytes) 4: preview (7 bytes) 5: ../charts/cro (13 bytes) 6: --wait (6 bytes) 7: --create-namespace (18 bytes) 8: --namespace (11 bytes) 9: jx-greencapitaltrade-cro-pr-3 (29 bytes) 10: --values (8 bytes) 11: /tmp/helmfile1137213673/jx-greencapitaltrade-cro-pr-3-preview-values-7f45fc89d (78 bytes) 12: --values (8 bytes) 13: /tmp/helmfile3909069144/jx-greencapitaltrade-cro-pr-3-preview-values-d4c866b7c (78 bytes) 14: --history-max (13 bytes) 15: 10 (2 bytes) ERROR: exit status 1 EXIT STATUS 1 STDERR: Error: path "../charts/cro" not found COMBINED OUTPUT: Release "preview" does not exist. Installing it now. Error: path "../charts/cro" not found'  Pipeline failed on stage 'from-build-pack' : container 'step-promote-jx-preview'. The execution of the pipeline has stopped.