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

roachtest: unoptimized-query-oracle/disable-rules=half failed #87779

Closed
cockroach-teamcity opened this issue Sep 10, 2022 · 7 comments
Closed
Labels
branch-release-22.2 Used to mark GA and release blockers, technical advisories, and bugs for 22.2 C-test-failure Broken test (automatically or manually discovered). O-roachtest 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-queries SQL Queries Team
Milestone

Comments

@cockroach-teamcity
Copy link
Member

cockroach-teamcity commented Sep 10, 2022

roachtest.unoptimized-query-oracle/disable-rules=half failed with artifacts on release-22.2 @ 1bfe9bcda653f55ed3b4216610433b51b2ef0d8f:

		(1) attached stack trace
		  -- stack trace:
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.(*queryComparisonHelper).makeError
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/query_comparison_util.go:348
		  | [...repeated from below...]
		Wraps: (2) . 10651 statements run
		Wraps: (3) attached stack trace
		  -- stack trace:
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.runUnoptimizedQueryOracleImpl
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/unoptimized_query_oracle.go:165
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.registerUnoptimizedQueryOracle.func1.1
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/unoptimized_query_oracle.go:54
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.runOneRoundQueryComparison
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/query_comparison_util.go:239
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.runQueryComparison
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/query_comparison_util.go:69
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.registerUnoptimizedQueryOracle.func1
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/unoptimized_query_oracle.go:51
		  | main.(*testRunner).runTest.func2
		  | 	main/pkg/cmd/roachtest/test_runner.go:908
		  | runtime.goexit
		  | 	GOROOT/src/runtime/asm_amd64.s:1594
		Wraps: (4) expected unoptimized and optimized results to be equal
		  |   []string(
		  | - 	{"0000-01-01 13:37:23.572795 +0000 UTC,-1.01E-9"},
		  | + 	nil,
		  |   )
		  | sql: SELECT
		  | 	'13:37:23.572795':::TIME AS col_38235, (-1.01E-9):::DECIMAL AS col_38236
		  | FROM
		  | 	(
		  | 		SELECT
		  | 			0.01978192160410784856:::DECIMAL AS col_38226,
		  | 			0:::OID AS col_38227,
		  | 			tab_13166.col5_1 AS col_38228,
		  | 			'05:47:10.341532':::TIME AS col_38229
		  | 		FROM
		  | 			defaultdb.public.table5@[0] AS tab_13166
		  | 		ORDER BY
		  | 			tab_13166.col5_0 ASC,
		  | 			tab_13166.crdb_internal_mvcc_timestamp ASC,
		  | 			tab_13166.col5_0 DESC,
		  | 			tab_13166.tableoid DESC
		  | 	)
		  | 		AS tab_13167 (col_38230, col_38231, col_38232, col_38233)
		  | GROUP BY
		  | 	tab_13167.col_38230, tab_13167.col_38233
		  | HAVING
		  | 	(NOT EXISTS (SELECT ('21:55:04.56629-05:36:00':::TIMETZ::TIMETZ - '1 mon 5 days 00:00:00.000001':::INTERVAL::INTERVAL)::TIMETZ AS col_38234 FROM defaultdb.public.table1@[0] AS tab_13168 WHERE ('254.239.239.254/0':::INET::INET << '160.177.167.224/30':::INET::INET)::BOOL))
		Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *withstack.withStack (4) *errutil.leafError

Parameters: ROACHTEST_cloud=gce , ROACHTEST_cpu=4 , ROACHTEST_ssd=0

Help

See: roachtest README

See: How To Investigate (internal)

Same failure on other branches

/cc @cockroachdb/sql-queries

This test on roachdash | Improve this report!

Jira issue: CRDB-19531

@cockroach-teamcity cockroach-teamcity added branch-release-22.2 Used to mark GA and release blockers, technical advisories, and bugs for 22.2 C-test-failure Broken test (automatically or manually discovered). O-roachtest 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. labels Sep 10, 2022
@cockroach-teamcity cockroach-teamcity added this to the 22.2 milestone Sep 10, 2022
@blathers-crl blathers-crl bot added the T-sql-queries SQL Queries Team label Sep 10, 2022
@cockroach-teamcity
Copy link
Member Author

roachtest.unoptimized-query-oracle/disable-rules=half failed with artifacts on release-22.2 @ 9b62adaceb821a96d325a8ce30f35952ec48e9e5:

test artifacts and logs in: /artifacts/unoptimized-query-oracle/disable-rules=half/run_1
	query_comparison_util.go:240,query_comparison_util.go:69,unoptimized_query_oracle.go:51,test_runner.go:908: . 24772 statements run: expected unoptimized and optimized results to be equal
		(1) attached stack trace
		  -- stack trace:
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.(*queryComparisonHelper).makeError
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/query_comparison_util.go:348
		  | [...repeated from below...]
		Wraps: (2) . 24772 statements run
		Wraps: (3) attached stack trace
		  -- stack trace:
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.runUnoptimizedQueryOracleImpl
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/unoptimized_query_oracle.go:165
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.registerUnoptimizedQueryOracle.func1.1
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/unoptimized_query_oracle.go:54
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.runOneRoundQueryComparison
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/query_comparison_util.go:239
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.runQueryComparison
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/query_comparison_util.go:69
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.registerUnoptimizedQueryOracle.func1
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/unoptimized_query_oracle.go:51
		  | main.(*testRunner).runTest.func2
		  | 	main/pkg/cmd/roachtest/test_runner.go:908
		  | runtime.goexit
		  | 	GOROOT/src/runtime/asm_amd64.s:1594
		Wraps: (4) expected unoptimized and optimized results to be equal
		  |   []string(
		  | - 	{"0"},
		  | + 	nil,
		  |   )
		  | sql: SELECT
		  | 	0:::OID AS col_83336
		  | FROM
		  | 	(SELECT 0:::OID AS col_83334) AS tab_31621 (col_83335)
		  | GROUP BY
		  | 	tab_31621.col_83335
		  | ORDER BY
		  | 	tab_31621.col_83335, tab_31621.col_83335 DESC, tab_31621.col_83335 DESC
		Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *withstack.withStack (4) *errutil.leafError

Parameters: ROACHTEST_cloud=gce , ROACHTEST_cpu=4 , ROACHTEST_ssd=0

Help

See: roachtest README

See: How To Investigate (internal)

Same failure on other branches

This test on roachdash | Improve this report!

@msirek
Copy link
Contributor

msirek commented Sep 11, 2022

dup of #87619
This will be fixed when #87682 is merged.

@cockroach-teamcity

This comment was marked as duplicate.

@mgartner
Copy link
Collaborator

I marked the last one as a duplicate of #86790.

@mgartner
Copy link
Collaborator

Are both of the failures above the same bug, which is fixed by #87682?

@yuzefovich
Copy link
Member

I confirmed that both are fixed by #87682.

@mgartner
Copy link
Collaborator

Thanks @yuzefovich!

@mgartner mgartner moved this to Done in SQL Queries Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
branch-release-22.2 Used to mark GA and release blockers, technical advisories, and bugs for 22.2 C-test-failure Broken test (automatically or manually discovered). O-roachtest 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-queries SQL Queries Team
Projects
Archived in project
Development

No branches or pull requests

4 participants