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
29.9k stars 3.78k forks source link

compose: TestComposeCompare failed #73421

Closed cockroach-teamcity closed 1 year ago

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-21.2 @ 8fdbf4dacfdf3c2032937fe5359255f3dc13c61a:

        postgres_1    |             AS tab_33492
        postgres_1    |     ORDER BY
        postgres_1    |         col_59994 NULLS FIRST, col_59995 NULLS FIRST, col_59996 NULLS FIRST, col_59997 NULLS FIRST, col_59998 NULLS FIRST
        test_1        | --- FAIL: TestCompare (658.61s)
        test_1        |     compare_test.go:116: Checking connection to: postgres
        test_1        |     compare_test.go:116: Checking connection to: cockroach1
        test_1        |     compare_test.go:116: Checking connection to: cockroach2
        test_1        |     --- FAIL: TestCompare/postgres (56.01s)
        test_1        |         compare_test.go:125: starting test: postgres
        test_1        |         compare_test.go:132: initializing connection: cockroach1
        test_1        |         compare_test.go:132: initializing connection: postgres
        test_1        |         compare_test.go:183: compare cockroach1 to postgres:
        test_1        |             unexpected diff:
        test_1        |               []interface{}(Inverse(func1, []interface{}{
        test_1        |                 pgtype.Numeric{
        test_1        |             -       Int:    s"17320508075688772935",
        test_1        |             +       Int:    s"1732050807568877",
        test_1        |             -       Exp:    -19,
        test_1        |             +       Exp:    -15,
        test_1        |                     Status: 2,
        test_1        |                     NaN:    false,
        test_1        |                 },
        test_1        |               }))
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (SELECT sqrt(3:::DECIMAL::DECIMAL::DECIMAL)::DECIMAL AS col_60044) AS tab_33521
        test_1        |             ORDER BY
        test_1        |                 col_60044 NULLS FIRST;
        test_1        |             
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (SELECT sqrt(3::DECIMAL::DECIMAL::DECIMAL)::DECIMAL AS col_60044) AS tab_33521
        test_1        |             ORDER BY
        test_1        |                 col_60044 NULLS FIRST;
        test_1        |             
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_cockroach1_1 ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...

    compose_test.go:49: exit status 1
Reproduce

To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```

Same failure on other branches

- #67844 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1] - #67791 compose: TestComposeCompare failed [C-test-failure O-robot branch-master]

Internal log

``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

Jira issue: CRDB-11579

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-21.2 @ 6133ffd5459ae01d79e3dfd98528e557bb868eca:

        test_1        |         compare_test.go:125: starting test: postgres
        test_1        |         compare_test.go:132: initializing connection: cockroach1
        test_1        |         compare_test.go:132: initializing connection: postgres
        test_1        |         compare_test.go:183: compare cockroach1 to postgres:
        test_1        |             unexpected diff:
        test_1        |               []interface{}(Inverse(func1, []interface{}{
        test_1        |             -   nil,
        test_1        |             +   string("BOX(45 -90,90 -45)"),
        test_1        |               }))
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (
        test_1        |                     SELECT
        test_1        |                         tab_355937.col_680812 AS col_680813
        test_1        |                     FROM
        test_1        |                         (VALUES (st_box2dfromgeohash('J':::STRING::STRING::STRING, NULL::INT4::INT4)::BOX2D))
        test_1        |                             AS tab_355937 (col_680812)
        test_1        |                 )
        test_1        |                     AS tab_355938
        test_1        |             ORDER BY
        test_1        |                 CAST(col_680813 AS STRING) NULLS FIRST;
        test_1        |             
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (
        test_1        |                     SELECT
        test_1        |                         tab_355937.col_680812 AS col_680813
        test_1        |                     FROM
        test_1        |                         (VALUES (st_box2dfromgeohash('J'::TEXT::TEXT::TEXT, NULL::INT4::INT4)::BOX2D))
        test_1        |                             AS tab_355937 (col_680812)
        test_1        |                 )
        test_1        |                     AS tab_355938
        test_1        |             ORDER BY
        test_1        |                 CAST(col_680813 AS TEXT) NULLS FIRST;
        test_1        |             
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_cockroach2_1 ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach1_1 ... done
        Stopping compare_cockroach2_1 ... done
        Aborting on container exit...

    compose_test.go:49: exit status 1
Reproduce

To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```

Same failure on other branches

- #67844 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1] - #67791 compose: TestComposeCompare failed [C-test-failure O-robot branch-master]

Internal log

``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-21.2 @ 0bb1218f1c16dbebda16ace42d2d682b22aa3c96:

        postgres_1    |         col_82199 NULLS FIRST,
        postgres_1    |         col_82200 NULLS FIRST,
        postgres_1    |         col_82201 NULLS FIRST,
        postgres_1    |         col_82202 NULLS FIRST,
        postgres_1    |         col_82203 NULLS FIRST,
        postgres_1    |         col_82204 NULLS FIRST,
        postgres_1    |         col_82205 NULLS FIRST,
        postgres_1    |         col_82206 NULLS FIRST
        test_1        | --- FAIL: TestCompare (676.44s)
        test_1        |     compare_test.go:116: Checking connection to: cockroach1
        test_1        |     compare_test.go:116: Checking connection to: cockroach2
        test_1        |     compare_test.go:116: Checking connection to: postgres
        test_1        |     --- FAIL: TestCompare/postgres (72.24s)
        test_1        |         compare_test.go:125: starting test: postgres
        test_1        |         compare_test.go:132: initializing connection: cockroach1
        test_1        |         compare_test.go:132: initializing connection: postgres
        test_1        |         compare_test.go:183: compare cockroach1 to postgres:
        test_1        |             unexpected diff:
        test_1        |               []interface{}(Inverse(func1, []interface{}{
        test_1        |             -   string("{NULL,NULL}"),
        test_1        |             +   string("{NULL:NULL}"),
        test_1        |                 nil,
        test_1        |               }))
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (
        test_1        |                     SELECT
        test_1        |                         (NULL::GEOGRAPHY[]::GEOGRAPHY[] || (NULL::GEOGRAPHY::GEOGRAPHY || (NULL::GEOGRAPHY::GEOGRAPHY || NULL::GEOGRAPHY[]::GEOGRAPHY[])::GEOGRAPHY[]::GEOGRAPHY[])::GEOGRAPHY[]::GEOGRAPHY[])::GEOGRAPHY[]
        test_1        |                             AS col_82327,
        test_1        |                         NULL::rand_typ_3 AS col_82328
        test_1        |                 )
        test_1        |                     AS tab_44078
        test_1        |             ORDER BY
        test_1        |                 col_82327 NULLS FIRST, col_82328 NULLS FIRST;
        test_1        |             
        test_1        |             postgres: [same as previous]
        test_1        |             
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_cockroach2_1 ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...

    compose_test.go:49: exit status 1
Reproduce

To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```

Same failure on other branches

- #67844 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1] - #67791 compose: TestComposeCompare failed [C-test-failure O-robot branch-master]

Internal log

``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-21.2 @ 7609772f419a5bfe70028f27cb864e8058fdc6cc:

        postgres_1    |                 tab_228631.col1_1 AS col_455388, prettify_statement(tab_228631.col1_16::TEXT)::TEXT AS col_455389
        postgres_1    |             FROM
        postgres_1    |                 postgres.public.table1 AS tab_228631
        postgres_1    |             WHERE
        postgres_1    |                 false::BOOL
        postgres_1    |         )
        postgres_1    |             AS tab_228632
        postgres_1    |     ORDER BY
        postgres_1    |         col_455388 NULLS FIRST, col_455389 NULLS FIRST
        test_1        | --- FAIL: TestCompare (1030.57s)
        test_1        |     compare_test.go:116: Checking connection to: postgres
        test_1        |     compare_test.go:116: Checking connection to: cockroach1
        test_1        |     compare_test.go:116: Checking connection to: cockroach2
        test_1        |     --- FAIL: TestCompare/postgres (428.28s)
        test_1        |         compare_test.go:125: starting test: postgres
        test_1        |         compare_test.go:132: initializing connection: cockroach1
        test_1        |         compare_test.go:132: initializing connection: postgres
        test_1        |         compare_test.go:183: compare cockroach1 to postgres:
        test_1        |             unexpected diff:
        test_1        |               []interface{}(Inverse(func1, []interface{}{
        test_1        |             -   nil,
        test_1        |             +   string("BOX(-45 45,0 90)"),
        test_1        |               }))
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (SELECT st_box2dfromgeohash('G':::STRING::STRING::STRING, NULL::INT4::INT4)::BOX2D AS col_455745) AS tab_228817
        test_1        |             ORDER BY
        test_1        |                 CAST(col_455745 AS STRING) NULLS FIRST;
        test_1        |             
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (SELECT st_box2dfromgeohash('G'::TEXT::TEXT::TEXT, NULL::INT4::INT4)::BOX2D AS col_455745) AS tab_228817
        test_1        |             ORDER BY
        test_1        |                 CAST(col_455745 AS TEXT) NULLS FIRST;
        test_1        |             
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_postgres_1   ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...

    compose_test.go:49: exit status 1
Reproduce

To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```

Same failure on other branches

- #67844 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1] - #67791 compose: TestComposeCompare failed [C-test-failure O-robot branch-master]

Internal log

``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-21.2 @ 9f653e24bbf10c30518de462a4942be8347edf20:

        test_1        |     --- FAIL: TestCompare/postgres (351.63s)
        test_1        |         compare_test.go:125: starting test: postgres
        test_1        |         compare_test.go:132: initializing connection: cockroach1
        test_1        |         compare_test.go:132: initializing connection: postgres
        test_1        |         compare_test.go:183: compare cockroach1 to postgres:
        test_1        |             unexpected diff:
        test_1        |               []interface{}(Inverse(func1, []interface{}{
        test_1        |             -   string("01010000008C3EA225F0C2EF3F0000000000002040"),
        test_1        |             +   string("01010000008B3EA225F0C2EF3F0000000000002040"),
        test_1        |                 nil,
        test_1        |               }))
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (
        test_1        |                     SELECT
        test_1        |                         st_point(cosd(7.0:::FLOAT8::FLOAT8::FLOAT8)::FLOAT8::FLOAT8, 8.0:::FLOAT8::FLOAT8::FLOAT8)::GEOMETRY
        test_1        |                             AS col_354527,
        test_1        |                         ('2000-01-02':::DATE::DATE::DATE - NULL::INT4::INT4)::DATE AS col_354528
        test_1        |                 )
        test_1        |                     AS tab_203098
        test_1        |             ORDER BY
        test_1        |                 col_354527 NULLS FIRST, col_354528 NULLS FIRST;
        test_1        |             
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (
        test_1        |                     SELECT
        test_1        |                         st_point(cosd(7.0::FLOAT8::FLOAT8::FLOAT8)::FLOAT8::FLOAT8, 8.0::FLOAT8::FLOAT8::FLOAT8)::GEOMETRY
        test_1        |                             AS col_354527,
        test_1        |                         ('2000-01-02'::DATE::DATE::DATE - NULL::INT4::INT4)::DATE AS col_354528
        test_1        |                 )
        test_1        |                     AS tab_203098
        test_1        |             ORDER BY
        test_1        |                 col_354527 NULLS FIRST, col_354528 NULLS FIRST;
        test_1        |             
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_cockroach2_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...

    compose_test.go:49: exit status 1
Reproduce

To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```

Same failure on other branches

- #67844 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1] - #67791 compose: TestComposeCompare failed [C-test-failure O-robot branch-master]

Internal log

``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-21.2 @ 311dc229bb0d3e932f988f88be9f312cb6026e46:

        test_1        |                                     (tab_220723.crdb_internal_mvcc_timestamp) = (tab_220724.crdb_internal_mvcc_timestamp) ON
        test_1        |                                 (tab_220722.col2_6) = (tab_220723.col5_11)
        test_1        |                         JOIN postgres.public.table5@table5_col5_11_col5_1_col5_7_idx AS tab_220725
        test_1        |                             JOIN postgres.public.table2@[0] AS tab_220726 ON (tab_220725.col5_5) = (tab_220726.col2_6) ON
        test_1        |                                 (tab_220723.col5_2) = (tab_220725.col5_2)
        test_1        |                                 AND (tab_220723.col5_11) = (tab_220725.col5_5)
        test_1        |                                 AND (tab_220721.col1_16) = (tab_220726.col2_5)
        test_1        |                                 AND (tab_220723.col5_8) = (tab_220726.col2_5)
        test_1        |                         JOIN postgres.public.table4@table4_col4_4_col4_6_idx AS tab_220727
        test_1        |                             JOIN postgres.public.table3@table3_col3_2_col3_5_col3_1_col3_0_idx AS tab_220728 ON
        test_1        |                                     (tab_220727.tableoid) = (tab_220728.tableoid) ON
        test_1        |                                 (tab_220724.crdb_internal_mvcc_timestamp) = (tab_220728.col3_0)
        test_1        |                                 AND (tab_220724.crdb_internal_mvcc_timestamp) = (tab_220727.crdb_internal_mvcc_timestamp)
        test_1        |                         JOIN postgres.public.table2@primary AS tab_220729
        test_1        |                             LEFT JOIN postgres.public.table4@[0] AS tab_220730 ON true ON
        test_1        |                                 (tab_220723.col5_11) = (tab_220730.col4_7)
        test_1        |                                 AND (tab_220724.tableoid) = (tab_220730.col4_1)
        test_1        |                                 AND (tab_220723.col5_4) = (tab_220729.col2_3)
        test_1        |                                 AND (tab_220725.col5_7) = (tab_220729.col2_6)
        test_1        |                                 AND (tab_220722.col2_0) = (tab_220730.col4_7)
        test_1        |                                 AND (tab_220726.col2_0) = (tab_220730.col4_7)
        test_1        |                                 AND (tab_220721.col1_9) = (tab_220730.col4_1)
        test_1        |                                 AND (tab_220721.col1_17) = (tab_220729.col2_0)
        test_1        |                 )
        test_1        |                     AS tab_220731
        test_1        |             ORDER BY
        test_1        |                 col_360053 NULLS FIRST,
        test_1        |                 col_360054 NULLS FIRST,
        test_1        |                 col_360055 NULLS FIRST,
        test_1        |                 col_360056 NULLS FIRST,
        test_1        |                 col_360057 NULLS FIRST,
        test_1        |                 col_360058 NULLS FIRST,
        test_1        |                 col_360059 NULLS FIRST,
        test_1        |                 col_360060 NULLS FIRST,
        test_1        |                 col_360061 NULLS FIRST,
        test_1        |                 col_360062 NULLS FIRST,
        test_1        |                 col_360063 NULLS FIRST,
        test_1        |                 col_360064 NULLS FIRST
        test_1        |         compare_test.go:193: cockroach1: ping: conn closed
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_cockroach1_1 ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...

    compose_test.go:49: exit status 1
Reproduce

To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```

Same failure on other branches

- #67844 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1] - #67791 compose: TestComposeCompare failed [C-test-failure O-robot branch-master]

Internal log

``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-21.2 @ 89d2922ba1914a6b0c5209c85bb0079a55abce2f:

        test_1        | --- FAIL: TestCompare (2.13s)
        test_1        |     compare_test.go:116: Checking connection to: postgres
        test_1        |     compare_test.go:116: Checking connection to: cockroach1
        test_1        |     compare_test.go:116: Checking connection to: cockroach2
        test_1        |     --- FAIL: TestCompare/postgres (0.00s)
        test_1        |         compare_test.go:125: starting test: postgres
        test_1        | panic: geos: no locations to init GEOS [recovered]
        test_1        |     panic: geos: no locations to init GEOS
        test_1        | 
        test_1        | goroutine 8 [running]:
        test_1        | testing.tRunner.func1.2(0x1fc59a0, 0xc000ccc760)
        test_1        |     /usr/local/go/src/testing/testing.go:1143 +0x332
        test_1        | testing.tRunner.func1(0xc000c86600)
        test_1        |     /usr/local/go/src/testing/testing.go:1146 +0x4b6
        test_1        | panic(0x1fc59a0, 0xc000ccc760)
        test_1        |     /usr/local/go/src/runtime/panic.go:965 +0x1b9
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.encodeInvertedIndexHistogramUpperBounds(0x40b0fc0, 0x31f4ff8, 0xc000cce6c0, 0x31f4ff8, 0xc000cce6c0, 0x0)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:368 +0x5d3
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.randHistogram(0xc000c9ae40, 0x40b0fc0, 0x0, 0x0, 0x0, 0x0, 0x0)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:301 +0x17f
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.statisticsMutator.func1(0xc000cc5680)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:220 +0x9e
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.statisticsMutator(0xc000c9ae40, 0xc000c9ae70, 0x3, 0x3, 0x0, 0x0, 0x0, 0x0)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:251 +0xbeb
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.MultiStatementMutation.Mutate(0x26c2360, 0xc000c9ae40, 0xc000c9ae70, 0x3, 0x3, 0x0, 0xc000207ae0, 0xe0, 0x0)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:97 +0x4e
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.RandCreateTables(0xc000c9ae40, 0x2158061, 0x5, 0x3, 0xc000b21a30, 0x3, 0x3, 0xe0, 0x4436d7, 0x8)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/sql/randgen/schema.go:89 +0x163
        test_1        | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.randTablesN(0xc000c9ae40, 0x3, 0x2, 0x0)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/setup.go:91 +0x19e
        test_1        | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.randTables(0xc000c9ae40, 0x4394f8, 0x30)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/setup.go:77 +0x4f
        test_1        | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.wrapCommonSetup.func1(0xc000c9ae40, 0x47127d5790d82b2b, 0x11)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/setup.go:43 +0x44
        test_1        | github.com/cockroachdb/cockroach/pkg/compose/compare/compare.TestCompare.func2(0xc000c86600)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/compose/compare/compare/compare_test.go:127 +0x113
        test_1        | testing.tRunner(0xc000c86600, 0xc000c9ade0)
        test_1        |     /usr/local/go/src/testing/testing.go:1193 +0xef
        test_1        | created by testing.(*T).Run
        test_1        |     /usr/local/go/src/testing/testing.go:1238 +0x2b3
        compare_test_1 exited with code 2
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...

    compose_test.go:49: exit status 2
Reproduce

To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```

Same failure on other branches

- #67844 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1] - #67791 compose: TestComposeCompare failed [C-test-failure O-robot branch-master]

Internal log

``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-21.2 @ c72adc72a1aef01f0902fe004d7262d3fc685144:

        test_1        |                         {
        test_1        |             -               Int:    s"10240000000000000000",
        test_1        |             +               Int:    s"1024",
        test_1        |             -               Exp:    -16,
        test_1        |             +               Exp:    0,
        test_1        |                             Status: 2,
        test_1        |                             NaN:    false,
        test_1        |                         },
        test_1        |                     },
        test_1        |                     Dimensions: {{Length: 1, LowerBound: 1}},
        test_1        |                     Status:     2,
        test_1        |                 },
        test_1        |               }))
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (
        test_1        |                     SELECT
        test_1        |                         (NULL::DECIMAL[]::DECIMAL[] || (('::4/0'::INET::INET::INET - '::/0'::INET::INET::INET)::INT8::INT8 ^ 5::DECIMAL::DECIMAL::DECIMAL)::DECIMAL::DECIMAL)::DECIMAL[]
        test_1        |                             AS col_385274
        test_1        |                 )
        test_1        |                     AS tab_203677
        test_1        |             ORDER BY
        test_1        |                 col_385274 NULLS FIRST;
        test_1        |             
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (
        test_1        |                     SELECT
        test_1        |                         (NULL::DECIMAL[]::DECIMAL[] || (('::4/0':::INET::INET::INET - '::/0':::INET::INET::INET)::INT8::INT8 ^ 5:::DECIMAL::DECIMAL::DECIMAL)::DECIMAL::DECIMAL)::DECIMAL[]
        test_1        |                             AS col_385274
        test_1        |                 )
        test_1        |                     AS tab_203677
        test_1        |             ORDER BY
        test_1        |                 col_385274 NULLS FIRST;
        test_1        |             
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_cockroach1_1 ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...

    compose_test.go:49: exit status 1
Reproduce

To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```

Same failure on other branches

- #67844 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1] - #67791 compose: TestComposeCompare failed [C-test-failure O-robot branch-master]

Internal log

``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-21.2 @ 08814ae47e600692591605f9f811701e638981aa:

        test_1        |     compare_test.go:116: Checking connection to: cockroach1
        test_1        |     compare_test.go:116: Checking connection to: cockroach2
        test_1        |     --- FAIL: TestCompare/postgres (595.26s)
        test_1        |         compare_test.go:125: starting test: postgres
        test_1        |         compare_test.go:132: initializing connection: cockroach1
        test_1        |         compare_test.go:132: initializing connection: postgres
        test_1        |         compare_test.go:183: compare cockroach1 to postgres:
        test_1        |             unexpected diff:
        test_1        |               []interface{}(Inverse(func1, []interface{}{
        test_1        |                 s"2000-01-10 00:00:00 +0000 UTC",
        test_1        |             -   nil,
        test_1        |             +   string("BOX(-90 45,-45 90)"),
        test_1        |               }))
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (
        test_1        |                     SELECT
        test_1        |                         '2000-01-10':::DATE::DATE AS col_827681,
        test_1        |                         st_box2dfromgeohash('F':::STRING::STRING::STRING, NULL::INT4::INT4)::BOX2D AS col_827682
        test_1        |                 )
        test_1        |                     AS tab_398951
        test_1        |             ORDER BY
        test_1        |                 col_827681 NULLS FIRST, CAST(col_827682 AS STRING) NULLS FIRST;
        test_1        |             
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (
        test_1        |                     SELECT
        test_1        |                         '2000-01-10'::DATE::DATE AS col_827681,
        test_1        |                         st_box2dfromgeohash('F'::TEXT::TEXT::TEXT, NULL::INT4::INT4)::BOX2D AS col_827682
        test_1        |                 )
        test_1        |                     AS tab_398951
        test_1        |             ORDER BY
        test_1        |                 col_827681 NULLS FIRST, CAST(col_827682 AS TEXT) NULLS FIRST;
        test_1        |             
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_cockroach1_1 ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach1_1 ... done
        Stopping compare_cockroach2_1 ... done
        Aborting on container exit...

    compose_test.go:49: exit status 1
