cockroachdb / cockroach

CockroachDB — the cloud native, distributed SQL database designed for high availability, effortless scale, and control over data placement.
https://www.cockroachlabs.com
Other
30.13k stars 3.81k forks source link

sql/tests: TestRandomSyntaxGeneration failed [unhandled kind: 0] #135141

Closed cockroach-teamcity closed 11 hours ago

cockroach-teamcity commented 20 hours ago

sql/tests.TestRandomSyntaxGeneration failed with artifacts on release-24.1 @ 6a1ab2b91f02d6f1680b988df8d2d3828b2cfa28:

Random syntax error:

    rsg_test.go:962: Crash detected: server panic: pq: internal error: building declarative schema change targets for DROP SCHEMA: unhandled kind: 0

Query:

        DROP SCHEMA PUBLIC;
Help

See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)

Same failure on other branches

- #134752 sql/tests: TestRandomSyntaxGeneration failed [building declarative schema change targets for DROP SCHEMA: unhandled kind: 0] [C-test-failure O-robot P-2 T-sql-foundations branch-release-24.2] - #134280 sql/tests: TestRandomSyntaxGeneration failed [building declarative schema change targets for DROP SCHEMA: unhandled kind: 0] [C-test-failure O-robot P-2 T-sql-foundations branch-release-24.3] - #133913 sql/tests: TestRandomSyntaxGeneration failed [unhandled kind: 0] [C-test-failure O-robot P-2 T-sql-foundations branch-master] - #133510 sql/tests: TestRandomSyntaxGeneration failed [unhandled kind: 0] [C-test-failure O-robot P-2 T-sql-foundations branch-release-23.2] - #132558 sql/tests: TestRandomSyntaxGeneration failed [CREATE TENANT statement is not valid after parsing then formatting] [C-test-failure O-robot P-2 T-db-server branch-release-24.1.6-rc]

/cc @cockroachdb/sql-foundations

This test on roachdash | Improve this report!

Jira issue: CRDB-44370

blathers-crl[bot] commented 11 hours ago

Based on the specified backports for linked PR #135149, I applied the following new label(s) to this issue: branch-release-23.2, branch-release-24.2, branch-release-24.3. Please adjust the labels as needed to match the branches actually affected by this issue, including adding any known older branches.

:owl: Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.