cockroach
cockroach copied to clipboard
pkg/ccl/logictestccl/tests/3node-tenant/3node-tenant_test: TestTenantLogic_create_as failed
pkg/ccl/logictestccl/tests/3node-tenant/3node-tenant_test.TestTenantLogic_create_as failed with artifacts on master @ d117083c4f6e086a63bd1394d095234faf71bd2f:
=== RUN TestTenantLogic_create_as
test_log_scope.go:170: test logs captured to: /artifacts/tmp/_tmp/dedbd8d3cba1e623e9cf0508efdf67be/logTestTenantLogic_create_as197646001
test_log_scope.go:81: use -show-logs to present logs inline
[16:14:18] setting distsql_workmem='27572B';
[16:14:18] setting distsql_workmem='27572B';
[16:14:20] --- progress: /home/roach/.cache/bazel/_bazel_roach/c5a4e7d36696d9cd970af2045211a7df/sandbox/processwrapper-sandbox/12242/execroot/com_github_cockroachdb_cockroach/bazel-out/aarch64-fastbuild/bin/pkg/ccl/logictestccl/tests/3node-tenant/3node-tenant_test_/3node-tenant_test.runfiles/com_github_cockroachdb_cockroach/pkg/sql/logictest/testdata/logic_test/create_as: 59 statements
[16:14:26] --- progress: /home/roach/.cache/bazel/_bazel_roach/c5a4e7d36696d9cd970af2045211a7df/sandbox/processwrapper-sandbox/12242/execroot/com_github_cockroachdb_cockroach/bazel-out/aarch64-fastbuild/bin/pkg/ccl/logictestccl/tests/3node-tenant/3node-tenant_test_/3node-tenant_test.runfiles/com_github_cockroachdb_cockroach/pkg/sql/logictest/testdata/logic_test/create_as: 75 statements
logic.go:2968:
/home/roach/.cache/bazel/_bazel_roach/c5a4e7d36696d9cd970af2045211a7df/sandbox/processwrapper-sandbox/12242/execroot/com_github_cockroachdb_cockroach/bazel-out/aarch64-fastbuild/bin/pkg/ccl/logictestccl/tests/3node-tenant/3node-tenant_test_/3node-tenant_test.runfiles/com_github_cockroachdb_cockroach/pkg/sql/logictest/testdata/logic_test/create_as:381: SELECT * FROM tab_from_seq
expected:
2
but found (query options: "") :
3
[16:14:26] --- done: /home/roach/.cache/bazel/_bazel_roach/c5a4e7d36696d9cd970af2045211a7df/sandbox/processwrapper-sandbox/12242/execroot/com_github_cockroachdb_cockroach/bazel-out/aarch64-fastbuild/bin/pkg/ccl/logictestccl/tests/3node-tenant/3node-tenant_test_/3node-tenant_test.runfiles/com_github_cockroachdb_cockroach/pkg/sql/logictest/testdata/logic_test/create_as with config 3node-tenant: 76 tests, 1 failures
logic.go:4135:
/home/roach/.cache/bazel/_bazel_roach/c5a4e7d36696d9cd970af2045211a7df/sandbox/processwrapper-sandbox/12242/execroot/com_github_cockroachdb_cockroach/bazel-out/aarch64-fastbuild/bin/pkg/ccl/logictestccl/tests/3node-tenant/3node-tenant_test_/3node-tenant_test.runfiles/com_github_cockroachdb_cockroach/pkg/sql/logictest/testdata/logic_test/create_as:386: error while processing
logic.go:4135: /home/roach/.cache/bazel/_bazel_roach/c5a4e7d36696d9cd970af2045211a7df/sandbox/processwrapper-sandbox/12242/execroot/com_github_cockroachdb_cockroach/bazel-out/aarch64-fastbuild/bin/pkg/ccl/logictestccl/tests/3node-tenant/3node-tenant_test_/3node-tenant_test.runfiles/com_github_cockroachdb_cockroach/pkg/sql/logictest/testdata/logic_test/create_as:386: too many errors encountered, skipping the rest of the input
panic.go:626: -- test log scope end --
test logs left over in: /artifacts/tmp/_tmp/dedbd8d3cba1e623e9cf0508efdf67be/logTestTenantLogic_create_as197646001
--- FAIL: TestTenantLogic_create_as (10.28s)
This test on roachdash | Improve this report!
Jira issue: CRDB-39677
pkg/ccl/logictestccl/tests/3node-tenant/3node-tenant_test.TestTenantLogic_create_as failed with artifacts on master @ 9ac0d8b3b9ee74ab4beee42eab98aac0a80ffecf:
=== RUN TestTenantLogic_create_as
test_log_scope.go:170: test logs captured to: /artifacts/tmp/_tmp/dedbd8d3cba1e623e9cf0508efdf67be/logTestTenantLogic_create_as1796019237
test_log_scope.go:81: use -show-logs to present logs inline
[19:25:30] --- progress: /home/roach/.cache/bazel/_bazel_roach/c5a4e7d36696d9cd970af2045211a7df/sandbox/processwrapper-sandbox/866/execroot/com_github_cockroachdb_cockroach/bazel-out/aarch64-fastbuild/bin/pkg/ccl/logictestccl/tests/3node-tenant/3node-tenant_test_/3node-tenant_test.runfiles/com_github_cockroachdb_cockroach/pkg/sql/logictest/testdata/logic_test/create_as: 48 statements
[19:25:37] --- progress: /home/roach/.cache/bazel/_bazel_roach/c5a4e7d36696d9cd970af2045211a7df/sandbox/processwrapper-sandbox/866/execroot/com_github_cockroachdb_cockroach/bazel-out/aarch64-fastbuild/bin/pkg/ccl/logictestccl/tests/3node-tenant/3node-tenant_test_/3node-tenant_test.runfiles/com_github_cockroachdb_cockroach/pkg/sql/logictest/testdata/logic_test/create_as: 75 statements
logic.go:2968:
/home/roach/.cache/bazel/_bazel_roach/c5a4e7d36696d9cd970af2045211a7df/sandbox/processwrapper-sandbox/866/execroot/com_github_cockroachdb_cockroach/bazel-out/aarch64-fastbuild/bin/pkg/ccl/logictestccl/tests/3node-tenant/3node-tenant_test_/3node-tenant_test.runfiles/com_github_cockroachdb_cockroach/pkg/sql/logictest/testdata/logic_test/create_as:381: SELECT * FROM tab_from_seq
expected:
2
but found (query options: "") :
3
[19:25:37] --- done: /home/roach/.cache/bazel/_bazel_roach/c5a4e7d36696d9cd970af2045211a7df/sandbox/processwrapper-sandbox/866/execroot/com_github_cockroachdb_cockroach/bazel-out/aarch64-fastbuild/bin/pkg/ccl/logictestccl/tests/3node-tenant/3node-tenant_test_/3node-tenant_test.runfiles/com_github_cockroachdb_cockroach/pkg/sql/logictest/testdata/logic_test/create_as with config 3node-tenant: 76 tests, 1 failures
logic.go:4135:
/home/roach/.cache/bazel/_bazel_roach/c5a4e7d36696d9cd970af2045211a7df/sandbox/processwrapper-sandbox/866/execroot/com_github_cockroachdb_cockroach/bazel-out/aarch64-fastbuild/bin/pkg/ccl/logictestccl/tests/3node-tenant/3node-tenant_test_/3node-tenant_test.runfiles/com_github_cockroachdb_cockroach/pkg/sql/logictest/testdata/logic_test/create_as:386: error while processing
logic.go:4135: /home/roach/.cache/bazel/_bazel_roach/c5a4e7d36696d9cd970af2045211a7df/sandbox/processwrapper-sandbox/866/execroot/com_github_cockroachdb_cockroach/bazel-out/aarch64-fastbuild/bin/pkg/ccl/logictestccl/tests/3node-tenant/3node-tenant_test_/3node-tenant_test.runfiles/com_github_cockroachdb_cockroach/pkg/sql/logictest/testdata/logic_test/create_as:386: too many errors encountered, skipping the rest of the input
panic.go:626: -- test log scope end --
test logs left over in: /artifacts/tmp/_tmp/dedbd8d3cba1e623e9cf0508efdf67be/logTestTenantLogic_create_as1796019237
--- FAIL: TestTenantLogic_create_as (10.54s)
pkg/ccl/logictestccl/tests/3node-tenant/3node-tenant_test.TestTenantLogic_create_as failed with artifacts on master @ 00a456270834e2ec511c57f691eed52546407e10:
=== RUN TestTenantLogic_create_as
test_log_scope.go:170: test logs captured to: /artifacts/tmp/_tmp/dedbd8d3cba1e623e9cf0508efdf67be/logTestTenantLogic_create_as1727098523
test_log_scope.go:81: use -show-logs to present logs inline
[19:11:05] --- progress: /home/roach/.cache/bazel/_bazel_roach/c5a4e7d36696d9cd970af2045211a7df/sandbox/processwrapper-sandbox/12276/execroot/com_github_cockroachdb_cockroach/bazel-out/aarch64-fastbuild/bin/pkg/ccl/logictestccl/tests/3node-tenant/3node-tenant_test_/3node-tenant_test.runfiles/com_github_cockroachdb_cockroach/pkg/sql/logictest/testdata/logic_test/create_as: 48 statements
[19:11:11] --- progress: /home/roach/.cache/bazel/_bazel_roach/c5a4e7d36696d9cd970af2045211a7df/sandbox/processwrapper-sandbox/12276/execroot/com_github_cockroachdb_cockroach/bazel-out/aarch64-fastbuild/bin/pkg/ccl/logictestccl/tests/3node-tenant/3node-tenant_test_/3node-tenant_test.runfiles/com_github_cockroachdb_cockroach/pkg/sql/logictest/testdata/logic_test/create_as: 75 statements
logic.go:2968:
/home/roach/.cache/bazel/_bazel_roach/c5a4e7d36696d9cd970af2045211a7df/sandbox/processwrapper-sandbox/12276/execroot/com_github_cockroachdb_cockroach/bazel-out/aarch64-fastbuild/bin/pkg/ccl/logictestccl/tests/3node-tenant/3node-tenant_test_/3node-tenant_test.runfiles/com_github_cockroachdb_cockroach/pkg/sql/logictest/testdata/logic_test/create_as:381: SELECT * FROM tab_from_seq
expected:
2
but found (query options: "") :
3
[19:11:11] --- done: /home/roach/.cache/bazel/_bazel_roach/c5a4e7d36696d9cd970af2045211a7df/sandbox/processwrapper-sandbox/12276/execroot/com_github_cockroachdb_cockroach/bazel-out/aarch64-fastbuild/bin/pkg/ccl/logictestccl/tests/3node-tenant/3node-tenant_test_/3node-tenant_test.runfiles/com_github_cockroachdb_cockroach/pkg/sql/logictest/testdata/logic_test/create_as with config 3node-tenant: 76 tests, 1 failures
logic.go:4135:
/home/roach/.cache/bazel/_bazel_roach/c5a4e7d36696d9cd970af2045211a7df/sandbox/processwrapper-sandbox/12276/execroot/com_github_cockroachdb_cockroach/bazel-out/aarch64-fastbuild/bin/pkg/ccl/logictestccl/tests/3node-tenant/3node-tenant_test_/3node-tenant_test.runfiles/com_github_cockroachdb_cockroach/pkg/sql/logictest/testdata/logic_test/create_as:386: error while processing
logic.go:4135: /home/roach/.cache/bazel/_bazel_roach/c5a4e7d36696d9cd970af2045211a7df/sandbox/processwrapper-sandbox/12276/execroot/com_github_cockroachdb_cockroach/bazel-out/aarch64-fastbuild/bin/pkg/ccl/logictestccl/tests/3node-tenant/3node-tenant_test_/3node-tenant_test.runfiles/com_github_cockroachdb_cockroach/pkg/sql/logictest/testdata/logic_test/create_as:386: too many errors encountered, skipping the rest of the input
panic.go:626: -- test log scope end --
test logs left over in: /artifacts/tmp/_tmp/dedbd8d3cba1e623e9cf0508efdf67be/logTestTenantLogic_create_as1727098523
--- FAIL: TestTenantLogic_create_as (10.93s)
# Test CREATE TABLE AS referring to a sequence.
statement ok
CREATE SEQUENCE seq;
statement OK
CREATE TABLE tab_from_seq AS (SELECT nextval('seq'))
query I
SELECT * FROM tab_from_seq
----
2
We can change the check in the last line to assert that the value is greater than or equal to 2, rather than strictly equal. It can be larger if the CREATE was auto-retried.