Reproduce

To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```

Same failure on other branches

- #67844 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1] - #67791 compose: TestComposeCompare failed [C-test-failure O-robot branch-master]

Internal log

``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-21.2 @ 37dee546a7c52870a8dc58826f0cffe2afa8d47a:

        postgres_1    |                 JOIN postgres.public.table5 AS tab_140613 ON
        postgres_1    |                         (tab_140612.col3_4) = (tab_140613.col5_0) AND (tab_140612.col3_3) = (tab_140613.col5_2),
        postgres_1    |                 postgres.public.table2
        postgres_1    |                     AS tab_140614
        postgres_1    |             WHERE
        postgres_1    |                 (tab_140612.col3_6 <= parse_time(tab_140614.col2_12::TEXT)::TIME)
        postgres_1    |         )
        postgres_1    |             AS tab_140615
        postgres_1    |     ORDER BY
        postgres_1    |         col_271502 NULLS FIRST
        test_1        | --- FAIL: TestCompare (805.97s)
        test_1        |     compare_test.go:116: Checking connection to: postgres
        test_1        |     compare_test.go:116: Checking connection to: cockroach1
        test_1        |     compare_test.go:116: Checking connection to: cockroach2
        test_1        |     --- FAIL: TestCompare/postgres (202.75s)
        test_1        |         compare_test.go:125: starting test: postgres
        test_1        |         compare_test.go:132: initializing connection: cockroach1
        test_1        |         compare_test.go:132: initializing connection: postgres
        test_1        |         compare_test.go:183: compare cockroach1 to postgres:
        test_1        |             unexpected diff:
        test_1        |               []interface{}(Inverse(func1, []interface{}{
        test_1        |             -   string("{NULL,NULL}"),
        test_1        |             +   string("{NULL:NULL}"),
        test_1        |               }))
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (
        test_1        |                     SELECT
        test_1        |                         (NULL::GEOMETRY::GEOMETRY || (NULL::GEOMETRY[]::GEOMETRY[] || NULL::GEOMETRY::GEOMETRY)::GEOMETRY[]::GEOMETRY[])::GEOMETRY[]
        test_1        |                             AS col_271914
        test_1        |                 )
        test_1        |                     AS tab_140836
        test_1        |             ORDER BY
        test_1        |                 col_271914 NULLS FIRST;
        test_1        |             
        test_1        |             postgres: [same as previous]
        test_1        |             
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_postgres_1   ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...

    compose_test.go:49: exit status 1
Reproduce

To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```

Same failure on other branches

- #67844 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1] - #67791 compose: TestComposeCompare failed [C-test-failure O-robot branch-master]

Internal log

``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-21.2 @ a7d42a38a7843fa4f83c83a0b574935a2bc44efb:

        test_1        |                     WITH
        test_1        |                         with_90198 (col_506419)
        test_1        |                             AS (
        test_1        |                                 SELECT
        test_1        |                                     *
        test_1        |                                 FROM
        test_1        |                                     (
        test_1        |                                         VALUES
        test_1        |                                             (1522275102890987928:::INT8),
        test_1        |                                             (4743251056903992247:::INT8),
        test_1        |                                             (3293358731767007540:::INT8),
        test_1        |                                             ((-9223372036854775807):::INT8)
        test_1        |                                     )
        test_1        |                                         AS tab_332531 (col_506419)
        test_1        |                             )
        test_1        |                     SELECT
        test_1        |                         tab_332534.col2_4 AS col_506420, B'00010000001000011000' AS col_506421
        test_1        |                     FROM
        test_1        |                         with_90198 AS cte_ref_25927,
        test_1        |                         postgres.public.table3@[0] AS tab_332532,
        test_1        |                         postgres.public.table1@[0] AS tab_332533
        test_1        |                         JOIN postgres.public.table2@[0] AS tab_332534
        test_1        |                             JOIN postgres.public.table1 AS tab_332535
        test_1        |                                 JOIN postgres.public.table1 AS tab_332536 ON (tab_332535.col1_0) = (tab_332536.col1_0) ON
        test_1        |                                     (tab_332534.col2_3) = (tab_332536.col1_0) AND (tab_332534.tableoid) = (tab_332536.col1_0)
        test_1        |                             RIGHT JOIN postgres.public.table2@[0] AS tab_332537 ON true
        test_1        |                             JOIN postgres.public.table3@table3_col3_5_col3_0_idx AS tab_332538
        test_1        |                                 JOIN postgres.public.table2 AS tab_332539
        test_1        |                                     JOIN postgres.public.table2 AS tab_332540 ON (tab_332539.col2_5) = (tab_332540.col2_2) ON
        test_1        |                                         (tab_332538.col3_2) = (tab_332539.col2_5) AND (tab_332538.col3_2) = (tab_332540.col2_2) ON
        test_1        |                                     (tab_332536.col1_0) = (tab_332538.tableoid) ON
        test_1        |                                 (tab_332533.col1_0) = (tab_332537.col2_3) AND (tab_332533.col1_0) = (tab_332538.col3_0)
        test_1        |                     ORDER BY
        test_1        |                         tab_332532.col3_4 DESC
        test_1        |                 )
        test_1        |                     AS tab_332541
        test_1        |             ORDER BY
        test_1        |                 col_506420 NULLS FIRST, col_506421 NULLS FIRST
        test_1        |         compare_test.go:193: cockroach1: ping: conn closed
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_cockroach1_1 ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach1_1 ... done
        Stopping compare_cockroach2_1 ... done
        Aborting on container exit...

    compose_test.go:49: exit status 1
Reproduce

To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```

Same failure on other branches

- #67844 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1] - #67791 compose: TestComposeCompare failed [C-test-failure O-robot branch-master]

Internal log

``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-21.2 @ 9d6589f3cf8772899902429333f0707ddca083cf:

        test_1        |                         JOIN postgres.public.table2 AS tab_280652
        test_1        |                             JOIN postgres.public.table1 AS tab_280653 ON (tab_280652.col2_11) = (tab_280653.col1_1) ON
        test_1        |                                 (tab_280646.col1_1) = (tab_280652.col2_11)
        test_1        |                         JOIN postgres.public.table1@table1_col1_2_col1_1_col1_0_idx AS tab_280654
        test_1        |                             JOIN postgres.public.table1@table1_col1_2_col1_1_col1_0_idx1 AS tab_280655 ON false ON
        test_1        |                                 (tab_280647.col1_1) = (tab_280655.col1_1)
        test_1        |                     WHERE
        test_1        |                         true
        test_1        |                 )
        test_1        |                     AS tab_280656
        test_1        |             ORDER BY
        test_1        |                 col_445567 NULLS FIRST, col_445568 NULLS FIRST, col_445569 NULLS FIRST
        test_1        |         compare_test.go:193: cockroach1: ping: conn closed
        test_1        |     --- FAIL: TestCompare/postgres (605.53s)
        test_1        |         compare_test.go:125: starting test: postgres
        test_1        |         compare_test.go:132: initializing connection: cockroach1
        test_1        |         compare_test.go:132: initializing connection: postgres
        test_1        |         compare_test.go:183: compare postgres to cockroach1:
        test_1        |             unexpected diff:
        test_1        |               []interface{}(Inverse(func1, []interface{}{
        test_1        |             -   string("BOX(-180 45,-135 90)"),
        test_1        |             +   nil,
        test_1        |               }))
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (SELECT st_box2dfromgeohash('B':::STRING::STRING::STRING, NULL::INT4::INT4)::BOX2D AS col_453420) AS tab_225113
        test_1        |             ORDER BY
        test_1        |                 CAST(col_453420 AS STRING) NULLS FIRST;
        test_1        |             
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (SELECT st_box2dfromgeohash('B'::TEXT::TEXT::TEXT, NULL::INT4::INT4)::BOX2D AS col_453420) AS tab_225113
        test_1        |             ORDER BY
        test_1        |                 CAST(col_453420 AS TEXT) NULLS FIRST;
        test_1        |             
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach1_1 ... done
        Stopping compare_cockroach2_1 ... done
        Aborting on container exit...

    compose_test.go:49: exit status 1
Reproduce

To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```

Same failure on other branches

- #67844 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1] - #67791 compose: TestComposeCompare failed [C-test-failure O-robot branch-master]

Internal log

``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-21.2 @ 4caeb8b64a1bc37ba6d95641e982732a89ae2c3a:

        postgres_1    |         col_410542 NULLS FIRST,
        postgres_1    |         col_410543 NULLS FIRST,
        postgres_1    |         col_410544 NULLS FIRST,
        postgres_1    |         col_410545 NULLS FIRST,
        postgres_1    |         col_410546 NULLS FIRST,
        postgres_1    |         col_410547 NULLS FIRST,
        postgres_1    |         col_410548 NULLS FIRST,
        postgres_1    |         col_410549 NULLS FIRST,
        postgres_1    |         col_410550 NULLS FIRST
        test_1        | --- FAIL: TestCompare (950.28s)
        test_1        |     compare_test.go:116: Checking connection to: postgres
        test_1        |     compare_test.go:116: Checking connection to: cockroach1
        test_1        |     compare_test.go:116: Checking connection to: cockroach2
        test_1        |     --- FAIL: TestCompare/postgres (347.43s)
        test_1        |         compare_test.go:125: starting test: postgres
        test_1        |         compare_test.go:132: initializing connection: cockroach1
        test_1        |         compare_test.go:132: initializing connection: postgres
        test_1        |         compare_test.go:183: compare cockroach1 to postgres:
        test_1        |             unexpected diff:
        test_1        |               []interface{}(Inverse(func1, []interface{}{
        test_1        |             -   nil,
        test_1        |             +   string("01030000000100000005000000000000000000000000000000008056C0000000000000000000000000008046C0000000000080464000000000008046C0000000000080464000000000008056C0000000000000000000000000008056C0"),
        test_1        |               }))
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (SELECT st_geomfromgeohash('H'::TEXT::TEXT::TEXT, NULL::INT4::INT4)::GEOMETRY AS col_410786) AS tab_263127
        test_1        |             ORDER BY
        test_1        |                 col_410786 NULLS FIRST;
        test_1        |             
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (SELECT st_geomfromgeohash('H':::STRING::STRING::STRING, NULL::INT4::INT4)::GEOMETRY AS col_410786) AS tab_263127
        test_1        |             ORDER BY
        test_1        |                 col_410786 NULLS FIRST;
        test_1        |             
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_cockroach2_1 ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...

    compose_test.go:49: exit status 1
Reproduce

To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```

Same failure on other branches

- #67844 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1] - #67791 compose: TestComposeCompare failed [C-test-failure O-robot branch-master]

Internal log

``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-21.2 @ 469fee64184a83b3a3afef3ed12dafa7d5d29df3:

        test_1        |         compare_test.go:132: initializing connection: cockroach1
        test_1        |         compare_test.go:132: initializing connection: postgres
        test_1        |         compare_test.go:192: SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (
        test_1        |                     SELECT
        test_1        |                         'E':::STRING::STRING AS col_14492
        test_1        |                     FROM
        test_1        |                         postgres.public.table1@table1_col1_6_col1_8_col1_5_col1_10_key AS tab_7234
        test_1        |                         JOIN postgres.public.table1@[0] AS tab_7235
        test_1        |                             JOIN postgres.public.table1@[0] AS tab_7236 ON
        test_1        |                                     (tab_7235.col1_15) = (tab_7236.col1_15) AND (tab_7235.col1_12) = (tab_7236.col1_10)
        test_1        |                             JOIN postgres.public.table1@[0] AS tab_7237
        test_1        |                                 JOIN postgres.public.table1@table1_expr_expr1_col1_10_col1_12_col1_16_key AS tab_7238
        test_1        |                                     JOIN postgres.public.table1@table1_expr_col1_6_key AS tab_7239
        test_1        |                                         INNER JOIN postgres.public.table1@[0] AS tab_7240
        test_1        |                                             JOIN postgres.public.table1@[0] AS tab_7241 ON (tab_7240.col1_13) = (tab_7241.col1_2)
        test_1        |                                             RIGHT JOIN postgres.public.table1@[0] AS tab_7242 ON true::BOOL
        test_1        |                                             JOIN postgres.public.table1@table1_expr_col1_6_key AS tab_7243 ON
        test_1        |                                                     (tab_7240.col1_10) = (tab_7243.col1_12)
        test_1        |                                                     AND (tab_7241.col1_15) = (tab_7243.col1_16) ON true::BOOL ON
        test_1        |                                             (tab_7238.col1_14) = (tab_7240.col1_14) ON (tab_7237.col1_7) = (tab_7238.col1_7) ON
        test_1        |                                     (tab_7235.col1_13) = (tab_7238.col1_13)
        test_1        |                                     AND (tab_7236.col1_2) = (tab_7242.col1_2)
        test_1        |                                     AND (tab_7235.col1_2) = (tab_7243.col1_6)
        test_1        |                                     AND (tab_7236.col1_11) = (tab_7237.col1_11)
        test_1        |                                     AND (tab_7235.col1_12) = (tab_7241.col1_15)
        test_1        |                                     AND (tab_7235.col1_7) = (tab_7237.tableoid)
        test_1        |                                     AND (tab_7235.col1_15) = (tab_7238.col1_12)
        test_1        |                                     AND (tab_7235.col1_3) = (tab_7240.col1_3)
        test_1        |                                     AND (tab_7235.col1_15) = (tab_7241.col1_15)
        test_1        |                                     AND (tab_7235.col1_8) = (tab_7242.col1_8) ON
        test_1        |                                 (tab_7234.col1_2) = (tab_7239.col1_2) AND (tab_7234.col1_10) = (tab_7236.col1_10)
        test_1        |                 )
        test_1        |                     AS tab_7244
        test_1        |             ORDER BY
        test_1        |                 col_14492 NULLS FIRST
        test_1        |         compare_test.go:193: cockroach1: ping: conn closed
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_cockroach2_1 ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...

    compose_test.go:49: exit status 1
Reproduce

To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```

Same failure on other branches

- #67844 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1] - #67791 compose: TestComposeCompare failed [C-test-failure O-robot branch-master]

Internal log

``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-21.2 @ 4892ac485fcb5f6a9e1bd2ead07f6fdaf02e4efe:

        test_1        |                 (SELECT st_geomfromgeohash('D'::TEXT::TEXT::TEXT, NULL::INT4::INT4)::GEOMETRY AS col_457794) AS tab_225193
        test_1        |             ORDER BY
        test_1        |                 col_457794 NULLS FIRST;
        test_1        |             
        test_1        |     --- FAIL: TestCompare/mutators (0.00s)
        test_1        |         compare_test.go:125: starting test: mutators
        test_1        | panic: geos: no locations to init GEOS [recovered]
        test_1        |     panic: geos: no locations to init GEOS
        test_1        | 
        test_1        | goroutine 437435 [running]:
        test_1        | testing.tRunner.func1.2(0x1fd5ba0, 0xc000cba460)
        test_1        |     /usr/local/go/src/testing/testing.go:1143 +0x332
        test_1        | testing.tRunner.func1(0xc000c00a80)
        test_1        |     /usr/local/go/src/testing/testing.go:1146 +0x4b6
        test_1        | panic(0x1fd5ba0, 0xc000cba460)
        test_1        |     /usr/local/go/src/runtime/panic.go:965 +0x1b9
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.encodeInvertedIndexHistogramUpperBounds(0x40cbfc0, 0x32082f8, 0xc000c44a50, 0x32082f8, 0xc000c44a50, 0x6)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:368 +0x5d3
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.randHistogram(0xc000ee0cc0, 0x40cbfc0, 0x0, 0x0, 0x0, 0x0, 0x0)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:301 +0x17f
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.statisticsMutator.func1(0xc000c01380)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:220 +0x9e
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.statisticsMutator(0xc000ee0cc0, 0xc000d9def0, 0x5, 0x5, 0x0, 0x0, 0x0, 0x0)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:251 +0xbeb
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.MultiStatementMutation.Mutate(0x26d3fb0, 0xc000ee0cc0, 0xc000d9def0, 0x5, 0x5, 0x0, 0xc000ca43c0, 0xe0, 0x0)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:97 +0x4e
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.RandCreateTables(0xc000ee0cc0, 0x21693a7, 0x5, 0x5, 0xc000cd1a30, 0x3, 0x3, 0xe0, 0x4436d7, 0x8)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/sql/randgen/schema.go:89 +0x163
        test_1        | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.randTablesN(0xc000ee0cc0, 0x5, 0x4, 0x0)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/setup.go:91 +0x19e
        test_1        | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.randTables(0xc000ee0cc0, 0x4394f8, 0x30)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/setup.go:77 +0x4f
        test_1        | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.wrapCommonSetup.func1(0xc000ee0cc0, 0x6d134cb68ee33f5b, 0x11)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/setup.go:43 +0x44
        test_1        | github.com/cockroachdb/cockroach/pkg/compose/compare/compare.TestCompare.func2(0xc000c00a80)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/compose/compare/compare/compare_test.go:127 +0x113
        test_1        | testing.tRunner(0xc000c00a80, 0xc000ee0c60)
        test_1        |     /usr/local/go/src/testing/testing.go:1193 +0xef
        test_1        | created by testing.(*T).Run
        test_1        |     /usr/local/go/src/testing/testing.go:1238 +0x2b3
        compare_test_1 exited with code 2
        Stopping compare_postgres_1   ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...

    compose_test.go:49: exit status 2
Reproduce

To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```

Same failure on other branches

- #67844 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1] - #67791 compose: TestComposeCompare failed [C-test-failure O-robot branch-master]

Internal log

``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-21.2 @ a5a88a4db163f0915ae65649aa0264c7a913fbfb:

        test_1        |                         )
        test_1        |                             AS tab_132911 (col_246361)
        test_1        |                     WHERE
        test_1        |                         (NOT false::BOOL)
        test_1        |                 )
        test_1        |                     AS tab_132912
        test_1        |             ORDER BY
        test_1        |                 col_246362 NULLS FIRST;
        test_1        |             
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (
        test_1        |                     SELECT
        test_1        |                         tab_132911.col_246361 AS col_246362
        test_1        |                     FROM
        test_1        |                         (
        test_1        |                             VALUES
        test_1        |                                 ((NULL::INET::INET || NULL::INET[]::INET[])::INET[]),
        test_1        |                                 (NULL::INET[]),
        test_1        |                                 (
        test_1        |                                     CASE
        test_1        |                                     WHEN false::BOOL THEN NULL::INET[]
        test_1        |                                     ELSE (('::/0'::INET::INET::INET || NULL::INET[]::INET[])::INET[]::INET[] || '::7/0'::INET::INET::INET)::INET[]
        test_1        |                                     END
        test_1        |                                 ),
        test_1        |                                 (NULL::INET[]),
        test_1        |                                 (NULL::INET[]),
        test_1        |                                 (NULL::INET[])
        test_1        |                         )
        test_1        |                             AS tab_132911 (col_246361)
        test_1        |                     WHERE
        test_1        |                         (NOT false::BOOL)
        test_1        |                 )
        test_1        |                     AS tab_132912
        test_1        |             ORDER BY
        test_1        |                 col_246362 NULLS FIRST;
        test_1        |             
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_cockroach1_1 ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...

    compose_test.go:49: exit status 1
Reproduce

To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```

Same failure on other branches

- #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1] - #67844 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1] - #67791 compose: TestComposeCompare failed [C-test-failure O-robot branch-master]

Internal log

