Showing logs for build greencapitaltrade/flash/pr-387 #3 stage from-build-pack and container prepare 2026/08/11 04:44:05 Entrypoint initialization Showing logs for build greencapitaltrade/flash/pr-387 #3 stage from-build-pack and container place-scripts 2026/08/11 04:44:06 Decoded script /tekton/scripts/script-0-nzk6w 2026/08/11 04:44:06 Decoded script /tekton/scripts/script-1-rhcgn 2026/08/11 04:44:06 Decoded script /tekton/scripts/script-2-gd98l 2026/08/11 04:44:06 Decoded script /tekton/scripts/script-3-sr8hw 2026/08/11 04:44:06 Decoded script /tekton/scripts/script-4-9m7bx 2026/08/11 04:44:06 Decoded script /tekton/scripts/script-5-nt4vx 2026/08/11 04:44:06 Decoded script /tekton/scripts/script-6-sv2n2 2026/08/11 04:44:06 Decoded script /tekton/scripts/script-7-4bvdf 2026/08/11 04:44:06 Decoded script /tekton/scripts/script-8-bd9tp 2026/08/11 04:44:06 Decoded script /tekton/scripts/script-9-sbvb5 2026/08/11 04:44:06 Decoded script /tekton/scripts/script-11-nxkxt 2026/08/11 04:44:06 Decoded script /tekton/scripts/script-12-z5fzc Showing logs for build greencapitaltrade/flash/pr-387 #3 stage from-build-pack and container working-dir-initializer Showing logs for build greencapitaltrade/flash/pr-387 #3 stage from-build-pack and container step-git-clone git cloning url: https://github.com/greencapitaltrade/flash.git version refs/pull/387/head:PR-387@d47bf69bb8b11bebed9283c196539a688c4cec50 to dir: source Cloning into 'source'... From https://github.com/greencapitaltrade/flash * [new ref] refs/pull/387/head -> PR-387 Switched to branch 'PR-387' HEAD is now at d47bf69b fix(auth): fail loudly instead of writing the token to plain storage checked out revision: refs/pull/387/head:PR-387@d47bf69bb8b11bebed9283c196539a688c4cec50 to dir: source Showing logs for build greencapitaltrade/flash/pr-387 #3 stage from-build-pack and container step-git-merge setup git user email jenkins-x@googlegroups.com Using SHAs from PULL_REFS=main:0e7c883f71a12311ffeb504bc7b6b8648627a74f,387:d47bf69bb8b11bebed9283c196539a688c4cec50:refs/pull/387/head using base branch main and base sha 0e7c883f71a12311ffeb504bc7b6b8648627a74f merging sha: d47bf69bb8b11bebed9283c196539a688c4cec50 Showing logs for build greencapitaltrade/flash/pr-387 #3 stage from-build-pack and container step-update-repomix repomix-output.xml is up to date. Showing logs for build greencapitaltrade/flash/pr-387 #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-2543883121 in dir /tmp Cloning into '/tmp/jx-git-2543883121'... about to run: git sparse-checkout set --no-cone jx-requirements.yml .jx/gitops/source-config.yaml in dir /tmp/jx-git-2543883121 about to run: git checkout in dir /tmp/jx-git-2543883121 Your branch is up to date with 'origin/main'. export APP_NAME='flash' export BRANCH_NAME='PR-387' 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-387/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-387-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-387-3-SNAPSHOT' added variables to file: .jx/variables.sh added variables to file: .jx/variables.sh Showing logs for build greencapitaltrade/flash/pr-387 #3 stage from-build-pack and container step-build-yarn-install ➤ YN0000: Successfully set npmScopes.greencapitaltrade.npmRegistryServer to 'https://npm.pkg.github.com' ➤ YN0000: Successfully set npmScopes.greencapitaltrade.npmAuthToken to '********' ➤ YN0000: · Yarn 4.5.0 ➤ YN0000: ┌ Resolution step ➤ YN0085: │ + expo-secure-store@npm:57.0.1, typescript@patch:typescript@npm%3A6.0.3#optional!builtin::version=6.0.3&hash=8c6c40, typescript@npm:6.0.3 ➤ YN0000: └ Completed in 0s 891ms ➤ 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%3A6.0.3#optional!builtin::version=6.0.3&hash=8c6c40: Cannot apply hunk #1 ➤ YN0000: └ Completed in 48s 454ms ➤ 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: │ @pact-foundation/pact-core@npm:19.2.0 must be built because it never has been before or the last one failed ➤ YN0007: │ @scarf/scarf@npm:1.4.0 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 [ca773] 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: │ protobufjs@npm:7.6.4 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 639 ms ➤ YN0000: │ starter-free@workspace:. STDOUT npm warn Unknown user config "unsafe-perm". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options. ➤ 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 637 ms ➤ YN0000: │ starter-free@workspace:. STDOUT Done in 6s 186ms ➤ YN0000: └ Completed in 45s 399ms ➤ YN0000: · Done with warnings in 1m 36s Showing logs for build greencapitaltrade/flash/pr-387 #3 stage from-build-pack and container step-build-yarn-install-errors Showing logs for build greencapitaltrade/flash/pr-387 #3 stage from-build-pack and container step-pact-consumer RUN v2.1.9 /workspace/source 2026-08-11T04:46:23.796170Z WARN ThreadId(01) pact_models::pact: Note: Existing pact is an older specification version (V3), and will be upgraded ✓ apps/next/__tests__/pact/telemetry-consumer.pact.test.ts (2 tests) 9ms Test Files 1 passed (1) Tests 2 passed (2) Start at 04:46:22 Duration 1.44s (transform 52ms, setup 0ms, collect 1.09s, tests 9ms, environment 0ms, prepare 113ms) Showing logs for build greencapitaltrade/flash/pr-387 #3 stage from-build-pack and container step-pact-publish /tekton/scripts/script-7-4bvdf: line 5: git: command not found ➤ YN0027: @pact-foundation/pact-broker-client@unknown can't be resolved to a satisfying range ➤ YN0035: Package not found ➤ YN0035: Response Code: 404 (Not Found) ➤ YN0035: Request Method: GET ➤ YN0035: Request URL: https://registry.yarnpkg.com/@pact-foundation%2fpact-broker-client ➤ Errors happened when preparing the environment required to run this command. warn: pact publish failed (broker blip?) — not failing the PR Showing logs for build greencapitaltrade/flash/pr-387 #3 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 364 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 600 ms Done in 4s 739ms 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 19.9s Running TypeScript ... Collecting page data using 3 workers ... Generating static pages using 3 workers (0/33) ... Generating static pages using 3 workers (8/33) Generating static pages using 3 workers (16/33) Generating static pages using 3 workers (24/33) 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:7317) at (.next/server/chunks/ssr/_40f3cae4._.js:13:74537) 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 (33/33) in 374.5ms 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 ├ ƒ /alerts ├ ƒ /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/assignments ├ ƒ /operations/challans ├ ƒ /operations/checklists ├ ƒ /operations/gatepasses ├ ƒ /operations/trips ├ ƒ /operations/trips/[id] ├ ƒ /operations/violations ├ ƒ /routes ├ ƒ /settings ├ ƒ /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-387 #3 stage from-build-pack and container step-build-web-errors Showing logs for build greencapitaltrade/flash/pr-387 #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-4039865518 in dir /tmp Cloning into '/tmp/jx-git-4039865518'... about to run: git sparse-checkout set --no-cone jx-requirements.yml .jx/gitops/source-config.yaml in dir /tmp/jx-git-4039865518 about to run: git checkout in dir /tmp/jx-git-4039865518 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-387 #3 stage from-build-pack and container step-build-container-build time="2026-08-11T04:47:12Z" 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[0006] WORKDIR /usr/src/app INFO[0006] Cmd: workdir INFO[0006] Changed working directory to /usr/src/app INFO[0006] Creating directory /usr/src/app INFO[0006] Taking snapshot of files... INFO[0006] COPY . . INFO[0030] Taking snapshot of files... INFO[0031] RUN corepack enable && yarn workspaces focus next-app --production INFO[0031] Initializing snapshotter ... INFO[0031] Taking snapshot of full filesystem... INFO[0032] Cmd: /bin/sh INFO[0032] Args: [-c corepack enable && yarn workspaces focus next-app --production] INFO[0032] 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: │ - @adobe/css-tools@npm:4.4.4, @ampproject/remapping@npm:2.3.0, @apollo/client-integration-nextjs@npm:0.14.5, @apollo/client-react-streaming@npm:0.14.5, and 1588 more. ➤ YN0000: └ Completed in 0s 289ms ➤ 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 27s 185ms ➤ 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 ➤ YN0007: │ protobufjs@npm:7.6.4 must be built because it never has been before or the last one failed ➤ YN0000: └ Completed in 21s 344ms ➤ YN0000: · Done with warnings in 48s 917ms INFO[0083] Taking snapshot of full filesystem... INFO[0125] ENV NODE_ENV=production INFO[0125] ENV PORT=3000 INFO[0125] EXPOSE 3000 INFO[0125] Cmd: EXPOSE INFO[0125] Adding exposed port: 3000/tcp INFO[0125] WORKDIR /usr/src/app/apps/next INFO[0125] Cmd: workdir INFO[0125] Changed working directory to /usr/src/app/apps/next INFO[0125] No files changed in this command, skipping snapshotting. INFO[0125] CMD ["node", "dist/server.js"] INFO[0125] Pushing image to 417755753340.dkr.ecr.ap-south-1.amazonaws.com/greencapitaltrade/flash:0.0.0-PR-387-3-SNAPSHOT INFO[0136] Pushed 417755753340.dkr.ecr.ap-south-1.amazonaws.com/greencapitaltrade/flash@sha256:baee08557397ae56ce68223e229a7f29fda05dfeb04d99ce336f1c28aed9ce51 Showing logs for build greencapitaltrade/flash/pr-387 #3 stage from-build-pack and container step-promote-jx-preview found PullRequest https://github.com/greencapitaltrade/flash/pull/387 using ingress sub domain -jx-greencapitaltrade-flash-pr-387. upserted preview jx-greencapitaltrade-flash-pr-387 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-387", "PR_HEAD_REF":"fix/b45-auth-guards", "PULL_NUMBER":"387", "VERSION":"0.0.0-PR-387-3-SNAPSHOT"} jx-greencapitaltrade-flash-pr-387: LAST SEEN TYPE REASON OBJECT MESSAGE jx-greencapitaltrade-flash-pr-387: 0s Normal ScalingReplicaSet deployment/preview-flash Scaled up replica set preview-flash-5855f8bf57 from 0 to 1 jx-greencapitaltrade-flash-pr-387: 0s Normal SuccessfulCreate replicaset/preview-flash-5855f8bf57 Created pod: preview-flash-5855f8bf57-9f55m jx-greencapitaltrade-flash-pr-387: 0s Normal Scheduled pod/preview-flash-5855f8bf57-9f55m Successfully assigned jx-greencapitaltrade-flash-pr-387/preview-flash-5855f8bf57-9f55m to ip-10-0-90-218.ap-south-1.compute.internal jx-greencapitaltrade-flash-pr-387: 0s Normal Pulling pod/preview-flash-5855f8bf57-9f55m Pulling image "417755753340.dkr.ecr.ap-south-1.amazonaws.com/greencapitaltrade/flash:0.0.0-PR-387-3-SNAPSHOT" jx-greencapitaltrade-flash-pr-387: 0s Normal SuccessfulCreate job/jx-verify-gc-jobs-gcbwv Created pod: jx-verify-gc-jobs-gcbwv-hkxk4 jx-greencapitaltrade-flash-pr-387: 0s Normal Scheduled pod/jx-verify-gc-jobs-gcbwv-hkxk4 Successfully assigned jx-greencapitaltrade-flash-pr-387/jx-verify-gc-jobs-gcbwv-hkxk4 to ip-10-0-49-58.ap-south-1.compute.internal killed the kubectl event watch command found helm preview release jx-verify in namespace jx-greencapitaltrade-flash-pr-387 preview jx-greencapitaltrade-flash-pr-387 is now running at https://flash-pr387.voltcred.com updated preview jx-greencapitaltrade-flash-pr-387 with URL https://flash-pr387.voltcred.com Updated PipelineActivity greencapitaltrade-flash-pr-387-3 which has status Pending wrote preview environment variables to .jx/variables.sh commented on pull request #387 on repository greencapitaltrade/flash