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

pkg/sql/schemachanger/schemachanger_test: TestValidateMixedVersionElements_add_column_with_stored failed #106348

Closed
cockroach-teamcity opened this issue Jul 6, 2023 · 1 comment
Labels
branch-master Failures and bugs on the master branch. C-test-failure Broken test (automatically or manually discovered). O-robot Originated from a bot. T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions)
Milestone

Comments

@cockroach-teamcity
Copy link
Member

cockroach-teamcity commented Jul 6, 2023

pkg/sql/schemachanger/schemachanger_test.TestValidateMixedVersionElements_add_column_with_stored failed with artifacts on master @ 818aec861357579eb3a3e987cf5887f3cf112be4:

    datadriven.go:143: 
        /home/roach/.cache/bazel/_bazel_roach/c5a4e7d36696d9cd970af2045211a7df/sandbox/processwrapper-sandbox/11120/execroot/com_github_cockroachdb_cockroach/bazel-out/aarch64-fastbuild/bin/pkg/sql/schemachanger/schemachanger_test_/schemachanger_test.runfiles/com_github_cockroachdb_cockroach/pkg/sql/schemachanger/testdata/end_to_end/add_column_with_stored/add_column_with_stored.definition:18:
        stage-exec [2 args]
        INSERT INTO db.public.tbl VALUES($stageKey, 1);
        INSERT INTO db.public.tbl VALUES($stageKey + 1, 1);
        UPDATE db.public.tbl SET k=$stageKey WHERE i <> -7;
        UPDATE db.public.tbl SET k=i WHERE i <> -7;
        DELETE FROM db.public.tbl WHERE i=-1;
        DELETE FROM db.public.tbl WHERE i=$stageKey;
        INSERT INTO db.public.tbl VALUES($stageKey, 1);
        INSERT INTO db.public.tbl VALUES(-1, -1);
        ----
    datadriven.go:143: 
        /home/roach/.cache/bazel/_bazel_roach/c5a4e7d36696d9cd970af2045211a7df/sandbox/processwrapper-sandbox/11120/execroot/com_github_cockroachdb_cockroach/bazel-out/aarch64-fastbuild/bin/pkg/sql/schemachanger/schemachanger_test_/schemachanger_test.runfiles/com_github_cockroachdb_cockroach/pkg/sql/schemachanger/testdata/end_to_end/add_column_with_stored/add_column_with_stored.definition:30:
        stage-query [2 args]
        SELECT count(*)=($successfulStageCount*2)+4 FROM db.public.tbl;
        ----
        true
    datadriven.go:143: 
        /home/roach/.cache/bazel/_bazel_roach/c5a4e7d36696d9cd970af2045211a7df/sandbox/processwrapper-sandbox/11120/execroot/com_github_cockroachdb_cockroach/bazel-out/aarch64-fastbuild/bin/pkg/sql/schemachanger/schemachanger_test_/schemachanger_test.runfiles/com_github_cockroachdb_cockroach/pkg/sql/schemachanger/testdata/end_to_end/add_column_with_stored/add_column_with_stored.definition:36:
        stage-exec [2 args]
        INSERT INTO db.public.tbl VALUES($stageKey, 1);
        INSERT INTO db.public.tbl VALUES($stageKey + 1, 1);
        UPDATE db.public.tbl SET k=$stageKey WHERE i <> -7;
        UPDATE db.public.tbl SET k=i WHERE i <> -7;
        DELETE FROM db.public.tbl WHERE i=-1;
        DELETE FROM db.public.tbl WHERE i=$stageKey;
        INSERT INTO db.public.tbl VALUES($stageKey, 1);
        INSERT INTO db.public.tbl VALUES(-1, -1);
        ----
    datadriven.go:143: 
        /home/roach/.cache/bazel/_bazel_roach/c5a4e7d36696d9cd970af2045211a7df/sandbox/processwrapper-sandbox/11120/execroot/com_github_cockroachdb_cockroach/bazel-out/aarch64-fastbuild/bin/pkg/sql/schemachanger/schemachanger_test_/schemachanger_test.runfiles/com_github_cockroachdb_cockroach/pkg/sql/schemachanger/testdata/end_to_end/add_column_with_stored/add_column_with_stored.definition:48:
        stage-query [2 args]
        SELECT count(*)=($successfulStageCount*2)+1 FROM db.public.tbl;
        ----
        false
=== CONT  TestValidateMixedVersionElements_add_column_with_stored
    panic.go:522: -- test log scope end --
test logs left over in: /artifacts/tmp/_tmp/208afaa00484ae4755f3273b5877352e/logTestValidateMixedVersionElements_add_column_with_stored3886024012
--- FAIL: TestValidateMixedVersionElements_add_column_with_stored (80.59s)
=== RUN   TestValidateMixedVersionElements_add_column_with_stored/pause_upgrade_and_resume_at_each_stage
    --- FAIL: TestValidateMixedVersionElements_add_column_with_stored/pause_upgrade_and_resume_at_each_stage (79.16s)
=== RUN   TestValidateMixedVersionElements_add_column_with_stored/pause_upgrade_and_resume_at_each_stage/PostCommitPhase_3_of_7
    cumulative.go:1724: 
        	Error Trace:	github.com/cockroachdb/cockroach/pkg/sql/schemachanger/sctest/cumulative.go:1724
        	            				GOROOT/src/runtime/asm_arm64.s:1172
        	Error:      	Received unexpected error:
        	            	dial tcp 127.0.0.1:35895: connect: connection refused
        	Test:       	TestValidateMixedVersionElements_add_column_with_stored/pause_upgrade_and_resume_at_each_stage/PostCommitPhase_3_of_7
        --- FAIL: TestValidateMixedVersionElements_add_column_with_stored/pause_upgrade_and_resume_at_each_stage/PostCommitPhase_3_of_7 (8.77s)
Help

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

/cc @cockroachdb/sql-foundations

This test on roachdash | Improve this report!

Jira issue: CRDB-29521

@cockroach-teamcity cockroach-teamcity added branch-master Failures and bugs on the master branch. C-test-failure Broken test (automatically or manually discovered). O-robot Originated from a bot. T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions) labels Jul 6, 2023
@cockroach-teamcity cockroach-teamcity added this to the 23.2 milestone Jul 6, 2023
@rafiss
Copy link
Collaborator

rafiss commented Jul 7, 2023

We can't repro since after #106411 was merged.

@rafiss rafiss closed this as completed Jul 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
branch-master Failures and bugs on the master branch. C-test-failure Broken test (automatically or manually discovered). O-robot Originated from a bot. T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions)
Projects
None yet
Development

No branches or pull requests

2 participants