``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-21.2 @ 2c0a06e8f24f7d84d5fbf30c7f2977d4dadd6a8a:

        postgres_1    | 2022-03-23 05:15:24.995 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
        postgres_1    | 2022-03-23 05:15:24.995 UTC [1] LOG:  listening on IPv6 address "::", port 5432
        postgres_1    | 2022-03-23 05:15:24.999 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
        postgres_1    | 2022-03-23 05:15:25.005 UTC [68] LOG:  database system was shut down at 2022-03-23 05:15:24 UTC
        postgres_1    | 2022-03-23 05:15:25.010 UTC [1] LOG:  database system is ready to accept connections
        postgres_1    | 2022-03-23 05:15:28.646 UTC [78] ERROR:  invalid byte sequence for encoding "UTF8": 0x00
        postgres_1    | 2022-03-23 05:15:28.646 UTC [78] STATEMENT:  CREATE TABLE table1 (col1_0 NAME, col1_1 "char", col1_2 BOX2D, col1_3 TIMETZ, col1_4 REGTYPE NULL, col1_5 TIMETZ NULL, col1_6 REGCLASS NULL, col1_7 TIMESTAMPTZ NOT NULL, col1_8 TIMETZ NULL, col1_9 TEXT GENERATED ALWAYS AS (lower(col1_0)) STORED, col1_10 TEXT GENERATED ALWAYS AS (lower(CAST(col1_3 AS TEXT))) STORED, col1_11 TEXT NULL GENERATED ALWAYS AS (CASE WHEN col1_4 IS NULL THEN '"'::TEXT ELSE '46K``'::TEXT END) STORED, col1_12 TEXT NULL GENERATED ALWAYS AS (lower(CAST(col1_8 AS TEXT))) STORED);
        postgres_1    |     CREATE UNIQUE INDEX ON table1 (col1_5 DESC, (CASE WHEN col1_4 IS NULL THEN ''::TEXT ELSE e'\x1a\x0b}"f'::TEXT END) DESC, col1_12 DESC, col1_7 DESC, col1_10 DESC, col1_9 DESC, col1_6 ASC, col1_0 ASC, (CASE WHEN col1_4 IS NULL THEN e'\x00'::TEXT ELSE ''::TEXT END) DESC, col1_1 DESC) INCLUDE (col1_4, col1_8);
        postgres_1    |     CREATE UNIQUE INDEX ON table1 (col1_0 ASC, col1_1 ASC, col1_12 DESC, col1_9 DESC, lower(CAST(col1_5 AS TEXT)) ASC, col1_6, col1_10 DESC) INCLUDE (col1_11);
        postgres_1    |     CREATE UNIQUE INDEX ON table1 (col1_0, col1_3);
        postgres_1    |     CREATE TABLE table2 (col2_0 TIMESTAMPTZ NOT NULL, col2_1 TIMETZ NOT NULL, col2_2 INET NOT NULL, col2_3 TEXT NOT NULL, col2_4 REGROLE NULL, col2_5 OID NOT NULL, col2_6 TEXT NOT NULL, col2_7 REGTYPE NOT NULL, col2_8 BOX2D NOT NULL, col2_9 REGTYPE NOT NULL, col2_10 REGROLE NOT NULL, col2_11 TIME NOT NULL, PRIMARY KEY (col2_2, col2_1, col2_6, col2_3, col2_9, col2_10, col2_0, col2_5, col2_11), col2_12 TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN col2_9 IS NULL THEN ''::TEXT ELSE e'\x02\x0e\x10\x04XY\x0ek^'::TEXT END) STORED, col2_13 TEXT NOT NULL GENERATED ALWAYS AS (lower(col2_6)) STORED, col2_14 TEXT NOT NULL GENERATED ALWAYS AS (lower(col2_6)) STORED, col2_15 TEXT NOT NULL GENERATED ALWAYS AS (lower(CAST(col2_5 AS TEXT))) STORED, col2_16 TEXT NOT NULL GENERATED ALWAYS AS (lower(CAST(col2_11 AS TEXT))) STORED, col2_17 TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN col2_10 IS NULL THEN e'\x06CL\fo{\x06|\t'::TEXT ELSE ']|'::TEXT END) STORED);
        postgres_1    |     CREATE INDEX ON table2 (lower(CAST(col2_8 AS TEXT)) DESC, col2_13 DESC, col2_6 ASC, col2_7, col2_3, col2_17 DESC, col2_4 DESC, col2_11, col2_2 DESC, col2_1 ASC, col2_14, col2_10 ASC, col2_12, col2_0 DESC, col2_16 DESC, (CASE WHEN col2_9 IS NULL THEN e'3|\x11\t>'::TEXT ELSE ''::TEXT END), lower(col2_3) ASC);
        postgres_1    |     CREATE INDEX ON table2 (col2_6 ASC, col2_3 ASC, col2_13 DESC, col2_10 ASC, col2_7 ASC, col2_11, col2_5 ASC, col2_4 DESC, col2_12 ASC, col2_2 DESC, (CASE WHEN col2_4 IS NULL THEN '"'::TEXT ELSE e'\fnr>*LLh\x01'::TEXT END) DESC, col2_15 ASC, col2_16, col2_17 DESC, col2_1 DESC) INCLUDE (col2_14);
        postgres_1    |     CREATE INDEX ON table2 (col2_3 ASC, col2_6, col2_4 ASC, col2_12 ASC, col2_1 DESC, col2_2 ASC, col2_14, col2_5 ASC, col2_15, col2_0);
        postgres_1    |     CREATE INDEX ON table2 (col2_3, col2_0 DESC, col2_10, col2_12, lower(CAST(col2_8 AS TEXT)) DESC, col2_6 DESC, col2_1 DESC, col2_4, col2_9, col2_5 DESC, lower(CAST(col2_8 AS TEXT)) DESC, (CASE WHEN col2_9 IS NULL THEN e'x\x02'::TEXT ELSE '&|0a~|'::TEXT END), col2_7);
        postgres_1    |     ALTER TABLE table2 ADD FOREIGN KEY (col2_3, col2_1) REFERENCES table1 (col1_0, col1_3);
        postgres_1    |     CREATE TYPE rand_typ_0 AS ENUM ('cbq');
        postgres_1    |     
        test_1        | --- FAIL: TestCompare (607.62s)
        test_1        |     compare_test.go:116: Checking connection to: cockroach2
        test_1        |     compare_test.go:116: Checking connection to: postgres
        test_1        |     compare_test.go:116: Checking connection to: cockroach1
        test_1        |     --- FAIL: TestCompare/postgres (3.08s)
        test_1        |         compare_test.go:125: starting test: postgres
        test_1        |         compare_test.go:132: initializing connection: cockroach1
        test_1        |         compare_test.go:132: initializing connection: postgres
        test_1        |         compare_test.go:153: CREATE TABLE table1 (col1_0 NAME, col1_1 "char", col1_2 BOX2D, col1_3 TIMETZ, col1_4 REGTYPE NULL, col1_5 TIMETZ NULL, col1_6 REGCLASS NULL, col1_7 TIMESTAMPTZ NOT NULL, col1_8 TIMETZ NULL, col1_9 TEXT GENERATED ALWAYS AS (lower(col1_0)) STORED, col1_10 TEXT GENERATED ALWAYS AS (lower(CAST(col1_3 AS TEXT))) STORED, col1_11 TEXT NULL GENERATED ALWAYS AS (CASE WHEN col1_4 IS NULL THEN '"'::TEXT ELSE '46K``'::TEXT END) STORED, col1_12 TEXT NULL GENERATED ALWAYS AS (lower(CAST(col1_8 AS TEXT))) STORED);
        test_1        |             CREATE UNIQUE INDEX ON table1 (col1_5 DESC, (CASE WHEN col1_4 IS NULL THEN ''::TEXT ELSE e'\x1a\x0b}"f'::TEXT END) DESC, col1_12 DESC, col1_7 DESC, col1_10 DESC, col1_9 DESC, col1_6 ASC, col1_0 ASC, (CASE WHEN col1_4 IS NULL THEN e'\x00'::TEXT ELSE ''::TEXT END) DESC, col1_1 DESC) INCLUDE (col1_4, col1_8);
        test_1        |             CREATE UNIQUE INDEX ON table1 (col1_0 ASC, col1_1 ASC, col1_12 DESC, col1_9 DESC, lower(CAST(col1_5 AS TEXT)) ASC, col1_6, col1_10 DESC) INCLUDE (col1_11);
        test_1        |             CREATE UNIQUE INDEX ON table1 (col1_0, col1_3);
        test_1        |             CREATE TABLE table2 (col2_0 TIMESTAMPTZ NOT NULL, col2_1 TIMETZ NOT NULL, col2_2 INET NOT NULL, col2_3 TEXT NOT NULL, col2_4 REGROLE NULL, col2_5 OID NOT NULL, col2_6 TEXT NOT NULL, col2_7 REGTYPE NOT NULL, col2_8 BOX2D NOT NULL, col2_9 REGTYPE NOT NULL, col2_10 REGROLE NOT NULL, col2_11 TIME NOT NULL, PRIMARY KEY (col2_2, col2_1, col2_6, col2_3, col2_9, col2_10, col2_0, col2_5, col2_11), col2_12 TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN col2_9 IS NULL THEN ''::TEXT ELSE e'\x02\x0e\x10\x04XY\x0ek^'::TEXT END) STORED, col2_13 TEXT NOT NULL GENERATED ALWAYS AS (lower(col2_6)) STORED, col2_14 TEXT NOT NULL GENERATED ALWAYS AS (lower(col2_6)) STORED, col2_15 TEXT NOT NULL GENERATED ALWAYS AS (lower(CAST(col2_5 AS TEXT))) STORED, col2_16 TEXT NOT NULL GENERATED ALWAYS AS (lower(CAST(col2_11 AS TEXT))) STORED, col2_17 TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN col2_10 IS NULL THEN e'\x06CL\fo{\x06|\t'::TEXT ELSE ']|'::TEXT END) STORED);
        test_1        |             CREATE INDEX ON table2 (lower(CAST(col2_8 AS TEXT)) DESC, col2_13 DESC, col2_6 ASC, col2_7, col2_3, col2_17 DESC, col2_4 DESC, col2_11, col2_2 DESC, col2_1 ASC, col2_14, col2_10 ASC, col2_12, col2_0 DESC, col2_16 DESC, (CASE WHEN col2_9 IS NULL THEN e'3|\x11\t>'::TEXT ELSE ''::TEXT END), lower(col2_3) ASC);
        test_1        |             CREATE INDEX ON table2 (col2_6 ASC, col2_3 ASC, col2_13 DESC, col2_10 ASC, col2_7 ASC, col2_11, col2_5 ASC, col2_4 DESC, col2_12 ASC, col2_2 DESC, (CASE WHEN col2_4 IS NULL THEN '"'::TEXT ELSE e'\fnr>*LLh\x01'::TEXT END) DESC, col2_15 ASC, col2_16, col2_17 DESC, col2_1 DESC) INCLUDE (col2_14);
        test_1        |             CREATE INDEX ON table2 (col2_3 ASC, col2_6, col2_4 ASC, col2_12 ASC, col2_1 DESC, col2_2 ASC, col2_14, col2_5 ASC, col2_15, col2_0);
        test_1        |             CREATE INDEX ON table2 (col2_3, col2_0 DESC, col2_10, col2_12, lower(CAST(col2_8 AS TEXT)) DESC, col2_6 DESC, col2_1 DESC, col2_4, col2_9, col2_5 DESC, lower(CAST(col2_8 AS TEXT)) DESC, (CASE WHEN col2_9 IS NULL THEN e'x\x02'::TEXT ELSE '&|0a~|'::TEXT END), col2_7);
        test_1        |             ALTER TABLE table2 ADD FOREIGN KEY (col2_3, col2_1) REFERENCES table1 (col1_0, col1_3);
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('cbq');
        test_1        |             
        test_1        |         compare_test.go:154: postgres: exec: ERROR: invalid byte sequence for encoding "UTF8": 0x00 (SQLSTATE 22021)
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_postgres_1   ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...

    compose_test.go:49: exit status 1
Reproduce

To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```

Same failure on other branches

- #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1] - #67844 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1] - #67791 compose: TestComposeCompare failed [C-test-failure O-robot branch-master]

Internal log

``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-21.2 @ 1831ab7dc579879476b4161caccc1b17d8780acd:

        test_1        |     --- FAIL: TestCompare/postgres (490.28s)
        test_1        |         compare_test.go:125: starting test: postgres
        test_1        |         compare_test.go:132: initializing connection: cockroach1
        test_1        |         compare_test.go:132: initializing connection: postgres
        test_1        |         compare_test.go:183: compare cockroach1 to postgres:
        test_1        |             unexpected diff:
        test_1        |               []interface{}(Inverse(func1, []interface{}{
        test_1        |             -   s"6",
        test_1        |             +   s"5",
        test_1        |                 nil,
        test_1        |               }))
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (
        test_1        |                     SELECT
        test_1        |                         width_bucket(7:::DECIMAL::DECIMAL::DECIMAL, 2:::DECIMAL::DECIMAL::DECIMAL, 9:::DECIMAL::DECIMAL::DECIMAL, 7:::INT8::INT4::INT4)::INT8
        test_1        |                             AS col_704713,
        test_1        |                         NULL::TIMETZ AS col_704714
        test_1        |                 )
        test_1        |                     AS tab_389112
        test_1        |             ORDER BY
        test_1        |                 col_704713 NULLS FIRST, col_704714 NULLS FIRST;
        test_1        |             
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (
        test_1        |                     SELECT
        test_1        |                         width_bucket(7::DECIMAL::DECIMAL::DECIMAL, 2::DECIMAL::DECIMAL::DECIMAL, 9::DECIMAL::DECIMAL::DECIMAL, 7::INT8::INT4::INT4)::INT8
        test_1        |                             AS col_704713,
        test_1        |                         NULL::TIMETZ AS col_704714
        test_1        |                 )
        test_1        |                     AS tab_389112
        test_1        |             ORDER BY
        test_1        |                 col_704713 NULLS FIRST, col_704714 NULLS FIRST;
        test_1        |             
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_cockroach1_1 ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...

    compose_test.go:49: exit status 1
Reproduce

To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```

Same failure on other branches

- #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1] - #67844 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1] - #67791 compose: TestComposeCompare failed [C-test-failure O-robot branch-master]

Internal log

``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-21.2 @ 0404196bd03e7a972022f9f7d2153c45eb0431b4:

        postgres_1    |                 st_astext('J'::TEXT::TEXT::TEXT, NULL::INT4::INT4)::TEXT AS col_80648
        postgres_1    |             FROM
        postgres_1    |                 postgres.public.table4 AS tab_43425
        postgres_1    |             WHERE
        postgres_1    |                 NULL::BOOL
        postgres_1    |         )
        postgres_1    |             AS tab_43426
        postgres_1    |     ORDER BY
        postgres_1    |         col_80648 NULLS FIRST
        test_1        | --- FAIL: TestCompare (761.28s)
        test_1        |     compare_test.go:116: Checking connection to: postgres
        test_1        |     compare_test.go:116: Checking connection to: cockroach1
        test_1        |     compare_test.go:116: Checking connection to: cockroach2
        test_1        |     --- FAIL: TestCompare/postgres (158.51s)
        test_1        |         compare_test.go:125: starting test: postgres
        test_1        |         compare_test.go:132: initializing connection: cockroach1
        test_1        |         compare_test.go:132: initializing connection: postgres
        test_1        |         compare_test.go:183: compare postgres to cockroach1:
        test_1        |             unexpected diff:
        test_1        |               []interface{}(Inverse(func1, []interface{}{
        test_1        |             -   string("BOX(-45 45,0 90)"),
        test_1        |             +   nil,
        test_1        |               }))
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (SELECT st_box2dfromgeohash('G':::STRING::STRING::STRING, NULL::INT4::INT4)::BOX2D AS col_81090) AS tab_43697
        test_1        |             ORDER BY
        test_1        |                 CAST(col_81090 AS STRING) NULLS FIRST;
        test_1        |             
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (SELECT st_box2dfromgeohash('G'::TEXT::TEXT::TEXT, NULL::INT4::INT4)::BOX2D AS col_81090) AS tab_43697
        test_1        |             ORDER BY
        test_1        |                 CAST(col_81090 AS TEXT) NULLS FIRST;
        test_1        |             
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_cockroach2_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...

    compose_test.go:49: exit status 1
Reproduce

To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```

Same failure on other branches

- #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1] - #67844 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1] - #67791 compose: TestComposeCompare failed [C-test-failure O-robot branch-master]

Internal log

``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-21.2 @ 791fd46847e4db8b989fd19974d9c79e917a6826:

        test_1        |         compare_test.go:125: starting test: postgres
        test_1        |         compare_test.go:132: initializing connection: cockroach1
        test_1        |         compare_test.go:132: initializing connection: postgres
        test_1        |         compare_test.go:183: compare cockroach1 to postgres:
        test_1        |             unexpected diff:
        test_1        |               []interface{}(Inverse(func1, []interface{}{
        test_1        |             -   nil,
        test_1        |             +   string("BOX(-45 0,0 45)"),
        test_1        |                 string("B"),
        test_1        |                 nil,
        test_1        |               }))
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (
        test_1        |                     SELECT
        test_1        |                         st_box2dfromgeohash('E':::STRING::STRING::STRING, NULL::INT4::INT4)::BOX2D AS col_23168,
        test_1        |                         'B':::STRING::STRING AS col_23169,
        test_1        |                         NULL::VARCHAR AS col_23170
        test_1        |                 )
        test_1        |                     AS tab_12615
        test_1        |             ORDER BY
        test_1        |                 CAST(col_23168 AS STRING) NULLS FIRST, col_23169 NULLS FIRST, col_23170 NULLS FIRST;
        test_1        |             
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (
        test_1        |                     SELECT
        test_1        |                         st_box2dfromgeohash('E'::TEXT::TEXT::TEXT, NULL::INT4::INT4)::BOX2D AS col_23168,
        test_1        |                         'B'::TEXT::TEXT AS col_23169,
        test_1        |                         NULL::VARCHAR AS col_23170
        test_1        |                 )
        test_1        |                     AS tab_12615
        test_1        |             ORDER BY
        test_1        |                 CAST(col_23168 AS TEXT) NULLS FIRST, col_23169 NULLS FIRST, col_23170 NULLS FIRST;
        test_1        |             
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...

    compose_test.go:49: exit status 1
Reproduce

To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```

Same failure on other branches

- #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1] - #67844 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1] - #67791 compose: TestComposeCompare failed [C-test-failure O-robot branch-master]

Internal log

``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-21.2 @ 3cfa6e69d75020fd3470bfbdf56b44529f9fb492:

        test_1        |     compare_test.go:116: Checking connection to: cockroach1
        test_1        |     compare_test.go:116: Checking connection to: cockroach2
        test_1        |     --- FAIL: TestCompare/postgres (484.12s)
        test_1        |         compare_test.go:125: starting test: postgres
        test_1        |         compare_test.go:132: initializing connection: cockroach1
        test_1        |         compare_test.go:132: initializing connection: postgres
        test_1        |         compare_test.go:183: compare cockroach1 to postgres:
        test_1        |             unexpected diff:
        test_1        |               []interface{}(Inverse(func1, []interface{}{
        test_1        |                 float32(8),
        test_1        |             -   string("H::"),
        test_1        |             +   string("H::/128"),
        test_1        |               }))
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (
        test_1        |                     SELECT
        test_1        |                         8.0:::FLOAT8::FLOAT4 AS col_495331,
        test_1        |                         ('H':::STRING::STRING::STRING || netmask('::5/0':::INET::INET::INET)::INET::INET)::STRING AS col_495332
        test_1        |                 )
        test_1        |                     AS tab_309895
        test_1        |             ORDER BY
        test_1        |                 col_495331 NULLS FIRST, col_495332 NULLS FIRST;
        test_1        |             
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (
        test_1        |                     SELECT
        test_1        |                         8.0::FLOAT8::FLOAT4 AS col_495331,
        test_1        |                         ('H'::TEXT::TEXT::TEXT || netmask('::5/0'::INET::INET::INET)::INET::INET)::TEXT AS col_495332
        test_1        |                 )
        test_1        |                     AS tab_309895
        test_1        |             ORDER BY
        test_1        |                 col_495331 NULLS FIRST, col_495332 NULLS FIRST;
        test_1        |             
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_postgres_1   ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...

    compose_test.go:49: exit status 1
Reproduce

To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```

Same failure on other branches

- #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1] - #67844 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1] - #67791 compose: TestComposeCompare failed [C-test-failure O-robot branch-master]

Internal log

``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-21.2 @ ecb6d59ee32b042827b30d40523534c1d3cb23e2:

        test_1        |     compare_test.go:116: Checking connection to: postgres
        test_1        |     compare_test.go:116: Checking connection to: cockroach1
        test_1        |     compare_test.go:116: Checking connection to: cockroach2
        test_1        |     --- FAIL: TestCompare/postgres (64.17s)
        test_1        |         compare_test.go:125: starting test: postgres
        test_1        |         compare_test.go:132: initializing connection: cockroach1
        test_1        |         compare_test.go:132: initializing connection: postgres
        test_1        |         compare_test.go:183: compare cockroach1 to postgres:
        test_1        |             unexpected diff:
        test_1        |               []interface{}(Inverse(func1, []interface{}{
        test_1        |             -   nil,
        test_1        |             +   string("BOX(-50 -5,5 50)"),
        test_1        |               }))
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (
        test_1        |                     SELECT
        test_1        |                         st_expand(st_combinebbox(st_box2dfromgeohash('E'::TEXT::TEXT::TEXT, NULL::INT4::INT4)::BOX2D::BOX2D, NULL::GEOMETRY::GEOMETRY)::BOX2D::BOX2D, 5.0::FLOAT8::FLOAT8::FLOAT8)::BOX2D
        test_1        |                             AS col_71276
        test_1        |                 )
        test_1        |                     AS tab_38512
        test_1        |             ORDER BY
        test_1        |                 CAST(col_71276 AS TEXT) NULLS FIRST;
        test_1        |             
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (
        test_1        |                     SELECT
        test_1        |                         st_expand(st_combinebbox(st_box2dfromgeohash('E':::STRING::STRING::STRING, NULL::INT4::INT4)::BOX2D::BOX2D, NULL::GEOMETRY::GEOMETRY)::BOX2D::BOX2D, 5.0:::FLOAT8::FLOAT8::FLOAT8)::BOX2D
        test_1        |                             AS col_71276
        test_1        |                 )
        test_1        |                     AS tab_38512
        test_1        |             ORDER BY
        test_1        |                 CAST(col_71276 AS STRING) NULLS FIRST;
        test_1        |             
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_cockroach2_1 ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...

    compose_test.go:49: exit status 1
Reproduce

To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```

Same failure on other branches

