Skip to content

[Bug]: ISCP engine tests intermittently miss asynchronous state transitions in Ubuntu/x86 CI #26517

Closed

Description

@gouhongshen

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Branch Name

main

Commit ID

84f0d11

Other Environment Information

  • Hardware parameters: amd64-mo-shanghai-8c16g GitHub Actions runner
  • OS type: Linux/amd64
  • Others: MatrixOne ALL CI, Ubuntu/x86 UT job 91112451935

Actual Behavior

Three pkg/vm/engine/test ISCP tests failed in the same Ubuntu/x86 UT job even though the triggering PR changed only pkg/frontend/data_branch_output.go and its unit test:

  • TestGCInMemoryJob: change_handle_test.go:3704, watermark condition was false.
  • TestIteration: change_handle_test.go:3865, asynchronous iteration condition was false.
  • TestISCPExecutor7: change_handle_test.go:3044, asynchronous executor condition was false.

The logs show slow commits (up to about 2.5 seconds) immediately before these timing-sensitive assertions. The frontend package passed in the same job. This failure is therefore outside PR #26505 and indicates unstable ISCP test synchronization under CI load.

Expected Behavior

The ISCP tests should synchronize on the required state transition and pass deterministically under the Ubuntu/x86 CI load profile.

Steps to Reproduce

  1. Run the MatrixOne Ubuntu/x86 unit-test workflow at commit 84f0d1116c6375590ecf65a203c9bb982b2ac2e8.
  2. Execute the pkg/vm/engine/test package under the workflow concurrency/load profile.
  3. Observe whether TestGCInMemoryJob, TestIteration, or TestISCPExecutor7 reaches its assertion before the expected watermark/job-state transition.

Additional information

Activity

  1. added
    kind/bug
    on Jul 31, 2026
  2. self-assigned this
    on Jul 31, 2026
  3. gouhongshen commented on Jul 31, 2026

    @gouhongshen
    ContributorAuthor

    New occurrence on current-main-based PR #26505 (d7a02bfaa, base 0b8b53dff) in Ubuntu/x86 UT job https://github.com/matrixorigin/matrixone/actions/runs/30622745418/job/91130900423. TestISCPExecutor1 failed at pkg/vm/engine/test/change_handle_test.go:1925 because the watermark condition was still false after slow DDL commits. During teardown, the unfinished consumer then panicked on context canceled at pkg/iscp/mock_consumer.go:471. This extends the same asynchronous-state-transition failure already recorded here; the triggering PR changes only data-branch output finalization in pkg/frontend, whose package passed in the job.

  4. gouhongshen commented on Jul 31, 2026

    @gouhongshen
    ContributorAuthor

    Another occurrence on PR #26505 head d7a02bfaa1a976c996766a6862a7d236e31826a6 in the Ubuntu/x86 UT job:

    https://github.com/matrixorigin/matrixone/actions/runs/30638598838/job/91182528687

    TestStaleRead failed at pkg/vm/engine/test/change_handle_test.go:5165 with Should be true. Immediately before the assertion, the log shows ISCP-Task replay {"jobCount": 1}, so the assertion again observed the asynchronous transition before the expected state became visible. This matches the synchronization failure family tracked here.

    The same job's other failures are embedded-cluster/HAKeeper connection failures and are documented separately in #26522. PR #26505 changes only pkg/frontend/data_branch_output.go and its focused test; it has no code overlap with the ISCP executor or this engine test.

  5. added
    severity/s0
    ai-easy
    and removed on Jul 31, 2026
  6. added a commit that references this issue on Aug 1, 2026
    cdacde2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ai-easykind/bugseverity/s0

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions