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: TestExplainRedact failed #138869

Open
cockroach-teamcity opened this issue Jan 11, 2025 · 0 comments
Open

sql: TestExplainRedact failed #138869

cockroach-teamcity opened this issue Jan 11, 2025 · 0 comments
Labels
branch-release-24.1 Used to mark GA and release blockers, technical advisories, and bugs for 24.1 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-queries SQL Queries Team
Milestone

Comments

@cockroach-teamcity
Copy link
Member

cockroach-teamcity commented Jan 11, 2025

sql.TestExplainRedact failed on release-24.1 @ a61ec9c376d4fe9b7ad398598788c61f1d02ea34:

Fatal error:

panic: test timed out after 1h16m37s
running tests:
	TestExplainRedact (1h8m46s)
	TestExplainRedact/ExplainAnalyze (1h8m38s)
	TestExplainRedact/ExplainAnalyze/Plan (4m43s)
	TestExplainRedact/ExplainAnalyze/Plan/Catalog (3m35s)

Stack:

goroutine 200118 [running]:
testing.(*M).startAlarm.func1()
	GOROOT/src/testing/testing.go:2366 +0x265
created by time.goFunc
	GOROOT/src/time/sleep.go:177 +0x45
Log preceding fatal error

crypto/tls.(*Conn).readFromUntil(0xc009653c08, {0xe5c8200, 0xc006807960}, 0x5)
	GOROOT/src/crypto/tls/conn.go:828 +0x1da
crypto/tls.(*Conn).readRecordOrCCS(0xc009653c08, 0x0)
	GOROOT/src/crypto/tls/conn.go:626 +0x365
crypto/tls.(*Conn).readRecord(...)
	GOROOT/src/crypto/tls/conn.go:588
crypto/tls.(*Conn).Read(0xc009653c08, {0xc007963000, 0x1000, 0x0?})
	GOROOT/src/crypto/tls/conn.go:1370 +0x2dd
bufio.(*Reader).Read(0xc00f2110e0, {0xc004e2e028, 0x5, 0x200})
	GOROOT/src/bufio/bufio.go:241 +0x4bf
io.ReadAtLeast({0xe5c03c0, 0xc00f2110e0}, {0xc004e2e028, 0x5, 0x200}, 0x5)
	GOROOT/src/io/io.go:335 +0xd0
io.ReadFull(...)
	GOROOT/src/io/io.go:354
github.com/lib/pq.(*conn).recvMessage(0xc004e2e008, 0xc008bbd2c8)
	github.com/lib/pq/external/com_github_lib_pq/conn.go:1004 +0x1ec
github.com/lib/pq.(*conn).recv1Buf(0xc004e2e008, 0xc008bbd2c8)
	github.com/lib/pq/external/com_github_lib_pq/conn.go:1059 +0x35
github.com/lib/pq.(*conn).recv1(...)
	github.com/lib/pq/external/com_github_lib_pq/conn.go:1086
github.com/lib/pq.(*conn).simpleQuery(0xc004e2e008, {0xc0039ab8c0, 0x2b9})
	github.com/lib/pq/external/com_github_lib_pq/conn.go:696 +0x378
github.com/lib/pq.(*conn).query(0xc004e2e008, {0xc0039ab8c0, 0x2b9}, {0x13fc91c0, 0x0, 0x0})
	github.com/lib/pq/external/com_github_lib_pq/conn.go:889 +0x625
github.com/lib/pq.(*conn).QueryContext(0xc004e2e008, {0xe6147b8, 0x13fc91c0}, {0xc0039ab8c0, 0x2b9}, {0x13fc91c0, 0x0, 0x0?})
	github.com/lib/pq/external/com_github_lib_pq/conn_go18.go:24 +0x1e5
database/sql.ctxDriverQuery({0xe6147b8, 0x13fc91c0}, {0x7f31a6533a88, 0xc004e2e008}, {0x0, 0x0}, {0xc0039ab8c0, 0x2b9}, {0x13fc91c0, 0x0, ...})
	GOROOT/src/database/sql/ctxutil.go:48 +0xeb
database/sql.(*DB).queryDC.func1()
	GOROOT/src/database/sql/sql.go:1776 +0x266
database/sql.withLock({0xe5e0e00, 0xc006ed8870}, 0xc008bbd9b0)
	GOROOT/src/database/sql/sql.go:3530 +0xa7
database/sql.(*DB).queryDC(0x101?, {0xe6147b8, 0x13fc91c0}, {0x0, 0x0}, 0xc006ed8870, 0xc023e7f690, {0xc0039ab8c0, 0x2b9}, {0x0, ...})
	GOROOT/src/database/sql/sql.go:1771 +0x325
database/sql.(*DB).query(0xc0073f6270, {0xe6147b8, 0x13fc91c0}, {0xc0039ab8c0, 0x2b9}, {0x0, 0x0, 0x0}, 0x1)
	GOROOT/src/database/sql/sql.go:1754 +0x169
database/sql.(*DB).QueryContext.func1(0x1)
	GOROOT/src/database/sql/sql.go:1732 +0xd0
database/sql.(*DB).retry(0x0?, 0xc008bbdc30)
	GOROOT/src/database/sql/sql.go:1566 +0x4b
database/sql.(*DB).QueryContext(0xc0073f6270, {0xe6147b8, 0x13fc91c0}, {0xc0039ab8c0, 0x2b9}, {0x0, 0x0, 0x0})
	GOROOT/src/database/sql/sql.go:1731 +0x185
github.com/cockroachdb/cockroach/pkg/sql_test.TestExplainRedact.func1({0xc0039ab8c0, 0x2b9})
	github.com/cockroachdb/cockroach/pkg/sql_test/pkg/sql/explain_test.go:520 +0x74
github.com/cockroachdb/cockroach/pkg/sql/tests.GenerateAndCheckRedactedExplainsForPII.func2.1.1(0xc008b10ea0)
	github.com/cockroachdb/cockroach/pkg/sql/tests/explain_test_util.go:83 +0x502
testing.tRunner(0xc008b10ea0, 0xc0410beb90)
	GOROOT/src/testing/testing.go:1689 +0x21f
created by testing.(*T).Run in goroutine 194703
	GOROOT/src/testing/testing.go:1742 +0x826

Parameters:

  • attempt=1
  • race=true
  • run=1
  • shard=3
Help

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

This test on roachdash | Improve this report!

Jira issue: CRDB-46389

@cockroach-teamcity cockroach-teamcity added branch-release-24.1 Used to mark GA and release blockers, technical advisories, and bugs for 24.1 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-queries SQL Queries Team labels Jan 11, 2025
@cockroach-teamcity cockroach-teamcity added this to the 24.1 milestone Jan 11, 2025
@github-project-automation github-project-automation bot moved this to Triage in SQL Queries Jan 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
branch-release-24.1 Used to mark GA and release blockers, technical advisories, and bugs for 24.1 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-queries SQL Queries Team
Projects
Status: Triage
Development

No branches or pull requests

1 participant