Showing logs for build greencapitaltrade/heimdallr/pr-200 #1 stage from-build-pack and container prepare 2026/12/04 11:13:22 Entrypoint initialization Showing logs for build greencapitaltrade/heimdallr/pr-200 #1 stage from-build-pack and container place-scripts 2026/12/04 11:13:23 Decoded script /tekton/scripts/script-0-g8wnp 2026/12/04 11:13:23 Decoded script /tekton/scripts/script-1-252cx 2026/12/04 11:13:23 Decoded script /tekton/scripts/script-2-gp665 2026/12/04 11:13:23 Decoded script /tekton/scripts/script-3-dsr49 2026/12/04 11:13:23 Decoded script /tekton/scripts/script-4-wn54g 2026/12/04 11:13:23 Decoded script /tekton/scripts/script-5-rpjw5 2026/12/04 11:13:23 Decoded script /tekton/scripts/script-7-tnqfs 2026/12/04 11:13:23 Decoded script /tekton/scripts/script-8-mhddj Showing logs for build greencapitaltrade/heimdallr/pr-200 #1 stage from-build-pack and container working-dir-initializer Showing logs for build greencapitaltrade/heimdallr/pr-200 #1 stage from-build-pack and container step-git-clone git cloning url: https://github.com/greencapitaltrade/heimdallr.git version refs/pull/200/head:PR-200@e5ac6dbec25b0a7631772af7b421ee7d7b3a1ae6 to dir: source Cloning into 'source'... From https://github.com/greencapitaltrade/heimdallr * [new ref] refs/pull/200/head -> PR-200 Switched to branch 'PR-200' HEAD is now at e5ac6db fix: verify PostgreSQL TLS in PR previews checked out revision: refs/pull/200/head:PR-200@e5ac6dbec25b0a7631772af7b421ee7d7b3a1ae6 to dir: source Showing logs for build greencapitaltrade/heimdallr/pr-200 #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,200:e5ac6dbec25b0a7631772af7b421ee7d7b3a1ae6:refs/pull/200/head using base branch main and base sha 9771dcaf9d4e53ffea4a728bc74c3f3474ad5e94 merging sha: e5ac6dbec25b0a7631772af7b421ee7d7b3a1ae6 Showing logs for build greencapitaltrade/heimdallr/pr-200 #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-1733026779 in dir /tmp Cloning into '/tmp/jx-git-1733026779'... about to run: git sparse-checkout set --no-cone jx-requirements.yml .jx/gitops/source-config.yaml in dir /tmp/jx-git-1733026779 about to run: git checkout in dir /tmp/jx-git-1733026779 Your branch is up to date with 'origin/main'. export APP_NAME='heimdallr' export BRANCH_NAME='PR-200' 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-200/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-200-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-200-1-SNAPSHOT' added variables to file: .jx/variables.sh added variables to file: .jx/variables.sh Showing logs for build greencapitaltrade/heimdallr/pr-200 #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/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 GOOS=linux GOARCH=amd64 GO15VENDOREXPERIMENT=1 go build -ldflags '' -o bin/heimdallr . Showing logs for build greencapitaltrade/heimdallr/pr-200 #1 stage from-build-pack and container step-build-make-test go: downloading github.com/stretchr/testify v1.11.1 go: downloading gopkg.in/yaml.v3 v3.0.1 go: downloading gorm.io/gorm v1.31.1 go: downloading github.com/oschwald/geoip2-golang v1.11.0 go: downloading github.com/alicebob/miniredis/v2 v2.33.0 go: downloading github.com/redis/go-redis/v9 v9.7.0 go: downloading gorm.io/driver/postgres v1.6.0 go: downloading github.com/golang-jwt/jwt/v5 v5.2.0 go: downloading github.com/valyala/fasthttp v1.69.0 go: downloading github.com/oschwald/maxminddb-golang v1.13.1 go: downloading github.com/jinzhu/now v1.1.5 go: downloading github.com/davecgh/go-spew v1.1.1 go: downloading github.com/pmezard/go-difflib v1.0.0 go: downloading github.com/alicebob/gopher-json v0.0.0-20230218143504-906a9b012302 go: downloading github.com/yuin/gopher-lua v1.1.1 go: downloading github.com/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/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 89.946739ms Starting GET /fury/pe/jaa/raha/hun GET 200 /fury/pe/jaa/raha/hun 333.771µ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 41.101µs Starting GET /fury/pe/jaa/raha/hun GET 200 /fury/pe/jaa/raha/hun 3.597057ms Starting GET /fury/pe/jaa/raha/hun GET 200 /fury/pe/jaa/raha/hun 3.556246ms 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 3.939938ms Starting PUT /v1/session PUT 200 /v1/session 256.968µs Starting GET /fury/pe/jaa/raha/hun GET 200 /fury/pe/jaa/raha/hun 91.874823ms Starting GET /fury/pe/jaa/raha/hun GET 200 /fury/pe/jaa/raha/hun 5.368905ms 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 94.048993ms Starting GET /fury/pe/jaa/raha/hun Expected status code 200 but got 404 GET 200 /fury/pe/jaa/raha/hun 515.227µs --- PASS: Test_requestHandler (0.39s) === 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 4.032731ms 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 720.093µs --- PASS: TestAuthResponseUsesSignedOrganization (0.01s) === 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.753897ms --- PASS: TestValidAuthorizationCookieWinsOverAPISecretWithoutPartnerLookup (0.09s) === RUN TestHeaderFormatFunction --- PASS: TestHeaderFormatFunction (0.00s) === RUN TestSetNewTokenSetsUpstreamHeaders --- PASS: TestSetNewTokenSetsUpstreamHeaders (0.00s) === RUN TestTokenRefreshSetsUpstreamCookieNotSetCookie Starting GET /any/route GET 200 /any/route 4.947621ms --- PASS: TestTokenRefreshSetsUpstreamCookieNotSetCookie (0.01s) === 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 36.191µs --- PASS: TestUnauthorizedResponseClearsCookieWhenFromCookie (0.00s) === RUN TestRequestWithOnlyAuthHeaderPassesThrough Starting GET /some/protected/route No Authorization token - passing through to upstream GET 200 /some/protected/route 40.811µ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 5.21µ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 / 4.93µs --- PASS: TestLegacyAuthProviderDoesNotRequestUpstreamRemoval (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 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 85.288617ms Starting GET /some/protected/route Device didn't match GET 401 /some/protected/route 220.687µs --- PASS: TestDeviceMismatchClearsCookie (0.09s) === RUN TestExpiredTokenPastRefreshWindowClearsCookie Starting GET /some/protected/route Token is expired and past refresh window GET 401 /some/protected/route 366.782µs --- PASS: TestExpiredTokenPastRefreshWindowClearsCookie (0.01s) === RUN TestGeoIPHeadersNotSetWhenGPSPresent Starting GET /some/path No Authorization token - passing through to upstream GET 200 /some/path 29.281µs --- PASS: TestGeoIPHeadersNotSetWhenGPSPresent (0.00s) === RUN TestGeoIPHeadersAttemptedWhenNoGPS Starting GET /some/path No Authorization token - passing through to upstream GET 200 /some/path 24.091µs --- PASS: TestGeoIPHeadersAttemptedWhenNoGPS (0.00s) === RUN TestGeoIPNotTriggeredWithoutIP Starting GET /some/path No Authorization token - passing through to upstream GET 200 /some/path 23.81µ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) PASS ok github.com/galaxycard/heimdallr 0.614s === 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.102s === RUN TestDatabaseStartupFailureDoesNotLogCredentials === RUN TestDatabaseStartupFailureDoesNotLogCredentials/invalid_connection === RUN TestDatabaseStartupFailureDoesNotLogCredentials/unsupported_TLS_mode === RUN TestDatabaseStartupFailureDoesNotLogCredentials/missing_CA === RUN TestDatabaseStartupFailureDoesNotLogCredentials/unreadable_CA --- PASS: TestDatabaseStartupFailureDoesNotLogCredentials (0.60s) --- PASS: TestDatabaseStartupFailureDoesNotLogCredentials/invalid_connection (0.19s) --- PASS: TestDatabaseStartupFailureDoesNotLogCredentials/unsupported_TLS_mode (0.10s) --- PASS: TestDatabaseStartupFailureDoesNotLogCredentials/missing_CA (0.20s) --- PASS: TestDatabaseStartupFailureDoesNotLogCredentials/unreadable_CA (0.10s) PASS ok github.com/galaxycard/heimdallr/database 0.606s ? 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.069s ? github.com/galaxycard/heimdallr/redis [no test files] Showing logs for build greencapitaltrade/heimdallr/pr-200 #1 stage from-build-pack and container step-build-post-test-results commented on pull request #200 on repository greencapitaltrade/heimdallr Showing logs for build greencapitaltrade/heimdallr/pr-200 #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-2582033012 in dir /tmp Cloning into '/tmp/jx-git-2582033012'... about to run: git sparse-checkout set --no-cone jx-requirements.yml .jx/gitops/source-config.yaml in dir /tmp/jx-git-2582033012 about to run: git checkout in dir /tmp/jx-git-2582033012 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-200 #1 stage from-build-pack and container step-build-container-build time="2026-12-04T11:29:08Z" 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[0003] No base image, nothing to extract INFO[0003] Executing 0 build triggers INFO[0003] Building stage 'scratch' [idx: '1', base-idx: '-1'] INFO[0003] Unpacking rootfs as cmd COPY --from=certificates /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt requires it. INFO[0003] COPY --from=certificates /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt INFO[0003] Taking snapshot of files... INFO[0003] EXPOSE 8080 INFO[0003] Cmd: EXPOSE INFO[0003] Adding exposed port: 8080/tcp INFO[0003] ENTRYPOINT ["/heimdallr"] INFO[0003] COPY ./bin/ / INFO[0003] Taking snapshot of files... INFO[0004] Pushing image to 417755753340.dkr.ecr.ap-south-1.amazonaws.com/greencapitaltrade/heimdallr:0.0.0-PR-200-1-SNAPSHOT INFO[0005] Pushed 417755753340.dkr.ecr.ap-south-1.amazonaws.com/greencapitaltrade/heimdallr@sha256:4000c91a6850f80ddb04539d37914352b7c21ef4632695e266cf6d5d404c62df Showing logs for build greencapitaltrade/heimdallr/pr-200 #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/200 using ingress sub domain -jx-greencapitaltrade-heimdallr-pr-200. upserted preview jx-greencapitaltrade-heimdallr-pr-200 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-200", "PR_HEAD_REF":"fix/preview-postgresql-shared-ca", "PULL_NUMBER":"200", "VERSION":"0.0.0-PR-200-1-SNAPSHOT"} jx-greencapitaltrade-heimdallr-pr-200: LAST SEEN TYPE REASON OBJECT MESSAGE jx-greencapitaltrade-heimdallr-pr-200: 0s Normal ScalingReplicaSet deployment/preview-heimdallr Scaled up replica set preview-heimdallr-cdbc49d46 from 0 to 1 jx-greencapitaltrade-heimdallr-pr-200: 0s Normal SuccessfulCreate replicaset/preview-heimdallr-cdbc49d46 Created pod: preview-heimdallr-cdbc49d46-5xr5j jx-greencapitaltrade-heimdallr-pr-200: 0s Normal Scheduled pod/preview-heimdallr-cdbc49d46-5xr5j Successfully assigned jx-greencapitaltrade-heimdallr-pr-200/preview-heimdallr-cdbc49d46-5xr5j to ip-10-0-62-159.ap-south-1.compute.internal jx-greencapitaltrade-heimdallr-pr-200: 0s Warning FailedMount pod/preview-heimdallr-cdbc49d46-5xr5j MountVolume.SetUp failed for volume "postgres-ca" : secret "postgresql-tls" not found jx-greencapitaltrade-heimdallr-pr-200: 0s Warning FailedMount pod/preview-heimdallr-cdbc49d46-5xr5j MountVolume.SetUp failed for volume "postgres-ca" : secret "postgresql-tls" not found jx-greencapitaltrade-heimdallr-pr-200: 0s Warning FailedMount pod/preview-heimdallr-cdbc49d46-5xr5j MountVolume.SetUp failed for volume "postgres-ca" : secret "postgresql-tls" not found jx-greencapitaltrade-heimdallr-pr-200: 0s Warning FailedMount pod/preview-heimdallr-cdbc49d46-5xr5j MountVolume.SetUp failed for volume "postgres-ca" : secret "postgresql-tls" not found jx-greencapitaltrade-heimdallr-pr-200: 0s Warning FailedMount pod/preview-heimdallr-cdbc49d46-5xr5j MountVolume.SetUp failed for volume "postgres-ca" : secret "postgresql-tls" not found jx-greencapitaltrade-heimdallr-pr-200: 0s Warning FailedMount pod/preview-heimdallr-cdbc49d46-5xr5j MountVolume.SetUp failed for volume "postgres-ca" : secret "postgresql-tls" not found jx-greencapitaltrade-heimdallr-pr-200: 0s Warning FailedMount pod/preview-heimdallr-cdbc49d46-5xr5j MountVolume.SetUp failed for volume "postgres-ca" : secret "postgresql-tls" not found jx-greencapitaltrade-heimdallr-pr-200: 0s Normal SuccessfulCreate statefulset/redis-master Create Pod redis-master-0 in StatefulSet redis-master successful jx-greencapitaltrade-heimdallr-pr-200: 0s Normal Scheduled pod/redis-master-0 Successfully assigned jx-greencapitaltrade-heimdallr-pr-200/redis-master-0 to ip-10-0-83-16.ap-south-1.compute.internal jx-greencapitaltrade-heimdallr-pr-200: 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-200: 0s Normal Created pod/redis-master-0 Container created jx-greencapitaltrade-heimdallr-pr-200: 0s Normal Started pod/redis-master-0 Container started jx-greencapitaltrade-heimdallr-pr-200: 0s Normal NoPods poddisruptionbudget/postgresql No matching pods found jx-greencapitaltrade-heimdallr-pr-200: 0s Normal NoPods poddisruptionbudget/postgresql No matching pods found jx-greencapitaltrade-heimdallr-pr-200: 0s Normal SuccessfulCreate statefulset/postgresql Create Claim data-postgresql-0 Pod postgresql-0 in StatefulSet postgresql success jx-greencapitaltrade-heimdallr-pr-200: 0s Normal WaitForFirstConsumer persistentvolumeclaim/data-postgresql-0 waiting for first consumer to be created before binding jx-greencapitaltrade-heimdallr-pr-200: 0s Normal SuccessfulCreate statefulset/postgresql Create Pod postgresql-0 in StatefulSet postgresql successful jx-greencapitaltrade-heimdallr-pr-200: 0s Warning ErrGetKeyPair issuer/postgresql-ca Error getting keypair for CA issuer: secrets "postgresql-ca" not found jx-greencapitaltrade-heimdallr-pr-200: 0s Warning ErrInitIssuer issuer/postgresql-ca Error initializing issuer: secrets "postgresql-ca" not found jx-greencapitaltrade-heimdallr-pr-200: 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-200: 0s Normal Provisioning persistentvolumeclaim/data-postgresql-0 External provisioner is provisioning volume for claim "jx-greencapitaltrade-heimdallr-pr-200/data-postgresql-0" jx-greencapitaltrade-heimdallr-pr-200: 0s Normal Issuing certificate/postgresql-tls Issuing certificate as Secret does not exist jx-greencapitaltrade-heimdallr-pr-200: 0s Warning ErrGetKeyPair issuer/postgresql-ca Error getting keypair for CA issuer: secrets "postgresql-ca" not found jx-greencapitaltrade-heimdallr-pr-200: 0s Normal Issuing certificate/postgresql-ca Issuing certificate as Secret does not exist jx-greencapitaltrade-heimdallr-pr-200: 0s Warning ErrInitIssuer issuer/postgresql-ca Error initializing issuer: secrets "postgresql-ca" not found jx-greencapitaltrade-heimdallr-pr-200: 0s Normal Generated certificate/postgresql-tls Stored new private key in temporary Secret resource "postgresql-tls-zwrq7" jx-greencapitaltrade-heimdallr-pr-200: 0s Normal Requested certificate/postgresql-tls Created new CertificateRequest resource "postgresql-tls-1" jx-greencapitaltrade-heimdallr-pr-200: 0s Normal WaitingForApproval certificaterequest/postgresql-tls-1 Not signing CertificateRequest until it is Approved jx-greencapitaltrade-heimdallr-pr-200: 0s Normal WaitingForApproval certificaterequest/postgresql-tls-1 Not signing CertificateRequest until it is Approved jx-greencapitaltrade-heimdallr-pr-200: 0s Normal WaitingForApproval certificaterequest/postgresql-tls-1 Not signing CertificateRequest until it is Approved jx-greencapitaltrade-heimdallr-pr-200: 0s Normal Generated certificate/postgresql-ca Stored new private key in temporary Secret resource "postgresql-ca-xmpfk" jx-greencapitaltrade-heimdallr-pr-200: 0s Normal WaitingForApproval certificaterequest/postgresql-tls-1 Not signing CertificateRequest until it is Approved jx-greencapitaltrade-heimdallr-pr-200: 0s Normal WaitingForApproval certificaterequest/postgresql-tls-1 Not signing CertificateRequest until it is Approved jx-greencapitaltrade-heimdallr-pr-200: 0s Normal cert-manager.io certificaterequest/postgresql-tls-1 Certificate request has been approved by cert-manager.io jx-greencapitaltrade-heimdallr-pr-200: 0s Normal IssuerNotReady certificaterequest/postgresql-tls-1 Referenced issuer does not have a Ready status condition jx-greencapitaltrade-heimdallr-pr-200: 0s Normal WaitingForApproval certificaterequest/postgresql-ca-1 Not signing CertificateRequest until it is Approved jx-greencapitaltrade-heimdallr-pr-200: 0s Normal Requested certificate/postgresql-ca Created new CertificateRequest resource "postgresql-ca-1" jx-greencapitaltrade-heimdallr-pr-200: 0s Normal WaitingForApproval certificaterequest/postgresql-ca-1 Not signing CertificateRequest until it is Approved jx-greencapitaltrade-heimdallr-pr-200: 0s Normal WaitingForApproval certificaterequest/postgresql-ca-1 Not signing CertificateRequest until it is Approved jx-greencapitaltrade-heimdallr-pr-200: 0s Normal WaitingForApproval certificaterequest/postgresql-ca-1 Not signing CertificateRequest until it is Approved jx-greencapitaltrade-heimdallr-pr-200: 0s Normal WaitingForApproval certificaterequest/postgresql-ca-1 Not signing CertificateRequest until it is Approved jx-greencapitaltrade-heimdallr-pr-200: 0s Normal cert-manager.io certificaterequest/postgresql-ca-1 Certificate request has been approved by cert-manager.io jx-greencapitaltrade-heimdallr-pr-200: 0s Normal CertificateIssued certificaterequest/postgresql-ca-1 Certificate fetched from issuer successfully jx-greencapitaltrade-heimdallr-pr-200: 0s Normal Issuing certificate/postgresql-ca The certificate has been successfully issued jx-greencapitaltrade-heimdallr-pr-200: 0s Normal ProvisioningSucceeded persistentvolumeclaim/data-postgresql-0 Successfully provisioned volume pvc-d4eb137d-af55-42ba-96e3-02c8b99564f8 jx-greencapitaltrade-heimdallr-pr-200: 0s Normal Scheduled pod/postgresql-0 Successfully assigned jx-greencapitaltrade-heimdallr-pr-200/postgresql-0 to ip-10-0-62-159.ap-south-1.compute.internal jx-greencapitaltrade-heimdallr-pr-200: 0s Warning FailedMount pod/postgresql-0 MountVolume.SetUp failed for volume "raw-certificates" : secret "postgresql-tls" not found jx-greencapitaltrade-heimdallr-pr-200: 0s Normal SuccessfulCreate job/jx-verify-gc-jobs-pj4vp Created pod: jx-verify-gc-jobs-pj4vp-2sv4b jx-greencapitaltrade-heimdallr-pr-200: 0s Normal Scheduled pod/jx-verify-gc-jobs-pj4vp-2sv4b Successfully assigned jx-greencapitaltrade-heimdallr-pr-200/jx-verify-gc-jobs-pj4vp-2sv4b to ip-10-0-72-236.ap-south-1.compute.internal jx-greencapitaltrade-heimdallr-pr-200: 0s Warning FailedMount pod/postgresql-0 MountVolume.SetUp failed for volume "raw-certificates" : secret "postgresql-tls" not found killed the kubectl event watch command found helm preview release jx-verify in namespace jx-greencapitaltrade-heimdallr-pr-200 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 #200 on repository greencapitaltrade/heimdallr