cockroachdb / cockroachdb/cockroach
basalt-26.3.2-rc-20260914: pkg/sql/rowenc/rowenc_test: TestInitIndexFetchSpec failed
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
pkg/sql/rowenc/rowenc_test.TestInitIndexFetchSpec [failed](https://mesolite.cluster.engflow.com/invocations/default/36252f8d-8f49-40a2-b8b8-d6dd84ae76b7?testReportRun=2&testReportShard=1&testReportAttempt=1#targets-Ly9wa2cvc3FsL3Jvd2VuYzpyb3dlbmNfdGVzdA==) on basalt-26.3.2-rc-20260914 @ [d3eb08ebdd1dacc8d3dac0b107a7db5929e09969](https://github.com/cockroachdb/cockroach/commits/d3eb08ebdd1dacc8d3dac0b107a7db5929e09969):
```
=== RUN TestInitIndexFetchSpec
test_log_scope.go:172: test logs captured to: outputs.zip/logTestInitIndexFetchSpec3341394761
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.
index_fetch_test.go:39:
/mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/pkg/sql/rowenc/rowenc_test_/rowenc_test.runfiles/com_github_cockroachdb_cockroach/pkg/sql/rowenc/testdata/index-fetch:1:
exec
CREATE TABLE t (
a INT PRIMARY KEY,
b STRING,
c DECIMAL,
d BOOL,
INDEX b1(b),
INDEX b2(b) STORING (c, d),
UNIQUE INDEX cb1(c, b DESC),
UNIQUE INDEX cb2(c, b) STORING (d)
)
----
index_fetch_test.go:39:
/mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/pkg/sql/rowenc/rowenc_test_/rowenc_test.runfiles/com_github_cockroachdb_cockroach/pkg/sql/rowenc/testdata/index-fetch:16:
index-fetch
table: t
index: t_pkey
columns:
- a
- b
- c
output didn't match expected:
@@ -1,8 +1,8 @@
{
"version": 1,
- "table_id": 106,
+ "table_id": 107,
"table_name": "t",
"index_id": 1,
"index_name": "t_pkey",
"is_secondary_index": false,
"is_unique_index": true,
panic.go:694: -- test log scope end --
--- FAIL: TestInitIndexFetchSpec (47.32s)
```
Parameters:
- attempt=1
- race=true
- run=2
- shard=1
Help
See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)
[This test on roachdash](https://roachdash.crdb.dev/?filter=status:open%20t:.*TestInitIndexFetchSpec.*&sort=title+created&display=lastcommented+project) | [Improve this report!](https://github.com/cockroachdb/cockroach/tree/master/pkg/cmd/bazci/githubpost/issues)
Contributor guide
Research direction
Start with pkg/sql/rowenc/index_fetch_test.go and the pkg/sql/rowenc/testdata/index-fetch fixture. Run TestInitIndexFetchSpec, then inspect the reported mismatch for the table_id field and the surrounding test setup. Done means the failure is understood and the test passes with the correct stable output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, sql
- Domain
- databases, testing-qa
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100