- #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1] - #67844 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1] - #67791 compose: TestComposeCompare failed [C-test-failure O-robot branch-master]

Internal log

``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-21.2 @ 601d1179a3ccc270d2329fb7b9c74b37268e4f76:

        postgres_1    |             AS tab_122911
        postgres_1    |     ORDER BY
        postgres_1    |         col_207968 NULLS FIRST,
        postgres_1    |         col_207969 NULLS FIRST,
        postgres_1    |         col_207970 NULLS FIRST,
        postgres_1    |         col_207971 NULLS FIRST,
        postgres_1    |         col_207972 NULLS FIRST,
        postgres_1    |         col_207973 NULLS FIRST,
        postgres_1    |         col_207974 NULLS FIRST
        test_1        | --- FAIL: TestCompare (782.70s)
        test_1        |     compare_test.go:116: Checking connection to: postgres
        test_1        |     compare_test.go:116: Checking connection to: cockroach1
        test_1        |     compare_test.go:116: Checking connection to: cockroach2
        test_1        |     --- FAIL: TestCompare/postgres (178.80s)
        test_1        |         compare_test.go:125: starting test: postgres
        test_1        |         compare_test.go:132: initializing connection: cockroach1
        test_1        |         compare_test.go:132: initializing connection: postgres
        test_1        |         compare_test.go:183: compare cockroach1 to postgres:
        test_1        |             unexpected diff:
        test_1        |               []interface{}(Inverse(func1, []interface{}{
        test_1        |             -   nil,
        test_1        |             +   string("BOX(0 -90,45 -45)"),
        test_1        |               }))
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (SELECT st_box2dfromgeohash('H'::TEXT::TEXT::TEXT, NULL::INT4::INT4)::BOX2D AS col_208249) AS tab_123080
        test_1        |             ORDER BY
        test_1        |                 CAST(col_208249 AS TEXT) NULLS FIRST;
        test_1        |             
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (SELECT st_box2dfromgeohash('H':::STRING::STRING::STRING, NULL::INT4::INT4)::BOX2D AS col_208249) AS tab_123080
        test_1        |             ORDER BY
        test_1        |                 CAST(col_208249 AS STRING) NULLS FIRST;
        test_1        |             
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_cockroach1_1 ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...

    compose_test.go:49: exit status 1
Reproduce

To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```

Same failure on other branches

- #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1] - #67844 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1] - #67791 compose: TestComposeCompare failed [C-test-failure O-robot branch-master]

Internal log

``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-21.2 @ 89530d83d1738421ddb434c4451b56b39efdb99d:

        test_1        |                                 (tab_7723.tableoid) = (tab_7726.tableoid) AND (tab_7724.tableoid) = (tab_7727.tableoid)
        test_1        |                 )
        test_1        |                     AS tab_7729
        test_1        |             ORDER BY
        test_1        |                 col_12603 NULLS FIRST, col_12604 NULLS FIRST, col_12605 NULLS FIRST, col_12606 NULLS FIRST
        test_1        |         compare_test.go:193: cockroach1: ping: conn closed
        test_1        |     --- FAIL: TestCompare/mutators (53.06s)
        test_1        |         compare_test.go:125: starting test: mutators
        test_1        |         compare_test.go:132: initializing connection: cockroach1
        test_1        |         compare_test.go:132: initializing connection: cockroach2
        test_1        | panic: geos: no locations to init GEOS [recovered]
        test_1        |     panic: geos: no locations to init GEOS
        test_1        | 
        test_1        | goroutine 15015 [running]:
        test_1        | testing.tRunner.func1.2(0x1fdc900, 0xc000cfadc0)
        test_1        |     /usr/local/go/src/testing/testing.go:1143 +0x332
        test_1        | testing.tRunner.func1(0xc00095c000)
        test_1        |     /usr/local/go/src/testing/testing.go:1146 +0x4b6
        test_1        | panic(0x1fdc900, 0xc000cfadc0)
        test_1        |     /usr/local/go/src/runtime/panic.go:965 +0x1b9
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.encodeInvertedIndexHistogramUpperBounds(0x40d6fc0, 0x3210098, 0xc000c6c9c0, 0x3210098, 0xc000c6c9c0, 0x7)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:368 +0x5d3
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.randHistogram(0xc00095fd40, 0x40d6fc0, 0x0, 0x0, 0x0, 0x0, 0x0)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:301 +0x17f
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.statisticsMutator.func1(0xc000cf3080)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:220 +0x9e
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.statisticsMutator(0xc00095fd40, 0xc000761b00, 0x10, 0x10, 0x80, 0xc000d18080, 0xc000bf3998, 0x4358bf)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:251 +0xbeb
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.MultiStatementMutation.Mutate(0x26db520, 0xc00095fd40, 0xc000761b00, 0x10, 0x10, 0x7f2f20079058, 0xc000bf39c8, 0x436cca, 0x1f20d40)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:97 +0x4e
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.Apply(0xc00095fd40, 0xc000761b00, 0x10, 0x10, 0xc000d18080, 0x6, 0x8, 0x8, 0x0, 0x0, ...)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:108 +0xad
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.ApplyString(0xc00095fd40, 0xc000b7c000, 0x3d3b, 0xc000b097a0, 0x6, 0x6, 0x0, 0x6, 0x0)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:159 +0x2e5
        test_1        | github.com/cockroachdb/cockroach/pkg/compose/compare/compare.TestCompare.func2(0xc00095c000)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/compose/compare/compare/compare_test.go:151 +0x2db
        test_1        | testing.tRunner(0xc00095c000, 0xc00095fcb0)
        test_1        |     /usr/local/go/src/testing/testing.go:1193 +0xef
        test_1        | created by testing.(*T).Run
        test_1        |     /usr/local/go/src/testing/testing.go:1238 +0x2b3
        compare_test_1 exited with code 2
        Stopping compare_cockroach2_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...

    compose_test.go:49: exit status 2
Reproduce

To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```

Same failure on other branches

- #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1] - #67844 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1] - #67791 compose: TestComposeCompare failed [C-test-failure O-robot branch-master]

Internal log

``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-21.2 @ 2ef95933f9a903a4384e0d78b0e7c1fe0e3bdf80:

        test_1        |     compare_test.go:116: Checking connection to: cockroach1
        test_1        |     compare_test.go:116: Checking connection to: cockroach2
        test_1        |     --- FAIL: TestCompare/postgres (514.45s)
        test_1        |         compare_test.go:125: starting test: postgres
        test_1        |         compare_test.go:132: initializing connection: cockroach1
        test_1        |         compare_test.go:132: initializing connection: postgres
        test_1        |         compare_test.go:183: compare cockroach1 to postgres:
        test_1        |             unexpected diff:
        test_1        |               []interface{}(Inverse(func1, []interface{}{
        test_1        |             -   nil,
        test_1        |             +   string("BOX(-90 45,-45 90)"),
        test_1        |                 []uint8{0x48},
        test_1        |               }))
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (
        test_1        |                     SELECT
        test_1        |                         st_box2dfromgeohash('F':::STRING::STRING::STRING, NULL::INT4::INT4)::BOX2D AS col_433349,
        test_1        |                         '\x48':::BYTES::BYTES AS col_433350
        test_1        |                 )
        test_1        |                     AS tab_318590
        test_1        |             ORDER BY
        test_1        |                 CAST(col_433349 AS STRING) NULLS FIRST, col_433350 NULLS FIRST;
        test_1        |             
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (
        test_1        |                     SELECT
        test_1        |                         st_box2dfromgeohash('F'::TEXT::TEXT::TEXT, NULL::INT4::INT4)::BOX2D AS col_433349,
        test_1        |                         '\x48'::BYTEA::BYTEA AS col_433350
        test_1        |                 )
        test_1        |                     AS tab_318590
        test_1        |             ORDER BY
        test_1        |                 CAST(col_433349 AS TEXT) NULLS FIRST, col_433350 NULLS FIRST;
        test_1        |             
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_postgres_1   ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...

    compose_test.go:49: exit status 1
Reproduce

To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```

Same failure on other branches

- #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1] - #67844 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1] - #67791 compose: TestComposeCompare failed [C-test-failure O-robot branch-master]

Internal log

``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-21.2 @ b0f755840cf13006845bb0d6bd57be91822a6dd8:

        postgres_1    |     CREATE UNIQUE INDEX ON table5 (col5_7 ASC, col5_6, col5_5 DESC, col5_3 DESC, col5_4 DESC, col5_8);
        postgres_1    |     CREATE UNIQUE INDEX ON table5 (col5_0, col5_6 ASC, col5_3 DESC, col5_4 DESC);
        postgres_1    |     CREATE TYPE rand_typ_0 AS ENUM ('jujti');
        postgres_1    |     CREATE TYPE rand_typ_1 AS ENUM ('hsfjap', 'twcqd', 'brx', 'mzm');
        postgres_1    |     
        test_1        | --- FAIL: TestCompare (609.27s)
        test_1        |     compare_test.go:116: Checking connection to: postgres
        test_1        |     compare_test.go:116: Checking connection to: cockroach1
        test_1        |     compare_test.go:116: Checking connection to: cockroach2
        test_1        |     --- FAIL: TestCompare/postgres (5.18s)
        test_1        |         compare_test.go:125: starting test: postgres
        test_1        |         compare_test.go:132: initializing connection: cockroach1
        test_1        |         compare_test.go:132: initializing connection: postgres
        test_1        |         compare_test.go:153: CREATE TABLE table1 (col1_0 NAME, col1_1 NAME NULL, col1_2 "char", col1_3 NAME NOT NULL, col1_4 INTERVAL, col1_5 "char" NULL, col1_6 FLOAT8 NOT NULL, col1_7 CHAR[] NULL, col1_8 INT4 NOT NULL, col1_9 BOX2D NULL, col1_10 FLOAT8, col1_11 TEXT GENERATED ALWAYS AS (lower(col1_0)) STORED, col1_12 TEXT GENERATED ALWAYS AS (CASE WHEN col1_4 IS NULL THEN e':M{!N\x16r2\x1e'::TEXT ELSE e'4\x1f<q\x7f'::TEXT END) STORED, col1_13 FLOAT8 GENERATED ALWAYS AS (col1_6 + col1_10) STORED, col1_14 FLOAT8 GENERATED ALWAYS AS (col1_10 + col1_6) STORED, col1_15 TEXT NULL GENERATED ALWAYS AS (lower(col1_1)) STORED, col1_16 TEXT GENERATED ALWAYS AS (CASE WHEN col1_4 IS NULL THEN e'&d~\x1bBGl'::TEXT ELSE e'\x18'::TEXT END) STORED);
        test_1        |             CREATE INDEX ON table1 (col1_12, col1_5);
        test_1        |             CREATE INDEX ON table1 (col1_8 ASC) INCLUDE (col1_4, col1_6, col1_14, col1_16);
        test_1        |             CREATE UNIQUE INDEX ON table1 (col1_4 ASC, col1_16, col1_5 ASC, col1_8 ASC, col1_12 DESC, col1_15 DESC, lower(col1_0) DESC, col1_2) INCLUDE (col1_1, col1_6, col1_7, col1_10, col1_14);
        test_1        |             CREATE UNIQUE INDEX ON table1 (col1_5 ASC, col1_8 ASC, col1_13, col1_16 DESC, col1_4);
        test_1        |             CREATE TABLE table2 (col2_0 DECIMAL NOT NULL, col2_1 JSONB NOT NULL, col2_2 BIT(3) NOT NULL, PRIMARY KEY (col2_2, col2_0), col2_3 TEXT NOT NULL GENERATED ALWAYS AS (lower(CAST(col2_2 AS TEXT))) STORED);
        test_1        |             CREATE INDEX ON table2 (col2_2 ASC);
        test_1        |             CREATE UNIQUE INDEX ON table2 (col2_2 ASC, col2_0);
        test_1        |             CREATE TABLE table3 (col3_0 FLOAT4, col3_1 BYTEA, col3_2 TIME NULL, col3_3 REGPROC, col3_4 REGROLE, col3_5 NAME, col3_6 BIT(47), col3_7 BIT(10) NOT NULL, col3_8 BOX2D NULL, col3_9 GEOMETRY NOT NULL);
        test_1        |             CREATE INDEX ON table3 (col3_6, col3_1, col3_7 DESC, col3_5 DESC, col3_4 DESC, col3_3 DESC);
        test_1        |             CREATE UNIQUE INDEX ON table3 (lower(col3_5) ASC, col3_5 DESC, (CASE WHEN col3_3 IS NULL THEN '*b'::TEXT ELSE e')xv0\x0bhh'::TEXT END) DESC);
        test_1        |             CREATE INDEX ON table3 ((CASE WHEN col3_4 IS NULL THEN 'j'::TEXT ELSE 'r=/?:'::TEXT END), col3_6 DESC) INCLUDE (col3_1, col3_2, col3_3, col3_9);
        test_1        |             CREATE TABLE table4 (col4_0 DECIMAL, col4_1 REGCLASS NOT NULL, col4_2 REGNAMESPACE NOT NULL, col4_3 CHAR, col4_4 BIT(2), col4_5 BIT(20) NOT NULL, col4_6 UUID NOT NULL, col4_7 CHAR, col4_8 TIMETZ, col4_9 UUID, col4_10 NAME, col4_11 TEXT GENERATED ALWAYS AS (lower(CAST(col4_9 AS TEXT))) STORED, col4_12 DECIMAL GENERATED ALWAYS AS (col4_0 + 3.727165921743556609E+27::DECIMAL) STORED, col4_13 TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN col4_2 IS NULL THEN ''::TEXT ELSE e'\x00'::TEXT END) STORED, col4_14 BOOL NOT NULL GENERATED ALWAYS AS (true) STORED, col4_15 TEXT NOT NULL GENERATED ALWAYS AS (lower(CAST(col4_5 AS TEXT))) STORED, col4_16 TEXT GENERATED ALWAYS AS (lower(col4_10)) STORED);
        test_1        |             CREATE INDEX ON table4 (col4_16 DESC, col4_7, col4_3 DESC);
        test_1        |             CREATE INDEX ON table4 (col4_9 ASC) INCLUDE (col4_0, col4_3, col4_6, col4_7, col4_10, col4_12);
        test_1        |             CREATE INDEX ON table4 (col4_7, (col4_0 + (-0.00183643315786132002)::DECIMAL) ASC, col4_11 ASC, col4_4 DESC, col4_15 ASC, col4_9 DESC, col4_3, col4_14 DESC, col4_8, col4_5);
        test_1        |             CREATE INDEX ON table4 (col4_7 ASC, col4_5, col4_4 ASC, col4_13, col4_16 DESC, col4_3, (true) ASC, col4_6 DESC, col4_14 DESC, col4_0 DESC, col4_12 ASC, col4_9, lower(col4_10) ASC, col4_8 DESC, col4_15 ASC, col4_11, col4_2 DESC);
        test_1        |             CREATE INDEX ON table4 (col4_2, col4_10 DESC, col4_14 DESC, col4_9 ASC, col4_3, col4_13, col4_12, col4_16 ASC, col4_5 ASC, col4_1, col4_4 ASC, col4_0 DESC, col4_6 DESC, col4_11 DESC, col4_15, col4_8);
        test_1        |             CREATE TABLE table5 (col5_0 INT4 NOT NULL, col5_1 DATE NOT NULL, col5_2 BIT(9) NOT NULL, col5_3 OID NOT NULL, col5_4 REGROLE NOT NULL, col5_5 TEXT NOT NULL, PRIMARY KEY (col5_4, col5_5, col5_3, col5_0, col5_2, col5_1), col5_6 TEXT NOT NULL GENERATED ALWAYS AS (lower(col5_5)) STORED, col5_7 TEXT NOT NULL GENERATED ALWAYS AS (lower(col5_5)) STORED, col5_8 TEXT NOT NULL GENERATED ALWAYS AS (lower(col5_5)) STORED, col5_9 TEXT NOT NULL GENERATED ALWAYS AS (lower(CAST(col5_2 AS TEXT))) STORED);
        test_1        |             CREATE UNIQUE INDEX ON table5 (col5_9 DESC, col5_3);
        test_1        |             CREATE UNIQUE INDEX ON table5 (col5_7 ASC, col5_6, col5_5 DESC, col5_3 DESC, col5_4 DESC, col5_8);
        test_1        |             CREATE UNIQUE INDEX ON table5 (col5_0, col5_6 ASC, col5_3 DESC, col5_4 DESC);
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('jujti');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('hsfjap', 'twcqd', 'brx', 'mzm');
        test_1        |             
        test_1        |         compare_test.go:154: postgres: exec: ERROR: invalid byte sequence for encoding "UTF8": 0x00 (SQLSTATE 22021)
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach1_1 ... done
        Stopping compare_cockroach2_1 ... done
        Aborting on container exit...

    compose_test.go:49: exit status 1
Reproduce

To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```

Same failure on other branches

- #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1] - #67844 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1] - #67791 compose: TestComposeCompare failed [C-test-failure O-robot branch-master]

Internal log

``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-21.2 @ db4b580c0a9671d0be75be4d4f02202be77b59db:

        test_1        |         compare_test.go:132: initializing connection: cockroach1
        test_1        |         compare_test.go:132: initializing connection: cockroach2
        test_1        |         compare_test.go:192: SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (
        test_1        |                     SELECT
        test_1        |                         NULL AS col_264976, 0:::OID AS col_264977
        test_1        |                     FROM
        test_1        |                         postgres.public.table1@[0] AS tab_172931
        test_1        |                         JOIN postgres.public.table2 AS tab_172932
        test_1        |                             JOIN postgres.public.table1 AS tab_172933 ON (tab_172932.col2_5) = (tab_172933.col1_0)
        test_1        |                             JOIN postgres.public.table1 AS tab_172934
        test_1        |                                 JOIN postgres.public.table1 AS tab_172935 ON (tab_172934.col1_0) = (tab_172935.col1_0) ON
        test_1        |                                     (tab_172933.col1_0) = (tab_172935.col1_0)
        test_1        |                             JOIN postgres.public.table2@[0] AS tab_172936
        test_1        |                                 JOIN postgres.public.table1@table1_col1_2_key AS tab_172937 ON
        test_1        |                                         (tab_172936.col2_1) = (tab_172937.col1_1) AND (tab_172936.col2_10) = (tab_172937.col1_2)
        test_1        |                                 JOIN postgres.public.table1@table1_col1_2_key AS tab_172938 ON
        test_1        |                                         (tab_172937.col1_1) = (tab_172938.col1_1)
        test_1        |                                         AND (tab_172936.col2_13) = (tab_172938.col1_2)
        test_1        |                                         AND (tab_172936.crdb_internal_mvcc_timestamp) = (tab_172938.crdb_internal_mvcc_timestamp)
        test_1        |                                         AND (tab_172937.col1_0) = (tab_172938.col1_0)
        test_1        |                                 JOIN postgres.public.table1 AS tab_172939
        test_1        |                                     JOIN postgres.public.table1 AS tab_172940 ON
        test_1        |                                             (tab_172939.col1_2) = (tab_172940.col1_2)
        test_1        |                                             AND (tab_172939.col1_0) = (tab_172940.col1_0) ON
        test_1        |                                         (tab_172938.col1_0) = (tab_172940.col1_0) AND (tab_172937.col1_0) = (tab_172940.col1_0) ON
        test_1        |                                     (tab_172932.col2_5) = (tab_172939.col1_0) AND (tab_172934.col1_0) = (tab_172939.col1_0) ON
        test_1        |                                 (tab_172931.col1_0) = (tab_172936.col2_5)
        test_1        |                                 AND (tab_172931.crdb_internal_mvcc_timestamp) = (tab_172937.crdb_internal_mvcc_timestamp)
        test_1        |                                 AND (tab_172931.col1_1) = (tab_172937.col1_1)
        test_1        |                                 AND (tab_172931.col1_1) = (tab_172936.col2_1)
        test_1        |                                 AND (tab_172931.col1_0) = (tab_172935.col1_0)
        test_1        |                 )
        test_1        |                     AS tab_172941
        test_1        |             ORDER BY
        test_1        |                 col_264976 NULLS FIRST, col_264977 NULLS FIRST
        test_1        |         compare_test.go:193: cockroach1: ping: conn closed
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_cockroach2_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...

    compose_test.go:49: exit status 1
Reproduce

To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```

Same failure on other branches

- #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1] - #67844 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1] - #67791 compose: TestComposeCompare failed [C-test-failure O-robot branch-master]

Internal log

``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-21.2 @ eafda969629a6c883d645ffbcbbcb94a91adcb40:

        test_1        |         compare_test.go:125: starting test: postgres
        test_1        |         compare_test.go:132: initializing connection: cockroach1
        test_1        |         compare_test.go:132: initializing connection: postgres
        test_1        |         compare_test.go:183: compare cockroach1 to postgres:
        test_1        |             unexpected diff:
        test_1        |               []interface{}(Inverse(func1, []interface{}{
        test_1        |                 s"2000-01-03 00:00:00 +0000 UTC",
        test_1        |                 string("00110000000000000000000000000000000"),
        test_1        |             -   nil,
        test_1        |             +   string("BOX(-90 45,-45 90)"),
        test_1        |               }))
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (
        test_1        |                     SELECT
        test_1        |                         '2000-01-03':::DATE::DATE AS col_265146,
        test_1        |                         B'0011'::BIT(35) AS col_265147,
        test_1        |                         st_box2dfromgeohash('F':::STRING::STRING::STRING, NULL::INT4::INT4)::BOX2D AS col_265148
        test_1        |                 )
        test_1        |                     AS tab_148116
        test_1        |             ORDER BY
        test_1        |                 col_265146 NULLS FIRST, col_265147 NULLS FIRST, CAST(col_265148 AS STRING) NULLS FIRST;
        test_1        |             
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (
        test_1        |                     SELECT
        test_1        |                         '2000-01-03'::DATE::DATE AS col_265146,
        test_1        |                         B'0011'::BIT(35) AS col_265147,
        test_1        |                         st_box2dfromgeohash('F'::TEXT::TEXT::TEXT, NULL::INT4::INT4)::BOX2D AS col_265148
        test_1        |                 )
        test_1        |                     AS tab_148116
        test_1        |             ORDER BY
        test_1        |                 col_265146 NULLS FIRST, col_265147 NULLS FIRST, CAST(col_265148 AS TEXT) NULLS FIRST;
        test_1        |             
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_cockroach1_1 ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...

    compose_test.go:49: exit status 1
Reproduce

To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```

