Repository navigation
Description
Is there an existing issue for the same bug?
- I have checked the existing issues.
Searched open and closed issues for the exact test and cleanup database, the physical-memory headroom rejection signature, and run 45095232202. Closed issue #32422 covers a different CREATE ACCOUNT fixture and has no at-failure memory measurement. The open TPCC case #29753 concerns a sustained production workload.
Branch Name
PR #32523 targeting main
Commit ID
PR head 6fa3f7fb4095830d89db5df9ed3118e1ebde68f2 and official main 4cadd4f2f6ed9444d8bdbf6e13053b5ac741863c.
Other Environment Information
- GitHub Actions Ubuntu/Linux amd64 runner with Go 1.27.1 and CGo.
- Coverage UT selected 498 test packages, instrumented 477 packages, and used package parallelism 8.
- Run 45095232202, attempt 1
- Matrixone UT Coverage execution / UT Coverage on Ubuntu/x86, job 137433568628
- Matrixone Coverage execution / Coverage, job 137448621399
- CI Required, job 137455229003
Actual Behavior
At 01:51:36 UTC, pkg/embed.TestSnapshotDatabasePublicationReplayBoundaries/quoted_comment failed at snapshot_publication_replay_test.go:120 while running DROP DATABASE IF EXISTS pub_replay_quoted_comment in deferred cleanup.
Error 20101 (HY000): allocation owner=17 site=1 owner-name=selection: allocation account capacity exceeded
internal error: execution resource admission rejected: requested=24 used=0 cap=0; physical memory headroom: sampled_available=1071419392 safety_reserve=1073741824 unbacked_growth=0 growth_headroom=0 confirmation_attempted=true
The confirmed available-memory sample was 2,322,432 bytes below the 1 GiB safety reserve. Background task queries on the same CN reported the same limit at the same time. The producer exited 1 with one failing leaf test. Coverage then failed its prerequisite check because the producer did not publish a complete profile. It did not calculate a coverage verdict. The terminal CI Required step reported matrixone-ut-coverage: failure. Ordinary Ubuntu/x86 UT, job 137433527164 passed on the same attempt.
Expected Behavior
The coverage lane should have sufficient memory headroom for the embedded cluster and native SQL cleanup while preserving execution resource admission. The coverage consumer should receive a complete profile from a successful producer.
Steps to Reproduce
Use the exact head above and run the workflow's Linux amd64 coverage UT with its native prerequisites, selected packages, and instrumented packages. Inspect the cleanup of TestSnapshotDatabasePublicationReplayBoundaries/quoted_comment and the measured physical headroom at that point.
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_scopeThis is the linked CI occurrence. There is no local reproduction of the runner's memory pressure.
Additional information
- Direct runner-capacity evidence comes from the memory sample at the failing allocation. Official main and the PR head have identical native selection, physical-memory sampling, admission, coverage workflow, and snapshot test sources. The failing cleanup and concurrent background queries use the native SQL path. They do not run the changed Iceberg writer.
- The complete coverage UT diagnostics show only the embedded publication replay test active at the first rejection. All six packages directly changed by PR Fix Iceberg append memory pressure handling #32523 passed in the same run. The post-run runner snapshot showed 13 GiB available after the test processes exited. The process or cgroup activity that drove the transient low sample remains undetermined.
- Planned CI action is one failed-jobs rerun for run 45095232202 after attempt 1 reaches a terminal state.
Activity
iamlinjunhong commentedon Nov 23, 2026
Another Linux/amd64 coverage occurrence in PR #32980 at head
3615089d4508d5944a8d320e086fcab2633bbbd0, run 45116535133, attempt 1.pkg/embed.TestSnapshotDatabasePublicationReplayBoundaries/case_sensitive_noncollisionfailed duringRESTORE DATABASE. Native selection formo_tablesrequested 8 bytes. The physical-memory guard confirmed 1,064,120,320 bytes available against a 1,073,741,824-byte reserve, with zero growth headroom and zero unbacked growth. Subsequent cleanup and background catalog queries on the same CN returned the same denial. After the test processes exited, the diagnostic memory snapshot showed about 13 GiB available.go test -mod=readonly -count=1 -json -short -v -tags matrixone_test -timeout=20m -p 8 -covermode=set, with the workflow's 498 selected packages, 477 instrumented packages and coverage profile flags. Diagnostics and package results showpkg/embedas the sole failing package. ByteJSON, frontend, colexec, projection, compile, plan, SQL functions, SQL models and DML all passed.quoted_commentcleanup. The process-level cause of the low runner sample remains undetermined.matrixone-ut-coverage: failure. The ordinary Ubuntu/x86 UT, job 137500638903 passed. Attempt 1 is terminal, so the next action is a single failed-jobs rerun of this exact run.ci(coverage-ut): run embedded-cluster packages in their own pass (#484)
test(embed): measure execution memory headroom against a per-process …