Skip to content

[Bug]: three release-branch UT tests hit RPC/transaction deadlines in CI retry #32474

Closed

Description

@ck89119

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Searched all open/closed issues for the three exact test names and run 42344369146. Related: #32433 tracks a different synchronized five-package timeout episode; #32323 tracks bootstrap panics on HAKeeper RPC resets; the exact-name TestLockNeedUpgrade report #19920 is closed. This report preserves the retry's distinct three-test episode, including an active transaction deadline, without claiming those reports have the same root cause.

Branch Name

4.1.6-hotfix, PR #32315 (issue-32263-4.1.6-hotfix).

Commit ID

096a24944259c2d150e9e2399b86785a46a2550c (target incorporated ef9256eca2c6436619272927e97f629af41ebd55).

Other Environment Information

Actual Behavior

Three tests failed:

Test Actual failure
pkg/tests/shard/TestPartitionBasedShardCanBeCreated 53.60s; shard_storage_test.go:214: context deadline exceeded / internal error: get while waiting for shard metadata
pkg/tests/issues/TestClientDisconnectCancelsQueryAndRollsBack 67.15s; client_disconnect_test.go:48 → issue_test.go:185: Error 1105 (HY000) with HAKeeper I/O timeout on port 15020 while creating disconnect_cancel_test.t, before the intended disconnect action
pkg/tests/issues/TestLockNeedUpgrade 30.79s; issue_test.go:744: context deadline exceeded during its transaction workload after truncate/reinsert progress

Actual incident times are around 2026-11-10 07:01:09–07:01:17 UTC for the first two failures and 07:02:58 UTC for LockNeedUpgrade. The workflow prints buffered failed output at 07:19:22–07:19:23 UTC; that is not the incident window. Logs also show HAKeeper heartbeat/task-query deadlines and slow frontend connection establishment, but these do not establish a common first stalled owner.

Expected Behavior

The normal supported UT lane should complete its fixture and transaction operations within the intended deadlines. If shared CI resource/control-plane progress is the cause, retain synchronized stacks/resource evidence rather than weakening SQL or cancellation assertions.

Steps to Reproduce

  1. Run the normal Ubuntu/x86 UT lane at the exact revision and package concurrency/configuration recorded in the linked workflow.
  2. Inspect the three named failed-test outputs and preceding RPC/heartbeat events in the job log and diagnostic artifact.
  3. Compare the same selected package/concurrency envelope at base and head; retain process stacks and CPU/memory/I/O/HAKeeper progress around the actual UTC failure windows.

This is a CI occurrence, not a deterministic local reproduction. No same-mode Linux base/head reproduction has been obtained.

Additional information

Causality with PR #32315 is not established, and this report does not label the failures pre-existing or harmless. The PR's small local allocator/index tests are not a substitute for these embedded-cluster results. Keep the failures visible while separately repairing its duplicate index clearing; do not add retries/sleeps, increase deadlines, skip tests, or conflate this episode with attempt 1's runner loss.

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