Allowlist StorageKafka2 Broker transport failure upgrade-check shutdown noise#106516
Conversation
…down noise The upgrade-check post-restart `<Error>` scrub catches a chronic shutdown-time log line emitted by `StorageKafka2`'s background `KafkaConsumer2::getAllTopicPartitionOffsets` poll loop when the Redpanda broker is in transition during the upgrade restart sequence: ``` <Error> StorageKafka2 (test_X.`03923_kafka2_keeper_offsets_test_X_kafka` (uuid)): Exception during get topic partitions from Kafka: Local: Broker transport failure ``` The line is produced by `LOG_ERROR` at `KafkaConsumer2.cpp:317` from the `cppkafka::HandleException` catch branch; the only call site is the background poll path in `KeeperHandlingConsumer.cpp:174`. The existing `[rdk:FAIL]`-prefix allowlist filter only matches raw librdkafka tagged log lines and does not cover this wrapper-exception variant. CIDB confirms this is widespread chronic noise, not a code regression: 38 hits across 38 distinct PRs in the last 14 days (8 / 16 / 14 on 2026-06-02 / 06-03 / 06-04), 0 master, 100% on `Upgrade check (amd_release)`, 100% involve `03923_kafka2_keeper_offsets`. The pattern has been visible since 2026-03-05 (test added 2026-02-15). Reported by @ alexey-milovidov on PR ClickHouse#99647 (recent spike since 2026-06-02). The added regex requires BOTH the `StorageKafka2` engine context AND the `Broker transport failure` symptom together, mirroring the narrowing approach used by the existing `rdk:FAIL.*Connect to.*failed: Connection refused` filter. Real `StorageKafka2` regressions (authentication failures, timeouts, protocol errors, other broker errors raised in this same code path) still surface. Related: ClickHouse#99647 Related: ClickHouse#101576 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Pre-PR validation gate
Session id: cron:clickhouse-ci-task-worker:20260605-001900 |
|
cc @maxknv — could you review this? It adds a narrow allowlist entry in the upgrade-check log scrub for the chronic shutdown-time |
|
Workflow [PR], commit [cdd64b4] Summary: ✅ AI ReviewSummaryThis PR adds a targeted Final VerdictStatus: ✅ Approve |
The
Upgrade check (amd_release)post-restart<Error>scrub catches a chronic shutdown-time log line emitted byStorageKafka2's backgroundKafkaConsumer2::getAllTopicPartitionOffsetspoll loop when the Redpanda broker is in transition during the upgrade restart sequence:The line is produced by
LOG_ERRORatKafkaConsumer2.cpp:317from thecppkafka::HandleExceptioncatch branch; the only call site is the background poll path inKeeperHandlingConsumer.cpp:174. The existing[rdk:FAIL]-prefix allowlist filter only matches raw librdkafka tagged log lines and does not cover this wrapper-exception variant.CIDB confirms this is widespread chronic environmental noise, not a code regression: 38 hits across 38 distinct PRs in the last 14 days (8 / 16 / 14 on 2026-06-02 / 06-03 / 06-04), 0 master hits, 100% on
Upgrade check (amd_release), 100% involve03923_kafka2_keeper_offsets. The pattern has been visible in CIDB since 2026-03-05 (the test was added on 2026-02-15). Reported on PR #99647 (recent spike since 2026-06-02).The added regex requires BOTH the
StorageKafka2engine context AND theBroker transport failuresymptom together, mirroring the narrowing approach used by the existingrdk:FAIL.*Connect to.*failed: Connection refusedfilter. RealStorageKafka2regressions (authentication failures, timeouts, protocol errors, other broker errors raised on this same code path) still surface.Related: #99647
Related: #101576
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
...
Documentation entry for user-facing changes