Showing logs for build greencapitaltrade/heimdallr/pr-199 #1 stage from-build-pack and container prepare 2026/12/03 21:53:56 Entrypoint initialization Showing logs for build greencapitaltrade/heimdallr/pr-199 #1 stage from-build-pack and container place-scripts 2026/12/03 21:53:57 Decoded script /tekton/scripts/script-0-8s6sb 2026/12/03 21:53:57 Decoded script /tekton/scripts/script-1-lcrpt 2026/12/03 21:53:57 Decoded script /tekton/scripts/script-2-n8bls 2026/12/03 21:53:57 Decoded script /tekton/scripts/script-3-9rhbd 2026/12/03 21:53:57 Decoded script /tekton/scripts/script-4-97nhr 2026/12/03 21:53:57 Decoded script /tekton/scripts/script-5-4672x 2026/12/03 21:53:57 Decoded script /tekton/scripts/script-7-w8rzs 2026/12/03 21:53:57 Decoded script /tekton/scripts/script-8-httgk Showing logs for build greencapitaltrade/heimdallr/pr-199 #1 stage from-build-pack and container working-dir-initializer Showing logs for build greencapitaltrade/heimdallr/pr-199 #1 stage from-build-pack and container step-git-clone git cloning url: https://github.com/greencapitaltrade/heimdallr.git version refs/pull/199/head:PR-199@2bd4dfc82bf422a915602c1dcc8d5f4a9bb0c6a6 to dir: source Cloning into 'source'... From https://github.com/greencapitaltrade/heimdallr * [new ref] refs/pull/199/head -> PR-199 Switched to branch 'PR-199' HEAD is now at 2bd4dfc feat: project Thor API clients without organization checked out revision: refs/pull/199/head:PR-199@2bd4dfc82bf422a915602c1dcc8d5f4a9bb0c6a6 to dir: source Showing logs for build greencapitaltrade/heimdallr/pr-199 #1 stage from-build-pack and container step-git-merge setup git user email jenkins-x@googlegroups.com Using SHAs from PULL_REFS=main:9771dcaf9d4e53ffea4a728bc74c3f3474ad5e94,199:2bd4dfc82bf422a915602c1dcc8d5f4a9bb0c6a6:refs/pull/199/head using base branch main and base sha 9771dcaf9d4e53ffea4a728bc74c3f3474ad5e94 merging sha: 2bd4dfc82bf422a915602c1dcc8d5f4a9bb0c6a6 Showing logs for build greencapitaltrade/heimdallr/pr-199 #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-3335094201 in dir /tmp Cloning into '/tmp/jx-git-3335094201'... about to run: git sparse-checkout set --no-cone jx-requirements.yml .jx/gitops/source-config.yaml in dir /tmp/jx-git-3335094201 about to run: git checkout in dir /tmp/jx-git-3335094201 Your branch is up to date with 'origin/main'. export APP_NAME='heimdallr' export BRANCH_NAME='PR-199' 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-199/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-199-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-199-1-SNAPSHOT' added variables to file: .jx/variables.sh added variables to file: .jx/variables.sh Showing logs for build greencapitaltrade/heimdallr/pr-199 #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/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/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/oschwald/maxminddb-golang v1.13.1 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-199 #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 gopkg.in/yaml.v3 v3.0.1 go: downloading gorm.io/driver/postgres v1.6.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/oschwald/maxminddb-golang v1.13.1 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/davecgh/go-spew v1.1.1 go: downloading github.com/pmezard/go-difflib v1.0.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/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 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 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 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.558154ms Starting GET /fury/pe/jaa/raha/hun GET 200 /fury/pe/jaa/raha/hun 187.886µs Starting GET /fury/pe/jaa/raha/hun Invalid token reason token is unverifiable: error while executing keyfunc: unexpected method: HS256 GET 401 /fury/pe/jaa/raha/hun 31.521µs Starting GET /fury/pe/jaa/raha/hun GET 200 /fury/pe/jaa/raha/hun 1.224591ms Starting GET /fury/pe/jaa/raha/hun GET 200 /fury/pe/jaa/raha/hun 1.279372ms Starting POST /v1/generate DEBUG: Received POST body, length: 49 DEBUG: Successfully parsed POST body, keys: 3 DEBUG: /v1/generate handler started 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 87.129678ms Starting PUT /v1/session PUT 200 /v1/session 122.214µs Starting GET /fury/pe/jaa/raha/hun GET 200 /fury/pe/jaa/raha/hun 2.839193ms Starting GET /fury/pe/jaa/raha/hun GET 200 /fury/pe/jaa/raha/hun 1.914743ms Starting POST /v1/generate DEBUG: Received POST body, length: 54 DEBUG: Successfully parsed POST body, keys: 3 DEBUG: /v1/generate handler started 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.399116ms Starting GET /fury/pe/jaa/raha/hun Expected status code 200 but got 404 GET 200 /fury/pe/jaa/raha/hun 323.861µ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 TestAuthResponseUsesSignedOrganization Starting POST /v1/generate DEBUG: Received POST body, length: 121 DEBUG: Successfully parsed POST body, keys: 6 DEBUG: /v1/generate handler started DEBUG: About to call generateNewToken DEBUG: generateNewToken returned, token length: 651 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.249551ms Stripped 4 spoofed x-gct-* headers: [x-gct-user-id x-gct-admin x-gct-org-id x-gct-future-claim] Starting GET /any/protected/route GET 200 /any/protected/route 290.31µs --- PASS: TestAuthResponseUsesSignedOrganization (0.09s) === RUN TestUpstreamRemovalsFollowPublishedHeaders --- PASS: TestUpstreamRemovalsFollowPublishedHeaders (0.00s) === RUN TestLegacyProviderPublishesExistingClaimHeaders --- PASS: TestLegacyProviderPublishesExistingClaimHeaders (0.00s) === RUN TestValidAuthorizationCookieWinsOverAPISecretWithoutPartnerLookup Stripped 1 spoofed x-gct-* headers: [x-gct-org-id] Starting GET /protected GET 200 /protected 1.397175ms --- PASS: TestValidAuthorizationCookieWinsOverAPISecretWithoutPartnerLookup (0.01s) === RUN TestHeaderFormatFunction --- PASS: TestHeaderFormatFunction (0.00s) === RUN TestSetNewTokenSetsUpstreamHeaders --- PASS: TestSetNewTokenSetsUpstreamHeaders (0.00s) === RUN TestTokenRefreshSetsUpstreamCookieNotSetCookie Starting GET /any/route GET 200 /any/route 4.204467ms --- PASS: TestTokenRefreshSetsUpstreamCookieNotSetCookie (0.10s) === RUN TestClearAuthorizationCookie --- PASS: TestClearAuthorizationCookie (0.00s) === RUN TestUnauthorizedResponseClearsCookieWhenFromCookie Starting GET /some/protected/route Invalid token reason token is malformed: could not JSON decode header: invalid character '\u008a' looking for beginning of value GET 401 /some/protected/route 35.751µs --- PASS: TestUnauthorizedResponseClearsCookieWhenFromCookie (0.00s) === RUN TestRequestWithOnlyAuthHeaderPassesThrough Starting GET /some/protected/route No Authorization token - passing through to upstream GET 200 /some/protected/route 11.43µs --- PASS: TestRequestWithOnlyAuthHeaderPassesThrough (0.00s) === RUN TestAnonymousAuthResponseRemovesUpstreamIdentityHeaders Stripped 5 spoofed x-gct-* headers: [x-gct-org-id x-gct-name x-gct-future x-gct-future x-gct-app] Starting POST /v2/graphql No Authorization token - passing through to upstream POST 200 /v2/graphql 3.551µs --- PASS: TestAnonymousAuthResponseRemovesUpstreamIdentityHeaders (0.00s) === RUN TestLegacyAuthProviderDoesNotRequestUpstreamRemoval Stripped 2 spoofed x-gct-* headers: [x-gct-org-id x-gct-signature] Starting GET / No Authorization token - passing through to upstream GET 200 / 3.34µs --- PASS: TestLegacyAuthProviderDoesNotRequestUpstreamRemoval (0.00s) === RUN TestDeviceMismatchClearsCookie Starting POST /v1/generate DEBUG: Received POST body, length: 52 DEBUG: Successfully parsed POST body, keys: 3 DEBUG: /v1/generate handler started DEBUG: About to call generateNewToken DEBUG: generateNewToken returned, token length: 558 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 4.135486ms Starting GET /some/protected/route Device didn't match GET 401 /some/protected/route 120.564µs --- PASS: TestDeviceMismatchClearsCookie (0.00s) === RUN TestExpiredTokenPastRefreshWindowClearsCookie Starting GET /some/protected/route Token is expired and past refresh window GET 401 /some/protected/route 90.233µs --- PASS: TestExpiredTokenPastRefreshWindowClearsCookie (0.00s) === RUN TestGeoIPHeadersNotSetWhenGPSPresent Starting GET /some/path No Authorization token - passing through to upstream GET 200 /some/path 6.43µs --- PASS: TestGeoIPHeadersNotSetWhenGPSPresent (0.00s) === RUN TestGeoIPHeadersAttemptedWhenNoGPS Starting GET /some/path No Authorization token - passing through to upstream GET 200 /some/path 5.11µs --- PASS: TestGeoIPHeadersAttemptedWhenNoGPS (0.00s) === RUN TestGeoIPNotTriggeredWithoutIP Starting GET /some/path No Authorization token - passing through to upstream GET 200 /some/path 46.442µ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:170: DB_HOST not set — run inside the devcontainer stack --- SKIP: TestPackageClientsCanShareAnOrganization (0.00s) === RUN TestApiSecretAuthentication partner_auth_test.go:212: DB_HOST not set — run inside the devcontainer stack --- SKIP: TestApiSecretAuthentication (0.00s) === RUN TestAuthorizationCookieTakesPrecedenceOverAPISecret partner_auth_test.go:247: DB_HOST not set — run inside the devcontainer stack --- SKIP: TestAuthorizationCookieTakesPrecedenceOverAPISecret (0.00s) === RUN TestApiSecretIPAllowlistEnforcement partner_auth_test.go:290: DB_HOST not set — run inside the devcontainer stack --- SKIP: TestApiSecretIPAllowlistEnforcement (0.00s) === RUN TestPepperedSecretLookup partner_auth_test.go:359: DB_HOST not set — run inside the devcontainer stack --- SKIP: TestPepperedSecretLookup (0.00s) === RUN TestSecretHashingMigrationIsIdempotent partner_auth_test.go:396: DB_HOST not set — run inside the devcontainer stack --- SKIP: TestSecretHashingMigrationIsIdempotent (0.00s) === RUN TestRequestStartLogOmitsHeaderValues --- PASS: TestRequestStartLogOmitsHeaderValues (0.00s) === RUN TestThorAPIClientProjectsIdentityWithoutOrganization Stripped 4 spoofed x-gct-* headers: [x-gct-api-client-selector x-gct-org-id x-gct-api-client-id x-gct-api-client-source-ip] Starting GET / --- PASS: TestThorAPIClientProjectsIdentityWithoutOrganization (0.00s) === RUN TestThorAPIClientFailuresAndLegacyKeyCompatibility thor_api_client_test.go:60: DB_HOST not set — run inside the devcontainer stack --- SKIP: TestThorAPIClientFailuresAndLegacyKeyCompatibility (0.00s) === RUN TestThorAPIClientRejectsUnsafeOrUnavailableChecks Stripped 1 spoofed x-gct-* headers: [x-gct-api-client-selector] Starting GET / Stripped 1 spoofed x-gct-* headers: [x-gct-api-client-selector] Starting GET / Stripped 2 spoofed x-gct-* headers: [x-gct-api-client-selector x-gct-api-client-selector] Starting GET / Stripped 1 spoofed x-gct-* headers: [x-gct-api-client-selector] Starting GET / Invalid token reason token is malformed: token contains an invalid number of segments GET 401 / 27.011µs --- PASS: TestThorAPIClientRejectsUnsafeOrUnavailableChecks (0.00s) === RUN TestAPIClientIDIsReservedFromSessionClaims --- PASS: TestAPIClientIDIsReservedFromSessionClaims (0.00s) PASS ok github.com/galaxycard/heimdallr 0.493s === 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.188s === RUN TestDatabaseStartupFailureDoesNotLogCredentials === RUN TestDatabaseStartupFailureDoesNotLogCredentials/invalid_connection === RUN TestDatabaseStartupFailureDoesNotLogCredentials/unsupported_TLS_mode === RUN TestDatabaseStartupFailureDoesNotLogCredentials/missing_CA === RUN TestDatabaseStartupFailureDoesNotLogCredentials/unreadable_CA --- PASS: TestDatabaseStartupFailureDoesNotLogCredentials (0.50s) --- PASS: TestDatabaseStartupFailureDoesNotLogCredentials/invalid_connection (0.20s) --- PASS: TestDatabaseStartupFailureDoesNotLogCredentials/unsupported_TLS_mode (0.10s) --- PASS: TestDatabaseStartupFailureDoesNotLogCredentials/missing_CA (0.10s) --- PASS: TestDatabaseStartupFailureDoesNotLogCredentials/unreadable_CA (0.10s) PASS ok github.com/galaxycard/heimdallr/database 0.590s ? 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.081s ? github.com/galaxycard/heimdallr/redis [no test files] Showing logs for build greencapitaltrade/heimdallr/pr-199 #1 stage from-build-pack and container step-build-post-test-results commented on pull request #199 on repository greencapitaltrade/heimdallr Showing logs for build greencapitaltrade/heimdallr/pr-199 #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-4145877964 in dir /tmp Cloning into '/tmp/jx-git-4145877964'... about to run: git sparse-checkout set --no-cone jx-requirements.yml .jx/gitops/source-config.yaml in dir /tmp/jx-git-4145877964 about to run: git checkout in dir /tmp/jx-git-4145877964 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-199 #1 stage from-build-pack and container step-build-container-build time="2026-12-03T22:02:51Z" level=warning msg="Flag --snapshotMode is deprecated. Use: --snapshot-mode" INFO[0000] Resolved base name alpine:3.24@sha256:f59abe656b692d901e184be3445e084786602108599d2a51d229c0f5a48c71bf to certificates INFO[0000] Using dockerignore file: /workspace/source/.dockerignore INFO[0000] Retrieving image manifest alpine:3.24@sha256:f59abe656b692d901e184be3445e084786602108599d2a51d229c0f5a48c71bf INFO[0000] Retrieving image alpine:3.24@sha256:f59abe656b692d901e184be3445e084786602108599d2a51d229c0f5a48c71bf from registry index.docker.io INFO[0002] No base image, nothing to extract INFO[0002] Built cross stage deps: map[0:[/etc/ssl/certs/ca-certificates.crt]] INFO[0002] Retrieving image manifest alpine:3.24@sha256:f59abe656b692d901e184be3445e084786602108599d2a51d229c0f5a48c71bf INFO[0002] Returning cached image manifest INFO[0002] Executing 0 build triggers INFO[0002] Building stage 'alpine:3.24@sha256:f59abe656b692d901e184be3445e084786602108599d2a51d229c0f5a48c71bf' [idx: '0', base-idx: '-1'] INFO[0002] Saving file etc/ssl/certs/ca-certificates.crt for later use INFO[0002] Deleting filesystem... INFO[0002] No base image, nothing to extract INFO[0002] Executing 0 build triggers INFO[0002] Building stage 'scratch' [idx: '1', base-idx: '-1'] INFO[0002] Unpacking rootfs as cmd COPY --from=certificates /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt requires it. INFO[0002] COPY --from=certificates /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt INFO[0002] Taking snapshot of files... INFO[0002] EXPOSE 8080 INFO[0002] Cmd: EXPOSE INFO[0002] Adding exposed port: 8080/tcp INFO[0002] ENTRYPOINT ["/heimdallr"] INFO[0002] COPY ./bin/ / INFO[0002] Taking snapshot of files... INFO[0003] Pushing image to 417755753340.dkr.ecr.ap-south-1.amazonaws.com/greencapitaltrade/heimdallr:0.0.0-PR-199-1-SNAPSHOT INFO[0004] Pushed 417755753340.dkr.ecr.ap-south-1.amazonaws.com/greencapitaltrade/heimdallr@sha256:072fc52ca0982ea6af342dc25c8d0a0598834981c161b35fd84d1f0e1a45bc2c Showing logs for build greencapitaltrade/heimdallr/pr-199 #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/199 using ingress sub domain -jx-greencapitaltrade-heimdallr-pr-199. upserted preview jx-greencapitaltrade-heimdallr-pr-199 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-199", "PR_HEAD_REF":"codex/heimdallr-thor-api-client-authentication", "PULL_NUMBER":"199", "VERSION":"0.0.0-PR-199-1-SNAPSHOT"} jx-greencapitaltrade-heimdallr-pr-199: LAST SEEN TYPE REASON OBJECT MESSAGE jx-greencapitaltrade-heimdallr-pr-199: 0s Normal ScalingReplicaSet deployment/preview-heimdallr Scaled up replica set preview-heimdallr-796db5f945 from 0 to 1 jx-greencapitaltrade-heimdallr-pr-199: 0s Normal SuccessfulCreate replicaset/preview-heimdallr-796db5f945 Created pod: preview-heimdallr-796db5f945-9fnts jx-greencapitaltrade-heimdallr-pr-199: 0s Normal Scheduled pod/preview-heimdallr-796db5f945-9fnts Successfully assigned jx-greencapitaltrade-heimdallr-pr-199/preview-heimdallr-796db5f945-9fnts to ip-10-0-48-74.ap-south-1.compute.internal jx-greencapitaltrade-heimdallr-pr-199: 0s Normal Pulling pod/preview-heimdallr-796db5f945-9fnts Pulling image "417755753340.dkr.ecr.ap-south-1.amazonaws.com/greencapitaltrade/heimdallr:0.0.0-PR-199-1-SNAPSHOT" jx-greencapitaltrade-heimdallr-pr-199: 0s Normal Pulled pod/preview-heimdallr-796db5f945-9fnts Successfully pulled image "417755753340.dkr.ecr.ap-south-1.amazonaws.com/greencapitaltrade/heimdallr:0.0.0-PR-199-1-SNAPSHOT" in 524ms (524ms including waiting). Image size: 15407886 bytes. jx-greencapitaltrade-heimdallr-pr-199: 0s Normal Created pod/preview-heimdallr-796db5f945-9fnts Container created jx-greencapitaltrade-heimdallr-pr-199: 0s Normal Started pod/preview-heimdallr-796db5f945-9fnts Container started jx-greencapitaltrade-heimdallr-pr-199: 0s Warning Unhealthy pod/preview-heimdallr-796db5f945-9fnts Readiness probe failed: Get "http://10.0.52.77:8080/_healthz": dial tcp 10.0.52.77:8080: connect: connection refused jx-greencapitaltrade-heimdallr-pr-199: 0s Normal Pulling pod/preview-heimdallr-796db5f945-9fnts Pulling image "417755753340.dkr.ecr.ap-south-1.amazonaws.com/greencapitaltrade/heimdallr:0.0.0-PR-199-1-SNAPSHOT" jx-greencapitaltrade-heimdallr-pr-199: 0s Normal Pulled pod/preview-heimdallr-796db5f945-9fnts Successfully pulled image "417755753340.dkr.ecr.ap-south-1.amazonaws.com/greencapitaltrade/heimdallr:0.0.0-PR-199-1-SNAPSHOT" in 59ms (59ms including waiting). Image size: 15407886 bytes. jx-greencapitaltrade-heimdallr-pr-199: 0s Normal Created pod/preview-heimdallr-796db5f945-9fnts Container created jx-greencapitaltrade-heimdallr-pr-199: 0s Normal Started pod/preview-heimdallr-796db5f945-9fnts Container started jx-greencapitaltrade-heimdallr-pr-199: 0s Warning Unhealthy pod/preview-heimdallr-796db5f945-9fnts Readiness probe failed: Get "http://10.0.52.77:8080/_healthz": dial tcp 10.0.52.77:8080: connect: connection refused jx-greencapitaltrade-heimdallr-pr-199: 0s Warning BackOff pod/preview-heimdallr-796db5f945-9fnts Back-off restarting failed container heimdallr in pod preview-heimdallr-796db5f945-9fnts_jx-greencapitaltrade-heimdallr-pr-199(6d1bb704-4965-43b9-aead-d58e30892f19) jx-greencapitaltrade-heimdallr-pr-199: 0s Warning BackOff pod/preview-heimdallr-796db5f945-9fnts Back-off restarting failed container heimdallr in pod preview-heimdallr-796db5f945-9fnts_jx-greencapitaltrade-heimdallr-pr-199(6d1bb704-4965-43b9-aead-d58e30892f19) jx-greencapitaltrade-heimdallr-pr-199: 0s Warning BackOff pod/preview-heimdallr-796db5f945-9fnts Back-off restarting failed container heimdallr in pod preview-heimdallr-796db5f945-9fnts_jx-greencapitaltrade-heimdallr-pr-199(6d1bb704-4965-43b9-aead-d58e30892f19) jx-greencapitaltrade-heimdallr-pr-199: 0s Normal Pulling pod/preview-heimdallr-796db5f945-9fnts Pulling image "417755753340.dkr.ecr.ap-south-1.amazonaws.com/greencapitaltrade/heimdallr:0.0.0-PR-199-1-SNAPSHOT" jx-greencapitaltrade-heimdallr-pr-199: 0s Normal Pulled pod/preview-heimdallr-796db5f945-9fnts Successfully pulled image "417755753340.dkr.ecr.ap-south-1.amazonaws.com/greencapitaltrade/heimdallr:0.0.0-PR-199-1-SNAPSHOT" in 49ms (49ms including waiting). Image size: 15407886 bytes. jx-greencapitaltrade-heimdallr-pr-199: 0s Normal Created pod/preview-heimdallr-796db5f945-9fnts Container created jx-greencapitaltrade-heimdallr-pr-199: 0s Normal Started pod/preview-heimdallr-796db5f945-9fnts Container started jx-greencapitaltrade-heimdallr-pr-199: 0s Warning Unhealthy pod/preview-heimdallr-796db5f945-9fnts Readiness probe failed: Get "http://10.0.52.77:8080/_healthz": dial tcp 10.0.52.77:8080: connect: connection refused jx-greencapitaltrade-heimdallr-pr-199: 0s Warning BackOff pod/preview-heimdallr-796db5f945-9fnts Back-off restarting failed container heimdallr in pod preview-heimdallr-796db5f945-9fnts_jx-greencapitaltrade-heimdallr-pr-199(6d1bb704-4965-43b9-aead-d58e30892f19) jx-greencapitaltrade-heimdallr-pr-199: 0s Warning BackOff pod/preview-heimdallr-796db5f945-9fnts Back-off restarting failed container heimdallr in pod preview-heimdallr-796db5f945-9fnts_jx-greencapitaltrade-heimdallr-pr-199(6d1bb704-4965-43b9-aead-d58e30892f19) jx-greencapitaltrade-heimdallr-pr-199: 0s Warning BackOff pod/preview-heimdallr-796db5f945-9fnts Back-off restarting failed container heimdallr in pod preview-heimdallr-796db5f945-9fnts_jx-greencapitaltrade-heimdallr-pr-199(6d1bb704-4965-43b9-aead-d58e30892f19) jx-greencapitaltrade-heimdallr-pr-199: 0s Normal SuccessfulCreate statefulset/redis-master Create Pod redis-master-0 in StatefulSet redis-master successful jx-greencapitaltrade-heimdallr-pr-199: 0s Normal Scheduled pod/redis-master-0 Successfully assigned jx-greencapitaltrade-heimdallr-pr-199/redis-master-0 to ip-10-0-83-16.ap-south-1.compute.internal jx-greencapitaltrade-heimdallr-pr-199: 0s Normal Pulled pod/redis-master-0 Container image "docker.io/bitnamilegacy/redis:7.0.12-debian-11-r34" already present on machine and can be accessed by the pod jx-greencapitaltrade-heimdallr-pr-199: 0s Normal Created pod/redis-master-0 Container created jx-greencapitaltrade-heimdallr-pr-199: 0s Normal Started pod/redis-master-0 Container started jx-greencapitaltrade-heimdallr-pr-199: 0s Normal NoPods poddisruptionbudget/postgresql No matching pods found jx-greencapitaltrade-heimdallr-pr-199: 0s Normal NoPods poddisruptionbudget/postgresql No matching pods found jx-greencapitaltrade-heimdallr-pr-199: 0s Normal SuccessfulCreate statefulset/postgresql Create Claim data-postgresql-0 Pod postgresql-0 in StatefulSet postgresql success jx-greencapitaltrade-heimdallr-pr-199: 0s Normal WaitForFirstConsumer persistentvolumeclaim/data-postgresql-0 waiting for first consumer to be created before binding jx-greencapitaltrade-heimdallr-pr-199: 0s Normal SuccessfulCreate statefulset/postgresql Create Pod postgresql-0 in StatefulSet postgresql successful jx-greencapitaltrade-heimdallr-pr-199: 0s Normal ExternalProvisioning persistentvolumeclaim/data-postgresql-0 Waiting for a volume to be created either by the external provisioner 'ebs.csi.aws.com' or manually by the system administrator. If volume creation is delayed, please verify that the provisioner is running and correctly registered. jx-greencapitaltrade-heimdallr-pr-199: 0s Normal Provisioning persistentvolumeclaim/data-postgresql-0 External provisioner is provisioning volume for claim "jx-greencapitaltrade-heimdallr-pr-199/data-postgresql-0" jx-greencapitaltrade-heimdallr-pr-199: 0s Normal SuccessfulCreate job/jx-verify-gc-jobs-spdpp Created pod: jx-verify-gc-jobs-spdpp-q9c8r jx-greencapitaltrade-heimdallr-pr-199: 0s Normal Scheduled pod/jx-verify-gc-jobs-spdpp-q9c8r Successfully assigned jx-greencapitaltrade-heimdallr-pr-199/jx-verify-gc-jobs-spdpp-q9c8r to ip-10-0-72-236.ap-south-1.compute.internal killed the kubectl event watch command found helm preview release jx-verify in namespace jx-greencapitaltrade-heimdallr-pr-199 WARNING: failed to find preview url in heimdallr service the server could not find the requested resource (get services.serving.knative.dev heimdallr) WARNING: failed to find preview url in postgresql service the server could not find the requested resource (get services.serving.knative.dev postgresql) WARNING: failed to find preview url in postgresql-hl service the server could not find the requested resource (get services.serving.knative.dev postgresql-hl) WARNING: failed to find preview url in redis-headless service the server could not find the requested resource (get services.serving.knative.dev redis-headless) WARNING: failed to find preview url in redis-master service the server could not find the requested resource (get services.serving.knative.dev redis-master) WARNING: failed to find preview url in heimdallr service the server could not find the requested resource (get services.serving.knative.dev heimdallr) WARNING: failed to find preview url in postgresql service the server could not find the requested resource (get services.serving.knative.dev postgresql) WARNING: failed to find preview url in postgresql-hl service the server could not find the requested resource (get services.serving.knative.dev postgresql-hl) WARNING: failed to find preview url in redis-headless service the server could not find the requested resource (get services.serving.knative.dev redis-headless) WARNING: failed to find preview url in redis-master service the server could not find the requested resource (get services.serving.knative.dev redis-master) WARNING: failed to find preview url in heimdallr service the server could not find the requested resource (get services.serving.knative.dev heimdallr) WARNING: failed to find preview url in postgresql service the server could not find the requested resource (get services.serving.knative.dev postgresql) WARNING: failed to find preview url in postgresql-hl service the server could not find the requested resource (get services.serving.knative.dev postgresql-hl) WARNING: failed to find preview url in redis-headless service the server could not find the requested resource (get services.serving.knative.dev redis-headless) WARNING: failed to find preview url in redis-master service the server could not find the requested resource (get services.serving.knative.dev redis-master) WARNING: failed to find preview url in heimdallr service the server could not find the requested resource (get services.serving.knative.dev heimdallr) WARNING: failed to find preview url in postgresql service the server could not find the requested resource (get services.serving.knative.dev postgresql) WARNING: failed to find preview url in postgresql-hl service the server could not find the requested resource (get services.serving.knative.dev postgresql-hl) WARNING: failed to find preview url in redis-headless service the server could not find the requested resource (get services.serving.knative.dev redis-headless) WARNING: failed to find preview url in redis-master service the server could not find the requested resource (get services.serving.knative.dev redis-master) WARNING: failed to find preview url in heimdallr service the server could not find the requested resource (get services.serving.knative.dev heimdallr) WARNING: failed to find preview url in postgresql service the server could not find the requested resource (get services.serving.knative.dev postgresql) WARNING: failed to find preview url in postgresql-hl service the server could not find the requested resource (get services.serving.knative.dev postgresql-hl) WARNING: failed to find preview url in redis-headless service the server could not find the requested resource (get services.serving.knative.dev redis-headless) WARNING: failed to find preview url in redis-master service the server could not find the requested resource (get services.serving.knative.dev redis-master) WARNING: failed to find preview url in heimdallr service the server could not find the requested resource (get services.serving.knative.dev heimdallr) WARNING: failed to find preview url in postgresql service the server could not find the requested resource (get services.serving.knative.dev postgresql) WARNING: failed to find preview url in postgresql-hl service the server could not find the requested resource (get services.serving.knative.dev postgresql-hl) WARNING: failed to find preview url in redis-headless service the server could not find the requested resource (get services.serving.knative.dev redis-headless) WARNING: failed to find preview url in redis-master service the server could not find the requested resource (get services.serving.knative.dev redis-master) WARNING: failed to find preview url in heimdallr service the server could not find the requested resource (get services.serving.knative.dev heimdallr) WARNING: failed to find preview url in postgresql service the server could not find the requested resource (get services.serving.knative.dev postgresql) WARNING: failed to find preview url in postgresql-hl service the server could not find the requested resource (get services.serving.knative.dev postgresql-hl) WARNING: failed to find preview url in redis-headless service the server could not find the requested resource (get services.serving.knative.dev redis-headless) WARNING: failed to find preview url in redis-master service the server could not find the requested resource (get services.serving.knative.dev redis-master) WARNING: failed to find preview url in heimdallr service the server could not find the requested resource (get services.serving.knative.dev heimdallr) WARNING: failed to find preview url in postgresql service the server could not find the requested resource (get services.serving.knative.dev postgresql) WARNING: failed to find preview url in postgresql-hl service the server could not find the requested resource (get services.serving.knative.dev postgresql-hl) WARNING: failed to find preview url in redis-headless service the server could not find the requested resource (get services.serving.knative.dev redis-headless) WARNING: failed to find preview url in redis-master service the server could not find the requested resource (get services.serving.knative.dev redis-master) WARNING: failed to find preview url in heimdallr service the server could not find the requested resource (get services.serving.knative.dev heimdallr) WARNING: failed to find preview url in postgresql service the server could not find the requested resource (get services.serving.knative.dev postgresql) WARNING: failed to find preview url in postgresql-hl service the server could not find the requested resource (get services.serving.knative.dev postgresql-hl) WARNING: failed to find preview url in redis-headless service the server could not find the requested resource (get services.serving.knative.dev redis-headless) WARNING: failed to find preview url in redis-master service the server could not find the requested resource (get services.serving.knative.dev redis-master) WARNING: failed to find preview url in heimdallr service the server could not find the requested resource (get services.serving.knative.dev heimdallr) WARNING: failed to find preview url in postgresql service the server could not find the requested resource (get services.serving.knative.dev postgresql) WARNING: failed to find preview url in postgresql-hl service the server could not find the requested resource (get services.serving.knative.dev postgresql-hl) WARNING: failed to find preview url in redis-headless service the server could not find the requested resource (get services.serving.knative.dev redis-headless) WARNING: failed to find preview url in redis-master service the server could not find the requested resource (get services.serving.knative.dev redis-master) WARNING: failed to find preview url in heimdallr service the server could not find the requested resource (get services.serving.knative.dev heimdallr) WARNING: failed to find preview url in postgresql service the server could not find the requested resource (get services.serving.knative.dev postgresql) WARNING: failed to find preview url in postgresql-hl service the server could not find the requested resource (get services.serving.knative.dev postgresql-hl) WARNING: failed to find preview url in redis-headless service the server could not find the requested resource (get services.serving.knative.dev redis-headless) WARNING: failed to find preview url in redis-master service the server could not find the requested resource (get services.serving.knative.dev redis-master) WARNING: failed to find preview url in heimdallr service the server could not find the requested resource (get services.serving.knative.dev heimdallr) WARNING: failed to find preview url in postgresql service the server could not find the requested resource (get services.serving.knative.dev postgresql) WARNING: failed to find preview url in postgresql-hl service the server could not find the requested resource (get services.serving.knative.dev postgresql-hl) WARNING: failed to find preview url in redis-headless service the server could not find the requested resource (get services.serving.knative.dev redis-headless) WARNING: failed to find preview url in redis-master service the server could not find the requested resource (get services.serving.knative.dev redis-master) WARNING: failed to detect the preview URL failed to find preview URL for app names []string{"heimdallr", "postgresql", "postgresql-hl", "redis-headless", "redis-master"} in timeout 1m0.000000005s: not found could not detect a preview URL wrote preview environment variables to .jx/variables.sh commented on pull request #199 on repository greencapitaltrade/heimdallr