Repository navigation
Conversation
…d test lifecycles
|
@DataDog review |
|
🐶 babysit-pr is watching this PR — CI breakages and mechanical findings are fixed and pushed automatically; design decisions are always brought to you. This run
✅ stopped 13:00 UTC · PR #1019 closed — babysitting continues on #1022 Stop summary: no commits pushed; both CI reds (validate-quarantine stale gtest quarantine id, fuzz-build-and-soak UNIT_TEST-member compile error) were inherited from base |
There was a problem hiding this comment.
More details
The wider wait window preserves the existing chain-match and persistence assertions. Static review found no actionable defect, but the timing-sensitive external-process scenario was not rerun.
🤖 Bits Code Review · Commit 9c6276a
This comment has been minimized.
This comment has been minimized.
The chain event can only be built after the search's first BFS pass completes (chain-building polls are serialized behind the in-flight pass), which on Linux aarch64/glibc release lands at t~15-17s - after the previous 5-attempt tail had given up. Verified on glibc/release/aarch64 JDK 17: the test passes with the chain landing at tail attempts 6-7 across two full-suite runs.
…he scenario Release builds have no TEST_LOG, so a failing child previously reported only the final counters. Printing reference_chain_* counters each round shows when candidate admission happens, when frontier admissions stop, and when the chain event lands - the evidence that localized the Linux aarch64/glibc release failures to single-pass timing rather than a code defect.
9c6276a to
846f65c
Compare
CI Test ResultsRun: #44525650136 | Commit:
Status Overview
Legend: ✅ passed | ❌ failed | ⚪ skipped | 🚫 cancelled Summary: Total: 32 | Passed: 32 | Failed: 0 Updated: 2026-11-19 13:03:20 UTC |
What does this PR do?:
Widens the external-process leak-cache scenario's post-round tail from 5 fixed one-second attempts to a 60-second time budget, raises that test's child timeout from 90s to 150s, and prints per-round
reference_chain_*counters plus per-tail-attempt progress lines as failure diagnostics. Test-only change (2 files), stacked on #899.Motivation:
ExternalProcessReferenceChainTest.shouldReconstructReferrerChainInSeparateProcessfails[chain-not-found]on Linux aarch64/glibc release. Diagnosis (taskdiagnose-linux-slow-release-reference-chain-failures-9fx6): thedatadog.ReferenceChainevent materializes only at t≈15–17s because chain-building polls are serialized behind the search's first BFS pass under the engine lock, while the scenario's 5s tail closed the window ~10s too early. The same five failures reproduce identically on cleanmain(fulltestSlowReleaserun, glibc/release/aarch64, JDK 17) — pre-existing, not introduced by #899. #899 has since fixed the other four; this completes the remaining one.The engine-side observations from the diagnosis (polls blocked for the whole pass; terminal-state checks unreachable while passes are long/blocked) are recorded as follow-up material for #899's ongoing work, not addressed here.
Additional Notes:
How to test the change?:
./.claude/commands/build-and-summarize :ddprof-test:testSlowRelease -Ptests=ExternalProcessReferenceChainTeston Linux aarch64/glibc release (glibc/17-release-aarch64). Previously the leak-cache test failed[chain-not-found]essentially consistently; with this change it passes, with the chain landing inside the new tail budget.For Datadog employees: