cockroachdb / cockroachdb/cockroach
ccl/changefeedccl: TestChangefeedPrimaryKeyChangeWorksWithMultipleTables failed
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
ccl/changefeedccl.TestChangefeedPrimaryKeyChangeWorksWithMultipleTables [failed](https://teamcity.cockroachdb.com/buildConfiguration/Cockroach_Ci_TestsAwsLinuxArm64_UnitTests/21480588?buildTab=log) with [artifacts](https://teamcity.cockroachdb.com/buildConfiguration/Cockroach_Ci_TestsAwsLinuxArm64_UnitTests/21480588?buildTab=artifacts#/) on master @ [fb56a0315b110d2a0e0580c6cfb0d2bd41cb90ba](https://github.com/cockroachdb/cockroach/commits/fb56a0315b110d2a0e0580c6cfb0d2bd41cb90ba):
```
helpers_test.go:1892: making enterprise feed factory
helpers_test.go:1906: pgURL enterprise root
helpers_test.go:1551: did not force enriched envelope for CREATE CHANGEFEED FOR foo, bar WITH resolved = '100ms' because *changefeedccl.tableFeedFactory is not supported
helpers_test.go:1462: did not force CDC query for CREATE CHANGEFEED FOR foo, bar WITH resolved = '100ms' because it targets 2 tables
changefeed_test.go:7198:
Error Trace: pkg/ccl/changefeedccl/helpers_test.go:286
pkg/ccl/changefeedccl/helpers_test.go:513
pkg/ccl/changefeedccl/changefeed_test.go:7198
pkg/ccl/changefeedccl/helpers_test.go:2078
pkg/ccl/changefeedccl/helpers_test.go:2114
src/runtime/asm_arm64.s:1447
Error: Received unexpected error:
expected
(1) attached stack trace
-- stack trace:
| github.com/cockroachdb/cockroach/pkg/ccl/changefeedccl.assertPayloadsBaseErr
| pkg/ccl/changefeedccl/helpers_test.go:473
| github.com/cockroachdb/cockroach/pkg/ccl/changefeedccl.assertPayloadsBase.func1
| pkg/ccl/changefeedccl/helpers_test.go:289
| github.com/cockroachdb/cockroach/pkg/ccl/changefeedccl.withTimeout.func1
| pkg/ccl/changefeedccl/helpers_test.go:498
| github.com/cockroachdb/cockroach/pkg/util/timeutil.RunWithTimeout
| pkg/util/timeutil/timeout.go:28
| github.com/cockroachdb/cockroach/pkg/ccl/changefeedccl.withTimeout
| pkg/ccl/changefeedccl/helpers_test.go:494
| github.com/cockroachdb/cockroach/pkg/ccl/changefeedccl.assertPayloadsBase
| pkg/ccl/changefeedccl/helpers_test.go:287
| github.com/cockroachdb/cockroach/pkg/ccl/changefeedccl.assertPayloads
| pkg/ccl/changefeedccl/helpers_test.go:513
| github.com/cockroachdb/cockroach/pkg/ccl/changefeedccl.TestChangefeedPrimaryKeyChangeWorksWithMultipleTables.func1
| pkg/ccl/changefeedccl/changefeed_test.go:7198
| github.com/cockroachdb/cockroach/pkg/ccl/changefeedccl.cdcTestNamed.func1
| pkg/ccl/changefeedccl/helpers_test.go:2078
| github.com/cockroachdb/cockroach/pkg/ccl/changefeedccl.cdcTestNamedWithSystem.func1
| pkg/ccl/changefeedccl/helpers_test.go:2114
| testing.tRunner
| GOROOT/src/testing/testing.go:2036
| runtime.goexit
| src/runtime/asm_arm64.s:1447
Wraps: (2) expected
| bar: [4]->{"after": {"a": 4, "b": "d"}}
| bar: [5]->{"after": {"a": 5, "b": "e"}}
| foo: [3]->{"after": {"a": 3, "b": "c"}}
| got
| bar: [4]->{"after": {"a": 4, "b": "d"}}
| bar: [5]->{"after": {"a": 5, "b": "e"}}
| bar: [6]->{"after": {"a": 6, "b": "f"}}
Error types: (1) *withstack.withStack (2) *errutil.leafError
Test: TestChangefeedPrimaryKeyChangeWorksWithMultipleTables/enterprise
--- FAIL: TestChangefeedPrimaryKeyChangeWorksWithMultipleTables/enterprise (5.30s)
```
Help
See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)
/cc @cockroachlabs/cdc
[Improve this report!](https://github.com/cockroachdb/cockroach/tree/master/pkg/cmd/bazci/githubpost/issues)
Jira issue: CRDB-67151
Contributor guide
Assessment
This issue has not been assessed yet.