Showing logs for build greencapitaltrade/heimdallr/main #39 stage from-build-pack and container prepare 2026/10/25 17:45:02 Entrypoint initialization Showing logs for build greencapitaltrade/heimdallr/main #39 stage from-build-pack and container place-scripts 2026/10/25 17:45:03 Decoded script /tekton/scripts/script-0-c9lth 2026/10/25 17:45:03 Decoded script /tekton/scripts/script-1-kfhr6 2026/10/25 17:45:03 Decoded script /tekton/scripts/script-2-4j7fv 2026/10/25 17:45:03 Decoded script /tekton/scripts/script-3-zl95f 2026/10/25 17:45:03 Decoded script /tekton/scripts/script-4-qblcc 2026/10/25 17:45:03 Decoded script /tekton/scripts/script-6-qj7vh 2026/10/25 17:45:04 Decoded script /tekton/scripts/script-7-gmxmz 2026/10/25 17:45:04 Decoded script /tekton/scripts/script-8-dt2kz 2026/10/25 17:45:04 Decoded script /tekton/scripts/script-9-hgqrk 2026/10/25 17:45:04 Decoded script /tekton/scripts/script-10-65bpj Showing logs for build greencapitaltrade/heimdallr/main #39 stage from-build-pack and container working-dir-initializer Showing logs for build greencapitaltrade/heimdallr/main #39 stage from-build-pack and container step-git-clone git cloning url: https://github.com/greencapitaltrade/heimdallr.git version main@11af06c5f4478a65f29ee559a78c31b98ebe9449 to dir: source Cloning into 'source'... HEAD is now at 11af06c Merge pull request #192 from greencapitaltrade/fix/geoip-startup-resources checked out revision: main@11af06c5f4478a65f29ee559a78c31b98ebe9449 to dir: source Showing logs for build greencapitaltrade/heimdallr/main #39 stage from-build-pack and container step-next-version Showing logs for build greencapitaltrade/heimdallr/main #39 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-354037051 in dir /tmp Cloning into '/tmp/jx-git-354037051'... about to run: git sparse-checkout set --no-cone jx-requirements.yml .jx/gitops/source-config.yaml in dir /tmp/jx-git-354037051 about to run: git checkout in dir /tmp/jx-git-354037051 Your branch is up to date with 'origin/main'. export APP_NAME='heimdallr' export BRANCH_NAME='main' export BUILD_NUMBER='39' 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/39' 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.1' 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.1' 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 a556d74] 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 #39 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/jinzhu/now v1.1.5 go: downloading github.com/oschwald/maxminddb-golang v1.13.1 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/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/text v0.32.0 go: downloading github.com/jinzhu/inflection v1.0.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 #39 stage from-build-pack and container step-build-make-test go: downloading gorm.io/gorm v1.31.1 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 gorm.io/driver/postgres v1.6.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/oschwald/maxminddb-golang v1.13.1 go: downloading github.com/davecgh/go-spew v1.1.1 go: downloading github.com/pmezard/go-difflib v1.0.0 go: downloading github.com/jinzhu/now v1.1.5 go: downloading github.com/jackc/pgx/v5 v5.6.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 golang.org/x/sys v0.39.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 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 2.1372ms Starting GET /fury/pe/jaa/raha/hun {"Cookie":"device=lg-g8x; authorization=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJkZXZpY2UiOiJsZy1nOHgiLCJleHAiOjE3OTMwMzcyMzMsImlhdCI6MTc5Mjk1MDgzMywiaXNzIjoiaGVpbWRhbGxyIiwibmFtZSI6InZhbnNoIiwicnhwIjoxNzkzMTIzNjMzLCJzdWIiOiIxIiwidXNlcl9pZCI6MX0.S04c-Di2YhWXRKgJRXprpoBMAlj2smbI8VonPAtkKGH_NBzWZyGm4HLnaB4zLY0h9DXVFP5cdfh2T9PkB3NNj1qzSbuXHU_kLkDbg_Ve7tE3MBjVICHR2PsPpNPOECQuZLO04pRcRWOG9rRjy8jIphm5ESZeKoaT0uNfCdv4k-KboE17F1UAeBi0DLvDYGjCEMDs8sCyAZoQlfQsaG5FwG4yYh2qAIjTHGQ0rHm395ZipFY2kOFXB5w7_AGlXB5QmhVraLSLlelU_RUKqQNt9OiHyWiWRd_Jy8Ic2rFV3kVnFEE1OHOp7Lsxf3segRCW9FNK8_nbLHHKsXNorSkeyw"} GET 200 /fury/pe/jaa/raha/hun 278.859µ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 67.172µs Starting GET /fury/pe/jaa/raha/hun {"Cookie":"device=lg-g8x; authorization=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJkZXZpY2UiOiJsZy1nOHgiLCJleHAiOjE3OTI3NzgwMzMsImlhdCI6MTc5Mjk1MDgzMywibmFtZSI6ImhlbGxvIHdvcmxkIiwicnhwIjoxNzkzMTIzNjMzfQ.e4LybHI52Qk1kA-0PwOej6tkEJSRSdqpnxbwsuUcI7KtPXI-DAMd8TXyPWW8uOxMs8nny68ACZtHS8x-EG0OQGY5H5exyjw-W63xM2h8UbaaAxLxH0wsr1T3QRbj9FrNRa0Q3RonZzVJnaglwiKBkmKOFKjMcWNH1sNVQvoSOXskYlw5saVJa5QgzWB1CKk0pGmruH5YtKE2ALZ13aESg1L8O8-0DWp_bgfbhxz2AXTMP4Hjla0bI9riQ08n4hVUPf6nw3AaJCCbQ-bodp-D4SaMWWDyFsCdZv9LcjesYnHjiwsNObTsti6anA_1yWRxYOeT5HO3ikmtmz3u_WOH9w"} GET 200 /fury/pe/jaa/raha/hun 1.461568ms Starting GET /fury/pe/jaa/raha/hun {"Cookie":"device=lg-g8x; authorization=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJkZXZpY2UiOiJsZy1nOHgiLCJleHAiOjE3OTI3NzgwMzMsImlhdCI6MTc5Mjk1MDgzMywibmFtZSI6ImhlbGxvIHdvcmxkIiwicnhwIjoxNzkzMTIzNjMzfQ.e4LybHI52Qk1kA-0PwOej6tkEJSRSdqpnxbwsuUcI7KtPXI-DAMd8TXyPWW8uOxMs8nny68ACZtHS8x-EG0OQGY5H5exyjw-W63xM2h8UbaaAxLxH0wsr1T3QRbj9FrNRa0Q3RonZzVJnaglwiKBkmKOFKjMcWNH1sNVQvoSOXskYlw5saVJa5QgzWB1CKk0pGmruH5YtKE2ALZ13aESg1L8O8-0DWp_bgfbhxz2AXTMP4Hjla0bI9riQ08n4hVUPf6nw3AaJCCbQ-bodp-D4SaMWWDyFsCdZv9LcjesYnHjiwsNObTsti6anA_1yWRxYOeT5HO3ikmtmz3u_WOH9w"} GET 200 /fury/pe/jaa/raha/hun 1.375085ms 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 1.643034ms Starting PUT /v1/session {} PUT 200 /v1/session 181.497µs Starting GET /fury/pe/jaa/raha/hun {"Cookie":"device=lg-g8x; authorization=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJkZXZpY2UiOiJsZy1nOHgiLCJleHAiOjE3OTMwMzcyMzMsImlhdCI6MTc5Mjk1MDgzMywiaXNzIjoiaGVpbWRhbGxyIiwibmFtZSI6InZhbnNoIiwicnhwIjoxNzkzMTIzNjMzLCJzdWIiOiIxNzIzIiwidXNlcl9pZCI6MTcyM30.Eb2RN-JuTPl-mx6FHvgnafPNxcDExgy_zYykae3NzjfAW2DUm6JgnKYow8Oe69pOxVPGrGro8DZv8CBxMnSv39fTjBK4-W6BDnOGGgP45-jUhXGmWc_Q-pGH12M0YZQU1C6kEJWwP7UKKIBci9q0LCB28LmWsBJ_ZoClymWbNepHKB2bTFzKeCCTq3f1XoSZdQ7uHIbzcNR5vh9e-qd5GjRUaS6G6OCiR_KuCOTYlwcsSB5A5KWticJNKGoaPpdy9ElbFZeGNmrQqhCVUNUuClnckObJdzHwkvun6b7vePmU3hyFS8E4rGV8o1KMTef4ChB2l0rT4tfLKCb2JqZyFQ"} GET 200 /fury/pe/jaa/raha/hun 2.901816ms Starting GET /fury/pe/jaa/raha/hun {"Cookie":"device=lg-g8x; authorization=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcHAiOiJnYWxheHljYXJkIiwiZGV2aWNlIjoibGctZzh4IiwiZW1haWwiOiJ1c2VyMTI5MjkwNDk4XzI5NzMzQGV4YW1wbGUuY29tIiwiZXhwIjoxNzkzMDM3MjMzLCJpYXQiOjE3OTI5NTA4MzMsImlzcyI6ImhlaW1kYWxsciIsIm9yZ19pZCI6OTg3NjU0MzIxLCJwaG9uZSI6OTU1NTYxMzE5NiwicnhwIjoxNzkzMTIzNjMzLCJzdWIiOiIxNzIzIiwidXNlcl9pZCI6MTcyM30.GN_JM8PZRkoVmaz8gGMUXZovQX_FcwVzFoq15WPjqWhG5dhyA4EZdNk8YYnlpI1gr2HuEO6_sIHJ8455LuEna22fRYt98mJ4QsJhPOaTGfpLc0VasO1vczlpac_56hsSwqSbagaGOKbRP0k_iZUTKK3Jyl7AYs3oxYXCy25WHq3AqPkBFjgfUERXhbi_A1o9dwMfC8yBxdVP8OPDb7m3H4ccQrxA4QNl_q-IW18FkWTItIkwpC_gZH-P4ykWVZuvHuI3i7URTSIMhKdJi8rLz_S8wqex49ISgP8c2iBiMTJb6Z0WE2THUoWODcv_UaLJp0gaBIj2H7R6hel5sxd4Gg"} GET 200 /fury/pe/jaa/raha/hun 2.105519ms 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 86.56479ms Starting GET /fury/pe/jaa/raha/hun {"Cookie":"device=lg-g8x; authorization=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJkZXZpY2UiOiJsZy1nOHgiLCJleHAiOjE3OTMwMzcyMzMsImlhdCI6MTc5Mjk1MDgzMywiaXNzIjoiaGVpbWRhbGxyIiwibmFtZSI6Imdob3N0IiwicnhwIjoxNzkzMTIzNjMzLCJzdWIiOiI5Ljk5OTk5OTk5ZSswOCIsInVzZXJfaWQiOjk5OTk5OTk5OX0.mBDZdQUpeOHkcqK_2-u49Rt5ah8VbAhZ-TS60Pim3c3lgpvmpqgm8H5OUvWyMmPNXGn0FWfkgoyErWd0kLV6RCOfOrWpIg1tRvo7Xqc_Qxy2I6V9RO2C5pNYDI1JXGTGLJhLORxj_i4BjhlSopMAXuQG52j2u-hoMUygq8ymKv2Vz20mxATF6alowpl_dB3qJiTrODWDSaNicmmc2dXylNPqz7yrIjBB7SMtV8AzDgfattI_qC3rF0xgRtL5rj0knfAbwfvzF5qSseA1uNQTVWPk7vKl0JJ8CuY-Czqgs3e7BsWFYdjP8GWEIP0LALwCbW_W6jBybADrxTod-cewoQ"} Expected status code 200 but got 404 GET 200 /fury/pe/jaa/raha/hun 452.925µs --- PASS: Test_requestHandler (0.10s) === 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: 59 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: 568 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 2.628346ms 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.eyJkZXZpY2UiOiJsZy1nOHgiLCJleHAiOjE3OTMwMzcyMzMsImlhdCI6MTc5Mjk1MDgzMywiaXNzIjoiaGVpbWRhbGxyIiwibmFtZSI6ImxlZ2l0aW1hdGUtdXNlciIsInJ4cCI6MTc5MzEyMzYzMywic3ViIjoiODQzMSIsInVzZXJfaWQiOjg0MzF9.OpTORRCraxIFB8GzcOmUD7HhN-FAoE4mU7D_VfXUvshCYWLPwc9_durnmFvevrK1jsCStxkAKn_sdTEMi4OxaHW6WVHUMSszkod2bZ4y5ySiHV4r1xU0SZ3e8BaidQ8-MaC5VbnDs6egnPck4zDZ9Shob2sy7k_HYfjV8DimkNUiC6w0AUImMVkZtv6EcKyTtrTAi86fqeLP2n3yx62LeB8G72SrW8WjrsbwdAZ1UG8qgicszInsbZ1v9Szu5LiVfQio6W44bPGy3HXR0pmF72LjV5mOlV0Dau8mhOpQZBIxXR570SHM5pYlXNeiwzHbpyj7o9aB5c43wsur9yhP9A"} GET 200 /any/protected/route 242.268µs --- PASS: TestMaliciousHeadersNotForwarded (0.00s) === RUN TestValidAuthorizationCookieWinsOverAPISecretWithoutPartnerLookup Starting GET /protected {"Api-Secret":"not-a-partner-secret","Cookie":"device=lg-g8x; authorization=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJkZXZpY2UiOiJsZy1nOHgiLCJleHAiOjE3OTI5NTQ0MzMsIm5hbWUiOiJqd3QtdXNlciIsInVzZXJfaWQiOjk4NzY1NDMyMX0.mkvCHbMwF-KClaCndr5lO1buitpBo3ueVW7r9sOnjemY7P4AN3e-ojjVnAjFqAyowHLkg4-vSQS2vXEhl20khaazKyzBX2IZBIIaKdgN65dJa4j--8wl5oO-o7m2VbcBq17mo1sCDxhwBjofkBBYuv9EzZKEpkC1E9Yjrb-GqrjbmBYaA5TItaIgS03BHOG3IylSJnM1KJAXiGUIN-QVCeS08tSpmWg-klM17p17uRlpryiQH8y4fafovp7zbD1z7PTdfRMHkvS7Cr51KRhGKDBJlBaTp3P_pLqC3C8gMvVCW9fvcdJ5hJ2863tPNiM9Pr976lH78hXJ7DoNS-ETEw"} GET 200 /protected 568.159µs --- PASS: TestValidAuthorizationCookieWinsOverAPISecretWithoutPartnerLookup (0.00s) === RUN TestHeaderFormatFunction --- PASS: TestHeaderFormatFunction (0.00s) === RUN TestSetNewTokenSetsUpstreamHeaders --- PASS: TestSetNewTokenSetsUpstreamHeaders (0.00s) === RUN TestTokenRefreshSetsUpstreamCookieNotSetCookie Starting GET /any/route {"Cookie":"device=lg-g8x; authorization=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJkZXZpY2UiOiJsZy1nOHgiLCJleHAiOjE3OTI4NjQ0MzMsImlhdCI6MTc5Mjk1MDgzMywicnhwIjoxNzkzMTIzNjMzLCJ1c2VyX2lkIjo5OTk5OX0.AqJOq82SFqehtE7aGjz4qrxjU2OsT9zI0Vxb-3hE9eDIwdlQpI-m-TydbuOxOhoiPx5LLu3o0D9UlHlPeIQHzADK3AaaZQEzuoRdOXba_lAmUM1WNi23b8o5YXq197oJ8TYYP-1E_rGhsornrma4F_itJrPo-Os9BmUxxg7DzOTCRroFhspzJRmmL4FqVKmlTYy852Rjq-zghZ55NzyYZl59hx7Qp9s2yrBgnRCTA2CpBGg7wLkilYib5kmI2tS64B9WHO1Shv2AsBtGWRUJsiHnvuqf0c3VEC7Y_3wy6LTF1DljXUQP4C4cerIzw7cz2Ej3PnHxoJvOoaAV73zMRQ"} GET 200 /any/route 1.51634ms --- PASS: TestTokenRefreshSetsUpstreamCookieNotSetCookie (0.00s) === 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 32.401µ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 15.501µ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 86.283309ms Starting GET /some/protected/route {"Cookie":"device=different-device-xyz; authorization=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJkZXZpY2UiOiJsZy1nOHgiLCJleHAiOjE3OTMwMzcyMzMsImlhdCI6MTc5Mjk1MDgzMywiaXNzIjoiaGVpbWRhbGxyIiwibmFtZSI6InRlc3QtdXNlciIsInJ4cCI6MTc5MzEyMzYzMywic3ViIjoiOTkyOSIsInVzZXJfaWQiOjk5Mjl9.jGUExqC8xi9_uITqjS4UgR0_N1x9WyM72XmYedc5q5gddvyq3oV7ErymPKPnwO1tk-Vi_AYnV1gY6CdPT4cfbxgFGktkN5RLhUe0eF8d0tuRIe6U5e3vSL6cXNMUqbNm02Gv9mDxC193hwZrM1T6zOwGepmzwECdW8SRjQdIFQhc4DFlNuL6A1BivfSlyeJ4hskGU8qkr03VavcFf5uvm_HYdi7E-sCc36E-mxIDbg9-XhsXAa_uDHRhA_fYlLYHGxbTz3zRdhykK8DMRlpkVjoPfEXCwkU5_duYvZmGLWSPtRcS0EaJlq02trUGTSCVX3Yr3PglWJ4WuLhmBZGXtg"} Device didn't match GET 401 /some/protected/route 201.937µs --- PASS: TestDeviceMismatchClearsCookie (0.09s) === RUN TestExpiredTokenPastRefreshWindowClearsCookie Starting GET /some/protected/route {"Cookie":"device=lg-g8x; authorization=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJkZXZpY2UiOiJsZy1nOHgiLCJleHAiOjE3OTI1MTg4MzMsImlhdCI6MTc5MjA4NjgzMywicnhwIjoxNzkyNjkxNjMzLCJ1c2VyX2lkIjoxMjM0NX0.TO7XY1QvnPmCYtRbkFhQniTSTMFYLk1Z6PG-wlyNQIcXHuZgSHuEVST_kr-Ugtg9b698Rn-1R3PB0L3ym4IyLTu0A5UFOwazQ7NHJKgSH5Y4WCtKwJGgmEQ3s5VGI8YQ7msSaEU1edjlmgaWWnbw4wP1f0e4aKiihsfHXhqTBxM1K1GQYRWppdb6Zu6juPuOn7qgLCWibgfnbCW53WSTJ21AFy9S7nbQC9dXQyEt6AXeSlWn4HScL1JKrqCsd-0hhmbuZ8s2wzBRxVW3b9OQN6w0NV7wQxEv7twd0XL2JcjpgKG_2993Lk4OE7fjK-v88NtiGWeqxVh8PiSc49CHWg"} Token is expired and past refresh window GET 401 /some/protected/route 149.755µs --- PASS: TestExpiredTokenPastRefreshWindowClearsCookie (0.00s) === 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 15.531µ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.89µs --- PASS: TestGeoIPHeadersAttemptedWhenNoGPS (0.00s) === RUN TestGeoIPNotTriggeredWithoutIP Starting GET /some/path {} No Authorization token - passing through to upstream GET 200 /some/path 6.8µ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.294s === 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.086s ? 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.059s ? github.com/galaxycard/heimdallr/redis [no test files] Showing logs for build greencapitaltrade/heimdallr/main #39 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-4194201015 in dir /tmp Cloning into '/tmp/jx-git-4194201015'... about to run: git sparse-checkout set --no-cone jx-requirements.yml .jx/gitops/source-config.yaml in dir /tmp/jx-git-4194201015 about to run: git checkout in dir /tmp/jx-git-4194201015 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 #39 stage from-build-pack and container step-build-container-build time="2026-10-25T17:53:59Z" 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[0001] Pushing image to 417755753340.dkr.ecr.ap-south-1.amazonaws.com/greencapitaltrade/heimdallr:1.9.1 INFO[0002] Pushed 417755753340.dkr.ecr.ap-south-1.amazonaws.com/greencapitaltrade/heimdallr@sha256:ac830b0e9bfd8f264be7845396646d97c7b10133433fcf52285f8afc7bd1a3df Showing logs for build greencapitaltrade/heimdallr/main #39 stage from-build-pack and container step-promote-changelog 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" [main 0d67212] chore: release 1.9.1 2 files changed, 8 insertions(+), 19 deletions(-) Updated tag 'v1.9.1' (was ff1ba67) To https://github.com/greencapitaltrade/heimdallr.git + ff1ba67...29a6314 v1.9.1 -> v1.9.1 (forced update) Using batch mode as inside a pipeline Generating change log from git ref 74a4172f91fdf3152efed126a463217edd467451 => 0d67212cb3e119596ec8c6457a87fef29522c07b 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 192 repository https://api.github.com/greencapitaltrade/heimdallr updated the release information at https://github.com/greencapitaltrade/heimdallr/releases/tag/v1.9.1 Generated Changelog: ../changelog.md Updated PipelineActivity greencapitaltrade-heimdallr-main-39 which has status Running Showing logs for build greencapitaltrade/heimdallr/main #39 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 #39 stage from-build-pack and container step-promote-jx-promote defaulting to the version 1.9.1 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-510346713 in dir /tmp Cloning into '/tmp/jx-git-510346713'... about to run: git sparse-checkout set --no-cone jx-requirements.yml .jx/gitops/source-config.yaml in dir /tmp/jx-git-510346713 about to run: git checkout in dir /tmp/jx-git-510346713 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.1 to namespace jx-staging Created Pull Request: https://github.com/greencapitaltrade/mcu/pull/6483 Promoting app heimdallr version 1.9.1 to namespace jx-production Created Pull Request: https://github.com/greencapitaltrade/mcu/pull/6484 Showing logs for build greencapitaltrade/heimdallr/main #39 stage from-build-pack and container step-publish-org-kb Cloning into '/tmp/org-kb'... Cloning into '/tmp/tmp.IbbJJG'... org-kb: heimdallr unchanged