Repository navigation
Description
Is there an existing issue for the same bug?
- I have checked the existing issues.
Searched open and closed issues for TestEmbeddedPrebuiltPublicationCancellationLatch, test_pids, PUBLICATION_CANCELLED, stopped-execute-a, and publication/cancellation fixtures. Closed #29882 concerns watchdog-publication exit 92 and trap parsing; #30309 concerns execution-cancellation timeouts; #30281 tracks other runner ownership failures. None identifies this publication-latch/test_pids exit-90 signature.
Branch Name
codex/loom/develop/769cdbea33f9fee64fc42bec4c8adf8a0b2bd604ec4275d0212909856f42be21; official-main control main.
Commit ID
PR #31137 exact head: 1bcd685fd6fa907264d5adcab1417c5e31b307d2.
Clean current official-main source: b160a3895c7368f7daf0f3263ea55d26d5bc4b9d.
Other Environment Information
Original failure: Linux/amd64 self-hosted Ubuntu coverage runner, Go 1.27.1, CGo enabled, short mode, matrixone_test, coverage mode set, package parallelism 8. This coverage lane has no race flag. Reusable CI workflow revision 30b0e58572e96df22b0ea6f32eed355eb498074a.
Local controls: Darwin/arm64, Go 1.27.1, CGO_ENABLED=1, Bash 3.2.57. These do not reproduce Linux process-group/procfs behavior or CI-wide scheduling/load. No claim of platform equivalence, confirmed root cause, or a fixed harness.
Actual Behavior
Source PR: #31137
Run: https://github.com/matrixorigin/matrixone/actions/runs/40219601820 (attempt 1).
| Failed check | Job | Failure |
|---|---|---|
| Matrixone UT Coverage execution / UT Coverage on Ubuntu/x86 | https://github.com/matrixorigin/matrixone/actions/runs/40219601820/job/121248150970 | Run coverage unit tests exits 1; final Fail on coverage UT failure fails |
| Matrixone Coverage execution / Coverage | https://github.com/matrixorigin/matrixone/actions/runs/40219601820/job/121261302954 | Verify coverage prerequisites: incomplete producer profile; no coverage verdict calculated |
| CI Required | https://github.com/matrixorigin/matrixone/actions/runs/40219601820/job/121262780873 | Error: matrixone-ut-coverage: failure |
gh run view 40219601820 --log-failed was attempted but its job-log request timed out. All three complete job logs were retrieved successfully through the Actions jobs/logs API (2,446 / 169 / 264 lines). Stable underlying signature, with PIDs normalized:
TestEmbeddedPrebuiltPublicationCancellationLatch/test_pids
ut_embedded_schedule_test.go:822: publication cancellation test_pids: exit status 90
event=cancel stage=embedded ... status=143
[ut_stderr] ./ut_process.bash: line 30: ... Killed ... go tool test2json ...
PUBLICATION_LATCHED
PUBLICATION_CANCELLED 90
--- FAIL: TestEmbeddedPrebuiltPublicationCancellationLatch/test_pids (6.82s)
The fixture injects TERM immediately before test_pids[index] publication. Its cleanup sets status 90 when stopped-execute-a is absent. The mock installs its TERM trap before announcing readiness. This identifies the failed oracle, not the precise Linux signal/drain race. The fixture executes private runner copies and mock Go/prebuilt shell commands, not real SQL or an embedded service. Coverage merge and CI Required are cascades.
Expected Behavior
Cancellation terminates and joins owned helper groups, observes the stopped marker, removes prebuilt artifacts, clears ownership and exits 143 with PUBLICATION_CANCELLED 143. Preserve the existing assertions.
Steps to Reproduce
Original coverage command inside the workflow's bounded diagnostic wrapper:
go test -mod=readonly -count=1 -json -short -v -tags matrixone_test \
-timeout=20m -p 8 \
-covermode=set -coverprofile="${coverage_profile}" -coverpkg="${cover_pkgs}" \
${test_scope}Focused command, run in three separate processes per revision:
GOWORK=off CGO_ENABLED=1 go test -mod=readonly -count=1 -json -short -v \
-tags matrixone_test -timeout=20m -p 8 -covermode=set \
-run '^TestEmbeddedPrebuiltPublicationCancellationLatch$/^test_pids$' \
-coverprofile="$TMPDIR/publication-latch-round-N.cover" ./optoolsThe focused runs did not reproduce the failure locally. On Linux, also retain original full-suite load when investigating cancellation timing.
Additional information
Classification: non-PR flaky candidate under the authorized bounded comparison rule, not confirmed root cause or reproduction of the original signature on main. All four conditions were checked:
- Complete failed-job logs identify a runtime missing-marker assertion, with no compile/type/static/security failure or data-race report. Coverage and Required are cascades.
- Three consecutive independent exact-head processes select and PASS the exact
test_pidssubtest and package, all exit 0. - The complete six-file PR diff changes only numeric-exponent scanning, parser regressions and a SQL BVT case/result. The entire optools tree, Makefile, go.mod and go.sum are identical between head and current main.
go list -deps -testcontains only stdlib, yaml.v3 and optools, no CGo files or MatrixOne production dependency. The fixture copies nine unchanged shell/diagnostic inputs and substitutes fake Go/prebuilt commands. Changed parser code is neither imported nor executed. CI-wide coverpkg cannot instrument production packages outside this dependency graph; optools has no production Go statements. - Clean official-main source passes the same focused command in three consecutive independent processes. The managed lane prohibits extra worktrees/branch switching, so this uses a clean
git archiveof complete main optools plus go.mod/go.sum/Makefile under TMPDIR. All 118 exported files were byte-verified against exact-main Git blobs before and after execution. None changed; no PR-source fallback occurs.
| Source | Round 1 | Round 2 | Round 3 |
|---|---|---|---|
head 1bcd685fd6f |
PASS, 2.433s | PASS, 2.597s | PASS, 2.759s |
main b160a3895c7 |
PASS, 1.979s | PASS, 2.504s | PASS, 1.641s |
Durations are package elapsed times; all selected subtests and packages have terminal PASS and exit 0. Main manifest SHA-256: a523641a7bd8cd82510b08449949b41ae04e6ca0b719c2de2e503dc8deee36c4. Linux orphan discovery is unavailable locally on Darwin. Passing controls are bounded comparison evidence, not proof of Linux cleanup correctness.
The PR's unchanged closure already has successful exact-head ordinary UT, SCA, shared build, proxy BVT and pessimistic multi-CN BVT. No unrelated source/assertion/timeout/skip is changed to force CI green.
After issue creation and API verification, request exactly one failed-jobs rerun of run 40219601820 and verify acceptance. A repeated signature requires renewed attribution, not unlimited reruns.
Activity
XuPeng-SH commentedon Oct 26, 2026
Investigated current main
861a2c4cb68961d8b6b01f18e0aa6ac52a3a505fon Linux/amd64, Go1.27.1. The original publication-cancellation root passes3 repetitions with-short -tags matrixone_test -covermode=set; the exact test_pids case then passes60 bounded coverage-mode repetitions (28.908s). Selection:-run '^TestEmbeddedPrebuiltPublicationCancellationLatch$/^test_pids$' -count=60 -timeout=3m ./optools.The original missing stopped marker/exit90 is not reproduced. The process/group drain and fixture assertions were not weakened, no timeout was increased, and no speculative runner patch is being presented as a repair. Signal delivery versus marker publication/escalation remains unproven for the historical failure.
Per the maintainer's explicit instruction to close reports that cannot be understood or reproduced after investigation, closing as not planned/unreproduced, not as fixed. Reopen with a current-head reproduction or a pre-cleanup signal/PID/PGID trace identifying the lost marker transition.
iamlinjunhong commentedon Oct 28, 2026
Current recurrence on PR #31496, exact head
ea97e79be6007eb51d29716b806d5821d21de717(PR base66c9e7624e3374897acc649195fde5b2836343a5). This records an additional subcase of the same missing stopped-marker/exit-90 class; the issue remains closed and the original root cause remains unproven.Run: https://github.com/matrixorigin/matrixone/actions/runs/40624826594 (attempt 1).
Run coverage unit testsexits 1;Fail on coverage UT failuremakes the job fail.Verify coverage prerequisitesfails because the UT producer did not publish a complete profile. No coverage verdict was calculated.Stable root signature from the complete 2,349-line UT job log:
The fixture sets status 90 if
stopped-execute-ais absent. This identifies the failed oracle, not a demonstrated process leak or precise signal race. The report has zero build failures; the only failed test events are this subtest, its parent, and optools package. Complete UT and coverage-merge job logs were retrieved usinggh run view --job --logafter--log-failedreturned no content; the readable incident artifact confirms the same failure.Independent bounded comparison completed before this recurrence report, satisfying all four flaky-candidate conditions:
watchdog_pidscase, each exit 0 with terminal test and package PASS.pkg/sql/colexec/external/{external.go,prepare_test.go,reader_arrow_test.go}: worker-private parameter copying and its regression tests.optools/, Makefile, go.mod and go.sum are byte-identical to current official main.go list -deps -test -tags matrixone_test ./optoolsresolves stdlib, yaml.v3 and optools only, with no CGo files or MatrixOne production import. The selected fixture copies nine unchanged runner/diagnostic inputs into a private directory and substitutes a mocked Go command/prebuilt shell execution. It never runs the changed external operator; broad coverage cannot instrument packages absent from this dependency graph. The exact-head ordinary Ubuntu UT job, SCA, shared build and both BVT lanes also passed.df8bfd602ecc036424ff7897187565657366919dpass the same exact command and selection. The managed lane prohibits new Git worktrees/branch switching, so a cleangit archiveof all optools plus go.mod/go.sum/Makefile was exported to TMPDIR. All 120 files were byte-verified against that main revision before execution and hash-verified unchanged afterward; no PR-code fallback is used.Original workflow command (Go 1.27.1, Linux/amd64, CGo enabled, no race flag):
Focused comparison command, in three separate processes per revision:
Local controls use Darwin/arm64, Go 1.27.1; both PATH-resolved Bash and mock
/bin/bashare 3.2.57. These preserve test mode but do not reproduce Linux process-group/procfs behavior, its Bash, or CI-wide scheduling/load. Narrowcoverpkgis sufficient here because optools has no production Go statements or production imports; the other CI instrumented packages cannot enter this fixture. All selected subtests ran (none skipped). This is authorized bounded flaky-candidate evidence, not reproduction of the failure on main or proof that Linux cleanup is correct.No source, assertions, timeouts, or skips were changed. After verifying this comment, request exactly one failed-jobs rerun of run 40624826594 and verify acceptance; any repeat needs renewed attribution, not unlimited reruns.
iamlinjunhong commentedon Oct 28, 2026
Recurrence on PR #31623, exact head
3f86be350cf73ef5ca4d30f5f6690329ca98e80d, base/current official main3cf38889bca2d183e973e78b1288f8c704727542. This is the same missing stopped-marker/exit-90 class in thewatchdog_pidssubcase already recorded above. The issue remains closed; this report does not claim a fix or a known-open-defect exemption.Run: https://github.com/matrixorigin/matrixone/actions/runs/40752839336 (attempt 1).
Fail on coverage UT failurefails.verifyResultsreportsError: matrixone-ut-coverage: failure; this is a downstream gate, with ordinary UT, SCA and BVT reported successful.Complete logs were retrieved through the job-log API after
gh run view --log-failedreported that the workflow was still running. The 2,350-line coverage log and full failing-case output in diagnostic artifact 12845949158 identify:The fixture's cleanup assigns 90 when
stopped-execute-ais absent. This identifies the failed oracle, not a proven leak or the precise Linux signal/marker race. Its contract expects the owned groups to drain andPUBLICATION_CANCELLED 143.Renewed independent comparison satisfies the four authorized flaky-candidate conditions:
watchdog_pidssubtest and package, all exit 0.git diff --exit-code 3cf38889bca2d183e973e78b1288f8c704727542 3f86be350cf73ef5ca4d30f5f6690329ca98e80d -- optools Makefile go.mod go.sum .github/workflowssucceeds.go list -deps -test -tags matrixone_test ./optoolscontains stdlib, yaml.v3 and optools only, with no CGo or MatrixOne production imports; optools has no production Go files. The selected fixture copies nine unchanged runner/diagnostic inputs and substitutes mock Go/prebuilt shell commands. No changed SQL/frontend code can enter this fixture, including through coverage instrumentation.git archiveinto TMPDIR. All 121 exported files were byte-verified against exact-main Git blobs before execution and SHA-256 verified unchanged afterward. No PR-source fallback or Git metadata mutation was used.Original coverage command (Go 1.27.1, Linux/amd64, CGO enabled, no race flag):
Focused comparison command, three independent processes per revision:
Local platform: Darwin/arm64, Go 1.27.1, Bash 3.2.57. These controls preserve race/tags/CGO and coverage mode but do not reproduce Linux process-group/procfs behavior or full-suite runner load.
coverpkg=./optoolspreserves all reachable instrumentation here because the package has no production Go files or MatrixOne production imports. No test was skipped. This is bounded non-PR flaky-candidate evidence, not reproduction of the original signature on main or proof of Linux cleanup correctness.Current exact-head coverage evidence also passes the PR's changed closure: frontend package (31.668s),
TestRespStatusLoadUsesStatementGeneratedKey, sqlintegration package (322.201s), andTestLoadAutoIncrementObservedDemand(0.41s). Exact-head SCA, shared build and both multi-CN BVT lanes passed. No unrelated source, assertion, timeout or skip was changed.Continuation: the first rerun request was refused because the workflow was still running; it did not create a new attempt. Attempt 1 is now completed. The ordinary Ubuntu UT job passed. Head, official main and relevant inputs are unchanged; all six bounded comparison logs and the clean-main export were rechecked and reused without rerunning tests. After verifying this updated record, request the one accepted failed-jobs rerun of run 40752839336. Repeated failure requires renewed attribution, not unlimited reruns.
fix: reject incomplete exponents and keep owned daemon controls avail…
gouhongshen commentedon Nov 10, 2026
Current recurrence on PR #32502, exact head
98ebb0eaaf97959deac1028f2228497b989b77ab(PR base/current main56ad29d8a5ebcd7359febb3e5c5575b2fce8eee6). This is the same missing stopped-marker/exit-90 class in thewatchdog_pidssubcase previously recorded on PRs #31496 and #31623; the issue remains closed and the original root cause remains unproven. This report does not claim a fix.Run: https://github.com/matrixorigin/matrixone/actions/runs/42893155021 (attempt 1).
Fail on coverage UT failure. Ordinary coverage command inside the workflow's bounded diagnostic wrapper (Go 1.27.1, Linux/amd64, CGo enabled, no race flag):Stable root signature from the complete 2,355-line job log, PIDs normalized:
The job's own failure summary reports
105355pass events,3fail events (this subtest, its parent, and the optools package),0build failures, and no race-detector report. The fixture'scleanup_checkassigns 90 whenstopped-execute-ais absent, i.e. the failed oracle; the contract still expectsPUBLICATION_CANCELLED 143.Why it is unrelated to PR #32502 — renewed bounded comparison:
pkg/sql/plan/{expr_opt.go,mock.go,stats.go,stats_test.go}andtest/distributed/cases/optimizer/contradictory_selectivity.{sql,result}(planner selectivity folding for contradictory same-column predicates).git diff --exit-code 56ad29d8 98ebb0e -- optools Makefile go.mod go.sum .github/workflowssucceeds; the optools Git subtree hash3b37b6d07c6bf053173b8a43c4ad476707bc6c24is identical at head98ebb0e, main56ad29d8, merge baseb743219dd2and the producing worktree.go list -deps -test ./optoolsresolves stdlib,gopkg.in/yaml.v3and optools only, with no CGo files and no MatrixOne production import, so changed planner code cannot enter this fixture, including through CI-wide coverage instrumentation. The fixture copies unchanged runner/diagnostic inputs into a private directory and substitutes a mocked Go command/prebuilt shell execution.git archive 98ebb0e -- optools go.mod go.sum Makefileinto TMPDIR) select and pass the exactwatchdog_pidssubtest, each exit 0 with terminal test and package PASS and no skips: package elapsed 2.06/2.02/1.97s. Three earlier rounds on the branch's fix commit (optools byte-identical) also pass: subtest elapsed 2.51/2.04/2.00s, package 2.765/2.272/2.25s.Focused comparison command, three separate processes:
Local platform: Darwin/arm64, Go 1.27.1, CGO_ENABLED=1. These controls preserve test mode, tags and coverage mode but do not reproduce Linux process-group/procfs behavior, its Bash, or CI-wide scheduling/load. This is bounded flaky-candidate evidence, not reproduction of the failure on main or proof that Linux cleanup is correct; no source, assertion, timeout or skip was changed.
Continuation: workflow run 42893155021 was still in progress when this record was posted (
UT Test on Ubuntu/x86and the PROXY compose BVT lane still running), so no rerun was requested in this turn; after the run completes, the single accepted failed-jobs rerun of run 42893155021 may be requested. A repeated signature requires renewed attribution, not unlimited reruns.gouhongshen commentedon Nov 10, 2026
Blocked downstream coverage-merge gate from the same PR #32502 recurrence recorded above (head
98ebb0eaaf97959deac1028f2228497b989b77ab, base main56ad29d8a5ebcd7359febb3e5c5575b2fce8eee6), same run 42893155021 at attempt 1: Matrixone Coverage execution / Coverage failed at 2026-11-10T21:15:46Z purely as a gate consequence of the producer failure; it exercised no PR code and no coverage verdict was computed.matrixone-coverage-mergecaller job in matrixone'sMatrixOne ALL CI(.github/workflows/entrypoint.yaml, eventpull_request_target, workflow definition from the base branch), callingmatrixorigin/CI/.github/workflows/coverage-merge.yaml@mainwithprerequisites_ready: needs.preflight.result == 'success' && needs.matrixone-ut-coverage.result == 'success' && needs.matrixone-ut-coverage.outputs.coverage_ready == 'true' && needs.matrixone-compose-ci.result == 'success' && needs.matrixone-standalone-ci.result == 'success'.PREREQUISITES_READY: false, emits::error::coverage merge blocked: a required producer did not publish a complete coverage profile; no coverage verdict was calculatedand exits 1 about 8 seconds after start. The step summary recordsMerge step: skippedfor the expected inputs "one UT profile and two BVT profiles", and the debug-artifact upload found no files. The producer that did not publish ismatrixone-ut-coverage: its UT lane failed on thewatchdog_pidsmissing stopped-marker/exit-90 signature recorded in this thread, so no UT coverage profile was published. The run's other prerequisites completed successfully (CI preflight; Compose CI PROXY BVT; Standalone CI COMPOSE/PESSIMISTIC BVT lanes), andmatrixone-ut-coverage.result == 'success' && coverage_ready == 'true'alone forces the input false.mainbecause the workflow runs onpull_request_target; the PR diff changes onlypkg/sql/plan/{expr_opt.go,mock.go,stats.go,stats_test.go}and addstest/distributed/cases/optimizer/contradictory_selectivity.{sql,result}(no workflow changes), so it cannot alter the prerequisite logic. The blocked job never checked out or built the head and computed no verdict, so no PR code path ran in it.ci-requiredANDs this job, so the same flake now blocks the PR's required check until a post-completion failed-jobs rerun of run 42893155021 (attempt 1) goes green.##[error]Process completed with exit code 1) plus the producer-failure evidence in the parent record of this thread. Workflow run 42893155021 was still in progress when this was posted (UT Test on Ubuntu/x86pending); no rerun has been issued for this run yet. This is a blocked-gate consequence record for the existing flake class, not a new failure class and not a fix claim.gouhongshen commentedon Nov 10, 2026
Reproduction record — third blocked surface of the same recurrence (CI Required aggregate gate)
CI Required, job 130140104821, run 42893155021, attempt 1,pull_request_target, completed 2026-11-10T21:25:22Z withfailure.56ad29d8and runs the base's.github/ci/change-scope.cjsverifyResultsaggregate gate over the run's lane results. WithSCOPE=fullandJOB_RESULTSshowingmatrixone-ut-coverage: failure(and the downstreammatrixone-coverage-merge: failure), it fails in its first step withError: matrixone-ut-coverage: failurebefore doing anything else. Full 264-line job log archived locally at/tmp/issue-32068-ci-logs/ci-required-job.log.TestEmbeddedPrebuiltPublicationCancellationLatch/watchdog_pidsexit-90 runner-harness flake (PUBLICATION_CANCELLED 90, mocked childKilled, missing stopped marker) tracked by this issue; the gate itself runs no PR code (base checkout only) and merely propagates that lane verdict. Evidence that the PR head cannot influence it: the PR's diff touches onlypkg/sql/planand optimizer BVT case files.