Showing logs for build greencapitaltrade/flash/pr-181 #2 stage from-build-pack and container prepare 2026/06/04 18:53:36 Entrypoint initialization Showing logs for build greencapitaltrade/flash/pr-181 #2 stage from-build-pack and container place-scripts 2026/06/04 18:53:37 Decoded script /tekton/scripts/script-0-jvrwq 2026/06/04 18:53:37 Decoded script /tekton/scripts/script-1-p7ftc 2026/06/04 18:53:37 Decoded script /tekton/scripts/script-2-rqk7f 2026/06/04 18:53:37 Decoded script /tekton/scripts/script-3-mmgx6 2026/06/04 18:53:37 Decoded script /tekton/scripts/script-4-76tpn 2026/06/04 18:53:37 Decoded script /tekton/scripts/script-6-hxz4m 2026/06/04 18:53:37 Decoded script /tekton/scripts/script-7-6tcn6 Showing logs for build greencapitaltrade/flash/pr-181 #2 stage from-build-pack and container working-dir-initializer Showing logs for build greencapitaltrade/flash/pr-181 #2 stage from-build-pack and container step-git-clone git cloning url: https://github.com/greencapitaltrade/flash.git version refs/pull/181/head:PR-181@d532d84753485bf4d679636610f52c15cd59e8de to dir: source Cloning into 'source'... From https://github.com/greencapitaltrade/flash * [new ref] refs/pull/181/head -> PR-181 Switched to branch 'PR-181' HEAD is now at d532d84 fix(#165): replace Pressable with XStack for toggle — Pressable not in @my/ui checked out revision: refs/pull/181/head:PR-181@d532d84753485bf4d679636610f52c15cd59e8de to dir: source Showing logs for build greencapitaltrade/flash/pr-181 #2 stage from-build-pack and container step-git-merge setup git user email jenkins-x@googlegroups.com Using SHAs from PULL_REFS=main:f4c71a4a360575047773aae2f8965cf48708f508,181:d532d84753485bf4d679636610f52c15cd59e8de:refs/pull/181/head using base branch main and base sha f4c71a4a360575047773aae2f8965cf48708f508 merging sha: d532d84753485bf4d679636610f52c15cd59e8de Showing logs for build greencapitaltrade/flash/pr-181 #2 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-553988821 in dir /tmp Cloning into '/tmp/jx-git-553988821'... about to run: git sparse-checkout set --no-cone jx-requirements.yml .jx/gitops/source-config.yaml in dir /tmp/jx-git-553988821 about to run: git checkout in dir /tmp/jx-git-553988821 Your branch is up to date with 'origin/main'. export APP_NAME='flash' export BRANCH_NAME='PR-181' export BUILD_NUMBER='2' 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-181/2' 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-181-2-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-181-2-SNAPSHOT' added variables to file: .jx/variables.sh added variables to file: .jx/variables.sh Showing logs for build greencapitaltrade/flash/pr-181 #2 stage from-build-pack and container step-build-yarn-install ! Corepack is about to download https://repo.yarnpkg.com/4.5.0/packages/yarnpkg-cli/bin/yarn.js ➤ YN0000: · Yarn 4.5.0 ➤ YN0000: ┌ Resolution step ➤ YN0000: └ Completed in 0s 960ms ➤ 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.8.3#optional!builtin::version=5.8.3&hash=8c6c40: Cannot apply hunk #1 ➤ YN0066: │ typescript@patch:typescript@npm%3A5.9.3#optional!builtin::version=5.9.3&hash=8c6c40: Cannot apply hunk #1 ➤ YN0000: └ Completed in 1m 18s ➤ 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 737 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 1041 ms ➤ YN0000: │ starter-free@workspace:. STDOUT Done in 9s 518ms ➤ YN0000: └ Completed in 48s 517ms ➤ YN0000: · Done with warnings in 2m 9s Showing logs for build greencapitaltrade/flash/pr-181 #2 stage from-build-pack and container step-next-build 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 629 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 688 ms Done in 5s 489ms 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 31.7s Skipping validation of types Collecting page data using 1 worker ... Generating static pages using 1 worker (0/29) ... Generating static pages using 1 worker (7/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 1 worker (14/29) Generating static pages using 1 worker (21/29) ✓ Generating static pages using 1 worker (29/29) in 707.4ms 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-181 #2 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-3757069508 in dir /tmp Cloning into '/tmp/jx-git-3757069508'... about to run: git sparse-checkout set --no-cone jx-requirements.yml .jx/gitops/source-config.yaml in dir /tmp/jx-git-3757069508 about to run: git checkout in dir /tmp/jx-git-3757069508 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-181 #2 stage from-build-pack and container step-build-container-build time="2026-06-04T18:56:59Z" level=warning msg="Flag --snapshotMode is deprecated. Use: --snapshot-mode" INFO[0000] Using dockerignore file: /workspace/source/.dockerignore INFO[0000] Retrieving image manifest node:22-slim INFO[0000] Retrieving image node:22-slim from registry index.docker.io INFO[0002] Built cross stage deps: map[] INFO[0002] Retrieving image manifest node:22-slim INFO[0002] Returning cached image manifest INFO[0002] Executing 0 build triggers INFO[0002] Building stage 'node:22-slim' [idx: '0', base-idx: '-1'] INFO[0002] 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[0027] Taking snapshot of files... INFO[0028] RUN corepack enable && yarn workspaces focus next-app --production INFO[0028] Initializing snapshotter ... INFO[0028] Taking snapshot of full filesystem... INFO[0029] Cmd: /bin/sh INFO[0029] Args: [-c corepack enable && yarn workspaces focus next-app --production] INFO[0029] Running: [/bin/sh -c corepack enable && yarn workspaces focus next-app --production] ! Corepack is about to download https://repo.yarnpkg.com/4.5.0/packages/yarnpkg-cli/bin/yarn.js ➤ YN0000: · Yarn 4.5.0 ➤ YN0000: ┌ Resolution step ➤ YN0085: │ - @0no-co/graphql.web@npm:1.2.0, @adobe/css-tools@npm:4.4.4, @ampproject/remapping@npm:2.3.0, @apollo/client-integration-nextjs@npm:0.14.4, and 1422 more. ➤ YN0000: └ Completed in 0s 405ms ➤ 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 ➤ YN0000: └ Completed in 44s 210ms ➤ YN0000: ┌ Link step ➤ YN0007: │ sharp@npm:0.34.5 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 ➤ YN0000: └ Completed in 16s 781ms ➤ YN0000: · Done with warnings in 1m 2s INFO[0093] Taking snapshot of full filesystem... INFO[0122] ENV NODE_ENV=production INFO[0122] ENV PORT=3000 INFO[0122] EXPOSE 3000 INFO[0122] Cmd: EXPOSE INFO[0122] Adding exposed port: 3000/tcp INFO[0122] WORKDIR /usr/src/app/apps/next INFO[0122] Cmd: workdir INFO[0122] Changed working directory to /usr/src/app/apps/next INFO[0122] No files changed in this command, skipping snapshotting. INFO[0122] CMD ["node", "dist/server.js"] INFO[0122] Pushing image to 417755753340.dkr.ecr.ap-south-1.amazonaws.com/greencapitaltrade/flash:0.0.0-PR-181-2-SNAPSHOT INFO[0132] Pushed 417755753340.dkr.ecr.ap-south-1.amazonaws.com/greencapitaltrade/flash@sha256:5c1b45285ffc3ac6cee25e368d2f105e79a210c5438026949b7b4acf690eb83b Showing logs for build greencapitaltrade/flash/pr-181 #2 stage from-build-pack and container step-promote-jx-preview found PullRequest https://github.com/greencapitaltrade/flash/pull/181 using ingress sub domain -jx-greencapitaltrade-flash-pr-181. upserted preview jx-greencapitaltrade-flash-pr-181 passing env vars into helmfile: map[string]string{"APP_NAME":"flash", "DOCKER_REGISTRY":"417755753340.dkr.ecr.ap-south-1.amazonaws.com", "DOCKER_REGISTRY_ORG":"greencapitaltrade", "PREVIEW_NAMESPACE":"jx-greencapitaltrade-flash-pr-181", "VERSION":"0.0.0-PR-181-2-SNAPSHOT"} jx-greencapitaltrade-flash-pr-181: LAST SEEN TYPE REASON OBJECT MESSAGE jx-greencapitaltrade-flash-pr-181: 0s Normal SuccessfulCreate job/jx-verify-gc-jobs-eygga Created pod: jx-verify-gc-jobs-eygga-g8vsb jx-greencapitaltrade-flash-pr-181: 0s Normal Scheduled pod/jx-verify-gc-jobs-eygga-g8vsb Successfully assigned jx-greencapitaltrade-flash-pr-181/jx-verify-gc-jobs-eygga-g8vsb to ip-10-0-71-52.ap-south-1.compute.internal jx-greencapitaltrade-flash-pr-181: 0s Normal Pulled pod/jx-verify-gc-jobs-eygga-g8vsb Container image "ghcr.io/jenkins-x/jx-verify:0.3.19" already present on machine and can be accessed by the pod jx-greencapitaltrade-flash-pr-181: 0s Normal Created pod/jx-verify-gc-jobs-eygga-g8vsb Container created jx-greencapitaltrade-flash-pr-181: 0s Normal Started pod/jx-verify-gc-jobs-eygga-g8vsb Container started jx-greencapitaltrade-flash-pr-181: 0s Normal ScalingReplicaSet deployment/preview-flash Scaled up replica set preview-flash-758dd94875 from 0 to 1 jx-greencapitaltrade-flash-pr-181: 0s Normal SuccessfulCreate replicaset/preview-flash-758dd94875 Created pod: preview-flash-758dd94875-4j6f8 jx-greencapitaltrade-flash-pr-181: 0s Normal Scheduled pod/preview-flash-758dd94875-4j6f8 Successfully assigned jx-greencapitaltrade-flash-pr-181/preview-flash-758dd94875-4j6f8 to ip-10-0-60-126.ap-south-1.compute.internal jx-greencapitaltrade-flash-pr-181: 0s Normal Pulling pod/preview-flash-758dd94875-4j6f8 Pulling image "417755753340.dkr.ecr.ap-south-1.amazonaws.com/greencapitaltrade/flash:0.0.0-PR-181-2-SNAPSHOT" detected a failure on the preview environment jx-greencapitaltrade-flash-pr-181 so looking for an erroring pod error: failed to helmfile sync: failed to run helmfile sync: failed to run 'helmfile --file preview/helmfile.yaml.gotmpl sync' command in directory '', output: 'Adding repo jx3 https://jenkins-x-charts.github.io/repo "jx3" has been added to your repositories Building dependency release=kafka-cluster, chart=kafka-cluster Building dependency release=preview, chart=../charts/flash Upgrading release=jx-verify, chart=jx3/jx-verify Upgrading release=kafka-cluster, chart=kafka-cluster Release "jx-verify" does not exist. Installing it now. NAME: jx-verify LAST DEPLOYED: Thu Jun 4 18:59:22 2026 NAMESPACE: jx-greencapitaltrade-flash-pr-181 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-flash-pr-181 get job -l "app=jx-verify-gc-jobs-cwmlc" Listing releases matching ^jx-verify$ Release "kafka-cluster" does not exist. Installing it now. NAME: kafka-cluster LAST DEPLOYED: Thu Jun 4 18:59:22 2026 NAMESPACE: jx-greencapitaltrade-flash-pr-181 STATUS: deployed REVISION: 1 TEST SUITE: None Listing releases matching ^kafka-cluster$ jx-verify jx-greencapitaltrade-flash-pr-181 1 2026-06-04 18:59:22.678406064 +0000 UTC deployed jx-verify-0.3.19 0.3.19 kafka-cluster jx-greencapitaltrade-flash-pr-181 1 2026-06-04 18:59:22.675005963 +0000 UTC deployed kafka-cluster-0.1.0 4.1.0 hook[presync] logs | Upgrading release=preview, chart=../charts/flash Release "preview" does not exist. Installing it now. UPDATED RELEASES: NAME NAMESPACE CHART VERSION DURATION jx-verify jx-greencapitaltrade-flash-pr-181 jx3/jx-verify 0.3.19 1s kafka-cluster jx-greencapitaltrade-flash-pr-181 ./kafka-cluster 0.1.0 1s FAILED RELEASES: NAME NAMESPACE CHART VERSION DURATION preview jx-greencapitaltrade-flash-pr-181 ../charts/flash 11s in preview/helmfile.yaml.gotmpl: 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: preview (7 bytes) 4: ../charts/flash (15 bytes) 5: --wait (6 bytes) 6: --timeout (9 bytes) 7: 600s (4 bytes) 8: --create-namespace (18 bytes) 9: --namespace (11 bytes) 10: jx-greencapitaltrade-flash-pr-181 (33 bytes) 11: --values (8 bytes) 12: /tmp/helmfile1678224379/jx-greencapitaltrade-flash-pr-181-preview-values-85478f9857 (83 bytes) 13: --values (8 bytes) 14: /tmp/helmfile1983061311/jx-greencapitaltrade-flash-pr-181-preview-values-864974d776 (83 bytes) 15: --reset-values (14 bytes) 16: --history-max (13 bytes) 17: 10 (2 bytes) ERROR: exit status 1 EXIT STATUS 1 STDERR: W0604 18:59:23.664137 124 warnings.go:70] annotation "kubernetes.io/ingress.class" is deprecated, please use 'spec.ingressClassName' instead Error: 1 error occurred: * Internal error occurred: failed calling webhook "validation.istio.io": failed to call webhook: Post "https://istiod.istio-system.svc:443/validate?timeout=10s": context deadline exceeded COMBINED OUTPUT: Release "preview" does not exist. Installing it now. W0604 18:59:23.664137 124 warnings.go:70] annotation "kubernetes.io/ingress.class" is deprecated, please use 'spec.ingressClassName' instead Error: 1 error occurred: * Internal error occurred: failed calling webhook "validation.istio.io": failed to call webhook: Post "https://istiod.istio-system.svc:443/validate?timeout=10s": context deadline exceeded'  Pipeline failed on stage 'from-build-pack' : container 'step-promote-jx-preview'. The execution of the pipeline has stopped.