Showing logs for build greencapitaltrade/utils/pr-113 #1 stage from-build-pack and container prepare 2026/11/23 04:16:02 Entrypoint initialization Showing logs for build greencapitaltrade/utils/pr-113 #1 stage from-build-pack and container place-scripts 2026/11/23 04:16:02 Decoded script /tekton/scripts/script-0-2nfgm 2026/11/23 04:16:02 Decoded script /tekton/scripts/script-1-pz6mb 2026/11/23 04:16:02 Decoded script /tekton/scripts/script-2-qmg66 2026/11/23 04:16:02 Decoded script /tekton/scripts/script-3-g2khs 2026/11/23 04:16:02 Decoded script /tekton/scripts/script-4-5w8b2 2026/11/23 04:16:02 Decoded script /tekton/scripts/script-5-cgcrz 2026/11/23 04:16:02 Decoded script /tekton/scripts/script-6-psxrl 2026/11/23 04:16:02 Decoded script /tekton/scripts/script-7-bkgnm 2026/11/23 04:16:02 Decoded script /tekton/scripts/script-8-qlprr Showing logs for build greencapitaltrade/utils/pr-113 #1 stage from-build-pack and container working-dir-initializer Showing logs for build greencapitaltrade/utils/pr-113 #1 stage from-build-pack and container step-git-clone git cloning url: https://github.com/greencapitaltrade/utils.git version refs/pull/113/head:PR-113@1e4216a8c78d666b6ecba99cf83cf9224b0b7420 to dir: source Cloning into 'source'... From https://github.com/greencapitaltrade/utils * [new ref] refs/pull/113/head -> PR-113 Switched to branch 'PR-113' HEAD is now at 1e4216a fix: redact onboarding phone headers from request logs checked out revision: refs/pull/113/head:PR-113@1e4216a8c78d666b6ecba99cf83cf9224b0b7420 to dir: source Showing logs for build greencapitaltrade/utils/pr-113 #1 stage from-build-pack and container step-git-merge setup git user email jenkins-x@googlegroups.com Using SHAs from PULL_REFS=main:4de27440cc63af864e19e2dc31dd90999242bdd7,113:1e4216a8c78d666b6ecba99cf83cf9224b0b7420:refs/pull/113/head using base branch main and base sha 4de27440cc63af864e19e2dc31dd90999242bdd7 merging sha: 1e4216a8c78d666b6ecba99cf83cf9224b0b7420 Showing logs for build greencapitaltrade/utils/pr-113 #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-1167388399 in dir /tmp Cloning into '/tmp/jx-git-1167388399'... about to run: git sparse-checkout set --no-cone jx-requirements.yml .jx/gitops/source-config.yaml in dir /tmp/jx-git-1167388399 about to run: git checkout in dir /tmp/jx-git-1167388399 Your branch is up to date with 'origin/main'. export APP_NAME='utils' export BRANCH_NAME='PR-113' 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/utils/PR-113/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/utils:0.0.0-PR-113-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='utils' export REPO_OWNER='greencapitaltrade' version file VERSION does not exist export VERSION='0.0.0-PR-113-1-SNAPSHOT' added variables to file: .jx/variables.sh added variables to file: .jx/variables.sh Showing logs for build greencapitaltrade/utils/pr-113 #1 stage from-build-pack and container step-build-npm-install npm warn Unknown user config "unsafe-perm". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options. npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported npm warn deprecated @types/ioredis@5.0.0: This is a stub types definition. ioredis provides its own type definitions, so you do not need this installed. > @greencapitaltrade/utils@9.2.22 prepare > husky || true git command not found added 812 packages in 33s 180 packages are looking for funding run `npm fund` for details npm warn install-scripts 1 package has install scripts not yet covered by allowScripts: npm warn install-scripts protobufjs@7.5.4 (postinstall: node scripts/postinstall) npm warn install-scripts npm warn install-scripts Run `npm install-scripts ls` to review, or `npm install-scripts approve ` to allow. Showing logs for build greencapitaltrade/utils/pr-113 #1 stage from-build-pack and container step-build-run-linting npm warn Unknown user config "unsafe-perm". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options. npm warn Unknown user config "unsafe-perm". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options. npm warn Unknown user config "unsafe-perm". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options. Showing logs for build greencapitaltrade/utils/pr-113 #1 stage from-build-pack and container step-build-lint-errors Showing logs for build greencapitaltrade/utils/pr-113 #1 stage from-build-pack and container step-build npm warn Unknown user config "unsafe-perm". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options. > @greencapitaltrade/utils@9.2.22 build > tsc Showing logs for build greencapitaltrade/utils/pr-113 #1 stage from-build-pack and container step-build-npm-test npm warn Unknown user config "unsafe-perm". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options. > @greencapitaltrade/utils@9.2.22 test > jest --runInBand PASS tests/kafka-resilience.test.ts (19.203 s) ● Console console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2167:13 console.debug Kafka message published { topic: 'synthetic', messageId: 'fallback_1795407463534_wch72o0y12', requestId: undefined, size: 22 } at src/kafka.ts:1919:13 console.info Topic refresh polling disabled (KAFKA_TOPIC_REFRESH_INTERVAL=0) at KafkaManager. (src/kafka.ts:1403:15) console.info Kafka consumers and manager disconnected at src/kafka.ts:2411:11 console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2167:13 console.info Kafka consumers and manager disconnected at src/kafka.ts:2411:11 console.error Kafka publish failed { topic: 'synthetic', messageId: 'fallback_1795407463632_p5rqah6gut9', requestId: undefined, error: 'KAFKA_PRODUCER_NOT_CONNECTED', errorType: 'Error' } 1927 | } catch (error) { 1928 | // Always log errors > 1929 | console.error('Kafka publish failed', { | ^ 1930 | topic, 1931 | messageId: id, 1932 | requestId: context.get('requestId'), at src/kafka.ts:1929:13 at Generator.throw () at rejected (src/kafka.ts:6:65) console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2167:13 console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2167:13 console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2167:13 console.debug Kafka message published { topic: 'test.topic', messageId: 'fallback_1795407463641_1kpakrqpeda', requestId: undefined, size: 24 } at src/kafka.ts:1919:13 console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2167:13 console.info Kafka producer: reconnect loop starting at KafkaManager.startReconnectLoop (src/kafka.ts:853:13) at Generator.throw () console.error Kafka publish failed { topic: 't', messageId: 'fallback_1795407463644_q20072u285i', requestId: undefined, error: 'Simulated PLT_KFK_NETWORK', errorType: 'Error' } 1927 | } catch (error) { 1928 | // Always log errors > 1929 | console.error('Kafka publish failed', { | ^ 1930 | topic, 1931 | messageId: id, 1932 | requestId: context.get('requestId'), at src/kafka.ts:1929:13 at Generator.throw () at rejected (src/kafka.ts:6:65) console.error Kafka publish failed { topic: 't', messageId: 'fallback_1795407463644_k7lwqnww1us', requestId: undefined, error: 'KAFKA_PRODUCER_NOT_CONNECTED', errorType: 'Error' } 1927 | } catch (error) { 1928 | // Always log errors > 1929 | console.error('Kafka publish failed', { | ^ 1930 | topic, 1931 | messageId: id, 1932 | requestId: context.get('requestId'), at src/kafka.ts:1929:13 at Generator.throw () at rejected (src/kafka.ts:6:65) console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2167:13 console.debug Kafka message published { topic: 't', messageId: 'fallback_1795407463742_xgzx9efzupq', requestId: undefined, size: 22 } at src/kafka.ts:1919:13 console.warn Kafka producer disconnected 916 | this.producer.on('producer.disconnect', () => { 917 | if (!this.shuttingDown) { > 918 | console.warn('Kafka producer disconnected'); | ^ 919 | this.startReconnectLoop(); 920 | } 921 | }); at Object.producer.disconnect (src/kafka.ts:918:17) at tests/kafka-resilience.test.ts:292:49 at fulfilled (tests/kafka-resilience.test.ts:14:58) console.info Kafka producer: reconnect loop starting at KafkaManager.startReconnectLoop (src/kafka.ts:853:13) console.error Kafka publish failed { topic: 't', messageId: 'fallback_1795407463742_o1dkbxahh5c', requestId: undefined, error: 'KAFKA_PRODUCER_NOT_CONNECTED', errorType: 'Error' } 1927 | } catch (error) { 1928 | // Always log errors > 1929 | console.error('Kafka publish failed', { | ^ 1930 | topic, 1931 | messageId: id, 1932 | requestId: context.get('requestId'), at src/kafka.ts:1929:13 at Generator.throw () at rejected (src/kafka.ts:6:65) console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2167:13 console.debug Kafka message published { topic: 't', messageId: 'fallback_1795407463744_abb1oin041p', requestId: undefined, size: 22 } at src/kafka.ts:1919:13 console.info Kafka producer: reconnect loop starting at KafkaManager.startReconnectLoop (src/kafka.ts:853:13) at Generator.throw () console.error Kafka publish failed { topic: 't', messageId: 'fallback_1795407463744_2tyg1x3v9ne', requestId: undefined, error: 'Simulated PLT_KFK_NETWORK', errorType: 'Error' } 1927 | } catch (error) { 1928 | // Always log errors > 1929 | console.error('Kafka publish failed', { | ^ 1930 | topic, 1931 | messageId: id, 1932 | requestId: context.get('requestId'), at src/kafka.ts:1929:13 at Generator.throw () at rejected (src/kafka.ts:6:65) console.error Kafka publish failed { topic: 't', messageId: 'fallback_1795407463744_3pu2qrtet2r', requestId: undefined, error: 'Simulated PLT_KFK_NETWORK', errorType: 'Error' } 1927 | } catch (error) { 1928 | // Always log errors > 1929 | console.error('Kafka publish failed', { | ^ 1930 | topic, 1931 | messageId: id, 1932 | requestId: context.get('requestId'), at src/kafka.ts:1929:13 at Generator.throw () at rejected (src/kafka.ts:6:65) console.error Kafka publish failed { topic: 't', messageId: 'fallback_1795407463744_cv2xmk6m1v', requestId: undefined, error: 'Simulated PLT_KFK_NETWORK', errorType: 'Error' } 1927 | } catch (error) { 1928 | // Always log errors > 1929 | console.error('Kafka publish failed', { | ^ 1930 | topic, 1931 | messageId: id, 1932 | requestId: context.get('requestId'), at src/kafka.ts:1929:13 at Generator.throw () at rejected (src/kafka.ts:6:65) console.warn Kafka producer reconnect attempt failed { delayMs: 5000, nextDelayMs: 10000, error: 'Simulated PLT_KFK_NETWORK' } 885 | if (retired()) return; 886 | const nextDelay = Math.min(delay * 2, RECONNECT_MAX_DELAY_MS); > 887 | console.warn('Kafka producer reconnect attempt failed', { | ^ 888 | delayMs: delay, 889 | nextDelayMs: nextDelay, 890 | error: err instanceof Error ? err.message : String(err), at KafkaManager. (src/kafka.ts:887:17) at Generator.throw () at rejected (src/kafka.ts:6:65) console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2167:13 console.info Kafka producer: reconnect loop starting at KafkaManager.startReconnectLoop (src/kafka.ts:853:13) at Generator.throw () console.error Kafka publish failed { topic: 't', messageId: 'fallback_1795407463751_o79d7crtooj', requestId: undefined, error: 'Simulated PLT_KFK_NETWORK', errorType: 'Error' } 1927 | } catch (error) { 1928 | // Always log errors > 1929 | console.error('Kafka publish failed', { | ^ 1930 | topic, 1931 | messageId: id, 1932 | requestId: context.get('requestId'), at src/kafka.ts:1929:13 at Generator.throw () at rejected (src/kafka.ts:6:65) console.warn Kafka producer reconnect attempt failed { delayMs: 5000, nextDelayMs: 10000, error: 'Simulated PLT_KFK_NETWORK' } 885 | if (retired()) return; 886 | const nextDelay = Math.min(delay * 2, RECONNECT_MAX_DELAY_MS); > 887 | console.warn('Kafka producer reconnect attempt failed', { | ^ 888 | delayMs: delay, 889 | nextDelayMs: nextDelay, 890 | error: err instanceof Error ? err.message : String(err), at KafkaManager. (src/kafka.ts:887:17) at Generator.throw () at rejected (src/kafka.ts:6:65) console.warn Kafka producer reconnect attempt failed { delayMs: 10000, nextDelayMs: 20000, error: 'Simulated PLT_KFK_NETWORK' } 885 | if (retired()) return; 886 | const nextDelay = Math.min(delay * 2, RECONNECT_MAX_DELAY_MS); > 887 | console.warn('Kafka producer reconnect attempt failed', { | ^ 888 | delayMs: delay, 889 | nextDelayMs: nextDelay, 890 | error: err instanceof Error ? err.message : String(err), at KafkaManager. (src/kafka.ts:887:17) at Generator.throw () at rejected (src/kafka.ts:6:65) console.warn Kafka producer reconnect attempt failed { delayMs: 20000, nextDelayMs: 40000, error: 'Simulated PLT_KFK_NETWORK' } 885 | if (retired()) return; 886 | const nextDelay = Math.min(delay * 2, RECONNECT_MAX_DELAY_MS); > 887 | console.warn('Kafka producer reconnect attempt failed', { | ^ 888 | delayMs: delay, 889 | nextDelayMs: nextDelay, 890 | error: err instanceof Error ? err.message : String(err), at KafkaManager. (src/kafka.ts:887:17) at Generator.throw () at rejected (src/kafka.ts:6:65) console.warn Kafka producer reconnect attempt failed { delayMs: 40000, nextDelayMs: 60000, error: 'Simulated PLT_KFK_NETWORK' } 885 | if (retired()) return; 886 | const nextDelay = Math.min(delay * 2, RECONNECT_MAX_DELAY_MS); > 887 | console.warn('Kafka producer reconnect attempt failed', { | ^ 888 | delayMs: delay, 889 | nextDelayMs: nextDelay, 890 | error: err instanceof Error ? err.message : String(err), at KafkaManager. (src/kafka.ts:887:17) at Generator.throw () at rejected (src/kafka.ts:6:65) console.warn Kafka producer reconnect attempt failed { delayMs: 60000, nextDelayMs: 60000, error: 'Simulated PLT_KFK_NETWORK' } 885 | if (retired()) return; 886 | const nextDelay = Math.min(delay * 2, RECONNECT_MAX_DELAY_MS); > 887 | console.warn('Kafka producer reconnect attempt failed', { | ^ 888 | delayMs: delay, 889 | nextDelayMs: nextDelay, 890 | error: err instanceof Error ? err.message : String(err), at KafkaManager. (src/kafka.ts:887:17) at Generator.throw () at rejected (src/kafka.ts:6:65) console.warn Kafka producer reconnect attempt failed { delayMs: 60000, nextDelayMs: 60000, error: 'Simulated PLT_KFK_NETWORK' } 885 | if (retired()) return; 886 | const nextDelay = Math.min(delay * 2, RECONNECT_MAX_DELAY_MS); > 887 | console.warn('Kafka producer reconnect attempt failed', { | ^ 888 | delayMs: delay, 889 | nextDelayMs: nextDelay, 890 | error: err instanceof Error ? err.message : String(err), at KafkaManager. (src/kafka.ts:887:17) at Generator.throw () at rejected (src/kafka.ts:6:65) console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2167:13 console.info Kafka producer: reconnect loop starting at KafkaManager.startReconnectLoop (src/kafka.ts:853:13) at Generator.throw () console.error Kafka publish failed { topic: 't', messageId: 'fallback_1795407463755_evbtxo2hzjv', requestId: undefined, error: 'Simulated PLT_KFK_NETWORK', errorType: 'Error' } 1927 | } catch (error) { 1928 | // Always log errors > 1929 | console.error('Kafka publish failed', { | ^ 1930 | topic, 1931 | messageId: id, 1932 | requestId: context.get('requestId'), at src/kafka.ts:1929:13 at Generator.throw () at rejected (src/kafka.ts:6:65) console.info Kafka producer reconnected { afterDelayMs: 5000 } at KafkaManager. (src/kafka.ts:882:17) console.debug Kafka message published { topic: 't', messageId: 'fallback_1795407468855_8ib51dz8hko', requestId: undefined, size: 23 } at src/kafka.ts:1919:13 console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2167:13 console.debug Kafka message published { topic: 't', messageId: 'fallback_1795407463843_et6dtt2ozwr', requestId: undefined, size: 22 } at src/kafka.ts:1919:13 console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2167:13 console.info Kafka producer: reconnect loop starting at KafkaManager.startReconnectLoop (src/kafka.ts:853:13) at Generator.throw () console.error Kafka publish failed { topic: 't', messageId: 'fallback_1795407463847_oqd060mfuo', requestId: undefined, error: 'Simulated PLT_KFK_NETWORK', errorType: 'Error' } 1927 | } catch (error) { 1928 | // Always log errors > 1929 | console.error('Kafka publish failed', { | ^ 1930 | topic, 1931 | messageId: id, 1932 | requestId: context.get('requestId'), at src/kafka.ts:1929:13 at Generator.throw () at rejected (src/kafka.ts:6:65) console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2167:13 console.info Kafka producer: reconnect loop starting at KafkaManager.startReconnectLoop (src/kafka.ts:853:13) at Generator.throw () console.error Kafka publish failed { topic: 't', messageId: 'fallback_1795407463930_1gq1tbfqsw', requestId: undefined, error: 'Simulated PLT_KFK_NETWORK', errorType: 'Error' } 1927 | } catch (error) { 1928 | // Always log errors > 1929 | console.error('Kafka publish failed', { | ^ 1930 | topic, 1931 | messageId: id, 1932 | requestId: context.get('requestId'), at src/kafka.ts:1929:13 at Generator.throw () at rejected (src/kafka.ts:6:65) console.warn Kafka producer reconnect attempt failed { delayMs: 5000, nextDelayMs: 10000, error: 'Simulated PLT_KFK_NETWORK' } 885 | if (retired()) return; 886 | const nextDelay = Math.min(delay * 2, RECONNECT_MAX_DELAY_MS); > 887 | console.warn('Kafka producer reconnect attempt failed', { | ^ 888 | delayMs: delay, 889 | nextDelayMs: nextDelay, 890 | error: err instanceof Error ? err.message : String(err), at KafkaManager. (src/kafka.ts:887:17) at Generator.throw () at rejected (src/kafka.ts:6:65) PASS tests/kafka-platformatic.test.ts PASS tests/kafka-publish-defer.test.ts ● Console console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2167:13 console.debug Kafka message published { topic: 'warmup.topic', messageId: 'fallback_1795407466641_hm0xbcjcb26', requestId: undefined, size: 27 } at src/kafka.ts:1919:13 console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2167:13 console.debug Kafka message published { topic: 'warmup.topic', messageId: 'fallback_1795407466643_3kbjttzbckw', requestId: undefined, size: 27 } at src/kafka.ts:1919:13 console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2167:13 console.debug Kafka message published { topic: 'warmup.topic', messageId: 'fallback_1795407466665_bqm6e3mmbpo', requestId: undefined, size: 27 } at src/kafka.ts:1919:13 console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2167:13 console.debug Kafka message published { topic: 'warmup.topic', messageId: 'fallback_1795407466687_ndrj79rmht', requestId: undefined, size: 27 } at src/kafka.ts:1919:13 console.debug Kafka message published { topic: 't', messageId: 'fallback_1795407466687_njkmk2otui', requestId: undefined, size: 52 } at src/kafka.ts:1919:13 console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2167:13 console.debug Kafka message published { topic: 'warmup.topic', messageId: 'fallback_1795407466689_mz2chap6cml', requestId: undefined, size: 27 } at src/kafka.ts:1919:13 console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2167:13 console.debug Kafka message published { topic: 'warmup.topic', messageId: 'fallback_1795407466711_awui3oy2o7', requestId: undefined, size: 27 } at src/kafka.ts:1919:13 console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2167:13 console.debug Kafka message published { topic: 'warmup.topic', messageId: 'fallback_1795407466734_w6snqwvrfos', requestId: undefined, size: 27 } at src/kafka.ts:1919:13 console.warn Post-commit publish failed { topic: 't', outboxId: null, durable: false, error: 'broker unreachable' } 1793 | } catch (error) { 1794 | const errorMessage = error instanceof Error ? error.message : String(error); > 1795 | console.warn('Post-commit publish failed', { | ^ 1796 | topic, 1797 | outboxId, 1798 | durable: outboxId !== null, at src/kafka.ts:1795:13 at Generator.throw () at rejected (src/kafka.ts:6:65) console.error Event dropped: no outbox_events table to retry from { topic: 't', messageId: 'fallback_1795407466734_eg0dbzhmxmj' } 1803 | // Ordering tier: no row, so this event is now lost. Loud on purpose — 1804 | // this is the gap that createOutboxMigration closes. > 1805 | console.error('Event dropped: no outbox_events table to retry from', { | ^ 1806 | topic, 1807 | messageId: kafkaMessage.headers['x-message-id'], 1808 | }); at src/kafka.ts:1805:15 at Generator.throw () at rejected (src/kafka.ts:6:65) console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2167:13 console.debug Kafka message published { topic: 'warmup.topic', messageId: 'fallback_1795407466755_kwribyydo1', requestId: undefined, size: 27 } at src/kafka.ts:1919:13 console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2167:13 console.debug Kafka message published { topic: 'warmup.topic', messageId: 'fallback_1795407466778_vrsoq5geosb', requestId: undefined, size: 27 } at src/kafka.ts:1919:13 console.warn Dropping publish for a rolled-back transaction { topic: 't' } 1704 | // The writes this event describes are gone. Publishing now would be the 1705 | // phantom event the whole deferral exists to prevent. > 1706 | console.warn('Dropping publish for a rolled-back transaction', { topic }); | ^ 1707 | return { deferred: true as const }; 1708 | } 1709 | at src/kafka.ts:1706:13 at src/kafka.ts:8:71 at Object..__awaiter (src/kafka.ts:4:12) at deferToAfterCommit (src/kafka.ts:1690:57) at src/kafka.ts:1903:12 at src/kafka.ts:8:71 at Object..__awaiter (src/kafka.ts:4:12) at publish (src/kafka.ts:1874:29) at tests/kafka-publish-defer.test.ts:251:18 at fulfilled (tests/kafka-publish-defer.test.ts:19:58) console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2167:13 console.debug Kafka message published { topic: 'warmup.topic', messageId: 'fallback_1795407466801_6mw6luh3as2', requestId: undefined, size: 27 } at src/kafka.ts:1919:13 console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2167:13 console.debug Kafka message published { topic: 'warmup.topic', messageId: 'fallback_1795407466823_l7j5e4dozbi', requestId: undefined, size: 27 } at src/kafka.ts:1919:13 console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2167:13 console.debug Kafka message published { topic: 'warmup.topic', messageId: 'fallback_1795407466845_jtk098wffr', requestId: undefined, size: 27 } at src/kafka.ts:1919:13 console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2167:13 console.debug Kafka message published { topic: 'warmup.topic', messageId: 'fallback_1795407466867_wvi85bmcax', requestId: undefined, size: 27 } at src/kafka.ts:1919:13 console.warn Post-commit publish failed { topic: 't', outboxId: 7, durable: true, error: 'broker unreachable' } 1793 | } catch (error) { 1794 | const errorMessage = error instanceof Error ? error.message : String(error); > 1795 | console.warn('Post-commit publish failed', { | ^ 1796 | topic, 1797 | outboxId, 1798 | durable: outboxId !== null, at src/kafka.ts:1795:13 at Generator.throw () at rejected (src/kafka.ts:6:65) console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2167:13 console.debug Kafka message published { topic: 'warmup.topic', messageId: 'fallback_1795407466889_brf8k2k175t', requestId: undefined, size: 27 } at src/kafka.ts:1919:13 console.warn Post-commit publish failed { topic: 't', outboxId: 7, durable: true, error: 'inline publish exceeded 10000ms' } 1793 | } catch (error) { 1794 | const errorMessage = error instanceof Error ? error.message : String(error); > 1795 | console.warn('Post-commit publish failed', { | ^ 1796 | topic, 1797 | outboxId, 1798 | durable: outboxId !== null, at src/kafka.ts:1795:13 at Generator.throw () at rejected (src/kafka.ts:6:65) console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2167:13 console.debug Kafka message published { topic: 'warmup.topic', messageId: 'fallback_1795407466891_4dcly039g1k', requestId: undefined, size: 27 } at src/kafka.ts:1919:13 console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2167:13 console.debug Kafka message published { topic: 'warmup.topic', messageId: 'fallback_1795407466913_v6h85zfbsno', requestId: undefined, size: 27 } at src/kafka.ts:1919:13 console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2167:13 console.debug Kafka message published { topic: 'warmup.topic', messageId: 'fallback_1795407466934_prwx99dt6d', requestId: undefined, size: 27 } at src/kafka.ts:1919:13 PASS tests/kafka-guaranteed.test.ts ● Console console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2167:13 console.debug Kafka message published { topic: 'warmup.topic', messageId: 'fallback_1795407467554_amfldmw2ln4', requestId: undefined, size: 27 } at src/kafka.ts:1919:13 console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2167:13 console.debug Kafka message published { topic: 'warmup.topic', messageId: 'fallback_1795407467557_fm1xeabe3m9', requestId: undefined, size: 27 } at src/kafka.ts:1919:13 console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2167:13 console.debug Kafka message published { topic: 'warmup.topic', messageId: 'fallback_1795407467628_1rmmrr7jdwy', requestId: undefined, size: 27 } at src/kafka.ts:1919:13 console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2167:13 console.debug Kafka message published { topic: 'warmup.topic', messageId: 'fallback_1795407467636_3kuwzt96ft2', requestId: undefined, size: 27 } at src/kafka.ts:1919:13 console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2167:13 console.debug Kafka message published { topic: 'warmup.topic', messageId: 'fallback_1795407467638_k8c45jiucbi', requestId: undefined, size: 27 } at src/kafka.ts:1919:13 console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2167:13 console.debug Kafka message published { topic: 'warmup.topic', messageId: 'fallback_1795407467730_07iivizl1afp', requestId: undefined, size: 27 } at src/kafka.ts:1919:13 console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2167:13 console.debug Kafka message published { topic: 'warmup.topic', messageId: 'fallback_1795407467751_xji12xi4mtf', requestId: undefined, size: 27 } at src/kafka.ts:1919:13 console.warn Post-commit publish failed { topic: 't', outboxId: 42, durable: true, error: 'broker unreachable' } 1793 | } catch (error) { 1794 | const errorMessage = error instanceof Error ? error.message : String(error); > 1795 | console.warn('Post-commit publish failed', { | ^ 1796 | topic, 1797 | outboxId, 1798 | durable: outboxId !== null, at src/kafka.ts:1795:13 at Generator.throw () at rejected (src/kafka.ts:6:65) console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2167:13 console.debug Kafka message published { topic: 'warmup.topic', messageId: 'fallback_1795407467774_v9y5c8531io', requestId: undefined, size: 27 } at src/kafka.ts:1919:13 console.warn Outbox row published but not marked delivered { outboxId: 42, error: 'db gone' } 1850 | // Published but not marked: the worker redelivers after the grace window. 1851 | // At-least-once, the same guarantee the worker itself gives. > 1852 | console.warn('Outbox row published but not marked delivered', { | ^ 1853 | outboxId, 1854 | error: 1855 | updateError instanceof Error at src/kafka.ts:1852:13 at Generator.throw () at rejected (src/kafka.ts:6:65) console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2167:13 console.debug Kafka message published { topic: 'warmup.topic', messageId: 'fallback_1795407467775_vbiclmhenzi', requestId: undefined, size: 27 } at src/kafka.ts:1919:13 console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2167:13 console.debug Kafka message published { topic: 'warmup.topic', messageId: 'fallback_1795407467777_q5z9n2gu22m', requestId: undefined, size: 27 } at src/kafka.ts:1919:13 console.debug Kafka message published { topic: 'ironman.repayment.bill.completed', messageId: 'fallback_1795407467778_9woxfdf5p24', requestId: undefined, size: 50 } at src/kafka.ts:1919:13 console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2167:13 console.debug Kafka message published { topic: 'warmup.topic', messageId: 'fallback_1795407467779_d45imentf9h', requestId: undefined, size: 27 } at src/kafka.ts:1919:13 console.error Kafka publish failed { topic: 'ironman.repayment.bill.completed', messageId: 'fallback_1795407467779_i7u7kj2p75', requestId: undefined, error: 'broker unreachable', errorType: 'Error' } 1927 | } catch (error) { 1928 | // Always log errors > 1929 | console.error('Kafka publish failed', { | ^ 1930 | topic, 1931 | messageId: id, 1932 | requestId: context.get('requestId'), at src/kafka.ts:1929:13 at Generator.throw () at rejected (src/kafka.ts:6:65) console.warn Kafka publish failed, falling back to outbox { topic: 'ironman.repayment.bill.completed', eventType: 'repayment_created', error: 'broker unreachable' } 2012 | }); 2013 | } catch (kafkaError) { > 2014 | console.warn('Kafka publish failed, falling back to outbox', { | ^ 2015 | topic, 2016 | eventType: message.name, 2017 | error: at src/kafka.ts:2014:13 at Generator.throw () at rejected (src/kafka.ts:6:65) PASS tests/koa.test.ts ● Console console.info Starting traceID=undefined method=POST url=/test body={"name":"test","value":123} headers={} at src/koa.ts:115:17 console.info traceID=undefined method=POST url=/test status=404 responseTime=0ms at src/koa.ts:205:17 console.info Starting traceID=undefined method=POST url=/test body={"arbitrary":"data","nested":{"foo":"bar"}} headers={} at src/koa.ts:115:17 console.info traceID=undefined method=POST url=/test status=404 responseTime=1ms at src/koa.ts:205:17 console.info Starting traceID=undefined method=POST url=/raw-body-test body={"event":"kyc.request.approved","id":42} headers={} at src/koa.ts:115:17 console.info traceID=undefined method=POST url=/raw-body-test status=200 responseTime=0ms at src/koa.ts:205:17 console.info Starting traceID=undefined method=POST url=/hmac-test body={"a":1,"b":"two"} headers={} at src/koa.ts:115:17 console.info traceID=undefined method=POST url=/hmac-test status=200 responseTime=0ms at src/koa.ts:205:17 console.info Starting traceID=undefined method=POST url=/default-test body={"a":1} headers={} at src/koa.ts:115:17 console.info traceID=undefined method=POST url=/default-test status=200 responseTime=0ms at src/koa.ts:205:17 console.info Starting traceID=undefined method=POST url=/boom body={} headers={} at src/koa.ts:115:17 console.info traceID=undefined method=POST url=/boom status=422 responseTime=1ms errorResponse=component_value_out_of_range at src/koa.ts:205:17 console.info Starting traceID=undefined method=POST url=/boom body={} headers={} at src/koa.ts:115:17 console.info traceID=undefined method=POST url=/boom status=403 responseTime=0ms errorResponse=access_denied at src/koa.ts:205:17 console.info Starting traceID=undefined method=POST url=/boom body={} headers={} at src/koa.ts:115:17 console.info traceID=undefined method=POST url=/boom status=400 responseTime=0ms errorResponse=not_found at src/koa.ts:205:17 console.info Starting traceID=undefined method=POST url=/boom body={} headers={} at src/koa.ts:115:17 console.info traceID=undefined method=POST url=/boom status=400 responseTime=0ms errorResponse=bad_input at src/koa.ts:205:17 PASS tests/outbox-worker.test.ts ● Console console.info Outbox worker started (poll=50ms, batch=100, retention=7d) at startOutboxWorker (src/outbox-worker.ts:202:11) console.info Outbox worker stopped at src/outbox-worker.ts:214:15 console.info Outbox worker started (poll=50ms, batch=100, retention=7d) at startOutboxWorker (src/outbox-worker.ts:202:11) console.info Outbox worker stopped at src/outbox-worker.ts:214:15 console.info Outbox worker started (poll=50ms, batch=100, retention=7d) at startOutboxWorker (src/outbox-worker.ts:202:11) console.info Outbox worker stopped at src/outbox-worker.ts:214:15 console.info Outbox worker started (poll=50ms, batch=100, retention=7d) at startOutboxWorker (src/outbox-worker.ts:202:11) console.info Outbox worker: published 1/1 messages at src/outbox-worker.ts:179:19 console.info Outbox worker stopped at src/outbox-worker.ts:214:15 console.info Outbox worker started (poll=50ms, batch=100, retention=7d) at startOutboxWorker (src/outbox-worker.ts:202:11) console.info Outbox worker: published 1/1 messages at src/outbox-worker.ts:179:19 console.info Outbox worker stopped at src/outbox-worker.ts:214:15 console.info Outbox worker started (poll=50ms, batch=100, retention=7d) at startOutboxWorker (src/outbox-worker.ts:202:11) console.info Outbox worker: published 1/1 messages at src/outbox-worker.ts:179:19 console.info Outbox worker stopped at src/outbox-worker.ts:214:15 console.info Outbox worker started (poll=50ms, batch=100, retention=7d) at startOutboxWorker (src/outbox-worker.ts:202:11) console.info Outbox worker: published 1/1 messages at src/outbox-worker.ts:179:19 console.info Outbox worker stopped at src/outbox-worker.ts:214:15 console.info Outbox worker started (poll=50ms, batch=100, retention=7d) at startOutboxWorker (src/outbox-worker.ts:202:11) console.info Outbox worker: published 1/1 messages at src/outbox-worker.ts:179:19 console.info Outbox worker stopped at src/outbox-worker.ts:214:15 console.info Outbox worker started (poll=50ms, batch=100, retention=7d) at startOutboxWorker (src/outbox-worker.ts:202:11) console.info Outbox worker stopped at src/outbox-worker.ts:214:15 console.info Outbox worker started (poll=50ms, batch=100, retention=7d) at startOutboxWorker (src/outbox-worker.ts:202:11) console.info Outbox worker stopped at src/outbox-worker.ts:214:15 PASS tests/lazy-transaction.test.ts PASS tests/kafka-rack-retry.test.ts PASS tests/outbox.test.ts PASS tests/kafka-rack.test.ts ● Console console.info kafka client.rack resolved: ap-south-1b (attempt 1) at src/kafka.ts:671:15 console.warn kafka client.rack unset: IMDSv2 unreachable after 6 attempts — rack-aware routing disabled 676 | } 677 | > 678 | console.warn( | ^ 679 | `kafka client.rack unset: IMDSv2 unreachable after ${_IMDS_MAX_ATTEMPTS} attempts — rack-aware routing disabled`, 680 | ); 681 | return undefined; at src/kafka.ts:678:11 at Generator.throw () at rejected (src/kafka.ts:6:65) console.warn kafka client.rack unset: IMDSv2 unreachable after 6 attempts — rack-aware routing disabled 676 | } 677 | > 678 | console.warn( | ^ 679 | `kafka client.rack unset: IMDSv2 unreachable after ${_IMDS_MAX_ATTEMPTS} attempts — rack-aware routing disabled`, 680 | ); 681 | return undefined; at src/kafka.ts:678:11 at fulfilled (src/kafka.ts:5:58) console.warn kafka client.rack unset: IMDSv2 unreachable after 6 attempts — rack-aware routing disabled 676 | } 677 | > 678 | console.warn( | ^ 679 | `kafka client.rack unset: IMDSv2 unreachable after ${_IMDS_MAX_ATTEMPTS} attempts — rack-aware routing disabled`, 680 | ); 681 | return undefined; at src/kafka.ts:678:11 at Generator.throw () at rejected (src/kafka.ts:6:65) console.warn kafka client.rack unset: IMDSv2 unreachable after 6 attempts — rack-aware routing disabled 676 | } 677 | > 678 | console.warn( | ^ 679 | `kafka client.rack unset: IMDSv2 unreachable after ${_IMDS_MAX_ATTEMPTS} attempts — rack-aware routing disabled`, 680 | ); 681 | return undefined; at src/kafka.ts:678:11 at fulfilled (src/kafka.ts:5:58) console.info kafka client.rack resolved: ap-south-1a (attempt 1) at src/kafka.ts:671:15 PASS tests/kafka-outbox-wire.test.ts PASS tests/kafka-optional.test.ts PASS tests/kafka-platformatic-selection.test.ts ● Console console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'synthetic-broker:9092' ] } at src/kafka.ts:2167:13 console.info Kafka producer connected at PlatformaticProducer. (src/kafka.ts:913:15) console.debug Kafka message published { topic: 'synthetic', messageId: 'fallback_1795407478728_pkoa4vafzz', requestId: undefined, size: 30 } at src/kafka.ts:1919:13 PASS tests/tracing.test.ts ● Console console.debug PostgreSQL (pg) or PostgreSQL instrumentation not installed - skipping PostgreSQL instrumentation at Object. (src/tracing.ts:72:11) console.debug MongoDB packages not found - skipping MongoDB instrumentation at Object. (src/tracing.ts:109:13) Test Suites: 14 passed, 14 total Tests: 132 passed, 132 total Snapshots: 0 total Time: 34.895 s Ran all test suites. Showing logs for build greencapitaltrade/utils/pr-113 #1 stage from-build-pack and container step-build-test-errors