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
[Bug]: unsharded race UT run exceeds hard timeout in embedded stage #28538
The runner reported UT HARD TIMEOUT: 70m; at 71m13s it exited with make: *** [Makefile:513: ut] Error 124.
The checkpoint shows the embedded-cluster race stage was cancelled. Active/incomplete cases at cancellation were pkg/tests/issues/isolated.TestIssue27719DropAccountCleansSQLTaskLifecycle and pkg/tests/upgrade.Test_UpgradeEntry.
Expected behavior
UT scheduling and budgets should let the selected suite complete with actionable per-test failures, rather than terminating the whole job at the outer deadline.
Scope
This failure is unrelated to PR #28291: that PR changes only four pkg/fileservice test files; the timeout occurred in the global race UT embedded stage and did not select a fileservice failure.
Next steps
Profile the embedded stage and the two active cases; then either reduce its deterministic runtime or adjust/shard the job budget while preserving diagnostics.
This issue requires human involvement and cannot currently be completed independently by the
automated fix loop.
Reason
Requires CI-owner involvement: run the current Ubuntu race suite on its target runner and decide the allowed all-suite budget versus external matrix sharding; then close it if that run completes, or reopen it with the measured failing stage. A coding agent cannot independently prove a wall-clock budget fix with UT/BVT.
Evidence
The report has only an outer timeout, with two active embedded tests but no failing test/root cause. Current origin/main already contains the runner lifecycle/diagnostic change (d2b7563) and fixture work affecting the named Upgrade/isolated paths (558487e, ac660ae). The repository still delegates actual CI execution to the external matrixorigin/CI reusable workflow.
Please use this analysis to provide the missing decision, environment, evidence, or ownership
needed before the issue is returned to the AI candidate pool.
make ut exceeded the 70-minute hard deadline (Error 124; elapsed 71m8.781s). The checkpoint finished the resource-heavy race stage, started the pkg/sql/plan eight-shard race stage, then received the global timeout cancellation; diagnostics found no active or incomplete individual case.
This reproduces #28538’s global UT-deadline root cause. The workflow is already on attempt 2 and is not rerun again.
Fresh repeat on the post-#28546 main-backed PR head: run 34416645944/job 102683008274 reached the 70-minute global UT limit (wall time 71m24s) and received SIGTERM during pkg/sql/plan race shard 6/8. The runner reports no terminal Go-test failure, assertion, or race; its only incomplete work was pkg/sql/plan after the global deadline. This is the same scheduler/deadline failure mode, unrelated to PR #28291’s four fileservice test files. The workflow was attempt 1, so its failed job will be rerun once under the PR CI policy.
command: make ut UT_CONFIGURED=1 UT_PARALLEL=6 UT_TIMEOUT=40 UT_SHARD=all
failure excerpt: the embedded stage was cancelled by the outer hard timeout with make: *** [Makefile:513: ut] Error 124; the last active case was pkg/tests/upgrade.TestV406MaintenanceIsTenantLocalAndCleansLateCreatedTenant. The log has no terminal assertion, panic, compile/type/static/security error, or race report.
After rebasing the PR worktree onto clean official up/main7c643f4, current PR head efb0bb3d8c4acc4eea88bea7eb6ce53f1013d4ce passed the exact failing case three consecutive times under the CI-equivalent CGo/race/tags command: 30.20s, 17.39s, 17.19s.
Clean up/main7c643f4 passed the identical command three consecutive times: 32.00s, 19.50s, 19.84s.
The PR diff does not modify pkg/tests/upgrade, this test, the orphan-privilege maintenance implementation, or the UT runner/harness. Its changed information-schema closure and all focused protocol/persistence/upgrade checks pass; the timeout is the aggregate embedded-stage deadline mechanism covered by this issue, not a terminal failure in the named test.
The failed run will be rerun once after this evidence is recorded.
command: make ut UT_CONFIGURED=1 UT_PARALLEL=6 UT_TIMEOUT=40 UT_SHARD=all
Failure evidence from the complete UT log:
routing, preparation, package discovery, native CGo build/smoke, light race, HNSW race, and the exclusive pkg/tests/issues stage all finished with status 0.
the embedded stage checkpoint later recorded status 1, but the workflow exposed no terminal Go test event, assertion, panic, compile/type/static/security error, or race report for that stage.
at the 70-minute outer deadline, the runner sent SIGTERM while resource-heavy and engine race work was active; the log ends with make: *** [Makefile:513: ut] Error 124, real 71m35.529s, and go tool test2json: signal: terminated.
the active cases listed after cancellation were pkg/fileservice.TestFuzzingDiskS3 workers 0-7 and pkg/vm/engine/test.TestISCPExecutor3/4; they were cancellation victims, not reported terminal failures.
PR-specific comparison:
the current PR diff does not modify the UT runner/harness, pkg/fileservice, or pkg/vm/engine/test.
the changed information-schema/protocol/upgrade closure passes its focused CGo tests, compile/vet checks, and three consecutive CI-equivalent race runs of pkg/tests/upgrade.TestV406MaintenanceIsTenantLocalAndCleansLateCreatedTenant.
the same PR run's Compose BVT report records test/distributed/cases/view/information_schema_views_metadata.sql as TOTAL :39, SUCCESS :39, FAILED :0.
This is the aggregate hard-deadline failure mode already analyzed in this open issue, with independent Linux/x64 occurrences linked above in the issue history. The failed run will be rerun once after this evidence is recorded.
Recurrence of the unsharded race-UT outer deadline in PR #33160, head ed993e4cd2ece78920cef8c8bef6dbf3b77762d1.
Run 46342471932 attempt 1, Ubuntu/x86 UT job 141597152717 ran time make ut UT_CONFIGURED=1 UT_PARALLEL=8 UT_TIMEOUT=40 UT_SHARD=all. It reported UT HARD TIMEOUT: 120m at 02:46:55 UTC, then sent TERM at 04:46:55 UTC during the embedded pkg/tests/issues/isolated batch. The make recipe returned 124 and elapsed time including setup/cleanup was 122m01s. The affected batch started 27 seconds before the outer deadline and had four active tests, without an individual test-timeout event for them. Checkpoint logs show the preceding pkg/tests/dml batch had just completed. UT diagnostics
The exact cancellation time, configured outer limit and exit 124 identify the suite-budget failure. The PR does not change the UT scheduler, its settings or the interrupted fixture. Earlier terminal failures in HAKeeper and authenticated-cluster setup are being checked separately and are distinct from the batch interrupted by the outer deadline. The plan is one failed-jobs rerun of the parent run after the failure evidence has been recorded.
Activity
gouhongshen commentedon Sep 9, 2026
Automated AI triage
This issue requires human involvement and cannot currently be completed independently by the
automated fix loop.
Reason
Requires CI-owner involvement: run the current Ubuntu race suite on its target runner and decide the allowed all-suite budget versus external matrix sharding; then close it if that run completes, or reopen it with the measured failing stage. A coding agent cannot independently prove a wall-clock budget fix with UT/BVT.
Evidence
The report has only an outer timeout, with two active embedded tests but no failing test/root cause. Current origin/main already contains the runner lifecycle/diagnostic change (d2b7563) and fixture work affecting the named Upgrade/isolated paths (558487e, ac660ae). The repository still delegates actual CI execution to the external matrixorigin/CI reusable workflow.
Please use this analysis to provide the missing decision, environment, evidence, or ownership
needed before the issue is returned to the AI candidate pool.
gouhongshen commentedon Sep 9, 2026
Repeated failure evidence from retry attempt 2:
make utexceeded the 70-minute hard deadline (Error 124; elapsed71m8.781s). The checkpoint finished the resource-heavy race stage, started thepkg/sql/planeight-shard race stage, then received the global timeout cancellation; diagnostics found no active or incomplete individual case.This reproduces #28538’s global UT-deadline root cause. The workflow is already on attempt 2 and is not rerun again.
gouhongshen commentedon Sep 10, 2026
Fresh repeat on the post-#28546 main-backed PR head: run 34416645944/job 102683008274 reached the 70-minute global UT limit (wall time 71m24s) and received SIGTERM during
pkg/sql/planrace shard 6/8. The runner reports no terminal Go-test failure, assertion, or race; its only incomplete work waspkg/sql/planafter the global deadline. This is the same scheduler/deadline failure mode, unrelated to PR #28291’s four fileservice test files. The workflow was attempt 1, so its failed job will be rerun once under the PR CI policy.iamlinjunhong commentedon Sep 10, 2026
Follow-up evidence for PR #27716 and the global embedded race-UT deadline signature.
Source PR/head at the failed run:
make ut UT_CONFIGURED=1 UT_PARALLEL=6 UT_TIMEOUT=40 UT_SHARD=allmake: *** [Makefile:513: ut] Error 124; the last active case waspkg/tests/upgrade.TestV406MaintenanceIsTenantLocalAndCleansLateCreatedTenant. The log has no terminal assertion, panic, compile/type/static/security error, or race report.pkg/tests/issues/issue_27666_test.go:436:6: func execInternalTxnSQL is unused; official up/main now contains the cleanup commit for that helper.Reproduction and comparison:
up/main7c643f4, current PR head efb0bb3d8c4acc4eea88bea7eb6ce53f1013d4ce passed the exact failing case three consecutive times under the CI-equivalent CGo/race/tags command: 30.20s, 17.39s, 17.19s.up/main7c643f4 passed the identical command three consecutive times: 32.00s, 19.50s, 19.84s.pkg/tests/upgrade, this test, the orphan-privilege maintenance implementation, or the UT runner/harness. Its changed information-schema closure and all focused protocol/persistence/upgrade checks pass; the timeout is the aggregate embedded-stage deadline mechanism covered by this issue, not a terminal failure in the named test.The failed run will be rerun once after this evidence is recorded.
gouhongshen commentedon Sep 10, 2026
PR #28575 is trying to fix this issue.
iamlinjunhong commentedon Sep 10, 2026
Follow-up evidence for PR #27716 and run 34436149315, which has the same global unsharded race-UT deadline signature tracked here.
Source and failed checks:
d2bfd35bd58124f965c3189091b5a254d611d35fmake ut UT_CONFIGURED=1 UT_PARALLEL=6 UT_TIMEOUT=40 UT_SHARD=allFailure evidence from the complete UT log:
pkg/tests/issuesstage all finished with status 0.make: *** [Makefile:513: ut] Error 124,real 71m35.529s, andgo tool test2json: signal: terminated.pkg/fileservice.TestFuzzingDiskS3workers 0-7 andpkg/vm/engine/test.TestISCPExecutor3/4; they were cancellation victims, not reported terminal failures.PR-specific comparison:
pkg/fileservice, orpkg/vm/engine/test.pkg/tests/upgrade.TestV406MaintenanceIsTenantLocalAndCleansLateCreatedTenant.test/distributed/cases/view/information_schema_views_metadata.sqlasTOTAL :39, SUCCESS :39, FAILED :0.This is the aggregate hard-deadline failure mode already analyzed in this open issue, with independent Linux/x64 occurrences linked above in the issue history. The failed run will be rerun once after this evidence is recorded.
ci: shard race UT suite (#28575)
17 remaining items
test: add race UT memory telemetry with opt-in overlap guard (matrixo…
ci: restore sharded race UT execution (matrixorigin#28880)
revert: restore single-runner race UT execution (matrixorigin#28887)
ci: shard race UT suite (matrixorigin#28575)
test: overlap plan UT within the single-runner budget (matrixorigin#2…
test: add race UT memory telemetry with opt-in overlap guard (matrixo…
ci: restore sharded race UT execution (matrixorigin#28880)
revert: restore single-runner race UT execution (matrixorigin#28887)
ci: shard race UT suite (matrixorigin#28575)
test: overlap plan UT within the single-runner budget (matrixorigin#2…
test: add race UT memory telemetry with opt-in overlap guard (matrixo…
ci: restore sharded race UT execution (matrixorigin#28880)
revert: restore single-runner race UT execution (matrixorigin#28887)
test: reduce race fixture work and strengthen regression coverage (#2…
iamlinjunhong commentedon Nov 30, 2026
Recurrence of the unsharded race-UT outer deadline in PR #33160, head
ed993e4cd2ece78920cef8c8bef6dbf3b77762d1.Run 46342471932 attempt 1, Ubuntu/x86 UT job 141597152717 ran
time make ut UT_CONFIGURED=1 UT_PARALLEL=8 UT_TIMEOUT=40 UT_SHARD=all. It reportedUT HARD TIMEOUT: 120mat 02:46:55 UTC, then sent TERM at 04:46:55 UTC during the embeddedpkg/tests/issues/isolatedbatch. The make recipe returned 124 and elapsed time including setup/cleanup was 122m01s. The affected batch started 27 seconds before the outer deadline and had four active tests, without an individual test-timeout event for them. Checkpoint logs show the precedingpkg/tests/dmlbatch had just completed. UT diagnosticsThe exact cancellation time, configured outer limit and exit 124 identify the suite-budget failure. The PR does not change the UT scheduler, its settings or the interrupted fixture. Earlier terminal failures in HAKeeper and authenticated-cluster setup are being checked separately and are distinct from the batch interrupted by the outer deadline. The plan is one failed-jobs rerun of the parent run after the failure evidence has been recorded.