Showing logs for build greencapitaltrade/heimdallr/pr-194 #1 stage from-build-pack and container prepare 2026/11/12 22:01:14 Entrypoint initialization Showing logs for build greencapitaltrade/heimdallr/pr-194 #1 stage from-build-pack and container place-scripts 2026/11/12 22:01:15 Decoded script /tekton/scripts/script-0-rsdqj 2026/11/12 22:01:15 Decoded script /tekton/scripts/script-1-c22m6 2026/11/12 22:01:15 Decoded script /tekton/scripts/script-2-fq6nc 2026/11/12 22:01:15 Decoded script /tekton/scripts/script-3-5dfr8 2026/11/12 22:01:15 Decoded script /tekton/scripts/script-4-8tkk9 2026/11/12 22:01:15 Decoded script /tekton/scripts/script-5-679ht 2026/11/12 22:01:15 Decoded script /tekton/scripts/script-7-4kwjb 2026/11/12 22:01:15 Decoded script /tekton/scripts/script-8-c4x48 Showing logs for build greencapitaltrade/heimdallr/pr-194 #1 stage from-build-pack and container working-dir-initializer Showing logs for build greencapitaltrade/heimdallr/pr-194 #1 stage from-build-pack and container step-git-clone git cloning url: https://github.com/greencapitaltrade/heimdallr.git version refs/pull/194/head:PR-194@e9255e618e769e5a3b39642857d7fcac5372b888 to dir: source Cloning into 'source'... From https://github.com/greencapitaltrade/heimdallr * [new ref] refs/pull/194/head -> PR-194 Switched to branch 'PR-194' HEAD is now at e9255e6 fix: reserve existing release build resources checked out revision: refs/pull/194/head:PR-194@e9255e618e769e5a3b39642857d7fcac5372b888 to dir: source Showing logs for build greencapitaltrade/heimdallr/pr-194 #1 stage from-build-pack and container step-git-merge setup git user email jenkins-x@googlegroups.com Using SHAs from PULL_REFS=main:006174ebb741a4b55f98e43e0c5cdac499d11d24,194:e9255e618e769e5a3b39642857d7fcac5372b888:refs/pull/194/head using base branch main and base sha 006174ebb741a4b55f98e43e0c5cdac499d11d24 merging sha: e9255e618e769e5a3b39642857d7fcac5372b888 Showing logs for build greencapitaltrade/heimdallr/pr-194 #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-1022060022 in dir /tmp Cloning into '/tmp/jx-git-1022060022'... about to run: git sparse-checkout set --no-cone jx-requirements.yml .jx/gitops/source-config.yaml in dir /tmp/jx-git-1022060022 about to run: git checkout in dir /tmp/jx-git-1022060022 Your branch is up to date with 'origin/main'. export APP_NAME='heimdallr' export BRANCH_NAME='PR-194' 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-194/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-194-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-194-1-SNAPSHOT' added variables to file: .jx/variables.sh added variables to file: .jx/variables.sh Showing logs for build greencapitaltrade/heimdallr/pr-194 #1 stage from-build-pack and container step-build-make-linux 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/valyala/fasthttp v1.69.0 go: downloading github.com/golang-jwt/jwt/v5 v5.2.0 go: downloading github.com/jackc/pgx/v5 v5.6.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/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/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 GOOS=linux GOARCH=amd64 GO15VENDOREXPERIMENT=1 go build -ldflags '' -o bin/heimdallr . Showing logs for build greencapitaltrade/heimdallr/pr-194 #1 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/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/cespare/xxhash/v2 v2.2.0 go: downloading github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f 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/inflection v1.0.0 go: downloading golang.org/x/text v0.32.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 golang.org/x/sys v0.39.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.333194ms Starting GET /fury/pe/jaa/raha/hun {"Cookie":"device=lg-g8x; authorization=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJkZXZpY2UiOiJsZy1nOHgiLCJleHAiOjE3OTQ2MDc4MTUsImlhdCI6MTc5NDUyMTQxNSwiaXNzIjoiaGVpbWRhbGxyIiwibmFtZSI6InZhbnNoIiwicnhwIjoxNzk0Njk0MjE1LCJzdWIiOiIxIiwidXNlcl9pZCI6MX0.LUgEZYgCKpUUtDefxjmsXSIXKD2GsJnJLnudehsp9yQNDUgpzWXNViVe4dcAtStYuPMTZ7djjzBsVHtjDY98cj3PHJ_LcTPZGsJelTuf9I5hLzS13PpqwNq5unMwHjDWmS6J8Da9TKlYwUmeXFYG6zrUR6WjxumizIS0BHB2aj5HVItTnefQQOb2nMQ7P6utg1daDo-iEXMTMwL5y_uVYh2FUZRN-ImXeviN06gVLnUxiR59090qUX6bWNOtmPDNM2FPiaGzfQgGJyWqfb4nsroTDjQeNMuUxoOHRxU0svWq7iVWYwEYt32urofXIahtpItLwIPjJBHJR6uswxXPdg"} GET 200 /fury/pe/jaa/raha/hun 254.456µ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 54.422µs Starting GET /fury/pe/jaa/raha/hun {"Cookie":"device=lg-g8x; authorization=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJkZXZpY2UiOiJsZy1nOHgiLCJleHAiOjE3OTQzNDg2MTUsImlhdCI6MTc5NDUyMTQxNSwibmFtZSI6ImhlbGxvIHdvcmxkIiwicnhwIjoxNzk0Njk0MjE1fQ.tVEo07cFYEqJd6b2-phzApt2Np03SxAuArH_oli1B1pOla14lz9JwpWm2I4fmHkFE_m7DHjn5KBTNfh9rKvcBLf5nKBH847CZzKMQk-7YULsSYkP8UsC8EVKP4DLaUYtF1nzCmkbLn4jUn1mrA20fO1QvFB-L53pSd94WINGjfjS3JQQ_lyxKlhQ7z57RClESh4ofokUInyDJ28x8Oh2qtKuCj490AQWYHRc4Fg4TksE7lIn2ld3rhzfNEDB_ArrNKmJ-UyWd6ki1lXjd2kOynIdqtWGp6hx9P90pFN4Ir4taA4xhupMP5W6oacGeYdZ-uv1ugMZDLNj9FBksaSjCQ"} GET 200 /fury/pe/jaa/raha/hun 1.377051ms Starting GET /fury/pe/jaa/raha/hun {"Cookie":"device=lg-g8x; authorization=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJkZXZpY2UiOiJsZy1nOHgiLCJleHAiOjE3OTQzNDg2MTUsImlhdCI6MTc5NDUyMTQxNSwibmFtZSI6ImhlbGxvIHdvcmxkIiwicnhwIjoxNzk0Njk0MjE1fQ.tVEo07cFYEqJd6b2-phzApt2Np03SxAuArH_oli1B1pOla14lz9JwpWm2I4fmHkFE_m7DHjn5KBTNfh9rKvcBLf5nKBH847CZzKMQk-7YULsSYkP8UsC8EVKP4DLaUYtF1nzCmkbLn4jUn1mrA20fO1QvFB-L53pSd94WINGjfjS3JQQ_lyxKlhQ7z57RClESh4ofokUInyDJ28x8Oh2qtKuCj490AQWYHRc4Fg4TksE7lIn2ld3rhzfNEDB_ArrNKmJ-UyWd6ki1lXjd2kOynIdqtWGp6hx9P90pFN4Ir4taA4xhupMP5W6oacGeYdZ-uv1ugMZDLNj9FBksaSjCQ"} GET 200 /fury/pe/jaa/raha/hun 1.3045ms 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.265279ms Starting PUT /v1/session {} PUT 200 /v1/session 81.909427ms Starting GET /fury/pe/jaa/raha/hun {"Cookie":"device=lg-g8x; authorization=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJkZXZpY2UiOiJsZy1nOHgiLCJleHAiOjE3OTQ2MDc4MTUsImlhdCI6MTc5NDUyMTQxNSwiaXNzIjoiaGVpbWRhbGxyIiwibmFtZSI6InZhbnNoIiwicnhwIjoxNzk0Njk0MjE1LCJzdWIiOiIxNzIzIiwidXNlcl9pZCI6MTcyM30.QwIXdXm9KmiaNIseehMAHxQ6B968_f4gkxUoApdU9DGVpRIHw2YWeKFYiUUCcKIFwfAW_RNASq2Fi9ouZHMbiZBPb2LZQwTyt77_ZMByuH1gE8qbzcyWCqF_9WWIPDL5W4maJWDwHyc3aAhJFzpvHVEbiDEbzAaOl55NkFq4ZmicelWCTW-dt225wwSAAxEF68PpdpUfYU-oR52HGq17Ui3lpac9qx023lH74T3pDfXrpBJlolJ8qazlC133GvEtuHPS3Tkc8jZjegrNFLnvD-5I0uBkl7bjTkXmHyA9ViHwwOtXT0LbL6_b_qdabhJEMbZvzcCGCZTT4v2Nbyvitg"} GET 200 /fury/pe/jaa/raha/hun 2.815745ms Starting GET /fury/pe/jaa/raha/hun {"Cookie":"device=lg-g8x; authorization=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcHAiOiJnYWxheHljYXJkIiwiZGV2aWNlIjoibGctZzh4IiwiZW1haWwiOiJ1c2VyNjczMDA0NDJfOTQ5ODdAZXhhbXBsZS5jb20iLCJleHAiOjE3OTQ2MDc4MTUsImlhdCI6MTc5NDUyMTQxNSwiaXNzIjoiaGVpbWRhbGxyIiwib3JnX2lkIjo5ODc2NTQzMjEsInBob25lIjo5NTA5ODQ0NzE1LCJyeHAiOjE3OTQ2OTQyMTUsInN1YiI6IjE3MjMiLCJ1c2VyX2lkIjoxNzIzfQ.JayO_VWtlMG8mvs_gVbM0_jXSh2qSvNgbDtckYDDM039xoQITV0rDeo5OYIaoanaj6hJzSJe0CNtpgoqsA6PLw74Uzi9PITc176aI84sODHWTBQG9BzNtICqbJyAtyHZjRNjs_VUv49SJzrvtYvVF3w9lzpSgMbYB7t40lWYkqV8DviEt5eopgbNv7aXDYTzaFqOeIxRAc7scr4HwKYh6GmkQEPntfC-duI7j2EmZJszo8YwR2cXTjUqNM4ZHW6NgTx61nE3uut_zUL4Jj6IjFfhf4RGT_6G3OBKAbuwk8j0G9VidO1hh0yd87cLxeBhz4M1f4ubjhVbo-L0sU9MJw"} GET 200 /fury/pe/jaa/raha/hun 2.208001ms 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 1.797821ms Starting GET /fury/pe/jaa/raha/hun {"Cookie":"device=lg-g8x; authorization=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJkZXZpY2UiOiJsZy1nOHgiLCJleHAiOjE3OTQ2MDc4MTUsImlhdCI6MTc5NDUyMTQxNSwiaXNzIjoiaGVpbWRhbGxyIiwibmFtZSI6Imdob3N0IiwicnhwIjoxNzk0Njk0MjE1LCJzdWIiOiI5Ljk5OTk5OTk5ZSswOCIsInVzZXJfaWQiOjk5OTk5OTk5OX0.rRLshH9YOGl-ydUY3SWiwA-57d8BjKz4IUOnWIiITZAkrzoHqhJ7eeESBe3mzvMnjRV3IFISrHuhCm4VTOtrnhNd96A2EhgaRfyskanrmyHnkuf86ejq9YQtD4sHLkdzSV2noc6R97-ULQRnP-Q23X-ImnT1zigYQNpxI6Q0VfL9qg7Ks8ALRy4C49iX8-cyFzxOEWYPQ4OXzkNhyEu-IjXi-o5aQhNm9V424Rv4PM2gunnl8wgC2k6WFwaC7ZOiyvAzDyuzy5cGcRAXibgdT1lnQYyZk1VaWIzStWSWv9yepWJV5thL9vL6MY8TZofR01noF101KYSES2FZyfkbwg"} Expected status code 200 but got 404 GET 200 /fury/pe/jaa/raha/hun 501.641µ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 90.731398ms 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.eyJkZXZpY2UiOiJsZy1nOHgiLCJleHAiOjE3OTQ2MDc4MTUsImlhdCI6MTc5NDUyMTQxNSwiaXNzIjoiaGVpbWRhbGxyIiwibmFtZSI6ImxlZ2l0aW1hdGUtdXNlciIsInJ4cCI6MTc5NDY5NDIxNSwic3ViIjoiODI0NCIsInVzZXJfaWQiOjgyNDR9.bubye14Fss28qsMzqP02ScbZc56Ikh5aItt7DkSnYGYxwGKK19xgJPkKZghwB34kFsoMkkUvwegRAW9vhBJWygnTDTgLWV9EMMWKplJbPvyiT_fUK5gxBlSjKwacRp98-48rHMjwi7Kbsn90zxh--kf4ebXj4qxl7iNBwzjfdmcVpgrE45V2q9hgHVTR5OHtX9_9ijm7bcUwf92NxOvi_kP85RhM2xYdAm-ZKxf5x4uomRk-JSdrfRv7jkSEU1ZyZjV09MxZMqmjD2My8OKXHJzM0WHWK4A3JHfpT1QMy59FAni6VwYL1Emo4Tp27ya-_fM5tn8GNuyTUVurBcTjyQ"} GET 200 /any/protected/route 252.716µs --- PASS: TestMaliciousHeadersNotForwarded (0.09s) === RUN TestValidAuthorizationCookieWinsOverAPISecretWithoutPartnerLookup Starting GET /protected {"Api-Secret":"not-a-partner-secret","Cookie":"device=lg-g8x; authorization=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJkZXZpY2UiOiJsZy1nOHgiLCJleHAiOjE3OTQ1MjUwMTUsIm5hbWUiOiJqd3QtdXNlciIsInVzZXJfaWQiOjk4NzY1NDMyMX0.V8UgBCRePyn0bM93rB3G1QdSwvJOFQZrVSPqzwtuRTPWAHfQOvzmPnUGGhBD4G2fWV1LtdlIgimhOyrkia24jFwUykTYazAI5mREjbXAJzYLaqKO9KjmvoBNBgnRD7VkKJIDNZv_xDEotznXSpawjsCQdyVsPgcsWbLKuyC5QaDZRR8ZROHoBMEN19avk0aXdJK4n-Pug2hPHDMnWXZg1pvbIj21rdhKg6nVF3F0OnjrAnXybgSCLlgcAu63PXXgQeX2101E5jN6sgZLwl7q-dHIFuXRMNntbbc_3ptkJVyQ7PMcX8ubW4iibJ_OPLDnKlVEELdwcACCSH5elHCBFw"} GET 200 /protected 613.474µ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.eyJkZXZpY2UiOiJsZy1nOHgiLCJleHAiOjE3OTQ0MzUwMTUsImlhdCI6MTc5NDUyMTQxNSwicnhwIjoxNzk0Njk0MjE1LCJ1c2VyX2lkIjo5OTk5OX0.Gg0icPyj9vlecPo4yVYgEEBy6NIr8dZdERpmWPRrGJUcOGOhqXmYwinFuzhDEvPFU0CMAM-q0jxgFK2ydz2AKZ0y6kvNzUXL-m5IYv-pI4UIvGIqY4jo8DOdmXmTKVnenxfTSEYoAyXMHGxUPEEfhU5OQUf8CW-Ea-_mTFuUbbzAK3zwE2tBJ6ivVeRUqDCDyWp0EqEDXctkiNRxejLqxVLtUM5seKlWWd7Bet6JgvN3HaFb4o1obCmvlfsub2eSk0MNTFYbmj7ynzpAOO9RzvACqZULsYBNXXF_Ak811f0g-9ft6qg5HNSEl94xUF5a4ATnlRhsqfPmXGd-uslkzQ"} GET 200 /any/route 1.30044ms --- 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 26.27µ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 13.64µ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 1.793731ms Starting GET /some/protected/route {"Cookie":"device=different-device-xyz; authorization=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJkZXZpY2UiOiJsZy1nOHgiLCJleHAiOjE3OTQ2MDc4MTUsImlhdCI6MTc5NDUyMTQxNSwiaXNzIjoiaGVpbWRhbGxyIiwibmFtZSI6InRlc3QtdXNlciIsInJ4cCI6MTc5NDY5NDIxNSwic3ViIjoiMTA2NSIsInVzZXJfaWQiOjEwNjV9.qrexiReXTkAb-apFDPinsTUYESxoZZ_T1YBae1jzNw0Z60PeQ-bQCQIrosC0xxKNoPPfjJ_t2azwgXtQEEpuQYI1WlVZzm8KDzZi8UIav90G_yr6gPeD1VQ1-PED7MXARLVSxG8XY3DYJWtdAQoEsofZuEYhc5A-v5QDTEFGn-pWlFZbPjGbkpxZUQ2p9DwCZnEE6Me0ekwLAeDF5zHLHjKXooYsNSJnutXWc1bzzraGcxon3s3C8xsAZHHz1THl5HkInn0Wl8sbl4KkEHu_Dt3wM-M2KkdvEJ-rxaAIAiIKn0bwBwJLs-joL2-cbXQYOhCOMaEd-wY1xPHxWZ5kIA"} Device didn't match GET 401 /some/protected/route 102.562µs --- PASS: TestDeviceMismatchClearsCookie (0.00s) === RUN TestExpiredTokenPastRefreshWindowClearsCookie Starting GET /some/protected/route {"Cookie":"device=lg-g8x; authorization=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJkZXZpY2UiOiJsZy1nOHgiLCJleHAiOjE3OTQwODk0MTUsImlhdCI6MTc5MzY1NzQxNSwicnhwIjoxNzk0MjYyMjE1LCJ1c2VyX2lkIjoxMjM0NX0.U8d6QXm8cUOfE67JhkTX2Hyvh0f0e2ZWDWBEFmuJ6zaswmUJ-DYKov0vkeyoaXzFHeHRslrJYwf4pNA3KAYoZp7qr7fLT0PU6Zad2LAxYCfqVifcqOB_lg8iWzYsaJJbVLmnHxnHOGsLl-O5cUXO1T8BeVWl_lu3IUpfFC_sTsezeMBeC9upCg7Xozj8ycv87qV7xbmViWEm4p4DzOwYm6v9ZScNRCrkAXSbW7pujfZQDJNdCwIaW14TRSup6QpIfgpP9XCFfIotsR8LipThMYOG76um3Z-iTFJ73vjNI2k1oD2dMQdDlpG6DK_yl4JCFdep-qXw1yUNCJkkPngRbg"} Token is expired and past refresh window GET 401 /some/protected/route 101.143µ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 16.391µ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 22.22µs --- PASS: TestGeoIPHeadersAttemptedWhenNoGPS (0.00s) === RUN TestGeoIPNotTriggeredWithoutIP Starting GET /some/path {} No Authorization token - passing through to upstream GET 200 /some/path 7.34µ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.298s === RUN TestGeoIPDownloadResources --- PASS: TestGeoIPDownloadResources (0.00s) === RUN TestGeoIPDownloadUsesConfigurableResources --- PASS: TestGeoIPDownloadUsesConfigurableResources (0.00s) === RUN TestPreviewPromotionMemoryBound geoip_resources_test.go:70: Error Trace: /workspace/source/charts/heimdallr/geoip_resources_test.go:70 Error: Not equal: expected: map[string]string{"cpu":"0", "memory":"0"} actual : map[string]string{"cpu":"400m", "memory":"2Gi"} Diff: --- Expected +++ Actual @@ -1,4 +1,4 @@ (map[string]string) (len=2) { - (string) (len=3) "cpu": (string) (len=1) "0", - (string) (len=6) "memory": (string) (len=1) "0" + (string) (len=3) "cpu": (string) (len=4) "400m", + (string) (len=6) "memory": (string) (len=3) "2Gi" } Test: TestPreviewPromotionMemoryBound --- FAIL: TestPreviewPromotionMemoryBound (0.00s) FAIL FAIL github.com/galaxycard/heimdallr/charts/heimdallr 0.006s ? 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.003s ? github.com/galaxycard/heimdallr/redis [no test files] FAIL Showing logs for build greencapitaltrade/heimdallr/pr-194 #1 stage from-build-pack and container step-build-post-test-results commented on pull request #194 on repository greencapitaltrade/heimdallr  Pipeline failed on stage 'from-build-pack' : container 'step-build-post-test-results'. The execution of the pipeline has stopped.