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.17k stars 3.82k forks source link

pkg/ccl/testccl/sqlstatsccl/sqlstatsccl_test: TestSQLStatsRegions failed #133651

Open cockroach-teamcity opened 3 weeks ago

cockroach-teamcity commented 3 weeks ago

pkg/ccl/testccl/sqlstatsccl/sqlstatsccl_test.TestSQLStatsRegions failed on release-24.3 @ 416acdb7560e4548f3b82c5a522ef48592471c7d:

=== RUN   TestSQLStatsRegions
    test_log_scope.go:165: test logs captured to: outputs.zip/logTestSQLStatsRegions3283576028
    test_log_scope.go:76: use -show-logs to present logs inline
    sql_stats_test.go:242: -- test log scope end --
test logs left over in: outputs.zip/logTestSQLStatsRegions3283576028
--- FAIL: TestSQLStatsRegions (141.79s)
=== RUN   TestSQLStatsRegions/secondary_tenant
    sql_stats_test.go:237: 
            Error Trace:    pkg/ccl/testccl/sqlstatsccl/sql_stats_test.go:237
                                        pkg/testutils/soon.go:71
                                        pkg/util/retry/retry.go:213
                                        pkg/testutils/soon.go:77
                                        pkg/testutils/soon.go:56
                                        pkg/ccl/testccl/sqlstatsccl/sql_stats_test.go:184
            Error:          Not equal: 
                            expected: []string{"gcp-us-central1", "gcp-us-east1", "gcp-us-west1"}
                            actual  : []string{"gcp-us-central1", "gcp-us-west1"}

                            Diff:
                            --- Expected
                            +++ Actual
                            @@ -1,4 +1,3 @@
                            -([]string) (len=3) {
                            +([]string) (len=2) {
                              (string) (len=15) "gcp-us-central1",
                            - (string) (len=12) "gcp-us-east1",
                              (string) (len=12) "gcp-us-west1"
            Test:           TestSQLStatsRegions/secondary_tenant
    --- FAIL: TestSQLStatsRegions/secondary_tenant (39.27s)

Parameters:

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

/cc @cockroachdb/obs-prs

This test on roachdash | Improve this report!

Jira issue: CRDB-43716

kyle-a-wong commented 3 weeks ago

We've seen this before (https://github.com/cockroachdb/cockroach/issues/125201), so this isn't a release blocker for 24.3.

kyle-a-wong commented 3 weeks ago

sqlstatsccltest.log Attaching log to preserve, in case the eng-flow run expires