Skip to content

C++ SDK topic/ut: 64 partitions in ResetLatestAllPartitionsCommitted and cpu:4 under sanitizers - #59860

Open
sovetkinAA wants to merge 2 commits into
ydb-platform:mainfrom
sovetkinAA:patch-7
Open

sovetkinAA wants to merge 2 commits into
ydb-platform:mainfrom
sovetkinAA:patch-7

Conversation

@sovetkinAA

@sovetkinAA sovetkinAA commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Changelog entry

Not for changelog (tests only).

Description for reviewers

TResetOffsetSdkTests::ResetLatestAllPartitionsCommitted (#54149) does not fit into the 3600 s LARGE timeout under ASan. It times out in every nightly Regression-run_Large release-asan run since 06.11 (the test alone runs ~3300 s before its chunk is killed), and in the Arcadia heavy CI it fails in 149 of 183 runs since it was imported on 30.10. The test creates a topic with 1024 partitions and opens a separate write session for each of them. ResetOffset sends its requests to all partitions at once, without batching, so under a sanitizer the test now uses 64 partitions; builds without a sanitizer still use 1024.

After #53703 and #57897 the suite has REQUIREMENTS(cpu:1), taken from PR-check measurements, where the suite is MEDIUM and has no sanitizer. Under SANITIZER_TYPE it is LARGE, and the Arcadia heavy CI runs it in a Sandbox task with exactly one core. On older hosts LocalPartition::WithoutPartitionWithRestart and BasicUsage::Producer_TimeoutError then hit the 3600 s timeout too. The nightly ASan tests_metrics dashboard shows p95 2.7 cores per chunk for this suite (CPU tier cpu:4), so under SANITIZER_TYPE the suite gets cpu:4 again, as before #53703. MEDIUM runs keep cpu:1.

Checked in Arcadia (same files): ya dump json-test-list gives the suite LARGE with cpu:4, ram:32 under -DSANITIZER_TYPE=address and MEDIUM with cpu:1, ram:32 without it. In a release-asan build with the autocheck flags, ResetLatestAllPartitionsCommitted passes in 16 s.

cc @nshestakov @naspirato

@sovetkinAA
sovetkinAA requested a review from a team as a code owner November 17, 2026 20:48
@github-actions

Copy link
Copy Markdown
Contributor

Hi! Thank you for contributing!
The tests on this PR will run after a maintainer adds an ok-to-test label to this PR manually. Thank you for your patience!

@nshestakov nshestakov added the ok-to-test Special label used to approve a PR for testing on our infrastructure label Nov 18, 2026
@github-actions github-actions Bot removed the ok-to-test Special label used to approve a PR for testing on our infrastructure label Nov 18, 2026
@github-actions

github-actions Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

⚪ 2026-11-18 12:22:58 UTC Pre-commit check linux-x86_64-relwithdebinfo for 78c599d has started.
⚪ 2026-11-18 12:23:20 UTC Artifacts will be uploaded here
⚪ 2026-11-18 12:24:48 UTC ya make is running...
🟢 2026-11-18 12:32:29 UTC Tests successful.

Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
286 286 0 0 0 0

🟢 2026-11-18 12:32:34 UTC Build successful.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants