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

ccl/changefeedccl: TestChangefeedOnlyInitialScan failed #92211

Closed
cockroach-teamcity opened this issue Nov 20, 2022 · 7 comments · Fixed by #92341
Closed

ccl/changefeedccl: TestChangefeedOnlyInitialScan failed #92211

cockroach-teamcity opened this issue Nov 20, 2022 · 7 comments · Fixed by #92341
Assignees
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-robot Originated from a bot. T-cdc
Milestone

Comments

@cockroach-teamcity
Copy link
Member

cockroach-teamcity commented Nov 20, 2022

ccl/changefeedccl.TestChangefeedOnlyInitialScan failed with artifacts on release-22.2 @ bf7c1cf83275be4645fc77581be2cb9d5e8502c4:

=== RUN   TestChangefeedOnlyInitialScan
    test_log_scope.go:161: test logs captured to: /artifacts/tmp/_tmp/905465f697dc04c39f7d8a82cb057bfe/logTestChangefeedOnlyInitialScan4217399105
    test_log_scope.go:79: use -show-logs to present logs inline
=== CONT  TestChangefeedOnlyInitialScan
    changefeed_test.go:6350: -- test log scope end --
test logs left over in: /artifacts/tmp/_tmp/905465f697dc04c39f7d8a82cb057bfe/logTestChangefeedOnlyInitialScan4217399105
--- FAIL: TestChangefeedOnlyInitialScan (82.35s)
=== RUN   TestChangefeedOnlyInitialScan/enterprise/initial_scan_only
    changefeed_test.go:6339: 
        	Error Trace:	/home/roach/.cache/bazel/_bazel_roach/c5a4e7d36696d9cd970af2045211a7df/sandbox/processwrapper-sandbox/3393/execroot/com_github_cockroachdb_cockroach/bazel-out/k8-fastbuild/bin/pkg/ccl/changefeedccl/changefeedccl_test_/changefeedccl_test.runfiles/com_github_cockroachdb_cockroach/pkg/ccl/changefeedccl/changefeed_test.go:6339
        	Error:      	Not equal: 
        	            	expected: 5000
        	            	actual  : 0
        	Test:       	TestChangefeedOnlyInitialScan/enterprise/initial_scan_only
        --- FAIL: TestChangefeedOnlyInitialScan/enterprise/initial_scan_only (34.35s)
=== RUN   TestChangefeedOnlyInitialScan/enterprise/initial_backfill_only
    changefeed_test.go:6339: 
        	Error Trace:	/home/roach/.cache/bazel/_bazel_roach/c5a4e7d36696d9cd970af2045211a7df/sandbox/processwrapper-sandbox/3393/execroot/com_github_cockroachdb_cockroach/bazel-out/k8-fastbuild/bin/pkg/ccl/changefeedccl/changefeedccl_test_/changefeedccl_test.runfiles/com_github_cockroachdb_cockroach/pkg/ccl/changefeedccl/changefeed_test.go:6339
        	Error:      	Not equal: 
        	            	expected: 5000
        	            	actual  : 0
        	Test:       	TestChangefeedOnlyInitialScan/enterprise/initial_backfill_only
        --- FAIL: TestChangefeedOnlyInitialScan/enterprise/initial_backfill_only (45.13s)
=== RUN   TestChangefeedOnlyInitialScan/enterprise
    helpers_test.go:740: making server as secondary tenant
    helpers_test.go:830: making enterprise feed factory
    helpers_test.go:832: pgURL enterprise root
    --- FAIL: TestChangefeedOnlyInitialScan/enterprise (82.27s)

Parameters: TAGS=bazel,gss,deadlock

Help

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

Same failure on other branches

/cc @cockroachdb/cdc

This test on roachdash | Improve this report!

Jira issue: CRDB-21646

Epic CRDB-11732

@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-robot Originated from a bot. labels Nov 20, 2022
@cockroach-teamcity cockroach-teamcity added this to the 22.2 milestone Nov 20, 2022
@blathers-crl blathers-crl bot added the T-cdc label Nov 20, 2022
@cockroach-teamcity
Copy link
Member Author

ccl/changefeedccl.TestChangefeedOnlyInitialScan failed with artifacts on release-22.2 @ 2a71a5cca1f66313fd39956f1a3db070f67ade15:

=== RUN   TestChangefeedOnlyInitialScan
    test_log_scope.go:161: test logs captured to: /artifacts/tmp/_tmp/905465f697dc04c39f7d8a82cb057bfe/logTestChangefeedOnlyInitialScan2393985084
    test_log_scope.go:79: use -show-logs to present logs inline
=== CONT  TestChangefeedOnlyInitialScan
    changefeed_test.go:6357: -- test log scope end --
test logs left over in: /artifacts/tmp/_tmp/905465f697dc04c39f7d8a82cb057bfe/logTestChangefeedOnlyInitialScan2393985084
--- FAIL: TestChangefeedOnlyInitialScan (71.31s)
=== RUN   TestChangefeedOnlyInitialScan/enterprise/initial_scan_only
    changefeed_test.go:6346: 
        	Error Trace:	/home/roach/.cache/bazel/_bazel_roach/c5a4e7d36696d9cd970af2045211a7df/sandbox/processwrapper-sandbox/4091/execroot/com_github_cockroachdb_cockroach/bazel-out/k8-fastbuild/bin/pkg/ccl/changefeedccl/changefeedccl_test_/changefeedccl_test.runfiles/com_github_cockroachdb_cockroach/pkg/ccl/changefeedccl/changefeed_test.go:6346
        	Error:      	Not equal: 
        	            	expected: 5000
        	            	actual  : 0
        	Test:       	TestChangefeedOnlyInitialScan/enterprise/initial_scan_only
        --- FAIL: TestChangefeedOnlyInitialScan/enterprise/initial_scan_only (32.95s)
=== RUN   TestChangefeedOnlyInitialScan/enterprise/initial_backfill_only
    changefeed_test.go:6346: 
        	Error Trace:	/home/roach/.cache/bazel/_bazel_roach/c5a4e7d36696d9cd970af2045211a7df/sandbox/processwrapper-sandbox/4091/execroot/com_github_cockroachdb_cockroach/bazel-out/k8-fastbuild/bin/pkg/ccl/changefeedccl/changefeedccl_test_/changefeedccl_test.runfiles/com_github_cockroachdb_cockroach/pkg/ccl/changefeedccl/changefeed_test.go:6346
        	Error:      	Not equal: 
        	            	expected: 5000
        	            	actual  : 0
        	Test:       	TestChangefeedOnlyInitialScan/enterprise/initial_backfill_only
        --- FAIL: TestChangefeedOnlyInitialScan/enterprise/initial_backfill_only (35.20s)
=== RUN   TestChangefeedOnlyInitialScan/enterprise
    helpers_test.go:740: making server as secondary tenant
    helpers_test.go:830: making enterprise feed factory
    helpers_test.go:832: pgURL enterprise root
    --- FAIL: TestChangefeedOnlyInitialScan/enterprise (71.21s)

Parameters: TAGS=bazel,gss,deadlock

Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

ccl/changefeedccl.TestChangefeedOnlyInitialScan failed with artifacts on release-22.2 @ fe3ec49ff917b9b0eab2a4048fec31d56fc26daf:

=== RUN   TestChangefeedOnlyInitialScan
    test_log_scope.go:161: test logs captured to: /artifacts/tmp/_tmp/905465f697dc04c39f7d8a82cb057bfe/logTestChangefeedOnlyInitialScan2220115546
    test_log_scope.go:79: use -show-logs to present logs inline
=== CONT  TestChangefeedOnlyInitialScan
    changefeed_test.go:6357: -- test log scope end --
test logs left over in: /artifacts/tmp/_tmp/905465f697dc04c39f7d8a82cb057bfe/logTestChangefeedOnlyInitialScan2220115546
--- FAIL: TestChangefeedOnlyInitialScan (88.35s)
=== RUN   TestChangefeedOnlyInitialScan/enterprise/initial_backfill_only
    changefeed_test.go:6339: 
        	Error Trace:	/home/roach/.cache/bazel/_bazel_roach/c5a4e7d36696d9cd970af2045211a7df/sandbox/processwrapper-sandbox/4091/execroot/com_github_cockroachdb_cockroach/bazel-out/k8-fastbuild/bin/pkg/ccl/changefeedccl/changefeedccl_test_/changefeedccl_test.runfiles/com_github_cockroachdb_cockroach/pkg/ccl/changefeedccl/changefeed_test.go:6339
        	Error:      	Received unexpected error:
        	            	still waiting for job status; current running
        	            	(1) attached stack trace
        	            	  -- stack trace:
        	            	  | github.com/cockroachdb/cockroach/pkg/ccl/changefeedccl.(*jobFeed).WaitForStatus.func1
        	            	  | 	github.com/cockroachdb/cockroach/pkg/ccl/changefeedccl/testfeed_test.go:341
        	            	  | github.com/cockroachdb/cockroach/pkg/testutils.SucceedsWithinError.func1
        	            	  | 	github.com/cockroachdb/cockroach/pkg/testutils/soon.go:69
        	            	  | github.com/cockroachdb/cockroach/pkg/util/retry.ForDuration
        	            	  | 	github.com/cockroachdb/cockroach/pkg/util/retry/retry.go:208
        	            	  | github.com/cockroachdb/cockroach/pkg/testutils.SucceedsWithinError
        	            	  | 	github.com/cockroachdb/cockroach/pkg/testutils/soon.go:75
        	            	  | github.com/cockroachdb/cockroach/pkg/testutils.SucceedsSoonError
        	            	  | 	github.com/cockroachdb/cockroach/pkg/testutils/soon.go:48
        	            	  | github.com/cockroachdb/cockroach/pkg/ccl/changefeedccl.(*jobFeed).WaitForStatus
        	            	  | 	github.com/cockroachdb/cockroach/pkg/ccl/changefeedccl/testfeed_test.go:332
        	            	  | github.com/cockroachdb/cockroach/pkg/ccl/changefeedccl.TestChangefeedOnlyInitialScan.func1.1
        	            	  | 	github.com/cockroachdb/cockroach/pkg/ccl/changefeedccl/changefeed_test.go:6339
        	            	  | testing.tRunner
        	            	  | 	GOROOT/src/testing/testing.go:1446
        	            	  | runtime.goexit
        	            	  | 	GOROOT/src/runtime/asm_amd64.s:1594
        	            	Wraps: (2) still waiting for job status; current running
        	            	Error types: (1) *withstack.withStack (2) *errutil.leafError
        	Test:       	TestChangefeedOnlyInitialScan/enterprise/initial_backfill_only
        --- FAIL: TestChangefeedOnlyInitialScan/enterprise/initial_backfill_only (46.75s)
=== RUN   TestChangefeedOnlyInitialScan/enterprise
    helpers_test.go:740: making server as secondary tenant
    helpers_test.go:830: making enterprise feed factory
    helpers_test.go:832: pgURL enterprise root
    --- FAIL: TestChangefeedOnlyInitialScan/enterprise (88.17s)
=== RUN   TestChangefeedOnlyInitialScan/enterprise/initial_scan_only
    changefeed_test.go:6346: 
        	Error Trace:	/home/roach/.cache/bazel/_bazel_roach/c5a4e7d36696d9cd970af2045211a7df/sandbox/processwrapper-sandbox/4091/execroot/com_github_cockroachdb_cockroach/bazel-out/k8-fastbuild/bin/pkg/ccl/changefeedccl/changefeedccl_test_/changefeedccl_test.runfiles/com_github_cockroachdb_cockroach/pkg/ccl/changefeedccl/changefeed_test.go:6346
        	Error:      	Not equal: 
        	            	expected: 5000
        	            	actual  : 0
        	Test:       	TestChangefeedOnlyInitialScan/enterprise/initial_scan_only
        --- FAIL: TestChangefeedOnlyInitialScan/enterprise/initial_scan_only (38.10s)

Parameters: TAGS=bazel,gss,deadlock

Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

ccl/changefeedccl.TestChangefeedOnlyInitialScan failed with artifacts on release-22.2 @ fd133ba3af3954c93584a501cf68dfa3131e586c:

=== RUN   TestChangefeedOnlyInitialScan
    test_log_scope.go:161: test logs captured to: /artifacts/tmp/_tmp/905465f697dc04c39f7d8a82cb057bfe/logTestChangefeedOnlyInitialScan2297327844
    test_log_scope.go:79: use -show-logs to present logs inline