Same failure on other branches

- #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1] - #67844 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1] - #67791 compose: TestComposeCompare failed [C-test-failure O-robot branch-master]

Internal log

``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-21.2 @ 7f52096bd2128a38431b09f77a03484a7f1fadfe:

        test_1        |                         (
        test_1        |                             VALUES
        test_1        |                                 (NULL::GEOGRAPHY[]),
        test_1        |                                 (NULL::GEOGRAPHY[]),
        test_1        |                                 (NULL::GEOGRAPHY[]),
        test_1        |                                 (NULL::GEOGRAPHY[]),
        test_1        |                                 (NULL::GEOGRAPHY[]),
        test_1        |                                 (NULL::GEOGRAPHY[])
        test_1        |                         )
        test_1        |                             AS tab_60629 (col_108682)
        test_1        |                 )
        test_1        |                     AS tab_60630
        test_1        |             ORDER BY
        test_1        |                 col_108683 NULLS FIRST;
        test_1        |             
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (
        test_1        |                     SELECT
        test_1        |                         (tab_60629.col_108682::GEOGRAPHY[] || st_project(NULL::GEOGRAPHY::GEOGRAPHY, NULL::FLOAT8::FLOAT8, 2.0::FLOAT8::FLOAT8::FLOAT8)::GEOGRAPHY::GEOGRAPHY)::GEOGRAPHY[]
        test_1        |                             AS col_108683
        test_1        |                     FROM
        test_1        |                         (
        test_1        |                             VALUES
        test_1        |                                 (NULL::GEOGRAPHY[]),
        test_1        |                                 (NULL::GEOGRAPHY[]),
        test_1        |                                 (NULL::GEOGRAPHY[]),
        test_1        |                                 (NULL::GEOGRAPHY[]),
        test_1        |                                 (NULL::GEOGRAPHY[]),
        test_1        |                                 (NULL::GEOGRAPHY[])
        test_1        |                         )
        test_1        |                             AS tab_60629 (col_108682)
        test_1        |                 )
        test_1        |                     AS tab_60630
        test_1        |             ORDER BY
        test_1        |                 col_108683 NULLS FIRST;
        test_1        |             
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_postgres_1   ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...

    compose_test.go:49: exit status 1
Reproduce

To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```

Same failure on other branches

- #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1] - #67844 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1] - #67791 compose: TestComposeCompare failed [C-test-failure O-robot branch-master]

Internal log

``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-21.2 @ 573003e1cf5d178ed0a2dc92c8f4f03353acc20e:

        test_1        |                             JOIN postgres.public.table3 AS tab_138091 ON (tab_138090.col3_0) = (tab_138091.col3_0)
        test_1        |                             JOIN postgres.public.table3@primary AS tab_138094
        test_1        |                                 JOIN postgres.public.table4@[0] AS tab_138095
        test_1        |                                     JOIN postgres.public.table2@[0] AS tab_138096 ON (tab_138095.tableoid) = (tab_138096.col2_6)
        test_1        |                                     JOIN postgres.public.table2@[0] AS tab_138097 ON
        test_1        |                                             (tab_138096.col2_18) = (tab_138097.col2_18)
        test_1        |                                             AND (tab_138095.tableoid) = (tab_138097.col2_6)
        test_1        |                                             AND (tab_138095.col4_4) = (tab_138097.col2_10)
        test_1        |                                             AND (tab_138096.col2_18) = (tab_138097.col2_14) ON
        test_1        |                                         (tab_138094.tableoid) = (tab_138097.tableoid)
        test_1        |                                         AND (tab_138094.tableoid) = (tab_138096.col2_6) ON
        test_1        |                                     (tab_138091.col3_0) = (tab_138097.col2_10) ON
        test_1        |                                 (tab_138089.col1_11) = (tab_138094.col3_2)
        test_1        |                                 AND (tab_138089.col1_8) = (tab_138094.col3_2)
        test_1        |                                 AND (tab_138089.col1_7) = (tab_138097.col2_14)
        test_1        |                                 AND (tab_138089.col1_7) = (tab_138096.col2_12)
        test_1        |                         JOIN postgres.public.table3@primary AS tab_138098 ON
        test_1        |                                 (tab_138096.crdb_internal_mvcc_timestamp) = (tab_138098.crdb_internal_mvcc_timestamp)
        test_1        |                                 AND (tab_138096.tableoid) = (tab_138098.tableoid)
        test_1        |                     ORDER BY
        test_1        |                         tab_138095.col4_8 DESC, tab_138097.crdb_internal_mvcc_timestamp ASC
        test_1        |                 )
        test_1        |                     AS tab_138099
        test_1        |             ORDER BY
        test_1        |                 col_219813 NULLS FIRST,
        test_1        |                 col_219814 NULLS FIRST,
        test_1        |                 col_219815 NULLS FIRST,
        test_1        |                 col_219816 NULLS FIRST,
        test_1        |                 col_219817 NULLS FIRST,
        test_1        |                 col_219818 NULLS FIRST,
        test_1        |                 col_219819 NULLS FIRST,
        test_1        |                 col_219820 NULLS FIRST,
        test_1        |                 col_219821 NULLS FIRST,
        test_1        |                 col_219822 NULLS FIRST,
        test_1        |                 col_219823 NULLS FIRST,
        test_1        |                 col_219824 NULLS FIRST,
        test_1        |                 col_219825 NULLS FIRST,
        test_1        |                 col_219826 NULLS FIRST
        test_1        |         compare_test.go:193: cockroach2: ping: conn closed
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_postgres_1   ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...

    compose_test.go:49: exit status 1
Reproduce

To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```

Same failure on other branches

- #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1] - #67844 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1] - #67791 compose: TestComposeCompare failed [C-test-failure O-robot branch-master]

Internal log

``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-21.2 @ 3766b233eb37bfff93038ad891ea039a1c2b5079:

        postgres_1    |             AS tab_75208
        postgres_1    |     ORDER BY
        postgres_1    |         col_139194 NULLS FIRST,
        postgres_1    |         col_139195 NULLS FIRST,
        postgres_1    |         col_139196 NULLS FIRST,
        postgres_1    |         col_139197 NULLS FIRST,
        postgres_1    |         col_139198 NULLS FIRST,
        postgres_1    |         col_139199 NULLS FIRST
        test_1        | --- FAIL: TestCompare (725.56s)
        test_1        |     compare_test.go:116: Checking connection to: postgres
        test_1        |     compare_test.go:116: Checking connection to: cockroach1
        test_1        |     compare_test.go:116: Checking connection to: cockroach2
        test_1        |     --- FAIL: TestCompare/postgres (121.42s)
        test_1        |         compare_test.go:125: starting test: postgres
        test_1        |         compare_test.go:132: initializing connection: cockroach1
        test_1        |         compare_test.go:132: initializing connection: postgres
        test_1        |         compare_test.go:183: compare postgres to cockroach1:
        test_1        |             unexpected diff:
        test_1        |               []interface{}(Inverse(func1, []interface{}{
        test_1        |             -   string("{NULL:NULL}"),
        test_1        |             +   string("{NULL,NULL}"),
        test_1        |                 nil,
        test_1        |               }))
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (
        test_1        |                     SELECT
        test_1        |                         ((NULL::GEOGRAPHY::GEOGRAPHY || NULL::GEOGRAPHY[]::GEOGRAPHY[])::GEOGRAPHY[]::GEOGRAPHY[] || NULL::GEOGRAPHY::GEOGRAPHY)::GEOGRAPHY[]
        test_1        |                             AS col_139553,
        test_1        |                         NULL::rand_typ_2 AS col_139554
        test_1        |                 )
        test_1        |                     AS tab_75414
        test_1        |             ORDER BY
        test_1        |                 col_139553 NULLS FIRST, col_139554 NULLS FIRST;
        test_1        |             
        test_1        |             postgres: [same as previous]
        test_1        |             
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_postgres_1   ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...

    compose_test.go:49: exit status 1
Reproduce

To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```

Same failure on other branches

- #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1] - #67844 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1] - #67791 compose: TestComposeCompare failed [C-test-failure O-robot branch-master]

Internal log

``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-21.2 @ 3d0b2b854e72eb012228f84f0f3710dd4f8335d3:

        test_1        |                         tab_50685.col3_5 AS col_75882,
        test_1        |                         NULL AS col_75883,
        test_1        |                         tab_50690.col3_6 AS col_75884,
        test_1        |                         '11:36:31.857777+05:37:00':::TIMETZ AS col_75885
        test_1        |                     FROM
        test_1        |                         postgres.public.table2@[0] AS tab_50680,
        test_1        |                         postgres.public.table1@primary AS tab_50681,
        test_1        |                         postgres.public.table1@[0] AS tab_50682
        test_1        |                         JOIN postgres.public.table3@[0] AS tab_50685
        test_1        |                             JOIN postgres.public.table2@[0] AS tab_50686
        test_1        |                                 JOIN postgres.public.table3@table3_col3_1_expr_col3_0_expr1_key AS tab_50687
        test_1        |                                     JOIN postgres.public.table3@[0] AS tab_50688 ON (tab_50687.col3_2) = (tab_50688.col3_8) ON
        test_1        |                                         (tab_50686.col2_6) = (tab_50687.col3_7) ON (tab_50685.col3_3) = (tab_50687.col3_3)
        test_1        |                             RIGHT JOIN postgres.public.table1@primary AS tab_50689
        test_1        |                                 JOIN postgres.public.table3@table3_col3_5_col3_8_col3_3_col3_2_col3_0_col3_4_col3_6_col3_7_col3_1_idx
        test_1        |                                         AS tab_50690 ON
        test_1        |                                         (tab_50689.tableoid) = (tab_50690.tableoid)
        test_1        |                                         AND (tab_50689.crdb_internal_mvcc_timestamp) = (tab_50690.col3_2)
        test_1        |                                 CROSS JOIN postgres.public.table2@[0] AS tab_50691 ON true ON
        test_1        |                                 (tab_50682.crdb_internal_mvcc_timestamp) = (tab_50688.col3_8)
        test_1        |                                 AND (tab_50682.crdb_internal_mvcc_timestamp) = (tab_50688.crdb_internal_mvcc_timestamp)
        test_1        |                                 AND (tab_50682.crdb_internal_mvcc_timestamp) = (tab_50690.col3_2)
        test_1        |                                 AND (tab_50682.tableoid) = (tab_50686.tableoid)
        test_1        |                                 AND (tab_50682.col1_0) = (tab_50691.col2_6)
        test_1        |                     WHERE
        test_1        |                         true
        test_1        |                     ORDER BY
        test_1        |                         tab_50686.crdb_internal_mvcc_timestamp ASC
        test_1        |                 )
        test_1        |                     AS tab_50692
        test_1        |             ORDER BY
        test_1        |                 col_75879 NULLS FIRST,
        test_1        |                 col_75880 NULLS FIRST,
        test_1        |                 col_75881 NULLS FIRST,
        test_1        |                 col_75882 NULLS FIRST,
        test_1        |                 col_75883 NULLS FIRST,
        test_1        |                 col_75884 NULLS FIRST,
        test_1        |                 col_75885 NULLS FIRST
        test_1        |         compare_test.go:193: cockroach1: ping: conn closed
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_postgres_1   ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...

    compose_test.go:49: exit status 1
Reproduce

To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```

Same failure on other branches

- #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1] - #67844 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1] - #67791 compose: TestComposeCompare failed [C-test-failure O-robot branch-master]

Internal log

``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-21.2 @ 18c5994d09d0834df755c0ece24ce1fde047ad7a:

        test_1        | --- FAIL: TestCompare (3.36s)
        test_1        |     compare_test.go:116: Checking connection to: cockroach1
        test_1        |     compare_test.go:116: Checking connection to: cockroach2
        test_1        |     compare_test.go:116: Checking connection to: postgres
        test_1        |     --- FAIL: TestCompare/postgres (0.00s)
        test_1        |         compare_test.go:125: starting test: postgres
        test_1        | panic: geos: no locations to init GEOS [recovered]
        test_1        |     panic: geos: no locations to init GEOS
        test_1        | 
        test_1        | goroutine 82 [running]:
        test_1        | testing.tRunner.func1.2(0x1fdd0a0, 0xc000d29fe0)
        test_1        |     /usr/local/go/src/testing/testing.go:1143 +0x332
        test_1        | testing.tRunner.func1(0xc0004b2600)
        test_1        |     /usr/local/go/src/testing/testing.go:1146 +0x4b6
        test_1        | panic(0x1fdd0a0, 0xc000d29fe0)
        test_1        |     /usr/local/go/src/runtime/panic.go:965 +0x1b9
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.encodeInvertedIndexHistogramUpperBounds(0x40d6fc0, 0x3210998, 0xc000e00ed0, 0x3210998, 0xc000e00ed0, 0x7)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:368 +0x5d3
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.randHistogram(0xc000d60000, 0x40d6fc0, 0x0, 0x0, 0x0, 0x0, 0x0)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:301 +0x17f
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.statisticsMutator.func1(0xc000602780)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:220 +0x9e
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.statisticsMutator(0xc000d60000, 0xc000d60030, 0x3, 0x3, 0x0, 0x0, 0x0, 0x0)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:251 +0xbeb
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.MultiStatementMutation.Mutate(0x26dbd40, 0xc000d60000, 0xc000d60030, 0x3, 0x3, 0x0, 0xc000298820, 0xe0, 0x0)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:97 +0x4e
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.RandCreateTables(0xc000d60000, 0x2170e07, 0x5, 0x3, 0xc000b03a30, 0x3, 0x3, 0xe0, 0x4436d7, 0x8)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/sql/randgen/schema.go:89 +0x163
        test_1        | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.randTablesN(0xc000d60000, 0x3, 0x2, 0x0)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/setup.go:91 +0x19e
        test_1        | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.randTables(0xc000d60000, 0x4394f8, 0x30)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/setup.go:77 +0x4f
        test_1        | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.wrapCommonSetup.func1(0xc000d60000, 0x94e912ea9fdeb386, 0x11)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/setup.go:43 +0x44
        test_1        | github.com/cockroachdb/cockroach/pkg/compose/compare/compare.TestCompare.func2(0xc0004b2600)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/compose/compare/compare/compare_test.go:127 +0x113
        test_1        | testing.tRunner(0xc0004b2600, 0xc000d11f80)
        test_1        |     /usr/local/go/src/testing/testing.go:1193 +0xef
        test_1        | created by testing.(*T).Run
        test_1        |     /usr/local/go/src/testing/testing.go:1238 +0x2b3
        compare_test_1 exited with code 2
        Stopping compare_cockroach1_1 ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...

    compose_test.go:49: exit status 2
Reproduce

To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```

Same failure on other branches

- #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1] - #67844 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1] - #67791 compose: TestComposeCompare failed [C-test-failure O-robot branch-master]

Internal log

``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-21.2 @ cb614c836c55bde4c4b71581e9f10715bc090347:

        test_1        |     compare_test.go:116: Checking connection to: postgres
        test_1        |     compare_test.go:116: Checking connection to: cockroach1
        test_1        |     compare_test.go:116: Checking connection to: cockroach2
        test_1        |     --- FAIL: TestCompare/postgres (238.20s)
        test_1        |         compare_test.go:125: starting test: postgres
        test_1        |         compare_test.go:132: initializing connection: cockroach1
        test_1        |         compare_test.go:132: initializing connection: postgres
        test_1        |         compare_test.go:183: compare cockroach1 to postgres:
        test_1        |             unexpected diff:
        test_1        |               []interface{}(Inverse(func1, []interface{}{
        test_1        |             -   string("{NULL,NULL}"),
        test_1        |             +   string("{NULL:NULL}"),
        test_1        |               }))
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (
        test_1        |                     SELECT
        test_1        |                         ((st_linefromwkb(NULL::BYTES::BYTES, 2:::INT8::INT4::INT4)::GEOMETRY::GEOMETRY || NULL::GEOMETRY[]::GEOMETRY[])::GEOMETRY[]::GEOMETRY[] || NULL::GEOMETRY::GEOMETRY)::GEOMETRY[]
        test_1        |                             AS col_263977
        test_1        |                 )
        test_1        |                     AS tab_181460
        test_1        |             ORDER BY
        test_1        |                 col_263977 NULLS FIRST;
        test_1        |             
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (
        test_1        |                     SELECT
        test_1        |                         ((st_linefromwkb(NULL::BYTEA::BYTEA, 2::INT8::INT4::INT4)::GEOMETRY::GEOMETRY || NULL::GEOMETRY[]::GEOMETRY[])::GEOMETRY[]::GEOMETRY[] || NULL::GEOMETRY::GEOMETRY)::GEOMETRY[]
        test_1        |                             AS col_263977
        test_1        |                 )
        test_1        |                     AS tab_181460
        test_1        |             ORDER BY
        test_1        |                 col_263977 NULLS FIRST;
        test_1        |             
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_postgres_1   ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...

    compose_test.go:49: exit status 1
Reproduce

To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```

Same failure on other branches

- #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1] - #67844 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1] - #67791 compose: TestComposeCompare failed [C-test-failure O-robot branch-master]

Internal log

``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-21.2 @ 0f0029653c25772d09adae5be308ce0c45f84f0a:

        test_1        |                                     (tab_170144.col1_7) = (tab_170145.col1_7) AND (tab_170144.col1_10) = (tab_170145.col1_10) ON
        test_1        |                                 (tab_170143.col1_10) = (tab_170145.col1_10) AND (tab_170143.col1_6) = (tab_170144.col1_6)
        test_1        |                         JOIN postgres.public.table1@table1_col1_5_col1_3_col1_1_expr_col1_11_col1_10_col1_0_idx AS tab_170146
        test_1        |                             JOIN postgres.public.table1@[0] AS tab_170147
        test_1        |                                 CROSS JOIN postgres.public.table1@table1_col1_5_col1_3_col1_1_expr_col1_11_col1_10_col1_0_idx
        test_1        |                                         AS tab_170148 ON (tab_170146.col1_3) = (tab_170148.col1_3)
        test_1        |                             JOIN postgres.public.table1@table1_col1_1_expr_col1_0_col1_8_col1_9_col1_2_col1_10_col1_5_col1_6_col1_12_col1_7_expr1_col1_4_key
        test_1        |                                     AS tab_170149 ON
        test_1        |                                     (tab_170147.col1_2) = (tab_170149.col1_2)
        test_1        |                                     AND (tab_170148.col1_7) = (tab_170149.col1_7)
        test_1        |                                     AND (tab_170147.col1_7) = (tab_170149.col1_7)
        test_1        |                                     AND (tab_170148.col1_9) = (tab_170149.col1_9)
        test_1        |                                     AND (tab_170148.tableoid) = (tab_170149.tableoid)
        test_1        |                                     AND (tab_170146.crdb_internal_mvcc_timestamp) = (tab_170149.crdb_internal_mvcc_timestamp)
        test_1        |                             JOIN postgres.public.table1@[0] AS tab_170150
        test_1        |                                 JOIN postgres.public.table1@table1_col1_5_col1_3_col1_1_expr_col1_11_col1_10_col1_0_idx
        test_1        |                                         AS tab_170151 ON
        test_1        |                                         (tab_170150.col1_10) = (tab_170151.col1_10) AND (tab_170150.col1_3) = (tab_170151.col1_3) ON
        test_1        |                                     (tab_170146.crdb_internal_mvcc_timestamp) = (tab_170151.crdb_internal_mvcc_timestamp)
        test_1        |                                     AND (tab_170146.col1_6) = (tab_170150.col1_6) ON
        test_1        |                                 (tab_170143.col1_9) = (tab_170147.col1_9)
        test_1        |                                 AND (tab_170145.col1_6) = (tab_170146.col1_6)
        test_1        |                                 AND (tab_170144.col1_6) = (tab_170148.col1_6)
        test_1        |                 )
        test_1        |                     AS tab_170152
        test_1        |             ORDER BY
        test_1        |                 col_295830 NULLS FIRST,
        test_1        |                 col_295831 NULLS FIRST,
        test_1        |                 col_295832 NULLS FIRST,
        test_1        |                 col_295833 NULLS FIRST,
        test_1        |                 col_295834 NULLS FIRST,
        test_1        |                 col_295835 NULLS FIRST,
        test_1        |                 col_295836 NULLS FIRST,
        test_1        |                 col_295837 NULLS FIRST,
        test_1        |                 col_295838 NULLS FIRST,
        test_1        |                 col_295839 NULLS FIRST,
        test_1        |                 col_295840 NULLS FIRST,
        test_1        |                 col_295841 NULLS FIRST
        test_1        |         compare_test.go:193: cockroach2: ping: conn closed
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_cockroach1_1 ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach1_1 ... done
        Stopping compare_cockroach2_1 ... done
        Aborting on container exit...

    compose_test.go:49: exit status 1
