Showing logs for build greencapitaltrade/heimdallr/main #40 stage from-build-pack and container prepare 2026/11/05 10:12:10 Entrypoint initialization Showing logs for build greencapitaltrade/heimdallr/main #40 stage from-build-pack and container place-scripts 2026/11/05 10:12:12 Decoded script /tekton/scripts/script-0-n2qwp 2026/11/05 10:12:12 Decoded script /tekton/scripts/script-1-xc4rq 2026/11/05 10:12:12 Decoded script /tekton/scripts/script-2-p8xxf 2026/11/05 10:12:12 Decoded script /tekton/scripts/script-3-qnb88 2026/11/05 10:12:12 Decoded script /tekton/scripts/script-4-j74s7 2026/11/05 10:12:12 Decoded script /tekton/scripts/script-6-82zsr 2026/11/05 10:12:12 Decoded script /tekton/scripts/script-7-xx8jh 2026/11/05 10:12:12 Decoded script /tekton/scripts/script-8-58kfd 2026/11/05 10:12:12 Decoded script /tekton/scripts/script-9-gz7wb 2026/11/05 10:12:12 Decoded script /tekton/scripts/script-10-jj5lr Showing logs for build greencapitaltrade/heimdallr/main #40 stage from-build-pack and container working-dir-initializer Showing logs for build greencapitaltrade/heimdallr/main #40 stage from-build-pack and container step-git-clone git cloning url: https://github.com/greencapitaltrade/heimdallr.git version main@006174ebb741a4b55f98e43e0c5cdac499d11d24 to dir: source Cloning into 'source'... HEAD is now at 006174e Merge pull request #193 from greencapitaltrade/fix/hpa-scale-up-stabilization-20261105 checked out revision: main@006174ebb741a4b55f98e43e0c5cdac499d11d24 to dir: source Showing logs for build greencapitaltrade/heimdallr/main #40 stage from-build-pack and container step-next-version Showing logs for build greencapitaltrade/heimdallr/main #40 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-1296953232 in dir /tmp Cloning into '/tmp/jx-git-1296953232'... about to run: git sparse-checkout set --no-cone jx-requirements.yml .jx/gitops/source-config.yaml in dir /tmp/jx-git-1296953232 about to run: git checkout in dir /tmp/jx-git-1296953232 Your branch is up to date with 'origin/main'. export APP_NAME='heimdallr' export BRANCH_NAME='main' export BUILD_NUMBER='40' 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/main/40' 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' export MINK_IMAGE='417755753340.dkr.ecr.ap-south-1.amazonaws.com/greencapitaltrade/heimdallr:1.9.2' export NAMESPACE_SUB_DOMAIN='-jx.' export PIPELINE_KIND='release' export PUSH_CONTAINER_REGISTRY='417755753340.dkr.ecr.ap-south-1.amazonaws.com' export REPO_NAME='heimdallr' export REPO_OWNER='greencapitaltrade' export VERSION='1.9.2' added variables to file: .jx/variables.sh about to run: git config --get user.name in dir . jenkins-x-bot about to run: git config --get user.email in dir . jenkins-x@googlegroups.com about to run: git add * in dir . about to run: git status -s in dir . A .jx/variables.sh A VERSION about to run: git commit -m chore: add variables in dir . [main ecad36e] chore: add variables 2 files changed, 22 insertions(+) create mode 100644 .jx/variables.sh create mode 100644 VERSION Showing logs for build greencapitaltrade/heimdallr/main #40 stage from-build-pack and container step-build-make-build go: downloading gorm.io/driver/postgres v1.6.0 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 github.com/golang-jwt/jwt/v5 v5.2.0 go: downloading github.com/valyala/fasthttp v1.69.0 go: downloading github.com/jackc/pgx/v5 v5.6.0 go: downloading github.com/oschwald/maxminddb-golang v1.13.1 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/cespare/xxhash/v2 v2.2.0 go: downloading github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f 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/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 GO15VENDOREXPERIMENT=1 go build -ldflags '' -o bin/heimdallr . Showing logs for build greencapitaltrade/heimdallr/main #40 stage from-build-pack and container step-build-make-test go: downloading gorm.io/gorm v1.31.1 go: downloading gorm.io/driver/postgres v1.6.0 go: downloading github.com/oschwald/geoip2-golang v1.11.0 go: downloading github.com/stretchr/testify v1.11.1 go: downloading github.com/alicebob/miniredis/v2 v2.33.0 go: downloading github.com/redis/go-redis/v9 v9.7.0 go: downloading gopkg.in/yaml.v3 v3.0.1 go: downloading github.com/golang-jwt/jwt/v5 v5.2.0 go: downloading github.com/valyala/fasthttp v1.69.0 go: downloading github.com/jackc/pgx/v5 v5.6.0 go: downloading github.com/oschwald/maxminddb-golang v1.13.1 go: downloading github.com/jinzhu/now v1.1.5 go: downloading github.com/davecgh/go-spew v1.1.1 go: downloading github.com/pmezard/go-difflib v1.0.0 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/cespare/xxhash/v2 v2.2.0 go: downloading github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f 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/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 === RUN Test_requestHandler Starting POST /v1/generate {} DEBUG: /v1/generate handler started, device from body: DEBUG: Device is empty in request body, returning 400 Starting POST /v1/generate {} DEBUG: Received POST body, length: 46 DEBUG: Successfully parsed POST body, keys: 3 DEBUG: /v1/generate handler started, device from body: lg-g8x DEBUG: About to call generateNewToken DEBUG: generateNewToken returned, token length: 547 error: DEBUG: Token generated successfully DEBUG: About to marshal response body DEBUG: Redis Del successful, setting response body DEBUG: /v1/generate completed successfully POST 200 /v1/generate 5.116762ms Starting GET /fury/pe/jaa/raha/hun {"Cookie":"device=lg-g8x; authorization=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJkZXZpY2UiOiJsZy1nOHgiLCJleHAiOjE3OTM5NjA4NTUsImlhdCI6MTc5Mzg3NDQ1NSwiaXNzIjoiaGVpbWRhbGxyIiwibmFtZSI6InZhbnNoIiwicnhwIjoxNzk0MDQ3MjU1LCJzdWIiOiIxIiwidXNlcl9pZCI6MX0.BbYBzQoR8XE4zy0rYPxIRmZV5cl7MadQhd20nL7W7FfzXX13pi3lTBxJzQWEx_Gko-lbxaH3o-On3M4vgvzGVP9u8X_07QsDGFLuWQlJaBOY5pynjqi9Abiw20sqmOj2QKbbzTLMcbp8pGxVxer_uIBgqpAJ7F7Yc_rQkLyMQ6az3Ar7Hg3vxXnOajwxOqWYnMIAtJ-okTjHu7Ev18s7nO2J3w6Cd_WU_zK2I4ExYrEsaugj3hMurBVq6-SKYTUxT6P_XVOLl7V9LfVeniFVKbivdXGcANjQrUjyzYxX7B6SA6o6AlVZEc9qshfmWqE1GKmPhSg9Re2nmFgHFUhtIg"} GET 200 /fury/pe/jaa/raha/hun 306.725µs Starting GET /fury/pe/jaa/raha/hun {"Cookie":"device=lg-g8x; authorization=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"} Invalid token reason token is unverifiable: error while executing keyfunc: unexpected method: HS256 GET 401 /fury/pe/jaa/raha/hun 41.941µs Starting GET /fury/pe/jaa/raha/hun {"Cookie":"device=lg-g8x; authorization=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJkZXZpY2UiOiJsZy1nOHgiLCJleHAiOjE3OTM3MDE2NTUsImlhdCI6MTc5Mzg3NDQ1NSwibmFtZSI6ImhlbGxvIHdvcmxkIiwicnhwIjoxNzk0MDQ3MjU1fQ.oIJu2AcKesR2lTaHDWRorEmGHV-IglMrcVvBdzjH8WqXKJKPj8arT5OYbdDhv9Omj6NivlijOL53ELBp-rUTrcM3ShHVo7iQ8SC2RppHWzmtRghRNX5yAYtAoz_fQTQtJhZg66tlD8Va2dSeexqKI-VUU7KnaW-hn02eLFTU5yFkoybsIcNU80UPWBCQQX7esDhdHKc6FMYvBWnFXuE0gjdFd5aQltt5p535dJfr1hNNziHil5HnhYzohQiPABL3UrfC7JVOkUfffbMq2nRJioE_zyINzV-GMExytCNwXu5loPI2hbkizxx0iQxwO5oKu1v0nzDMVdhCWwfMppquOA"} GET 200 /fury/pe/jaa/raha/hun 4.687427ms Starting GET /fury/pe/jaa/raha/hun {"Cookie":"device=lg-g8x; authorization=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJkZXZpY2UiOiJsZy1nOHgiLCJleHAiOjE3OTM3MDE2NTUsImlhdCI6MTc5Mzg3NDQ1NSwibmFtZSI6ImhlbGxvIHdvcmxkIiwicnhwIjoxNzk0MDQ3MjU1fQ.oIJu2AcKesR2lTaHDWRorEmGHV-IglMrcVvBdzjH8WqXKJKPj8arT5OYbdDhv9Omj6NivlijOL53ELBp-rUTrcM3ShHVo7iQ8SC2RppHWzmtRghRNX5yAYtAoz_fQTQtJhZg66tlD8Va2dSeexqKI-VUU7KnaW-hn02eLFTU5yFkoybsIcNU80UPWBCQQX7esDhdHKc6FMYvBWnFXuE0gjdFd5aQltt5p535dJfr1hNNziHil5HnhYzohQiPABL3UrfC7JVOkUfffbMq2nRJioE_zyINzV-GMExytCNwXu5loPI2hbkizxx0iQxwO5oKu1v0nzDMVdhCWwfMppquOA"} GET 200 /fury/pe/jaa/raha/hun 5.912494ms Starting POST /v1/generate {} DEBUG: Received POST body, length: 49 DEBUG: Successfully parsed POST body, keys: 3 DEBUG: /v1/generate handler started, device from body: lg-g8x DEBUG: About to call generateNewToken DEBUG: generateNewToken returned, token length: 555 error: DEBUG: Token generated successfully DEBUG: About to marshal response body DEBUG: Redis Del successful, setting response body DEBUG: /v1/generate completed successfully POST 200 /v1/generate 84.593062ms Starting PUT /v1/session {} PUT 200 /v1/session 204.543µs Starting GET /fury/pe/jaa/raha/hun {"Cookie":"device=lg-g8x; authorization=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJkZXZpY2UiOiJsZy1nOHgiLCJleHAiOjE3OTM5NjA4NTUsImlhdCI6MTc5Mzg3NDQ1NSwiaXNzIjoiaGVpbWRhbGxyIiwibmFtZSI6InZhbnNoIiwicnhwIjoxNzk0MDQ3MjU1LCJzdWIiOiIxNzIzIiwidXNlcl9pZCI6MTcyM30.KxqScekhP7TEAu0f7pHJZaFIHVukCtH5CBS-7v_AmPzvO1pRPRnwRn_e_k67c5IFlKRxptEFds41a-CsdD2bUamHt2ZQcpd6SXcXm3N7j9BocjyyZK8q3qJF5oicgB1u0W5Xf3xQTXvhwb6Yj9OPbQnRUSOI-NgZomTKZIyPjW6ykyghLL7ngX8llnfa6_xSOkDLezejom_3r23zNUCjL6rYJLPjv0fig0dfofDe9Gnp5GROzR_FKkJWkN7SV8St7g1u__-jqlVDZ_K7rJQPY1wXOtUgFjYbT1CfXy1eTOvTyL6mCOFETCY9YRZ9oCEXGY6aStmH7YxSs6EyO7eu6w"} GET 200 /fury/pe/jaa/raha/hun 5.208224ms Starting GET /fury/pe/jaa/raha/hun {"Cookie":"device=lg-g8x; authorization=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcHAiOiJnYWxheHljYXJkIiwiZGV2aWNlIjoibGctZzh4IiwiZW1haWwiOiJ1c2VyNDg5NzM3Mjg0XzE0NjgyQGV4YW1wbGUuY29tIiwiZXhwIjoxNzkzOTYwODU1LCJpYXQiOjE3OTM4NzQ0NTUsImlzcyI6ImhlaW1kYWxsciIsIm9yZ19pZCI6OTg3NjU0MzIxLCJwaG9uZSI6OTgyNTA5MDUzNywicnhwIjoxNzk0MDQ3MjU1LCJzdWIiOiIxNzIzIiwidXNlcl9pZCI6MTcyM30.esYkoKPUmHZ9UOPi2DUnXm0y58UNsIlwwj1WDJrE8kwyF-a6AEoeXpcxPQltAv2-tkctkhj7ACN4b10MA_EfUD8tAh87UBxUJ2rPCemCTbP6q_mwE9eUBGjGsszbHEsKz_H_RCMjL0IlMuIkIeK5d7XF1UHAY3lfIRYZUa8j0CHmwvNjuObYkCMnK5L8yA9YF6P_vLS1fqxQLZ34yghw86NMm8V5TZFmdHFEPK5SO8pRtD55ehMgdZOd2Ium-o9mzcVMU_V3jBcoL06hlMODHlVjJUigy0eLWEJp0zJxWREujSi78bUAnD-pSA_f18HYIBQHYWYOA2M4nVCFsoWxFA"} GET 200 /fury/pe/jaa/raha/hun 5.127583ms Starting POST /v1/generate {} DEBUG: Received POST body, length: 54 DEBUG: Successfully parsed POST body, keys: 3 DEBUG: /v1/generate handler started, device from body: lg-g8x DEBUG: About to call generateNewToken DEBUG: generateNewToken returned, token length: 575 error: DEBUG: Token generated successfully DEBUG: About to marshal response body DEBUG: Redis Del successful, setting response body DEBUG: /v1/generate completed successfully POST 200 /v1/generate 5.954195ms Starting GET /fury/pe/jaa/raha/hun {"Cookie":"device=lg-g8x; authorization=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJkZXZpY2UiOiJsZy1nOHgiLCJleHAiOjE3OTM5NjA4NTUsImlhdCI6MTc5Mzg3NDQ1NSwiaXNzIjoiaGVpbWRhbGxyIiwibmFtZSI6Imdob3N0IiwicnhwIjoxNzk0MDQ3MjU1LCJzdWIiOiI5Ljk5OTk5OTk5ZSswOCIsInVzZXJfaWQiOjk5OTk5OTk5OX0.mv-qDzkozckMihzGbCWu8qWO8YrC8WUqMlJa6ke7bd_EIt3n0Qc4XaghVUUEGQeCjGeGawwCDjg5TyT4DELuDGAVGzsf2bLM06gGY5shtnbDkJZRZqX5Vj8noHeyiTAnNQbSywO8CUVYxouYtgnL7WJ0d_9VomtlBQWS6H76teCHjc7ioUWxAp_9nVUWszLRT2XdZIRACx5rP0GR05QNylhccdLcJeK_r-KpLTD9glpQA0WnASnEBITGWniHeFuhKy8XQ20T2RIHVNsNDAVqcsPeBYeE9Ya5DLoWseDAcGsVPBXATrmCABnmn3kYzBnlJPmmsT4DWuPiP8nj479R-A"} Expected status code 200 but got 404 GET 200 /fury/pe/jaa/raha/hun 1.065715ms --- PASS: Test_requestHandler (0.19s) === RUN TestTokenValidation --- PASS: TestTokenValidation (0.00s) === RUN TestInvalidToken --- PASS: TestInvalidToken (0.00s) === RUN TestStripGctHeaders Stripped 4 spoofed x-gct-* headers: [X-Gct-User-Id X-Gct-Org-Id X-Gct-Admin X-Gct-Malicious] --- PASS: TestStripGctHeaders (0.00s) === RUN TestMaliciousHeadersNotForwarded Starting POST /v1/generate {} DEBUG: Received POST body, length: 58 DEBUG: Successfully parsed POST body, keys: 3 DEBUG: /v1/generate handler started, device from body: lg-g8x DEBUG: About to call generateNewToken DEBUG: generateNewToken returned, token length: 566 error: DEBUG: Token generated successfully DEBUG: About to marshal response body DEBUG: Redis Del successful, setting response body DEBUG: /v1/generate completed successfully POST 200 /v1/generate 5.430147ms Stripped 3 spoofed x-gct-* headers: [X-Gct-User-Id X-Gct-Admin X-Gct-Org-Id] Starting GET /any/protected/route {"Cookie":"device=lg-g8x; authorization=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJkZXZpY2UiOiJsZy1nOHgiLCJleHAiOjE3OTM5NjA4NTUsImlhdCI6MTc5Mzg3NDQ1NSwiaXNzIjoiaGVpbWRhbGxyIiwibmFtZSI6ImxlZ2l0aW1hdGUtdXNlciIsInJ4cCI6MTc5NDA0NzI1NSwic3ViIjoiODc0IiwidXNlcl9pZCI6ODc0fQ.Pf6Koo2vyxu-4PaFp5fWdcfqA0QzkqcJt6Zg-C0GlqVyqCF3ZHptfOBT6JHQ3Y7usaIfsXFnS1oJnbV2WVVDTUKFpFtdiXK8jz08hcxn3d3S_DNY9vipGqtFjMyiNgfVwM6KK7g-jlEUYYLqNlYm8YznhLifOh7JMLhrfr3lxZ3gHj-X3a9NM-ScBByy8kDXbODwy3Y7QP9cFzlDTw-YF41_ZLNwewHShw_t5dTr6uOsQbc6te5XZzKL7Om3cQINlcTg6gJVtppP1UxNDW5eANWKkcoCW4O71W4Cgk7peiPTXNQ8y31RRUkW2pew6b3hFfJtVgeIHbeBzEgcNXOo4A"} GET 200 /any/protected/route 530.347µs --- PASS: TestMaliciousHeadersNotForwarded (0.01s) === RUN TestValidAuthorizationCookieWinsOverAPISecretWithoutPartnerLookup Starting GET /protected {"Api-Secret":"not-a-partner-secret","Cookie":"device=lg-g8x; authorization=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJkZXZpY2UiOiJsZy1nOHgiLCJleHAiOjE3OTM4NzgwNTUsIm5hbWUiOiJqd3QtdXNlciIsInVzZXJfaWQiOjk4NzY1NDMyMX0.gtBQNTQHfceAZAlExtrFPb-QI1DqYXvzBx6T5Uo91UgYjW-dLjB8VuNCw9IV5vFQ2qVyQoZTKG4YfZnQBXNEOA3oKaB7FOzKddQEQb9fiGcSaAA3kqn6LbxVTzfm9WYwk1l7aLaY0um9HedTVrKUI-F_eXzY8lMyhbcYmPSomzEgm5u2zggfko8sUOYAxoXJ3pEA7uiBrjBPZ8zeD8M5FPM7Z2gWZKUsezePuRiLXFYeVLiPhoZUfEXg5bqN3YOo9YndV5B__cVayAfpUmce75Dz-mTDrfVeOUfwAGP9bIRhSyhVf5e5kkx0sX6IOL0rnwAJgoV3Imi_QSSJAkjcXA"} GET 200 /protected 2.8486ms --- PASS: TestValidAuthorizationCookieWinsOverAPISecretWithoutPartnerLookup (0.01s) === RUN TestHeaderFormatFunction --- PASS: TestHeaderFormatFunction (0.00s) === RUN TestSetNewTokenSetsUpstreamHeaders --- PASS: TestSetNewTokenSetsUpstreamHeaders (0.00s) === RUN TestTokenRefreshSetsUpstreamCookieNotSetCookie Starting GET /any/route {"Cookie":"device=lg-g8x; authorization=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJkZXZpY2UiOiJsZy1nOHgiLCJleHAiOjE3OTM3ODgwNTUsImlhdCI6MTc5Mzg3NDQ1NSwicnhwIjoxNzk0MDQ3MjU1LCJ1c2VyX2lkIjo5OTk5OX0.LDLdL_2-XBU-FeqjhhynO9s15W1s6Jc0Y0rQTbaYsWw6tgwDG_cn3xAsxg1K5a_m9c48opeLQmGecXnUKPRVAQJ3fFdzIRlkI5sfNVmdFlqsTWREqUBlCLUN3F4FT7BD2KFLSX816PQOulxZfKeRJnREsQq8zzwce6izppjrFvoRAGLHi8h3LGm1sF4ATdiGHU0lhLZfQS0-18ToI2VtnbnPIzSJbl4hQ3UPADUFVA5HygodrgPui7JOojmgMx0WLQWWbZnYQIGYHLkAl2-lcV8KXWRbJJ9LuMPEQlh8he1JAQldC08Mr573xvyQqKOTtYrqYrEcWs9GvnBmAzuP-Q"} GET 200 /any/route 4.437764ms --- PASS: TestTokenRefreshSetsUpstreamCookieNotSetCookie (0.09s) === RUN TestClearAuthorizationCookie --- PASS: TestClearAuthorizationCookie (0.00s) === RUN TestUnauthorizedResponseClearsCookieWhenFromCookie Starting GET /some/protected/route {"Cookie":"device=lg-g8x; authorization=invalid.token.here"} Invalid token reason token is malformed: could not JSON decode header: invalid character '\u008a' looking for beginning of value GET 401 /some/protected/route 214.133µs --- PASS: TestUnauthorizedResponseClearsCookieWhenFromCookie (0.00s) === RUN TestRequestWithOnlyAuthHeaderPassesThrough Starting GET /some/protected/route {"Authorization":"Bearer invalid.token.here","Device":"lg-g8x"} No Authorization token - passing through to upstream GET 200 /some/protected/route 153.042µs --- PASS: TestRequestWithOnlyAuthHeaderPassesThrough (0.00s) === RUN TestDeviceMismatchClearsCookie Starting POST /v1/generate {} DEBUG: Received POST body, length: 53 DEBUG: Successfully parsed POST body, keys: 3 DEBUG: /v1/generate handler started, device from body: lg-g8x DEBUG: About to call generateNewToken DEBUG: generateNewToken returned, token length: 560 error: DEBUG: Token generated successfully DEBUG: About to marshal response body DEBUG: Redis Del successful, setting response body DEBUG: /v1/generate completed successfully POST 200 /v1/generate 91.641233ms Starting GET /some/protected/route {"Cookie":"device=different-device-xyz; authorization=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJkZXZpY2UiOiJsZy1nOHgiLCJleHAiOjE3OTM5NjA4NTUsImlhdCI6MTc5Mzg3NDQ1NSwiaXNzIjoiaGVpbWRhbGxyIiwibmFtZSI6InRlc3QtdXNlciIsInJ4cCI6MTc5NDA0NzI1NSwic3ViIjoiMzY0OCIsInVzZXJfaWQiOjM2NDh9.GvaR3hQczkZp8V0EQV2ovp3GQSSwHbYzK9J4f13nyvftx3TVZASmzzjxQvQet6eCdz64_JMgC7kQ0oIjak-WXQADKoNdhArUsY-SGIAgWRMVpJUxtvnUv3OihpMVLGY6hpyUpu25f9nEwW1XA_uhQcSZZwZ4SHxHOIFEPGWTcQpnaQ0cNA_oUUGf4I2W6wC_A885g7oXwl6s17zrRu5tEq3NDpk9FQfOsWXCnauH1tBtYAAYqReWmS3lEFo6ZHb01ghpcp1IReEqqA0lRMhXqsAlk4TM2gCB7rhYp1iqtMk9R04Hy4wExqpwLbsbHyzHhzCwV27ejqYH-jm4vrGcMA"} Device didn't match GET 401 /some/protected/route 3.848035ms --- PASS: TestDeviceMismatchClearsCookie (0.10s) === RUN TestExpiredTokenPastRefreshWindowClearsCookie Starting GET /some/protected/route {"Cookie":"device=lg-g8x; authorization=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJkZXZpY2UiOiJsZy1nOHgiLCJleHAiOjE3OTM0NDI0NTUsImlhdCI6MTc5MzAxMDQ1NSwicnhwIjoxNzkzNjE1MjU1LCJ1c2VyX2lkIjoxMjM0NX0.oAop1o_Aiv5fyHaTtQZ7qcoefOlEBr47YdsYBccf_Ytrh1bWXCObe2fOe8NrnocByMZbi9aZVNWC23Gc4fMNDNxBqv2kZ6Ie0WaXcVQ-FWM-uink3Nb-vlqw7bsNE71qDUIK4M365RlJGu50VRtlmG5HqVZB14Ah6KDFLXkyS1Av-x11sG2gEyBK7xel1PbrVb6UyCev_-hx0tk4Dlr_3p05H3APZOZ3mAkSuACwFGIJKSpePwdAnYrnXPKUITzBA5P-ALnhZekX29KqKYlJd-faMXo_uYUdIpXBBFCsBWblknVW022k66hobAWMEKX-Dt2deIJZqan1f8LR1n90mg"} Token is expired and past refresh window GET 401 /some/protected/route 1.889257ms --- PASS: TestExpiredTokenPastRefreshWindowClearsCookie (0.01s) === RUN TestGeoIPHeadersNotSetWhenGPSPresent Starting GET /some/path {"Latitude":"28.6139","Longitude":"77.2090","X-Envoy-External-Address":"8.8.8.8"} No Authorization token - passing through to upstream GET 200 /some/path 58.491µs --- PASS: TestGeoIPHeadersNotSetWhenGPSPresent (0.00s) === RUN TestGeoIPHeadersAttemptedWhenNoGPS Starting GET /some/path {"X-Envoy-External-Address":"8.8.8.8"} No Authorization token - passing through to upstream GET 200 /some/path 12.901µs --- PASS: TestGeoIPHeadersAttemptedWhenNoGPS (0.00s) === RUN TestGeoIPNotTriggeredWithoutIP Starting GET /some/path {} No Authorization token - passing through to upstream GET 200 /some/path 10.301µs --- PASS: TestGeoIPNotTriggeredWithoutIP (0.00s) === RUN TestHMACAPISecret --- PASS: TestHMACAPISecret (0.00s) === RUN TestIPAllowed === RUN TestIPAllowed/exact_match === RUN TestIPAllowed/no_match === RUN TestIPAllowed/empty_allowlist_never_matches === RUN TestIPAllowed/cidr_match === RUN TestIPAllowed/cidr_miss === RUN TestIPAllowed/malformed_entry_ignored,_not_widened === RUN TestIPAllowed/malformed_entry_does_not_hide_a_valid_one === RUN TestIPAllowed/blank_entries_skipped === RUN TestIPAllowed/whitespace_around_entry_tolerated === RUN TestIPAllowed/unparseable_request_ip_denied === RUN TestIPAllowed/ipv6_exact_match === RUN TestIPAllowed/ipv6_cidr_match === RUN TestIPAllowed/v4_not_matched_by_v6_range --- PASS: TestIPAllowed (0.00s) --- PASS: TestIPAllowed/exact_match (0.00s) --- PASS: TestIPAllowed/no_match (0.00s) --- PASS: TestIPAllowed/empty_allowlist_never_matches (0.00s) --- PASS: TestIPAllowed/cidr_match (0.00s) --- PASS: TestIPAllowed/cidr_miss (0.00s) --- PASS: TestIPAllowed/malformed_entry_ignored,_not_widened (0.00s) --- PASS: TestIPAllowed/malformed_entry_does_not_hide_a_valid_one (0.00s) --- PASS: TestIPAllowed/blank_entries_skipped (0.00s) --- PASS: TestIPAllowed/whitespace_around_entry_tolerated (0.00s) --- PASS: TestIPAllowed/unparseable_request_ip_denied (0.00s) --- PASS: TestIPAllowed/ipv6_exact_match (0.00s) --- PASS: TestIPAllowed/ipv6_cidr_match (0.00s) --- PASS: TestIPAllowed/v4_not_matched_by_v6_range (0.00s) === RUN TestPartnerSourceIP === RUN TestPartnerSourceIP/reads_x-envoy-external-address === RUN TestPartnerSourceIP/ignores_caller-supplied_x-forwarded-for === RUN TestPartnerSourceIP/strips_port === RUN TestPartnerSourceIP/strips_ipv6_zone === RUN TestPartnerSourceIP/missing_header === RUN TestPartnerSourceIP/garbage_header --- PASS: TestPartnerSourceIP (0.00s) --- PASS: TestPartnerSourceIP/reads_x-envoy-external-address (0.00s) --- PASS: TestPartnerSourceIP/ignores_caller-supplied_x-forwarded-for (0.00s) --- PASS: TestPartnerSourceIP/strips_port (0.00s) --- PASS: TestPartnerSourceIP/strips_ipv6_zone (0.00s) --- PASS: TestPartnerSourceIP/missing_header (0.00s) --- PASS: TestPartnerSourceIP/garbage_header (0.00s) === RUN TestApiSecretUsesExplicitOrganizationMapping partner_auth_test.go:151: DB_HOST not set — run inside the devcontainer stack --- SKIP: TestApiSecretUsesExplicitOrganizationMapping (0.00s) === RUN TestPackageClientsCanShareAnOrganization partner_auth_test.go:166: DB_HOST not set — run inside the devcontainer stack --- SKIP: TestPackageClientsCanShareAnOrganization (0.00s) === RUN TestApiSecretAuthentication partner_auth_test.go:208: DB_HOST not set — run inside the devcontainer stack --- SKIP: TestApiSecretAuthentication (0.00s) === RUN TestAuthorizationCookieTakesPrecedenceOverAPISecret partner_auth_test.go:242: DB_HOST not set — run inside the devcontainer stack --- SKIP: TestAuthorizationCookieTakesPrecedenceOverAPISecret (0.00s) === RUN TestApiSecretIPAllowlistEnforcement partner_auth_test.go:285: DB_HOST not set — run inside the devcontainer stack --- SKIP: TestApiSecretIPAllowlistEnforcement (0.00s) === RUN TestPepperedSecretLookup partner_auth_test.go:354: DB_HOST not set — run inside the devcontainer stack --- SKIP: TestPepperedSecretLookup (0.00s) === RUN TestSecretHashingMigrationIsIdempotent partner_auth_test.go:391: DB_HOST not set — run inside the devcontainer stack --- SKIP: TestSecretHashingMigrationIsIdempotent (0.00s) PASS ok github.com/galaxycard/heimdallr 0.674s === RUN TestGeoIPDownloadResources --- PASS: TestGeoIPDownloadResources (0.00s) === RUN TestGeoIPDownloadUsesConfigurableResources --- PASS: TestGeoIPDownloadUsesConfigurableResources (0.00s) === RUN TestPreviewPromotionMemoryBound --- PASS: TestPreviewPromotionMemoryBound (0.00s) PASS ok github.com/galaxycard/heimdallr/charts/heimdallr 0.174s ? github.com/galaxycard/heimdallr/database [no test files] ? github.com/galaxycard/heimdallr/database/migrations [no test files] ? github.com/galaxycard/heimdallr/database/models [no test files] === RUN TestLookupWithoutInit --- PASS: TestLookupWithoutInit (0.00s) === RUN TestLookupInvalidIP --- PASS: TestLookupInvalidIP (0.00s) === RUN TestLookupEmptyIP --- PASS: TestLookupEmptyIP (0.00s) === RUN TestLookupPrivateIP --- PASS: TestLookupPrivateIP (0.00s) PASS ok github.com/galaxycard/heimdallr/geoip 0.005s ? github.com/galaxycard/heimdallr/redis [no test files] Showing logs for build greencapitaltrade/heimdallr/main #40 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-55327917 in dir /tmp Cloning into '/tmp/jx-git-55327917'... about to run: git sparse-checkout set --no-cone jx-requirements.yml .jx/gitops/source-config.yaml in dir /tmp/jx-git-55327917 about to run: git checkout in dir /tmp/jx-git-55327917 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/main #40 stage from-build-pack and container step-build-container-build time="2026-11-05T10:27:41Z" 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[0002] Pushing image to 417755753340.dkr.ecr.ap-south-1.amazonaws.com/greencapitaltrade/heimdallr:1.9.2 INFO[0003] Pushed 417755753340.dkr.ecr.ap-south-1.amazonaws.com/greencapitaltrade/heimdallr@sha256:3a7ec8e643852cdb01e662023b00c94e299f30c18df85851102a238f43d54e11 Showing logs for build greencapitaltrade/heimdallr/main #40 stage from-build-pack and container step-promote-changelog [main b17de6e] chore: release 1.9.2 2 files changed, 8 insertions(+), 19 deletions(-) The following paths are ignored by one of your .gitignore files: bin hint: Use -f if you really want to add them. hint: Turn this message off by running hint: "git config advice.addIgnoredFile false" Updated tag 'v1.9.2' (was a5d26f6) To https://github.com/greencapitaltrade/heimdallr.git + a5d26f6...c154fd6 v1.9.2 -> v1.9.2 (forced update) Using batch mode as inside a pipeline Generating change log from git ref 0d67212cb3e119596ec8c6457a87fef29522c07b => b17de6e737d67d16525357a9034074162a85bcae WARNING: no $GIT_SECRET_MOUNT_PATH environment variable set Can't find any issue tracker setting; defaulting to git provider: github Finding issues in commit messages using git format WARNING: Failed to find assignees for issue 193 repository https://api.github.com/greencapitaltrade/heimdallr updated the release information at https://github.com/greencapitaltrade/heimdallr/releases/tag/v1.9.2 Generated Changelog: ../changelog.md Updated PipelineActivity greencapitaltrade-heimdallr-main-40 which has status Running Showing logs for build greencapitaltrade/heimdallr/main #40 stage from-build-pack and container step-promote-helm-release WARNING: no $GIT_SECRET_MOUNT_PATH environment variable set releasing chart heimdallr released 1 charts from the charts dir: charts Showing logs for build greencapitaltrade/heimdallr/main #40 stage from-build-pack and container step-promote-jx-promote defaulting to the version 1.9.2 from file VERSION 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-1053726873 in dir /tmp Cloning into '/tmp/jx-git-1053726873'... about to run: git sparse-checkout set --no-cone jx-requirements.yml .jx/gitops/source-config.yaml in dir /tmp/jx-git-1053726873 about to run: git checkout in dir /tmp/jx-git-1053726873 Your branch is up to date with 'origin/main'. using version stream from dev environment found git user.name gct-bot from requirements found git user.email from requirements setup git user email jenkins-x@googlegroups.com WARNING: Note that the environment variable $XDG_CONFIG_HOME is not defined so we may not be able to push to git! generated Git credentials file: /tekton/home/git/credentials with username: gct-bot email: WARNING: the cluster.chartRepository in your jx-requirements.yml looks like its an internal service URL so trying to discover from kubernetes ingress resources Promoting app heimdallr version 1.9.2 to namespace jx-staging Created Pull Request: https://github.com/greencapitaltrade/mcu/pull/6744 Promoting app heimdallr version 1.9.2 to namespace jx-production Created Pull Request: https://github.com/greencapitaltrade/mcu/pull/6745 Showing logs for build greencapitaltrade/heimdallr/main #40 stage from-build-pack and container step-publish-org-kb Cloning into '/tmp/org-kb'... Cloning into '/tmp/tmp.EcccAO'... org-kb: heimdallr unchanged