Showing logs for build greencapitaltrade/flash/pr-141 #3 stage from-build-pack and container prepare 2026/06/03 19:55:05 Entrypoint initialization Showing logs for build greencapitaltrade/flash/pr-141 #3 stage from-build-pack and container place-scripts 2026/06/03 19:55:06 Decoded script /tekton/scripts/script-0-2twqw 2026/06/03 19:55:06 Decoded script /tekton/scripts/script-1-8md54 2026/06/03 19:55:06 Decoded script /tekton/scripts/script-2-jdzfh 2026/06/03 19:55:06 Decoded script /tekton/scripts/script-3-2wqbp 2026/06/03 19:55:06 Decoded script /tekton/scripts/script-4-spkv2 2026/06/03 19:55:06 Decoded script /tekton/scripts/script-6-mnnql 2026/06/03 19:55:06 Decoded script /tekton/scripts/script-7-dql48 Showing logs for build greencapitaltrade/flash/pr-141 #3 stage from-build-pack and container working-dir-initializer Showing logs for build greencapitaltrade/flash/pr-141 #3 stage from-build-pack and container step-git-clone git cloning url: https://github.com/greencapitaltrade/flash.git version refs/pull/141/head:PR-141@9054f5ad4f8f71ef6a32189b285ca51d7a127ea6 to dir: source Cloning into 'source'... From https://github.com/greencapitaltrade/flash * [new ref] refs/pull/141/head -> PR-141 Switched to branch 'PR-141' HEAD is now at 9054f5a fix(ci): install corepack on Node 25 before yarn checked out revision: refs/pull/141/head:PR-141@9054f5ad4f8f71ef6a32189b285ca51d7a127ea6 to dir: source Showing logs for build greencapitaltrade/flash/pr-141 #3 stage from-build-pack and container step-git-merge setup git user email jenkins-x@googlegroups.com Using SHAs from PULL_REFS=main:336983308aa5c3b53eee1aa057e327cece97b7d7,141:9054f5ad4f8f71ef6a32189b285ca51d7a127ea6:refs/pull/141/head using base branch main and base sha 336983308aa5c3b53eee1aa057e327cece97b7d7 merging sha: 9054f5ad4f8f71ef6a32189b285ca51d7a127ea6 Showing logs for build greencapitaltrade/flash/pr-141 #3 stage from-build-pack and container step-jx-variables WARNING: no $GIT_SECRET_MOUNT_PATH environment variable set about to run: git clone --no-checkout --filter=blob:none --depth=1 https://github.com/greencapitaltrade/mcu.git /tmp/jx-git-3098615565 in dir /tmp Cloning into '/tmp/jx-git-3098615565'... about to run: git sparse-checkout set --no-cone jx-requirements.yml .jx/gitops/source-config.yaml in dir /tmp/jx-git-3098615565 about to run: git checkout in dir /tmp/jx-git-3098615565 Your branch is up to date with 'origin/main'. export APP_NAME='flash' export BRANCH_NAME='PR-141' export BUILD_NUMBER='3' export DOCKERFILE_PATH='Dockerfile' export DOCKER_REGISTRY='417755753340.dkr.ecr.ap-south-1.amazonaws.com' export DOCKER_REGISTRY_ORG='greencapitaltrade' export DOMAIN='gc-t.in' about to run: git rev-parse --abbrev-ref HEAD in dir . main export GIT_BRANCH='main' export JENKINS_X_URL='https://dashboard-jx.gc-t.in/greencapitaltrade/flash/PR-141/3' 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='417755753340.dkr.ecr.ap-south-1.amazonaws.com/greencapitaltrade/flash:0.0.0-PR-141-3-SNAPSHOT' export NAMESPACE_SUB_DOMAIN='-jx.' export PIPELINE_KIND='pullrequest' export PUSH_CONTAINER_REGISTRY='417755753340.dkr.ecr.ap-south-1.amazonaws.com' export REPO_NAME='flash' export REPO_OWNER='greencapitaltrade' version file VERSION does not exist export VERSION='0.0.0-PR-141-3-SNAPSHOT' added variables to file: .jx/variables.sh added variables to file: .jx/variables.sh Showing logs for build greencapitaltrade/flash/pr-141 #3 stage from-build-pack and container step-build-yarn-install npm warn EBADENGINE Unsupported engine { npm warn EBADENGINE package: 'corepack@0.35.0', npm warn EBADENGINE required: { node: '^22.22.2 || ^24.15.0 || >=26.0.0' }, npm warn EBADENGINE current: { node: 'v25.9.0', npm: '11.12.1' } npm warn EBADENGINE } npm error code EEXIST npm error path /usr/local/bin/yarnpkg npm error EEXIST: file already exists npm error File exists: /usr/local/bin/yarnpkg npm error Remove the existing file and try again, or run npm npm error with --force to overwrite files recklessly. npm error A complete log of this run can be found in: /tekton/home/.npm/_logs/2026-06-03T19_55_20_813Z-debug-0.log ➤ YN0000: · Yarn 4.5.0 ➤ YN0000: ┌ Resolution step ➤ YN0000: └ Completed in 0s 444ms ➤ YN0000: ┌ Post-resolution validation ➤ YN0086: │ Some peer dependencies are incorrectly met by dependencies; run yarn explain peer-requirements for details. ➤ YN0000: └ Completed ➤ YN0000: ┌ Fetch step ➤ YN0066: │ typescript@patch:typescript@npm%3A5.9.3#optional!builtin::version=5.9.3&hash=8c6c40: Cannot apply hunk #1 ➤ YN0066: │ typescript@patch:typescript@npm%3A5.8.3#optional!builtin::version=5.8.3&hash=8c6c40: Cannot apply hunk #1 ➤ YN0000: └ Completed in 39s 612ms ➤ YN0000: ┌ Link step ➤ YN0007: │ @biomejs/biome@npm:1.9.4 must be built because it never has been before or the last one failed ➤ YN0007: │ esbuild@npm:0.21.5 must be built because it never has been before or the last one failed ➤ YN0007: │ esbuild@npm:0.27.2 must be built because it never has been before or the last one failed ➤ YN0007: │ esbuild@npm:0.27.7 must be built because it never has been before or the last one failed ➤ YN0007: │ esbuild@npm:0.14.47 must be built because it never has been before or the last one failed ➤ YN0007: │ sharp@npm:0.34.5 must be built because it never has been before or the last one failed ➤ YN0007: │ esbuild@npm:0.25.10 must be built because it never has been before or the last one failed ➤ YN0007: │ @swc/core@npm:1.15.11 [36772] must be built because it never has been before or the last one failed ➤ YN0007: │ unrs-resolver@npm:1.11.1 must be built because it never has been before or the last one failed ➤ YN0007: │ starter-free@workspace:. must be built because it never has been before or the last one failed ➤ YN0000: │ starter-free@workspace:. STDOUT Tamagui dependencies look good ✅ ➤ YN0000: │ starter-free@workspace:. STDOUT API package built ➤ YN0000: │ starter-free@workspace:. STDOUT [baseline-browser-mapping] The data in this module is over two months old. To ensure accurate Baseline data, please update: `npm i baseline-browser-mapping@latest -D` ➤ YN0000: │ starter-free@workspace:. STDOUT built @my/config in 415 ms ➤ YN0000: │ starter-free@workspace:. STDOUT [baseline-browser-mapping] The data in this module is over two months old. To ensure accurate Baseline data, please update: `npm i baseline-browser-mapping@latest -D` ➤ YN0000: │ starter-free@workspace:. STDOUT built @my/ui in 521 ms ➤ YN0000: │ starter-free@workspace:. STDOUT Done in 5s 813ms ➤ YN0000: └ Completed in 33s 90ms ➤ YN0000: · Done with warnings in 1m 14s Showing logs for build greencapitaltrade/flash/pr-141 #3 stage from-build-pack and container step-next-build npm warn EBADENGINE Unsupported engine { npm warn EBADENGINE package: 'corepack@0.35.0', npm warn EBADENGINE required: { node: '^22.22.2 || ^24.15.0 || >=26.0.0' }, npm warn EBADENGINE current: { node: 'v25.9.0', npm: '11.12.1' } npm warn EBADENGINE } npm error code EEXIST npm error path /usr/local/bin/yarnpkg npm error EEXIST: file already exists npm error File exists: /usr/local/bin/yarnpkg npm error Remove the existing file and try again, or run npm npm error with --force to overwrite files recklessly. npm error A complete log of this run can be found in: /tekton/home/.npm/_logs/2026-06-03T19_56_36_085Z-debug-0.log API package built [baseline-browser-mapping] The data in this module is over two months old. To ensure accurate Baseline data, please update: `npm i baseline-browser-mapping@latest -D` built @my/config in 424 ms [baseline-browser-mapping] The data in this module is over two months old. To ensure accurate Baseline data, please update: `npm i baseline-browser-mapping@latest -D` built @my/ui in 521 ms Done in 3s 993ms 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 ▲ Next.js 16.1.1 (Turbopack) - Environments: .env - Experiments (use with caution): ✓ scrollRestoration ⚠ The "middleware" file convention is deprecated. Please use "proxy" instead. Learn more: https://nextjs.org/docs/messages/middleware-to-proxy Creating an optimized production build ... ✓ Compiled successfully in 17.4s Skipping validation of types Collecting page data using 3 workers ... Generating static pages using 3 workers (0/29) ... Generating static pages using 3 workers (7/29) Generating static pages using 3 workers (14/29) Failed to resolve default team: Error: Dynamic server usage: Route / couldn't be rendered statically because it used `cookies`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error at e (.next/server/chunks/ssr/_40f3cae4._.js:25:7164) at (.next/server/chunks/ssr/_40f3cae4._.js:13:71692) at (.next/server/chunks/ssr/_40f3cae4._.js:18:23) at query (.next/server/chunks/ssr/_40f3cae4._.js:35:28) at f (.next/server/chunks/ssr/[root-of-the-server]__41d8655b._.js:7:66) { description: "Route / couldn't be rendered statically because it used `cookies`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error", digest: 'DYNAMIC_SERVER_USAGE' } Generating static pages using 3 workers (21/29) ✓ Generating static pages using 3 workers (29/29) in 340.9ms Finalizing page optimization ... Route (app) ┌ ƒ / ├ ƒ /_not-found ├ ƒ /[team_id] ├ ƒ /[team_id]/assets ├ ƒ /[team_id]/assets/[id] ├ ƒ /[team_id]/assets/[id]/events ├ ƒ /[team_id]/assets/[id]/geofence ├ ƒ /[team_id]/assets/[id]/geofence/[geofenceId] ├ ƒ /[team_id]/assets/[id]/replay ├ ƒ /[team_id]/assets/[id]/settings ├ ƒ /[team_id]/assets/documents ├ ƒ /[team_id]/assets/maintenance ├ ƒ /[team_id]/assets/models ├ ƒ /[team_id]/assets/types ├ ƒ /[team_id]/reports ├ ƒ /api/health ├ ƒ /auth/google/callback ├ ƒ /customer ├ ƒ /customer/assets ├ ƒ /customer/commands ├ ƒ /customer/profile ├ ƒ /customer/track ├ ƒ /driver-management ├ ƒ /forgot-password ├ ƒ /geofences ├ ƒ /geofences/new ├ ƒ /hubs ├ ƒ /login ├ ƒ /members ├ ƒ /no-team ├ ƒ /operations ├ ƒ /operations/challans ├ ƒ /operations/gatepasses ├ ƒ /operations/trips ├ ƒ /operations/trips/[id] ├ ƒ /operations/violations ├ ƒ /routes ├ ƒ /signup ├ ƒ /team ├ ƒ /team-management ├ ƒ /teams ├ ƒ /teams/[id] ├ ƒ /teams/new └ ƒ /user/[id] ƒ Proxy (Middleware) ƒ (Dynamic) server-rendered on demand Showing logs for build greencapitaltrade/flash/pr-141 #3 stage from-build-pack and container step-check-registry sourcing .jx/variables.sh verifying the container registry is setup WARNING: no $GIT_SECRET_MOUNT_PATH environment variable set about to run: git clone --no-checkout --filter=blob:none --depth=1 https://github.com/greencapitaltrade/mcu.git /tmp/jx-git-2454755032 in dir /tmp Cloning into '/tmp/jx-git-2454755032'... about to run: git sparse-checkout set --no-cone jx-requirements.yml .jx/gitops/source-config.yaml in dir /tmp/jx-git-2454755032 about to run: git checkout in dir /tmp/jx-git-2454755032 Your branch is up to date with 'origin/main'. verifying that container registry 417755753340.dkr.ecr.ap-south-1.amazonaws.com with organisation greencapitaltrade and app name flash has an ECR associated with it loading config with AWS region: 'ap-south-1' Let's ensure that we have an ECR repository for the image greencapitaltrade/flash Found repository: greencapitaltrade/flash Showing logs for build greencapitaltrade/flash/pr-141 #3 stage from-build-pack and container step-build-container-build time="2026-06-03T19:57:08Z" level=warning msg="Flag --snapshotMode is deprecated. Use: --snapshot-mode" INFO[0000] Using dockerignore file: /workspace/source/.dockerignore INFO[0000] Retrieving image manifest node:25-slim INFO[0000] Retrieving image node:25-slim from registry index.docker.io INFO[0001] Built cross stage deps: map[] INFO[0001] Retrieving image manifest node:25-slim INFO[0001] Returning cached image manifest INFO[0001] Executing 0 build triggers INFO[0001] Building stage 'node:25-slim' [idx: '0', base-idx: '-1'] INFO[0001] Unpacking rootfs as cmd COPY . . requires it. INFO[0005] WORKDIR /usr/src/app INFO[0005] Cmd: workdir INFO[0005] Changed working directory to /usr/src/app INFO[0005] Creating directory /usr/src/app INFO[0005] Taking snapshot of files... INFO[0005] COPY . . INFO[0025] Taking snapshot of files... INFO[0026] RUN npm install -g corepack@latest && corepack enable && yarn workspaces focus next-app --production INFO[0026] Initializing snapshotter ... INFO[0026] Taking snapshot of full filesystem... INFO[0027] Cmd: /bin/sh INFO[0027] Args: [-c npm install -g corepack@latest && corepack enable && yarn workspaces focus next-app --production] INFO[0027] Running: [/bin/sh -c npm install -g corepack@latest && corepack enable && yarn workspaces focus next-app --production] npm warn EBADENGINE Unsupported engine { npm warn EBADENGINE package: 'corepack@0.35.0', npm warn EBADENGINE required: { node: '^22.22.2 || ^24.15.0 || >=26.0.0' }, npm warn EBADENGINE current: { node: 'v25.9.0', npm: '11.12.1' } npm warn EBADENGINE } npm error code EEXIST npm error path /usr/local/bin/yarnpkg npm error EEXIST: file already exists npm error File exists: /usr/local/bin/yarnpkg npm error Remove the existing file and try again, or run npm npm error with --force to overwrite files recklessly. npm notice npm notice New minor version of npm available! 11.12.1 -> 11.16.0 npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.16.0 npm notice To update run: npm install -g npm@11.16.0 npm notice npm error A complete log of this run can be found in: /root/.npm/_logs/2026-06-03T19_57_35_611Z-debug-0.log error building image: error building stage: failed to execute command: waiting for process to exit: exit status 1  Pipeline failed on stage 'from-build-pack' : container 'step-build-container-build'. The execution of the pipeline has stopped.