Reproduce

To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```

Same failure on other branches

- #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1] - #67844 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1] - #67791 compose: TestComposeCompare failed [C-test-failure O-robot branch-master]

Internal log

``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-21.2 @ 4d3e4b459288c1a93837d9f0b7860c4553a1c481:

        test_1        | --- FAIL: TestCompare (3.58s)
        test_1        |     compare_test.go:116: Checking connection to: cockroach1
        test_1        |     compare_test.go:116: Checking connection to: cockroach2
        test_1        |     compare_test.go:116: Checking connection to: postgres
        test_1        |     --- FAIL: TestCompare/postgres (0.00s)
        test_1        |         compare_test.go:125: starting test: postgres
        test_1        | panic: geos: no locations to init GEOS [recovered]
        test_1        |     panic: geos: no locations to init GEOS
        test_1        | 
        test_1        | goroutine 66 [running]:
        test_1        | testing.tRunner.func1.2(0x1fdd340, 0xc000db6a60)
        test_1        |     /usr/local/go/src/testing/testing.go:1143 +0x332
        test_1        | testing.tRunner.func1(0xc000303c80)
        test_1        |     /usr/local/go/src/testing/testing.go:1146 +0x4b6
        test_1        | panic(0x1fdd340, 0xc000db6a60)
        test_1        |     /usr/local/go/src/runtime/panic.go:965 +0x1b9
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.encodeInvertedIndexHistogramUpperBounds(0x40d7fc0, 0x3210c98, 0xc000dee1e0, 0x3210c98, 0xc000dee1e0, 0x0)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:368 +0x5d3
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.randHistogram(0xc000da5a40, 0x40d7fc0, 0x0, 0x0, 0x0, 0x0, 0x0)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:301 +0x17f
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.statisticsMutator.func1(0xc000682600)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:220 +0x9e
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.statisticsMutator(0xc000da5a40, 0xc000dccdc0, 0x5, 0x5, 0x0, 0x0, 0x0, 0x0)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:251 +0xbeb
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.MultiStatementMutation.Mutate(0x26dc010, 0xc000da5a40, 0xc000dccdc0, 0x5, 0x5, 0x0, 0xc000206a00, 0xe0, 0x0)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:97 +0x4e
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.RandCreateTables(0xc000da5a40, 0x21710a7, 0x5, 0x5, 0xc000af7a30, 0x3, 0x3, 0xe0, 0x4436d7, 0x8)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/sql/randgen/schema.go:89 +0x163
        test_1        | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.randTablesN(0xc000da5a40, 0x5, 0x4, 0x0)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/setup.go:91 +0x19e
        test_1        | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.randTables(0xc000da5a40, 0x4394f8, 0x30)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/setup.go:77 +0x4f
        test_1        | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.wrapCommonSetup.func1(0xc000da5a40, 0x87faa563bc7e164a, 0x11)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/setup.go:43 +0x44
        test_1        | github.com/cockroachdb/cockroach/pkg/compose/compare/compare.TestCompare.func2(0xc000303c80)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/compose/compare/compare/compare_test.go:127 +0x113
        test_1        | testing.tRunner(0xc000303c80, 0xc000da59e0)
        test_1        |     /usr/local/go/src/testing/testing.go:1193 +0xef
        test_1        | created by testing.(*T).Run
        test_1        |     /usr/local/go/src/testing/testing.go:1238 +0x2b3
        compare_test_1 exited with code 2
        Stopping compare_postgres_1   ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach1_1 ... done
        Stopping compare_cockroach2_1 ... done
        Aborting on container exit...

    compose_test.go:49: exit status 2
Reproduce

To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```

Same failure on other branches

- #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1] - #67844 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1] - #67791 compose: TestComposeCompare failed [C-test-failure O-robot branch-master]

Internal log

``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-21.2 @ 35763de0609338192101c7644f69c047c9efdc8b:

        test_1        |                 col_318734 NULLS FIRST,
        test_1        |                 col_318735 NULLS FIRST
        test_1        |         compare_test.go:193: cockroach2: ping: conn closed
        test_1        |     --- FAIL: TestCompare/postgres (230.10s)
        test_1        |         compare_test.go:125: starting test: postgres
        test_1        |         compare_test.go:132: initializing connection: cockroach1
        test_1        |         compare_test.go:132: initializing connection: postgres
        test_1        |         compare_test.go:183: compare cockroach1 to postgres:
        test_1        |             unexpected diff:
        test_1        |               []interface{}(Inverse(func1, []interface{}{
        test_1        |             -   string("2000-01-01 04:59:53+00:00trueH3"),
        test_1        |             +   string("2000-01-01 04:59:53+00trueH3"),
        test_1        |               }))
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (
        test_1        |                     SELECT
        test_1        |                         ((('2000-01-01 05:00:00+00:00':::TIMESTAMPTZ::TIMESTAMPTZ::TIMESTAMPTZ - '00:00:07':::INTERVAL::INTERVAL::INTERVAL)::TIMESTAMPTZ::TIMESTAMPTZ || (true::BOOL::BOOL || 'H':::STRING::STRING::STRING)::STRING::STRING)::STRING::STRING || 3:::INT8::INT8::INT8)::STRING
        test_1        |                             AS col_254524
        test_1        |                 )
        test_1        |                     AS tab_131590
        test_1        |             ORDER BY
        test_1        |                 col_254524 NULLS FIRST;
        test_1        |             
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (
        test_1        |                     SELECT
        test_1        |                         ((('2000-01-01 05:00:00+00:00'::TIMESTAMPTZ::TIMESTAMPTZ::TIMESTAMPTZ - '00:00:07'::INTERVAL::INTERVAL::INTERVAL)::TIMESTAMPTZ::TIMESTAMPTZ || (true::BOOL::BOOL || 'H'::TEXT::TEXT::TEXT)::TEXT::TEXT)::TEXT::TEXT || 3::INT8::INT8::INT8)::TEXT
        test_1        |                             AS col_254524
        test_1        |                 )
        test_1        |                     AS tab_131590
        test_1        |             ORDER BY
        test_1        |                 col_254524 NULLS FIRST;
        test_1        |             
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_postgres_1   ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach1_1 ... done
        Stopping compare_cockroach2_1 ... done
        Aborting on container exit...

    compose_test.go:49: exit status 1
Reproduce

To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```

Same failure on other branches

- #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1] - #67844 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1] - #67791 compose: TestComposeCompare failed [C-test-failure O-robot branch-master]

Internal log

``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-21.2 @ f4fd59171d3b0544933a89448099efadbae0efae:

        test_1        | github.com/google/go-cmp/cmp.(*state).compareAny(0xc000a8c000, 0x3135830, 0xc000aa0100)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/vendor/github.com/google/go-cmp/cmp/compare.go:288 +0x945
        test_1        | github.com/google/go-cmp/cmp.(*state).compareStruct(0xc000a8c000, 0x3217a98, 0x206b620, 0x206b620, 0xc000ccd180, 0x99, 0x206b620, 0xc000ccd1c0, 0x99)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/vendor/github.com/google/go-cmp/cmp/compare.go:427 +0x685
        test_1        | github.com/google/go-cmp/cmp.(*state).compareAny(0xc000a8c000, 0x3135890, 0xc000ccd340)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/vendor/github.com/google/go-cmp/cmp/compare.go:286 +0xe38
        test_1        | github.com/google/go-cmp/cmp.(*state).compareInterface(0xc000a8c000, 0x3217a98, 0x1ed1a20, 0x1ed1a20, 0xc0003b37a0, 0x194, 0x1ed1a20, 0xc0003b3890, 0x194)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/vendor/github.com/google/go-cmp/cmp/compare.go:592 +0x2c5
        test_1        | github.com/google/go-cmp/cmp.(*state).compareAny(0xc000a8c000, 0x3135800, 0xc000e3af60)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/vendor/github.com/google/go-cmp/cmp/compare.go:294 +0xbc8
        test_1        | github.com/google/go-cmp/cmp.(*state).statelessCompare(0xc000a8c000, 0x3135800, 0xc000e3af60, 0x1e80b80, 0x1)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/vendor/github.com/google/go-cmp/cmp/compare.go:229 +0x97
        test_1        | github.com/google/go-cmp/cmp.(*state).compareSlice.func2(0x0, 0x0, 0x0, 0x443b340)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/vendor/github.com/google/go-cmp/cmp/compare.go:493 +0x85
        test_1        | github.com/google/go-cmp/cmp/internal/diff.Difference(0x1, 0x1, 0xc001194e10, 0x1, 0x1, 0xc0006aea50)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/vendor/github.com/google/go-cmp/cmp/internal/diff/diff.go:283 +0x5f0
        test_1        | github.com/google/go-cmp/cmp.(*state).compareSlice(0xc000a8c000, 0x3217a98, 0x1e60500, 0x1e60500, 0xc0003b4918, 0x97, 0x1e60500, 0xc0003b5518, 0x97)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/vendor/github.com/google/go-cmp/cmp/compare.go:492 +0x734
        test_1        | github.com/google/go-cmp/cmp.(*state).compareAny(0xc000a8c000, 0x3135860, 0xc001205bd0)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/vendor/github.com/google/go-cmp/cmp/compare.go:288 +0x945
        test_1        | github.com/google/go-cmp/cmp.(*transformer).apply(0xc0006e5640, 0xc000a8c000, 0x1e60500, 0xc000cbed38, 0x97, 0x1e60500, 0xc000cbed50, 0x97)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/vendor/github.com/google/go-cmp/cmp/options.go:323 +0x21e
        test_1        | github.com/google/go-cmp/cmp.(*state).tryOptions(0xc000a8c000, 0x3217a98, 0x1e60500, 0x1e60500, 0xc000cbed38, 0x97, 0x1e60500, 0xc000cbed50, 0x97, 0x7f6dec56e080)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/vendor/github.com/google/go-cmp/cmp/compare.go:303 +0x132
        test_1        | github.com/google/go-cmp/cmp.(*state).compareAny(0xc000a8c000, 0x3132ce0, 0xc000ccd240)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/vendor/github.com/google/go-cmp/cmp/compare.go:258 +0x2f2
        test_1        | github.com/google/go-cmp/cmp.Diff(0x1e60500, 0xc000cbed38, 0x1e60500, 0xc000cbed50, 0x4402a20, 0x7, 0x7, 0x16026b8b67eb2532, 0x3133040)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/vendor/github.com/google/go-cmp/cmp/compare.go:119 +0xab
        test_1        | github.com/cockroachdb/cockroach/pkg/cmd/cmpconn.CompareVals(0xc0003b3710, 0x1, 0x1, 0xc0003b3740, 0x1, 0x1, 0x1, 0x40)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/cmd/cmpconn/compare.go:39 +0xed
        test_1        | github.com/cockroachdb/cockroach/pkg/cmd/cmpconn.compareRows(0xc001195880, 0xc001195801, 0x217658a, 0x8, 0xc001195ab8)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/cmd/cmpconn/conn.go:251 +0x225
        test_1        | github.com/cockroachdb/cockroach/pkg/cmd/cmpconn.CompareConns(0x313b610, 0xc000d9dc20, 0x6fc23ac00, 0xc001195da0, 0x0, 0x0, 0xc0003d98c0, 0x18d, 0x1, 0x0, ...)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/cmd/cmpconn/conn.go:213 +0x571
        test_1        | github.com/cockroachdb/cockroach/pkg/compose/compare/compare.TestCompare.func2(0xc00046c300)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/compose/compare/compare/compare_test.go:176 +0xabe
        test_1        | testing.tRunner(0xc00046c300, 0xc000c39440)
        test_1        |     /usr/local/go/src/testing/testing.go:1193 +0xef
        test_1        | created by testing.(*T).Run
        test_1        |     /usr/local/go/src/testing/testing.go:1238 +0x2b3
        compare_test_1 exited with code 2
        Stopping compare_cockroach2_1 ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...

    compose_test.go:49: exit status 2
Reproduce

To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```

Same failure on other branches

- #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1] - #67844 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1] - #67791 compose: TestComposeCompare failed [C-test-failure O-robot branch-master]

Internal log

``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-21.2 @ 11b1a69987f9737844560116787d1e7a125ae935:

        test_1        |                     AS tab_14951
        test_1        |             ORDER BY
        test_1        |                 col_28289 NULLS FIRST, col_28290 NULLS FIRST;
        test_1        |             
        test_1        |     --- FAIL: TestCompare/mutators (71.54s)
        test_1        |         compare_test.go:125: starting test: mutators
        test_1        |         compare_test.go:132: initializing connection: cockroach1
        test_1        |         compare_test.go:132: initializing connection: cockroach2
        test_1        |         compare_test.go:192: SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (
        test_1        |                     SELECT
        test_1        |                         tab_24632.col1_5 AS col_37906, tab_24632.col1_3 AS col_37907, 1.0034600802893279:::FLOAT8 AS col_37908
        test_1        |                     FROM
        test_1        |                         postgres.public.table1 AS tab_24626
        test_1        |                         JOIN postgres.public.table1 AS tab_24627 ON (tab_24626.col1_1) = (tab_24627.col1_1)
        test_1        |                         JOIN postgres.public.table1 AS tab_24628
        test_1        |                             JOIN postgres.public.table1 AS tab_24629 ON (tab_24628.col1_1) = (tab_24629.col1_1)
        test_1        |                             JOIN postgres.public.table1 AS tab_24630
        test_1        |                                 JOIN postgres.public.table1 AS tab_24631 ON (tab_24630.col1_1) = (tab_24631.col1_1) ON
        test_1        |                                     (tab_24629.col1_1) = (tab_24630.col1_1)
        test_1        |                                     AND (tab_24628.col1_1) = (tab_24630.col1_1)
        test_1        |                                     AND (tab_24629.col1_1) = (tab_24631.col1_1) ON (tab_24626.col1_1) = (tab_24631.col1_1)
        test_1        |                         JOIN postgres.public.table1@table1_col1_2_col1_0_key AS tab_24632
        test_1        |                             JOIN postgres.public.table1@table1_col1_2_col1_4_key AS tab_24633 ON
        test_1        |                                     (tab_24632.tableoid) = (tab_24633.tableoid)
        test_1        |                                     AND (tab_24632.tableoid) = (tab_24633.col1_1)
        test_1        |                                     AND (tab_24632.col1_0) = (tab_24633.col1_0) ON
        test_1        |                                 (tab_24626.col1_1) = (tab_24633.col1_1) AND (tab_24628.col1_1) = (tab_24633.tableoid)
        test_1        |                     WHERE
        test_1        |                         true
        test_1        |                     ORDER BY
        test_1        |                         tab_24632.crdb_internal_mvcc_timestamp
        test_1        |                 )
        test_1        |                     AS tab_24634
        test_1        |             ORDER BY
        test_1        |                 col_37906 NULLS FIRST, col_37907 NULLS FIRST, col_37908 NULLS FIRST
        test_1        |         compare_test.go:193: cockroach1: ping: conn closed
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_cockroach2_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...

    compose_test.go:49: exit status 1
Reproduce

To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```

Same failure on other branches

- #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1] - #67844 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1] - #67791 compose: TestComposeCompare failed [C-test-failure O-robot branch-master]

Internal log

``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-21.2 @ 39511c6a4d0bbb580b7ff6f5c0e1e77664474efb:

        test_1        |             FROM
        test_1        |                 (
        test_1        |                     SELECT
        test_1        |                         NULL::OID AS col_117500
        test_1        |                     FROM
        test_1        |                         postgres.public.table1@[0] AS tab_60776
        test_1        |                         JOIN postgres.public.table1@table1_col1_6_col1_13_col1_8_col1_4_col1_11_col1_0_col1_2_expr_col1_1_col1_9_col1_3_col1_17_col1_7_col1_12_idx
        test_1        |                                 AS tab_60779
        test_1        |                             JOIN postgres.public.table1@table1_col1_0_col1_13_col1_5_col1_9_col1_6_col1_17_col1_11_col1_3_idx
        test_1        |                                     AS tab_60780 ON (tab_60779.col1_14) = (tab_60780.col1_14)
        test_1        |                             JOIN postgres.public.table1@[0] AS tab_60781 ON
        test_1        |                                     (tab_60780.col1_13) = (tab_60781.col1_14) AND (tab_60780.col1_17) = (tab_60781.col1_13)
        test_1        |                             JOIN postgres.public.table1@[0] AS tab_60782
        test_1        |                                 JOIN postgres.public.table1@primary AS tab_60783
        test_1        |                                     JOIN postgres.public.table1@[0] AS tab_60784
        test_1        |                                         JOIN postgres.public.table1@table1_col1_8_col1_13_col1_7_col1_17_col1_0_col1_11_col1_10_col1_16_col1_2_col1_12_col1_6_col1_5_col1_9_col1_1_idx
        test_1        |                                                 AS tab_60787
        test_1        |                                             JOIN postgres.public.table1@[0] AS tab_60788 ON
        test_1        |                                                     (tab_60787.col1_17) = (tab_60788.col1_13) ON
        test_1        |                                                 (tab_60784.col1_3) = (tab_60788.col1_2)
        test_1        |                                                 AND (tab_60784.col1_13) = (tab_60787.col1_13)
        test_1        |                                                 AND (tab_60784.col1_13) = (tab_60787.col1_17)
        test_1        |                                                 AND (tab_60784.col1_2) = (tab_60788.col1_3)
        test_1        |                                                 AND (tab_60784.col1_9) = (tab_60788.col1_9)
        test_1        |                                                 AND (tab_60784.col1_8) = (tab_60788.col1_8) ON
        test_1        |                                             (tab_60783.col1_14) = (tab_60787.col1_17) ON
        test_1        |                                         (tab_60782.col1_14) = (tab_60788.col1_13) ON (tab_60779.tableoid) = (tab_60782.tableoid) ON
        test_1        |                                 (tab_60776.col1_8) = (tab_60787.col1_8)
        test_1        |                         JOIN postgres.public.table1@table1_expr_col1_13_col1_15_col1_0_key AS tab_60789 ON
        test_1        |                                 (tab_60784.col1_13) = (tab_60789.col1_13)
        test_1        |                                 AND (tab_60782.col1_13) = (tab_60789.col1_14)
        test_1        |                                 AND (tab_60782.col1_13) = (tab_60789.col1_17)
        test_1        |                     WHERE
        test_1        |                         true::BOOL
        test_1        |                 )
        test_1        |                     AS tab_60790
        test_1        |             ORDER BY
        test_1        |                 col_117500 NULLS FIRST
        test_1        |         compare_test.go:193: cockroach1: ping: conn closed
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_postgres_1   ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...

    compose_test.go:49: exit status 1
Reproduce

To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```

Same failure on other branches

- #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1] - #67844 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1] - #67791 compose: TestComposeCompare failed [C-test-failure O-robot branch-master]

Internal log

