cockroachdb / cockroach

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

compose: TestComposeCompare failed #89361

Closed cockroach-teamcity closed 5 months ago

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-22.2 @ 18da6141d87f76c04f74ad6f9685fa619b97738a:

Slow failing tests:
TestComposeCompare - 295.00s

Slow passing tests:
<none>
Help

See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)

Same failure on other branches

- #82867 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-master] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]

/cc @cockroachdb/sql-experience

This test on roachdash | Improve this report!

Jira issue: CRDB-20216

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-22.2 @ 78e7ab8398a655b612cf7c9f8f31d904da5caa84:

Slow failing tests:
TestComposeCompare - 295.00s

Slow passing tests:
<none>
Help

See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)

Same failure on other branches

- #82867 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-master] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-22.2 @ c018f1a48d6854969a295632977ef62e2cb20226:

Slow failing tests:
TestComposeCompare - 295.00s

Slow passing tests:
<none>
Help

See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)

Same failure on other branches

- #82867 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-master] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-22.2 @ 64049e4b9210de3af4a1d814a9af0123b59a055f:

Slow failing tests:
TestComposeCompare - 295.00s

Slow passing tests:
<none>
Help

See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)

Same failure on other branches

- #82867 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-master] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-22.2 @ fbe8fde57907a776a9ac6f1cfe0c2596b36982bc:

        test_1        |         compare_test.go:137: initializing connection: postgres
        test_1        |         compare_test.go:188: open /home/agent/work/.go/src/github.com/cockroachdb/cockroach/artifacts/_tmp/018812dfcf0ce383ac3e799915a61396/TestComposeCompare2282814352/002/postgres.log: no such file or directory
        test_1        |         compare_test.go:190: compare cockroach1 to postgres: unexpected diff:
        test_1        |               []any(Inverse(func1, []any{
        test_1        |             -   string("2.0000000000000000000E"),
        test_1        |             +   string("2.0000000000000000E"),
        test_1        |               }))
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (
        test_1        |                     SELECT
        test_1        |                         ((2:::DECIMAL::DECIMAL::DECIMAL / 1:::DECIMAL::DECIMAL::DECIMAL)::DECIMAL::DECIMAL || 'E':::STRING::STRING::STRING)::STRING
        test_1        |                             AS col_76450
        test_1        |                 )
        test_1        |                     AS tab_61147
        test_1        |             ORDER BY
        test_1        |                 col_76450 NULLS FIRST;
        test_1        |             
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (
        test_1        |                     SELECT
        test_1        |                         ((2::DECIMAL::DECIMAL::DECIMAL / 1::DECIMAL::DECIMAL::DECIMAL)::DECIMAL::DECIMAL || 'E'::TEXT::TEXT::TEXT)::TEXT
        test_1        |                             AS col_76450
        test_1        |                 )
        test_1        |                     AS tab_61147
        test_1        |             ORDER BY
        test_1        |                 col_76450 NULLS FIRST;
        test_1        |             
        test_1        |     --- FAIL: TestCompare/mutators (0.26s)
        test_1        |         compare_test.go:128: starting test: mutators
        test_1        |         compare_test.go:137: initializing connection: cockroach1
        test_1        |         compare_test.go:159: CREATE TABLE table2 (col2_0 INT2 NOT NULL, col2_1 GEOGRAPHY NULL, col2_2 INT4 NOT NULL, col2_3 INT8 NOT NULL AS (col2_0 + col2_2) STORED, col2_4 INT8 NOT NULL AS (col2_2 + col2_0) STORED, PRIMARY KEY (col2_3), UNIQUE (col2_3 ASC, col2_4 ASC) PARTITION BY LIST (col2_3) (PARTITION table2_part_0 VALUES IN ((127:::INT8,), (6304186628843270709:::INT8,), ((-5750093512232944307):::INT8,), (5172635567358001108:::INT8,)), PARTITION table2_part_1 VALUES IN (((-2491734020105355826):::INT8,), (4478392630127269134:::INT8,), ((-8346823044894857190):::INT8,), (9223372036854775807:::INT8,)), PARTITION table2_part_2 VALUES IN (((-4360019729656583414):::INT8,), (7542287118514554001:::INT8,), ((-8002634173773963339):::INT8,), ((-8470871364079167076):::INT8,)), PARTITION table2_part_3 VALUES IN (((-6122786618050045606):::INT8,), ((-1264279645926269892):::INT8,), ((-3226800429182613328):::INT8,), ((-8005741950015047594):::INT8,)), PARTITION table2_part_4 VALUES IN (((-128):::INT8,), (7896098836593960555:::INT8,), ((-4305234484210727974):::INT8,)), PARTITION table2_part_5 VALUES IN (((-781307289568798375):::INT8,), (2245215459643767373:::INT8,), (92051188834833506:::INT8,), ((-8213852763664793043):::INT8,))) WHERE ((table2.col2_4 = (-128):::INT8) AND (table2.col2_3 != 9223372036854775807:::INT8)) OR (table2.col2_2 >= 2147483647:::INT8), INVERTED INDEX (col2_4, col2_3 ASC, col2_2, col2_0, col2_1 ASC) PARTITION BY LIST (col2_4, col2_3, col2_2, col2_0) (PARTITION table2_part_0 VALUES IN (((-3849244688697959832):::INT8, (-5042405554913312639):::INT8, (-263613817):::INT8, (-31417):::INT8), ((-9223372036854775807):::INT8, 3704214080058254725:::INT8, (-1591191362):::INT8, 15851:::INT8), ((-2285093363139523229):::INT8, (-210608142509011580):::INT8, (-1):::INT8, 24180:::INT8)), PARTITION table2_part_1 VALUES IN (((-8023957261430546873):::INT8, 7856079611908782097:::INT8, (-2032638797):::INT8, 8363:::INT8), (1:::INT8, (-3106326720003074753):::INT8, (-19221166):::INT8, (-31238):::INT8), ((-8073208242146279342):::INT8, 0:::INT8, 789753631:::INT8, (-16119):::INT8)), PARTITION table2_part_2 VALUES IN ((7547262172410418753:::INT8, (-5741874623296956856):::INT8, 794224941:::INT8, 15011:::INT8), ((-8475193176040400542):::INT8, (-175687236439832656):::INT8, (-1117761686):::INT8, 28900:::INT8), (1368126386282829609:::INT8, (-5667831868454138177):::INT8, (-1628941561):::INT8, (-16310):::INT8)), PARTITION table2_part_3 VALUES IN ((8835087437159207947:::INT8, 9223372036854775807:::INT8, (-1962278239):::INT8, 28985:::INT8), (1945259102225168554:::INT8, (-2199834763041781744):::INT8, (-559102553):::INT8, 21997:::INT8), ((-2854026122840475328):::INT8, 7380366400813950680:::INT8, 1583456977:::INT8, 1:::INT8)), PARTITION table2_part_4 VALUES IN ((7799437070165617786:::INT8, 3282444188379759499:::INT8, 831170683:::INT8, 6741:::INT8), ((-6654799593048684150):::INT8, 5949631249524683729:::INT8, (-49532426):::INT8, (-21766):::INT8), ((-4824951107503438423):::INT8, (-1234833750292311379):::INT8, (-595200569):::INT8, 1:::INT8)), PARTITION table2_part_5 VALUES IN ((8052209192629776549:::INT8, (-7592480553086419603):::INT8, (-1268295073):::INT8, 28106:::INT8), ((-5984807993119135230):::INT8, (-2147483648):::INT8, (-1020207313):::INT8, 3314:::INT8), ((-1160327277113257100):::INT8, (-4089558106101089967):::INT8, (-1521481881):::INT8, (-23711):::INT8)), PARTITION table2_part_6 VALUES IN (((-4281316593130045138):::INT8, (-2091993032382780586):::INT8, (-1979329437):::INT8, (-1):::INT8), ((-6049154071978776947):::INT8, 7172545180984178841:::INT8, 2032452876:::INT8, (-1):::INT8), (8442851415502074156:::INT8, 6384117194931721338:::INT8, 2120232499:::INT8, 19190:::INT8)), PARTITION table2_part_7 VALUES IN (((-8622868234759143927):::INT8, (-6491310350443164412):::INT8, 153119124:::INT8, (-30183):::INT8), ((-8573054144403994692):::INT8, (-2004329917578706565):::INT8, (-119901776):::INT8, 17999:::INT8), ((-951499659388992037):::INT8, (-8165542877513117591):::INT8, (-1478878761):::INT8, 17820:::INT8)), PARTITION "DEFAULT" VALUES IN ((DEFAULT, DEFAULT, DEFAULT, DEFAULT))), INDEX (lower(CAST(col2_1 AS STRING)) DESC, col2_0 ASC, col2_4 DESC, col2_2 DESC))
        test_1        |         compare_test.go:160: cockroach1: exec: ERROR: use of partitions requires an enterprise license. see https://cockroachlabs.com/pricing?cluster=670e6ce3-aee9-46a0-ae84-070ee2652269 for details on how to enable enterprise features (SQLSTATE XXC02)
        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:120: exit status 1
--- FAIL: TestComposeCompare (108.44s)
Help

See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)

Same failure on other branches

- #82867 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-master] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-22.2 @ 6ee69b5e1c6d1bee95545b388179897cfca73291:

Slow failing tests:
TestComposeCompare - 295.00s

Slow passing tests:
<none>
Help

See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)

Same failure on other branches

- #82867 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-master] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-22.2 @ 2c1f4db5d31e18a718b974f992701dfee9a8cdd8:

        postgres_1    | CREATE EXTENSION
        postgres_1    | CREATE EXTENSION
        postgres_1    | 
        postgres_1    | waiting for server to shut down...2022-10-11 05:18:56.044 UTC [49] LOG:  received fast shutdown request
        postgres_1    | .2022-10-11 05:18:56.046 UTC [49] LOG:  aborting any active transactions
        postgres_1    | 2022-10-11 05:18:56.048 UTC [49] LOG:  background worker "logical replication launcher" (PID 56) exited with exit code 1
        postgres_1    | 2022-10-11 05:18:56.050 UTC [51] LOG:  shutting down
        postgres_1    | 2022-10-11 05:18:56.173 UTC [49] LOG:  database system is shut down
        postgres_1    |  done
        postgres_1    | server stopped
        postgres_1    | 
        postgres_1    | PostgreSQL init process complete; ready for start up.
        postgres_1    | 
        postgres_1    | 2022-10-11 05:18:56.267 UTC [1] LOG:  starting PostgreSQL 13.5 (Debian 13.5-1.pgdg110+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
        postgres_1    | 2022-10-11 05:18:56.267 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
        postgres_1    | 2022-10-11 05:18:56.267 UTC [1] LOG:  listening on IPv6 address "::", port 5432
        postgres_1    | 2022-10-11 05:18:56.271 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
        postgres_1    | 2022-10-11 05:18:56.277 UTC [68] LOG:  database system was shut down at 2022-10-11 05:18:56 UTC
        postgres_1    | 2022-10-11 05:18:56.282 UTC [1] LOG:  database system is ready to accept connections
        postgres_1    | 2022-10-11 05:18:58.272 UTC [78] ERROR:  syntax error at or near "ASC" at character 640
        postgres_1    | 2022-10-11 05:18:58.272 UTC [78] STATEMENT:  CREATE TABLE table4 (col4_0 REGTYPE, col4_1 CHAR NULL, col4_2 INT4 NULL, col4_3 BIT(48), col4_4 REGNAMESPACE NULL, col4_5 FLOAT4 NULL, col4_6 GEOGRAPHY NULL, col4_7 OID[] NOT NULL, col4_8 INT2 NOT NULL, col4_9 JSONB NULL, col4_10 REGPROCEDURE, col4_11 BIT(32) NOT NULL, col4_12 REGROLE NULL, col4_13 TIMETZ, col4_14 VARCHAR NOT NULL, col4_15 INT8 NULL GENERATED ALWAYS AS (col4_2 + col4_8) STORED, col4_16 TEXT NULL GENERATED ALWAYS AS (lower(CAST(col4_9 AS TEXT))) STORED, col4_17 INT8 NULL GENERATED ALWAYS AS (col4_2 + col4_8) STORED, col4_18 INT8 NULL GENERATED ALWAYS AS (col4_2 + (-1171616901)::INT8) STORED, INVERTED INDEX (col4_17 ASC, col4_18 ASC, col4_1 gin_trgm_ops ASC) WHERE (((((table4.col4_1 != ''::TEXT) AND (table4.col4_2 < (-32768)::INT8)) OR (table4.col4_15 = 127::INT8)) AND (table4.col4_14 = e'\x00'::TEXT)) AND (table4.col4_5 >= '+Inf'::FLOAT8)) AND (table4.col4_13 < '00:00:00+15:59:00'::TIMETZ) NOT VISIBLE);
        postgres_1    |     
        test_1        | --- FAIL: TestCompare (5.47s)
        test_1        |     compare_test.go:119: Checking connection to: cockroach2
        test_1        |     compare_test.go:119: Checking connection to: postgres
        test_1        |     compare_test.go:119: Checking connection to: cockroach1
        test_1        |     --- FAIL: TestCompare/postgres (1.11s)
        test_1        |         compare_test.go:128: starting test: postgres
        test_1        |         compare_test.go:137: initializing connection: cockroach1
        test_1        |         compare_test.go:137: initializing connection: postgres
        test_1        |         compare_test.go:159: CREATE TABLE table4 (col4_0 REGTYPE, col4_1 CHAR NULL, col4_2 INT4 NULL, col4_3 BIT(48), col4_4 REGNAMESPACE NULL, col4_5 FLOAT4 NULL, col4_6 GEOGRAPHY NULL, col4_7 OID[] NOT NULL, col4_8 INT2 NOT NULL, col4_9 JSONB NULL, col4_10 REGPROCEDURE, col4_11 BIT(32) NOT NULL, col4_12 REGROLE NULL, col4_13 TIMETZ, col4_14 VARCHAR NOT NULL, col4_15 INT8 NULL GENERATED ALWAYS AS (col4_2 + col4_8) STORED, col4_16 TEXT NULL GENERATED ALWAYS AS (lower(CAST(col4_9 AS TEXT))) STORED, col4_17 INT8 NULL GENERATED ALWAYS AS (col4_2 + col4_8) STORED, col4_18 INT8 NULL GENERATED ALWAYS AS (col4_2 + (-1171616901)::INT8) STORED, INVERTED INDEX (col4_17 ASC, col4_18 ASC, col4_1 gin_trgm_ops ASC) WHERE (((((table4.col4_1 != ''::TEXT) AND (table4.col4_2 < (-32768)::INT8)) OR (table4.col4_15 = 127::INT8)) AND (table4.col4_14 = e'\x00'::TEXT)) AND (table4.col4_5 >= '+Inf'::FLOAT8)) AND (table4.col4_13 < '00:00:00+15:59:00'::TIMETZ) NOT VISIBLE);
        test_1        |             
        test_1        |         compare_test.go:160: postgres: exec: ERROR: syntax error at or near "ASC" (SQLSTATE 42601)
        test_1        |     --- FAIL: TestCompare/mutators (0.49s)
        test_1        |         compare_test.go:128: starting test: mutators
        test_1        |         compare_test.go:137: initializing connection: cockroach1
        test_1        |         compare_test.go:159: CREATE TABLE table3 (col3_0 REGTYPE NULL, col3_1 INT4 NOT NULL, col3_2 INTERVAL, col3_3 INT4 NOT NULL, col3_4 DATE NOT NULL, col3_5 BIT(6) NOT NULL, col3_6 TIMESTAMP NOT NULL, col3_7 INTERVAL NOT NULL, col3_8 INT8 AS (col3_3 + col3_1) STORED, PRIMARY KEY (col3_1 DESC, col3_6 ASC, col3_3 DESC, col3_4 DESC, col3_7 ASC), UNIQUE (col3_1 ASC, col3_2 ASC, col3_0, col3_5 ASC, col3_7 DESC) WHERE (((table3.col3_3 != 127:::INT8) OR (table3.col3_4 > 'infinity':::DATE)) OR (table3.col3_1 >= 0:::INT8)) AND (table3.col3_8 >= 127:::INT8), UNIQUE (col3_1, (CASE WHEN col3_4 IS NULL THEN ' y':::STRING ELSE e'Vs\x19\\{\x15\\N\n':::STRING END) ASC, col3_7 DESC, col3_5 ASC) PARTITION BY LIST (col3_1) (PARTITION table3_part_0 VALUES IN ((228901861:::INT8,), (394628457:::INT8,), ((-72409718):::INT8,), (1068217303:::INT8,), ((-1861298291):::INT8,)), PARTITION table3_part_1 VALUES IN ((1797404859:::INT8,), (1397923259:::INT8,), ((-1113935170):::INT8,), ((-2025066467):::INT8,), (1260339682:::INT8,)), PARTITION table3_part_2 VALUES IN ((1131609437:::INT8,), (1:::INT8,), (1819305328:::INT8,), ((-1993322479):::INT8,), ((-1020467287):::INT8,)), PARTITION table3_part_3 VALUES IN (((-105379840):::INT8,), ((-570152063):::INT8,), ((-918129549):::INT8,), ((-1161604635):::INT8,), (1861719030:::INT8,)), PARTITION table3_part_4 VALUES IN (((-1119590053):::INT8,), (456106176:::INT8,), ((-1071461692):::INT8,), (1307079905:::INT8,), (2046735348:::INT8,)), PARTITION table3_part_5 VALUES IN (((-1):::INT8,), (405670099:::INT8,), (711928713:::INT8,), (1803056032:::INT8,), ((-1698324949):::INT8,)), PARTITION table3_part_6 VALUES IN ((1994848987:::INT8,), (1506357224:::INT8,), (729249892:::INT8,), ((-2147483648):::INT8,)), PARTITION table3_part_7 VALUES IN ((182702154:::INT8,), ((-248662664):::INT8,), (2080967648:::INT8,), ((-1815383943):::INT8,)), PARTITION table3_part_8 VALUES IN ((1479866738:::INT8,), ((-1565679364):::INT8,), (1878561370:::INT8,), ((-1494194513):::INT8,), (1870798104:::INT8,))), INDEX (col3_6 DESC, col3_1 ASC) WHERE (((table3.col3_8 >= 0:::INT8) AND (table3.col3_3 >= (-32768):::INT8)) AND (table3.col3_6 < '0001-01-01 00:00:00':::TIMESTAMP)) AND (table3.col3_4 < '5874897-12-31':::DATE), FAMILY (col3_3), FAMILY (col3_4, col3_5, col3_7, col3_1, col3_0, col3_2), FAMILY (col3_6), FAMILY (col3_8))
        test_1        |         compare_test.go:160: cockroach1: exec: ERROR: use of partitions requires an enterprise license. see https://cockroachlabs.com/pricing?cluster=1ac137c8-b645-4d47-9171-25d39a71dc2c for details on how to enable enterprise features (SQLSTATE XXC02)
        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:120: exit status 1
--- FAIL: TestComposeCompare (23.69s)
Help

See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)

Same failure on other branches

- #82867 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-master] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-22.2 @ eb33c872e9f50c64bfd2426a011faca342bd3511:

Slow failing tests:
TestComposeCompare - 295.00s

Slow passing tests:
<none>
Help

See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)

Same failure on other branches

