Skip to content

[Bug]: statement_query_type_3.sql intermittently reports stale statement_info DDL accounting in multi-CN PROXY BVT #29071

Closed

Description

@iamlinjunhong

Summary

The exact-head multi-CN PROXY BVT run for PR #27716 failed one statement_query_type_3.sql wait-expect assertion. The same assertion passed three times on the PR head and three times on a clean current official up/main comparison using the same two-CN plus PROXY topology and mo-tester case, so this is recorded as a flaky/non-PR candidate rather than a product change to this PR.

CI evidence

The complete failed-run log reports:

test/distributed/cases/statement_query_type/statement_query_type_3.sql, row 87
statement_query_type_3.sql: one failed case / 42806 total; 42171 success, 634 ignored, success rate 99%
SQL: ... as ddl_accounting_ok from system.statement_info where account = 'bvt_query_type' ...;
expected ddl_accounting_ok=1, actual=0

The coverage failure is derivative: PREREQUISITES_READY=false, expected BVT generation 35208190330-1, and the merge job stopped with coverage merge blocked: a required producer did not publish a complete coverage profile; no coverage verdict was calculated. No coverage verdict was calculated.

Independent comparison

Using the exact case and wait-expect protocol with the same two-CN plus PROXY launch topology:

  • Clean current official up/main at a3ede72bef53bcd72a10b7bba17002f19f8132cf: 3/3 passed, each 64/64.
  • PR head be361952661ef33984f45bed2c2474be2ad9cbfe: 3/3 passed, each 64/64.
  • The runs used mo-tester with -n -g -p .../statement_query_type/ -s .../distributed/resources -e optimistic -i statement_query_type_3.sql; all final wait-expect checks passed. Early samples occasionally returned 0 and then converged inside the wait window, matching the observed timing-sensitive behavior.
  • The PR does not modify statement_query_type_3.sql, the statement accounting finalization/collector implementation, or the CI harness. Its relevant frontend change is tenant information-schema initialization and protocol gating; the failing statement types are unrelated to that implementation path.

Related issue search

No open issue was found for this exact case/signature. #28900 is open but covers different marker/time-window diagnostics; #19287 and #25018 are closed historical statement-info BVT issues with different failure mechanisms.

Reproduction

Run the multi-CN PROXY BVT setup, then execute:

./run.sh -n -g -p /matrixone/test/distributed/cases/ -s /test/distributed/resources -e optimistic

Inspect the row-87 wait-expect in test/distributed/cases/statement_query_type/statement_query_type_3.sql and the system.statement_info DDL accounting rows for account bvt_query_type.

Activity

  1. added a commit that references this issue on Oct 10, 2026
    e5dd472
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