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 #70475

Closed
cockroach-teamcity opened this issue Sep 21, 2021 · 4 comments · Fixed by #70469
Closed

sql/tests: TestRandomSyntaxFunctions failed #70475

cockroach-teamcity opened this issue Sep 21, 2021 · 4 comments · Fixed by #70469
Assignees
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.

Comments

@cockroach-teamcity
Copy link
Member

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

Random syntax error:

    rsg_test.go:779: Crash detected: server panic: pq: internal error: expected *DTuple, found *tree.DOid

Query:

        SELECT json_populate_recordset(3923269572:::OID, '{"test": "json"}':::JSONB) ;
Reproduce

To reproduce, try:

make stressrace TESTS=TestRandomSyntaxFunctions PKG=./pkg/sql/tests TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1

Same failure on other branches

Internal log

mjibson marked as alumn{us/a}; resolving to rafiss instead

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

@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. labels Sep 21, 2021
@otan
Copy link
Contributor

otan commented Sep 21, 2021

looks like fallout from #70115

@otan
Copy link
Contributor

otan commented Sep 21, 2021

maybe return a pgerror instead of an assertion error here?

@cockroach-teamcity
Copy link
Member Author

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

Random syntax error:

    rsg_test.go:779: Crash detected: server panic: pq: internal error: expected *DTuple, found *tree.DTimestamp

Query:

        SELECT json_populate_record('2028-08-15 01:41:27.00017':::TIMESTAMP, '[{}, [[{"b": false}, null], false, []], [[[[{}]]], []], []]':::JSONB) ;
Reproduce

To reproduce, try:

make stressrace TESTS=TestRandomSyntaxFunctions PKG=./pkg/sql/tests TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1

Same failure on other branches

Internal log

mjibson marked as alumn{us/a}; resolving to rafiss instead

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

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

Random syntax error:

    rsg_test.go:779: Crash detected: server panic: pq: internal error: expected *DTuple, found *tree.DTimestampTZ

Query:

        SELECT json_populate_record('1997-06-05 21:45:08.000323+00:00':::TIMESTAMPTZ, e'{"a": "c", "|q3\\\\U;b+z85=": {"bar": null, "foo": {"HR.}<F/i": [], "foo": {}}}}':::JSONB) ;
Reproduce

To reproduce, try:

make stressrace TESTS=TestRandomSyntaxFunctions PKG=./pkg/sql/tests TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1

Same failure on other branches

Internal log

mjibson marked as alumn{us/a}; resolving to rafiss instead

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

@craig craig bot closed this as completed in 55ef033 Sep 23, 2021
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.
Projects
None yet
3 participants