Skip to content

many_topics_test: allow Prometheus oversized-allocation WARN#30968

Closed
sjust-redpanda wants to merge 1 commit into
redpanda-data:devfrom
sjust-redpanda:sjust/core-16754
Closed

many_topics_test: allow Prometheus oversized-allocation WARN#30968
sjust-redpanda wants to merge 1 commit into
redpanda-data:devfrom
sjust-redpanda:sjust/core-16754

Conversation

@sjust-redpanda

Copy link
Copy Markdown
Contributor

ManyTopicsTest lifecycle tests fail raise_on_bad_logs with a non-fatal
seastar_memory - oversized allocation: 208896 bytes WARN on the admin shard.
Symbolicating the backtrace (against the nightly binary actually under test)
shows it originates in Seastar's Prometheus text-exposition path: a /metrics
(or /public_metrics) scrape makes metric_aggregate_by_labels build a
per-request unordered_map<label_key, labels_value> whose hash-table rehash
allocates a >128 KiB bucket array at this test's ~40k-partition metric
cardinality. The harness scrapes metrics throughout every lifecycle variant, so
this can surface in any of them.

This adds a shared MANY_TOPICS_LOG_ALLOW_LIST allowing the specific,
deterministic 208896-byte admin-shard line across the lifecycle tests, to stop
the CI bleed while the underlying allocation is addressed separately. Matching
the exact size avoids masking unrelated admin-shard oversized allocations. The
underlying issue is tracked in CORE-16754 / CORE-16433.

Backports Required

  • none - not a bug fix

Release Notes

  • none

🤖 Generated with Claude Code

The admin-shard Prometheus exposition path (metric_aggregate_by_labels)
allocates a >128 KiB hash-table bucket array per scrape at this test's
~40k-partition metric cardinality, tripping a non-fatal seastar_memory
oversized-allocation WARN that fails raise_on_bad_logs. The harness scrapes
metrics throughout every lifecycle variant, so allow the (deterministic,
208896-byte) line across the ManyTopicsTest lifecycle tests via a shared
MANY_TOPICS_LOG_ALLOW_LIST. Matching the exact size avoids masking unrelated
admin-shard oversized allocations.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@WillemKauf

Copy link
Copy Markdown
Contributor

I am fixing the root of the issue here: redpanda-data/seastar#289

Not sure we need/want this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants