Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sql/tests: TestRandomSyntaxFunctions failed [int64 varint decoding failed] #109795

Closed
cockroach-teamcity opened this issue Aug 31, 2023 · 2 comments
Labels
branch-master Failures and bugs on the master branch. C-test-failure Broken test (automatically or manually discovered). O-robot Originated from a bot. O-rsg Random Syntax Generator release-blocker Indicates a release-blocker. Use with branch-release-2x.x label to denote which branch is blocked. T-sql-queries SQL Queries Team
Milestone

Comments

@cockroach-teamcity
Copy link
Member

cockroach-teamcity commented Aug 31, 2023

sql/tests.TestRandomSyntaxFunctions failed with artifacts on master @ b7136867fd3d483744ea2d3c507afb241410f7e2:

Random syntax error:

    rsg_test.go:887: Crash detected: server panic: pq: internal error: unexpected error from the vectorized engine: error decoding 20 bytes: int64 varint decoding failed: 0

Query:

        SELECT array_cat_agg(ARRAY[('1985-08-12':::DATE,),('1986-01-25 04:27:18.000562+00':::TIMESTAMPTZ,)]) ;
Help

See also: How To Investigate a Go Test Failure (internal)

Same failure on other branches

/cc @cockroachdb/sql-foundations

This test on roachdash | Improve this report!

Jira issue: CRDB-31100

@cockroach-teamcity cockroach-teamcity added branch-master Failures and bugs on the master branch. C-test-failure Broken test (automatically or manually discovered). O-robot Originated from a bot. release-blocker Indicates a release-blocker. Use with branch-release-2x.x label to denote which branch is blocked. T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions) labels Aug 31, 2023
@cockroach-teamcity cockroach-teamcity added this to the 23.2 milestone Aug 31, 2023
@rafiss rafiss added the T-sql-queries SQL Queries Team label Aug 31, 2023
@rafiss rafiss changed the title sql/tests: TestRandomSyntaxFunctions failed sql/tests: TestRandomSyntaxFunctions failed [int64 varint decoding failed] Aug 31, 2023
@github-project-automation github-project-automation bot moved this to Triage in SQL Queries Aug 31, 2023
@rafiss rafiss removed the T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions) label Aug 31, 2023
@rharding6373
Copy link
Collaborator

This has been fixed on master as of at least the 8/20 nightly:

SELECT array_cat_agg(ARRAY[('1985-08-12':::DATE,),('1986-01-25 04:27:18.000562+00':::TIMESTAMPTZ,)]) ;                             
                              array_cat_agg
--------------------------------------------------------------------------
  {"(\"1985-08-12 00:00:00+00\")","(\"1986-01-25 04:27:18.000562+00\")"}

There have been similar internal errors lately, e.g.: #109629
But the fix for that issue merged more recently than the nightly we tested.

@github-project-automation github-project-automation bot moved this from Triage to Done in SQL Queries Aug 31, 2023
@rharding6373
Copy link
Collaborator

We also confirmed that this was a regression on master (it's not present on 23.1).

@michae2 michae2 added the O-rsg Random Syntax Generator label Sep 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
branch-master Failures and bugs on the master branch. C-test-failure Broken test (automatically or manually discovered). O-robot Originated from a bot. O-rsg Random Syntax Generator release-blocker Indicates a release-blocker. Use with branch-release-2x.x label to denote which branch is blocked. T-sql-queries SQL Queries Team
Projects
Archived in project
Development

No branches or pull requests

4 participants