=== CONT  TestChangefeedOnlyInitialScan
    changefeed_test.go:6357: -- test log scope end --
test logs left over in: /artifacts/tmp/_tmp/905465f697dc04c39f7d8a82cb057bfe/logTestChangefeedOnlyInitialScan2297327844
--- FAIL: TestChangefeedOnlyInitialScan (73.74s)
=== RUN   TestChangefeedOnlyInitialScan/enterprise/initial_scan_only
    changefeed_test.go:6346: 
        	Error Trace:	/home/roach/.cache/bazel/_bazel_roach/c5a4e7d36696d9cd970af2045211a7df/sandbox/processwrapper-sandbox/2816/execroot/com_github_cockroachdb_cockroach/bazel-out/k8-fastbuild/bin/pkg/ccl/changefeedccl/changefeedccl_test_/changefeedccl_test.runfiles/com_github_cockroachdb_cockroach/pkg/ccl/changefeedccl/changefeed_test.go:6346
        	Error:      	Not equal: 
        	            	expected: 5000
        	            	actual  : 0
        	Test:       	TestChangefeedOnlyInitialScan/enterprise/initial_scan_only
        --- FAIL: TestChangefeedOnlyInitialScan/enterprise/initial_scan_only (35.33s)
=== RUN   TestChangefeedOnlyInitialScan/enterprise/initial_backfill_only
    changefeed_test.go:6346: 
        	Error Trace:	/home/roach/.cache/bazel/_bazel_roach/c5a4e7d36696d9cd970af2045211a7df/sandbox/processwrapper-sandbox/2816/execroot/com_github_cockroachdb_cockroach/bazel-out/k8-fastbuild/bin/pkg/ccl/changefeedccl/changefeedccl_test_/changefeedccl_test.runfiles/com_github_cockroachdb_cockroach/pkg/ccl/changefeedccl/changefeed_test.go:6346
        	Error:      	Not equal: 
        	            	expected: 5000
        	            	actual  : 0
        	Test:       	TestChangefeedOnlyInitialScan/enterprise/initial_backfill_only
        --- FAIL: TestChangefeedOnlyInitialScan/enterprise/initial_backfill_only (35.16s)
=== RUN   TestChangefeedOnlyInitialScan/enterprise
    helpers_test.go:740: making server as secondary tenant
    helpers_test.go:830: making enterprise feed factory
    helpers_test.go:832: pgURL enterprise root
    --- FAIL: TestChangefeedOnlyInitialScan/enterprise (73.62s)

Parameters: TAGS=bazel,gss,deadlock

Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

ccl/changefeedccl.TestChangefeedOnlyInitialScan failed with artifacts on release-22.2 @ fd133ba3af3954c93584a501cf68dfa3131e586c:

=== RUN   TestChangefeedOnlyInitialScan
    test_log_scope.go:161: test logs captured to: /artifacts/tmp/_tmp/905465f697dc04c39f7d8a82cb057bfe/logTestChangefeedOnlyInitialScan976783743
    test_log_scope.go:79: use -show-logs to present logs inline
=== CONT  TestChangefeedOnlyInitialScan
    changefeed_test.go:6357: -- test log scope end --
test logs left over in: /artifacts/tmp/_tmp/905465f697dc04c39f7d8a82cb057bfe/logTestChangefeedOnlyInitialScan976783743
--- FAIL: TestChangefeedOnlyInitialScan (80.12s)
=== RUN   TestChangefeedOnlyInitialScan/enterprise/initial_scan_only
    changefeed_test.go:6346: 
        	Error Trace:	/home/roach/.cache/bazel/_bazel_roach/c5a4e7d36696d9cd970af2045211a7df/sandbox/processwrapper-sandbox/3392/execroot/com_github_cockroachdb_cockroach/bazel-out/k8-fastbuild/bin/pkg/ccl/changefeedccl/changefeedccl_test_/changefeedccl_test.runfiles/com_github_cockroachdb_cockroach/pkg/ccl/changefeedccl/changefeed_test.go:6346
        	Error:      	Not equal: 
        	            	expected: 5000
        	            	actual  : 0
        	Test:       	TestChangefeedOnlyInitialScan/enterprise/initial_scan_only
        --- FAIL: TestChangefeedOnlyInitialScan/enterprise/initial_scan_only (35.77s)
=== RUN   TestChangefeedOnlyInitialScan/enterprise/initial_backfill_only
    changefeed_test.go:6346: 
        	Error Trace:	/home/roach/.cache/bazel/_bazel_roach/c5a4e7d36696d9cd970af2045211a7df/sandbox/processwrapper-sandbox/3392/execroot/com_github_cockroachdb_cockroach/bazel-out/k8-fastbuild/bin/pkg/ccl/changefeedccl/changefeedccl_test_/changefeedccl_test.runfiles/com_github_cockroachdb_cockroach/pkg/ccl/changefeedccl/changefeed_test.go:6346
        	Error:      	Not equal: 
        	            	expected: 5000
        	            	actual  : 0
        	Test:       	TestChangefeedOnlyInitialScan/enterprise/initial_backfill_only
        --- FAIL: TestChangefeedOnlyInitialScan/enterprise/initial_backfill_only (40.79s)
=== RUN   TestChangefeedOnlyInitialScan/enterprise
    helpers_test.go:740: making server as secondary tenant
    helpers_test.go:830: making enterprise feed factory
    helpers_test.go:832: pgURL enterprise root
    --- FAIL: TestChangefeedOnlyInitialScan/enterprise (79.96s)

Parameters: TAGS=bazel,gss,deadlock

Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

ccl/changefeedccl.TestChangefeedOnlyInitialScan failed with artifacts on release-22.2 @ fd133ba3af3954c93584a501cf68dfa3131e586c:

=== RUN   TestChangefeedOnlyInitialScan
    test_log_scope.go:161: test logs captured to: /artifacts/tmp/_tmp/905465f697dc04c39f7d8a82cb057bfe/logTestChangefeedOnlyInitialScan646104949
    test_log_scope.go:79: use -show-logs to present logs inline
=== CONT  TestChangefeedOnlyInitialScan
    changefeed_test.go:6357: -- test log scope end --
test logs left over in: /artifacts/tmp/_tmp/905465f697dc04c39f7d8a82cb057bfe/logTestChangefeedOnlyInitialScan646104949
--- FAIL: TestChangefeedOnlyInitialScan (91.07s)
=== RUN   TestChangefeedOnlyInitialScan/enterprise/initial_scan_only
    changefeed_test.go:6346: 
        	Error Trace:	/home/roach/.cache/bazel/_bazel_roach/c5a4e7d36696d9cd970af2045211a7df/sandbox/processwrapper-sandbox/3204/execroot/com_github_cockroachdb_cockroach/bazel-out/k8-fastbuild/bin/pkg/ccl/changefeedccl/changefeedccl_test_/changefeedccl_test.runfiles/com_github_cockroachdb_cockroach/pkg/ccl/changefeedccl/changefeed_test.go:6346
        	Error:      	Not equal: 
        	            	expected: 5000
        	            	actual  : 0
        	Test:       	TestChangefeedOnlyInitialScan/enterprise/initial_scan_only
        --- FAIL: TestChangefeedOnlyInitialScan/enterprise/initial_scan_only (40.78s)
=== RUN   TestChangefeedOnlyInitialScan/enterprise/initial_backfill_only
    changefeed_test.go:6346: 
        	Error Trace:	/home/roach/.cache/bazel/_bazel_roach/c5a4e7d36696d9cd970af2045211a7df/sandbox/processwrapper-sandbox/3204/execroot/com_github_cockroachdb_cockroach/bazel-out/k8-fastbuild/bin/pkg/ccl/changefeedccl/changefeedccl_test_/changefeedccl_test.runfiles/com_github_cockroachdb_cockroach/pkg/ccl/changefeedccl/changefeed_test.go:6346
        	Error:      	Not equal: 
        	            	expected: 5000
        	            	actual  : 0
        	Test:       	TestChangefeedOnlyInitialScan/enterprise/initial_backfill_only
        --- FAIL: TestChangefeedOnlyInitialScan/enterprise/initial_backfill_only (45.96s)
=== RUN   TestChangefeedOnlyInitialScan/enterprise
    helpers_test.go:740: making server as secondary tenant
    helpers_test.go:830: making enterprise feed factory
    helpers_test.go:832: pgURL enterprise root
    --- FAIL: TestChangefeedOnlyInitialScan/enterprise (90.99s)

Parameters: TAGS=bazel,gss,deadlock

Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

ccl/changefeedccl.TestChangefeedOnlyInitialScan failed with artifacts on release-22.2 @ fd133ba3af3954c93584a501cf68dfa3131e586c:

=== RUN   TestChangefeedOnlyInitialScan
    test_log_scope.go:161: test logs captured to: /artifacts/tmp/_tmp/905465f697dc04c39f7d8a82cb057bfe/logTestChangefeedOnlyInitialScan3069032946
    test_log_scope.go:79: use -show-logs to present logs inline
=== CONT  TestChangefeedOnlyInitialScan
    changefeed_test.go:6357: -- test log scope end --
test logs left over in: /artifacts/tmp/_tmp/905465f697dc04c39f7d8a82cb057bfe/logTestChangefeedOnlyInitialScan3069032946
--- FAIL: TestChangefeedOnlyInitialScan (83.98s)
=== RUN   TestChangefeedOnlyInitialScan/enterprise/initial_scan_only
    changefeed_test.go:6346: 
        	Error Trace:	/home/roach/.cache/bazel/_bazel_roach/c5a4e7d36696d9cd970af2045211a7df/sandbox/processwrapper-sandbox/3487/execroot/com_github_cockroachdb_cockroach/bazel-out/k8-fastbuild/bin/pkg/ccl/changefeedccl/changefeedccl_test_/changefeedccl_test.runfiles/com_github_cockroachdb_cockroach/pkg/ccl/changefeedccl/changefeed_test.go:6346
        	Error:      	Not equal: 
        	            	expected: 5000
        	            	actual  : 0
        	Test:       	TestChangefeedOnlyInitialScan/enterprise/initial_scan_only
        --- FAIL: TestChangefeedOnlyInitialScan/enterprise/initial_scan_only (38.89s)
=== RUN   TestChangefeedOnlyInitialScan/enterprise/initial_backfill_only
    changefeed_test.go:6346: 
        	Error Trace:	/home/roach/.cache/bazel/_bazel_roach/c5a4e7d36696d9cd970af2045211a7df/sandbox/processwrapper-sandbox/3487/execroot/com_github_cockroachdb_cockroach/bazel-out/k8-fastbuild/bin/pkg/ccl/changefeedccl/changefeedccl_test_/changefeedccl_test.runfiles/com_github_cockroachdb_cockroach/pkg/ccl/changefeedccl/changefeed_test.go:6346
        	Error:      	Not equal: 
        	            	expected: 5000
        	            	actual  : 0
        	Test:       	TestChangefeedOnlyInitialScan/enterprise/initial_backfill_only
        --- FAIL: TestChangefeedOnlyInitialScan/enterprise/initial_backfill_only (41.37s)
=== RUN   TestChangefeedOnlyInitialScan/enterprise
    helpers_test.go:740: making server as secondary tenant
    helpers_test.go:830: making enterprise feed factory
    helpers_test.go:832: pgURL enterprise root
    --- FAIL: TestChangefeedOnlyInitialScan/enterprise (83.85s)

Parameters: TAGS=bazel,gss,deadlock

Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

ccl/changefeedccl.TestChangefeedOnlyInitialScan failed with artifacts on release-22.2 @ 0ebce067f89a997f1daf04b4180d4dc5035c4fea:

=== RUN   TestChangefeedOnlyInitialScan
    test_log_scope.go:161: test logs captured to: /artifacts/tmp/_tmp/905465f697dc04c39f7d8a82cb057bfe/logTestChangefeedOnlyInitialScan1459350360
    test_log_scope.go:79: use -show-logs to present logs inline
=== CONT  TestChangefeedOnlyInitialScan
    changefeed_test.go:6357: -- test log scope end --
test logs left over in: /artifacts/tmp/_tmp/905465f697dc04c39f7d8a82cb057bfe/logTestChangefeedOnlyInitialScan1459350360
--- FAIL: TestChangefeedOnlyInitialScan (88.13s)
=== RUN   TestChangefeedOnlyInitialScan/enterprise/initial_scan_only
    changefeed_test.go:6346: 
        	Error Trace:	/home/roach/.cache/bazel/_bazel_roach/c5a4e7d36696d9cd970af2045211a7df/sandbox/processwrapper-sandbox/3397/execroot/com_github_cockroachdb_cockroach/bazel-out/k8-fastbuild/bin/pkg/ccl/changefeedccl/changefeedccl_test_/changefeedccl_test.runfiles/com_github_cockroachdb_cockroach/pkg/ccl/changefeedccl/changefeed_test.go:6346
        	Error:      	Not equal: 
        	            	expected: 5000
        	            	actual  : 0
        	Test:       	TestChangefeedOnlyInitialScan/enterprise/initial_scan_only
        --- FAIL: TestChangefeedOnlyInitialScan/enterprise/initial_scan_only (38.47s)
=== RUN   TestChangefeedOnlyInitialScan/enterprise/initial_backfill_only
    changefeed_test.go:6346: 
        	Error Trace:	/home/roach/.cache/bazel/_bazel_roach/c5a4e7d36696d9cd970af2045211a7df/sandbox/processwrapper-sandbox/3397/execroot/com_github_cockroachdb_cockroach/bazel-out/k8-fastbuild/bin/pkg/ccl/changefeedccl/changefeedccl_test_/changefeedccl_test.runfiles/com_github_cockroachdb_cockroach/pkg/ccl/changefeedccl/changefeed_test.go:6346
        	Error:      	Not equal: 
        	            	expected: 5000
        	            	actual  : 0
        	Test:       	TestChangefeedOnlyInitialScan/enterprise/initial_backfill_only
        --- FAIL: TestChangefeedOnlyInitialScan/enterprise/initial_backfill_only (46.25s)
=== RUN   TestChangefeedOnlyInitialScan/enterprise
    helpers_test.go:740: making server as secondary tenant
    helpers_test.go:830: making enterprise feed factory
    helpers_test.go:832: pgURL enterprise root
    --- FAIL: TestChangefeedOnlyInitialScan/enterprise (88.01s)

Parameters: TAGS=bazel,gss,deadlock

Help

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

Same failure on other branches

This test on roachdash | Improve this report!

craig bot pushed a commit that referenced this issue Nov 30, 2022
89358: memo: better selectivity estimates on single-table ORed predicates r=rytaft,michae2 a=msirek

Fixes #75090

Currently, the optimizer only does a good job of estimating the       
selectivity of single-table ORed predicates when all disjuncts are tight  
constraints. Otherwise we give up and go with the default selectivity of    
1/3 for the entire filter. If any of the disjuncts has a selectivity 
above 1/3, then the total selectivity should be at least as high as the 
selectivity of that disjunct. Any failure to find a tight constraint for
a given disjunct should only cause a selectivity of 1/3 to be used for
that disjunct, not the entire filter.  

This is addressed by using the method of combining ORed selectivities
introduced by #74303:
```
   Given predicates A and B and probability function P:

      P(A or B) = P(A) + P(B) - P(A and B)
```
The above formula is applied n-1 times, given n disjuncts.
For each disjunct which is not a tight constraint, 1/3 is used for that
predicate's selectivity in the formula.

Release note (bug fix): This patch fixes incorrect selectivity
estimation for queries with ORed predicates all referencing a
common single table.


91040: cloud/amazon: support external ID in AWS assume role r=rhu713 a=rhu713

Support passing in the optional external ID when assuming a role. This is done by extending the values of the comma-separated string value of the ASSUME_ROLE parameter to the format `<role>;external_id=<id>`. Users can still use the previous format of just `<role>` to specify a role without any external ID.

When using role chaining, each role in the chain can be associated with a different external ID. For example:
`ASSUME_ROLE=<roleA>;external_id=<idA>,<roleB>;external_id=<idB>,<roleC>` will use external ID `<idA>` to assume delegate `<roleA>`, then use external ID `<idB>` to assume delegate `<roleB>`, and finally no external ID to assume the final role `<roleC>`.

Additional documentation about external IDs can be found here: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-user_externalid.html

Release note (enterprise change): Support passing in the optional external ID when assuming a role. This is done by extending the values of the comma-separated string value of the ASSUME_ROLE parameter to the format `<role>;external_id=<id>`. Users can still use the previous format of just `<role>` to specify a role without any external ID.

When using role chaining, each role in the chain can be associated with a different external ID. For example:
`ASSUME_ROLE=<roleA>;external_id=<idA>,<roleB>;external_id=<idB>,<roleC>` will use external ID `<idA>` to assume delegate `<roleA>`, then use external ID `<idB>` to assume delegate `<roleB>`, and finally no external ID to assume the final role `<roleC>`.

Addresses #90239

92341: changefeedccl: fix flakey tests r=[miretskiy] a=HonoreDB

Our test SQL connection doesn't always read its own writes: it can use different connections for different queries. So
```
INSERT INTO foo;
feed(CREATE CHANGEFEED FOR foo)
```
is a race condition. This just doesn't matter for most tests because if the insert happens after the initial scan, it creates the same payload. But tests with initial_scan='only' won't see it at all.

Fixes #92211

Release note: None

92462: scripts: improve pprof-loop.sh r=andrewbaptist a=tbg

Now it also works with the runtime trace endpoint (worked before but
printed concerning-looking errors) and with non-blocking endpoints
(cumulative profiles such as heap or mutex), for which it previously
busy-looped.

Epic: None
Release note: None


92591: ui: add 99.9th and 99.99th SQL latency charts r=maryliag a=maryliag

This commit introduces the charts for:
`Service Latency: SQL Statements, 99.99th percentile` and
`Service Latency: SQL Statements, 99.9th percentile` on Metrics page under SQL view.

Fixes #74247

<img width="806" alt="Screen Shot 2022-11-28 at 12 23 56 PM" src="https://user-images.githubusercontent.com/1017486/204342077-b5509f51-f94e-44be-a2e8-8bd185d12ce6.png">



Release note (ui change): Added charts
`Service Latency: SQL Statements, 99.9th percentile` and `Service Latency: SQL Statements, 99.99th percentile` to Metrics page, under SQL view.

92635: tree: fix internal error comparing tuple type with non-tuple type r=rytaft,mgartner a=msirek

Fixes #91532

This fixes comparison of an empty tuple expression, ROW() or (), or
a non-empty tuple expression with a non-tuple type by returning
an error message instead of an internal error.

Release note (bug fix): This fixes an internal error when comparing
a tuple type with a non-tuple type.

92636: backupccl: add restore corrupt descriptor validation test r=adityamaru a=msbutler

This patch adds a test that ensures that restore automatically detects corrupt restoring descriptors via the sql descriptor collection read/write machinery.

Fixes #84757

Release note: None

92692: jobs: protected timestamps refresh logic is not transactional r=fqazi a=fqazi

Fixes: #92427

Previously, the refresh logic for protected timestamps would fetch jobs with transactions before attempting to update an existing one. Due to a recent change to allow this API to reflect any changes into individual job objects, we no longer do that correctly. This patch fixes the protected timestamp manager to update timestamps in a transactionally, safe manner since multiple updates can be happening concurrently for schema changes.

Release note: None

Co-authored-by: Mark Sirek <sirek@cockroachlabs.com>
Co-authored-by: Rui Hu <rui@cockroachlabs.com>
Co-authored-by: Aaron Zinger <zinger@cockroachlabs.com>
Co-authored-by: Tobias Grieger <tobias.b.grieger@gmail.com>
Co-authored-by: maryliag <marylia@cockroachlabs.com>
Co-authored-by: Michael Butler <butler@cockroachlabs.com>
Co-authored-by: Faizan Qazi <faizan@cockroachlabs.com>
@craig craig bot closed this as completed in c6d4a27 Nov 30, 2022
blathers-crl bot pushed a commit that referenced this issue Nov 30, 2022
Our test SQL connection doesn't always read its own writes:
it can use different connections for different queries.
So
```
INSERT INTO foo;
feed(CREATE CHANGEFEED FOR foo)
```
is a race condition. This just doesn't matter for most tests
because if the insert happens after the initial scan, it creates
the same payload. But tests with initial_scan='only' won't see it
at all.

Fixes #92211

Release note: None
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-robot Originated from a bot. T-cdc
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants