Skip to content

[Bug]: pkg/logservice TestNewServiceRetry can overrun the Ubuntu race UT deadline #27268

Closed

Description

@iamlinjunhong

CI failure

PR #27254 at head 28460514e1ead39863b42256cc5b7300f37c35d1 failed Matrixone CI / UT Test on Ubuntu/x86 in run 32100128087, job 95598920142, attempt 1.

The failing workflow command was:

make ut UT_PARALLEL=6 UT_TIMEOUT=40

Stable runner signature:

[run_tests] [ERR] Exclusive race-test package github.com/matrixorigin/matrixone/pkg/logservice failed with status 1
Terminated
[run_tests] [ERR] UT runner received SIGTERM; reporting work without terminal Go test events
[active_ut_cases] active UT case: package=github.com/matrixorigin/matrixone/pkg/logservice test=TestNewServiceRetry state=run started=2026-08-18T05:14:22.021074542Z
make: *** [Makefile:388: ut] Error 124

The job began at 04:42 UTC and was terminated during the serial exclusive race-test phase at about 05:53 UTC. It contains no assertion, panic, compilation, or race-report failure for TestNewServiceRetry.

Reproduction / comparison evidence

The CI-equivalent focused command was:

.agents/skills/mo-dev/scripts/mo-cgo-test -short -race -tags matrixone_test -p 1 -count=1 -timeout=40m -run ^TestNewServiceRetry$ ./pkg/logservice
  • The exact PR head passed this command three consecutive times.
  • A clean detached worktree at current official up/main 31adf54ab1794764eacce856ac4dbbaf8842487f, with its CGo/third-party prerequisites rebuilt, also passed the same command.
  • PR fix(iceberg): encode Nessie hash refs as detached commits #27254 changes only pkg/iceberg/metadata/runtime_planner.go and runtime_planner_test.go; the pkg/logservice test dependency graph does not include pkg/iceberg/metadata.
  • The Actions log itself records the runner SIGTERM and global timeout exit 124, providing direct infrastructure/runner termination evidence. The same PR run also had a passing independent UT coverage lane: run 32100128087, job 95598954652.

Expected behavior

The serial race test pkg/logservice.TestNewServiceRetry must finish or produce a bounded diagnostic before the workflow-wide 60-minute timeout. A runner SIGTERM should not be the only terminal event.

Reproduction steps

  1. Run the standard Ubuntu/x86 MatrixOne UT workflow with race tests enabled and UT_PARALLEL=6, UT_TIMEOUT=40.
  2. Observe the exclusive pkg/logservice race-test phase.
  3. On an affected run, TestNewServiceRetry remains active until the outer Makefile timeout 60m sends SIGTERM and reports Error 124.

This issue was created after confirming the failed run is not attributable to PR #27254. The failed GitHub Actions run was rerun once to validate flakiness.

Metadata

Metadata

Assignees

Labels

kind/bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions