Showing logs for build greencapitaltrade/utils/pr-108 #4 stage from-build-pack and container prepare 2026/11/02 18:35:19 Entrypoint initialization Showing logs for build greencapitaltrade/utils/pr-108 #4 stage from-build-pack and container place-scripts 2026/11/02 18:35:19 Decoded script /tekton/scripts/script-0-mlgfl 2026/11/02 18:35:19 Decoded script /tekton/scripts/script-1-vr5sd 2026/11/02 18:35:19 Decoded script /tekton/scripts/script-2-vr46w 2026/11/02 18:35:19 Decoded script /tekton/scripts/script-3-s7tmf 2026/11/02 18:35:19 Decoded script /tekton/scripts/script-4-5sd9q 2026/11/02 18:35:19 Decoded script /tekton/scripts/script-5-62gp2 2026/11/02 18:35:19 Decoded script /tekton/scripts/script-6-xz6kb 2026/11/02 18:35:19 Decoded script /tekton/scripts/script-7-44t4h 2026/11/02 18:35:19 Decoded script /tekton/scripts/script-8-4c45f Showing logs for build greencapitaltrade/utils/pr-108 #4 stage from-build-pack and container working-dir-initializer Showing logs for build greencapitaltrade/utils/pr-108 #4 stage from-build-pack and container step-git-clone git cloning url: https://github.com/greencapitaltrade/utils.git version refs/pull/108/head:PR-108@f0466d03280b7c0636104d0fd55a4f7b470fffae to dir: source Cloning into 'source'... From https://github.com/greencapitaltrade/utils * [new ref] refs/pull/108/head -> PR-108 Switched to branch 'PR-108' HEAD is now at f0466d0 refactor: remove KafkaJS dependencies and type exports checked out revision: refs/pull/108/head:PR-108@f0466d03280b7c0636104d0fd55a4f7b470fffae to dir: source Showing logs for build greencapitaltrade/utils/pr-108 #4 stage from-build-pack and container step-git-merge setup git user email jenkins-x@googlegroups.com Using SHAs from PULL_REFS=main:c8c3f418f69935ee8479001604a96521cd8edc90,108:f0466d03280b7c0636104d0fd55a4f7b470fffae:refs/pull/108/head using base branch main and base sha c8c3f418f69935ee8479001604a96521cd8edc90 merging sha: f0466d03280b7c0636104d0fd55a4f7b470fffae Showing logs for build greencapitaltrade/utils/pr-108 #4 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-3781858257 in dir /tmp Cloning into '/tmp/jx-git-3781858257'... about to run: git sparse-checkout set --no-cone jx-requirements.yml .jx/gitops/source-config.yaml in dir /tmp/jx-git-3781858257 about to run: git checkout in dir /tmp/jx-git-3781858257 Your branch is up to date with 'origin/main'. export APP_NAME='utils' export BRANCH_NAME='PR-108' export BUILD_NUMBER='4' 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-108/4' 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-108-4-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-108-4-SNAPSHOT' added variables to file: .jx/variables.sh added variables to file: .jx/variables.sh Showing logs for build greencapitaltrade/utils/pr-108 #4 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 58s 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-108 #4 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-108 #4 stage from-build-pack and container step-build-lint-errors Showing logs for build greencapitaltrade/utils/pr-108 #4 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-108 #4 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 (29.287 s) ● Console console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2161:13 console.debug Kafka message published { topic: 'synthetic', messageId: 'fallback_1793644676969_pit2layx3qo', requestId: undefined, size: 22 } at src/kafka.ts:1913:13 console.info Topic refresh polling disabled (KAFKA_TOPIC_REFRESH_INTERVAL=0) at KafkaManager. (src/kafka.ts:1397:15) console.info Kafka consumers and manager disconnected at src/kafka.ts:2405:11 console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2161:13 console.info Kafka consumers and manager disconnected at src/kafka.ts:2405:11 console.error Kafka publish failed { topic: 'synthetic', messageId: 'fallback_1793644677068_tge4coh02v', requestId: undefined, error: 'KAFKA_PRODUCER_NOT_CONNECTED', errorType: 'Error' } 1921 | } catch (error) { 1922 | // Always log errors > 1923 | console.error('Kafka publish failed', { | ^ 1924 | topic, 1925 | messageId: id, 1926 | requestId: context.get('requestId'), at src/kafka.ts:1923: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:2161:13 console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2161:13 console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2161:13 console.debug Kafka message published { topic: 'test.topic', messageId: 'fallback_1793644677163_wt2hwp84i1', requestId: undefined, size: 24 } at src/kafka.ts:1913:13 console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2161:13 console.info Kafka producer: reconnect loop starting at KafkaManager.startReconnectLoop (src/kafka.ts:847:13) at Generator.throw () console.error Kafka publish failed { topic: 't', messageId: 'fallback_1793644677164_aizes2hrj88', requestId: undefined, error: 'Simulated PLT_KFK_NETWORK', errorType: 'Error' } 1921 | } catch (error) { 1922 | // Always log errors > 1923 | console.error('Kafka publish failed', { | ^ 1924 | topic, 1925 | messageId: id, 1926 | requestId: context.get('requestId'), at src/kafka.ts:1923:13 at Generator.throw () at rejected (src/kafka.ts:6:65) console.error Kafka publish failed { topic: 't', messageId: 'fallback_1793644677164_zsjx31athqp', requestId: undefined, error: 'KAFKA_PRODUCER_NOT_CONNECTED', errorType: 'Error' } 1921 | } catch (error) { 1922 | // Always log errors > 1923 | console.error('Kafka publish failed', { | ^ 1924 | topic, 1925 | messageId: id, 1926 | requestId: context.get('requestId'), at src/kafka.ts:1923: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:2161:13 console.debug Kafka message published { topic: 't', messageId: 'fallback_1793644677352_88nvqgkyhf4', requestId: undefined, size: 22 } at src/kafka.ts:1913:13 console.warn Kafka producer disconnected 910 | this.producer.on('producer.disconnect', () => { 911 | if (!this.shuttingDown) { > 912 | console.warn('Kafka producer disconnected'); | ^ 913 | this.startReconnectLoop(); 914 | } 915 | }); at Object.producer.disconnect (src/kafka.ts:912: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:847:13) console.error Kafka publish failed { topic: 't', messageId: 'fallback_1793644677352_q0o0z6f6du', requestId: undefined, error: 'KAFKA_PRODUCER_NOT_CONNECTED', errorType: 'Error' } 1921 | } catch (error) { 1922 | // Always log errors > 1923 | console.error('Kafka publish failed', { | ^ 1924 | topic, 1925 | messageId: id, 1926 | requestId: context.get('requestId'), at src/kafka.ts:1923: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:2161:13 console.debug Kafka message published { topic: 't', messageId: 'fallback_1793644677357_2mhrhfvcivu', requestId: undefined, size: 22 } at src/kafka.ts:1913:13 console.info Kafka producer: reconnect loop starting at KafkaManager.startReconnectLoop (src/kafka.ts:847:13) at Generator.throw () console.error Kafka publish failed { topic: 't', messageId: 'fallback_1793644677357_2k4dzmma4sc', requestId: undefined, error: 'Simulated PLT_KFK_NETWORK', errorType: 'Error' } 1921 | } catch (error) { 1922 | // Always log errors > 1923 | console.error('Kafka publish failed', { | ^ 1924 | topic, 1925 | messageId: id, 1926 | requestId: context.get('requestId'), at src/kafka.ts:1923:13 at Generator.throw () at rejected (src/kafka.ts:6:65) console.error Kafka publish failed { topic: 't', messageId: 'fallback_1793644677357_ly73s6h7jli', requestId: undefined, error: 'Simulated PLT_KFK_NETWORK', errorType: 'Error' } 1921 | } catch (error) { 1922 | // Always log errors > 1923 | console.error('Kafka publish failed', { | ^ 1924 | topic, 1925 | messageId: id, 1926 | requestId: context.get('requestId'), at src/kafka.ts:1923:13 at Generator.throw () at rejected (src/kafka.ts:6:65) console.error Kafka publish failed { topic: 't', messageId: 'fallback_1793644677357_lzodgbajxig', requestId: undefined, error: 'Simulated PLT_KFK_NETWORK', errorType: 'Error' } 1921 | } catch (error) { 1922 | // Always log errors > 1923 | console.error('Kafka publish failed', { | ^ 1924 | topic, 1925 | messageId: id, 1926 | requestId: context.get('requestId'), at src/kafka.ts:1923: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' } 879 | if (retired()) return; 880 | const nextDelay = Math.min(delay * 2, RECONNECT_MAX_DELAY_MS); > 881 | console.warn('Kafka producer reconnect attempt failed', { | ^ 882 | delayMs: delay, 883 | nextDelayMs: nextDelay, 884 | error: err instanceof Error ? err.message : String(err), at KafkaManager. (src/kafka.ts:881: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:2161:13 console.info Kafka producer: reconnect loop starting at KafkaManager.startReconnectLoop (src/kafka.ts:847:13) at Generator.throw () console.error Kafka publish failed { topic: 't', messageId: 'fallback_1793644677368_wja7o0lv05', requestId: undefined, error: 'Simulated PLT_KFK_NETWORK', errorType: 'Error' } 1921 | } catch (error) { 1922 | // Always log errors > 1923 | console.error('Kafka publish failed', { | ^ 1924 | topic, 1925 | messageId: id, 1926 | requestId: context.get('requestId'), at src/kafka.ts:1923: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' } 879 | if (retired()) return; 880 | const nextDelay = Math.min(delay * 2, RECONNECT_MAX_DELAY_MS); > 881 | console.warn('Kafka producer reconnect attempt failed', { | ^ 882 | delayMs: delay, 883 | nextDelayMs: nextDelay, 884 | error: err instanceof Error ? err.message : String(err), at KafkaManager. (src/kafka.ts:881: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' } 879 | if (retired()) return; 880 | const nextDelay = Math.min(delay * 2, RECONNECT_MAX_DELAY_MS); > 881 | console.warn('Kafka producer reconnect attempt failed', { | ^ 882 | delayMs: delay, 883 | nextDelayMs: nextDelay, 884 | error: err instanceof Error ? err.message : String(err), at KafkaManager. (src/kafka.ts:881: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' } 879 | if (retired()) return; 880 | const nextDelay = Math.min(delay * 2, RECONNECT_MAX_DELAY_MS); > 881 | console.warn('Kafka producer reconnect attempt failed', { | ^ 882 | delayMs: delay, 883 | nextDelayMs: nextDelay, 884 | error: err instanceof Error ? err.message : String(err), at KafkaManager. (src/kafka.ts:881: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' } 879 | if (retired()) return; 880 | const nextDelay = Math.min(delay * 2, RECONNECT_MAX_DELAY_MS); > 881 | console.warn('Kafka producer reconnect attempt failed', { | ^ 882 | delayMs: delay, 883 | nextDelayMs: nextDelay, 884 | error: err instanceof Error ? err.message : String(err), at KafkaManager. (src/kafka.ts:881: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' } 879 | if (retired()) return; 880 | const nextDelay = Math.min(delay * 2, RECONNECT_MAX_DELAY_MS); > 881 | console.warn('Kafka producer reconnect attempt failed', { | ^ 882 | delayMs: delay, 883 | nextDelayMs: nextDelay, 884 | error: err instanceof Error ? err.message : String(err), at KafkaManager. (src/kafka.ts:881: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' } 879 | if (retired()) return; 880 | const nextDelay = Math.min(delay * 2, RECONNECT_MAX_DELAY_MS); > 881 | console.warn('Kafka producer reconnect attempt failed', { | ^ 882 | delayMs: delay, 883 | nextDelayMs: nextDelay, 884 | error: err instanceof Error ? err.message : String(err), at KafkaManager. (src/kafka.ts:881: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:2161:13 console.info Kafka producer: reconnect loop starting at KafkaManager.startReconnectLoop (src/kafka.ts:847:13) at Generator.throw () console.error Kafka publish failed { topic: 't', messageId: 'fallback_1793644677453_qr0zzcavna', requestId: undefined, error: 'Simulated PLT_KFK_NETWORK', errorType: 'Error' } 1921 | } catch (error) { 1922 | // Always log errors > 1923 | console.error('Kafka publish failed', { | ^ 1924 | topic, 1925 | messageId: id, 1926 | requestId: context.get('requestId'), at src/kafka.ts:1923:13 at Generator.throw () at rejected (src/kafka.ts:6:65) console.info Kafka producer reconnected { afterDelayMs: 5000 } at KafkaManager. (src/kafka.ts:876:17) console.debug Kafka message published { topic: 't', messageId: 'fallback_1793644682553_mz9020et8m', requestId: undefined, size: 23 } at src/kafka.ts:1913:13 console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2161:13 console.debug Kafka message published { topic: 't', messageId: 'fallback_1793644677489_ql5r9yj89t', requestId: undefined, size: 22 } at src/kafka.ts:1913:13 console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2161:13 console.info Kafka producer: reconnect loop starting at KafkaManager.startReconnectLoop (src/kafka.ts:847:13) at Generator.throw () console.error Kafka publish failed { topic: 't', messageId: 'fallback_1793644677494_q1t23euness', requestId: undefined, error: 'Simulated PLT_KFK_NETWORK', errorType: 'Error' } 1921 | } catch (error) { 1922 | // Always log errors > 1923 | console.error('Kafka publish failed', { | ^ 1924 | topic, 1925 | messageId: id, 1926 | requestId: context.get('requestId'), at src/kafka.ts:1923: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:2161:13 console.info Kafka producer: reconnect loop starting at KafkaManager.startReconnectLoop (src/kafka.ts:847:13) at Generator.throw () console.error Kafka publish failed { topic: 't', messageId: 'fallback_1793644677562_ald6inx7zmt', requestId: undefined, error: 'Simulated PLT_KFK_NETWORK', errorType: 'Error' } 1921 | } catch (error) { 1922 | // Always log errors > 1923 | console.error('Kafka publish failed', { | ^ 1924 | topic, 1925 | messageId: id, 1926 | requestId: context.get('requestId'), at src/kafka.ts:1923: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' } 879 | if (retired()) return; 880 | const nextDelay = Math.min(delay * 2, RECONNECT_MAX_DELAY_MS); > 881 | console.warn('Kafka producer reconnect attempt failed', { | ^ 882 | delayMs: delay, 883 | nextDelayMs: nextDelay, 884 | error: err instanceof Error ? err.message : String(err), at KafkaManager. (src/kafka.ts:881: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:2161:13 console.debug Kafka message published { topic: 'warmup.topic', messageId: 'fallback_1793644683671_3zoz3mr4u6l', requestId: undefined, size: 27 } at src/kafka.ts:1913:13 console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2161:13 console.debug Kafka message published { topic: 'warmup.topic', messageId: 'fallback_1793644683753_rufgjmq8te', requestId: undefined, size: 27 } at src/kafka.ts:1913:13 console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2161:13 console.debug Kafka message published { topic: 'warmup.topic', messageId: 'fallback_1793644683778_483w37b7f0t', requestId: undefined, size: 27 } at src/kafka.ts:1913:13 console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2161:13 console.debug Kafka message published { topic: 'warmup.topic', messageId: 'fallback_1793644683800_xem66gdwsq', requestId: undefined, size: 27 } at src/kafka.ts:1913:13 console.debug Kafka message published { topic: 't', messageId: 'fallback_1793644683800_0urvois5fps', requestId: undefined, size: 52 } at src/kafka.ts:1913:13 console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2161:13 console.debug Kafka message published { topic: 'warmup.topic', messageId: 'fallback_1793644683803_ul5kub1s6xm', requestId: undefined, size: 27 } at src/kafka.ts:1913:13 console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2161:13 console.debug Kafka message published { topic: 'warmup.topic', messageId: 'fallback_1793644683825_s3f5mbqy49', requestId: undefined, size: 27 } at src/kafka.ts:1913:13 console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2161:13 console.debug Kafka message published { topic: 'warmup.topic', messageId: 'fallback_1793644683856_k2xb4jruzo7', requestId: undefined, size: 27 } at src/kafka.ts:1913:13 console.warn Post-commit publish failed { topic: 't', outboxId: null, durable: false, error: 'broker unreachable' } 1787 | } catch (error) { 1788 | const errorMessage = error instanceof Error ? error.message : String(error); > 1789 | console.warn('Post-commit publish failed', { | ^ 1790 | topic, 1791 | outboxId, 1792 | durable: outboxId !== null, at src/kafka.ts:1789: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_1793644683856_zvrzh59z76' } 1797 | // Ordering tier: no row, so this event is now lost. Loud on purpose — 1798 | // this is the gap that createOutboxMigration closes. > 1799 | console.error('Event dropped: no outbox_events table to retry from', { | ^ 1800 | topic, 1801 | messageId: kafkaMessage.headers['x-message-id'], 1802 | }); at src/kafka.ts:1799: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:2161:13 console.debug Kafka message published { topic: 'warmup.topic', messageId: 'fallback_1793644683878_uklxwpp5j9p', requestId: undefined, size: 27 } at src/kafka.ts:1913:13 console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2161:13 console.debug Kafka message published { topic: 'warmup.topic', messageId: 'fallback_1793644683900_khwq4af93gi', requestId: undefined, size: 27 } at src/kafka.ts:1913:13 console.warn Dropping publish for a rolled-back transaction { topic: 't' } 1698 | // The writes this event describes are gone. Publishing now would be the 1699 | // phantom event the whole deferral exists to prevent. > 1700 | console.warn('Dropping publish for a rolled-back transaction', { topic }); | ^ 1701 | return { deferred: true as const }; 1702 | } 1703 | at src/kafka.ts:1700:13 at src/kafka.ts:8:71 at Object..__awaiter (src/kafka.ts:4:12) at deferToAfterCommit (src/kafka.ts:1684:57) at src/kafka.ts:1897:12 at src/kafka.ts:8:71 at Object..__awaiter (src/kafka.ts:4:12) at publish (src/kafka.ts:1868: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:2161:13 console.debug Kafka message published { topic: 'warmup.topic', messageId: 'fallback_1793644683923_cv09x3jo6a5', requestId: undefined, size: 27 } at src/kafka.ts:1913:13 console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2161:13 console.debug Kafka message published { topic: 'warmup.topic', messageId: 'fallback_1793644683946_ho596t5oyre', requestId: undefined, size: 27 } at src/kafka.ts:1913:13 console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2161:13 console.debug Kafka message published { topic: 'warmup.topic', messageId: 'fallback_1793644683969_174g95njypx', requestId: undefined, size: 27 } at src/kafka.ts:1913:13 console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2161:13 console.debug Kafka message published { topic: 'warmup.topic', messageId: 'fallback_1793644683993_9lnn43hpbas', requestId: undefined, size: 27 } at src/kafka.ts:1913:13 console.warn Post-commit publish failed { topic: 't', outboxId: 7, durable: true, error: 'broker unreachable' } 1787 | } catch (error) { 1788 | const errorMessage = error instanceof Error ? error.message : String(error); > 1789 | console.warn('Post-commit publish failed', { | ^ 1790 | topic, 1791 | outboxId, 1792 | durable: outboxId !== null, at src/kafka.ts:1789: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:2161:13 console.debug Kafka message published { topic: 'warmup.topic', messageId: 'fallback_1793644684015_e9arjwtxwl', requestId: undefined, size: 27 } at src/kafka.ts:1913:13 console.warn Post-commit publish failed { topic: 't', outboxId: 7, durable: true, error: 'inline publish exceeded 10000ms' } 1787 | } catch (error) { 1788 | const errorMessage = error instanceof Error ? error.message : String(error); > 1789 | console.warn('Post-commit publish failed', { | ^ 1790 | topic, 1791 | outboxId, 1792 | durable: outboxId !== null, at src/kafka.ts:1789: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:2161:13 console.debug Kafka message published { topic: 'warmup.topic', messageId: 'fallback_1793644684018_dkf7fb0oly5', requestId: undefined, size: 27 } at src/kafka.ts:1913:13 console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2161:13 console.debug Kafka message published { topic: 'warmup.topic', messageId: 'fallback_1793644684041_lg0bndtjp8', requestId: undefined, size: 27 } at src/kafka.ts:1913:13 console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2161:13 console.debug Kafka message published { topic: 'warmup.topic', messageId: 'fallback_1793644684064_6j496v1osch', requestId: undefined, size: 27 } at src/kafka.ts:1913:13 PASS tests/kafka-guaranteed.test.ts ● Console console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2161:13 console.debug Kafka message published { topic: 'warmup.topic', messageId: 'fallback_1793644686569_yf7msbnt5v', requestId: undefined, size: 27 } at src/kafka.ts:1913:13 console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2161:13 console.debug Kafka message published { topic: 'warmup.topic', messageId: 'fallback_1793644686574_hie11qhsaxs', requestId: undefined, size: 27 } at src/kafka.ts:1913:13 console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2161:13 console.debug Kafka message published { topic: 'warmup.topic', messageId: 'fallback_1793644686658_p13w4ez129', requestId: undefined, size: 27 } at src/kafka.ts:1913:13 console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2161:13 console.debug Kafka message published { topic: 'warmup.topic', messageId: 'fallback_1793644686759_9nw47l2ec7', requestId: undefined, size: 27 } at src/kafka.ts:1913:13 console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2161:13 console.debug Kafka message published { topic: 'warmup.topic', messageId: 'fallback_1793644686761_u8x0cc1qxgc', requestId: undefined, size: 27 } at src/kafka.ts:1913:13 console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2161:13 console.debug Kafka message published { topic: 'warmup.topic', messageId: 'fallback_1793644686784_p4g7qhfu17', requestId: undefined, size: 27 } at src/kafka.ts:1913:13 console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2161:13 console.debug Kafka message published { topic: 'warmup.topic', messageId: 'fallback_1793644686807_tgc9ljwoxcl', requestId: undefined, size: 27 } at src/kafka.ts:1913:13 console.warn Post-commit publish failed { topic: 't', outboxId: 42, durable: true, error: 'broker unreachable' } 1787 | } catch (error) { 1788 | const errorMessage = error instanceof Error ? error.message : String(error); > 1789 | console.warn('Post-commit publish failed', { | ^ 1790 | topic, 1791 | outboxId, 1792 | durable: outboxId !== null, at src/kafka.ts:1789: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:2161:13 console.debug Kafka message published { topic: 'warmup.topic', messageId: 'fallback_1793644686831_nxmwz97hcf', requestId: undefined, size: 27 } at src/kafka.ts:1913:13 console.warn Outbox row published but not marked delivered { outboxId: 42, error: 'db gone' } 1844 | // Published but not marked: the worker redelivers after the grace window. 1845 | // At-least-once, the same guarantee the worker itself gives. > 1846 | console.warn('Outbox row published but not marked delivered', { | ^ 1847 | outboxId, 1848 | error: 1849 | updateError instanceof Error at src/kafka.ts:1846: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:2161:13 console.debug Kafka message published { topic: 'warmup.topic', messageId: 'fallback_1793644686833_0mrskqb9d3r', requestId: undefined, size: 27 } at src/kafka.ts:1913:13 console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2161:13 console.debug Kafka message published { topic: 'warmup.topic', messageId: 'fallback_1793644686857_rw1nuck8rvk', requestId: undefined, size: 27 } at src/kafka.ts:1913:13 console.debug Kafka message published { topic: 'ironman.repayment.bill.completed', messageId: 'fallback_1793644686858_q9ik8ptiyr', requestId: undefined, size: 50 } at src/kafka.ts:1913:13 console.info Kafka initialized with config { consumerCount: 0, brokers: [ 'localhost:9092' ] } at src/kafka.ts:2161:13 console.debug Kafka message published { topic: 'warmup.topic', messageId: 'fallback_1793644686860_lxe1cgvxqvi', requestId: undefined, size: 27 } at src/kafka.ts:1913:13 console.error Kafka publish failed { topic: 'ironman.repayment.bill.completed', messageId: 'fallback_1793644686860_bwww8m7v0ed', requestId: undefined, error: 'broker unreachable', errorType: 'Error' } 1921 | } catch (error) { 1922 | // Always log errors > 1923 | console.error('Kafka publish failed', { | ^ 1924 | topic, 1925 | messageId: id, 1926 | requestId: context.get('requestId'), at src/kafka.ts:1923: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' } 2006 | }); 2007 | } catch (kafkaError) { > 2008 | console.warn('Kafka publish failed, falling back to outbox', { | ^ 2009 | topic, 2010 | eventType: message.name, 2011 | error: at src/kafka.ts:2008:13 at Generator.throw () at rejected (src/kafka.ts:6:65) 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/koa.test.ts ● Console console.info Starting traceID=undefined method=POST url=/test body={"name":"test","value":123} headers={} at src/koa.ts:124:17 console.info traceID=undefined method=POST url=/test status=404 responseTime=0ms at src/koa.ts:212:17 console.info Starting traceID=undefined method=POST url=/test body={"arbitrary":"data","nested":{"foo":"bar"}} headers={} at src/koa.ts:124:17 console.info traceID=undefined method=POST url=/test status=404 responseTime=0ms at src/koa.ts:212:17 console.info Starting traceID=undefined method=POST url=/raw-body-test body={"event":"kyc.request.approved","id":42} headers={} at src/koa.ts:124:17 console.info traceID=undefined method=POST url=/raw-body-test status=200 responseTime=0ms at src/koa.ts:212:17 console.info Starting traceID=undefined method=POST url=/hmac-test body={"a":1,"b":"two"} headers={} at src/koa.ts:124:17 console.info traceID=undefined method=POST url=/hmac-test status=200 responseTime=0ms at src/koa.ts:212:17 console.info Starting traceID=undefined method=POST url=/default-test body={"a":1} headers={} at src/koa.ts:124:17 console.info traceID=undefined method=POST url=/default-test status=200 responseTime=1ms at src/koa.ts:212:17 console.info Starting traceID=undefined method=POST url=/boom body={} headers={} at src/koa.ts:124:17 console.info traceID=undefined method=POST url=/boom status=422 responseTime=1ms errorResponse=component_value_out_of_range at src/koa.ts:212:17 console.info Starting traceID=undefined method=POST url=/boom body={} headers={} at src/koa.ts:124:17 console.info traceID=undefined method=POST url=/boom status=403 responseTime=0ms errorResponse=access_denied at src/koa.ts:212:17 console.info Starting traceID=undefined method=POST url=/boom body={} headers={} at src/koa.ts:124:17 console.info traceID=undefined method=POST url=/boom status=400 responseTime=1ms errorResponse=not_found at src/koa.ts:212:17 console.info Starting traceID=undefined method=POST url=/boom body={} headers={} at src/koa.ts:124:17 console.info traceID=undefined method=POST url=/boom status=400 responseTime=0ms errorResponse=bad_input at src/koa.ts:212:17 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:665:15 console.warn kafka client.rack unset: IMDSv2 unreachable after 6 attempts — rack-aware routing disabled 670 | } 671 | > 672 | console.warn( | ^ 673 | `kafka client.rack unset: IMDSv2 unreachable after ${_IMDS_MAX_ATTEMPTS} attempts — rack-aware routing disabled`, 674 | ); 675 | return undefined; at src/kafka.ts:672: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 670 | } 671 | > 672 | console.warn( | ^ 673 | `kafka client.rack unset: IMDSv2 unreachable after ${_IMDS_MAX_ATTEMPTS} attempts — rack-aware routing disabled`, 674 | ); 675 | return undefined; at src/kafka.ts:672:11 at fulfilled (src/kafka.ts:5:58) console.warn kafka client.rack unset: IMDSv2 unreachable after 6 attempts — rack-aware routing disabled 670 | } 671 | > 672 | console.warn( | ^ 673 | `kafka client.rack unset: IMDSv2 unreachable after ${_IMDS_MAX_ATTEMPTS} attempts — rack-aware routing disabled`, 674 | ); 675 | return undefined; at src/kafka.ts:672: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 670 | } 671 | > 672 | console.warn( | ^ 673 | `kafka client.rack unset: IMDSv2 unreachable after ${_IMDS_MAX_ATTEMPTS} attempts — rack-aware routing disabled`, 674 | ); 675 | return undefined; at src/kafka.ts:672:11 at fulfilled (src/kafka.ts:5:58) console.info kafka client.rack resolved: ap-south-1a (attempt 1) at src/kafka.ts:665: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:2161:13 console.info Kafka producer connected at PlatformaticProducer. (src/kafka.ts:907:15) console.debug Kafka message published { topic: 'synthetic', messageId: 'fallback_1793644700465_gmv9glcnd0l', requestId: undefined, size: 30 } at src/kafka.ts:1913: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: 126 passed, 126 total Snapshots: 0 total Time: 53.601 s Ran all test suites. Showing logs for build greencapitaltrade/utils/pr-108 #4 stage from-build-pack and container step-build-test-errors