cockroachdb / cockroachdb/cockroach

basalt-26.3.2-rc-20260914: sql/physicalplan: TestFakeSpanResolver failed

Open
#175,627 2 comments 0 reactions 0 assignees View on GitHub
branch-basalt-26.3.2-rc-20260914 C-test-failure O-robot T-sql-queries
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

sql/physicalplan.TestFakeSpanResolver [failed](https://mesolite.cluster.engflow.com/invocations/default/36252f8d-8f49-40a2-b8b8-d6dd84ae76b7?testReportRun=2&testReportShard=3&testReportAttempt=1#targets-Ly9wa2cvc3FsL3BoeXNpY2FscGxhbjpwaHlzaWNhbHBsYW5fdGVzdA==) on basalt-26.3.2-rc-20260914 @ [d3eb08ebdd1dacc8d3dac0b107a7db5929e09969](https://github.com/cockroachdb/cockroach/commits/d3eb08ebdd1dacc8d3dac0b107a7db5929e09969):

```
=== RUN TestFakeSpanResolver
test_log_scope.go:172: test logs captured to: outputs.zip/logTestFakeSpanResolver3140115518
test_log_scope.go:82: use -show-logs to present logs inline
test_server_shim.go:168: automatically injected an external process virtual cluster under test; see comment at top of test_server_shim.go for details.
table_gen.go:51: error executing query="CREATE DATABASE IF NOT EXISTS test;CREATE TABLE test.t (k INT PRIMARY KEY, v INT);" args=[]: ERROR: dial tcp 127.0.0.1:43475: connect: connection refused
panic.go:694: -- test log scope end --
test logs left over in: outputs.zip/logTestFakeSpanResolver3140115518
--- FAIL: TestFakeSpanResolver (877.72s)
```

Parameters:
- attempt=1
- race=true
- run=2
- shard=3
Help

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

Same failure on other branches

- #174929 basalt-26.3: sql/physicalplan: TestFakeSpanResolver failed [C-test-failure O-robot T-sql-queries branch-basalt-26.3]
- #174919 basalt-26.3.2-rc-20260908: sql/physicalplan: TestFakeSpanResolver failed [C-test-failure O-robot T-sql-queries branch-basalt-26.3.2-rc-20260908]
- #174877 basalt-26.3: sql/physicalplan: TestFakeSpanResolver failed [C-test-failure O-robot T-sql-queries branch-basalt-26.3]
- #174785 basalt-26.3: sql/physicalplan: TestFakeSpanResolver failed [C-test-failure O-robot T-sql-queries branch-basalt-26.3]
- #172053 release-26.3: sql/physicalplan: TestFakeSpanResolver failed [C-test-failure O-robot T-sql-queries branch-release-26.3 v26.4.0-prerelease]

[This test on roachdash](https://roachdash.crdb.dev/?filter=status:open%20t:.*TestFakeSpanResolver.*&sort=title+created&display=lastcommented+project) | [Improve this report!](https://github.com/cockroachdb/cockroach/tree/master/pkg/cmd/bazci/githubpost/issues)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing sql/physicalplan.TestFakeSpanResolver with the reported race, run, and shard settings, then inspect the captured logs and the setup paths mentioned in test_server_shim.go and table_gen.go. Determine why the database connection on 127.0.0.1 is refused; done means the test starts its required process and passes reliably.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, sql
Domain
databases, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.