Skip to content

[Bug]: UT flaky: detached user-level-lock cleanup wait timeout #26255

Closed

Description

@XuPeng-SH

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Branch Name

codex/issue-26136-vecuint8-materialize

Commit ID

210d1de0971bd5c8f4eda7b0f06b27a853a5c1a4

Other Environment Information

Actual Behavior

TestDetachedUserLevelLockCleanupQueueIsBoundedAndDeduped failed in the Unit Testing job because its asynchronous cleanup condition was not reached before the test deadline:

Error: Condition never satisfied
--- FAIL: TestDetachedUserLevelLockCleanupQueueIsBoundedAndDeduped (3.15s)

The log also records repeated detached user-level-lock cleanup attempts failing with context deadline exceeded.

Expected Behavior

Detached user-level-lock cleanup should drain/deduplicate within the test's bounded wait and the test should be stable under the Ubuntu/x86 parallel UT workload.

Steps to Reproduce

  1. Check out commit 210d1de0971bd5c8f4eda7b0f06b27a853a5c1a4.
  2. Run the Ubuntu/x86 unit-test suite:
    make ut UT_PARALLEL=6 UT_TIMEOUT=40
  3. Observe the failing run linked above. The failure is timing-dependent and may require repeated runs.

Additional information

Failure trace: pkg/sql/plan/function/func_unary_test.go:9052 (with helper frames at lines 7528 and 9003). This is independent of the PR's frontend-only Data Branch changes.

Activity

  1. added
    kind/bug
    on Jul 27, 2026
  2. added a commit that references this issue on Jul 27, 2026
    a55820b
  3. added 3 commits that reference this issue on Sep 17, 2026
    862b18b
    7e11451
    9e93712
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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