- #82867 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-master] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-22.2 @ 3531c6f4c69659c929170bef29ca05dafddae2b2:

        postgres_1    | 2022-10-14 05:17:29.407 UTC [51] LOG:  shutting down
        postgres_1    | 2022-10-14 05:17:29.518 UTC [49] LOG:  database system is shut down
        postgres_1    |  done
        postgres_1    | server stopped
        postgres_1    | 
        postgres_1    | PostgreSQL init process complete; ready for start up.
        postgres_1    | 
        postgres_1    | 2022-10-14 05:17:29.624 UTC [1] LOG:  starting PostgreSQL 13.5 (Debian 13.5-1.pgdg110+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
        postgres_1    | 2022-10-14 05:17:29.624 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
        postgres_1    | 2022-10-14 05:17:29.624 UTC [1] LOG:  listening on IPv6 address "::", port 5432
        postgres_1    | 2022-10-14 05:17:29.627 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
        postgres_1    | 2022-10-14 05:17:29.631 UTC [68] LOG:  database system was shut down at 2022-10-14 05:17:29 UTC
        postgres_1    | 2022-10-14 05:17:29.636 UTC [1] LOG:  database system is ready to accept connections
        postgres_1    | 2022-10-14 05:17:30.925 UTC [78] ERROR:  invalid byte sequence for encoding "UTF8": 0x00
        postgres_1    | 2022-10-14 05:17:30.925 UTC [78] STATEMENT:  CREATE TABLE table1 (col1_0 TIMESTAMP NULL, col1_1 "char" NOT NULL, col1_2 BOOL NOT NULL, col1_3 INT2 NOT NULL, col1_4 BOX2D NOT NULL, col1_5 TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN col1_0 IS NULL THEN e'\x00'::TEXT ELSE 'p'::TEXT END) STORED, col1_6 TEXT NOT NULL GENERATED ALWAYS AS (lower(CAST(col1_4 AS TEXT))) STORED, col1_7 TEXT NOT NULL GENERATED ALWAYS AS (lower(CAST(col1_4 AS TEXT))) STORED, col1_8 INT8 NOT NULL GENERATED ALWAYS AS (col1_3 + (-1)::INT8) STORED, PRIMARY KEY (col1_5, col1_3, col1_2, col1_7, col1_1, col1_6));
        postgres_1    |     CREATE INDEX ON table1 (col1_3 DESC, col1_6, col1_1, col1_5 ASC);
        postgres_1    |     CREATE UNIQUE INDEX ON table1 (col1_6 ASC, col1_7 ASC, col1_5, col1_1 ASC);
        postgres_1    |     CREATE INDEX ON table1 (col1_0 DESC, col1_2 DESC, col1_7, col1_1 ASC);
        postgres_1    |     
        test_1        | --- FAIL: TestCompare (4.09s)
        test_1        |     compare_test.go:119: Checking connection to: postgres
        test_1        |     compare_test.go:119: Checking connection to: cockroach1
        test_1        |     compare_test.go:119: Checking connection to: cockroach2
        test_1        |     --- FAIL: TestCompare/mutators (0.12s)
        test_1        |         compare_test.go:128: starting test: mutators
        test_1        |         compare_test.go:137: initializing connection: cockroach1
        test_1        |         compare_test.go:159: CREATE TABLE table1 (col1_0 REGTYPE NULL, col1_1 JSONB NULL, col1_2 INT8 NOT NULL, col1_3 TIMETZ NOT NULL, col1_4 INT8 NOT NULL, UNIQUE (col1_3 DESC) STORING (col1_2, col1_4), INDEX (col1_0 ASC) PARTITION BY LIST (col1_0) (PARTITION table1_part_0 VALUES IN ((512706284:::OID,), (NULL,), (520084139:::OID,), (3013346282:::OID,), (0:::OID,), (2337525113:::OID,), (2504201086:::OID,), (1665529896:::OID,))) WHERE ((table1.col1_4 > (-32768):::INT8) AND (table1.col1_3 >= '24:00:00-15:59:00':::TIMETZ)) AND (table1.col1_2 > (-9223372036854775807):::INT8), FAMILY (col1_0, col1_3), FAMILY (col1_1), FAMILY (col1_4), FAMILY (col1_2))
        test_1        |         compare_test.go:160: cockroach1: exec: ERROR: use of partitions requires an enterprise license. see https://cockroachlabs.com/pricing?cluster=4e3d63f5-4b50-417e-820f-379c0063ad2b for details on how to enable enterprise features (SQLSTATE XXC02)
        test_1        |     --- FAIL: TestCompare/postgres (0.84s)
        test_1        |         compare_test.go:128: starting test: postgres
        test_1        |         compare_test.go:137: initializing connection: cockroach1
        test_1        |         compare_test.go:137: initializing connection: postgres
        test_1        |         compare_test.go:159: CREATE TABLE table1 (col1_0 TIMESTAMP NULL, col1_1 "char" NOT NULL, col1_2 BOOL NOT NULL, col1_3 INT2 NOT NULL, col1_4 BOX2D NOT NULL, col1_5 TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN col1_0 IS NULL THEN e'\x00'::TEXT ELSE 'p'::TEXT END) STORED, col1_6 TEXT NOT NULL GENERATED ALWAYS AS (lower(CAST(col1_4 AS TEXT))) STORED, col1_7 TEXT NOT NULL GENERATED ALWAYS AS (lower(CAST(col1_4 AS TEXT))) STORED, col1_8 INT8 NOT NULL GENERATED ALWAYS AS (col1_3 + (-1)::INT8) STORED, PRIMARY KEY (col1_5, col1_3, col1_2, col1_7, col1_1, col1_6));
        test_1        |             CREATE INDEX ON table1 (col1_3 DESC, col1_6, col1_1, col1_5 ASC);
        test_1        |             CREATE UNIQUE INDEX ON table1 (col1_6 ASC, col1_7 ASC, col1_5, col1_1 ASC);
        test_1        |             CREATE INDEX ON table1 (col1_0 DESC, col1_2 DESC, col1_7, col1_1 ASC);
        test_1        |             
        test_1        |         compare_test.go:160: 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_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:120: exit status 1
--- FAIL: TestComposeCompare (21.08s)
Help

See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)

Same failure on other branches

- #82867 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-master] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-22.2 @ cffe9bc440988894abe9a598ea6b2f15e1b7df93:

        test_1        |             -   nil,
        test_1        |             +   string("010100000000000000008036400000000000E050C0"),
        test_1        |               }))
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (
        test_1        |                     SELECT
        test_1        |                         NULL::OID AS col_21654,
        test_1        |                         st_pointfromgeohash('H':::STRING::STRING::STRING, NULL::INT4::INT4)::GEOMETRY AS col_21655
        test_1        |                 )
        test_1        |                     AS tab_10378
        test_1        |             ORDER BY
        test_1        |                 col_21654 NULLS FIRST, col_21655 NULLS FIRST;
        test_1        |             
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (
        test_1        |                     SELECT
        test_1        |                         NULL::OID AS col_21654,
        test_1        |                         st_pointfromgeohash('H'::TEXT::TEXT::TEXT, NULL::INT4::INT4)::GEOMETRY AS col_21655
        test_1        |                 )
        test_1        |                     AS tab_10378
        test_1        |             ORDER BY
        test_1        |                 col_21654 NULLS FIRST, col_21655 NULLS FIRST;
        test_1        |             
        test_1        |     --- FAIL: TestCompare/mutators (0.59s)
        test_1        |         compare_test.go:128: starting test: mutators
        test_1        |         compare_test.go:137: initializing connection: cockroach1
        test_1        |         compare_test.go:137: initializing connection: cockroach2
        test_1        |         compare_test.go:159: CREATE TABLE table1 (col1_0 BOOL NOT NULL, col1_1 DATE NOT NULL, col1_2 FLOAT8 NOT NULL, col1_3 INT4 NOT NULL, col1_4 INT8 NOT NULL, col1_5 TIMESTAMP NOT NULL, col1_6 BIT(16) NOT NULL, col1_7 BIT(16) NOT NULL, col1_8 UUID NOT NULL, col1_9 INT8 NOT NULL AS (col1_4 + col1_3) STORED, col1_10 INT8 NOT NULL AS (col1_4 + col1_3) VIRTUAL, PRIMARY KEY (col1_6 DESC, col1_4 DESC, col1_1, col1_5 DESC, col1_8 ASC, col1_9 DESC), INDEX (col1_8, col1_9, col1_0 ASC, col1_2 DESC, col1_3 DESC, col1_6 DESC, col1_1 DESC, col1_5) WHERE (((((((NOT table1.col1_0) OR (table1.col1_9 <= (-1):::INT8)) AND (table1.col1_10 != 32767:::INT8)) OR (table1.col1_1 <= '1970-01-01':::DATE)) OR (table1.col1_4 >= 0:::INT8)) AND (table1.col1_5 = '-2000-01-01 00:00:00':::TIMESTAMP)) AND (table1.col1_2 >= 5e-324:::FLOAT8)) OR (table1.col1_3 = 32767:::INT8), INDEX (col1_6 DESC, col1_3 ASC, col1_1 DESC, col1_10 DESC, (col1_4 + col1_3) ASC, col1_2 DESC) WHERE (((((((table1.col1_5 != '-2000-01-01 00:00:00':::TIMESTAMP) OR (table1.col1_1 = '-infinity':::DATE)) OR (table1.col1_2 != 1.0:::FLOAT8)) OR (table1.col1_9 < 1:::INT8)) AND (table1.col1_4 < (-128):::INT8)) OR table1.col1_0) OR (table1.col1_10 <= (-2147483648):::INT8)) OR (table1.col1_3 <= 0:::INT8), UNIQUE (col1_6 DESC, col1_5, col1_8 ASC, col1_3 DESC, col1_7 DESC, col1_1 DESC, col1_9 DESC, col1_2 DESC, col1_0 ASC) WHERE (((((((table1.col1_2 != '-Inf':::FLOAT8) AND (table1.col1_4 >= 9223372036854775807:::INT8)) AND (table1.col1_9 >= (-1):::INT8)) OR (table1.col1_1 > '1970-01-01':::DATE)) OR (table1.col1_3 >= 127:::INT8)) AND (table1.col1_5 < '-4713-11-24 00:00:00':::TIMESTAMP)) AND (NOT table1.col1_0)) OR (table1.col1_10 >= (-9223372036854775807):::INT8), INDEX (col1_5, col1_1, col1_8 ASC, col1_9, col1_3 DESC, col1_10 DESC, col1_0) STORING (col1_7), INDEX (col1_10, col1_3, col1_7 DESC, col1_9 ASC), UNIQUE (col1_1 ASC, col1_2 ASC, col1_9, col1_7 DESC, (col1_3 + col1_4) ASC, col1_8 ASC, col1_0 DESC), FAMILY (col1_9, col1_2, col1_1, col1_7, col1_6), FAMILY (col1_4, col1_0), FAMILY (col1_3, col1_8), FAMILY (col1_5));
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"avg_size": 4, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6515, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 9000}, {"avg_size": 23, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3724, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 9000}, {"avg_size": 9, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2959, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 9000}, {"avg_size": 27, "columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3396, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 9000}, {"avg_size": 10, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5154, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 9000}, {"avg_size": 19, "columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6618, "histo_buckets": [{"distinct_range": 0, "num_eq": 6526979798641905520, "num_range": 0, "upper_bound": "0001-01-01 00:00:00"}, {"distinct_range": 5000, "num_eq": 2142581268927621798, "num_range": 5000, "upper_bound": "1970-08-13 15:10:38.000958"}, {"distinct_range": 0, "num_eq": 2673827853758663811, "num_range": 61078550975939077, "upper_bound": "1988-08-03 17:02:19.000057"}, {"distinct_range": 1054179200073289500, "num_eq": 5737132359557275836, "num_range": 4671529547404082988, "upper_bound": "2000-04-24 23:14:09.000087"}, {"distinct_range": 4501442539835306000, "num_eq": 4320528997904375062, "num_range": 5821318696607734627, "upper_bound": "2016-08-29 01:53:59.00052"}, {"distinct_range": 0, "num_eq": 10000000, "num_range": 9000000000, "upper_bound": "2032-03-21 03:40:01.000796"}, {"distinct_range": 500000, "num_eq": 4284614649266924960, "num_range": 500000, "upper_bound": "2032-10-26 13:11:42.000318"}, {"distinct_range": 0, "num_eq": 8000000000, "num_range": 60, "upper_bound": "294276-12-31 23:59:59.999999"}], "histo_col_type": "TIMESTAMP", "name": "__auto__", "null_count": 0, "row_count": 9000}, {"avg_size": 28, "columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8462, "histo_buckets": [{"distinct_range": 0, "num_eq": 7247157834847057776, "num_range": 0, "upper_bound": "0001100110000101"}, {"distinct_range": 58880530038.06025, "num_eq": 30000000000, "num_range": 60000000000, "upper_bound": "0100100110001000"}, {"distinct_range": 0, "num_eq": 50000000, "num_range": 5106246384817149586, "upper_bound": "0100110100101000"}, {"distinct_range": 0, "num_eq": 5123547183074417643, "num_range": 0, "upper_bound": "0101100110111110"}, {"distinct_range": 0, "num_eq": 1889401258787919311, "num_range": 1758385919766171711, "upper_bound": "1001100000000100"}, {"distinct_range": 1007459568355284700, "num_eq": 80000, "num_range": 1571600667088172543, "upper_bound": "1100010010010101"}, {"distinct_range": 944880499809415000, "num_eq": 6071541624538681181, "num_range": 1218841196820503226, "upper_bound": "1110010000100010"}], "histo_col_type": "BIT(16)", "name": "__auto__", "null_count": 0, "row_count": 9000}, {"avg_size": 9, "columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 395, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 9000}, {"avg_size": 25, "columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2736, "histo_buckets": [{"distinct_range": 0, "num_eq": 90000000, "num_range": 0, "upper_bound": "00000000-0000-0000-0000-000000000000"}, {"distinct_range": 0, "num_eq": 4589221756496748658, "num_range": 8000000000, "upper_bound": "24faca2e-84eb-47a8-8416-913029027f8c"}, {"distinct_range": 0, "num_eq": 20000000, "num_range": 60000000000, "upper_bound": "2710fc25-fe10-43b6-b2eb-0a15be6d6e3b"}, {"distinct_range": 4321463929.562959, "num_eq": 100, "num_range": 8000000000, "upper_bound": "3e645ddc-5e61-45d3-aaf2-b87bf8f7bf1c"}, {"distinct_range": 9182588249689269000, "num_eq": 5000000, "num_range": 9182588249689269298, "upper_bound": "73659710-3990-44c5-a769-6a6312fc73ac"}, {"distinct_range": 0, "num_eq": 400000, "num_range": 2000000000, "upper_bound": "7f31ab92-78a2-4d16-8b89-f2ab59aa6b20"}, {"distinct_range": 9000000000, "num_eq": 2422125659900896943, "num_range": 9000000000, "upper_bound": "dd70acb0-49ed-4901-8cb4-a042bad9350c"}, {"distinct_range": 300, "num_eq": 30000000000, "num_range": 300, "upper_bound": "e2c3d606-a21d-409b-a058-53f85dcc97fc"}], "histo_col_type": "UUID", "name": "__auto__", "null_count": 0, "row_count": 9000}, {"avg_size": 4, "columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8560, "histo_buckets": [{"distinct_range": 0, "num_eq": 200000, "num_range": 0, "upper_bound": "-8860582553491704218"}, {"distinct_range": 6788518105027737000, "num_eq": 800, "num_range": 6788518105027736964, "upper_bound": "-7162915391986989024"}, {"distinct_range": 0, "num_eq": 7707030026462856028, "num_range": 8062647239034071204, "upper_bound": "-5236415331115819627"}, {"distinct_range": 0, "num_eq": 6988569403092815101, "num_range": 90, "upper_bound": "-5047821030580213091"}, {"distinct_range": 0, "num_eq": 90000000, "num_range": 5717867976416065844, "upper_bound": "-4094352518439600396"}, {"distinct_range": 882373336878953700, "num_eq": 7412466237876157614, "num_range": 2008426419420283449, "upper_bound": "8540391441128232251"}, {"distinct_range": 1752943915439920400, "num_eq": 30, "num_range": 8493638204345284001, "upper_bound": "9170475394561980619"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 0, "row_count": 9000}, {"avg_size": 20, "columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3000, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 9000}]':::JSONB;
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"avg_size": 9, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 922697021338953524, "histo_buckets": [{"distinct_range": 0, "num_eq": 216940211498386604, "num_range": 0, "upper_bound": "1971-11-16"}, {"distinct_range": 0, "num_eq": 0, "num_range": 7867393828310073018, "upper_bound": "1976-01-06"}, {"distinct_range": 0, "num_eq": 5000, "num_range": 0, "upper_bound": "1982-12-02"}, {"distinct_range": 0, "num_eq": 80000000000, "num_range": 0, "upper_bound": "1985-10-29"}, {"distinct_range": 0, "num_eq": 0, "num_range": 3581129448859809603, "upper_bound": "1986-06-28"}, {"distinct_range": 4000000000, "num_eq": 0, "num_range": 4000000000, "upper_bound": "1986-10-31"}, {"distinct_range": 415.23074646489425, "num_eq": 8000000, "num_range": 700, "upper_bound": "1992-10-23"}, {"distinct_range": 583706863904216800, "num_eq": 300000, "num_range": 583706863904216827, "upper_bound": "1993-05-27"}, {"distinct_range": 0, "num_eq": 7000000000, "num_range": 0, "upper_bound": "1993-06-29"}], "histo_col_type": "DATE", "name": "__auto__", "null_count": 0, "row_count": 2975702892473938211}, {"avg_size": 30, "columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1806397630290808592, "histo_buckets": [{"distinct_range": 0, "num_eq": 6698957115586154237, "num_range": 0, "upper_bound": "0000000000000000"}, {"distinct_range": 5000, "num_eq": 6910025715654087082, "num_range": 5000, "upper_bound": "0011011110111010"}, {"distinct_range": 0, "num_eq": 1000000000, "num_range": 20000, "upper_bound": "0011101001011011"}, {"distinct_range": 3000000, "num_eq": 2000, "num_range": 3000000, "upper_bound": "0110010011010001"}, {"distinct_range": 416841330.6590088, "num_eq": 0, "num_range": 4000000000, "upper_bound": "0111001100010100"}, {"distinct_range": 2855121415.5005984, "num_eq": 10000000, "num_range": 10000000000, "upper_bound": "0111010110101101"}, {"distinct_range": 0, "num_eq": 388978416049083247, "num_range": 4266146066923788488, "upper_bound": "0111111111111111"}, {"distinct_range": 5715715188215507000, "num_eq": 900, "num_range": 5715715188215507322, "upper_bound": "1000101110101011"}, {"distinct_range": 0, "num_eq": 900, "num_range": 4389856381177921979, "upper_bound": "1110001100000101"}], "histo_col_type": "BIT(16)", "name": "__auto__", "null_count": 0, "row_count": 2975702892473938211}, {"avg_size": 4, "columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1095554403123457831, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2975702892473938211}, {"avg_size": 25, "columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2342259291722710490, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2975702892473938211}, {"avg_size": 27, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 611546556458039152, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2975702892473938211}, {"avg_size": 27, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1129991356989626797, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2975702892473938211}, {"avg_size": 0, "columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2392778856648202905, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2975702892473938211}, {"avg_size": 19, "columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2064174066394457492, "histo_buckets": [{"distinct_range": 0, "num_eq": 700000000, "num_range": 0, "upper_bound": "-4713-11-24 00:00:00"}, {"distinct_range": 43127809082487544, "num_eq": 1789022591580927095, "num_range": 43127809082487547, "upper_bound": "1983-04-25 13:49:13.000737"}, {"distinct_range": 0, "num_eq": 10000, "num_range": 7649141735404944517, "upper_bound": "1985-02-21 04:09:52.000217"}], "histo_col_type": "TIMESTAMP", "name": "__auto__", "null_count": 0, "row_count": 2975702892473938211}, {"avg_size": 9, "columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 146930694950986622, "histo_buckets": [{"distinct_range": 0, "num_eq": 800, "num_range": 0, "upper_bound": "55bfa032-ae54-4eb1-9b6f-52b462f3fce5"}, {"distinct_range": 177348660738089500, "num_eq": 10000, "num_range": 647081723313190896, "upper_bound": "69065e92-56ab-42ac-8bd3-b61b173e9ac0"}, {"distinct_range": 1951254297368208100, "num_eq": 800, "num_range": 8522255280181398125, "upper_bound": "a65550c0-e283-43d8-83c3-b37cc2efb837"}, {"distinct_range": 6946793765455232000, "num_eq": 1392866255618266429, "num_range": 8511549951131652019, "upper_bound": "bfcc1063-3863-4e20-a91e-8f53ea855283"}, {"distinct_range": 8957501774947763000, "num_eq": 3000000, "num_range": 8957501774947762904, "upper_bound": "de0896e6-4884-46d6-8075-e0afebf92b5c"}, {"distinct_range": 0, "num_eq": 2833627151101048364, "num_range": 20000000, "upper_bound": "ffffffff-ffff-ffff-ffff-ffffffffffff"}], "histo_col_type": "UUID", "name": "__auto__", "null_count": 0, "row_count": 2975702892473938211}, {"avg_size": 27, "columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2195736910320129989, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2975702892473938211}, {"avg_size": 11, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 964163239071818265, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2975702892473938211}]':::JSONB;
        test_1        |             
        test_1        |         compare_test.go:160: cockroach2: exec: ERROR: cannot inject statistics in an explicit transaction (SQLSTATE XXUUU)
        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:120: exit status 1
--- FAIL: TestComposeCompare (43.60s)
Help

See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)

Same failure on other branches

- #82867 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-master] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-22.2 @ cffe9bc440988894abe9a598ea6b2f15e1b7df93:

Slow failing tests:
TestComposeCompare - 295.00s

Slow passing tests:
<none>
Help

See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)

Same failure on other branches

- #82867 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-master] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-22.2 @ 5bbbb4fefe2cca87aa8dd34c007702bb2faa20ef:

Slow failing tests:
TestComposeCompare - 295.00s

Slow passing tests:
<none>
Help

See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)

Same failure on other branches

- #82867 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-master] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-22.2 @ a3ac132c4210f3f1202adedb344df222726e8e1b:

Slow failing tests:
TestComposeCompare - 295.00s

Slow passing tests:
<none>
Help

See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)

Same failure on other branches

- #82867 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-master] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-22.2 @ 51fb4393c8aee99c366ce3b87de3b9eded8642d3:

