Showing logs for build greencapitaltrade/heimdallr/pr-179 #1 stage from-build-pack and container prepare 2026/08/03 17:24:49 Entrypoint initialization Showing logs for build greencapitaltrade/heimdallr/pr-179 #1 stage from-build-pack and container place-scripts 2026/08/03 17:24:50 Decoded script /tekton/scripts/script-0-tz5pt 2026/08/03 17:24:50 Decoded script /tekton/scripts/script-1-jxn2x 2026/08/03 17:24:50 Decoded script /tekton/scripts/script-2-92w6x 2026/08/03 17:24:50 Decoded script /tekton/scripts/script-3-9p6vw 2026/08/03 17:24:50 Decoded script /tekton/scripts/script-4-ggbvv 2026/08/03 17:24:50 Decoded script /tekton/scripts/script-5-vldnw 2026/08/03 17:24:50 Decoded script /tekton/scripts/script-7-skftn 2026/08/03 17:24:50 Decoded script /tekton/scripts/script-8-ts55k Showing logs for build greencapitaltrade/heimdallr/pr-179 #1 stage from-build-pack and container working-dir-initializer Showing logs for build greencapitaltrade/heimdallr/pr-179 #1 stage from-build-pack and container step-git-clone git cloning url: https://github.com/greencapitaltrade/heimdallr.git version refs/pull/179/head:PR-179@b3e9e27620e1c95c0536c9807a374d0b5822b643 to dir: source Cloning into 'source'... From https://github.com/greencapitaltrade/heimdallr * [new ref] refs/pull/179/head -> PR-179 Switched to branch 'PR-179' HEAD is now at b3e9e27 chore(ci): apply the build and preview cost fixes checked out revision: refs/pull/179/head:PR-179@b3e9e27620e1c95c0536c9807a374d0b5822b643 to dir: source Showing logs for build greencapitaltrade/heimdallr/pr-179 #1 stage from-build-pack and container step-git-merge setup git user email jenkins-x@googlegroups.com Using SHAs from PULL_REFS=main:dce86e8ffeb7e388075c66f3566d8af7cbeb75b6,179:b3e9e27620e1c95c0536c9807a374d0b5822b643:refs/pull/179/head using base branch main and base sha dce86e8ffeb7e388075c66f3566d8af7cbeb75b6 merging sha: b3e9e27620e1c95c0536c9807a374d0b5822b643 Showing logs for build greencapitaltrade/heimdallr/pr-179 #1 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-2456505513 in dir /tmp Cloning into '/tmp/jx-git-2456505513'... about to run: git sparse-checkout set --no-cone jx-requirements.yml .jx/gitops/source-config.yaml in dir /tmp/jx-git-2456505513 about to run: git checkout in dir /tmp/jx-git-2456505513 Your branch is up to date with 'origin/main'. export APP_NAME='heimdallr' export BRANCH_NAME='PR-179' export BUILD_NUMBER='1' 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/heimdallr/PR-179/1' 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/heimdallr:0.0.0-PR-179-1-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='heimdallr' export REPO_OWNER='greencapitaltrade' version file VERSION does not exist export VERSION='0.0.0-PR-179-1-SNAPSHOT' added variables to file: .jx/variables.sh added variables to file: .jx/variables.sh Showing logs for build greencapitaltrade/heimdallr/pr-179 #1 stage from-build-pack and container step-build-make-linux go: downloading github.com/lib/pq v1.11.1 go: downloading gorm.io/gorm v1.31.1 go: downloading github.com/oschwald/geoip2-golang v1.11.0 go: downloading github.com/alicebob/miniredis/v2 v2.33.0 go: downloading github.com/redis/go-redis/v9 v9.7.0 go: downloading gorm.io/driver/postgres v1.6.0 go: downloading github.com/golang-jwt/jwt/v5 v5.2.0 go: downloading github.com/valyala/fasthttp v1.69.0 go: downloading github.com/jinzhu/now v1.1.5 go: downloading github.com/alicebob/gopher-json v0.0.0-20230218143504-906a9b012302 go: downloading github.com/yuin/gopher-lua v1.1.1 go: downloading github.com/jackc/pgx/v5 v5.6.0 go: downloading github.com/andybalholm/brotli v1.2.0 go: downloading github.com/klauspost/compress v1.18.2 go: downloading github.com/valyala/bytebufferpool v1.0.0 go: downloading github.com/oschwald/maxminddb-golang v1.13.1 go: downloading github.com/cespare/xxhash/v2 v2.2.0 go: downloading github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f go: downloading github.com/jinzhu/inflection v1.0.0 go: downloading golang.org/x/text v0.32.0 go: downloading github.com/jackc/pgpassfile v1.0.0 go: downloading github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 go: downloading golang.org/x/crypto v0.46.0 go: downloading golang.org/x/sys v0.39.0 go: downloading github.com/jackc/puddle/v2 v2.2.2 go: downloading golang.org/x/sync v0.19.0 CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GO15VENDOREXPERIMENT=1 go build -ldflags '' -o bin/heimdallr . Showing logs for build greencapitaltrade/heimdallr/pr-179 #1 stage from-build-pack and container step-build-make-test Tests temporarily disabled - deploying Device-Id header fallback fix Tests will be re-enabled once all tests are updated for cookie-based device handling Showing logs for build greencapitaltrade/heimdallr/pr-179 #1 stage from-build-pack and container step-build-post-test-results commented on pull request #179 on repository greencapitaltrade/heimdallr Showing logs for build greencapitaltrade/heimdallr/pr-179 #1 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-280827652 in dir /tmp Cloning into '/tmp/jx-git-280827652'... about to run: git sparse-checkout set --no-cone jx-requirements.yml .jx/gitops/source-config.yaml in dir /tmp/jx-git-280827652 about to run: git checkout in dir /tmp/jx-git-280827652 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 heimdallr 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/heimdallr Found repository: greencapitaltrade/heimdallr Showing logs for build greencapitaltrade/heimdallr/pr-179 #1 stage from-build-pack and container step-build-container-build time="2026-08-03T17:25:50Z" level=warning msg="Flag --snapshotMode is deprecated. Use: --snapshot-mode" INFO[0000] Using dockerignore file: /workspace/source/.dockerignore INFO[0000] No base image, nothing to extract INFO[0000] Built cross stage deps: map[] INFO[0000] No base image, nothing to extract INFO[0000] Executing 0 build triggers INFO[0000] Building stage 'scratch' [idx: '0', base-idx: '-1'] INFO[0000] Unpacking rootfs as cmd COPY ./bin/ / requires it. INFO[0000] EXPOSE 8080 INFO[0000] Cmd: EXPOSE INFO[0000] Adding exposed port: 8080/tcp INFO[0000] ENTRYPOINT ["/heimdallr"] INFO[0000] COPY ./bin/ / INFO[0000] Taking snapshot of files... INFO[0000] Pushing image to 417755753340.dkr.ecr.ap-south-1.amazonaws.com/greencapitaltrade/heimdallr:0.0.0-PR-179-1-SNAPSHOT INFO[0001] Pushed 417755753340.dkr.ecr.ap-south-1.amazonaws.com/greencapitaltrade/heimdallr@sha256:1a614b95f3b6d2eecfc76d8df0c87455483bef5e655a739ae9093ae3e5bd560d Showing logs for build greencapitaltrade/heimdallr/pr-179 #1 stage from-build-pack and container step-promote-jx-preview split helmfile into 2 documents for compatibility with helmfile version 1: preview/helmfile.yaml.gotmpl found PullRequest https://github.com/greencapitaltrade/heimdallr/pull/179 using ingress sub domain -jx-greencapitaltrade-heimdallr-pr-179. upserted preview jx-greencapitaltrade-heimdallr-pr-179 passing env vars into helmfile: map[string]string{"APP_NAME":"heimdallr", "DOCKER_REGISTRY":"417755753340.dkr.ecr.ap-south-1.amazonaws.com", "DOCKER_REGISTRY_ORG":"greencapitaltrade", "PREVIEW_NAMESPACE":"jx-greencapitaltrade-heimdallr-pr-179", "PR_HEAD_REF":"chore/ci-cost-rollup", "PULL_NUMBER":"179", "VERSION":"0.0.0-PR-179-1-SNAPSHOT"} error: failed to helmfile sync: failed to run helmfile repos: failed to run 'helmfile --file preview/helmfile.yaml.gotmpl repos' command in directory '', output: 'in preview/helmfile.yaml.gotmpl: failed to read helmfile.yaml.gotmpl: reading document at index 1: yaml: line 100: did not find expected key'  Pipeline failed on stage 'from-build-pack' : container 'step-promote-jx-preview'. The execution of the pipeline has stopped.