You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test(iceberg): lifecycle fault waiter deadline test flakes under UT coverage #28260
lifecycle fault waiter ignored deadline: all expectations were already fulfilled, call to Query select trigger_fault_point(iceberg-create-mapping-after-catalog-lock-waiters) with args [] was not expected
The coverage job reported two failed test/package events and zero build failures; the uploaded diagnostic artifact is ut-coverage-diagnostics-attempt-1.
Expected behavior
The lifecycle fault waiter deadline test should complete its deadline path without an unexpected extra fault-point query, and the package should pass under the all-package coverage workload.
Attribution evidence
The failure is in the Iceberg test package and the complete failed-job log identifies the unexpected mock query above.
PR fix(clone): skip external tables in database clone #28146 changes only database-clone frontend code, clone documentation, and the issue-27103 clone BVT; it does not modify test/iceberg, lifecycle fault waiters, or the coverage harness.
The same workflow run passed the clone-related build and SCA jobs; the failure is independent of the PRs clone behavior.
Reproduction
Run the repository CGo coverage UT workload in a clean checkout and inspect the Iceberg package result for TestLocalE2EWaitForLifecycleFaultWaitersHonorsDeadline. Preserve the uploaded failure summary and job log when rerunning so the mock-call ordering and deadline timing can be compared.
Scope
This is tracked as an unrelated CI/test issue and is not being changed in PR #28146.
Investigation complete. The uploaded UT coverage diagnostics (run 33961743746, artifact 9968464979) show the exact failure in TestLocalE2EWaitForLifecycleFaultWaitersHonorsDeadline: after the 2 ms deadline and 10 ms polling interval overlapped under instrumentation, the ticker branch could win and the next loop issued a second trigger_fault_point query. The helper had no context check before that poll, so the one-query sqlmock expectation failed before the expected deadline error could be returned.
The focused change adds a context check before every waiter poll. Existing success, query-error, empty-response, invalid-count, and deadline tests remain covered; local normal, coverage, race, package, and vet checks pass. Draft PR: #28261. The issue remains open for manual validation.
Attempt-2 follow-up for run 33961743746: the Iceberg UT coverage producer completed successfully, so the original TestLocalE2EWaitForLifecycleFaultWaitersHonorsDeadline assertion did not reproduce on the permitted retry. The separate Matrixone Utils CI / Coverage job failed because coverage merge saw expected PR head 627a1b3 but actual head 70794bc after the required rebase, and refused to merge a stale diff. This is rerun/rebase coordination evidence, not a repeated Iceberg failure and not caused by PR #28146. The current rebased head workflow run 33963805586 has been rerun; no further rerun of old attempt-2 will be issued.
Activity
gouhongshen commentedon Sep 5, 2026
Investigation complete. The uploaded UT coverage diagnostics (run 33961743746, artifact 9968464979) show the exact failure in
TestLocalE2EWaitForLifecycleFaultWaitersHonorsDeadline: after the 2 ms deadline and 10 ms polling interval overlapped under instrumentation, the ticker branch could win and the next loop issued a secondtrigger_fault_pointquery. The helper had no context check before that poll, so the one-query sqlmock expectation failed before the expected deadline error could be returned.The focused change adds a context check before every waiter poll. Existing success, query-error, empty-response, invalid-count, and deadline tests remain covered; local normal, coverage, race, package, and vet checks pass. Draft PR: #28261. The issue remains open for manual validation.
gouhongshen commentedon Sep 5, 2026
PR #28261 is trying to fix this issue.
gouhongshen commentedon Sep 5, 2026
Attempt-2 follow-up for run 33961743746: the Iceberg UT coverage producer completed successfully, so the original TestLocalE2EWaitForLifecycleFaultWaitersHonorsDeadline assertion did not reproduce on the permitted retry. The separate Matrixone Utils CI / Coverage job failed because coverage merge saw expected PR head 627a1b3 but actual head 70794bc after the required rebase, and refused to merge a stale diff. This is rerun/rebase coordination evidence, not a repeated Iceberg failure and not caused by PR #28146. The current rebased head workflow run 33963805586 has been rerun; no further rerun of old attempt-2 will be issued.
test(iceberg): stop waiter polling after context deadline (#28261)
gouhongshen commentedon Sep 5, 2026
PR #28261 has merged and is awaiting manual validation. The issue remains open.
test(iceberg): stop waiter polling after context deadline (matrixorig…
test(iceberg): stop waiter polling after context deadline (matrixorig…
test(iceberg): stop waiter polling after context deadline (matrixorig…