Slow failing tests:
TestComposeCompare - 295.00s

Slow passing tests:
<none>
Help

See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)

Same failure on other branches

- #82867 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-master] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-22.2 @ ed1d8f5fc1ca192c32760db860656d1c9133135e:

        test_1        |         compare_test.go:137: initializing connection: postgres
        test_1        |         compare_test.go:188: open /home/agent/work/.go/src/github.com/cockroachdb/cockroach/artifacts/_tmp/018812dfcf0ce383ac3e799915a61396/TestComposeCompare4138060356/002/postgres.log: no such file or directory
        test_1        |         compare_test.go:190: compare cockroach1 to postgres: unexpected diff:
        test_1        |               []any(Inverse(func1, []any{
        test_1        |             -   string("2000-01-01 09:00:02+00:00G"),
        test_1        |             +   string("2000-01-01 09:00:02+00G"),
        test_1        |               }))
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (
        test_1        |                     SELECT
        test_1        |                         (('2000-01-01 09:00:00+00:00':::TIMESTAMPTZ::TIMESTAMPTZ::TIMESTAMPTZ + '00:00:02':::INTERVAL::INTERVAL::INTERVAL)::TIMESTAMPTZ::TIMESTAMPTZ || 'G':::STRING::STRING::STRING)::STRING
        test_1        |                             AS col_39918
        test_1        |                 )
        test_1        |                     AS tab_27971
        test_1        |             ORDER BY
        test_1        |                 col_39918 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 09:00:00+00:00'::TIMESTAMPTZ::TIMESTAMPTZ::TIMESTAMPTZ + '00:00:02'::INTERVAL::INTERVAL::INTERVAL)::TIMESTAMPTZ::TIMESTAMPTZ || 'G'::TEXT::TEXT::TEXT)::TEXT
        test_1        |                             AS col_39918
        test_1        |                 )
        test_1        |                     AS tab_27971
        test_1        |             ORDER BY
        test_1        |                 col_39918 NULLS FIRST;
        test_1        |             
        test_1        |     --- FAIL: TestCompare/mutators (0.17s)
        test_1        |         compare_test.go:128: starting test: mutators
        test_1        |         compare_test.go:137: initializing connection: cockroach1
        test_1        |         compare_test.go:159: CREATE TABLE table2 (col2_0 TIMESTAMPTZ NOT NULL, col2_1 FLOAT8 NOT NULL, col2_2 DATE NOT NULL, col2_3 STRING NOT NULL AS (CASE WHEN col2_0 IS NULL THEN e'``\x03Hhgq':::STRING ELSE e'\x13Yn2':::STRING END) STORED, PRIMARY KEY (col2_1, col2_0 DESC, col2_3), INDEX (col2_1) WHERE (table2.col2_0 != '-4713-11-24 00:00:00+00:00':::TIMESTAMPTZ) AND (table2.col2_3 <= '':::STRING), INDEX (col2_0 DESC, col2_2 ASC, col2_3 DESC, col2_1) WHERE (table2.col2_3 >= '"':::STRING) OR (table2.col2_2 != '-infinity':::DATE), INDEX (col2_1 ASC, col2_0, col2_3 ASC, col2_2), UNIQUE (col2_1, col2_0, col2_3 ASC) STORING (col2_2) PARTITION BY LIST (col2_1) (PARTITION table2_part_0 VALUES IN ((0.5340552071278184:::FLOAT8,), (1.5782647963710987:::FLOAT8,), ((-1.2782935505240833):::FLOAT8,), (0.3477066544897811:::FLOAT8,), (0.056196785489971646:::FLOAT8,), (0.21114467480673937:::FLOAT8,), ((-1.3252754655425143):::FLOAT8,)), PARTITION "DEFAULT" VALUES IN ((DEFAULT,))))
        test_1        |         compare_test.go:160: cockroach1: exec: ERROR: use of partitions requires an enterprise license. see https://cockroachlabs.com/pricing?cluster=789b6a8c-6053-4165-a18c-c681e2e88872 for details on how to enable enterprise features (SQLSTATE XXC02)
        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:120: exit status 1
--- FAIL: TestComposeCompare (62.98s)
Help

See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)

Same failure on other branches

- #82867 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-master] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-22.2 @ 8579361117ff18a4255855a43114ddeb3e3b80c9:

Slow failing tests:
TestComposeCompare - 295.00s

Slow passing tests:
<none>
Help

See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)

Same failure on other branches

- #82867 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-master] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-22.2 @ fc582bd2d43c1dc141077f2fae6da0ca9c23e449:

Slow failing tests:
TestComposeCompare - 295.00s

Slow passing tests:
<none>
Help

See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)

Same failure on other branches

- #82867 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-master] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-22.2 @ c0e9c25661d53e893210a7bfe79257f1c9468f52:

Slow failing tests:
TestComposeCompare - 295.00s

Slow passing tests:
<none>
Help

See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)

Same failure on other branches

- #82867 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-master] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-22.2 @ 794fcfa793016e98a6ebadaaa29444e4661592ba:

Slow failing tests:
TestComposeCompare - 295.00s

Slow passing tests:
<none>
Help

See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)

Same failure on other branches

- #82867 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-master] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-22.2 @ 6df4e8666ccb902b333195bdded59d69307b6050:

        postgres_1    | waiting for server to shut down....2022-10-25 05:17:12.913 UTC [49] LOG:  aborting any active transactions
        postgres_1    | 2022-10-25 05:17:12.915 UTC [49] LOG:  background worker "logical replication launcher" (PID 56) exited with exit code 1
        postgres_1    | 2022-10-25 05:17:12.917 UTC [51] LOG:  shutting down
        postgres_1    | 2022-10-25 05:17:13.030 UTC [49] LOG:  database system is shut down
        postgres_1    |  done
        postgres_1    | server stopped
        postgres_1    | 
        postgres_1    | PostgreSQL init process complete; ready for start up.
        postgres_1    | 
        postgres_1    | 2022-10-25 05:17:13.133 UTC [1] LOG:  starting PostgreSQL 13.5 (Debian 13.5-1.pgdg110+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
        postgres_1    | 2022-10-25 05:17:13.133 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
        postgres_1    | 2022-10-25 05:17:13.133 UTC [1] LOG:  listening on IPv6 address "::", port 5432
        postgres_1    | 2022-10-25 05:17:13.136 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
        postgres_1    | 2022-10-25 05:17:13.141 UTC [68] LOG:  database system was shut down at 2022-10-25 05:17:13 UTC
        postgres_1    | 2022-10-25 05:17:13.146 UTC [1] LOG:  database system is ready to accept connections
        postgres_1    | 2022-10-25 05:17:14.254 UTC [78] ERROR:  syntax error at or near "VISIBLE" at character 145
        postgres_1    | 2022-10-25 05:17:14.254 UTC [78] STATEMENT:  CREATE TABLE table2 (col2_0 OID NOT NULL, col2_1 JSONB NOT NULL, PRIMARY KEY (col2_0), INVERTED INDEX (lower(CAST(col2_1 AS TEXT)), col2_1) NOT VISIBLE);
        postgres_1    |     
        test_1        | --- FAIL: TestCompare (4.49s)
        test_1        |     compare_test.go:119: Checking connection to: postgres
        test_1        |     compare_test.go:119: Checking connection to: cockroach1
        test_1        |     compare_test.go:119: Checking connection to: cockroach2
        test_1        |     --- FAIL: TestCompare/postgres (0.84s)
        test_1        |         compare_test.go:128: starting test: postgres
        test_1        |         compare_test.go:137: initializing connection: cockroach1
        test_1        |         compare_test.go:137: initializing connection: postgres
        test_1        |         compare_test.go:159: CREATE TABLE table2 (col2_0 OID NOT NULL, col2_1 JSONB NOT NULL, PRIMARY KEY (col2_0), INVERTED INDEX (lower(CAST(col2_1 AS TEXT)), col2_1) NOT VISIBLE);
        test_1        |             
        test_1        |         compare_test.go:160: postgres: exec: ERROR: syntax error at or near "VISIBLE" (SQLSTATE 42601)
        test_1        |     --- FAIL: TestCompare/mutators (0.52s)
        test_1        |         compare_test.go:128: starting test: mutators
        test_1        |         compare_test.go:137: initializing connection: cockroach1
        test_1        |         compare_test.go:137: initializing connection: cockroach2
        test_1        |         compare_test.go:159: CREATE TABLE table1 (col1_0 OID NULL, col1_1 GEOGRAPHY NOT NULL, col1_2 STRING NULL AS (lower(CAST(col1_0 AS STRING))) VIRTUAL, INDEX (col1_2) STORING (col1_0, col1_1) WHERE table1.col1_2 > e'\'':::STRING, INDEX (col1_0 ASC) STORING (col1_1) WHERE table1.col1_2 = e'\'':::STRING, INVERTED INDEX (col1_1 ASC) WHERE table1.col1_2 < '':::STRING, FAMILY (col1_1), FAMILY (col1_0));
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"avg_size": 18, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4988845710618718282, "histo_buckets": [{"distinct_range": 0, "num_eq": 6323216086254980243, "num_range": 0, "upper_bound": "283791798"}, {"distinct_range": 8826521610984692000, "num_eq": 9015456475183048, "num_range": 8826521610984691613, "upper_bound": "783359207"}, {"distinct_range": 0, "num_eq": 0, "num_range": 70000000, "upper_bound": "1563348159"}, {"distinct_range": 2712645461437736000, "num_eq": 7014891989519267479, "num_range": 2712645461437735884, "upper_bound": "2298119625"}], "histo_col_type": "OID", "name": "__auto__", "null_count": 650390077002372997, "row_count": 6323467509464423895}, {"avg_size": 9, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3933296219712835578, "histo_buckets": [{"distinct_range": 0, "num_eq": 8849500671360230410, "num_range": 0, "upper_bound": "\\\\x42fd100000000000000000c00921fb54442d18bff690330c120119400921fb54442d183ff8013c43bf7f95"}, {"distinct_range": 54538.8068025259, "num_eq": 5008607845494295320, "num_range": 80000, "upper_bound": "\\\\x42fd100000000000000000c00921fb54442d18bff82bdbf75c5391400921fb54442d183ff8affa2cc29b63"}, {"distinct_range": 0, "num_eq": 40000000, "num_range": 8787737604427311067, "upper_bound": "\\\\x42fd100000000000000000c00921fb54442d18bff8e68636ca8436400921fb54442d183ff868b485f71868"}, {"distinct_range": 0, "num_eq": 4924918620100461382, "num_range": 7474911418037544753, "upper_bound": "\\\\x42fd1400000000000000003fc657184ae744863fb657184ae744673fe921fb54442d173fe921fb54442d1c"}, {"distinct_range": 0, "num_eq": 3325971150317058308, "num_range": 1000000, "upper_bound": "\\\\x42fd300000000000000000c00921fb54442d18bff690330c120119400921fb54442d183ff8013c43bf7f95"}, {"distinct_range": 0, "num_eq": 50000, "num_range": 8561987969691865303, "upper_bound": "\\\\x42fd300000000000000000c00921fb54442d18bff82bdbf75c5391400921fb54442d183ff8affa2cc29b63"}, {"distinct_range": 3000, "num_eq": 20000, "num_range": 3000, "upper_bound": "\\\\x42fd300000000000000000c00921fb54442d18bff8e68636ca8436400921fb54442d183ff868b485f71868"}, {"distinct_range": 837977488518166800, "num_eq": 8846804201779208577, "num_range": 6231157474445745699, "upper_bound": "\\\\x42fd3e1e01d89df61d7d003fc657184ae744863fb657184ae744673fe921fb54442d173fe921fb54442d1c"}, {"distinct_range": 2734647876877665300, "num_eq": 2978034010669476033, "num_range": 3517155603500864498, "upper_bound": "\\\\x42fd3fdf7df8a77df80b003fc657184ae744863fb657184ae744673fe921fb54442d173fe921fb54442d1c"}, {"distinct_range": 40000000000, "num_eq": 2000000, "num_range": 40000000000, "upper_bound": "\\\\x42fd4100000000000000003fc657184ae744863fb657184ae744673fe921fb54442d173fe921fb54442d1c"}, {"distinct_range": 4646571532557645000, "num_eq": 8208226712539507027, "num_range": 4646571532557644316, "upper_bound": "\\\\x42fd4750000000000000003fc657184ae744863fb657184ae744673fe921fb54442d173fe921fb54442d1c"}, {"distinct_range": 10, "num_eq": 3687050114285806533, "num_range": 10, "upper_bound": "\\\\x42fd500000000000000000c00921fb54442d18bff690330c120119400921fb54442d183ff8013c43bf7f95"}, {"distinct_range": 0, "num_eq": 60000000000, "num_range": 3922551905604763222, "upper_bound": "\\\\x42fd500000000000000000c00921fb54442d18bff82bdbf75c5391400921fb54442d183ff8affa2cc29b63"}, {"distinct_range": 90000, "num_eq": 7160384133515859263, "num_range": 90000, "upper_bound": "\\\\x42fd500000000000000000c00921fb54442d18bff8e68636ca8436400921fb54442d183ff868b485f71868"}, {"distinct_range": 0, "num_eq": 3698147823358829022, "num_range": 0, "upper_bound": "\\\\x42fd5cb539d45ea831a9013ff9364df8611d633ff13e732d75cadc"}, {"distinct_range": 358035306.2242157, "num_eq": 30000, "num_range": 1000000000, "upper_bound": "\\\\x42fd6ac162af3a215455004003bc244b1327d2bff2d70478ced66bbfefcf88bc3e13f9bfe2fb4bcea426c7"}, {"distinct_range": 0, "num_eq": 184542042993338790, "num_range": 2660801293909043269, "upper_bound": "\\\\x42fd700000000000000000c00921fb54442d18bff82bdbf75c5391400921fb54442d183ff8affa2cc29b63"}, {"distinct_range": 0, "num_eq": 10, "num_range": 40000000000, "upper_bound": "\\\\x42fd700000000000000000c00921fb54442d18bff8e68636ca8436400921fb54442d183ff868b485f71868"}, {"distinct_range": 80000000, "num_eq": 1000000, "num_range": 80000000, "upper_bound": "\\\\x42fd742bacf8db4f480901c0046e823cacc01cbfd626ac80ba366e"}, {"distinct_range": 696135429847369500, "num_eq": 1564264588782006341, "num_range": 696135429847369527, "upper_bound": "\\\\x42fd900000000000000000c00921fb54442d18bff690330c120119400921fb54442d183ff8013c43bf7f95"}, {"distinct_range": 0, "num_eq": 30000, "num_range": 0, "upper_bound": "\\\\x42fd900000000000000000c00921fb54442d18bff82bdbf75c5391400921fb54442d183ff8affa2cc29b63"}, {"distinct_range": 460938502.0714532, "num_eq": 300000, "num_range": 800000000, "upper_bound": "\\\\x42fd900000000000000000c00921fb54442d18bff8e68636ca8436400921fb54442d183ff868b485f71868"}, {"distinct_range": 2728142591176579600, "num_eq": 1101038296082656914, "num_range": 2728142591176579804, "upper_bound": "\\\\x42fdb00000000000000000c00921fb54442d18bff690330c120119400921fb54442d183ff8013c43bf7f95"}, {"distinct_range": 612861658272551800, "num_eq": 8298270378442741565, "num_range": 1069465499098346405, "upper_bound": "\\\\x42fdb00000000000000000c00921fb54442d18bff82bdbf75c5391400921fb54442d183ff8affa2cc29b63"}, {"distinct_range": 1024772266805432400, "num_eq": 7763015403076429364, "num_range": 2174643466185075957, "upper_bound": "\\\\x42fdb00000000000000000c00921fb54442d18bff8e68636ca8436400921fb54442d183ff868b485f71868"}, {"distinct_range": 3223983667666109000, "num_eq": 8000000, "num_range": 3223983667666108936, "upper_bound": "\\\\x42fdbb9b1f7acda44431004003bc244b1327d2bff2d70478ced66bbfefcf88bc3e13f9bfe2fb4bcea426c7"}, {"distinct_range": 0, "num_eq": 1032838502609082390, "num_range": 341464074370535972, "upper_bound": "\\\\x42fdbc24b9ab3d05e8db004003bc244b1327d2bff2d70478ced66bbfefcf88bc3e13f9bfe2fb4bcea426c7"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 6323467509464423895}, {"avg_size": 26, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3738316792384584980, "histo_buckets": [{"distinct_range": 0, "num_eq": 20000000, "num_range": 0, "upper_bound": "l\\u001c"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 1321266452801195430, "row_count": 6323467509464423895}]':::JSONB;
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"avg_size": 7, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 176117081, "histo_buckets": [{"distinct_range": 0, "num_eq": 80000000, "num_range": 0, "upper_bound": "1009724162"}, {"distinct_range": 3817654373962441700, "num_eq": 6522689465801476082, "num_range": 5119035495235207410, "upper_bound": "3033164357"}], "histo_col_type": "OID", "name": "__auto__", "null_count": 179839848, "row_count": 200000000}, {"avg_size": 28, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 56703003, "histo_buckets": [{"distinct_range": 0, "num_eq": 300, "num_range": 0, "upper_bound": "\\\\x42fd0555555555555555000000000000000000bcc8359da74dbfe43f91df46a2529d393f91df7339a0de24"}, {"distinct_range": 5000000000, "num_eq": 2293836147172498154, "num_range": 5000000000, "upper_bound": "\\\\x42fd0fff000000000000000000000000000000bcc8359da74dbfe43f91df46a2529d393f91df7339a0de24"}, {"distinct_range": 0, "num_eq": 1000, "num_range": 8162611689774976435, "upper_bound": "\\\\x42fd100000000000000000bfeed436c860206ebff329ec5195c0b4400532414a6c28083ff45d324dca41a3"}, {"distinct_range": 0, "num_eq": 3388028763889402532, "num_range": 0, "upper_bound": "\\\\x42fd100000000000000000c0054efe1939a036bff8ef5069117d653ff4a31d8e019e643ff53f17d05e8053"}, {"distinct_range": 783335307294400900, "num_eq": 6914580523649987055, "num_range": 825085711369315347, "upper_bound": "\\\\x42fd100000000000000000c00921fb54442d18bff91d57e2e5ed40400921fb54442d183ff8d10d3badeca9"}, {"distinct_range": 431592.8067258296, "num_eq": 2968479095616535221, "num_range": 700000, "upper_bound": "\\\\x42fd1001000000000000000000000000000000bcc8359da74dbfe43f91df46a2529d393f91df7339a0de24"}, {"distinct_range": 617947658306373000, "num_eq": 10000000000, "num_range": 7182400615700065913, "upper_bound": "\\\\x42fd1aab000000000000000000000000000000bcc8359da74dbfe43f91df46a2529d393f91df7339a0de24"}, {"distinct_range": 0, "num_eq": 20000, "num_range": 200, "upper_bound": "\\\\x42fd300000000000000000bfeed436c860206ebff329ec5195c0b4400532414a6c28083ff45d324dca41a3"}, {"distinct_range": 0, "num_eq": 600000000, "num_range": 90, "upper_bound": "\\\\x42fd300000000000000000c00921fb54442d18bff91d57e2e5ed40400921fb54442d183ff8d10d3badeca9"}, {"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "\\\\x42fd4c0000000000000000bfeed436c860206ebff329ec5195c0b4400532414a6c28083ff45d324dca41a3"}, {"distinct_range": 146043599746322050, "num_eq": 80000000, "num_range": 785470435894219203, "upper_bound": "\\\\x42fd500000000000000000c0054efe1939a036bff8ef5069117d653ff4a31d8e019e643ff53f17d05e8053"}, {"distinct_range": 3486438368468645000, "num_eq": 100000000, "num_range": 3486438368468644769, "upper_bound": "\\\\x42fd500000000000000000c00921fb54442d18bff91d57e2e5ed40400921fb54442d183ff8d10d3badeca9"}, {"distinct_range": 0, "num_eq": 90, "num_range": 3659972917628145281, "upper_bound": "\\\\x42fd700000000000000000c0054efe1939a036bff8ef5069117d653ff4a31d8e019e643ff53f17d05e8053"}, {"distinct_range": 0, "num_eq": 3838367349695233089, "num_range": 7136157729173640067, "upper_bound": "\\\\x42fd700000000000000000c00921fb54442d18bff91d57e2e5ed40400921fb54442d183ff8d10d3badeca9"}, {"distinct_range": 9000000000, "num_eq": 5000000, "num_range": 9000000000, "upper_bound": "\\\\x42fd900000000000000000c0054efe1939a036bff8ef5069117d653ff4a31d8e019e643ff53f17d05e8053"}, {"distinct_range": 0, "num_eq": 700000, "num_range": 630282566744123545, "upper_bound": "\\\\x42fd900000000000000000c00921fb54442d18bff91d57e2e5ed40400921fb54442d183ff8d10d3badeca9"}, {"distinct_range": 0, "num_eq": 1421670174522599767, "num_range": 8000000, "upper_bound": "\\\\x42fdac0000000000000000bfeed436c860206ebff329ec5195c0b4400532414a6c28083ff45d324dca41a3"}, {"distinct_range": 22128061.97900788, "num_eq": 2836330319224767104, "num_range": 40000000, "upper_bound": "\\\\x42fdb00000000000000000c0054efe1939a036bff8ef5069117d653ff4a31d8e019e643ff53f17d05e8053"}, {"distinct_range": 4836733775326835000, "num_eq": 381040478051094250, "num_range": 5677404118611210604, "upper_bound": "\\\\x42fdb00000000000000000c00921fb54442d18bff91d57e2e5ed40400921fb54442d183ff8d10d3badeca9"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 200000000}, {"avg_size": 31, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 148143733, "histo_buckets": [{"distinct_range": 0, "num_eq": 7000, "num_range": 0, "upper_bound": "\\u0003Xy"}, {"distinct_range": 5506458923224524000, "num_eq": 80, "num_range": 5506458923224523967, "upper_bound": "\\rSf(F"}, {"distinct_range": 404053961.9838877, "num_eq": 4256139894194539100, "num_range": 500000000, "upper_bound": "\\u000ft\\\\bZb\\u0007A("}, {"distinct_range": 6563040369055718000, "num_eq": 4716354359418553919, "num_range": 7267846107055410857, "upper_bound": "4\\u0006"}, {"distinct_range": 1989645559981065000, "num_eq": 100000000, "num_range": 1989645559981064848, "upper_bound": "8K\\u0018)]Dw"}, {"distinct_range": 197105.3113096628, "num_eq": 7630197031983079319, "num_range": 500000, "upper_bound": "9U\\"{DH"}, {"distinct_range": 82621.42363346164, "num_eq": 5755556028042344899, "num_range": 90000, "upper_bound": "K\\u0014)<\\u0003f"}, {"distinct_range": 8000, "num_eq": 3225568172458834379, "num_range": 8000, "upper_bound": "V\\u0016EG"}, {"distinct_range": 375742766184227140, "num_eq": 2000000000, "num_range": 2606285293837591245, "upper_bound": "q-H"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 175400968, "row_count": 200000000}]':::JSONB;
        test_1        |             
        test_1        |         compare_test.go:160: cockroach2: exec: ERROR: cannot inject statistics in an explicit transaction (SQLSTATE XXUUU)
        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:120: exit status 1
--- FAIL: TestComposeCompare (21.71s)
Help

See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)

Same failure on other branches

- #82867 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-master] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-22.2 @ 890b681dd5bb2c5ebabb06d89aed131af0b50fe8:

Slow failing tests:
TestComposeCompare - 295.00s

Slow passing tests:
<none>
Help

See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)

Same failure on other branches

- #82867 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-master] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-22.2 @ 4816df3a9d76d179ed135a2b1efb53babb5611a0:

Slow failing tests:
TestComposeCompare - 295.00s

Slow passing tests:
<none>
Help

See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)

Same failure on other branches

- #82867 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-master] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-22.2 @ f4fcfbc486a884d52532f1f8eacf8e0ad3d9749c:

Slow failing tests:
TestComposeCompare - 295.00s

Slow passing tests:
<none>
Help

See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)

Same failure on other branches

- #82867 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-master] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]

This test on roachdash | Improve this report!

cockroach-teamcity commented 2 years ago

compose.TestComposeCompare failed with artifacts on release-22.2 @ 59ae2e3a3e1bf493831e129e280da1c45b803cdf:

Slow failing tests:
TestComposeCompare - 295.08s

Slow passing tests:
<none>
Help

See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)

Same failure on other branches

- #82867 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-master] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]

This test on roachdash | Improve this report!

cockroach-teamcity commented 1 year ago

compose.TestComposeCompare failed with artifacts on release-22.2 @ 59ae2e3a3e1bf493831e129e280da1c45b803cdf:

        test_1        |         compare_test.go:128: starting test: postgres
        test_1        |         compare_test.go:137: initializing connection: cockroach1
        test_1        |         compare_test.go:137: initializing connection: postgres
        test_1        |         compare_test.go:188: open /home/agent/work/.go/src/github.com/cockroachdb/cockroach/artifacts/_tmp/018812dfcf0ce383ac3e799915a61396/TestComposeCompare2375503517/002/postgres.log: no such file or directory
        test_1        |         compare_test.go:190: compare cockroach1 to postgres: unexpected diff:
        test_1        |               []any(Inverse(func1, []any{
        test_1        |             -   nil,
        test_1        |             +   bool(true),
        test_1        |                 uint32(1),
        test_1        |               }))
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (
        test_1        |                     SELECT
        test_1        |                         overlaps('00:08:00':::TIME::TIME::TIME, '00:03:00':::TIME::TIME::TIME, NULL::TIME::TIME, '00:06:00':::TIME::TIME::TIME)::BOOL
        test_1        |                             AS col_278103,
        test_1        |                         1:::OID::OID AS col_278104
        test_1        |                 )
        test_1        |                     AS tab_151922
        test_1        |             ORDER BY
        test_1        |                 col_278103 NULLS FIRST, col_278104 NULLS FIRST;
        test_1        |             
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (
        test_1        |                     SELECT
        test_1        |                         overlaps('00:08:00'::TIME::TIME::TIME, '00:03:00'::TIME::TIME::TIME, NULL::TIME::TIME, '00:06:00'::TIME::TIME::TIME)::BOOL
        test_1        |                             AS col_278103,
        test_1        |                         1::OID::OID AS col_278104
        test_1        |                 )
        test_1        |                     AS tab_151922
        test_1        |             ORDER BY
        test_1        |                 col_278103 NULLS FIRST, col_278104 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:120: exit status 1
--- FAIL: TestComposeCompare (216.99s)
Help

See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)

Same failure on other branches

- #82867 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-master] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]

This test on roachdash | Improve this report!

cockroach-teamcity commented 1 year ago

compose.TestComposeCompare failed with artifacts on release-22.2 @ 59ae2e3a3e1bf493831e129e280da1c45b803cdf:

        postgres_1    | CREATE EXTENSION
        postgres_1    | CREATE EXTENSION
        postgres_1    | CREATE EXTENSION
        postgres_1    | 
        postgres_1    | waiting for server to shut down....2022-10-31 05:17:33.337 UTC [49] LOG:  received fast shutdown request
        postgres_1    | 2022-10-31 05:17:33.339 UTC [49] LOG:  aborting any active transactions
        postgres_1    | 2022-10-31 05:17:33.341 UTC [49] LOG:  background worker "logical replication launcher" (PID 56) exited with exit code 1
        postgres_1    | 2022-10-31 05:17:33.343 UTC [51] LOG:  shutting down
        postgres_1    | 2022-10-31 05:17:33.446 UTC [49] LOG:  database system is shut down
        postgres_1    |  done
        postgres_1    | server stopped
        postgres_1    | 
        postgres_1    | PostgreSQL init process complete; ready for start up.
        postgres_1    | 
        postgres_1    | 2022-10-31 05:17:33.560 UTC [1] LOG:  starting PostgreSQL 13.5 (Debian 13.5-1.pgdg110+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
        postgres_1    | 2022-10-31 05:17:33.560 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
        postgres_1    | 2022-10-31 05:17:33.560 UTC [1] LOG:  listening on IPv6 address "::", port 5432
        postgres_1    | 2022-10-31 05:17:33.564 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
        postgres_1    | 2022-10-31 05:17:33.570 UTC [68] LOG:  database system was shut down at 2022-10-31 05:17:33 UTC
        postgres_1    | 2022-10-31 05:17:33.575 UTC [1] LOG:  database system is ready to accept connections
        test_1        | --- FAIL: TestCompare (3.84s)
        test_1        |     compare_test.go:119: Checking connection to: postgres
        test_1        |     compare_test.go:119: Checking connection to: cockroach1
        test_1        |     compare_test.go:119: Checking connection to: cockroach2
        test_1        |     --- FAIL: TestCompare/postgres (0.20s)
        test_1        |         compare_test.go:128: starting test: postgres
        test_1        |         compare_test.go:137: initializing connection: cockroach1
        test_1        |         compare_test.go:159: CREATE TABLE table5 (col5_0 UUID NOT NULL, col5_1 REGROLE NULL, col5_2 DECIMAL NOT NULL, col5_3 REGPROCEDURE, col5_4 INT4 NULL, col5_5 REGPROC, col5_6 UUID NOT NULL, col5_7 REGCLASS, col5_8 TIMETZ NOT NULL, col5_9 TIMESTAMP[] NULL, col5_10 INTERVAL NULL, col5_11 INT4 NOT NULL, INVERTED INDEX (col5_3 ASC, col5_9) PARTITION BY LIST (col5_3) (PARTITION table5_part_0 VALUES IN ((1019469913:::OID,), (3925942079:::OID,)), PARTITION table5_part_1 VALUES IN ((3640800099:::OID,), (2690618457:::OID,)), PARTITION table5_part_2 VALUES IN ((3219457652:::OID,), (1685289025:::OID,)), PARTITION table5_part_3 VALUES IN ((4136424604:::OID,), (2420388841:::OID,))))
        test_1        |         compare_test.go:160: cockroach1: exec: ERROR: use of partitions requires an enterprise license. see https://cockroachlabs.com/pricing?cluster=337fdb13-5d4b-47e3-a676-1076cb3f8f9f for details on how to enable enterprise features (SQLSTATE XXC02)
        test_1        |     --- FAIL: TestCompare/mutators (0.51s)
        test_1        |         compare_test.go:128: starting test: mutators
        test_1        |         compare_test.go:137: initializing connection: cockroach1
        test_1        |         compare_test.go:137: initializing connection: cockroach2
        test_1        |         compare_test.go:159: CREATE TABLE table1 (col1_0 INT8 NOT NULL, col1_1 REGPROC NULL, col1_2 DATE, col1_3 BIT(11) NOT NULL, col1_4 TIMESTAMPTZ NOT NULL, col1_5 TIMESTAMP NOT NULL, col1_6 DATE NOT NULL, col1_7 REGNAMESPACE, col1_8 NAME NOT NULL, col1_9 GEOMETRY, col1_10 GEOMETRY NOT NULL, col1_11 STRING AS (CASE WHEN col1_7 IS NULL THEN e'ut|\x13lK':::STRING ELSE e'\x1b':::STRING END) VIRTUAL, col1_12 STRING AS (CASE WHEN col1_7 IS NULL THEN '':::STRING ELSE NULL END) VIRTUAL, col1_13 STRING NOT NULL AS (lower(col1_8)) STORED, INDEX (col1_8, col1_3 DESC, col1_0, col1_6, col1_2 DESC) STORING (col1_1, col1_4, col1_7, col1_9, col1_13) WHERE ((((((((table1.col1_5 < '-4713-11-24 00:00:00':::TIMESTAMP) OR (table1.col1_8 >= e'\U00002603':::STRING:::NAME)) AND (table1.col1_6 >= '1970-01-01':::DATE)) OR (table1.col1_4 != '-4713-11-24 00:00:00+00:00':::TIMESTAMPTZ)) OR (table1.col1_2 = 'infinity':::DATE)) AND (table1.col1_12 > '':::STRING)) OR (table1.col1_0 = 127:::INT8)) OR (table1.col1_11 < '"':::STRING)) OR (table1.col1_13 = '"':::STRING), INVERTED INDEX (col1_4 ASC, col1_5, col1_8 DESC, col1_7, col1_11 ASC, col1_10 ASC) WHERE ((((((((table1.col1_2 != '5874897-12-31':::DATE) AND (table1.col1_8 < 'X':::STRING:::NAME)) AND (table1.col1_6 >= '-infinity':::DATE)) OR (table1.col1_13 = e'\x00':::STRING)) AND (table1.col1_5 > '0001-01-01 00:00:00':::TIMESTAMP)) AND (table1.col1_0 != (-128):::INT8)) OR (table1.col1_11 < e'\U00002603':::STRING)) AND (table1.col1_4 != '-4713-11-24 00:00:00+00:00':::TIMESTAMPTZ)) OR (table1.col1_12 < 'X':::STRING), INDEX (col1_1 ASC, col1_0 ASC, col1_3, (CASE WHEN col1_6 IS NULL THEN e'azV*\tL':::STRING ELSE e'\x06\x10M':::STRING END) ASC) STORING (col1_6, col1_7, col1_9) WHERE (((((((table1.col1_6 <= '1970-01-01':::DATE) OR (table1.col1_8 <= 'X':::STRING:::NAME)) AND (table1.col1_13 <= e'\U00002603':::STRING)) OR (table1.col1_11 != e'\x00':::STRING)) AND (table1.col1_5 != '3000-01-01 00:00:00':::TIMESTAMP)) OR (table1.col1_0 < (-1):::INT8)) AND (table1.col1_12 < '"':::STRING)) AND (table1.col1_2 <= '5874897-12-31':::DATE), INVERTED INDEX (col1_2 ASC, col1_12 ASC, (CASE WHEN col1_6 IS NULL THEN e'\t1Un':::STRING ELSE e'\x14S\x0b':::STRING END) DESC, col1_4 DESC, col1_5 ASC, col1_10) WHERE ((((((((table1.col1_0 = (-1):::INT8) AND (table1.col1_8 > e'\x00':::STRING:::NAME)) OR (table1.col1_5 >= '3000-01-01 00:00:00':::TIMESTAMP)) AND (table1.col1_6 = '5874897-12-31':::DATE)) OR (table1.col1_13 = e'\U00002603':::STRING)) AND (table1.col1_4 = '-4713-11-24 00:00:00+00:00':::TIMESTAMPTZ)) OR (table1.col1_12 < '"':::STRING)) OR (table1.col1_2 > '4714-11-24 BC':::DATE)) AND (table1.col1_11 != 'X':::STRING), INDEX (col1_12 ASC, (CASE WHEN col1_7 IS NULL THEN e'y&\n':::STRING ELSE '<BnK1+#':::STRING END) DESC) WHERE table1.col1_4 = '3000-01-01 00:00:00+00:00':::TIMESTAMPTZ NOT VISIBLE, FAMILY (col1_8), FAMILY (col1_10, col1_9, col1_0, col1_4), FAMILY (col1_3, col1_5, col1_2), FAMILY (col1_6, col1_7, col1_13, col1_1));
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"avg_size": 11, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 391579739, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 400000000}, {"avg_size": 4, "columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 78679444, "histo_buckets": [{"distinct_range": 0, "num_eq": 2231002414729092027, "num_range": 0, "upper_bound": "1988-05-09 15:12:07.000667+00:00"}, {"distinct_range": 0, "num_eq": 1000, "num_range": 2510582699391141889, "upper_bound": "1993-11-22 07:01:51.000708+00:00"}, {"distinct_range": 7785598286393954000, "num_eq": 400, "num_range": 7785598286393954800, "upper_bound": "1995-11-17 16:18:02.000125+00:00"}, {"distinct_range": 50000, "num_eq": 916194095829845512, "num_range": 50000, "upper_bound": "2000-08-11 21:10:35.000411+00:00"}, {"distinct_range": 0, "num_eq": 8725271195673897332, "num_range": 6754732704417444512, "upper_bound": "2008-02-09 07:15:41.000733+00:00"}, {"distinct_range": 2507.44193327949, "num_eq": 4000000000, "num_range": 5000, "upper_bound": "2013-11-03 02:35:02.000301+00:00"}, {"distinct_range": 3230501765853361000, "num_eq": 30000000000, "num_range": 4871532347051668969, "upper_bound": "2031-04-11 17:03:25.000004+00:00"}, {"distinct_range": 0, "num_eq": 100, "num_range": 716355294501773302, "upper_bound": "2031-05-05 00:04:08.000293+00:00"}], "histo_col_type": "TIMESTAMPTZ", "name": "__auto__", "null_count": 0, "row_count": 400000000}, {"avg_size": 12, "columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 377805090, "histo_buckets": [{"distinct_range": 0, "num_eq": 673424251092119638, "num_range": 0, "upper_bound": "!k\\\\8?\\u0008"}, {"distinct_range": 4157446981310774300, "num_eq": 0, "num_range": 7275216491657530235, "upper_bound": "r(\\u0013-"}], "histo_col_type": "NAME", "name": "__auto__", "null_count": 0, "row_count": 400000000}, {"avg_size": 6, "columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 338184401, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 400000000}, {"avg_size": 23, "columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 369665818, "histo_buckets": [{"distinct_range": 0, "num_eq": 6010586225522897973, "num_range": 0, "upper_bound": ""}, {"distinct_range": 0, "num_eq": 300000000, "num_range": 100000, "upper_bound": "\\u0000"}, {"distinct_range": 10000000000, "num_eq": 5538684850410544858, "num_range": 10000000000, "upper_bound": "\\u0002)M\\t\\u0007.K"}, {"distinct_range": 5872147431497965000, "num_eq": 700000, "num_range": 8932381014101012551, "upper_bound": "L"}, {"distinct_range": 95281030963555950, "num_eq": 5161239514494600294, "num_range": 125172235513078272, "upper_bound": "i "}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 285206974, "row_count": 400000000}, {"avg_size": 19, "columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 68319104, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 400000000}, {"avg_size": 7, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 85213515, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 400000000}, {"avg_size": 6, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 326693346, "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 295306735, "row_count": 400000000}, {"avg_size": 0, "columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 215320615, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 400000000}, {"avg_size": 27, "columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 55262147, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 400000000}, {"avg_size": 8, "columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 127222104, "histo_col_type": "", "name": "__auto__", "null_count": 302675566, "row_count": 400000000}, {"avg_size": 31, "columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 63596525, "histo_col_type": "", "name": "__auto__", "null_count": 374255054, "row_count": 400000000}, {"avg_size": 11, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 265455189, "histo_buckets": [{"distinct_range": 0, "num_eq": 70000000000, "num_range": 0, "upper_bound": "1976-09-05"}, {"distinct_range": 0, "num_eq": 300, "num_range": 900000000, "upper_bound": "1977-12-14"}, {"distinct_range": 0, "num_eq": 509443191384333634, "num_range": 4921268153612224773, "upper_bound": "1980-12-13"}, {"distinct_range": 1149800218818384500, "num_eq": 9000000000, "num_range": 1149800218818384528, "upper_bound": "1981-04-13"}, {"distinct_range": 5000000, "num_eq": 100, "num_range": 5000000, "upper_bound": "1983-02-05"}, {"distinct_range": 0, "num_eq": 60000000, "num_range": 3000000, "upper_bound": "1989-02-12"}, {"distinct_range": 3503927587868739000, "num_eq": 8399196087350093487, "num_range": 3503927587868739172, "upper_bound": "1989-12-04"}, {"distinct_range": 4314127046366010400, "num_eq": 10000, "num_range": 4314127046366010422, "upper_bound": "1994-12-15"}], "histo_col_type": "DATE", "name": "__auto__", "null_count": 251688653, "row_count": 400000000}, {"avg_size": 20, "columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 268184828, "histo_col_type": "", "name": "__auto__", "null_count": 71627486, "row_count": 400000000}]':::JSONB;
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"avg_size": 27, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3128626, "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 5619700, "row_count": 7000000}, {"avg_size": 11, "columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4777797, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7000000}, {"avg_size": 3, "columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2481435, "histo_col_type": "NAME", "name": "__auto__", "null_count": 0, "row_count": 7000000}, {"avg_size": 21, "columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1614863, "histo_buckets": [{"distinct_range": 0, "num_eq": 1486170583364535707, "num_range": 0, "upper_bound": ""}, {"distinct_range": 8000, "num_eq": 3224864500931244779, "num_range": 8000, "upper_bound": "\\t\\n7"}, {"distinct_range": 8336908431306753000, "num_eq": 2000000000, "num_range": 8336908431306753291, "upper_bound": "H"}, {"distinct_range": 4367368059410011000, "num_eq": 800000000, "num_range": 8550091887958055921, "upper_bound": "Jdekw"}, {"distinct_range": 0, "num_eq": 4968125844203189943, "num_range": 4000000000, "upper_bound": "m!\\u001e"}, {"distinct_range": 0, "num_eq": 2498312373432755313, "num_range": 5755624214198601076, "upper_bound": "q_9La!"}, {"distinct_range": 0, "num_eq": 7860597019625058784, "num_range": 0, "upper_bound": "q{&y!xdG\\u0004"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 6305310, "row_count": 7000000}, {"avg_size": 1, "columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4692822, "histo_buckets": [{"distinct_range": 0, "num_eq": 6336468410987066595, "num_range": 0, "upper_bound": "0001-01-01 00:00:00+00:00"}, {"distinct_range": 62833976.916292, "num_eq": 50000000, "num_range": 600000000, "upper_bound": "1991-06-08 21:10:50.000277+00:00"}, {"distinct_range": 0, "num_eq": 20000, "num_range": 5211544428733828665, "upper_bound": "1999-05-30 03:55:40.000625+00:00"}, {"distinct_range": 0, "num_eq": 3983001040237345146, "num_range": 7346491131829783084, "upper_bound": "2006-01-30 14:29:01.000803+00:00"}], "histo_col_type": "TIMESTAMPTZ", "name": "__auto__", "null_count": 0, "row_count": 7000000}, {"avg_size": 14, "columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5810213, "histo_col_type": "", "name": "__auto__", "null_count": 6661119, "row_count": 7000000}, {"avg_size": 20, "columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5270171, "histo_col_type": "", "name": "__auto__", "null_count": 4042050, "row_count": 7000000}, {"avg_size": 23, "columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2127942, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7000000}, {"avg_size": 27, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5622470, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7000000}, {"avg_size": 28, "columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4574752, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7000000}, {"avg_size": 25, "columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4260788, "histo_col_type": "", "name": "__auto__", "null_count": 6342367, "row_count": 7000000}, {"avg_size": 21, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1816767, "histo_col_type": "", "name": "__auto__", "null_count": 4201118, "row_count": 7000000}, {"avg_size": 1, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 701932, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7000000}, {"avg_size": 5, "columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 63560, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7000000}]':::JSONB;
        test_1        |             
        test_1        |         compare_test.go:160: cockroach2: exec: ERROR: cannot inject statistics in an explicit transaction (SQLSTATE XXUUU)
        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:120: exit status 1
--- FAIL: TestComposeCompare (22.98s)
Help

See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)

Same failure on other branches

- #82867 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-master] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]

This test on roachdash | Improve this report!

cockroach-teamcity commented 1 year ago

compose.TestComposeCompare failed with artifacts on release-22.2 @ fe99dbf5702d1dedeb97d0bac7cb646dc2ec379c:

Slow failing tests:
TestComposeCompare - 295.00s

Slow passing tests:
<none>
Help

See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)

Same failure on other branches

- #82867 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-master] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]

This test on roachdash | Improve this report!

cockroach-teamcity commented 1 year ago

compose.TestComposeCompare failed with artifacts on release-22.2 @ e45af1dbfe0c06aecfc7b5ee69cc176411ddfbd5:

Slow failing tests:
TestComposeCompare - 295.00s

Slow passing tests:
<none>
Help

See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)

Same failure on other branches

- #82867 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-master] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]

This test on roachdash | Improve this report!

cockroach-teamcity commented 1 year ago

compose.TestComposeCompare failed with artifacts on release-22.2 @ 8afb672bdbe2510330208e5b22f76494a5b3b3d9:

Slow failing tests:
TestComposeCompare - 295.00s

Slow passing tests:
<none>
Help

See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)

Same failure on other branches

- #82867 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-master] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]

This test on roachdash | Improve this report!

cockroach-teamcity commented 1 year ago

compose.TestComposeCompare failed with artifacts on release-22.2 @ 3acf4ebe119d402fa52688b3c31e2f16be0a6140:

Slow failing tests:
TestComposeCompare - 295.00s

Slow passing tests:
<none>
Help

See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)

Same failure on other branches

- #82867 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-master] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]

This test on roachdash | Improve this report!

cockroach-teamcity commented 1 year ago

compose.TestComposeCompare failed with artifacts on release-22.2 @ fc7a9c040029eeac0791db653f1d13a3cbda4e76:

Slow failing tests:
TestComposeCompare - 295.00s

Slow passing tests:
<none>
Help

See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)

Same failure on other branches

- #82867 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-master] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]

This test on roachdash | Improve this report!

cockroach-teamcity commented 1 year ago

compose.TestComposeCompare failed with artifacts on release-22.2 @ 1c30a38d67eb6a9fea51082937de24cb15c1eead:

        test_1        |     compare_test.go:119: Checking connection to: postgres
        test_1        |     compare_test.go:119: Checking connection to: cockroach1
        test_1        |     compare_test.go:119: Checking connection to: cockroach2
        test_1        |     --- FAIL: TestCompare/postgres (260.08s)
        test_1        |         compare_test.go:128: starting test: postgres
        test_1        |         compare_test.go:137: initializing connection: cockroach1
        test_1        |         compare_test.go:137: initializing connection: postgres
        test_1        |         compare_test.go:188: open /home/agent/work/.go/src/github.com/cockroachdb/cockroach/artifacts/_tmp/018812dfcf0ce383ac3e799915a61396/TestComposeCompare1148161467/002/postgres.log: no such file or directory
        test_1        |         compare_test.go:190: compare postgres to cockroach1: unexpected diff:
        test_1        |               []any(Inverse(func1, []any{
        test_1        |             -   string("010100000000000000008036C00000000000E05040"),
        test_1        |             +   nil,
        test_1        |               }))
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (SELECT st_pointfromgeohash('G'::TEXT::TEXT::TEXT, NULL::INT4::INT4)::GEOMETRY AS col_341806) AS tab_174417
        test_1        |             ORDER BY
        test_1        |                 col_341806 NULLS FIRST;
        test_1        |             
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (SELECT st_pointfromgeohash('G':::STRING::STRING::STRING, NULL::INT4::INT4)::GEOMETRY AS col_341806) AS tab_174417
        test_1        |             ORDER BY
        test_1        |                 col_341806 NULLS FIRST;
        test_1        |             
        test_1        |     --- FAIL: TestCompare/mutators (0.42s)
        test_1        |         compare_test.go:128: starting test: mutators
        test_1        |         compare_test.go:137: initializing connection: cockroach1
        test_1        |         compare_test.go:137: initializing connection: cockroach2
        test_1        |         compare_test.go:159: CREATE TABLE table1 (col1_0 REGCLASS NULL, col1_1 UUID NOT NULL, col1_2 REGTYPE NULL, col1_3 FLOAT8 NOT NULL, col1_4 TIMESTAMPTZ, col1_5 VARCHAR NULL, col1_6 INTERVAL NOT NULL, col1_7 DATE NOT NULL, col1_8 TIMESTAMP, col1_9 REGROLE NOT NULL, col1_10 STRING AS (CASE WHEN col1_8 IS NULL THEN 'J"':::STRING ELSE e'M\x1c;?;C':::STRING END) STORED, col1_11 STRING NULL AS (CASE WHEN col1_2 IS NULL THEN 'f':::STRING ELSE 'Sn ':::STRING END) VIRTUAL, col1_12 STRING NOT NULL AS (CASE WHEN col1_6 IS NULL THEN '<':::STRING ELSE '&r+4':::STRING END) VIRTUAL, col1_13 STRING NOT NULL AS (lower(CAST(col1_1 AS STRING))) STORED, col1_14 STRING NULL AS (CASE WHEN col1_2 IS NULL THEN e'\b\x01m\n\\gn':::STRING ELSE '':::STRING END) VIRTUAL, col1_15 STRING NOT NULL AS (CASE WHEN col1_6 IS NULL THEN e'\x0e,v\x1c>':::STRING ELSE '=':::STRING END) VIRTUAL, col1_16 STRING AS (CASE WHEN col1_9 IS NULL THEN e'=E\x07?k``\x1d,':::STRING ELSE NULL END) STORED, PRIMARY KEY (col1_7 DESC, col1_6 ASC, col1_1 DESC, col1_9 ASC, col1_15 ASC), INDEX (col1_10, col1_4 DESC) WHERE ((((((((((table1.col1_13 = 'X':::STRING) OR (table1.col1_8 < '294276-12-31 23:59:59.999999':::TIMESTAMP)) AND (table1.col1_3 >= 3.4028234663852886e+38:::FLOAT8)) AND (table1.col1_5 > e'\'':::STRING)) AND (table1.col1_4 != '294276-12-31 23:59:59.999999+00:00':::TIMESTAMPTZ)) OR (table1.col1_16 != e'\U00002603':::STRING)) AND (table1.col1_15 <= e'\'':::STRING)) AND (table1.col1_10 = '"':::STRING)) OR (table1.col1_14 >= 'X':::STRING)) OR (table1.col1_12 = '"':::STRING)) OR (table1.col1_7 >= '4714-11-24 BC':::DATE), FAMILY (col1_5), FAMILY (col1_9, col1_7, col1_0), FAMILY (col1_13, col1_1), FAMILY (col1_6), FAMILY (col1_10), FAMILY (col1_3), FAMILY (col1_4), FAMILY (col1_16), FAMILY (col1_2), FAMILY (col1_8));
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"avg_size": 11, "columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 448, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000}, {"avg_size": 11, "columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 460, "histo_col_type": "", "name": "__auto__", "null_count": 406, "row_count": 1000}, {"avg_size": 20, "columns": ["col1_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 735, "histo_col_type": "", "name": "__auto__", "null_count": 834, "row_count": 1000}, {"avg_size": 16, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 95, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000}, {"avg_size": 9, "columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 486, "histo_col_type": "", "name": "__auto__", "null_count": 275, "row_count": 1000}, {"avg_size": 30, "columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 317, "histo_col_type": "", "name": "__auto__", "null_count": 328, "row_count": 1000}, {"avg_size": 30, "columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 10, "histo_col_type": "", "name": "__auto__", "null_count": 593, "row_count": 1000}, {"avg_size": 3, "columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 296, "histo_col_type": "", "name": "__auto__", "null_count": 812, "row_count": 1000}, {"avg_size": 15, "columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 285, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000}, {"avg_size": 8, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 343, "histo_col_type": "", "name": "__auto__", "null_count": 977, "row_count": 1000}, {"avg_size": 18, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 137, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000}, {"avg_size": 11, "columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 670, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000}, {"avg_size": 3, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 700, "histo_col_type": "", "name": "__auto__", "null_count": 532, "row_count": 1000}, {"avg_size": 3, "columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 504, "histo_buckets": [{"distinct_range": 0, "num_eq": 4870067260879302293, "num_range": 0, "upper_bound": "1991-01-01"}], "histo_col_type": "DATE", "name": "__auto__", "null_count": 0, "row_count": 1000}, {"avg_size": 21, "columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 324, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000}, {"avg_size": 6, "columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 868, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000}, {"avg_size": 17, "columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 759, "histo_col_type": "", "name": "__auto__", "null_count": 331, "row_count": 1000}]':::JSONB;
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"avg_size": 0, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 73, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 80}, {"avg_size": 2, "columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 35, "histo_col_type": "DATE", "name": "__auto__", "null_count": 0, "row_count": 80}, {"avg_size": 8, "columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 76, "histo_col_type": "", "name": "__auto__", "null_count": 2, "row_count": 80}, {"avg_size": 10, "columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 66, "histo_buckets": [{"distinct_range": 0, "num_eq": 60000000, "num_range": 0, "upper_bound": "``HP\\u0016"}, {"distinct_range": 2835025325358187500, "num_eq": 1468559396863366767, "num_range": 2835025325358187608, "upper_bound": "eF\\u0008c]$m^K"}, {"distinct_range": 8673420951921212000, "num_eq": 4800643690045628800, "num_range": 8673420951921212695, "upper_bound": "i\\u0002z"}, {"distinct_range": 97941468.08048008, "num_eq": 2000000, "num_range": 500000000, "upper_bound": "z41S\\u0011"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 51, "row_count": 80}, {"avg_size": 5, "columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 77, "histo_col_type": "", "name": "__auto__", "null_count": 52, "row_count": 80}, {"avg_size": 16, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 52, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 80}, {"avg_size": 9, "columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 21, "histo_col_type": "", "name": "__auto__", "null_count": 40, "row_count": 80}, {"avg_size": 5, "columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 79, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 80}, {"avg_size": 8, "columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 80}, {"avg_size": 12, "columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 54, "histo_col_type": "", "name": "__auto__", "null_count": 77, "row_count": 80}, {"avg_size": 27, "columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 52, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 80}, {"avg_size": 7, "columns": ["col1_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 33, "histo_col_type": "", "name": "__auto__", "null_count": 44, "row_count": 80}, {"avg_size": 20, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3, "histo_col_type": "", "name": "__auto__", "null_count": 6, "row_count": 80}, {"avg_size": 30, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 16, "histo_col_type": "", "name": "__auto__", "null_count": 7, "row_count": 80}, {"avg_size": 28, "columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 61, "histo_col_type": "", "name": "__auto__", "null_count": 2, "row_count": 80}, {"avg_size": 9, "columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 75, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 80}, {"avg_size": 21, "columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 26, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 80}]':::JSONB;
        test_1        |             
        test_1        |         compare_test.go:160: cockroach2: exec: ERROR: cannot inject statistics in an explicit transaction (SQLSTATE XXUUU)
        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:120: exit status 1
--- FAIL: TestComposeCompare (288.65s)
Help

See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)

Same failure on other branches

- #82867 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-master] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]

This test on roachdash | Improve this report!

cockroach-teamcity commented 1 year ago

compose.TestComposeCompare failed with artifacts on release-22.2 @ 56e0cae2dd496aee737f273f6b0a77faae4f76bd:

        test_1        |               []any(Inverse(func1, []any{
        test_1        |                 nil,
        test_1        |             -   string("2000-01-01 09:00:02+00:00G"),
        test_1        |             +   string("2000-01-01 09:00:02+00G"),
        test_1        |               }))
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (
        test_1        |                     SELECT
        test_1        |                         NULL::INT8 AS col_295104,
        test_1        |                         (('2000-01-01 09:00:00+00:00':::TIMESTAMPTZ::TIMESTAMPTZ::TIMESTAMPTZ + '00:00:02':::INTERVAL::INTERVAL::INTERVAL)::TIMESTAMPTZ::TIMESTAMPTZ || 'G':::STRING::STRING::STRING)::STRING
        test_1        |                             AS col_295105
        test_1        |                 )
        test_1        |                     AS tab_186112
        test_1        |             ORDER BY
        test_1        |                 col_295104 NULLS FIRST, col_295105 NULLS FIRST;
        test_1        |             
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (
        test_1        |                     SELECT
        test_1        |                         NULL::INT8 AS col_295104,
        test_1        |                         (('2000-01-01 09:00:00+00:00'::TIMESTAMPTZ::TIMESTAMPTZ::TIMESTAMPTZ + '00:00:02'::INTERVAL::INTERVAL::INTERVAL)::TIMESTAMPTZ::TIMESTAMPTZ || 'G'::TEXT::TEXT::TEXT)::TEXT
        test_1        |                             AS col_295105
        test_1        |                 )
        test_1        |                     AS tab_186112
        test_1        |             ORDER BY
        test_1        |                 col_295104 NULLS FIRST, col_295105 NULLS FIRST;
        test_1        |             
        test_1        |     --- FAIL: TestCompare/mutators (0.23s)
        test_1        |         compare_test.go:128: starting test: mutators
        test_1        |         compare_test.go:137: initializing connection: cockroach1
        test_1        |         compare_test.go:159: CREATE TABLE table3 (col3_0 DECIMAL NOT NULL, col3_1 "char", col3_2 TIMETZ[] NOT NULL, col3_3 REGPROCEDURE NULL, col3_4 TIMESTAMP NULL, col3_5 TIMESTAMP NOT NULL, col3_6 STRING NULL AS (CASE WHEN col3_3 IS NULL THEN e'k\\n/':::STRING ELSE 'n|':::STRING END) VIRTUAL, col3_7 DECIMAL NOT NULL AS (col3_0 + (-1232685571887.008313):::DECIMAL) VIRTUAL, INDEX (col3_4 DESC) STORING (col3_1, col3_3) WHERE table3.col3_6 < '':::STRING, UNIQUE (col3_0 DESC, (CASE WHEN col3_4 IS NULL THEN e'\'':::STRING ELSE e'v\'>\x01+':::STRING END) DESC), UNIQUE (col3_1 DESC, col3_7 DESC, (col3_0 + (-8.555801224129523670E+20):::DECIMAL) ASC, (CASE WHEN col3_3 IS NULL THEN e'\x15i\x1f"':::STRING ELSE 'HdO%Wh':::STRING END) DESC) WHERE (((table3.col3_7 >= 'Infinity':::DECIMAL) AND (table3.col3_1 = e'\U00002603':::STRING)) AND (table3.col3_6 = '"':::STRING)) AND (table3.col3_5 > '0001-01-01 00:00:00':::TIMESTAMP), UNIQUE (col3_7 ASC, col3_6, col3_4 DESC) STORING (col3_0, col3_2), UNIQUE (col3_3 DESC, col3_5 ASC, col3_0, col3_4) WHERE ((((table3.col3_1 >= e'\x00':::STRING) OR (table3.col3_5 < '-4713-11-24 00:00:00':::TIMESTAMP)) AND (table3.col3_7 != '-Infinity':::DECIMAL)) OR (table3.col3_6 <= 'X':::STRING)) OR (table3.col3_4 <= '-2000-01-01 00:00:00':::TIMESTAMP), INDEX (col3_6 ASC, col3_0) STORING (col3_3) WHERE ((((table3.col3_5 >= '-4713-11-24 00:00:00':::TIMESTAMP) AND (table3.col3_7 = (-1):::DECIMAL)) AND (table3.col3_0 >= '-Infinity':::DECIMAL)) OR (table3.col3_1 >= e'\U00002603':::STRING)) AND (table3.col3_6 > e'\'':::STRING), INVERTED INDEX (col3_3 ASC, col3_6 ASC, col3_5, col3_7, col3_0, col3_1 gin_trgm_ops ASC) WHERE table3.col3_4 <= '-4713-11-24 00:00:00':::TIMESTAMP, INDEX (col3_0 DESC) PARTITION BY LIST (col3_0) (PARTITION table3_part_0 VALUES IN (((-9.209511041763386063E+25):::DECIMAL,)), PARTITION table3_part_1 VALUES IN (((-7.313982343609761672E+30):::DECIMAL,)), PARTITION table3_part_2 VALUES IN (((-3.678427257995987748E+20):::DECIMAL,)), PARTITION table3_part_3 VALUES IN ((0.03374924509240436716:::DECIMAL,)), PARTITION table3_part_4 VALUES IN ((43.84609567225123224:::DECIMAL,)), PARTITION table3_part_5 VALUES IN (((-2930384605.162790492):::DECIMAL,)), PARTITION table3_part_6 VALUES IN (((-8.510205016356075898E+34):::DECIMAL,)), PARTITION table3_part_7 VALUES IN (((-1.234E+401):::DECIMAL,)), PARTITION table3_part_8 VALUES IN ((4.12884953967221588E+33:::DECIMAL,)), PARTITION table3_part_9 VALUES IN ((4.63713463770759137E+33:::DECIMAL,))))
        test_1        |         compare_test.go:160: cockroach1: exec: ERROR: use of partitions requires an enterprise license. see https://cockroachlabs.com/pricing?cluster=ee0f9c16-08d5-4c58-a8f6-017204588f56 for details on how to enable enterprise features (SQLSTATE XXC02)
        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:120: exit status 1
--- FAIL: TestComposeCompare (255.57s)
Help

See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)

Same failure on other branches

- #82867 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-master] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]

This test on roachdash | Improve this report!

cockroach-teamcity commented 1 year ago

compose.TestComposeCompare failed with artifacts on release-22.2 @ 9048c36c4f4e851bfabde9209083fadeee7aa532:

        postgres_1    |  done
        postgres_1    | server stopped
        postgres_1    | 
        postgres_1    | PostgreSQL init process complete; ready for start up.
        postgres_1    | 
        postgres_1    | 2022-11-08 06:17:22.154 UTC [1] LOG:  starting PostgreSQL 13.5 (Debian 13.5-1.pgdg110+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
        postgres_1    | 2022-11-08 06:17:22.154 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
        postgres_1    | 2022-11-08 06:17:22.154 UTC [1] LOG:  listening on IPv6 address "::", port 5432
        postgres_1    | 2022-11-08 06:17:22.158 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
        postgres_1    | 2022-11-08 06:17:22.163 UTC [68] LOG:  database system was shut down at 2022-11-08 06:17:22 UTC
        postgres_1    | 2022-11-08 06:17:22.169 UTC [1] LOG:  database system is ready to accept connections
        postgres_1    | 2022-11-08 06:17:23.413 UTC [78] ERROR:  invalid byte sequence for encoding "UTF8": 0x00
        postgres_1    | 2022-11-08 06:17:23.413 UTC [78] STATEMENT:  CREATE TABLE table3 (col3_0 INET[] NULL, col3_1 INT2 NULL, col3_2 TEXT NOT NULL, col3_3 BOOL NOT NULL, col3_4 "char" NOT NULL, col3_5 TEXT NULL, col3_6 INT8 NOT NULL, col3_7 TIMESTAMP NULL, col3_8 BIT(42) NOT NULL, col3_9 DATE NOT NULL, col3_10 TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN col3_9 IS NULL THEN e'\\:mb\x13!'::TEXT ELSE '}'::TEXT END) STORED, col3_11 INT8 NULL GENERATED ALWAYS AS (col3_6 + col3_1) STORED, col3_12 INT8 NULL GENERATED ALWAYS AS (col3_6 + col3_1) STORED, col3_13 INT8 NULL GENERATED ALWAYS AS (col3_6 + col3_1) STORED, col3_14 INT8 NULL GENERATED ALWAYS AS (col3_6 + col3_1) STORED, col3_15 TEXT NULL GENERATED ALWAYS AS (CASE WHEN col3_0 IS NULL THEN NULL ELSE e'\x00'::TEXT END) STORED);
        postgres_1    |     CREATE INDEX ON table3 (col3_11, lower(CAST(col3_3 AS TEXT)), col3_9 ASC, col3_10 ASC, col3_1, col3_4, col3_12 ASC) INCLUDE (col3_3, col3_5, col3_7, col3_14, col3_15);
        postgres_1    |     CREATE INDEX ON table3 (col3_7, col3_3 ASC, col3_8) INCLUDE (col3_0, col3_4, col3_5, col3_6, col3_11, col3_14);
        postgres_1    |     CREATE UNIQUE INDEX ON table3 (col3_7, col3_5 DESC, col3_13 ASC, (col3_1 + col3_6) DESC, col3_1 DESC, col3_3 ASC, col3_8 ASC, col3_9, col3_6 DESC, (CASE WHEN col3_0 IS NULL THEN e'e\bq_ '::TEXT ELSE e')!\x1f&pTo#'::TEXT END), col3_15, col3_2 DESC, col3_14 ASC, (CASE WHEN col3_9 IS NULL THEN ''::TEXT ELSE e'\x00'::TEXT END) DESC, col3_11 ASC, col3_12);
        postgres_1    |     CREATE INDEX ON table3 (col3_13 ASC, col3_7 ASC, col3_9 ASC, col3_15 DESC, col3_1 ASC, col3_8 ASC, col3_2 ASC, (col3_1 + col3_6) DESC, col3_10 ASC, col3_14, col3_6 ASC, col3_4 ASC, col3_5 DESC, col3_11);
        postgres_1    |     
        test_1        | --- FAIL: TestCompare (4.62s)
        test_1        |     compare_test.go:119: Checking connection to: postgres
        test_1        |     compare_test.go:119: Checking connection to: cockroach1
        test_1        |     compare_test.go:119: Checking connection to: cockroach2
        test_1        |     --- FAIL: TestCompare/postgres (1.05s)
        test_1        |         compare_test.go:128: starting test: postgres
        test_1        |         compare_test.go:137: initializing connection: cockroach1
        test_1        |         compare_test.go:137: initializing connection: postgres
        test_1        |         compare_test.go:159: CREATE TABLE table3 (col3_0 INET[] NULL, col3_1 INT2 NULL, col3_2 TEXT NOT NULL, col3_3 BOOL NOT NULL, col3_4 "char" NOT NULL, col3_5 TEXT NULL, col3_6 INT8 NOT NULL, col3_7 TIMESTAMP NULL, col3_8 BIT(42) NOT NULL, col3_9 DATE NOT NULL, col3_10 TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN col3_9 IS NULL THEN e'\\:mb\x13!'::TEXT ELSE '}'::TEXT END) STORED, col3_11 INT8 NULL GENERATED ALWAYS AS (col3_6 + col3_1) STORED, col3_12 INT8 NULL GENERATED ALWAYS AS (col3_6 + col3_1) STORED, col3_13 INT8 NULL GENERATED ALWAYS AS (col3_6 + col3_1) STORED, col3_14 INT8 NULL GENERATED ALWAYS AS (col3_6 + col3_1) STORED, col3_15 TEXT NULL GENERATED ALWAYS AS (CASE WHEN col3_0 IS NULL THEN NULL ELSE e'\x00'::TEXT END) STORED);
        test_1        |             CREATE INDEX ON table3 (col3_11, lower(CAST(col3_3 AS TEXT)), col3_9 ASC, col3_10 ASC, col3_1, col3_4, col3_12 ASC) INCLUDE (col3_3, col3_5, col3_7, col3_14, col3_15);
        test_1        |             CREATE INDEX ON table3 (col3_7, col3_3 ASC, col3_8) INCLUDE (col3_0, col3_4, col3_5, col3_6, col3_11, col3_14);
        test_1        |             CREATE UNIQUE INDEX ON table3 (col3_7, col3_5 DESC, col3_13 ASC, (col3_1 + col3_6) DESC, col3_1 DESC, col3_3 ASC, col3_8 ASC, col3_9, col3_6 DESC, (CASE WHEN col3_0 IS NULL THEN e'e\bq_ '::TEXT ELSE e')!\x1f&pTo#'::TEXT END), col3_15, col3_2 DESC, col3_14 ASC, (CASE WHEN col3_9 IS NULL THEN ''::TEXT ELSE e'\x00'::TEXT END) DESC, col3_11 ASC, col3_12);
        test_1        |             CREATE INDEX ON table3 (col3_13 ASC, col3_7 ASC, col3_9 ASC, col3_15 DESC, col3_1 ASC, col3_8 ASC, col3_2 ASC, (col3_1 + col3_6) DESC, col3_10 ASC, col3_14, col3_6 ASC, col3_4 ASC, col3_5 DESC, col3_11);
        test_1        |             
        test_1        |         compare_test.go:160: postgres: exec: ERROR: invalid byte sequence for encoding "UTF8": 0x00 (SQLSTATE 22021)
        test_1        |     --- FAIL: TestCompare/mutators (0.44s)
        test_1        |         compare_test.go:128: starting test: mutators
        test_1        |         compare_test.go:137: initializing connection: cockroach1
        test_1        |         compare_test.go:159: CREATE TABLE table2 (col2_0 DATE, col2_1 CHAR NOT NULL, col2_2 FLOAT4 NOT NULL, col2_3 BOX2D NOT NULL, col2_4 INT8 NOT NULL, col2_5 JSONB NOT NULL, col2_6 NAME NOT NULL, col2_7 FLOAT4 NOT NULL, col2_8 BOX2D NOT NULL, col2_9 BOOL NOT NULL, col2_10 OID NOT NULL, col2_11 UUID NOT NULL, col2_12 INET NOT NULL, col2_13 INT8 NOT NULL AS (col2_4 + 4362614642412512093:::INT8) STORED, col2_14 FLOAT8 NOT NULL AS (col2_2 + (-0.929757297039032):::FLOAT8) STORED, col2_15 FLOAT8 NOT NULL AS (col2_2 + col2_7) STORED, PRIMARY KEY (col2_2 DESC, col2_9 ASC, col2_6 ASC, col2_1 DESC, col2_7 ASC, col2_4, col2_11 ASC, col2_10 ASC, col2_15 DESC, col2_13 ASC, col2_14 ASC, col2_8, col2_12 DESC, col2_3), UNIQUE (col2_14 ASC, col2_4 DESC, (CASE WHEN col2_0 IS NULL THEN e'\x1bVk(q&b4E':::STRING ELSE e'<\b':::STRING END) ASC, col2_1 DESC, col2_6 ASC, col2_0, col2_7 ASC) WHERE (((((table2.col2_9 AND (table2.col2_4 >= (-1):::INT8)) OR (table2.col2_14 < 1.7976931348623157e+308:::FLOAT8)) OR (table2.col2_15 > 'NaN':::FLOAT8)) AND (table2.col2_2 >= 0.0:::FLOAT8)) OR (table2.col2_7 != 1.0:::FLOAT8)) AND (table2.col2_1 != 'X':::STRING), UNIQUE (col2_8, col2_3 ASC, lower(CAST(col2_10 AS STRING)), col2_14) STORING (col2_0), INDEX (col2_4, col2_3 ASC, col2_12 DESC, (col2_4 + (-8856097255698887079):::INT8) DESC, lower(col2_1) DESC, col2_0 DESC) WHERE (((((((((table2.col2_14 < '+Inf':::FLOAT8) OR (table2.col2_1 = '':::STRING)) AND (table2.col2_13 <= (-1):::INT8)) OR (NOT table2.col2_9)) AND (table2.col2_6 <= e'\x00':::STRING:::NAME)) AND (table2.col2_4 = (-1):::INT8)) AND (table2.col2_15 != '-Inf':::FLOAT8)) OR (table2.col2_0 = '-infinity':::DATE)) AND (table2.col2_2 < 0.0:::FLOAT8)) AND (table2.col2_7 != 'NaN':::FLOAT8), UNIQUE (col2_12 ASC, col2_7 DESC, (CASE WHEN col2_0 IS NULL THEN e'z\x1e\b"\f':::STRING ELSE e'\'':::STRING END) ASC, col2_10, col2_9, col2_14) PARTITION BY LIST (col2_12, col2_7) (PARTITION table2_part_0 VALUES IN (('99e6:99bf:5731:de16:26e3:787e:5530:6ac4/87':::INET, 1.0898988246917725:::FLOAT8), ('39.123.40.205/19':::INET, 0.02230597659945488:::FLOAT8), ('0.0.0.0/0':::INET, (-0.36702728271484375):::FLOAT8), ('93bf:2f35:5de8:1a91:f778:27b5:c27b:9516/15':::INET, 0.2507575452327728:::FLOAT8), ('4d46:217c:4304:21a1:b9bb:f0a:39b1:a53/92':::INET, 0.5930045247077942:::FLOAT8), ('71.174.247.194/23':::INET, (-0.5960231423377991):::FLOAT8)), PARTITION table2_part_1 VALUES IN (('105.34.246.239/10':::INET, 0.587290346622467:::FLOAT8), ('31.26.156.16/9':::INET, (-1.0):::FLOAT8), ('113.100.113.47/7':::INET, (-0.8621627688407898):::FLOAT8), ('61e2:a525:d240:10d5:d63:381b:9288:a1c8/108':::INET, (-0.8790753483772278):::FLOAT8), ('0.0.0.0/0':::INET, (-0.19845521450042725):::FLOAT8), ('174.201.32.6/18':::INET, (-0.6218483448028564):::FLOAT8)), PARTITION table2_part_2 VALUES IN (('2ee:546d:9b88:d27c:181b:3b49:871e:134b/69':::INET, (-0.5601580142974854):::FLOAT8), ('30b3:e65b:acff:3ae5:a9cf:1dba:9364:32ff/30':::INET, 0.5568116307258606:::FLOAT8), ('35.9.126.109/14':::INET, 0.21671441197395325:::FLOAT8), ('131.67.186.120/9':::INET, (-1.2475402355194092):::FLOAT8), ('136.252.39.150/23':::INET, (-1.253035545349121):::FLOAT8), ('122.248.247.110/4':::INET, (-0.7367300987243652):::FLOAT8)), PARTITION table2_part_3 VALUES IN (('96.121.32.240/25':::INET, 0.0:::FLOAT8), ('0.0.0.0/0':::INET, 0.0:::FLOAT8), ('8855:4b7:b2d0:cd43:85dc:cf4:272d:fb58/101':::INET, (-0.8453086614608765):::FLOAT8), ('90e:6af2:9746:afd2:9dd:bb11:660:34be/70':::INET, 0.5722829699516296:::FLOAT8), ('77.175.143.187/22':::INET, 0.0:::FLOAT8), ('9a4a:d9fb:7325:d65e:d83c:4fe6:3386:a61/8':::INET, (-1.1807173490524292):::FLOAT8)), PARTITION table2_part_4 VALUES IN (('135.218.170.20/27':::INET, 0.2786082327365875:::FLOAT8), ('125.60.31.18/30':::INET, (-0.24769560992717743):::FLOAT8), ('ada6:f809:342c:3e7f:8ecd:2b77:e204:87d6/4':::INET, 1.1835702657699585:::FLOAT8), ('1420:13a1:afc2:3da7:3065:1594:d68e:7668/93':::INET, (-1.1933693885803223):::FLOAT8), ('a263:1e90:ccb2:dde1:77cc:7a17:1906:d984/54':::INET, 1.453484296798706:::FLOAT8), ('cb3d:83c3:ea0b:feb9:39a7:3d67:9796:31b8/117':::INET, (-0.5789245963096619):::FLOAT8)), PARTITION table2_part_5 VALUES IN (('27ad:2cc4:332a:c696:8420:ebd0:8c10:6a17/82':::INET, (-1.911996841430664):::FLOAT8), ('67.217.248.173/23':::INET, 0.147128164768219:::FLOAT8), ('7683:cff5:4d9:af9e:35f6:f135:2092:e7e1':::INET, 0.23386874794960022:::FLOAT8), ('106.233.172.235/26':::INET, (-1.5948059558868408):::FLOAT8), ('70.251.60.145/22':::INET, (-0.31022676825523376):::FLOAT8), ('250.106.209.106/0':::INET, (-2.5462143421173096):::FLOAT8)), PARTITION table2_part_6 VALUES IN (('140.222.127.126/1':::INET, (-0.45241573452949524):::FLOAT8), ('195.245.158.121/5':::INET, (-0.5505748391151428):::FLOAT8), ('0.0.0.0/0':::INET, (-0.13923504948616028):::FLOAT8), ('28c4:1645:81e8:fc46:8469:ab16:a851:b59d/119':::INET, 0.7819172143936157:::FLOAT8), ('167.30.0.165/9':::INET, (-1.0125274658203125):::FLOAT8), ('39.56.22.95/17':::INET, 2.107952833175659:::FLOAT8)), PARTITION "DEFAULT" VALUES IN ((DEFAULT, DEFAULT))))
        test_1        |         compare_test.go:160: cockroach1: exec: ERROR: use of partitions requires an enterprise license. see https://cockroachlabs.com/pricing?cluster=58f92283-7476-4218-a4b0-c808bca4174e for details on how to enable enterprise features (SQLSTATE XXC02)
        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:120: exit status 1
--- FAIL: TestComposeCompare (20.46s)
Help

See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)

Same failure on other branches

- #82867 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-master] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]

This test on roachdash | Improve this report!

cockroach-teamcity commented 1 year ago

compose.TestComposeCompare failed with artifacts on release-22.2 @ a91533a57a3bbb920b6e6b3bdb2c2824d7b0996e:

Slow failing tests:
TestComposeCompare - 295.01s

Slow passing tests:
<none>
Help

See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)

Same failure on other branches

- #82867 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-master] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]

This test on roachdash | Improve this report!

cockroach-teamcity commented 1 year ago

compose.TestComposeCompare failed with artifacts on release-22.2 @ 9a72dc474bd00f1f28089ac217794015dd351190:

Slow failing tests:
TestComposeCompare - 295.00s

Slow passing tests:
<none>
Help

See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)

Same failure on other branches

- #82867 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-master] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]

This test on roachdash | Improve this report!

cockroach-teamcity commented 1 year ago

compose.TestComposeCompare failed with artifacts on release-22.2 @ 52be02c4e055223c36e26408ac1c0d8d41cfb146:

        postgres_1    | waiting for server to shut down....2022-11-11 06:18:31.552 UTC [49] LOG:  aborting any active transactions
        postgres_1    | 2022-11-11 06:18:31.554 UTC [49] LOG:  background worker "logical replication launcher" (PID 56) exited with exit code 1
        postgres_1    | 2022-11-11 06:18:31.556 UTC [51] LOG:  shutting down
        postgres_1    | 2022-11-11 06:18:31.650 UTC [49] LOG:  database system is shut down
        postgres_1    |  done
        postgres_1    | server stopped
        postgres_1    | 
        postgres_1    | PostgreSQL init process complete; ready for start up.
        postgres_1    | 
        postgres_1    | 2022-11-11 06:18:31.673 UTC [1] LOG:  starting PostgreSQL 13.5 (Debian 13.5-1.pgdg110+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
        postgres_1    | 2022-11-11 06:18:31.673 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
        postgres_1    | 2022-11-11 06:18:31.673 UTC [1] LOG:  listening on IPv6 address "::", port 5432
        postgres_1    | 2022-11-11 06:18:31.676 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
        postgres_1    | 2022-11-11 06:18:31.680 UTC [68] LOG:  database system was shut down at 2022-11-11 06:18:31 UTC
        postgres_1    | 2022-11-11 06:18:31.685 UTC [1] LOG:  database system is ready to accept connections
        postgres_1    | 2022-11-11 06:18:32.960 UTC [78] ERROR:  syntax error at or near "ASC" at character 341
        postgres_1    | 2022-11-11 06:18:32.960 UTC [78] STATEMENT:  CREATE TABLE table2 (col2_0 TIMESTAMPTZ NOT NULL, col2_1 BIT(8) NOT NULL, col2_2 GEOGRAPHY, col2_3 DECIMAL NOT NULL, col2_4 JSONB NOT NULL, col2_5 TIMESTAMP NULL, col2_6 BIT(47) NOT NULL, col2_7 BYTEA NULL, col2_8 BYTEA NOT NULL, INVERTED INDEX (col2_8, (CASE WHEN col2_7 IS NULL THEN e'r85x\r<{\\``'::TEXT ELSE e'X\x071\x1b\x0b'::TEXT END) ASC, col2_6 ASC, col2_4) WHERE table2.col2_0 >= '-4713-11-24 00:00:00+00:00'::TIMESTAMPTZ, INVERTED INDEX (col2_3 ASC, col2_0, col2_1, col2_5 ASC, col2_4 ASC) WHERE table2.col2_7 != e'\\xe29883'::BYTEA);
        postgres_1    |     
        test_1        | --- FAIL: TestCompare (4.44s)
        test_1        |     compare_test.go:119: Checking connection to: postgres
        test_1        |     compare_test.go:119: Checking connection to: cockroach1
        test_1        |     compare_test.go:119: Checking connection to: cockroach2
        test_1        |     --- FAIL: TestCompare/postgres (0.85s)
        test_1        |         compare_test.go:128: starting test: postgres
        test_1        |         compare_test.go:137: initializing connection: cockroach1
        test_1        |         compare_test.go:137: initializing connection: postgres
        test_1        |         compare_test.go:159: CREATE TABLE table2 (col2_0 TIMESTAMPTZ NOT NULL, col2_1 BIT(8) NOT NULL, col2_2 GEOGRAPHY, col2_3 DECIMAL NOT NULL, col2_4 JSONB NOT NULL, col2_5 TIMESTAMP NULL, col2_6 BIT(47) NOT NULL, col2_7 BYTEA NULL, col2_8 BYTEA NOT NULL, INVERTED INDEX (col2_8, (CASE WHEN col2_7 IS NULL THEN e'r85x\r<{\\``'::TEXT ELSE e'X\x071\x1b\x0b'::TEXT END) ASC, col2_6 ASC, col2_4) WHERE table2.col2_0 >= '-4713-11-24 00:00:00+00:00'::TIMESTAMPTZ, INVERTED INDEX (col2_3 ASC, col2_0, col2_1, col2_5 ASC, col2_4 ASC) WHERE table2.col2_7 != e'\\xe29883'::BYTEA);
        test_1        |             
        test_1        |         compare_test.go:160: postgres: exec: ERROR: syntax error at or near "ASC" (SQLSTATE 42601)
        test_1        |     --- FAIL: TestCompare/mutators (0.46s)
        test_1        |         compare_test.go:128: starting test: mutators
        test_1        |         compare_test.go:137: initializing connection: cockroach1
        test_1        |         compare_test.go:137: initializing connection: cockroach2
        test_1        |         compare_test.go:159: CREATE TABLE table1 (col1_0 STRING NOT NULL, col1_1 BOX2D NOT NULL, col1_2 NAME NOT NULL, col1_3 CHAR NOT NULL, col1_4 CHAR NOT NULL, col1_5 CHAR, col1_6 JSONB, col1_7 UUID NOT NULL, col1_8 INT4 NOT NULL, col1_9 INT4 NOT NULL, col1_10 UUID, col1_11 JSONB NULL, col1_12 GEOGRAPHY NULL, col1_13 REGPROCEDURE NULL, col1_14 STRING NULL AS (CASE WHEN col1_13 IS NULL THEN e'\x15\x04':::STRING ELSE e'y04Q\x14\x06 \x0f':::STRING END) STORED, FAMILY (col1_11), FAMILY (col1_14, col1_0), FAMILY (col1_3), FAMILY (col1_8, col1_12), FAMILY (col1_1, col1_2), FAMILY (col1_7), FAMILY (col1_9), FAMILY (col1_4), FAMILY (col1_10, col1_5, col1_6, col1_13));
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"avg_size": 0, "columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 36, "histo_col_type": "", "name": "__auto__", "null_count": 26, "row_count": 50}, {"avg_size": 28, "columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2, "histo_col_type": "", "name": "__auto__", "null_count": 17, "row_count": 50}, {"avg_size": 31, "columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7, "histo_col_type": "", "name": "__auto__", "null_count": 30, "row_count": 50}, {"avg_size": 2, "columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 14, "histo_col_type": "", "name": "__auto__", "null_count": 49, "row_count": 50}, {"avg_size": 15, "columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 27, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 50}, {"avg_size": 5, "columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 48, "histo_col_type": "", "name": "__auto__", "null_count": 13, "row_count": 50}, {"avg_size": 21, "columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 36, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 50}, {"avg_size": 10, "columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 49, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 50}, {"avg_size": 14, "columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 50}, {"avg_size": 6, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 50}, {"avg_size": 24, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 27, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 50}, {"avg_size": 0, "columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 39, "histo_col_type": "", "name": "__auto__", "null_count": 15, "row_count": 50}, {"avg_size": 6, "columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 45, "histo_col_type": "", "name": "__auto__", "null_count": 21, "row_count": 50}, {"avg_size": 1, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 16, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 50}, {"avg_size": 30, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 41, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 50}]':::JSONB;
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"avg_size": 18, "columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 418, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3000}, {"avg_size": 26, "columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2329, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3000}, {"avg_size": 10, "columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1201, "histo_col_type": "", "name": "__auto__", "null_count": 637, "row_count": 3000}, {"avg_size": 27, "columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1513, "histo_col_type": "", "name": "__auto__", "null_count": 203, "row_count": 3000}, {"avg_size": 31, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1037, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3000}, {"avg_size": 25, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2682, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3000}, {"avg_size": 6, "columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 196, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3000}, {"avg_size": 30, "columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1197, "histo_col_type": "", "name": "__auto__", "null_count": 847, "row_count": 3000}, {"avg_size": 16, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1239, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3000}, {"avg_size": 8, "columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2757, "histo_col_type": "", "name": "__auto__", "null_count": 1097, "row_count": 3000}, {"avg_size": 6, "columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1318, "histo_col_type": "", "name": "__auto__", "null_count": 2163, "row_count": 3000}, {"avg_size": 30, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 712, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3000}, {"avg_size": 18, "columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2271, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3000}, {"avg_size": 5, "columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 905, "histo_col_type": "", "name": "__auto__", "null_count": 1773, "row_count": 3000}, {"avg_size": 3, "columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2234, "histo_col_type": "", "name": "__auto__", "null_count": 1770, "row_count": 3000}]':::JSONB;
        test_1        |             
        test_1        |         compare_test.go:160: cockroach2: exec: ERROR: cannot inject statistics in an explicit transaction (SQLSTATE XXUUU)
        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:120: exit status 1
--- FAIL: TestComposeCompare (19.52s)
Help

See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)

