Skip to content

[Bug]: synchronized embedded-cluster RPC timeouts fail five 4.1.6-hotfix race UT packages #32433

Closed

Description

@ck89119

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Searched the exact failing test names and bootstrap/deadline symptoms across open and closed issues. Related reports: #32323 (release-branch bootstrap RPC reset), closed #30867, #29124, #26519 and #26091. None documents this synchronized five-package failure episode; this report tracks the shared event without assuming its root cause is identical to those reports.

Branch Name

4.1.6-hotfix, PR #32431 (issue-20285-4.1.6-hotfix).

Commit ID

116f40afc85e7a7d1b3f24b0856ac69cf1b97bea, target base ef9256eca2c6436619272927e97f629af41ebd55.

Other Environment Information

Actual Behavior

Five independent embedded-cluster package processes fail during a common RPC/control-plane stall window:

Package/test Observed terminal failure
pkg/tests/ddl/TestAlterRoleCases context deadline exceeded executing alter role test_role_1 rename to test_role_1_renamed
pkg/tests/dml/TestDeleteAndSelect panic: deadline / update txn snapshot / CN service bootstrap
pkg/tests/issues/TestClientDisconnectCancelsQueryAndRollsBack/reset (and parent) context deadline exceeded, followed by cleanup errors
pkg/tests/partition/TestAffectedRows cannot connect to backend / deadline while creating the test table
pkg/tests/shard/TestPartitionBasedShardCanBeCreated panic: deadline / update txn snapshot / CN service bootstrap

The processes start around 14:12:48–14:12:59 UTC. Their HAKeeper endpoints use distinct ports (DDL 11020, DML 12020, issues 13020, partition 15020, shard 16020), so the available logs do not establish a simple shared-port collision. Around 14:15:18 UTC, the DDL cluster reports widespread HAKeeper/transaction/lock RPC I/O timeouts; later failures around 14:19:59–14:20:00 UTC include bootstrap snapshot and backend deadlines. The workflow prints buffered failed-test output at 14:34:14; that is not the incident time.

The NaN pruning regressions introduced by #32431 passed in this same Linux/race run:

  • index.TestZoneMapLegacyNaNScalarPruning: 14:24:14 UTC, PASS.
  • readutil.TestCompileFilterExprLegacyNaNZoneMap: 14:24:42 UTC, PASS.

The PR changes only scalar floating-point ZoneMap pruning plus tests. These facts do not prove a pre-existing failure or identify whether runner load, scheduling, I/O, HAKeeper/Raft progress, or another shared resource caused the stall. No equivalent Linux base/head reproduction has been obtained, and no local isolated pass is presented as proof that concurrent CI is reliable.

Expected Behavior

The supported CI lane should make embedded-cluster progress reliably, or retain enough synchronized resource and blocked-stack evidence to locate the first stalled owner. Bootstrap failure and cleanup must not obscure the originating operation.

Steps to Reproduce

  1. Run the Ubuntu/x86 race UT lane at the above revision using the workflow's normal package concurrency and matrixone_test tag.
  2. Inspect the five named failed outputs from the artifact, including events preceding the terminal timeout rather than only the buffered job output.
  3. For isolation, compare exactly the same selected package set, flags and concurrency envelope at base/head; retain process stacks and CPU/IO/memory/HAKeeper progress around the first RPC timeout. This occurrence is intermittent; a deterministic reproduction is not claimed.

Additional information

Do not fix this episode by weakening assertions, adding sleeps/retries, skipping partition/DDL/disconnect tests, or broadening the unrelated NaN pruning PR. Track the separate Proxy BVT aggr_error_stmt aggregation failure under #32308; downstream coverage is blocked by its producer failure and has no coverage verdict.

Activity

  1. added
    kind/bug
    on Nov 9, 2026
  2. MatrixAdventurer commented on Nov 10, 2026

    @MatrixAdventurer
    Contributor

    分级建议:severity/s2 —— CI 偶发竞态类故障,非线上正确性问题,但一次事件并发挂掉五个包,持续阻塞 hotfix 分支 UT 验证。
    模块:pkg/tests / pkg/embed(embedded cluster 初始化、HAKeeper 控制面 RPC)。
    疑似重复:未见单条完全重复;与 #32323(open,HAKeeper RPC reset 同族)及已关闭的 #30867、#29124、#26519、#26091 属同一征兆族,建议归并跟踪。
    建议负责人:XuPeng-SH(同族 #32323 现负责人,与本 issue 口径一致)。
    补充信息:缺首次停顿时刻的同步资源/阻塞栈采样(CPU/IO/内存、HAKeeper 进度),目前难以收敛根因。
    本操作由LW授权的MOI智能体提交

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

kind/bugneeds-triage

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions