cockroachdb / cockroach

CockroachDB — the cloud native, distributed SQL database designed for high availability, effortless scale, and control over data placement.
https://www.cockroachlabs.com
Other
30.13k stars 3.81k forks source link

sql: TestTrackOnlyUserOpenTransactionsAndActiveStatements failed #134178

Open cockroach-teamcity opened 1 week ago

cockroach-teamcity commented 1 week ago

sql.TestTrackOnlyUserOpenTransactionsAndActiveStatements failed with artifacts on release-23.2 @ 05b4173957118b45d1967234bcb4b399ea348630:

=== RUN   TestTrackOnlyUserOpenTransactionsAndActiveStatements
    test_log_scope.go:165: test logs captured to: /artifacts/tmp/_tmp/b287de7194e17a0386ee1775f0d198ba/logTestTrackOnlyUserOpenTransactionsAndActiveStatements3391252704
    test_log_scope.go:76: use -show-logs to present logs inline
    test_server_shim.go:141: cluster virtualization disabled in global scope due to issue: #76378 (expected label: C-bug)
    conditional_wrap.go:185: 
        pkg/sql_test/pkg/sql/conn_executor_test.go:1677: (TestTrackOnlyUserOpenTransactionsAndActiveStatements)
            NOTICE: .SQLServer() called via implicit interface ApplicationLayerInterface;
        HINT: consider using .ApplicationLayer().SQLServer() instead.
    conditional_wrap.go:189: TIP: consider replacing the test server initialization from:
            ts, ... := serverutils.StartServer(t, ...)
            defer ts.Stopper().Stop(...)
        to:
            srv, ... := serverutils.StartServer(t, ...)
            defer srv.Stopper().Stop(...)
            ts := srv.ApplicationLayer()

        See also: https://go.crdb.dev/p/testserver-and-cluster-virtualization
    conn_executor_test.go:1698: 
            Error Trace:    github.com/cockroachdb/cockroach/pkg/sql_test/pkg/sql/conn_executor_test.go:1698
                                        github.com/cockroachdb/cockroach/pkg/sql_test/pkg/sql/conn_executor_test.go:1792
            Error:          Not equal: 
                            expected: 0
                            actual  : 1
            Test:           TestTrackOnlyUserOpenTransactionsAndActiveStatements
    panic.go:523: -- test log scope end --
test logs left over in: /artifacts/tmp/_tmp/b287de7194e17a0386ee1775f0d198ba/logTestTrackOnlyUserOpenTransactionsAndActiveStatements3391252704
--- FAIL: TestTrackOnlyUserOpenTransactionsAndActiveStatements (1.19s)

Parameters:

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

Same failure on other branches

- #131089 sql: TestTrackOnlyUserOpenTransactionsAndActiveStatements failed [C-test-failure O-robot P-2 T-sql-foundations branch-release-23.1]

This test on roachdash | Improve this report!

Jira issue: CRDB-43959

cockroach-teamcity commented 1 day ago

sql.TestTrackOnlyUserOpenTransactionsAndActiveStatements failed with artifacts on release-23.2 @ ad4f7954735d179b79c01a748b6f04e5071d56f0:

=== RUN   TestTrackOnlyUserOpenTransactionsAndActiveStatements
    test_log_scope.go:165: test logs captured to: /artifacts/tmp/_tmp/b287de7194e17a0386ee1775f0d198ba/logTestTrackOnlyUserOpenTransactionsAndActiveStatements806988513
    test_log_scope.go:76: use -show-logs to present logs inline
    test_server_shim.go:141: cluster virtualization disabled in global scope due to issue: #76378 (expected label: C-bug)
    conditional_wrap.go:185: 
        pkg/sql_test/pkg/sql/conn_executor_test.go:1677: (TestTrackOnlyUserOpenTransactionsAndActiveStatements)
            NOTICE: .SQLServer() called via implicit interface ApplicationLayerInterface;
        HINT: consider using .ApplicationLayer().SQLServer() instead.
    conditional_wrap.go:189: TIP: consider replacing the test server initialization from:
            ts, ... := serverutils.StartServer(t, ...)
            defer ts.Stopper().Stop(...)
        to:
            srv, ... := serverutils.StartServer(t, ...)
            defer srv.Stopper().Stop(...)
            ts := srv.ApplicationLayer()

        See also: https://go.crdb.dev/p/testserver-and-cluster-virtualization
    conn_executor_test.go:1698: 
            Error Trace:    github.com/cockroachdb/cockroach/pkg/sql_test/pkg/sql/conn_executor_test.go:1698
                                        github.com/cockroachdb/cockroach/pkg/sql_test/pkg/sql/conn_executor_test.go:1792
            Error:          Not equal: 
                            expected: 0
                            actual  : 2
            Test:           TestTrackOnlyUserOpenTransactionsAndActiveStatements
    panic.go:523: -- test log scope end --
test logs left over in: /artifacts/tmp/_tmp/b287de7194e17a0386ee1775f0d198ba/logTestTrackOnlyUserOpenTransactionsAndActiveStatements806988513
--- FAIL: TestTrackOnlyUserOpenTransactionsAndActiveStatements (1.11s)

Parameters:

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

This test on roachdash | Improve this report!