Same failure on other branches

- #82867 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-master] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]

This test on roachdash | Improve this report!

cockroach-teamcity commented 1 year ago

compose.TestComposeCompare failed with artifacts on release-22.2 @ 9ec2ddb8dc118ce91bf806612bc4c0f86dd7b32b:

Slow failing tests:
TestComposeCompare - 295.00s

Slow passing tests:
<none>
Help

See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)

Same failure on other branches

- #82867 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-master] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]

This test on roachdash | Improve this report!

cockroach-teamcity commented 1 year ago

compose.TestComposeCompare failed with artifacts on release-22.2 @ 9ec2ddb8dc118ce91bf806612bc4c0f86dd7b32b:

Slow failing tests:
TestComposeCompare - 295.00s

Slow passing tests:
<none>
Help

See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)

Same failure on other branches

- #82867 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-master] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]

This test on roachdash | Improve this report!

cockroach-teamcity commented 1 year ago

compose.TestComposeCompare failed with artifacts on release-22.2 @ 9ec2ddb8dc118ce91bf806612bc4c0f86dd7b32b:

Slow failing tests:
TestComposeCompare - 295.00s

Slow passing tests:
<none>
Help

See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)

Same failure on other branches

- #82867 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-master] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]

This test on roachdash | Improve this report!

cockroach-teamcity commented 1 year ago

compose.TestComposeCompare failed with artifacts on release-22.2 @ 56072375c3e6184a2ac0494ce90b34a4bf0e9f45:

        test_1        |         compare_test.go:137: initializing connection: postgres
        test_1        |         compare_test.go:188: open /home/agent/work/.go/src/github.com/cockroachdb/cockroach/artifacts/_tmp/018812dfcf0ce383ac3e799915a61396/TestComposeCompare2334488175/002/postgres.log: no such file or directory
        test_1        |         compare_test.go:190: compare cockroach1 to postgres: unexpected diff:
        test_1        |               []any(Inverse(func1, []any{
        test_1        |             -   string("010300000000000000"),
        test_1        |             +   string("010300000001000000050000000000000000002240000000000000104000000000000022400000000000001840000000000000144000000000000018400000000000001440000000000000104000000000000022400000000000001040"),
        test_1        |               }))
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (
        test_1        |                     SELECT
        test_1        |                         st_makeenvelope(9.0::FLOAT8::FLOAT8::FLOAT8, 4.0::FLOAT8::FLOAT8::FLOAT8, 5.0::FLOAT8::FLOAT8::FLOAT8, 6.0::FLOAT8::FLOAT8::FLOAT8, 0::INT8::INT4::INT4)::GEOMETRY
        test_1        |                             AS col_7068
        test_1        |                 )
        test_1        |                     AS tab_4776
        test_1        |             ORDER BY
        test_1        |                 col_7068 NULLS FIRST;
        test_1        |             
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (
        test_1        |                     SELECT
        test_1        |                         st_makeenvelope(9.0:::FLOAT8::FLOAT8::FLOAT8, 4.0:::FLOAT8::FLOAT8::FLOAT8, 5.0:::FLOAT8::FLOAT8::FLOAT8, 6.0:::FLOAT8::FLOAT8::FLOAT8, 0:::INT8::INT4::INT4)::GEOMETRY
        test_1        |                             AS col_7068
        test_1        |                 )
        test_1        |                     AS tab_4776
        test_1        |             ORDER BY
        test_1        |                 col_7068 NULLS FIRST;
        test_1        |             
        test_1        |     --- FAIL: TestCompare/mutators (0.18s)
        test_1        |         compare_test.go:128: starting test: mutators
        test_1        |         compare_test.go:137: initializing connection: cockroach1
        test_1        |         compare_test.go:159: CREATE TABLE table1 (col1_0 FLOAT8 NULL, col1_1 REGNAMESPACE, col1_2 FLOAT8[] NOT NULL, col1_3 GEOGRAPHY NOT NULL, INVERTED INDEX (col1_1 ASC, col1_2 ASC) WHERE table1.col1_0 != '-Inf':::FLOAT8, INVERTED INDEX (col1_3 ASC), INDEX (col1_0 DESC, col1_1 ASC) STORING (col1_2) PARTITION BY LIST (col1_0) (PARTITION table1_part_0 VALUES IN ((2.6033772230428553:::FLOAT8,), (0.44066729467517224:::FLOAT8,), ((-1.0046086121464817):::FLOAT8,), ((-0.15761153825519875):::FLOAT8,), (0.6077240284256866:::FLOAT8,), (1.167812740031113:::FLOAT8,), (1.363073261788692:::FLOAT8,), (0.3284392852166862:::FLOAT8,), (0.8673421957471357:::FLOAT8,), ((-1.7359023018291047):::FLOAT8,)), PARTITION "DEFAULT" VALUES IN ((DEFAULT,))), UNIQUE (col1_1 DESC) STORING (col1_2), UNIQUE (col1_0))
        test_1        |         compare_test.go:160: cockroach1: exec: ERROR: use of partitions requires an enterprise license. see https://cockroachlabs.com/pricing?cluster=2ee36d05-fdae-47ad-b7e4-79fd12e0ee50 for details on how to enable enterprise features (SQLSTATE XXC02)
        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:120: exit status 1
--- FAIL: TestComposeCompare (34.17s)
Help

See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)

Same failure on other branches

- #82867 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-master] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]

This test on roachdash | Improve this report!

cockroach-teamcity commented 1 year ago

compose.TestComposeCompare failed with artifacts on release-22.2 @ 01b87663ef4dc69bbff90cea367526c67f71f84b:

        postgres_1    |         col_210719 NULLS FIRST,
        postgres_1    |         col_210720 NULLS FIRST,
        postgres_1    |         col_210721 NULLS FIRST
        test_1        | --- FAIL: TestCompare (212.02s)
        test_1        |     compare_test.go:119: Checking connection to: cockroach2
        test_1        |     compare_test.go:119: Checking connection to: postgres
        test_1        |     compare_test.go:119: Checking connection to: cockroach1
        test_1        |     --- FAIL: TestCompare/postgres (208.03s)
        test_1        |         compare_test.go:128: starting test: postgres
        test_1        |         compare_test.go:137: initializing connection: cockroach1
        test_1        |         compare_test.go:137: initializing connection: postgres
        test_1        |         compare_test.go:188: open /home/agent/work/.go/src/github.com/cockroachdb/cockroach/artifacts/_tmp/018812dfcf0ce383ac3e799915a61396/TestComposeCompare844284923/002/postgres.log: no such file or directory
        test_1        |         compare_test.go:190: compare cockroach1 to postgres: unexpected diff:
        test_1        |               []any(Inverse(func1, []any{
        test_1        |             -   nil,
        test_1        |             +   string("0103000000010000000500000000000000008056C0000000000080464000000000008056C0000000000080564000000000008046C0000000000080564000000000008046C0000000000080464000000000008056C00000000000804640"),
        test_1        |               }))
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (SELECT st_geomfromgeohash('F':::STRING::STRING::STRING, NULL::INT4::INT4)::GEOMETRY AS col_210865) AS tab_160869
        test_1        |             ORDER BY
        test_1        |                 col_210865 NULLS FIRST;
        test_1        |             
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (SELECT st_geomfromgeohash('F'::TEXT::TEXT::TEXT, NULL::INT4::INT4)::GEOMETRY AS col_210865) AS tab_160869
        test_1        |             ORDER BY
        test_1        |                 col_210865 NULLS FIRST;
        test_1        |             
        test_1        |     --- FAIL: TestCompare/mutators (0.15s)
        test_1        |         compare_test.go:128: starting test: mutators
        test_1        |         compare_test.go:137: initializing connection: cockroach1
        test_1        |         compare_test.go:159: CREATE TABLE table2 (col2_0 OID, col2_1 BIT(13) NOT NULL, col2_2 BOOL NOT NULL, col2_3 TIMETZ NOT NULL, col2_4 INT2 NULL, col2_5 DECIMAL NOT NULL, col2_6 BIT(30) NOT NULL, col2_7 VARCHAR NULL, col2_8 DECIMAL NOT NULL AS (col2_5 + 450240711892811237.3:::DECIMAL) STORED, col2_9 STRING NOT NULL AS (lower(CAST(col2_2 AS STRING))) VIRTUAL, col2_10 STRING AS (lower(CAST(col2_0 AS STRING))) VIRTUAL, col2_11 STRING AS (lower(CAST(col2_0 AS STRING))) VIRTUAL, PRIMARY KEY (col2_1 ASC), UNIQUE (col2_0 ASC, col2_3, col2_10 DESC, col2_9, col2_2 ASC, col2_4, col2_7, col2_6 ASC, col2_8 DESC) PARTITION BY LIST (col2_0, col2_3, col2_10, col2_9, col2_2, col2_4, col2_7) (PARTITION table2_part_0 VALUES IN ((4268346195:::OID, '17:17:20.286214+09:56:00':::TIMETZ, e'\x04u':::STRING, 'uQ. tX':::STRING, true, 15596:::INT8, 'U':::STRING), (3024081689:::OID, '23:59:56.517804+05:16:00':::TIMETZ, 'b':::STRING, '3&':::STRING, true, 18297:::INT8, e'\'':::STRING), (257249909:::OID, '21:21:48.75324-02:56:00':::TIMETZ, e'\x11H\x16;':::STRING, e'_8\x18oP':::STRING, true, 21275:::INT8, 'pX':::STRING), (3817269136:::OID, '19:42:05.869796-05:22:00':::TIMETZ, e'=y\x03``P':::STRING, 'rY5Bfqey':::STRING, true, 23192:::INT8, 'X':::STRING), (1738913720:::OID, '20:33:35.261854+11:59:00':::TIMETZ, '*':::STRING, e'\x06>tO':::STRING, true, (-31401):::INT8, e'NrG/"\x16\x15$F':::STRING), (4099956189:::OID, '08:24:02.29465+09:12:00':::TIMETZ, '"':::STRING, e'J\x10}':::STRING, true, 21929:::INT8, e'*\x1e\x13\x0fQ1r[\x0f':::STRING), (2242395190:::OID, '20:30:55.964908+07:41:00':::TIMETZ, '$BtH':::STRING, 'Yt316':::STRING, false, (-24000):::INT8, 'YDZ':::STRING), (27434265:::OID, '18:52:49.008877+12:08:00':::TIMETZ, e'\tr':::STRING, '+K':::STRING, true, (-27437):::INT8, e'7\x18.':::STRING), (1688968868:::OID, '13:46:36.551161-04:13:00':::TIMETZ, 'S':::STRING, e'\U00002603':::STRING, true, (-25958):::INT8, e'\x19\x01T_z"dl':::STRING)), PARTITION table2_part_1 VALUES IN ((1492170227:::OID, '11:55:12.483893+11:18:00':::TIMETZ, '7':::STRING, '#':::STRING, true, 10348:::INT8, e'~;jM\x01oRn':::STRING), (3771568975:::OID, '24:00:00-15:59:00':::TIMETZ, e'&V\x16_SJj)\x13':::STRING, e'\ncZ\x03':::STRING, false, (-11038):::INT8, e'-\x1fz"\x11g':::STRING), (1927115401:::OID, '16:14:13.914178-03:00:00':::TIMETZ, 'c(':::STRING, e'+,\bAEiP\x1c':::STRING, false, (-2634):::INT8, e'\x0eY\x13':::STRING), (614851527:::OID, '04:12:21.209779-07:57:00':::TIMETZ, e'zz\x1b\x0eJ\x0ek\x0b':::STRING, e'q\x16':::STRING, false, 9447:::INT8, e'}5\t':::STRING), (3984451160:::OID, '03:49:59.130755-02:42:00':::TIMETZ, '"':::STRING, '':::STRING, true, 7779:::INT8, e'@o\x1c O&+CV':::STRING), (1033662745:::OID, '05:49:38.297724+13:47:00':::TIMETZ, e'd]\blN\x7fU\x14':::STRING, e'\x1d6':::STRING, true, (-20104):::INT8, 'X':::STRING), (573255292:::OID, '20:58:36.6435+14:19:00':::TIMETZ, e'\x1b1':::STRING, e'\x07(f3\x19r\x10Z\'':::STRING, true, 127:::INT8, '"':::STRING), (965485759:::OID, '15:58:51.131993+07:34:00':::TIMETZ, e'?EyTT\x112.&':::STRING, 'Af#':::STRING, true, (-4889):::INT8, e'\x0f7O``\x1c(-5':::STRING), (2744003249:::OID, '02:23:43.818657-04:56:00':::TIMETZ, e'r\n3':::STRING, e'0\x1b;9\x05@':::STRING, true, 7152:::INT8, e'\x17M0b\x04\x7f\x19':::STRING)), PARTITION "DEFAULT" VALUES IN ((DEFAULT, DEFAULT, DEFAULT, DEFAULT, DEFAULT, DEFAULT, DEFAULT))) WHERE ((((((((table2.col2_10 != e'\'':::STRING) OR (table2.col2_9 >= e'\U00002603':::STRING)) OR (NOT table2.col2_2)) AND (table2.col2_7 < '"':::STRING)) OR (table2.col2_8 > 1:::DECIMAL)) AND (table2.col2_5 >= 1:::DECIMAL)) AND (table2.col2_3 >= '24:00:00-15:59:00':::TIMETZ)) OR (table2.col2_4 = 0:::INT8)) AND (table2.col2_11 = e'\x00':::STRING), UNIQUE (col2_0 DESC, col2_3 ASC, col2_9 DESC, col2_5 ASC), INVERTED INDEX (col2_1 DESC, col2_5, col2_7 gin_trgm_ops ASC), FAMILY (col2_2, col2_5, col2_8, col2_1, col2_7, col2_4, col2_3), FAMILY (col2_6), FAMILY (col2_0))
        test_1        |         compare_test.go:160: cockroach1: exec: ERROR: use of partitions requires an enterprise license. see https://cockroachlabs.com/pricing?cluster=e9a8e02c-3c10-459c-ac48-976f165e22b3 for details on how to enable enterprise features (SQLSTATE XXC02)
        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:120: exit status 1
--- FAIL: TestComposeCompare (236.29s)
Help

See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)

Same failure on other branches

- #82867 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-master] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]

This test on roachdash | Improve this report!

cockroach-teamcity commented 1 year ago

compose.TestComposeCompare failed with artifacts on release-22.2 @ 42084db6b92ae7964e8b05033e238d4ddec33d1a:

Slow failing tests:
TestComposeCompare - 295.00s

Slow passing tests:
<none>
Help

See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)

Same failure on other branches

- #82867 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-master] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]

This test on roachdash | Improve this report!

cockroach-teamcity commented 1 year ago

compose.TestComposeCompare failed with artifacts on release-22.2 @ b430d1535e93215e0f01cb92171de214be0eba4d:

        test_1        |     compare_test.go:119: Checking connection to: cockroach2
        test_1        |     compare_test.go:119: Checking connection to: postgres
        test_1        |     compare_test.go:119: Checking connection to: cockroach1
        test_1        |     --- FAIL: TestCompare/postgres (0.00s)
        test_1        |         compare_test.go:128: 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 27 [running]:
        test_1        | testing.tRunner.func1.2({0x1d73b60, 0xc001e461e0})
        test_1        |     GOROOT/src/testing/testing.go:1396 +0x24e
        test_1        | testing.tRunner.func1()
        test_1        |     GOROOT/src/testing/testing.go:1399 +0x39f
        test_1        | panic({0x1d73b60, 0xc001e461e0})
        test_1        |     GOROOT/src/runtime/panic.go:884 +0x212
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.encodeInvertedIndexHistogramUpperBounds(0x3625f00?, {0x25bb348?, 0xc001e41380?})
        test_1        |     github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:371 +0x445
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.randHistogram(0x258ac40?, 0x3625f00)
        test_1        |     github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:304 +0x13c
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.statisticsMutator.func1(0xc001f9c000)
        test_1        |     github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:221 +0x92
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.statisticsMutator(0xc001ec0300, {0xc001eb9b30?, 0x5, 0x0?})
        test_1        |     github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:254 +0x71f
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.MultiStatementMutation.Mutate(0xc001edb990?, 0x1f0b810?, {0xc001eb9b30?, 0x1c00080?, 0xc001ec0301?})
        test_1        |     github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:98 +0x2e
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.RandCreateTables(0x1c00080?, {0x1f0b810, 0x5}, 0x5, 0xbf?, {0xc000e67a58, 0x3, 0x2a62215?})
        test_1        |     github.com/cockroachdb/cockroach/pkg/sql/randgen/schema.go:90 +0x16a
        test_1        | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.randTablesN(0x519d7a8c2330c558?, 0x519d7a8c2330c558?)
        test_1        |     github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/setup.go:83 +0x186
        test_1        | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.randTables(0xc0005e8a00?)
        test_1        |     github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/setup.go:72 +0x33
        test_1        | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.wrapCommonSetup.func1(0xc001deeb60?)
        test_1        |     github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/setup.go:45 +0x22
        test_1        | github.com/cockroachdb/cockroach/pkg/compose/compare/compare.TestCompare.func2(0xc001deeb60)
        test_1        |     github.com/cockroachdb/cockroach/pkg/compose/compare/compare/compare_test.go:130 +0xe5
        test_1        | testing.tRunner(0xc001deeb60, 0xc001ec0270)
        test_1        |     GOROOT/src/testing/testing.go:1446 +0x10b
        test_1        | created by testing.(*T).Run
        test_1        |     GOROOT/src/testing/testing.go:1493 +0x35f
        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_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...

    compose_test.go:120: exit status 2
--- FAIL: TestComposeCompare (18.34s)
Help

See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)

Same failure on other branches

- #82867 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-master] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]

This test on roachdash | Improve this report!

cockroach-teamcity commented 1 year ago

compose.TestComposeCompare failed with artifacts on release-22.2 @ 022d19ab6c1c6f6dd477d5120b4c47a46f744238:

Slow failing tests:
TestComposeCompare - 295.00s

Slow passing tests:
<none>
Help

See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)

Same failure on other branches

- #82867 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-master] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]

This test on roachdash | Improve this report!

cockroach-teamcity commented 1 year ago

compose.TestComposeCompare failed with artifacts on release-22.2 @ bf7c1cf83275be4645fc77581be2cb9d5e8502c4:

Slow failing tests:
TestComposeCompare - 295.00s

Slow passing tests:
<none>
Help

See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)

Same failure on other branches

- #82867 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-master] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]

This test on roachdash | Improve this report!

cockroach-teamcity commented 1 year ago

compose.TestComposeCompare failed with artifacts on release-22.2 @ bf7c1cf83275be4645fc77581be2cb9d5e8502c4:

        postgres_1    | CREATE EXTENSION
        postgres_1    | CREATE EXTENSION
        postgres_1    | 
        postgres_1    | waiting for server to shut down...2022-11-21 06:18:48.633 UTC [49] LOG:  received fast shutdown request
        postgres_1    | .2022-11-21 06:18:48.635 UTC [49] LOG:  aborting any active transactions
        postgres_1    | 2022-11-21 06:18:48.636 UTC [49] LOG:  background worker "logical replication launcher" (PID 56) exited with exit code 1
        postgres_1    | 2022-11-21 06:18:48.639 UTC [51] LOG:  shutting down
        postgres_1    | 2022-11-21 06:18:48.733 UTC [49] LOG:  database system is shut down
        postgres_1    |  done
        postgres_1    | server stopped
        postgres_1    | 
        postgres_1    | PostgreSQL init process complete; ready for start up.
        postgres_1    | 
        postgres_1    | 2022-11-21 06:18:48.754 UTC [1] LOG:  starting PostgreSQL 13.5 (Debian 13.5-1.pgdg110+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
        postgres_1    | 2022-11-21 06:18:48.755 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
        postgres_1    | 2022-11-21 06:18:48.755 UTC [1] LOG:  listening on IPv6 address "::", port 5432
        postgres_1    | 2022-11-21 06:18:48.758 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
        postgres_1    | 2022-11-21 06:18:48.762 UTC [68] LOG:  database system was shut down at 2022-11-21 06:18:48 UTC
        postgres_1    | 2022-11-21 06:18:48.767 UTC [1] LOG:  database system is ready to accept connections
        postgres_1    | 2022-11-21 06:18:50.585 UTC [78] ERROR:  syntax error at or near "gin_trgm_ops" at character 188
        postgres_1    | 2022-11-21 06:18:50.585 UTC [78] STATEMENT:  CREATE TABLE table3 (col3_0 INET NOT NULL, col3_1 INTERVAL NOT NULL, col3_2 TEXT NOT NULL GENERATED ALWAYS AS (lower(CAST(col3_0 AS TEXT))) STORED, INVERTED INDEX (col3_1, col3_0, col3_2 gin_trgm_ops) WHERE table3.col3_2 >= '"'::TEXT);
        postgres_1    |     
        test_1        | --- FAIL: TestCompare (4.80s)
        test_1        |     compare_test.go:119: Checking connection to: cockroach1
        test_1        |     compare_test.go:119: Checking connection to: cockroach2
        test_1        |     compare_test.go:119: Checking connection to: postgres
        test_1        |     --- FAIL: TestCompare/postgres (0.85s)
        test_1        |         compare_test.go:128: starting test: postgres
        test_1        |         compare_test.go:137: initializing connection: cockroach1
        test_1        |         compare_test.go:137: initializing connection: postgres
        test_1        |         compare_test.go:159: CREATE TABLE table3 (col3_0 INET NOT NULL, col3_1 INTERVAL NOT NULL, col3_2 TEXT NOT NULL GENERATED ALWAYS AS (lower(CAST(col3_0 AS TEXT))) STORED, INVERTED INDEX (col3_1, col3_0, col3_2 gin_trgm_ops) WHERE table3.col3_2 >= '"'::TEXT);
        test_1        |             
        test_1        |         compare_test.go:160: postgres: exec: ERROR: syntax error at or near "gin_trgm_ops" (SQLSTATE 42601)
        test_1        |     --- FAIL: TestCompare/mutators (0.22s)
        test_1        |         compare_test.go:128: starting test: mutators
        test_1        |         compare_test.go:137: initializing connection: cockroach1
        test_1        |         compare_test.go:159: CREATE TABLE table1 (col1_0 REGPROCEDURE NOT NULL, col1_1 REGNAMESPACE NOT NULL, col1_2 BIT(20) NOT NULL, col1_3 REGCLASS NOT NULL, col1_4 BYTES NULL, col1_5 STRING NOT NULL AS (CASE WHEN col1_1 IS NULL THEN e'\\\x17i\x01':::STRING ELSE e'{*p\'"\x1faE':::STRING END) STORED, col1_6 STRING NOT NULL AS (CASE WHEN col1_3 IS NULL THEN e'\x04\'3E#':::STRING ELSE '':::STRING END) VIRTUAL, col1_7 STRING NOT NULL AS (CASE WHEN col1_0 IS NULL THEN '+U:?3r':::STRING ELSE e'Io\x04(z':::STRING END) STORED, PRIMARY KEY (col1_1 DESC, col1_6, col1_0 DESC, col1_2 DESC, col1_5 ASC, col1_7 ASC, col1_3 ASC), INDEX (col1_2 DESC, col1_7 DESC, col1_0) WHERE (((table1.col1_7 = '':::STRING) OR (table1.col1_6 >= e'\'':::STRING)) AND (table1.col1_5 > 'X':::STRING)) OR (table1.col1_4 < '\x22':::BYTES), UNIQUE (col1_3 DESC, col1_6 DESC, col1_7 DESC, col1_4 DESC, (CASE WHEN col1_0 IS NULL THEN e'k\x17He#':::STRING ELSE e'\ns;g\x1b':::STRING END), col1_0 ASC, col1_5 ASC, col1_2), INDEX (col1_6, col1_4, col1_5 ASC, col1_2 DESC) WHERE (((table1.col1_5 != '':::STRING) AND (table1.col1_7 != '':::STRING)) AND (table1.col1_4 < '\x':::BYTES)) OR (table1.col1_6 >= e'\x00':::STRING), INDEX (col1_0) WHERE (((table1.col1_6 <= e'\x00':::STRING) OR (table1.col1_4 <= '\xe29883':::BYTES)) OR (table1.col1_5 = '':::STRING)) AND (table1.col1_7 = e'\U00002603':::STRING) NOT VISIBLE, INDEX (col1_5 DESC, col1_1 ASC, col1_6, col1_4 DESC, col1_7, col1_3 DESC, col1_0 DESC) NOT VISIBLE, UNIQUE (col1_2, col1_4, col1_6 DESC, (CASE WHEN col1_4 IS NULL THEN e'\'':::STRING ELSE e'RjT\x02':::STRING END) ASC, col1_3, (CASE WHEN col1_0 IS NULL THEN e'c\b\n=d':::STRING ELSE e'%_\nFgNU]':::STRING END), col1_1, col1_5) WHERE (((table1.col1_5 != e'\'':::STRING) OR (table1.col1_7 < e'\U00002603':::STRING)) OR (table1.col1_4 != '\xe29883':::BYTES)) OR (table1.col1_6 = 'X':::STRING), UNIQUE (col1_7, col1_3 DESC, col1_6, col1_5, col1_0, col1_4 ASC), INDEX (col1_2 DESC, (CASE WHEN col1_0 IS NULL THEN 'W':::STRING ELSE e'\fM^"yH\x18f':::STRING END) DESC, col1_5 DESC, col1_1 DESC, col1_0 ASC) STORING (col1_4) WHERE (((table1.col1_5 >= 'X':::STRING) AND (table1.col1_7 > e'\x00':::STRING)) AND (table1.col1_4 = '\xff':::BYTES)) AND (table1.col1_6 <= e'\U00002603':::STRING), INDEX (col1_5 DESC, col1_1 ASC) PARTITION BY LIST (col1_5) (PARTITION table1_part_0 VALUES IN (('?':::STRING,), (e'\x02\t&[1\x1e?v':::STRING,), (e'k\t>o<':::STRING,), (e'X\tC>\x14':::STRING,)), PARTITION table1_part_1 VALUES IN (('*u':::STRING,), (e'\x1doSc,1\x1b?o':::STRING,), ('_*?nQWV?':::STRING,), (';vv2j':::STRING,)), PARTITION table1_part_2 VALUES IN ((e'V:@\x115Ma':::STRING,), ('':::STRING,), (e'@J\x17f1\x7f_':::STRING,), (e'\x00':::STRING,)), PARTITION table1_part_3 VALUES IN ((e'xb\x05\x1f} dK':::STRING,), (e'|\\ gI\x10=':::STRING,), ('CU8%WNv_':::STRING,)), PARTITION table1_part_4 VALUES IN ((e'sP\x1f\x03/M^\x17{':::STRING,), (e'%f\x05kb\x0f\x16':::STRING,), (e'\x02\x04?!d^':::STRING,), (e'p\x15\x01uT)(a':::STRING,)), PARTITION table1_part_5 VALUES IN ((e'von_\x04(I':::STRING,), ('R':::STRING,), ('i]':::STRING,)), PARTITION table1_part_6 VALUES IN ((e'G\t\x196':::STRING,), (e'?|u\r,88':::STRING,), (e'\x07;\x03\x05q\r>3':::STRING,))) WHERE (((table1.col1_7 != e'\U00002603':::STRING) AND (table1.col1_6 > e'\U00002603':::STRING)) OR (table1.col1_5 < e'\x00':::STRING)) AND (table1.col1_4 != '\x22':::BYTES) NOT VISIBLE)
        test_1        |         compare_test.go:160: cockroach1: exec: ERROR: use of partitions requires an enterprise license. see https://cockroachlabs.com/pricing?cluster=0009793f-73bd-4dc1-84ec-b6d18cfbc93e for details on how to enable enterprise features (SQLSTATE XXC02)
        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:120: exit status 1
--- FAIL: TestComposeCompare (20.18s)
Help

See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)

Same failure on other branches

- #82867 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-master] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]

This test on roachdash | Improve this report!

cockroach-teamcity commented 1 year ago

compose.TestComposeCompare failed with artifacts on release-22.2 @ 2a71a5cca1f66313fd39956f1a3db070f67ade15:

        test_1        |               []any(Inverse(func1, []any{
        test_1        |                 nil,
        test_1        |             -   string("010300000000000000"),
        test_1        |             +   string("010300000001000000050000000000000000001040182D4454FB21094000000000000010400000000000001C40000000000000F03F0000000000001C40000000000000F03F182D4454FB2109400000000000001040182D4454FB210940"),
        test_1        |               }))
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (
        test_1        |                     SELECT
        test_1        |                         NULL::RECORD AS col_50018,
        test_1        |                         st_makeenvelope((2.0:::FLOAT8::FLOAT8::FLOAT8 ^ 2.0:::FLOAT8::FLOAT8::FLOAT8)::FLOAT8::FLOAT8, pi()::FLOAT8::FLOAT8, 1.0:::FLOAT8::FLOAT8::FLOAT8, 7.0:::FLOAT8::FLOAT8::FLOAT8)::GEOMETRY
        test_1        |                             AS col_50019
        test_1        |                 )
        test_1        |                     AS tab_32660
        test_1        |             ORDER BY
        test_1        |                 col_50018 NULLS FIRST, col_50019 NULLS FIRST;
        test_1        |             
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (
        test_1        |                     SELECT
        test_1        |                         NULL::RECORD AS col_50018,
        test_1        |                         st_makeenvelope((2.0::FLOAT8::FLOAT8::FLOAT8 ^ 2.0::FLOAT8::FLOAT8::FLOAT8)::FLOAT8::FLOAT8, pi()::FLOAT8::FLOAT8, 1.0::FLOAT8::FLOAT8::FLOAT8, 7.0::FLOAT8::FLOAT8::FLOAT8)::GEOMETRY
        test_1        |                             AS col_50019
        test_1        |                 )
        test_1        |                     AS tab_32660
        test_1        |             ORDER BY
        test_1        |                 col_50018 NULLS FIRST, col_50019 NULLS FIRST;
        test_1        |             
        test_1        |     --- FAIL: TestCompare/mutators (0.31s)
        test_1        |         compare_test.go:128: starting test: mutators
        test_1        |         compare_test.go:137: initializing connection: cockroach1
        test_1        |         compare_test.go:159: CREATE TABLE table2 (col2_0 INT8 NOT NULL, col2_1 STRING NOT NULL, col2_2 REGROLE NULL, col2_3 INTERVAL NOT NULL, col2_4 REGTYPE, col2_5 TIMESTAMPTZ NOT NULL, col2_6 REGTYPE, col2_7 STRING NOT NULL AS (CASE WHEN col2_6 IS NULL THEN '':::STRING ELSE e'Z\x02\x0bmJ3Z\x07':::STRING END) STORED, col2_8 STRING NULL AS (CASE WHEN col2_2 IS NULL THEN e'(\x14':::STRING ELSE e'\'':::STRING END) VIRTUAL, col2_9 STRING NOT NULL AS (lower(col2_1)) VIRTUAL, col2_10 STRING NOT NULL AS (CASE WHEN col2_3 IS NULL THEN 'c,(':::STRING ELSE e'\x7fGs^\x10;&\x1cE':::STRING END) VIRTUAL, col2_11 STRING AS (CASE WHEN col2_6 IS NULL THEN e'$\x021|j\x7f2K':::STRING ELSE 'QL$':::STRING END) STORED, PRIMARY KEY (col2_7 ASC), INDEX (col2_7, col2_1 ASC, col2_5 ASC, col2_2 DESC, (col2_0 + 2787627408545020021:::INT8) DESC, (CASE WHEN col2_6 IS NULL THEN e'\x03\x10+$':::STRING ELSE 'q^EDp':::STRING END) ASC) STORING (col2_3) NOT VISIBLE, UNIQUE (col2_11, col2_1 DESC, (CASE WHEN col2_2 IS NULL THEN e'|\x19\x1d>vh':::STRING ELSE e'Cn$}=\x12\x03\x14':::STRING END) DESC, col2_0 ASC, col2_5, col2_7 ASC, col2_10, col2_6, col2_8 ASC), UNIQUE (col2_0, col2_8, col2_2, col2_6 DESC) STORING (col2_1, col2_5) WHERE (((((((table2.col2_5 < '3000-01-01 00:00:00+00:00':::TIMESTAMPTZ) AND (table2.col2_10 >= '"':::STRING)) OR (table2.col2_0 > 1:::INT8)) OR (table2.col2_7 != e'\x00':::STRING)) OR (table2.col2_8 = e'\U00002603':::STRING)) OR (table2.col2_9 = e'\U00002603':::STRING)) AND (table2.col2_1 != 'X':::STRING)) OR (table2.col2_11 <= '':::STRING), INDEX (col2_3, col2_10 ASC, col2_8, col2_0 ASC, col2_5 DESC, col2_6 DESC, col2_4 ASC), INDEX (col2_9 ASC, (CASE WHEN col2_5 IS NULL THEN '':::STRING ELSE e'[C\x1en|':::STRING END) ASC, col2_1, col2_6 DESC, col2_7, col2_2, col2_11 DESC) NOT VISIBLE, INDEX (col2_10 DESC, col2_7, col2_11 DESC) STORING (col2_1, col2_3, col2_4, col2_6) WHERE (((table2.col2_7 < e'\U00002603':::STRING) OR (table2.col2_1 >= '"':::STRING)) AND (table2.col2_10 >= '':::STRING)) OR (table2.col2_5 <= '0001-01-01 00:00:00+00:00':::TIMESTAMPTZ), INDEX (col2_4, col2_11, col2_5 ASC, col2_6, col2_1 ASC, col2_10, col2_0 DESC, col2_9, col2_7 DESC) STORING (col2_2), UNIQUE (col2_4, col2_6 DESC, col2_7 ASC, (CASE WHEN col2_5 IS NULL THEN e'p\x02~HC1Y':::STRING ELSE e'ig\x0ee\n\x15{\t ':::STRING END) ASC, col2_5, col2_10 ASC, col2_9 ASC, col2_11 DESC, col2_0 ASC) PARTITION BY LIST (col2_4, col2_6, col2_7) (PARTITION table2_part_0 VALUES IN ((0:::OID, 353062980:::OID, e'\r"pLL':::STRING), (0:::OID, 3708532183:::OID, '':::STRING), (991365477:::OID, 0:::OID, e'8#(A\x10q':::STRING), (406858997:::OID, 0:::OID, e'w\x04Mqy]:':::STRING), (0:::OID, 4189839002:::OID, e'\U00002603':::STRING), (2730191797:::OID, 3117217039:::OID, e'_t\x1f\x17[\x10l-c':::STRING)), PARTITION table2_part_1 VALUES IN ((3653824132:::OID, 4047680934:::OID, 'VOC8l':::STRING), (0:::OID, 1837216033:::OID, 'c':::STRING), (3941005551:::OID, 3077411435:::OID, e'C\'z8K#':::STRING), (416969034:::OID, 1502480909:::OID, e'dX4\n':::STRING), (2553615347:::OID, 0:::OID, '':::STRING), (0:::OID, 3839819201:::OID, e',\fV]f\x1fO':::STRING)), PARTITION table2_part_2 VALUES IN ((1235442422:::OID, 3099541111:::OID, '':::STRING), (1512535803:::OID, 1328844109:::OID, '"':::STRING), (3052803287:::OID, 1096977448:::OID, '':::STRING), (2497721793:::OID, 3566825903:::OID, e'&k\x04j[\x19':::STRING), (2537645295:::OID, 2534685214:::OID, e'\x15r*\x0b-\x07\x07P\n':::STRING), (0:::OID, 2736015130:::OID, '':::STRING)), PARTITION table2_part_3 VALUES IN ((2644685693:::OID, 377705129:::OID, e'$G\x05^Ag':::STRING), (3544751:::OID, 2286146050:::OID, 'Z>':::STRING), (3610818743:::OID, 3967237288:::OID, '"':::STRING), (1887238754:::OID, 2110674154:::OID, e'8}f\x1f)\x18':::STRING), (3557458918:::OID, 2585346326:::OID, e'\b':::STRING), (2400793816:::OID, 1786638881:::OID, '*]8XP#':::STRING)), PARTITION table2_part_4 VALUES IN ((3868854608:::OID, 0:::OID, e'\x17g\x10L=c':::STRING), (1154121148:::OID, 155443365:::OID, e'3M\b\x14(\x0b':::STRING), (1067310:::OID, 1776100083:::OID, e'C\x16gJ\\\x1c':::STRING), (0:::OID, 2426033185:::OID, e'%\x04\x12P1w!':::STRING), (3286459781:::OID, 107571517:::OID, e'J\x04\x1c:O':::STRING), (634739265:::OID, 1353707782:::OID, '"':::STRING)), PARTITION table2_part_5 VALUES IN ((0:::OID, 2914138304:::OID, e'{mx\x11\x11#\x04':::STRING), (4228436520:::OID, 2641057655:::OID, '<1rXY"W':::STRING), (3032253478:::OID, 3349265661:::OID, e'#\r\b9L0\x1d#':::STRING), (4102459649:::OID, 1173150969:::OID, '6$':::STRING), (1998857062:::OID, 3811593329:::OID, e'\r\x04(':::STRING), (3674540146:::OID, 267422979:::OID, e'+NP\x0e\bFn0,':::STRING))) WHERE (((((table2.col2_7 > 'X':::STRING) OR (table2.col2_10 = e'\x00':::STRING)) AND (table2.col2_0 <= 9223372036854775807:::INT8)) AND (table2.col2_1 != '':::STRING)) AND (table2.col2_11 != e'\U00002603':::STRING)) OR (table2.col2_9 = e'\'':::STRING), INVERTED INDEX (col2_2 DESC, col2_1, col2_7 ASC, col2_11 ASC, col2_8 ASC, col2_10 DESC, col2_6 DESC, col2_9 gin_trgm_ops ASC) WHERE (((table2.col2_7 >= e'\'':::STRING) AND (table2.col2_11 >= 'X':::STRING)) OR (table2.col2_5 > '3000-01-01 00:00:00+00:00':::TIMESTAMPTZ)) AND (table2.col2_8 = e'\x00':::STRING))
        test_1        |         compare_test.go:160: cockroach1: exec: ERROR: use of partitions requires an enterprise license. see https://cockroachlabs.com/pricing?cluster=9e3f9da9-c3d7-4747-8058-9c2aaaae8f95 for details on how to enable enterprise features (SQLSTATE XXC02)
        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:120: exit status 1
--- FAIL: TestComposeCompare (71.14s)
Help

See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)

Same failure on other branches

- #82867 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-master] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]

This test on roachdash | Improve this report!

cockroach-teamcity commented 1 year ago

compose.TestComposeCompare failed with artifacts on release-22.2 @ f660a454f6781a379fcc2a17646dc859ac5af997:

Slow failing tests:
TestComposeCompare - 295.10s

Slow passing tests:
<none>
Help

See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)

Same failure on other branches

- #82867 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-master] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]

This test on roachdash | Improve this report!

cockroach-teamcity commented 1 year ago

compose.TestComposeCompare failed with artifacts on release-22.2 @ fe3ec49ff917b9b0eab2a4048fec31d56fc26daf:

Slow failing tests:
TestComposeCompare - 295.10s

Slow passing tests:
<none>
Help

See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)

Same failure on other branches

- #82867 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-master] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]

This test on roachdash | Improve this report!

cockroach-teamcity commented 1 year ago

compose.TestComposeCompare failed with artifacts on release-22.2 @ fd133ba3af3954c93584a501cf68dfa3131e586c:

Slow failing tests:
TestComposeCompare - 295.00s

Slow passing tests:
<none>
Help

See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)

Same failure on other branches

- #82867 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-master] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-experience branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]

This test on roachdash | Improve this report!