``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-21.2 @ 3166a41671426408dd500b21995de87c8234fb77:

        postgres_1    |     CREATE UNIQUE INDEX ON table5 (col5_3 ASC, col5_4 ASC, col5_6, col5_7 DESC, col5_8 DESC);
        postgres_1    |     CREATE TYPE rand_typ_0 AS ENUM ('pxey');
        postgres_1    |     CREATE TYPE rand_typ_1 AS ENUM ('xiaplb', 'mbswqb', 'oce', 'bd', 'pl');
        postgres_1    |     CREATE TYPE rand_typ_2 AS ENUM ('ueln', 'yie', 'b');
        postgres_1    |     CREATE TYPE rand_typ_3 AS ENUM ('b', 'bkujl');
        postgres_1    |     
        test_1        | --- FAIL: TestCompare (608.89s)
        test_1        |     compare_test.go:116: Checking connection to: cockroach1
        test_1        |     compare_test.go:116: Checking connection to: cockroach2
        test_1        |     compare_test.go:116: Checking connection to: postgres
        test_1        |     --- FAIL: TestCompare/postgres (4.98s)
        test_1        |         compare_test.go:125: starting test: postgres
        test_1        |         compare_test.go:132: initializing connection: cockroach1
        test_1        |         compare_test.go:132: initializing connection: postgres
        test_1        |         compare_test.go:153: CREATE TABLE table1 (col1_0 TIMESTAMP, col1_1 GEOGRAPHY, col1_2 INT8 NULL, col1_3 DATE, col1_4 VARCHAR NOT NULL, col1_5 BOX2D NOT NULL, col1_6 UUID NULL, col1_7 NAME NULL, col1_8 GEOMETRY NOT NULL, col1_9 "char"[] NOT NULL, col1_10 DECIMAL, col1_11 DECIMAL NULL, col1_12 TEXT NOT NULL GENERATED ALWAYS AS (lower(CAST(col1_5 AS TEXT))) STORED, col1_13 DECIMAL GENERATED ALWAYS AS (col1_10 + col1_11) STORED, col1_14 DECIMAL NULL GENERATED ALWAYS AS (col1_11 + col1_10) STORED, col1_15 DECIMAL GENERATED ALWAYS AS (col1_10 + col1_11) STORED);
        test_1        |             CREATE UNIQUE INDEX ON table1 (col1_11 DESC, (col1_10 + col1_11) ASC, col1_2, col1_4);
        test_1        |             CREATE UNIQUE INDEX ON table1 (col1_3, col1_4 DESC);
        test_1        |             CREATE TABLE table2 (col2_0 REGTYPE NOT NULL, col2_1 "char" NOT NULL, col2_2 DATE, col2_3 INT8, col2_4 TIME NULL, col2_5 TIMETZ NULL, col2_6 DATE, PRIMARY KEY (col2_1), col2_7 INT8 GENERATED ALWAYS AS (col2_3 + (-3674377594978543772)::INT8) STORED, col2_8 TEXT GENERATED ALWAYS AS (CASE WHEN col2_2 IS NULL THEN e'\x1b)q'::TEXT ELSE e'O\x18['::TEXT END) STORED, col2_9 TEXT GENERATED ALWAYS AS (CASE WHEN col2_6 IS NULL THEN '>F$5-'::TEXT ELSE ''::TEXT END) STORED);
        test_1        |             CREATE UNIQUE INDEX ON table2 (col2_9 DESC, col2_4 ASC, col2_0 DESC, col2_5 ASC, col2_2 DESC) INCLUDE (col2_3, col2_6, col2_7);
        test_1        |             CREATE UNIQUE INDEX ON table2 (col2_0 DESC, col2_7 ASC, col2_4, col2_2 DESC, col2_5, (CASE WHEN col2_2 IS NULL THEN e'\x00'::TEXT ELSE e'p*)\\z\x7f7V'::TEXT END) ASC, col2_6, col2_8 ASC, col2_1 ASC);
        test_1        |             CREATE UNIQUE INDEX ON table2 (col2_1, (CASE WHEN col2_6 IS NULL THEN e'4A\x1cN\t@'::TEXT ELSE e'\''::TEXT END) DESC, col2_4, col2_8 DESC, col2_3 DESC, col2_5 ASC, col2_0 ASC, col2_9, col2_6) INCLUDE (col2_2);
        test_1        |             CREATE UNIQUE INDEX ON table2 (col2_9 ASC, col2_7, (CASE WHEN col2_6 IS NULL THEN e'6\x1bR\x13?HlSt'::TEXT ELSE '%'::TEXT END), col2_0 DESC, col2_8);
        test_1        |             CREATE UNIQUE INDEX ON table2 (col2_2 ASC, col2_4, col2_3, col2_1, col2_9, (CASE WHEN col2_2 IS NULL THEN e'\U00002603'::TEXT ELSE e'\x1312F|\x05'::TEXT END) DESC, col2_5, col2_0 ASC, col2_7);
        test_1        |             CREATE UNIQUE INDEX ON table2 (col2_2, col2_3 DESC, col2_8 DESC);
        test_1        |             CREATE INDEX ON table2 (col2_2 DESC, col2_9 DESC, col2_0 ASC, (col2_3 + 849845263353392483::INT8), col2_3 ASC, col2_1, col2_8 DESC) INCLUDE (col2_4, col2_5, col2_7);
        test_1        |             CREATE INDEX ON table2 (col2_1 ASC, col2_4 DESC, col2_8 ASC, col2_7, col2_9 ASC, col2_2 ASC);
        test_1        |             CREATE TABLE table3 (col3_0 GEOMETRY NOT NULL, col3_1 REGNAMESPACE NOT NULL, col3_2 TIMESTAMP NOT NULL, col3_3 DECIMAL, col3_4 FLOAT4 NOT NULL, col3_5 INTERVAL[] NULL, col3_6 REGCLASS NOT NULL, col3_7 UUID NOT NULL, col3_8 DATE NULL, col3_9 INT4 NOT NULL, col3_10 INT2 NOT NULL, col3_11 INT2, col3_12 INTERVAL, col3_13 OID NULL, col3_14 REGPROC, col3_15 BOOL NOT NULL, col3_16 OID NOT NULL, col3_17 REGPROCEDURE NULL, col3_18 INT8 NOT NULL, PRIMARY KEY (col3_15, col3_4, col3_9, col3_7, col3_2, col3_6, col3_1, col3_10, col3_16, col3_18));
        test_1        |             CREATE TABLE table4 (col4_0 NAME NULL, col4_1 GEOGRAPHY NOT NULL, col4_2 REGPROCEDURE, col4_3 "char"[] NULL, col4_4 BIT(36), col4_5 TEXT NOT NULL, col4_6 REGNAMESPACE, col4_7 TEXT NOT NULL, col4_8 REGNAMESPACE NULL, col4_9 TIMESTAMPTZ NULL, col4_10 BIT(47) NULL, col4_11 REGCLASS NOT NULL, col4_12 FLOAT4, col4_13 TEXT NULL GENERATED ALWAYS AS (CASE WHEN col4_3 IS NULL THEN ''::TEXT ELSE e'P#\r_\x05'::TEXT END) STORED, col4_14 TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN col4_11 IS NULL THEN e'$t&\x0b'::TEXT ELSE e'd\x19'::TEXT END) STORED, col4_15 TEXT NULL GENERATED ALWAYS AS (CASE WHEN col4_8 IS NULL THEN e';\x1d$%u;~R\x04'::TEXT ELSE e'V\x19Vv'::TEXT END) STORED, col4_16 TEXT NULL GENERATED ALWAYS AS (CASE WHEN col4_8 IS NULL THEN e'\x16F\x183\x107>+K'::TEXT ELSE '0'::TEXT END) STORED);
        test_1        |             CREATE UNIQUE INDEX ON table4 (col4_11 ASC, col4_0 ASC, col4_6 DESC);
        test_1        |             CREATE TABLE table5 (col5_0 JSONB, col5_1 TEXT NOT NULL, col5_2 GEOMETRY NULL, col5_3 TIMESTAMPTZ, col5_4 BYTEA NOT NULL, col5_5 TEXT NOT NULL, col5_6 TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN col5_4 IS NULL THEN e'N.\x04\x04\x1b'::TEXT ELSE e'tJ~\x19'::TEXT END) STORED, col5_7 TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN col5_4 IS NULL THEN ''::TEXT ELSE e'n/\bt~\\'::TEXT END) STORED, col5_8 TEXT NOT NULL GENERATED ALWAYS AS (lower(col5_5)) STORED, col5_9 TEXT GENERATED ALWAYS AS (CASE WHEN col5_3 IS NULL THEN e'\bkGb\x1d\x02td'::TEXT ELSE e'\''::TEXT END) STORED);
        test_1        |             CREATE INDEX ON table5 (col5_3 DESC);
        test_1        |             CREATE UNIQUE INDEX ON table5 (col5_5 ASC);
        test_1        |             CREATE UNIQUE INDEX ON table5 (col5_3 ASC, col5_4 ASC, col5_6, col5_7 DESC, col5_8 DESC);
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('pxey');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('xiaplb', 'mbswqb', 'oce', 'bd', 'pl');
        test_1        |             CREATE TYPE rand_typ_2 AS ENUM ('ueln', 'yie', 'b');
        test_1        |             CREATE TYPE rand_typ_3 AS ENUM ('b', 'bkujl');
        test_1        |             
        test_1        |         compare_test.go:154: postgres: exec: ERROR: invalid byte sequence for encoding "UTF8": 0x00 (SQLSTATE 22021)
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_cockroach2_1 ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...

    compose_test.go:49: exit status 1
Reproduce

To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```

Same failure on other branches

- #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1] - #67844 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1] - #67791 compose: TestComposeCompare failed [C-test-failure O-robot branch-master]

Internal log

``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-21.2 @ 1cf13942185a1a6f300169bd26f34289653010b0:

        test_1        |                     SELECT
        test_1        |                         tab_336664.col1_4 AS col_622806,
        test_1        |                         'D':::STRING::NAME AS col_622807,
        test_1        |                         tab_336659.col2_2 AS col_622808,
        test_1        |                         tab_336664.col1_7 AS col_622809,
        test_1        |                         tab_336664.col1_14 AS col_622810,
        test_1        |                         'H':::STRING::NAME AS col_622811,
        test_1        |                         'E':::STRING::STRING AS col_622812,
        test_1        |                         NULL::TIMETZ AS col_622813
        test_1        |                     FROM
        test_1        |                         postgres.public.table1@[0] AS tab_336656,
        test_1        |                         postgres.public.table2@table2_col2_2_key AS tab_336657
        test_1        |                         CROSS JOIN postgres.public.table2@table2_col2_2_key AS tab_336658
        test_1        |                         JOIN postgres.public.table2@table2_expr_col2_1_idx AS tab_336659 ON
        test_1        |                                 (tab_336658.tableoid) = (tab_336659.col2_5) AND (tab_336658.col2_6) = (tab_336659.col2_6)
        test_1        |                         JOIN postgres.public.table2 AS tab_336660
        test_1        |                             JOIN postgres.public.table1 AS tab_336661 ON (tab_336660.col2_1) = (tab_336661.col1_13) ON
        test_1        |                                 (tab_336658.col2_6) = (tab_336661.col1_13)
        test_1        |                         JOIN postgres.public.table2@table2_col2_1_col2_3_col2_6_idx AS tab_336662
        test_1        |                             JOIN postgres.public.table2@table2_col2_5_col2_6_expr_col2_0_idx AS tab_336663 ON
        test_1        |                                     (tab_336662.col2_6) = (tab_336663.col2_6) AND (tab_336662.col2_5) = (tab_336663.tableoid) ON
        test_1        |                                 (tab_336659.col2_5) = (tab_336663.tableoid)
        test_1        |                                 AND (tab_336659.col2_5) = (tab_336663.col2_5)
        test_1        |                                 AND (tab_336658.tableoid) = (tab_336662.tableoid)
        test_1        |                         JOIN postgres.public.table1@[0] AS tab_336664 ON (tab_336663.col2_5) = (tab_336664.tableoid)
        test_1        |                     WHERE
        test_1        |                         true::BOOL
        test_1        |                 )
        test_1        |                     AS tab_336665
        test_1        |             ORDER BY
        test_1        |                 col_622806 NULLS FIRST,
        test_1        |                 col_622807 NULLS FIRST,
        test_1        |                 col_622808 NULLS FIRST,
        test_1        |                 col_622809 NULLS FIRST,
        test_1        |                 col_622810 NULLS FIRST,
        test_1        |                 col_622811 NULLS FIRST,
        test_1        |                 col_622812 NULLS FIRST,
        test_1        |                 col_622813 NULLS FIRST
        test_1        |         compare_test.go:193: cockroach1: ping: conn closed
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_postgres_1   ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach1_1 ... done
        Stopping compare_cockroach2_1 ... done
        Aborting on container exit...

    compose_test.go:49: exit status 1
Reproduce

To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```

Same failure on other branches

- #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1] - #67844 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1] - #67791 compose: TestComposeCompare failed [C-test-failure O-robot branch-master]

Internal log

``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-21.2 @ fa21d1ae5a72dd8867d91b30da8b8cd410ad23da:

        test_1        |                     "000000000000000000000000000000000",
        test_1        |             -       "F",
        test_1        |                     "0",
        test_1        |             -       "3F0000000000001C400000000000002040000000000000000000000000000022",
        test_1        |             -       "400000000000001C400000000000002040000000000000304000000000000022",
        test_1        |             -       "400000000000001C4000000000000020400000000000003040000000000000F0",
        test_1        |             -       "3F0000000000001C4000000000000020400000000000000000000000000000F0",
        test_1        |             -       "3F0000000000001C400000000000002040",
        test_1        |             +       "F03F000000000000000000000000000022400000000000003040000000000000",
        test_1        |             +       "22400000000000003040000000000000F03F0000000000000000000000000000",
        test_1        |             +       "F03F",
        test_1        |                 }, ""),
        test_1        |               }))
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (
        test_1        |                     SELECT
        test_1        |                         st_expand(st_makepoint(8.0::FLOAT8::FLOAT8::FLOAT8, 5.0::FLOAT8::FLOAT8::FLOAT8, 7.0::FLOAT8::FLOAT8::FLOAT8, 8.0::FLOAT8::FLOAT8::FLOAT8)::GEOMETRY::GEOMETRY, 8.0::FLOAT8::FLOAT8::FLOAT8, 4.0::FLOAT8::FLOAT8::FLOAT8)::GEOMETRY
        test_1        |                             AS col_107324
        test_1        |                 )
        test_1        |                     AS tab_60762
        test_1        |             ORDER BY
        test_1        |                 col_107324 NULLS FIRST;
        test_1        |             
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (
        test_1        |                     SELECT
        test_1        |                         st_expand(st_makepoint(8.0:::FLOAT8::FLOAT8::FLOAT8, 5.0:::FLOAT8::FLOAT8::FLOAT8, 7.0:::FLOAT8::FLOAT8::FLOAT8, 8.0:::FLOAT8::FLOAT8::FLOAT8)::GEOMETRY::GEOMETRY, 8.0:::FLOAT8::FLOAT8::FLOAT8, 4.0:::FLOAT8::FLOAT8::FLOAT8)::GEOMETRY
        test_1        |                             AS col_107324
        test_1        |                 )
        test_1        |                     AS tab_60762
        test_1        |             ORDER BY
        test_1        |                 col_107324 NULLS FIRST;
        test_1        |             
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_cockroach2_1 ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...

    compose_test.go:49: exit status 1
Reproduce

To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```

Same failure on other branches

- #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1] - #67844 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1] - #67791 compose: TestComposeCompare failed [C-test-failure O-robot branch-master]

Internal log

``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-21.2 @ 2fa728ee3b7cef820405a686ca9ece70b0524779:

        test_1        |     --- FAIL: TestCompare/postgres (120.04s)
        test_1        |         compare_test.go:125: starting test: postgres
        test_1        |         compare_test.go:132: initializing connection: cockroach1
        test_1        |         compare_test.go:132: initializing connection: postgres
        test_1        |         compare_test.go:183: compare cockroach1 to postgres:
        test_1        |             unexpected diff:
        test_1        |               []interface{}(Inverse(func1, []interface{}{
        test_1        |                 nil,
        test_1        |             -   nil,
        test_1        |             +   string("BOX(45 -90,90 -45)"),
        test_1        |               }))
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (
        test_1        |                     SELECT
        test_1        |                         NULL::BOOL AS col_171600,
        test_1        |                         st_box2dfromgeohash(CASE WHEN (false::BOOL AND ('00000000-0000-0000-0000-000000000005':::UUID::UUID::UUID IN ('00000000-0000-0000-0000-000000000004':::UUID::UUID, '00000000-0000-0000-0000-000000000002':::UUID::UUID, '00000000-0000-0000-0000-000000000008':::UUID, '00000000-0000-0000-0000-000000000008':::UUID::UUID))) THEN encode('\x49':::BYTES::BYTES::BYTES, 'G':::STRING::STRING::STRING)::STRING ELSE 'J':::STRING::STRING END::STRING, NULL::INT4::INT4)::BOX2D
        test_1        |                             AS col_171601
        test_1        |                 )
        test_1        |                     AS tab_87554
        test_1        |             ORDER BY
        test_1        |                 col_171600 NULLS FIRST, CAST(col_171601 AS STRING) NULLS FIRST;
        test_1        |             
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (
        test_1        |                     SELECT
        test_1        |                         NULL::BOOL AS col_171600,
        test_1        |                         st_box2dfromgeohash(CASE WHEN (false::BOOL AND ('00000000-0000-0000-0000-000000000005'::UUID::UUID::UUID IN ('00000000-0000-0000-0000-000000000004'::UUID::UUID, '00000000-0000-0000-0000-000000000002'::UUID::UUID, '00000000-0000-0000-0000-000000000008'::UUID, '00000000-0000-0000-0000-000000000008'::UUID::UUID))) THEN encode('\x49'::BYTEA::BYTEA::BYTEA, 'G'::TEXT::TEXT::TEXT)::TEXT ELSE 'J'::TEXT::TEXT END::TEXT, NULL::INT4::INT4)::BOX2D
        test_1        |                             AS col_171601
        test_1        |                 )
        test_1        |                     AS tab_87554
        test_1        |             ORDER BY
        test_1        |                 col_171600 NULLS FIRST, CAST(col_171601 AS TEXT) NULLS FIRST;
        test_1        |             
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_cockroach1_1 ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...

    compose_test.go:49: exit status 1
Reproduce

To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```

Same failure on other branches

- #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1] - #67844 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1] - #67791 compose: TestComposeCompare failed [C-test-failure O-robot branch-master]

Internal log

``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-21.2 @ 1f7a0d9f655fa731c57d86223f431ea2a4eec484:

        postgres_1    |         )
        postgres_1    |             AS tab_318291
        postgres_1    |     ORDER BY
        postgres_1    |         col_486386 NULLS FIRST,
        postgres_1    |         col_486387 NULLS FIRST,
        postgres_1    |         col_486388 NULLS FIRST,
        postgres_1    |         col_486389 NULLS FIRST,
        postgres_1    |         col_486390 NULLS FIRST,
        postgres_1    |         col_486391 NULLS FIRST
        test_1        | --- FAIL: TestCompare (989.26s)
        test_1        |     compare_test.go:116: Checking connection to: postgres
        test_1        |     compare_test.go:116: Checking connection to: cockroach1
        test_1        |     compare_test.go:116: Checking connection to: cockroach2
        test_1        |     --- FAIL: TestCompare/postgres (385.43s)
        test_1        |         compare_test.go:125: starting test: postgres
        test_1        |         compare_test.go:132: initializing connection: cockroach1
        test_1        |         compare_test.go:132: initializing connection: postgres
        test_1        |         compare_test.go:183: compare cockroach1 to postgres:
        test_1        |             unexpected diff:
        test_1        |               []interface{}(Inverse(func1, []interface{}{
        test_1        |             -   nil,
        test_1        |             +   string("BOX(-45 0,0 45)"),
        test_1        |               }))
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (SELECT st_box2dfromgeohash('E':::STRING::STRING::STRING, NULL::INT4::INT4)::BOX2D AS col_486486) AS tab_318349
        test_1        |             ORDER BY
        test_1        |                 CAST(col_486486 AS STRING) NULLS FIRST;
        test_1        |             
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (SELECT st_box2dfromgeohash('E'::TEXT::TEXT::TEXT, NULL::INT4::INT4)::BOX2D AS col_486486) AS tab_318349
        test_1        |             ORDER BY
        test_1        |                 CAST(col_486486 AS TEXT) NULLS FIRST;
        test_1        |             
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_postgres_1   ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...

    compose_test.go:49: exit status 1
Reproduce

To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```

Same failure on other branches

- #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1] - #67844 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1] - #67791 compose: TestComposeCompare failed [C-test-failure O-robot branch-master]

Internal log

``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-21.2 @ da2e71c4bc6be42922e4e87040fed5f4881f9023:

        test_1        |                         tab_12365.col1_2 AS col_21429,
        test_1        |                         tab_12363.col1_0 AS col_21430
        test_1        |                     FROM
        test_1        |                         postgres.public.table5@[0] AS tab_12356
        test_1        |                         JOIN postgres.public.table3 AS tab_12357
        test_1        |                             JOIN postgres.public.table3 AS tab_12358 ON
        test_1        |                                     (tab_12357.col3_5) = (tab_12358.col3_5)
        test_1        |                                     AND (tab_12357.col3_0) = (tab_12358.col3_0)
        test_1        |                                     AND (tab_12357.col3_7) = (tab_12358.col3_7)
        test_1        |                             JOIN postgres.public.table3@table3_col3_5_col3_7_col3_0_key AS tab_12359 ON
        test_1        |                                     (tab_12358.col3_7) = (tab_12359.col3_5) AND (tab_12358.col3_7) = (tab_12359.col3_7) ON
        test_1        |                                 (tab_12356.col5_0) = (tab_12359.col3_3)
        test_1        |                         JOIN postgres.public.table3@[0] AS tab_12360 ON (tab_12358.col3_7) = (tab_12360.col3_7)
        test_1        |                         JOIN postgres.public.table1@table1_col1_0_col1_2_idx AS tab_12361
        test_1        |                             LEFT JOIN postgres.public.table5@[0] AS tab_12362 ON
        test_1        |                                     st_dwithin('D':::STRING::STRING::STRING, 'A':::STRING::STRING::STRING, 6.0:::FLOAT8::FLOAT8::FLOAT8)::BOOL ON
        test_1        |                                 (tab_12360.col3_7) = (tab_12361.col1_2)
        test_1        |                                 AND (tab_12356.col5_0) = (tab_12362.col5_2)
        test_1        |                                 AND (tab_12359.col3_3) = (tab_12362.col5_0)
        test_1        |                         JOIN postgres.public.table1@table1_col1_2_col1_1_col1_0_key AS tab_12363
        test_1        |                             CROSS JOIN postgres.public.table3@[0] AS tab_12364
        test_1        |                                 JOIN postgres.public.table1@[0] AS tab_12365 ON (tab_12364.col3_7) = (tab_12365.col1_2) ON
        test_1        |                                 (tab_12359.col3_7) = (tab_12364.col3_5)
        test_1        |                                 AND (tab_12357.col3_7) = (tab_12363.col1_2)
        test_1        |                                 AND (tab_12361.col1_2) = (tab_12364.col3_7)
        test_1        |                                 AND (tab_12359.col3_7) = (tab_12363.col1_2)
        test_1        |                 )
        test_1        |                     AS tab_12366
        test_1        |             ORDER BY
        test_1        |                 CAST(col_21422 AS STRING) NULLS FIRST,
        test_1        |                 col_21423 NULLS FIRST,
        test_1        |                 col_21424 NULLS FIRST,
        test_1        |                 col_21425 NULLS FIRST,
        test_1        |                 col_21426 NULLS FIRST,
        test_1        |                 col_21427 NULLS FIRST,
        test_1        |                 col_21428 NULLS FIRST,
        test_1        |                 col_21429 NULLS FIRST,
        test_1        |                 col_21430 NULLS FIRST
        test_1        |         compare_test.go:193: cockroach1: ping: conn closed
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_cockroach2_1 ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...

    compose_test.go:49: exit status 1
Reproduce

To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```

Same failure on other branches

- #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1] - #67844 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1] - #67791 compose: TestComposeCompare failed [C-test-failure O-robot branch-master]

Internal log

``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-21.2 @ c3bc2da6e9937b5b23da28c0dbf722b23f06f2f0:

        test_1        |             CREATE TYPE rand_typ_3 AS ENUM ('ehif', 'nzdq');
        test_1        |             CREATE TYPE rand_typ_4 AS ENUM ('czc', 'swxhw', 'wqih', 'oi', 'dqbjtw', 'yivrs');
        test_1        |             
        test_1        |         compare_test.go:154: postgres: exec: ERROR: invalid byte sequence for encoding "UTF8": 0x00 (SQLSTATE 22021)
        test_1        |     --- FAIL: TestCompare/mutators (0.00s)
        test_1        |         compare_test.go:125: starting test: mutators
        test_1        | panic: geos: no locations to init GEOS [recovered]
        test_1        |     panic: geos: no locations to init GEOS
        test_1        | 
        test_1        | goroutine 70 [running]:
        test_1        | testing.tRunner.func1.2(0x1fddc00, 0xc000e8eda0)
        test_1        |     /usr/local/go/src/testing/testing.go:1143 +0x332
        test_1        | testing.tRunner.func1(0xc000e8d200)
        test_1        |     /usr/local/go/src/testing/testing.go:1146 +0x4b6
        test_1        | panic(0x1fddc00, 0xc000e8eda0)
        test_1        |     /usr/local/go/src/runtime/panic.go:965 +0x1b9
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.encodeInvertedIndexHistogramUpperBounds(0x40d8fc0, 0x3211858, 0xc000e95cb0, 0x3211858, 0xc000e95cb0, 0x0)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:368 +0x5d3
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.randHistogram(0xc000e94060, 0x40d8fc0, 0x0, 0x0, 0x0, 0x0, 0x0)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:301 +0x17f
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.statisticsMutator.func1(0xc000e62f00)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:220 +0x9e
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.statisticsMutator(0xc000e94060, 0xc000e9c180, 0x4, 0x4, 0x0, 0x0, 0x0, 0x0)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:251 +0xbeb
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.MultiStatementMutation.Mutate(0x26dc998, 0xc000e94060, 0xc000e9c180, 0x4, 0x4, 0x0, 0xc000cea780, 0xe0, 0x0)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:97 +0x4e
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.RandCreateTables(0xc000e94060, 0x2171987, 0x5, 0x4, 0xc000ec5a30, 0x3, 0x3, 0xe0, 0x4436d7, 0x8)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/sql/randgen/schema.go:89 +0x163
        test_1        | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.randTablesN(0xc000e94060, 0x4, 0x3, 0x0)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/setup.go:91 +0x19e
        test_1        | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.randTables(0xc000e94060, 0x4394f8, 0x30)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/setup.go:77 +0x4f
        test_1        | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.wrapCommonSetup.func1(0xc000e94060, 0x7c85802cb3b5617b, 0x11)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/setup.go:43 +0x44
        test_1        | github.com/cockroachdb/cockroach/pkg/compose/compare/compare.TestCompare.func2(0xc000e8d200)
        test_1        |     /go/src/github.com/cockroachdb/cockroach/pkg/compose/compare/compare/compare_test.go:127 +0x113
        test_1        | testing.tRunner(0xc000e8d200, 0xc000e94000)
        test_1        |     /usr/local/go/src/testing/testing.go:1193 +0xef
        test_1        | created by testing.(*T).Run
        test_1        |     /usr/local/go/src/testing/testing.go:1238 +0x2b3
        compare_test_1 exited with code 2
        Stopping compare_cockroach2_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...

    compose_test.go:49: exit status 2
Reproduce

To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```

Same failure on other branches

- #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1] - #67844 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1] - #67791 compose: TestComposeCompare failed [C-test-failure O-robot branch-master]

Internal log

``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-21.2 @ 4c94716dae27348c5e9092a621b45e76a5c8f4b0:

        test_1        |     --- FAIL: TestCompare/postgres (280.04s)
        test_1        |         compare_test.go:125: starting test: postgres
        test_1        |         compare_test.go:132: initializing connection: cockroach1
        test_1        |         compare_test.go:132: initializing connection: postgres
        test_1        |         compare_test.go:192: SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (
        test_1        |                     SELECT
        test_1        |                         tab_200087.col_210611 AS col_210614, 5:::OID::OID AS col_210615
        test_1        |                     FROM
        test_1        |                         postgres.public.table1@table1_col1_0_key AS tab_200076
        test_1        |                         JOIN postgres.public.table1@table1_col1_0_col1_1_key AS tab_200077
        test_1        |                             JOIN postgres.public.table1@[0] AS tab_200078 ON
        test_1        |                                     (tab_200077.col1_0) = (tab_200078.col1_0) AND (tab_200077.tableoid) = (tab_200078.tableoid)
        test_1        |                             JOIN postgres.public.table1 AS tab_200082
        test_1        |                                 JOIN postgres.public.table1 AS tab_200083 ON (tab_200082.col1_0) = (tab_200083.col1_0) ON
        test_1        |                                     (tab_200078.col1_0) = (tab_200083.col1_0)
        test_1        |                             JOIN postgres.public.table1@[0] AS tab_200084 ON
        test_1        |                                     (tab_200077.tableoid) = (tab_200084.tableoid) AND (tab_200078.col1_0) = (tab_200084.col1_0) ON
        test_1        |                                 (tab_200076.col1_0) = (tab_200082.col1_0)
        test_1        |                         JOIN (
        test_1        |                                 SELECT
        test_1        |                                     tab_200086.col1_1 AS col_210602,
        test_1        |                                     true::BOOL AS col_210603,
        test_1        |                                     tab_200086.col1_0 AS col_210604,
        test_1        |                                     3:::OID::OID AS col_210605,
        test_1        |                                     tab_200085.col1_1 AS col_210606,
        test_1        |                                     tab_200086.tableoid AS col_210607
        test_1        |                                 FROM
        test_1        |                                     postgres.public.table1@primary AS tab_200085, postgres.public.table1@[0] AS tab_200086
        test_1        |                             )
        test_1        |                                 AS tab_200087 (col_210608, col_210609, col_210610, col_210611, col_210612, col_210613) ON
        test_1        |                                 (tab_200076.col1_0) = (tab_200087.col_210610) AND (tab_200076.tableoid) = (tab_200087.col_210613)
        test_1        |                 )
        test_1        |                     AS tab_200088
        test_1        |             ORDER BY
        test_1        |                 col_210614 NULLS FIRST, col_210615 NULLS FIRST
        test_1        |         compare_test.go:193: cockroach1: ping: conn closed
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_postgres_1   ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...

    compose_test.go:49: exit status 1
Reproduce

To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```

Same failure on other branches

- #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1] - #67844 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1] - #67791 compose: TestComposeCompare failed [C-test-failure O-robot branch-master]

Internal log

``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-21.2 @ 31f167ca5bbe404abcb215f80524770ddc8c0163:

        test_1        |                     SELECT
        test_1        |                         tab_23901.col_34676 AS col_34677
        test_1        |                     FROM
        test_1        |                         (
        test_1        |                             VALUES
        test_1        |                                 ((NULL::INET::INET || NULL::INET[]::INET[])::INET[]),
        test_1        |                                 (NULL::INET[]),
        test_1        |                                 (
        test_1        |                                     ((NULL::INET[]::INET[] || netmask('::5/0':::INET::INET::INET)::INET::INET)::INET[]::INET[] || NULL::INET[]::INET[])::INET[]
        test_1        |                                 )
        test_1        |                         )
        test_1        |                             AS tab_23901 (col_34676)
        test_1        |                 )
        test_1        |                     AS tab_23902
        test_1        |             ORDER BY
        test_1        |                 col_34677 NULLS FIRST;
        test_1        |             
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (
        test_1        |                     SELECT
        test_1        |                         tab_23901.col_34676 AS col_34677
        test_1        |                     FROM
        test_1        |                         (
        test_1        |                             VALUES
        test_1        |                                 ((NULL::INET::INET || NULL::INET[]::INET[])::INET[]),
        test_1        |                                 (NULL::INET[]),
        test_1        |                                 (
        test_1        |                                     ((NULL::INET[]::INET[] || netmask('::5/0'::INET::INET::INET)::INET::INET)::INET[]::INET[] || NULL::INET[]::INET[])::INET[]
        test_1        |                                 )
        test_1        |                         )
        test_1        |                             AS tab_23901 (col_34676)
        test_1        |                 )
        test_1        |                     AS tab_23902
        test_1        |             ORDER BY
        test_1        |                 col_34677 NULLS FIRST;
        test_1        |             
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_postgres_1   ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...

    compose_test.go:49: exit status 1
Reproduce

To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```

Same failure on other branches

- #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1] - #67844 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1] - #67791 compose: TestComposeCompare failed [C-test-failure O-robot branch-master]

Internal log

``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-21.2 @ b4acf0d7aab35f5d3e1693c018a96756ef0bc7d6:

        postgres_1    |     CREATE UNIQUE INDEX ON table2 (col2_0 DESC) INCLUDE (col2_1, col2_2, col2_7);
        postgres_1    |     CREATE INDEX ON table2 (col2_2 DESC, col2_0 ASC, col2_9 DESC) INCLUDE (col2_6, col2_7, col2_10);
        postgres_1    |     CREATE INDEX ON table2 (col2_7, col2_6 DESC, lower(CAST(col2_3 AS TEXT)), col2_4 ASC, col2_5, col2_2, col2_9 DESC, col2_0, (col2_0 + col2_5)) INCLUDE (col2_10);
        postgres_1    |     CREATE TABLE table3 (col3_0 INTERVAL NOT NULL, col3_1 "char" NOT NULL, col3_2 BIT(12) NOT NULL, col3_3 REGNAMESPACE NULL, col3_4 UUID NULL, col3_5 VARCHAR NOT NULL, col3_6 REGTYPE NULL, PRIMARY KEY (col3_2), col3_7 TEXT NOT NULL GENERATED ALWAYS AS (lower(col3_5)) STORED, col3_8 TEXT NOT NULL GENERATED ALWAYS AS (lower(CAST(col3_2 AS TEXT))) STORED, col3_9 TEXT NULL GENERATED ALWAYS AS (CASE WHEN col3_6 IS NULL THEN ''::TEXT ELSE e'?\x03\x11Bb'::TEXT END) STORED, col3_10 TEXT NULL GENERATED ALWAYS AS (lower(CAST(col3_4 AS TEXT))) STORED, col3_11 TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN col3_0 IS NULL THEN e'\x04-``1)\x17'::TEXT ELSE e'\x13\b"G\x10'::TEXT END) STORED, col3_12 TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN col3_0 IS NULL THEN e'V!\x02Y\x1a'::TEXT ELSE ''::TEXT END) STORED);
        postgres_1    |     CREATE UNIQUE INDEX ON table3 (col3_3 DESC, col3_1 DESC, col3_2, col3_8 DESC, col3_4, col3_7 DESC, col3_5, col3_6 DESC, (true) ASC, (true));
        postgres_1    |     CREATE INDEX ON table3 (col3_9, col3_7 DESC, col3_11 ASC, col3_1 ASC, col3_3 DESC, col3_6, col3_0 ASC, col3_2 DESC, col3_5, col3_4 ASC, col3_8 ASC, col3_12 DESC);
        postgres_1    |     CREATE TABLE table4 (col4_0 BOX2D NOT NULL, col4_1 REGPROCEDURE NOT NULL, col4_2 INT2 NOT NULL, PRIMARY KEY (col4_2, col4_1), col4_3 TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN col4_1 IS NULL THEN e'$>b:\x04\x0b'::TEXT ELSE '0GQp]'::TEXT END) STORED);
        postgres_1    |     ALTER TABLE table3 ADD FOREIGN KEY (col3_0, col3_6, col3_1) REFERENCES table1 (col1_2, col1_7, col1_0);
        postgres_1    |     CREATE TYPE rand_typ_0 AS ENUM ('lt');
        postgres_1    |     
        test_1        | --- FAIL: TestCompare (608.35s)
        test_1        |     compare_test.go:116: Checking connection to: postgres
        test_1        |     compare_test.go:116: Checking connection to: cockroach1
        test_1        |     compare_test.go:116: Checking connection to: cockroach2
        test_1        |     --- FAIL: TestCompare/postgres (4.61s)
        test_1        |         compare_test.go:125: starting test: postgres
        test_1        |         compare_test.go:132: initializing connection: cockroach1
        test_1        |         compare_test.go:132: initializing connection: postgres
        test_1        |         compare_test.go:153: CREATE TABLE table1 (col1_0 CHAR NOT NULL, col1_1 TIMESTAMPTZ NULL, col1_2 INTERVAL NOT NULL, col1_3 TIMESTAMPTZ NOT NULL, col1_4 VARCHAR NOT NULL, col1_5 DATE NOT NULL, col1_6 VARCHAR NOT NULL, col1_7 REGCLASS NOT NULL, col1_8 BOX2D NOT NULL, PRIMARY KEY (col1_5, col1_0, col1_4, col1_6, col1_2, col1_3), col1_9 BOOL NOT NULL GENERATED ALWAYS AS (true) STORED, col1_10 TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN col1_5 IS NULL THEN '/<'::TEXT ELSE e'\x1ae$\x07b'::TEXT END) STORED, col1_11 BOOL NOT NULL GENERATED ALWAYS AS (true) STORED, col1_12 BOOL NOT NULL GENERATED ALWAYS AS (true) STORED);
        test_1        |             CREATE UNIQUE INDEX ON table1 (col1_6, col1_0 ASC, col1_12, (CASE WHEN col1_3 IS NULL THEN e'H]\x03\x03U'::TEXT ELSE e'c\x19m'::TEXT END) ASC) INCLUDE (col1_1, col1_9, col1_11);
        test_1        |             CREATE INDEX ON table1 (col1_5, col1_4 DESC, col1_3 ASC, col1_12 ASC, col1_9 ASC, col1_6 ASC);
        test_1        |             CREATE INDEX ON table1 (col1_0 ASC, col1_10 DESC, col1_9, col1_5 DESC, col1_11 DESC, col1_7, col1_1 DESC);
        test_1        |             CREATE UNIQUE INDEX ON table1 (col1_6 ASC);
        test_1        |             CREATE INDEX ON table1 (col1_9 ASC, col1_10 DESC, col1_0 ASC, col1_3 DESC) INCLUDE (col1_1, col1_11, col1_12);
        test_1        |             CREATE UNIQUE INDEX ON table1 (col1_11 ASC, col1_6, col1_2, col1_3, col1_1 ASC, col1_4, col1_0 DESC, lower(CAST(col1_8 AS TEXT)) DESC);
        test_1        |             CREATE INDEX ON table1 (col1_5 ASC, col1_0, col1_9 DESC, col1_7 ASC, col1_4 ASC, col1_11 ASC, col1_12 DESC, col1_3 ASC, col1_2);
        test_1        |             CREATE UNIQUE INDEX ON table1 (col1_2, col1_7, col1_0);
        test_1        |             CREATE TABLE table2 (col2_0 INT8, col2_1 BOX2D NULL, col2_2 OID NULL, col2_3 GEOGRAPHY NULL, col2_4 FLOAT8, col2_5 INT4, col2_6 NAME NOT NULL, col2_7 "char" NULL, col2_8 TEXT NULL GENERATED ALWAYS AS (lower(CAST(col2_3 AS TEXT))) STORED, col2_9 FLOAT8 GENERATED ALWAYS AS (col2_4 + 1.5468381153317976::FLOAT8) STORED, col2_10 INT8 GENERATED ALWAYS AS (col2_0 + (-128)::INT8) STORED);
        test_1        |             CREATE UNIQUE INDEX ON table2 (col2_0 DESC) INCLUDE (col2_1, col2_2, col2_7);
        test_1        |             CREATE INDEX ON table2 (col2_2 DESC, col2_0 ASC, col2_9 DESC) INCLUDE (col2_6, col2_7, col2_10);
        test_1        |             CREATE INDEX ON table2 (col2_7, col2_6 DESC, lower(CAST(col2_3 AS TEXT)), col2_4 ASC, col2_5, col2_2, col2_9 DESC, col2_0, (col2_0 + col2_5)) INCLUDE (col2_10);
        test_1        |             CREATE TABLE table3 (col3_0 INTERVAL NOT NULL, col3_1 "char" NOT NULL, col3_2 BIT(12) NOT NULL, col3_3 REGNAMESPACE NULL, col3_4 UUID NULL, col3_5 VARCHAR NOT NULL, col3_6 REGTYPE NULL, PRIMARY KEY (col3_2), col3_7 TEXT NOT NULL GENERATED ALWAYS AS (lower(col3_5)) STORED, col3_8 TEXT NOT NULL GENERATED ALWAYS AS (lower(CAST(col3_2 AS TEXT))) STORED, col3_9 TEXT NULL GENERATED ALWAYS AS (CASE WHEN col3_6 IS NULL THEN ''::TEXT ELSE e'?\x03\x11Bb'::TEXT END) STORED, col3_10 TEXT NULL GENERATED ALWAYS AS (lower(CAST(col3_4 AS TEXT))) STORED, col3_11 TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN col3_0 IS NULL THEN e'\x04-``1)\x17'::TEXT ELSE e'\x13\b"G\x10'::TEXT END) STORED, col3_12 TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN col3_0 IS NULL THEN e'V!\x02Y\x1a'::TEXT ELSE ''::TEXT END) STORED);
        test_1        |             CREATE UNIQUE INDEX ON table3 (col3_3 DESC, col3_1 DESC, col3_2, col3_8 DESC, col3_4, col3_7 DESC, col3_5, col3_6 DESC, (true) ASC, (true));
        test_1        |             CREATE INDEX ON table3 (col3_9, col3_7 DESC, col3_11 ASC, col3_1 ASC, col3_3 DESC, col3_6, col3_0 ASC, col3_2 DESC, col3_5, col3_4 ASC, col3_8 ASC, col3_12 DESC);
        test_1        |             CREATE TABLE table4 (col4_0 BOX2D NOT NULL, col4_1 REGPROCEDURE NOT NULL, col4_2 INT2 NOT NULL, PRIMARY KEY (col4_2, col4_1), col4_3 TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN col4_1 IS NULL THEN e'$>b:\x04\x0b'::TEXT ELSE '0GQp]'::TEXT END) STORED);
        test_1        |             ALTER TABLE table3 ADD FOREIGN KEY (col3_0, col3_6, col3_1) REFERENCES table1 (col1_2, col1_7, col1_0);
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('lt');
        test_1        |             
        test_1        |         compare_test.go:154: postgres: exec: ERROR: foreign key constraint "table3_col3_0_col3_6_col3_1_fkey" cannot be implemented (SQLSTATE 42804)
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...

    compose_test.go:49: exit status 1
Reproduce

To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```

Same failure on other branches

- #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1] - #67844 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1] - #67791 compose: TestComposeCompare failed [C-test-failure O-robot branch-master]

Internal log

``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-21.2 @ 965686c845970621b3e21620774d31a84f5926ff:

        postgres_1    |     ORDER BY
        postgres_1    |         col_466464 NULLS FIRST,
        postgres_1    |         col_466465 NULLS FIRST,
        postgres_1    |         col_466466 NULLS FIRST,
        postgres_1    |         col_466467 NULLS FIRST,
        postgres_1    |         col_466468 NULLS FIRST,
        postgres_1    |         col_466469 NULLS FIRST,
        postgres_1    |         col_466470 NULLS FIRST,
        postgres_1    |         col_466471 NULLS FIRST
        test_1        | --- FAIL: TestCompare (919.49s)
        test_1        |     compare_test.go:116: Checking connection to: postgres
        test_1        |     compare_test.go:116: Checking connection to: cockroach1
        test_1        |     compare_test.go:116: Checking connection to: cockroach2
        test_1        |     --- FAIL: TestCompare/postgres (315.64s)
        test_1        |         compare_test.go:125: starting test: postgres
        test_1        |         compare_test.go:132: initializing connection: cockroach1
        test_1        |         compare_test.go:132: initializing connection: postgres
        test_1        |         compare_test.go:183: compare cockroach1 to postgres:
        test_1        |             unexpected diff:
        test_1        |               []interface{}(Inverse(func1, []interface{}{
        test_1        |             -   nil,
        test_1        |             +   string("BOX(-45 0,0 45)"),
        test_1        |               }))
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (SELECT st_box2dfromgeohash('E':::STRING::STRING::STRING, NULL::INT4::INT4)::BOX2D AS col_467366) AS tab_256058
        test_1        |             ORDER BY
        test_1        |                 CAST(col_467366 AS STRING) NULLS FIRST;
        test_1        |             
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (SELECT st_box2dfromgeohash('E'::TEXT::TEXT::TEXT, NULL::INT4::INT4)::BOX2D AS col_467366) AS tab_256058
        test_1        |             ORDER BY
        test_1        |                 CAST(col_467366 AS TEXT) NULLS FIRST;
        test_1        |             
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_postgres_1   ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...

    compose_test.go:49: exit status 1
Reproduce

To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```

Same failure on other branches

- #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1] - #67844 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1] - #67791 compose: TestComposeCompare failed [C-test-failure O-robot branch-master]

Internal log

``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!