Closed cockroach-teamcity closed 1 year ago
compose.TestComposeCompare failed with artifacts on master @ 1d7bd69205c2197ccac33df9e2e6d4ff8c0fdbcf:
test_1 | - uint32(7),
test_1 | + uint32(3),
test_1 | }))
test_1 | postgres:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (
test_1 | SELECT
test_1 | tab_18747.col_39272 AS col_39274, tab_18747.col_39273 AS col_39275
test_1 | FROM
test_1 | (VALUES ('D'::TEXT::VARCHAR, 7::OID::OID), (NULL::VARCHAR, 3::OID::OID))
test_1 | AS tab_18747 (col_39272, col_39273)
test_1 | )
test_1 | AS tab_18748
test_1 | ORDER BY
test_1 | col_39274, col_39275 ASC NULLS FIRST;
test_1 |
test_1 | cockroach1:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (
test_1 | SELECT
test_1 | tab_18747.col_39272 AS col_39274, tab_18747.col_39273 AS col_39275
test_1 | FROM
test_1 | (VALUES ('D':::STRING::VARCHAR, 7:::OID::OID), (NULL::VARCHAR, 3:::OID::OID))
test_1 | AS tab_18747 (col_39272, col_39273)
test_1 | )
test_1 | AS tab_18748
test_1 | ORDER BY
test_1 | col_39274, col_39275 ASC NULLS FIRST;
test_1 |
test_1 | --- FAIL: TestCompare/mutators (0.19s)
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 GEOMETRY NOT NULL, col2_1 REGPROC NOT NULL, col2_2 REGTYPE NOT NULL, col2_3 REGCLASS NOT NULL, col2_4 BIT(21) NOT NULL, col2_5 STRING NOT NULL AS (CASE WHEN col2_2 IS NULL THEN '':::STRING ELSE e'\x06h\x15hpI7':::STRING END) STORED, col2_6 STRING AS (CASE WHEN col2_3 IS NULL THEN '"w8':::STRING ELSE e'&\b&]" ':::STRING END) STORED, col2_7 STRING NOT NULL AS (CASE WHEN col2_1 IS NULL THEN e'\U00002603':::STRING ELSE e'\x00':::STRING END) VIRTUAL, PRIMARY KEY (col2_7, col2_3 ASC, col2_4, col2_5, col2_2 DESC, col2_1 DESC), INDEX (col2_4, col2_6 ASC, col2_1 ASC, col2_5 DESC, col2_7 DESC, col2_2 ASC), UNIQUE (col2_1 ASC, col2_2 DESC, col2_3 DESC), INDEX (col2_5 ASC, col2_2 ASC) PARTITION BY LIST (col2_5, col2_2) (PARTITION table2_part_0 VALUES IN ((e'4\x16x':::STRING, 75722894:::OID)), PARTITION table2_part_1 VALUES IN (('R8fCUY':::STRING, 3533059524:::OID)), PARTITION table2_part_2 VALUES IN ((e'\tW=6\x13l\x10\x03':::STRING, 4223424474:::OID)), PARTITION table2_part_3 VALUES IN ((e'\\*K\x0f\x1e7[':::STRING, 2769642489:::OID)), PARTITION table2_part_4 VALUES IN ((e'\r\x13f ':::STRING, 0:::OID)), PARTITION table2_part_5 VALUES IN (('|':::STRING, 3142313819:::OID)), PARTITION table2_part_6 VALUES IN (('k':::STRING, 3065012720:::OID)), PARTITION table2_part_7 VALUES IN ((e'\\T':::STRING, 2678674959:::OID)), PARTITION table2_part_8 VALUES IN (('=f':::STRING, 2745156137:::OID)), PARTITION table2_part_9 VALUES IN ((e'\n\x01w':::STRING, 2327703730:::OID))), FAMILY (col2_3), FAMILY (col2_1, col2_2, col2_6, col2_5), FAMILY (col2_4), 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=6cee5fd0-644a-4fdd-ac84-271588fd5b61 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 (49.28s)
See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)
- #92892 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2.0] - #89361 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]
compose.TestComposeCompare failed with artifacts on master @ 2c3d75f1ce31024d7ffe530f91f22162c053abcd:
test_1 | }))
test_1 | postgres:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (
test_1 | SELECT
test_1 | tab_18793.col_36297 AS col_36298
test_1 | FROM
test_1 | (VALUES (NULL::VARCHAR), (NULL::VARCHAR), ('E'::TEXT::VARCHAR), (NULL::VARCHAR)) AS tab_18793 (col_36297)
test_1 | )
test_1 | AS tab_18794
test_1 | ORDER BY
test_1 | col_36298;
test_1 |
test_1 | cockroach1:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (
test_1 | SELECT
test_1 | tab_18793.col_36297 AS col_36298
test_1 | FROM
test_1 | (VALUES (NULL::VARCHAR), (NULL::VARCHAR), ('E':::STRING::VARCHAR), (NULL::VARCHAR)) AS tab_18793 (col_36297)
test_1 | )
test_1 | AS tab_18794
test_1 | ORDER BY
test_1 | col_36298;
test_1 |
test_1 | --- FAIL: TestCompare/mutators (0.53s)
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 BIT(7) NOT NULL, col1_1 INTERVAL NULL, col1_2 OID NULL, col1_3 DATE NOT NULL, col1_4 INET NOT NULL, col1_5 TSQUERY NOT NULL, col1_6 BIT(6) NULL, col1_7 UUID NOT NULL, col1_8 STRING NULL AS (lower(CAST(col1_2 AS STRING))) STORED, col1_9 STRING NOT NULL AS (lower(CAST(col1_5 AS STRING))) STORED, INDEX (lower(CAST(col1_7 AS STRING))) STORING (col1_0, col1_2, col1_5, col1_6, col1_8) WHERE ((table1.col1_9 >= '"':::STRING) OR (table1.col1_3 = '1970-01-01':::DATE)) OR (table1.col1_8 > e'\x00':::STRING) NOT VISIBLE, FAMILY (col1_2, col1_9, col1_8), FAMILY (col1_3, col1_1, col1_6, col1_4), FAMILY (col1_7), FAMILY (col1_0, col1_5));
test_1 | ALTER TABLE table1 INJECT STATISTICS '[{"avg_size": 0, "columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"avg_size": 0, "columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"avg_size": 0, "columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"avg_size": 0, "columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"avg_size": 0, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"avg_size": 0, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"avg_size": 0, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"avg_size": 0, "columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"avg_size": 0, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"avg_size": 0, "columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}]':::JSONB;
test_1 | ALTER TABLE table1 INJECT STATISTICS '[{"avg_size": 6, "columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 753253179, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900000000}, {"avg_size": 8, "columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 719425136, "histo_col_type": "", "name": "__auto__", "null_count": 323299543, "row_count": 900000000}, {"avg_size": 3, "columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6149165, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900000000}, {"avg_size": 29, "columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 526459670, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900000000}, {"avg_size": 11, "columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 191397146, "histo_col_type": "", "name": "__auto__", "null_count": 612270112, "row_count": 900000000}, {"avg_size": 14, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 887686338, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900000000}, {"avg_size": 13, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 118621540, "histo_col_type": "", "name": "__auto__", "null_count": 211689359, "row_count": 900000000}, {"avg_size": 7, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 752515425, "histo_col_type": "", "name": "__auto__", "null_count": 568051217, "row_count": 900000000}, {"avg_size": 22, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 74088501, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900000000}, {"avg_size": 10, "columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 484614358, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900000000}]':::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 (52.80s)
See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)
- #92892 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2.0] - #89361 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]
compose.TestComposeCompare failed with artifacts on master @ d1233022fc2f67a3901c0be08ec71abb13b1e8fe:
test_1 | }))
test_1 | cockroach1:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (
test_1 | SELECT
test_1 | tab_1782.col_3571 AS col_3572
test_1 | FROM
test_1 | (VALUES (NULL::INT4), (5:::INT8::INT4), (NULL::INT4), (8:::INT8::INT4)) AS tab_1782 (col_3571)
test_1 | ORDER BY
test_1 | tab_1782.col_3571 DESC NULLS FIRST
test_1 | )
test_1 | AS tab_1783
test_1 | ORDER BY
test_1 | col_3572 DESC;
test_1 |
test_1 | postgres:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (
test_1 | SELECT
test_1 | tab_1782.col_3571 AS col_3572
test_1 | FROM
test_1 | (VALUES (NULL::INT4), (5::INT8::INT4), (NULL::INT4), (8::INT8::INT4)) AS tab_1782 (col_3571)
test_1 | ORDER BY
test_1 | tab_1782.col_3571 DESC NULLS FIRST
test_1 | )
test_1 | AS tab_1783
test_1 | ORDER BY
test_1 | col_3572 DESC;
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 INT2 NOT NULL, col1_1 DATE NOT NULL, col1_2 TIMETZ NOT NULL, col1_3 TIMESTAMP NOT NULL, col1_4 TIMESTAMP NOT NULL, PRIMARY KEY (col1_0 DESC), INDEX (col1_0, col1_3 DESC, col1_1 ASC) WHERE ((table1.col1_2 >= '24:00:00-15:59:00':::TIMETZ) AND (table1.col1_0 < (-128):::INT8)) AND (table1.col1_1 < '4714-11-24 BC':::DATE), INDEX (col1_1 DESC) WHERE (((table1.col1_4 > '294276-12-31 23:59:59.999999':::TIMESTAMP) AND (table1.col1_2 >= '00:00:00+15:59:00':::TIMETZ)) AND (table1.col1_1 < 'infinity':::DATE)) AND (table1.col1_0 <= 1:::INT8), UNIQUE (col1_3 ASC, col1_4 DESC, (CASE WHEN col1_3 IS NULL THEN e'8\x1e\t1f\x04SL':::STRING ELSE e'2=.\n\x1e':::STRING END) DESC) STORING (col1_2) PARTITION BY LIST (col1_3, col1_4) (PARTITION table1_part_0 VALUES IN (('2008-07-10 20:59:07.000488':::TIMESTAMP, '2027-12-11 03:53:59.00015':::TIMESTAMP)), PARTITION table1_part_1 VALUES IN (('294276-12-31 23:59:59.999999':::TIMESTAMP, '2008-05-29 04:56:11.000201':::TIMESTAMP)), PARTITION table1_part_2 VALUES IN (('1974-05-18 03:01:22.000225':::TIMESTAMP, '1995-12-23 08:13:36.000034':::TIMESTAMP)), PARTITION table1_part_3 VALUES IN (('2006-01-24 17:46:54.000591':::TIMESTAMP, '1989-09-22 20:19:28.000872':::TIMESTAMP)), PARTITION table1_part_4 VALUES IN (('2018-09-26 11:21:21.000755':::TIMESTAMP, '1990-04-08 15:13:59.000296':::TIMESTAMP)), PARTITION table1_part_5 VALUES IN (('2018-04-18 11:10:24.000559':::TIMESTAMP, '2008-05-19 08:39:51.000368':::TIMESTAMP)), PARTITION table1_part_6 VALUES IN (('294276-12-31 23:59:59.999999':::TIMESTAMP, '2027-12-31 17:58:08.000382':::TIMESTAMP)), PARTITION "DEFAULT" VALUES IN ((DEFAULT, DEFAULT))) WHERE table1.col1_2 <= '00:00:00+15:59:00':::TIMETZ, INDEX (col1_3 ASC, col1_0) STORING (col1_2, col1_4) PARTITION BY LIST (col1_3) (PARTITION table1_part_0 VALUES IN (('2004-02-17 05:30:42.000239':::TIMESTAMP,), ('2016-12-10 11:16:09.000312':::TIMESTAMP,), ('2031-04-28 18:14:21.000579':::TIMESTAMP,), ('2020-12-31 01:09:23.000318':::TIMESTAMP,), ('2022-05-17 17:06:27.000826':::TIMESTAMP,), ('1989-11-05 21:40:23.000366':::TIMESTAMP,), ('1973-09-09 21:13:43.000345':::TIMESTAMP,), ('2006-01-10 12:36:38.00009':::TIMESTAMP,), ('2026-11-11 21:02:58.000611':::TIMESTAMP,), ('1977-09-23 11:07:50.000485':::TIMESTAMP,)), PARTITION table1_part_1 VALUES IN (('0001-01-01 00:00:00':::TIMESTAMP,), ('2007-04-27 09:19:33.000119':::TIMESTAMP,), ('2013-11-02 22:59:32.000452':::TIMESTAMP,), ('2019-12-08 12:03:36.000407':::TIMESTAMP,), ('1985-01-07 01:34:03.000463':::TIMESTAMP,), ('2003-02-01 22:52:20.00086':::TIMESTAMP,), ('1980-11-17 23:53:33.000991':::TIMESTAMP,), ('2000-10-17 16:27:53.000935':::TIMESTAMP,), ('3000-01-01 00:00:00':::TIMESTAMP,)), PARTITION table1_part_2 VALUES IN (('294276-12-31 23:59:59.999999':::TIMESTAMP,), ('2022-09-25 23:11:11.000312':::TIMESTAMP,), ('2012-12-28 10:40:08.00024':::TIMESTAMP,), ('2000-07-10 13:23:40.000394':::TIMESTAMP,), ('1995-09-17 17:09:30.000853':::TIMESTAMP,), ('2028-06-29 17:27:34.000653':::TIMESTAMP,), ('2006-08-30 17:46:25.000483':::TIMESTAMP,), ('1988-02-07 00:40:42.000141':::TIMESTAMP,), ('2020-02-05 12:10:04.000821':::TIMESTAMP,), ('2024-11-24 10:39:37.000433':::TIMESTAMP,)), PARTITION table1_part_3 VALUES IN (('2020-09-15 16:52:49.000104':::TIMESTAMP,), ('2005-10-05 08:10:45.000274':::TIMESTAMP,), ('2008-07-23 19:47:29.000045':::TIMESTAMP,), ('1971-09-23 17:00:32.000274':::TIMESTAMP,), ('1982-12-29 21:09:14.000646':::TIMESTAMP,), ('2032-02-29 03:46:33.000423':::TIMESTAMP,), ('1990-05-12 21:21:42.00049':::TIMESTAMP,), ('1982-12-26 08:47:57.00067':::TIMESTAMP,), ('2003-03-04 09:49:53.000768':::TIMESTAMP,), ('2028-08-25 08:37:43.000169':::TIMESTAMP,))) NOT VISIBLE, INDEX (col1_2, (CASE WHEN col1_3 IS NULL THEN e'\U00002603':::STRING ELSE e'lY\x15\x0bT!':::STRING END) ASC, col1_4 ASC, col1_1) STORING (col1_3), INDEX (col1_3 DESC, col1_1 ASC, col1_4 DESC, col1_2, col1_0 ASC))
test_1 | compare_test.go:160: cockroach1: exec: ERROR: use of partitions requires an enterprise license. see https://cockroachlabs.com/pricing?cluster=0276ab64-c221-4a5e-b687-06d0627b57d5 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)
See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)
- #92892 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2.0] - #89361 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]
compose.TestComposeCompare failed with artifacts on master @ 642afd6e8c8d1f967da4aa0c3c08e2bdc0495100:
test_1 | (
test_1 | SELECT
test_1 | tab_105791.col_201023 AS col_201024
test_1 | FROM
test_1 | (
test_1 | VALUES
test_1 | ('2000-01-01 07:00:00+00:00':::TIMESTAMPTZ::TIMESTAMPTZ),
test_1 | (NULL::TIMESTAMPTZ),
test_1 | ('2000-01-01 05:00:00+00:00':::TIMESTAMPTZ::TIMESTAMPTZ),
test_1 | ('2000-01-01 04:00:00+00:00':::TIMESTAMPTZ::TIMESTAMPTZ)
test_1 | )
test_1 | AS tab_105791 (col_201023)
test_1 | )
test_1 | AS tab_105792
test_1 | ORDER BY
test_1 | col_201024;
test_1 |
test_1 | postgres:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (
test_1 | SELECT
test_1 | tab_105791.col_201023 AS col_201024
test_1 | FROM
test_1 | (
test_1 | VALUES
test_1 | ('2000-01-01 07:00:00+00:00'::TIMESTAMPTZ::TIMESTAMPTZ),
test_1 | (NULL::TIMESTAMPTZ),
test_1 | ('2000-01-01 05:00:00+00:00'::TIMESTAMPTZ::TIMESTAMPTZ),
test_1 | ('2000-01-01 04:00:00+00:00'::TIMESTAMPTZ::TIMESTAMPTZ)
test_1 | )
test_1 | AS tab_105791 (col_201023)
test_1 | )
test_1 | AS tab_105792
test_1 | ORDER BY
test_1 | col_201024;
test_1 |
test_1 | FAIL
compare_test_1 exited with code 1
Stopping compare_cockroach1_1 ...
Stopping compare_postgres_1 ...
Stopping compare_cockroach2_1 ...
Stopping compare_postgres_1 ... done
Stopping compare_cockroach2_1 ... done
Stopping compare_cockroach1_1 ... done
Aborting on container exit...
compose_test.go:120: exit status 1
--- FAIL: TestComposeCompare (202.55s)
See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)
- #92892 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2.0] - #89361 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]
compose.TestComposeCompare failed with artifacts on master @ 7594fb2d1438dd5ed8f80a887b8d60b6cdd296ed:
test_1 | FROM
test_1 | (
test_1 | SELECT
test_1 | tab_36999.col_68593 AS col_68594
test_1 | FROM
test_1 | (VALUES (NULL::DECIMAL), (NULL::DECIMAL), (6:::DECIMAL::DECIMAL)) AS tab_36999 (col_68593)
test_1 | ORDER BY
test_1 | tab_36999.col_68593 ASC, tab_36999.col_68593 DESC NULLS FIRST, tab_36999.col_68593 ASC
test_1 | )
test_1 | AS tab_37000
test_1 | ORDER BY
test_1 | col_68594 DESC;
test_1 |
test_1 | postgres:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (
test_1 | SELECT
test_1 | tab_36999.col_68593 AS col_68594
test_1 | FROM
test_1 | (VALUES (NULL::DECIMAL), (NULL::DECIMAL), (6::DECIMAL::DECIMAL)) AS tab_36999 (col_68593)
test_1 | ORDER BY
test_1 | tab_36999.col_68593 ASC, tab_36999.col_68593 DESC NULLS FIRST, tab_36999.col_68593 ASC
test_1 | )
test_1 | AS tab_37000
test_1 | ORDER BY
test_1 | col_68594 DESC;
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 NAME[] NOT NULL, PRIMARY KEY (col1_0), UNIQUE (col1_0 DESC), INDEX (col1_0 ASC), UNIQUE (col1_0 ASC), INDEX (col1_0), UNIQUE (col1_0 ASC), UNIQUE (col1_0));
test_1 | ALTER TABLE table1 INJECT STATISTICS e'[{"avg_size": 16, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3114016959, "histo_buckets": [{"distinct_range": 0, "num_eq": 6000000000, "num_range": 0, "upper_bound": "ARRAY[]"}, {"distinct_range": 0, "num_eq": 2277286464058337882, "num_range": 2802200565021807488, "upper_bound": "ARRAY[e\'\\\\\'\':::STRING:::NAME,\'*/0\':::STRING:::NAME,\'\\"5n|\':::STRING:::NAME,e\'4kr\\\\x0e&\':::STRING:::NAME]"}, {"distinct_range": 81288.95650738741, "num_eq": 873510138413280844, "num_range": 100000, "upper_bound": "ARRAY[e\'\\\\\'\':::STRING:::NAME,\'_V{gTeE\':::STRING:::NAME,\'-Y~\':::STRING:::NAME,\'kJd\':::STRING:::NAME]"}, {"distinct_range": 0, "num_eq": 5000000, "num_range": 5887186400109048344, "upper_bound": "ARRAY[\':YjV\':::STRING:::NAME,\'\':::STRING:::NAME,e\'phD\\\\x04\\\\x13\\\\x02/\':::STRING:::NAME]"}, {"distinct_range": 8655543855731155000, "num_eq": 6000000000, "num_range": 8655543855731155047, "upper_bound": "ARRAY[\'g+$\':::STRING:::NAME,\'On;BIo\\"3\':::STRING:::NAME]"}, {"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "ARRAY[\'s^W893uB\':::STRING:::NAME,e\'~HS\\\\fipp^\':::STRING:::NAME,e\'\\\\\'\':::STRING:::NAME]"}], "histo_col_type": "NAME[]", "name": "__auto__", "null_count": 0, "row_count": 5000000000}]':::JSONB;
test_1 | ALTER TABLE table1 INJECT STATISTICS e'[{"avg_size": 24, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4572522, "histo_buckets": [{"distinct_range": 0, "num_eq": 400, "num_range": 0, "upper_bound": "ARRAY[\'\':::STRING:::NAME,e\'\\\\x15\':::STRING:::NAME]"}], "histo_col_type": "NAME[]", "name": "__auto__", "null_count": 0, "row_count": 8000000}]':::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 (78.49s)
See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)
- #89361 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]
compose.TestComposeCompare failed with artifacts on master @ 9b567e3439e49c109e5204c9d0afec49c1a3169b:
test_1 | *
test_1 | FROM
test_1 | (
test_1 | SELECT
test_1 | tab_10243.col_19267 AS col_19268
test_1 | FROM
test_1 | (
test_1 | VALUES
test_1 | (NULL::NAME), ('J':::STRING::NAME), ('C':::STRING::NAME), ('E':::STRING::NAME), ('C':::STRING::NAME)
test_1 | )
test_1 | AS tab_10243 (col_19267)
test_1 | WHERE
test_1 | true::BOOL
test_1 | )
test_1 | AS tab_10244
test_1 | ORDER BY
test_1 | col_19268;
test_1 |
test_1 | postgres:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (
test_1 | SELECT
test_1 | tab_10243.col_19267 AS col_19268
test_1 | FROM
test_1 | (
test_1 | VALUES
test_1 | (NULL::NAME), ('J'::TEXT::NAME), ('C'::TEXT::NAME), ('E'::TEXT::NAME), ('C'::TEXT::NAME)
test_1 | )
test_1 | AS tab_10243 (col_19267)
test_1 | WHERE
test_1 | true::BOOL
test_1 | )
test_1 | AS tab_10244
test_1 | ORDER BY
test_1 | col_19268;
test_1 |
test_1 | FAIL
compare_test_1 exited with code 1
Stopping compare_postgres_1 ...
Stopping compare_cockroach1_1 ...
Stopping compare_cockroach2_1 ...
Stopping compare_postgres_1 ... done
Stopping compare_cockroach2_1 ... done
Stopping compare_cockroach1_1 ... done
Aborting on container exit...
compose_test.go:120: exit status 1
--- FAIL: TestComposeCompare (88.67s)
See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)
- #89361 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]
compose.TestComposeCompare failed with artifacts on master @ 27ebfa830ac7122fc3b286136158fef615b20b8f:
test_1 | FROM
test_1 | (VALUES (3::OID::OID), (NULL::OID), (NULL::OID)) AS tab_74104 (col_138366)
test_1 | WHERE
test_1 | true::BOOL
test_1 | ORDER BY
test_1 | tab_74104.col_138366 ASC NULLS FIRST
test_1 | )
test_1 | AS tab_74105
test_1 | ORDER BY
test_1 | col_138367 DESC;
test_1 |
test_1 | cockroach1:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (
test_1 | SELECT
test_1 | tab_74104.col_138366 AS col_138367
test_1 | FROM
test_1 | (VALUES (3:::OID::OID), (NULL::OID), (NULL::OID)) AS tab_74104 (col_138366)
test_1 | WHERE
test_1 | true::BOOL
test_1 | ORDER BY
test_1 | tab_74104.col_138366 ASC NULLS FIRST
test_1 | )
test_1 | AS tab_74105
test_1 | ORDER BY
test_1 | col_138367 DESC;
test_1 |
test_1 | --- FAIL: TestCompare/mutators (0.60s)
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 REGPROCEDURE NOT NULL, PRIMARY KEY (col1_0), UNIQUE (col1_0), INDEX (col1_0 DESC), UNIQUE (col1_0), INDEX (col1_0), UNIQUE (col1_0 ASC), UNIQUE (col1_0), UNIQUE (col1_0 ASC), UNIQUE ((CASE WHEN col1_0 IS NULL THEN e'\x16L35[\x1cd':::STRING ELSE e'\x1d\x1a[@I\x14R\x0e':::STRING END)));
test_1 | ALTER TABLE table1 INJECT STATISTICS '[{"avg_size": 6, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 623, "histo_buckets": [{"distinct_range": 0, "num_eq": 40000000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 5370221805632925000, "num_eq": 7000000, "num_range": 5370221805632925123, "upper_bound": "904012553"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 0, "row_count": 1000}]':::JSONB;
test_1 | ALTER TABLE table1 INJECT STATISTICS '[{"avg_size": 24, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 800586249463878220, "histo_buckets": [{"distinct_range": 0, "num_eq": 80000000, "num_range": 0, "upper_bound": "2896419500"}, {"distinct_range": 2875897323320619500, "num_eq": 800000000, "num_range": 2875897323320619717, "upper_bound": "3290719929"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 0, "row_count": 1373058857131177248}]':::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 (141.10s)
See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)
- #89361 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]
compose.TestComposeCompare failed with artifacts on master @ b5cffc06bf36ce42b601d3307a1e38f933be40c4:
test_1 | AS tab_33375
test_1 | ORDER BY
test_1 | col_70835, col_70836 DESC;
test_1 |
test_1 | postgres:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (
test_1 | SELECT
test_1 | tab_33374.col_70833 AS col_70835, 8::OID::OID AS col_70836
test_1 | FROM
test_1 | (
test_1 | VALUES
test_1 | ('2000-01-09'::DATE::DATE, 8::OID::OID),
test_1 | ('2000-01-02'::DATE::DATE, 7::OID::OID),
test_1 | (NULL::DATE, 7::OID::OID),
test_1 | ('2000-01-03'::DATE::DATE, 5::OID::OID),
test_1 | (NULL::DATE, 9::OID::OID),
test_1 | (NULL::DATE, 8::OID::OID)
test_1 | )
test_1 | AS tab_33374 (col_70833, col_70834)
test_1 | ORDER BY
test_1 | tab_33374.col_70833 DESC NULLS FIRST
test_1 | )
test_1 | AS tab_33375
test_1 | ORDER BY
test_1 | col_70835, col_70836 DESC;
test_1 |
test_1 | --- FAIL: TestCompare/mutators (0.70s)
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 BYTES NOT NULL, col1_1 DECIMAL NOT NULL, col1_2 BOX2D NOT NULL, col1_3 TIMESTAMPTZ NOT NULL, col1_4 INT4[] NOT NULL, col1_5 TSVECTOR, col1_6 FLOAT8 NOT NULL, col1_7 REGPROCEDURE NOT NULL, col1_8 DECIMAL NOT NULL, PRIMARY KEY (col1_1 ASC, col1_8 ASC, col1_3 DESC, col1_0 DESC, col1_7), INDEX (col1_4 DESC, (CASE WHEN col1_4 IS NULL THEN e'\\y\\':::STRING ELSE e'\x1dX\x1a\'S$a\x1c\\':::STRING END) ASC, col1_8) STORING (col1_2, col1_5) WHERE ((((table1.col1_0 = e'\\x58':::BYTES) AND (table1.col1_6 <= '+Inf':::FLOAT8)) AND (table1.col1_1 >= 1:::DECIMAL)) AND (table1.col1_8 != '-Infinity':::DECIMAL)) AND (table1.col1_3 <= '0001-01-01 00:00:00+00:00':::TIMESTAMPTZ) NOT VISIBLE, UNIQUE (col1_0 DESC) STORING (col1_2, col1_4, col1_6) WHERE ((((table1.col1_3 <= '294276-12-31 23:59:59.999999+00:00':::TIMESTAMPTZ) AND (table1.col1_8 < 0:::DECIMAL)) AND (table1.col1_6 <= '-Inf':::FLOAT8)) OR (table1.col1_1 > (-1.234E+401):::DECIMAL)) OR (table1.col1_0 <= e'\\x22':::BYTES), FAMILY (col1_8), FAMILY (col1_6, col1_0, col1_3, col1_2, col1_1, col1_7), FAMILY (col1_4), FAMILY (col1_5));
test_1 | ALTER TABLE table1 INJECT STATISTICS e'[{"avg_size": 9, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3320428090, "histo_buckets": [{"distinct_range": 0, "num_eq": 50000, "num_range": 0, "upper_bound": "-8174.549582765545086"}, {"distinct_range": 7119893963411561000, "num_eq": 200000, "num_range": 7119893963411561752, "upper_bound": "-0.2187317898903329563"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 0, "row_count": 9000000000}, {"avg_size": 16, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6272209574, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 9000000000}, {"avg_size": 5, "columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1428122386, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 9000000000}, {"avg_size": 11, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 454532283, "histo_buckets": [{"distinct_range": 0, "num_eq": 3254072988297005494, "num_range": 0, "upper_bound": "\\\\xf4"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 9000000000}, {"avg_size": 13, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8414361077, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 9000000000}, {"avg_size": 19, "columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2149161539, "histo_buckets": [{"distinct_range": 0, "num_eq": 8011189217435380814, "num_range": 0, "upper_bound": "ARRAY[1573879690:::INT8,1976154256:::INT8]"}], "histo_col_type": "INT4[]", "name": "__auto__", "null_count": 0, "row_count": 9000000000}, {"avg_size": 27, "columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3580849252, "histo_col_type": "", "name": "__auto__", "null_count": 5738686823, "row_count": 9000000000}, {"avg_size": 31, "columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3532216576, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 9000000000}, {"avg_size": 16, "columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3612724984, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 9000000000}]':::JSONB;
test_1 | ALTER TABLE table1 INJECT STATISTICS '[{"avg_size": 28, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 743418292822267392, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1313949570460921559}, {"avg_size": 17, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1045805526941277809, "histo_buckets": [{"distinct_range": 0, "num_eq": 8302885481306203148, "num_range": 0, "upper_bound": "-0.698844340698524638"}, {"distinct_range": 100000000, "num_eq": 70000, "num_range": 100000000, "upper_bound": "3575.255696067533499"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 0, "row_count": 1313949570460921559}, {"avg_size": 11, "columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 563409621394337844, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1313949570460921559}, {"avg_size": 21, "columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 258837400985105121, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1313949570460921559}, {"avg_size": 27, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 809234460682983043, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1313949570460921559}, {"avg_size": 3, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 611050264243008632, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1313949570460921559}, {"avg_size": 10, "columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 469028435676366652, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000000000, "num_range": 0, "upper_bound": "ARRAY[]"}, {"distinct_range": 9204788165062586000, "num_eq": 10, "num_range": 9204788165062586328, "upper_bound": "ARRAY[127:::INT8,1:::INT8]"}], "histo_col_type": "INT4[]", "name": "__auto__", "null_count": 0, "row_count": 1313949570460921559}, {"avg_size": 20, "columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1112127974029525544, "histo_col_type": "", "name": "__auto__", "null_count": 71182729297295159, "row_count": 1313949570460921559}, {"avg_size": 0, "columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 693390446152808288, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1313949570460921559}]':::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 (71.74s)
See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)
- #89361 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]
compose.TestComposeCompare failed with artifacts on master @ cec8af84bf01918d28b1e06a29b18ac9bee7cbb8:
test_1 | AS tab_11932
test_1 | ORDER BY
test_1 | col_20745 ASC, col_20746 ASC;
test_1 |
test_1 | postgres:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (
test_1 | SELECT
test_1 | tab_11931.col_20743 AS col_20745,
test_1 | (2.0::FLOAT8::FLOAT8::FLOAT8 - tab_11931.col_20744::FLOAT8)::FLOAT8 AS col_20746
test_1 | FROM
test_1 | (
test_1 | VALUES
test_1 | (NULL::rand_typ_0, (5.0::FLOAT8::FLOAT8::FLOAT8 * 8.0::FLOAT8::FLOAT8::FLOAT8)::FLOAT8),
test_1 | (NULL::rand_typ_0, 3.0::FLOAT8::FLOAT8),
test_1 | (NULL::rand_typ_0, 8.0::FLOAT8::FLOAT8),
test_1 | (NULL::rand_typ_0, 9.0::FLOAT8::FLOAT8),
test_1 | (NULL::rand_typ_0, NULL::FLOAT8)
test_1 | )
test_1 | AS tab_11931 (col_20743, col_20744)
test_1 | WHERE
test_1 | true::BOOL
test_1 | )
test_1 | AS tab_11932
test_1 | ORDER BY
test_1 | col_20745 ASC, col_20746 ASC;
test_1 |
test_1 | --- FAIL: TestCompare/mutators (0.34s)
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 GEOGRAPHY NULL, col1_1 NAME NOT NULL, col1_2 REGTYPE, col1_3 "char" NOT NULL, col1_4 REGPROCEDURE, col1_5 NAME NOT NULL, col1_6 BIT(12) NOT NULL, col1_7 REGROLE NOT NULL, col1_8 JSONB NOT NULL, col1_9 GEOGRAPHY NOT NULL, col1_10 STRING NOT NULL AS (lower(CAST(col1_9 AS STRING))) STORED, col1_11 STRING NOT NULL AS (CASE WHEN col1_2 IS NULL THEN '':::STRING ELSE e'\x0fz!\x05?':::STRING END) STORED, col1_12 STRING AS (CASE WHEN col1_4 IS NULL THEN e'7!\x12X/``':::STRING ELSE 'O':::STRING END) STORED, col1_13 STRING NOT NULL AS (lower(col1_5)) STORED, col1_14 STRING NOT NULL AS (lower(col1_5)) STORED, col1_15 STRING AS (CASE WHEN col1_2 IS NULL THEN '6*':::STRING ELSE e's\f':::STRING END) STORED, col1_16 STRING AS (CASE WHEN col1_2 IS NULL THEN NULL ELSE e'c7\x0f\tW\x01m!N':::STRING END) VIRTUAL, col1_17 STRING NOT NULL AS (lower(col1_3)) STORED, PRIMARY KEY (col1_7, col1_11, col1_10 ASC), INDEX (col1_13 ASC, col1_16, col1_5 ASC, col1_7, lower(CAST(col1_0 AS STRING)) ASC, col1_6 DESC, col1_3 ASC, col1_14 ASC) WHERE ((((((((((table1.col1_13 <= e'\x00':::STRING) AND (table1.col1_16 <= 'X':::STRING)) OR (table1.col1_11 >= '':::STRING)) AND (table1.col1_14 < 'X':::STRING)) AND (table1.col1_15 != e'\x00':::STRING)) AND (table1.col1_1 = '':::STRING:::NAME)) OR (table1.col1_12 = 'X':::STRING)) AND (table1.col1_3 = e'\'':::STRING)) AND (table1.col1_5 < '':::STRING:::NAME)) AND (table1.col1_10 = e'\U00002603':::STRING)) AND (table1.col1_17 < e'\'':::STRING), FAMILY (col1_5), FAMILY (col1_11, col1_2), FAMILY (col1_13), FAMILY (col1_12, col1_14, col1_4), FAMILY (col1_15, col1_17, col1_8), FAMILY (col1_9), FAMILY (col1_6), FAMILY (col1_0, col1_10), FAMILY (col1_1, col1_7, col1_3));
test_1 | ALTER TABLE table1 INJECT STATISTICS e'[{"avg_size": 15, "columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1284450546077305062, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1771809097603135880}, {"avg_size": 8, "columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 907351865279638862, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1771809097603135880}, {"avg_size": 23, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 974590087394330514, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1771809097603135880}, {"avg_size": 4, "columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 604243131228896783, "histo_col_type": "", "name": "__auto__", "null_count": 1398094096091577474, "row_count": 1771809097603135880}, {"avg_size": 31, "columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 760868232200526980, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1771809097603135880}, {"avg_size": 7, "columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1679674388991435641, "histo_buckets": [{"distinct_range": 0, "num_eq": 60000000, "num_range": 0, "upper_bound": "553620763"}, {"distinct_range": 5140772619663173000, "num_eq": 8079857225314278951, "num_range": 5140772619663173062, "upper_bound": "669322175"}, {"distinct_range": 808.5961802055726, "num_eq": 7836774360858299938, "num_range": 2000, "upper_bound": "1056960786"}, {"distinct_range": 0, "num_eq": 500000, "num_range": 0, "upper_bound": "1581248095"}, {"distinct_range": 2519628836294152000, "num_eq": 800, "num_range": 5386404590347158472, "upper_bound": "1598031136"}, {"distinct_range": 28449.185637118833, "num_eq": 372839726230887443, "num_range": 50000, "upper_bound": "3394054422"}], "histo_col_type": "REGROLE", "name": "__auto__", "null_count": 0, "row_count": 1771809097603135880}, {"avg_size": 4, "columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1454672127687935058, "histo_buckets": [{"distinct_range": 0, "num_eq": 212889246501490013, "num_range": 0, "upper_bound": "\\n(.!"}, {"distinct_range": 0, "num_eq": 7000000, "num_range": 4825512152313508625, "upper_bound": "\\u000fgJ@P"}, {"distinct_range": 14629174.458758837, "num_eq": 4845862105386926716, "num_range": 20000000, "upper_bound": "\\u0016/_"}, {"distinct_range": 681230030313572500, "num_eq": 8349472245321823030, "num_range": 2008129067379186385, "upper_bound": "\\u0016WB(0p|k"}, {"distinct_range": 4086101712891158500, "num_eq": 9188471298801210405, "num_range": 8340366113330250543, "upper_bound": "#<"}, {"distinct_range": 46461606.55389663, "num_eq": 8389409833831205387, "num_range": 90000000, "upper_bound": "P3CnWD"}, {"distinct_range": 0, "num_eq": 30000000, "num_range": 800000, "upper_bound": "SO"}, {"distinct_range": 394321869254508000, "num_eq": 5823356562314538676, "num_range": 901609602289763326, "upper_bound": "X"}, {"distinct_range": 0, "num_eq": 20, "num_range": 0, "upper_bound": "v\\u0011jrO5u\\u0018"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 1771809097603135880}, {"avg_size": 21, "columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 786761733099301851, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1771809097603135880}, {"avg_size": 14, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1712146537990770739, "histo_col_type": "", "name": "__auto__", "null_count": 1117875670319864886, "row_count": 1771809097603135880}, {"avg_size": 4, "columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 964187574790710455, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1771809097603135880}, {"avg_size": 10, "columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1576397602856184557, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1771809097603135880}, {"avg_size": 12, "columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 916608586348405091, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1771809097603135880}, {"avg_size": 7, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 385656875017687616, "histo_col_type": "", "name": "__auto__", "null_count": 712726273957951081, "row_count": 1771809097603135880}, {"avg_size": 16, "columns": ["col1_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1610273563361465159, "histo_col_type": "", "name": "__auto__", "null_count": 831670901210932778, "row_count": 1771809097603135880}, {"avg_size": 13, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 269442473911847241, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1771809097603135880}, {"avg_size": 10, "columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 458002777946829962, "histo_col_type": "", "name": "__auto__", "null_count": 858104536270602292, "row_count": 1771809097603135880}, {"avg_size": 20, "columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1554237571477679127, "histo_col_type": "", "name": "__auto__", "null_count": 49262403608299137, "row_count": 1771809097603135880}, {"avg_size": 22, "columns": ["col1_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1193712840764471895, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1771809097603135880}]':::JSONB;
test_1 | ALTER TABLE table1 INJECT STATISTICS '[{"avg_size": 22, "columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1439496603943675582, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4699758300017916084}, {"avg_size": 27, "columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 419415360568029561, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4699758300017916084}, {"avg_size": 22, "columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3906060274012992230, "histo_col_type": "", "name": "__auto__", "null_count": 2109992655064840929, "row_count": 4699758300017916084}, {"avg_size": 4, "columns": ["col1_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1206400692040817655, "histo_col_type": "", "name": "__auto__", "null_count": 2485993209658154929, "row_count": 4699758300017916084}, {"avg_size": 16, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1801288005670186153, "histo_col_type": "", "name": "__auto__", "null_count": 1062001157487665075, "row_count": 4699758300017916084}, {"avg_size": 12, "columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1415956787173942633, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4699758300017916084}, {"avg_size": 1, "columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1947723680749802194, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4699758300017916084}, {"avg_size": 19, "columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2356968885873832829, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4699758300017916084}, {"avg_size": 22, "columns": ["col1_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1942726125010074119, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4699758300017916084}, {"avg_size": 27, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2061589288709679388, "histo_col_type": "", "name": "__auto__", "null_count": 2302697526464867748, "row_count": 4699758300017916084}, {"avg_size": 17, "columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2851269875171675582, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4699758300017916084}, {"avg_size": 26, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2035428551334690492, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4699758300017916084}, {"avg_size": 23, "columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 783816517229389224, "histo_col_type": "", "name": "__auto__", "null_count": 1814148694699779757, "row_count": 4699758300017916084}, {"avg_size": 2, "columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 336486152993167993, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4699758300017916084}, {"avg_size": 11, "columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3780429400778237599, "histo_buckets": [{"distinct_range": 0, "num_eq": 70000, "num_range": 0, "upper_bound": "1401615608"}, {"distinct_range": 1680446730534255900, "num_eq": 3606725103153405517, "num_range": 1680446730534255852, "upper_bound": "2601297450"}], "histo_col_type": "REGROLE", "name": "__auto__", "null_count": 0, "row_count": 4699758300017916084}, {"avg_size": 6, "columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2023886732432052811, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4699758300017916084}, {"avg_size": 28, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4324861722983366489, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4699758300017916084}, {"avg_size": 1, "columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 192144042001191741, "histo_col_type": "", "name": "__auto__", "null_count": 1135008854662952467, "row_count": 4699758300017916084}]':::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 (37.21s)
See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)
- #89361 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]
compose.TestComposeCompare failed with artifacts on master @ 73485e56768d61b14a5aa9b3f880613d7820edb9:
postgres_1 | )
postgres_1 | AS tab_62874
postgres_1 | ORDER BY
postgres_1 | col_80458 DESC,
postgres_1 | col_80459 DESC NULLS LAST,
postgres_1 | col_80460 ASC NULLS FIRST,
postgres_1 | col_80461 ASC NULLS FIRST,
postgres_1 | col_80462 DESC NULLS FIRST
test_1 | --- FAIL: TestCompare (62.68s)
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 (59.42s)
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/TestComposeCompare4022404304/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 | }))
test_1 | cockroach1:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (SELECT tab_63038.col_80656 AS col_80657 FROM (VALUES (true::BOOL), (NULL::BOOL)) AS tab_63038 (col_80656))
test_1 | AS tab_63039
test_1 | ORDER BY
test_1 | col_80657;
test_1 |
test_1 | postgres: [same as previous]
test_1 |
test_1 | --- FAIL: TestCompare/mutators (0.14s)
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 TIME NOT NULL, col2_1 VARCHAR NOT NULL, col2_2 FLOAT4 NOT NULL, col2_3 REGROLE NOT NULL, col2_4 DECIMAL NOT NULL, col2_5 INT2 NOT NULL, col2_6 TIMETZ NOT NULL, col2_7 TIMESTAMP NOT NULL, PRIMARY KEY (col2_4 ASC, col2_1, col2_2 ASC, col2_0, col2_3 DESC, col2_6, col2_5 DESC, col2_7), UNIQUE (col2_0 DESC), UNIQUE (col2_3, col2_6 ASC, col2_4 ASC) PARTITION BY LIST (col2_3) (PARTITION table2_part_0 VALUES IN ((2174328358:::OID,), (1014417770:::OID,), (2679669587:::OID,), (2461918374:::OID,), (3683045962:::OID,), (826204857:::OID,), (2161787490:::OID,), (975006299:::OID,), (1079489015:::OID,), (489064379:::OID,))) WHERE ((((((table2.col2_0 != '24:00:00':::TIME) OR (table2.col2_4 <= 'NaN':::DECIMAL)) OR (table2.col2_1 != e'\U00002603':::STRING)) OR (table2.col2_7 > '3000-01-01 00:00:00':::TIMESTAMP)) OR (table2.col2_5 = 127:::INT8)) OR (table2.col2_6 >= '00:00:00+15:59:00':::TIMETZ)) OR (table2.col2_2 != '-Inf':::FLOAT8), UNIQUE (col2_7, col2_5 DESC, col2_2, col2_6 DESC, col2_1, (col2_5 + 1:::INT8) DESC), UNIQUE (col2_0 DESC, col2_4 DESC, col2_6 ASC, col2_2, col2_5) PARTITION BY LIST (col2_0, col2_4) (PARTITION table2_part_0 VALUES IN (('17:41:21.984342':::TIME, 3233.595868404357334:::DECIMAL), ('02:44:30.85638':::TIME, 8.143146241081738346E+35:::DECIMAL), ('16:46:14.700728':::TIME, (-5237227661.004610792):::DECIMAL)), PARTITION table2_part_1 VALUES IN (('16:50:08.750821':::TIME, (-1738338407951.659126):::DECIMAL), ('05:36:17.200915':::TIME, (-859020690065.1190930):::DECIMAL), ('15:38:23.445533':::TIME, 0.026261581790488689:::DECIMAL)), PARTITION table2_part_2 VALUES IN (('24:00:00':::TIME, (-9.8040392138480168E+19):::DECIMAL), ('12:28:55.295536':::TIME, (-7.469011592400818536):::DECIMAL), ('00:16:05.478696':::TIME, 6616873284.554765930:::DECIMAL)), PARTITION table2_part_3 VALUES IN (('20:54:30.638944':::TIME, 0.2562788696109236676:::DECIMAL), ('02:54:30.560053':::TIME, (-4.09477408520331576E+30):::DECIMAL), ('03:20:15.442738':::TIME, 8.363771293379982350E+20:::DECIMAL))), UNIQUE (col2_4 DESC, col2_1 DESC, col2_6 DESC, col2_0 DESC, col2_7 ASC) WHERE (table2.col2_5 = 0:::INT8) OR (table2.col2_1 <= 'X':::STRING), INDEX (col2_5 ASC, (col2_2 + (-1.7109627723693848):::FLOAT8), col2_6 ASC, col2_4 DESC) WHERE ((((((table2.col2_1 > e'\U00002603':::STRING) AND (table2.col2_6 > '00:00:00+15:59:00':::TIMETZ)) OR (table2.col2_5 > 127:::INT8)) AND (table2.col2_0 != '24:00:00':::TIME)) OR (table2.col2_2 = (-1.0):::FLOAT8)) OR (table2.col2_7 >= '-4713-11-24 00:00:00':::TIMESTAMP)) AND (table2.col2_4 = (-1):::DECIMAL), UNIQUE (col2_2, col2_7) WHERE ((table2.col2_1 != '"':::STRING) AND (table2.col2_5 >= 1:::INT8)) AND (table2.col2_4 > 'NaN':::DECIMAL), INDEX (col2_6 DESC, col2_5 ASC, col2_1, col2_3 ASC, col2_7 ASC) WHERE ((table2.col2_5 <= (-32768):::INT8) OR (table2.col2_4 >= 'NaN':::DECIMAL)) OR (table2.col2_0 != '24:00:00':::TIME), FAMILY (col2_7), FAMILY (col2_4, col2_0), FAMILY (col2_2, col2_5, col2_3, col2_6), FAMILY (col2_1))
test_1 | compare_test.go:160: cockroach1: exec: ERROR: use of partitions requires an enterprise license. see https://cockroachlabs.com/pricing?cluster=7dcaceb4-2d8c-492d-8462-12e357680cb4 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_cockroach1_1 ...
Stopping compare_postgres_1 ...
Stopping compare_postgres_1 ... done
Stopping compare_cockroach2_1 ... done
Stopping compare_cockroach1_1 ... done
Aborting on container exit...
compose_test.go:120: exit status 1
--- FAIL: TestComposeCompare (84.93s)
See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)
- #89361 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]
compose.TestComposeCompare failed with artifacts on master @ a3d53668ff52c2306f37fcad8e9212ff665ca115:
postgres_1 | col_26720 DESC NULLS LAST, col_26721 DESC
test_1 | --- FAIL: TestCompare (16.52s)
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 (14.22s)
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/TestComposeCompare1423640309/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("F"),
test_1 | }))
test_1 | cockroach1:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (SELECT tab_16939.col_26815 AS col_26816 FROM (VALUES (NULL::NAME), ('F':::STRING::NAME)) AS tab_16939 (col_26815))
test_1 | AS tab_16940
test_1 | ORDER BY
test_1 | col_26816 ASC;
test_1 |
test_1 | postgres:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (SELECT tab_16939.col_26815 AS col_26816 FROM (VALUES (NULL::NAME), ('F'::TEXT::NAME)) AS tab_16939 (col_26815))
test_1 | AS tab_16940
test_1 | ORDER BY
test_1 | col_26816 ASC;
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 table3 (col3_0 REGCLASS NOT NULL, PRIMARY KEY (col3_0 ASC), INDEX (col3_0 DESC), INDEX (col3_0 DESC) NOT VISIBLE, UNIQUE (col3_0 DESC) PARTITION BY LIST (col3_0) (PARTITION table3_part_0 VALUES IN ((3795014135:::OID,)), PARTITION table3_part_1 VALUES IN ((1612729331:::OID,)), PARTITION table3_part_2 VALUES IN ((113631892:::OID,))))
test_1 | compare_test.go:160: cockroach1: exec: ERROR: use of partitions requires an enterprise license. see https://cockroachlabs.com/pricing?cluster=0dcd8625-bdef-4a87-a916-e5eb16d03eec 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 (38.65s)
See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)
- #89361 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]
compose.TestComposeCompare failed with artifacts on master @ 8866ecadd99e5f6dc8db9fed5d09bc57cd90b03c:
test_1 | (
test_1 | VALUES
test_1 | ('2000-01-01 06:00:00+00:00':::TIMESTAMPTZ::TIMESTAMPTZ),
test_1 | ('2000-01-01 06:00:00+00:00':::TIMESTAMPTZ::TIMESTAMPTZ),
test_1 | (NULL::TIMESTAMPTZ),
test_1 | ('2000-01-01 00:00:00+00:00':::TIMESTAMPTZ::TIMESTAMPTZ)
test_1 | )
test_1 | AS tab_73548 (col_147580)
test_1 | WHERE
test_1 | true::BOOL
test_1 | )
test_1 | AS tab_73549
test_1 | ORDER BY
test_1 | col_147581 ASC;
test_1 |
test_1 | postgres:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (
test_1 | SELECT
test_1 | tab_73548.col_147580 AS col_147581
test_1 | FROM
test_1 | (
test_1 | VALUES
test_1 | ('2000-01-01 06:00:00+00:00'::TIMESTAMPTZ::TIMESTAMPTZ),
test_1 | ('2000-01-01 06:00:00+00:00'::TIMESTAMPTZ::TIMESTAMPTZ),
test_1 | (NULL::TIMESTAMPTZ),
test_1 | ('2000-01-01 00:00:00+00:00'::TIMESTAMPTZ::TIMESTAMPTZ)
test_1 | )
test_1 | AS tab_73548 (col_147580)
test_1 | WHERE
test_1 | true::BOOL
test_1 | )
test_1 | AS tab_73549
test_1 | ORDER BY
test_1 | col_147581 ASC;
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 (114.97s)
See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)
- #89361 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]
compose.TestComposeCompare failed with artifacts on master @ 8866ecadd99e5f6dc8db9fed5d09bc57cd90b03c:
test_1 | - uint32(7),
test_1 | + nil,
test_1 | }))
test_1 | cockroach1:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (
test_1 | SELECT
test_1 | tab_31858.col_60349 AS col_60350
test_1 | FROM
test_1 | (VALUES (2:::OID::OID), (6:::OID::OID), (NULL::OID), (5:::OID::OID), (7:::OID::OID), (5:::OID::OID))
test_1 | AS tab_31858 (col_60349)
test_1 | )
test_1 | AS tab_31859
test_1 | ORDER BY
test_1 | col_60350 DESC;
test_1 |
test_1 | postgres:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (
test_1 | SELECT
test_1 | tab_31858.col_60349 AS col_60350
test_1 | FROM
test_1 | (VALUES (2::OID::OID), (6::OID::OID), (NULL::OID), (5::OID::OID), (7::OID::OID), (5::OID::OID))
test_1 | AS tab_31858 (col_60349)
test_1 | )
test_1 | AS tab_31859
test_1 | ORDER BY
test_1 | col_60350 DESC;
test_1 |
test_1 | --- FAIL: TestCompare/mutators (0.33s)
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 INT4 NOT NULL, PRIMARY KEY (col1_0 ASC), UNIQUE (col1_0), UNIQUE ((col1_0 + 2066439989:::INT8) ASC) WHERE table1.col1_0 = 2147483647:::INT8, UNIQUE (col1_0) PARTITION BY LIST (col1_0) (PARTITION table1_part_0 VALUES IN ((202247431:::INT8,), (401208276:::INT8,), ((-1091014564):::INT8,), (517402316:::INT8,), ((-1761859375):::INT8,), ((-1875794478):::INT8,), (251918691:::INT8,)), PARTITION table1_part_1 VALUES IN ((1693152777:::INT8,), ((-527278835):::INT8,), (1803541650:::INT8,), (799646876:::INT8,), ((-2102987747):::INT8,), ((-974316619):::INT8,), (1682716122:::INT8,)), PARTITION table1_part_2 VALUES IN (((-2117900471):::INT8,), (318580633:::INT8,), (221264058:::INT8,), ((-992874162):::INT8,), ((-1534207886):::INT8,), (1343890776:::INT8,), (955617293:::INT8,)), PARTITION table1_part_3 VALUES IN ((608322197:::INT8,), (311057096:::INT8,), (1986464655:::INT8,), (454071291:::INT8,), ((-1300649142):::INT8,), ((-748545113):::INT8,), (1398922523:::INT8,)), PARTITION table1_part_4 VALUES IN (((-1156210166):::INT8,), ((-1304371706):::INT8,), (220673998:::INT8,), (1963214897:::INT8,), ((-783205673):::INT8,), ((-945413267):::INT8,), ((-2030796496):::INT8,))), UNIQUE (col1_0) PARTITION BY LIST (col1_0) (PARTITION table1_part_0 VALUES IN (((-561230940):::INT8,), (277071235:::INT8,), ((-2145932579):::INT8,), ((-182788574):::INT8,)), PARTITION table1_part_1 VALUES IN (((-1822457613):::INT8,), ((-1138567909):::INT8,), ((-428938276):::INT8,), (0:::INT8,)), PARTITION table1_part_2 VALUES IN ((1:::INT8,), ((-297334124):::INT8,), ((-1):::INT8,), ((-222620079):::INT8,)), PARTITION "DEFAULT" VALUES IN ((DEFAULT,))) WHERE table1.col1_0 >= (-32768):::INT8, UNIQUE (col1_0 DESC) WHERE table1.col1_0 > (-1):::INT8, UNIQUE (col1_0 ASC), INDEX ((col1_0 + 482020337:::INT8)) NOT VISIBLE, UNIQUE (col1_0 ASC) WHERE table1.col1_0 < 127:::INT8)
test_1 | compare_test.go:160: cockroach1: exec: ERROR: use of partitions requires an enterprise license. see https://cockroachlabs.com/pricing?cluster=d4dbac5c-3d0f-4cf2-ba23-76ff20d0f7a8 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 (70.52s)
See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)
- #89361 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]
compose.TestComposeCompare failed with artifacts on master @ a9e5ebbd2834886b4e9c800f47d44483c30de8b6:
test_1 | AS tab_15794 (col_30211)
test_1 | ORDER BY
test_1 | tab_15794.col_30211 DESC
test_1 | )
test_1 | AS tab_15795
test_1 | ORDER BY
test_1 | col_30212 ASC;
test_1 |
test_1 | postgres:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (
test_1 | SELECT
test_1 | tab_15794.col_30211 AS col_30212
test_1 | FROM
test_1 | (
test_1 | VALUES
test_1 | ('2000-01-01 02:00:00'::TIMESTAMP::TIMESTAMP),
test_1 | ('2000-01-01 05:00:00'::TIMESTAMP::TIMESTAMP),
test_1 | ('2000-01-01 06:00:00'::TIMESTAMP::TIMESTAMP),
test_1 | (NULL::TIMESTAMP),
test_1 | ('2000-01-01 05:00:00'::TIMESTAMP::TIMESTAMP),
test_1 | ('2000-01-01 07:00:00'::TIMESTAMP::TIMESTAMP)
test_1 | )
test_1 | AS tab_15794 (col_30211)
test_1 | ORDER BY
test_1 | tab_15794.col_30211 DESC
test_1 | )
test_1 | AS tab_15795
test_1 | ORDER BY
test_1 | col_30212 ASC;
test_1 |
test_1 | --- FAIL: TestCompare/mutators (0.39s)
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 INTERVAL NOT NULL, col3_1 GEOMETRY NOT NULL, col3_2 REGTYPE, col3_3 BYTES NOT NULL, col3_4 TIMESTAMP NOT NULL, col3_5 NAME NOT NULL, col3_6 REGROLE NULL, col3_7 FLOAT4 NOT NULL, col3_8 REGPROCEDURE, col3_9 REGPROCEDURE NULL, col3_10 STRING NULL AS (CASE WHEN col3_6 IS NULL THEN e'H2mH\rO|':::STRING ELSE e' L\x178/,':::STRING END) STORED, col3_11 STRING NOT NULL AS (CASE WHEN col3_0 IS NULL THEN '':::STRING ELSE e'[:\x0el\b-':::STRING END) VIRTUAL, col3_12 STRING NOT NULL AS (CASE WHEN col3_4 IS NULL THEN e'\x7f"p\x03\x03\x07.':::STRING ELSE 'q':::STRING END) VIRTUAL, col3_13 FLOAT8 NOT NULL AS (col3_7 + 0.5172831416130066:::FLOAT8) VIRTUAL, col3_14 STRING NULL AS (CASE WHEN col3_6 IS NULL THEN e')\x1er\x15z``]\x0b':::STRING ELSE '_Y!gs':::STRING END) STORED, col3_15 STRING NULL AS (CASE WHEN col3_6 IS NULL THEN '':::STRING ELSE '':::STRING END) STORED, col3_16 STRING NOT NULL AS (lower(CAST(col3_1 AS STRING))) VIRTUAL, col3_17 STRING NOT NULL AS (CASE WHEN col3_3 IS NULL THEN e'iS\'\x03$>v5<':::STRING ELSE e'n\x13p\x1b':::STRING END) STORED, UNIQUE (col3_0 DESC, col3_8 ASC, col3_5, col3_12, col3_14 DESC, col3_10, col3_16 ASC, col3_3, col3_11 DESC, col3_17, (CASE WHEN col3_2 IS NULL THEN e'\x05+G,X\x0e\\':::STRING ELSE e' s=\x1ba':::STRING END) ASC, col3_7 DESC, col3_4 ASC) STORING (col3_2, col3_6, col3_15), UNIQUE (col3_11, col3_3 DESC, col3_16, col3_6 ASC, col3_8 ASC, col3_12 DESC) WHERE (((((((((((table3.col3_4 >= '-2000-01-01 00:00:00':::TIMESTAMP) OR (table3.col3_3 >= '\x58':::BYTES)) OR (table3.col3_16 >= e'\U00002603':::STRING)) AND (table3.col3_11 = '':::STRING)) OR (table3.col3_10 <= '"':::STRING)) OR (table3.col3_14 = e'\'':::STRING)) OR (table3.col3_5 > e'\U00002603':::STRING:::NAME)) OR (table3.col3_17 != e'\'':::STRING)) OR (table3.col3_7 >= 3.4028234663852886e+38:::FLOAT8)) OR (table3.col3_12 < e'\x00':::STRING)) AND (table3.col3_15 < e'\x00':::STRING)) AND (table3.col3_13 > 1.401298464324817e-45:::FLOAT8), INDEX (col3_10 ASC, col3_7, (CASE WHEN col3_9 IS NULL THEN '*:sx':::STRING ELSE '^(':::STRING END) DESC, col3_4, col3_13 ASC, col3_14 ASC, col3_16 ASC, col3_3 DESC, col3_2, col3_11), INDEX (col3_2 ASC, col3_13 DESC, col3_15 ASC, col3_4 ASC, col3_3 DESC, col3_12, col3_17 ASC, col3_16, col3_8 DESC, col3_5 ASC, col3_0 DESC), UNIQUE (col3_2 ASC, col3_16 ASC, col3_0 ASC) WHERE ((((((((((table3.col3_13 != 3.4028234663852886e+38:::FLOAT8) OR (table3.col3_4 > '-4713-11-24 00:00:00':::TIMESTAMP)) AND (table3.col3_16 <= '"':::STRING)) AND (table3.col3_5 != e'\'':::STRING:::NAME)) OR (table3.col3_7 != 1.401298464324817e-45:::FLOAT8)) AND (table3.col3_12 = 'X':::STRING)) OR (table3.col3_10 != '':::STRING)) OR (table3.col3_17 = '':::STRING)) AND (table3.col3_3 >= '\x00':::BYTES)) AND (table3.col3_15 >= e'\U00002603':::STRING)) AND (table3.col3_14 != '"':::STRING), UNIQUE (col3_2 DESC, col3_3 DESC) PARTITION BY LIST (col3_2, col3_3) (PARTITION table3_part_0 VALUES IN ((48440106:::OID, '\x58':::BYTES), (3600957608:::OID, '\x6643b000':::BYTES)), PARTITION table3_part_1 VALUES IN ((3084710760:::OID, '\xba6fca3d06ba':::BYTES), (140236407:::OID, '\xcea51f7194c0a1':::BYTES)), PARTITION table3_part_2 VALUES IN ((1111753071:::OID, '\x58':::BYTES), (3630433002:::OID, '\x':::BYTES)), PARTITION table3_part_3 VALUES IN ((3097898219:::OID, '\x0f74':::BYTES), (443040881:::OID, '\x0de802e119cd787c':::BYTES)), PARTITION table3_part_4 VALUES IN ((75924029:::OID, '\xbd6a850dbccacdc748':::BYTES), (1111534238:::OID, '\x':::BYTES)), PARTITION table3_part_5 VALUES IN ((273886175:::OID, '\x00':::BYTES), (2408326680:::OID, '\x':::BYTES)), PARTITION table3_part_6 VALUES IN ((0:::OID, '\xa89dbd':::BYTES), (1970874815:::OID, '\x3ca743ff35418d0d':::BYTES)), PARTITION table3_part_7 VALUES IN ((18736779:::OID, '\xd949eea8980f':::BYTES), (3013112289:::OID, '\x285581f2ead7':::BYTES)), PARTITION table3_part_8 VALUES IN ((1834003793:::OID, '\xc40db354':::BYTES), (3725688615:::OID, '\x':::BYTES)), PARTITION table3_part_9 VALUES IN ((1126088974:::OID, '\x0179c080778f':::BYTES), (4288078640:::OID, '\x9e97705570227d':::BYTES))), FAMILY (col3_1, col3_0, col3_14, col3_8, col3_4, col3_7, col3_9, col3_17), FAMILY (col3_6), FAMILY (col3_5), FAMILY (col3_3), FAMILY (col3_15, col3_2, col3_10))
test_1 | compare_test.go:160: cockroach1: exec: ERROR: use of partitions requires an enterprise license. see https://cockroachlabs.com/pricing?cluster=c9f84415-7863-458f-8790-25120d723b2c 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 (49.97s)
See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)
- #89361 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]
compose.TestComposeCompare failed with artifacts on master @ 43cd78ecd87591d9b1d3b142f29ddfd76013b276:
test_1 | ORDER BY
test_1 | col_21778;
test_1 |
test_1 | postgres:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (
test_1 | SELECT
test_1 | tab_11663.col_21777 AS col_21778
test_1 | FROM
test_1 | (
test_1 | VALUES
test_1 | ('A'::TEXT::VARCHAR),
test_1 | ('B'::TEXT::VARCHAR),
test_1 | ('B'::TEXT::VARCHAR),
test_1 | (NULL::VARCHAR),
test_1 | ('C'::TEXT::VARCHAR)
test_1 | )
test_1 | AS tab_11663 (col_21777)
test_1 | WHERE
test_1 | true::BOOL
test_1 | ORDER BY
test_1 | tab_11663.col_21777 ASC,
test_1 | tab_11663.col_21777 ASC NULLS FIRST,
test_1 | tab_11663.col_21777 DESC,
test_1 | tab_11663.col_21777 DESC,
test_1 | tab_11663.col_21777 DESC NULLS LAST
test_1 | )
test_1 | AS tab_11664
test_1 | ORDER BY
test_1 | col_21778;
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 REGPROCEDURE NULL, col2_1 BYTES NOT NULL, col2_2 TIMESTAMPTZ NOT NULL, col2_3 INT2 NOT NULL, col2_4 FLOAT4 NOT NULL, col2_5 TIMETZ NOT NULL, col2_6 TIME NOT NULL, col2_7 INT4 NOT NULL, col2_8 INTERVAL NOT NULL, col2_9 OID NULL, PRIMARY KEY (col2_2 DESC, col2_3), INDEX (col2_9 ASC, col2_0 ASC, col2_4 DESC, col2_8 DESC, col2_1 DESC, col2_3 ASC, col2_6, col2_7 ASC), UNIQUE (col2_6 DESC, col2_5, col2_7) STORING (col2_0, col2_1, col2_4, col2_9), INDEX (col2_2 ASC, col2_9 ASC, col2_0 DESC, col2_6, col2_3 DESC, col2_7 DESC), INDEX (col2_2, col2_6 ASC, col2_5 DESC, col2_7 ASC, col2_9 ASC, col2_3 ASC, (CASE WHEN col2_8 IS NULL THEN e'NbQ\x1b\x14':::STRING ELSE e'}\'5B1y]4':::STRING END) DESC, col2_8 DESC, col2_4, col2_0) NOT VISIBLE, UNIQUE (col2_7 DESC, col2_1, col2_8 DESC, col2_6 ASC, col2_2), INDEX (col2_9, col2_8 ASC, (col2_3 + col2_7) DESC, col2_3) PARTITION BY LIST (col2_9, col2_8) (PARTITION table2_part_0 VALUES IN ((3676525375:::OID, '-12 years -7 mons -903 days -23:12:29.665141':::INTERVAL), (3598660278:::OID, '-2 years -2 mons -229 days -05:59:18.413225':::INTERVAL), (1353560040:::OID, '1 day':::INTERVAL), (3046894617:::OID, '-42 years -5 mons -62 days -13:27:49.879189':::INTERVAL)), PARTITION table2_part_1 VALUES IN ((1984990846:::OID, '00:00:00':::INTERVAL), (0:::OID, '-7 years -3 mons -951 days -04:39:47.086948':::INTERVAL), (675102405:::OID, '79 years 7 mons 279 days 06:41:02.362078':::INTERVAL), (3743379619:::OID, '66 years 2 mons 47 days 09:19:21.079328':::INTERVAL)), PARTITION table2_part_2 VALUES IN ((1380866769:::OID, '-48 years -3 mons -164 days -15:42:11.831693':::INTERVAL), (2076410280:::OID, '-77 years -8 mons -260 days -24:06:20.924624':::INTERVAL), (2905367489:::OID, '72 years 4 mons 593 days 01:19:59.579625':::INTERVAL), (2430209542:::OID, '-78 years -997 days -02:22:55.141451':::INTERVAL)), PARTITION table2_part_3 VALUES IN ((3350882359:::OID, '1 day':::INTERVAL), (2097596063:::OID, '-11 years -8 mons -924 days -08:29:53.618171':::INTERVAL), (3284092411:::OID, '23 years 8 mons 578 days 20:04:46.84328':::INTERVAL), (3159721193:::OID, '-59 years -3 mons -160 days -11:49:48.660644':::INTERVAL)), PARTITION table2_part_4 VALUES IN ((4104205549:::OID, '-44 years -191 days -15:44:10.112561':::INTERVAL), (504039231:::OID, '-25 years -11 mons -119 days -01:10:29.223717':::INTERVAL), (2365758894:::OID, '-31 years -1 mons -723 days -13:47:27.068471':::INTERVAL), (4155296697:::OID, '00:00:00':::INTERVAL)), PARTITION table2_part_5 VALUES IN ((1290511750:::OID, '1 day':::INTERVAL), (3725805718:::OID, '-7 years -9 mons -177 days -11:19:32.281374':::INTERVAL), (0:::OID, '67 years 8 mons 574 days 06:39:20.309321':::INTERVAL), (1350692091:::OID, '-18 years -746 days -09:34:07.319087':::INTERVAL)), PARTITION table2_part_6 VALUES IN ((4089796225:::OID, '45 years 7 mons 279 days 24:55:31.085942':::INTERVAL), (2716515838:::OID, '31 years 705 days 00:12:35.272895':::INTERVAL), (786271307:::OID, '-52 years -2 mons -552 days -23:57:28.072904':::INTERVAL), (1544319989:::OID, '-76 years -10 mons -912 days -02:36:24.814218':::INTERVAL)), PARTITION table2_part_7 VALUES IN ((0:::OID, '59 years 4 mons 159 days 09:30:46.385385':::INTERVAL), (0:::OID, '7 years 5 mons 436 days 17:15:56.777578':::INTERVAL), (2391609304:::OID, '00:00:00':::INTERVAL), (2108038895:::OID, '-5 years -5 mons -357 days -19:25:39.026458':::INTERVAL)), PARTITION table2_part_8 VALUES IN ((2357893614:::OID, '00:00:00':::INTERVAL), (0:::OID, '-41 years -11 mons -258 days -00:17:48.707153':::INTERVAL), (2391155844:::OID, '1 mon 1 day':::INTERVAL), (67622295:::OID, '-57 years -6 mons -167 days -02:01:54.249527':::INTERVAL))) WHERE ((((((table2.col2_6 >= '00:00:00':::TIME) AND (table2.col2_1 < '\x22':::BYTES)) OR (table2.col2_5 != '00:00:00+15:59:00':::TIMETZ)) OR (table2.col2_2 <= '-4713-11-24 00:00:00+00:00':::TIMESTAMPTZ)) OR (table2.col2_4 >= 3.4028234663852886e+38:::FLOAT8)) AND (table2.col2_7 <= 1:::INT8)) OR (table2.col2_3 < 32767:::INT8), UNIQUE (col2_5 DESC, col2_4 DESC, col2_3 ASC, col2_7 DESC, col2_9, col2_2 ASC, col2_8 DESC, col2_1 ASC, (col2_7 + col2_3) DESC, col2_6 DESC) STORING (col2_0) WHERE ((((((table2.col2_7 != (-2147483648):::INT8) AND (table2.col2_1 >= '\x':::BYTES)) OR (table2.col2_6 <= '00:00:00':::TIME)) OR (table2.col2_2 < '294276-12-31 23:59:59.999999+00:00':::TIMESTAMPTZ)) AND (table2.col2_3 >= (-32768):::INT8)) AND (table2.col2_4 = '+Inf':::FLOAT8)) AND (table2.col2_5 >= '00:00:00+15:59:00':::TIMETZ), UNIQUE (col2_3 ASC, col2_2 ASC, col2_8 DESC, col2_6 DESC) STORING (col2_0, col2_4), INDEX (col2_0, col2_5 DESC, lower(CAST(col2_5 AS STRING)) DESC, lower(CAST(col2_6 AS STRING)), col2_6 DESC, col2_8 DESC, col2_2 DESC, col2_4 ASC, col2_9, col2_7 ASC) WHERE (((table2.col2_3 >= (-128):::INT8) OR (table2.col2_4 > '-Inf':::FLOAT8)) OR (table2.col2_5 != '24:00:00-15:59:00':::TIMETZ)) AND (table2.col2_2 = '-2000-01-01 00:00:00+00:00':::TIMESTAMPTZ))
test_1 | compare_test.go:160: cockroach1: exec: ERROR: use of partitions requires an enterprise license. see https://cockroachlabs.com/pricing?cluster=437ee97c-8781-4ef6-9e48-93e93f2ab583 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 (39.07s)
See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)
- #89361 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]
compose.TestComposeCompare failed with artifacts on master @ 4ec5a5f43980583eff8b8f8dff1b23090c7e2304:
test_1 | )
test_1 | AS tab_64986
test_1 | ORDER BY
test_1 | col_112040 DESC;
test_1 |
test_1 | cockroach1:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (
test_1 | SELECT
test_1 | tab_64985.col_112039 AS col_112040
test_1 | FROM
test_1 | (
test_1 | VALUES
test_1 | ('F':::STRING::"char"),
test_1 | ('G':::STRING::"char"),
test_1 | (NULL::"char"),
test_1 | ('E':::STRING::"char"),
test_1 | ('I':::STRING::"char")
test_1 | )
test_1 | AS tab_64985 (col_112039)
test_1 | ORDER BY
test_1 | tab_64985.col_112039 ASC NULLS FIRST, tab_64985.col_112039 NULLS LAST
test_1 | )
test_1 | AS tab_64986
test_1 | ORDER BY
test_1 | col_112040 DESC;
test_1 |
test_1 | --- FAIL: TestCompare/mutators (0.61s)
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 BOOL NOT NULL, PRIMARY KEY (col1_0, col1_1 ASC), FAMILY (col1_1, col1_0));
test_1 | ALTER TABLE table1 INJECT STATISTICS '[{"avg_size": 11, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 678673909236163149, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5362388677008374002}, {"avg_size": 10, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2522064614598509835, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5362388677008374002}]':::JSONB;
test_1 | ALTER TABLE table1 INJECT STATISTICS '[{"avg_size": 25, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 154746017205212873, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 210527424046277112}, {"avg_size": 11, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 40372217270482466, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 210527424046277112}]':::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 (124.55s)
See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)
- #95336 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2.2-with-dms-changes] - #89361 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]
compose.TestComposeCompare failed with artifacts on master @ 942b55ef3f329d2e5e8142c8fc5282ed56173ea7:
test_1 | AS tab_49014
test_1 | ORDER BY
test_1 | col_84111;
test_1 |
test_1 | cockroach1:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (
test_1 | SELECT
test_1 | tab_49013.col_84110 AS col_84111
test_1 | FROM
test_1 | (
test_1 | VALUES
test_1 | (
test_1 | st_astwkb(NULL::GEOMETRY::GEOMETRY, 8:::INT8::INT4::INT4, NULL::INT4::INT4, 4:::INT8::INT4::INT4)::BYTES
test_1 | ),
test_1 | ('\x41':::BYTES::BYTES),
test_1 | ('\x46':::BYTES::BYTES),
test_1 | ('\x4a':::BYTES::BYTES)
test_1 | )
test_1 | AS tab_49013 (col_84110)
test_1 | ORDER BY
test_1 | tab_49013.col_84110 ASC NULLS FIRST
test_1 | )
test_1 | AS tab_49014
test_1 | ORDER BY
test_1 | col_84111;
test_1 |
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 DECIMAL NOT NULL, col1_1 BIT(49) NOT NULL, PRIMARY KEY (col1_1 ASC, col1_0), UNIQUE (col1_0 DESC, col1_1) WHERE table1.col1_0 <= (-1):::DECIMAL, INDEX (col1_1 ASC) WHERE table1.col1_0 = '-Infinity':::DECIMAL, UNIQUE (col1_1 DESC, col1_0) WHERE table1.col1_0 >= 0:::DECIMAL, FAMILY (col1_1), FAMILY (col1_0));
test_1 | ALTER TABLE table1 INJECT STATISTICS '[{"avg_size": 23, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 476937455401557886, "histo_buckets": [{"distinct_range": 0, "num_eq": 3215986308635042777, "num_range": 0, "upper_bound": "8.4911937531860185E+25"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 0, "row_count": 1009243146096317415}, {"avg_size": 6, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 878536902019875388, "histo_buckets": [{"distinct_range": 0, "num_eq": 9000, "num_range": 0, "upper_bound": "0010001111011010001010111010001000110010100010011"}, {"distinct_range": 4588830193785371000, "num_eq": 1000000, "num_range": 7135275760760357459, "upper_bound": "0111111111111111111111111111111111111111111111111"}, {"distinct_range": 0, "num_eq": 382550706027054400, "num_range": 500, "upper_bound": "1000100010011000011010101110001011000101100000011"}], "histo_col_type": "BIT(49)", "name": "__auto__", "null_count": 0, "row_count": 1009243146096317415}]':::JSONB;
test_1 | ALTER TABLE table1 INJECT STATISTICS '[{"avg_size": 1, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2518594087636007906, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3759235250893149386}, {"avg_size": 8, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1863528286006395274, "histo_buckets": [{"distinct_range": 0, "num_eq": 900000, "num_range": 0, "upper_bound": "1001101110001010000111111010110011111110010011001"}], "histo_col_type": "BIT(49)", "name": "__auto__", "null_count": 0, "row_count": 3759235250893149386}]':::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_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 (73.95s)
See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)
- #95336 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2.2-with-dms-changes] - #89361 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]
compose.TestComposeCompare failed with artifacts on master @ d698e5eaf36bee19901beeff7db3425315402907:
test_1 | AS " ta%6cb45548"
test_1 | ORDER BY
test_1 | "co %d5l81998";
test_1 |
test_1 | postgres:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (
test_1 | SELECT
test_1 | tab45547."col 81997" AS "co %d5l81998"
test_1 | FROM
test_1 | (
test_1 | VALUES
test_1 | ('H'::TEXT::"char"),
test_1 | ('E'::TEXT::"char"),
test_1 | ('J'::TEXT::"char"),
test_1 | (NULL::"char"),
test_1 | ('B'::TEXT::"char"),
test_1 | ('J'::TEXT::"char")
test_1 | )
test_1 | AS tab45547 ("col 81997")
test_1 | WHERE
test_1 | true::BOOL
test_1 | )
test_1 | AS " ta%6cb45548"
test_1 | ORDER BY
test_1 | "co %d5l81998";
test_1 |
test_1 | --- FAIL: TestCompare/mutators (0.64s)
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 REGPROC, col1_1 "char", col1_2 BIT(45) NOT NULL, col1_3 INT2, col1_4 REGROLE, col1_5 INT4 NOT NULL, col1_6 CHAR, col1_7 DATE NOT NULL, col1_8 TIMESTAMPTZ NOT NULL, col1_9 BIT NOT NULL, col1_10 TIMESTAMP NOT NULL, col1_11 INT8 AS (col1_3 + col1_5) STORED, col1_12 STRING NOT NULL AS (lower(CAST(col1_9 AS STRING))) VIRTUAL, col1_13 STRING AS (CASE WHEN col1_0 IS NULL THEN e'V\x03G\x10':::STRING ELSE '"v':::STRING END) VIRTUAL, col1_14 STRING AS (lower(col1_1)) STORED, col1_15 INT8 AS (col1_3 + col1_5) STORED, col1_16 STRING NOT NULL AS (lower(CAST(col1_9 AS STRING))) VIRTUAL, col1_17 INT8 AS (col1_3 + col1_5) VIRTUAL, INDEX (col1_13 DESC, col1_15 ASC, col1_2 ASC, col1_8, col1_9, (CASE WHEN col1_7 IS NULL THEN e'c.\b\x06':::STRING ELSE e'N6t\x07ED}$':::STRING END), col1_11, col1_1, col1_10 DESC, col1_3 ASC) STORING (col1_5, col1_6, col1_7, col1_14) WHERE (((table1.col1_16 != '"':::STRING) OR (table1.col1_5 > 127:::INT8)) AND (table1.col1_1 >= e'\x00':::STRING)) AND (table1.col1_11 <= 2147483647:::INT8) NOT VISIBLE, UNIQUE ((col1_3 + col1_5) DESC) WHERE ((((((table1.col1_3 != (-1):::INT8) AND (table1.col1_16 > e'\U00002603':::STRING)) AND (table1.col1_12 >= e'\x00':::STRING)) AND (table1.col1_7 = '5874897-12-31':::DATE)) OR (table1.col1_14 <= 'X':::STRING)) AND (table1.col1_1 <= '"':::STRING)) AND (table1.col1_15 = (-128):::INT8), UNIQUE (col1_6, col1_8 DESC, (col1_3 + col1_5) ASC, col1_1 ASC, col1_3 ASC, col1_10 ASC, col1_9, col1_14, col1_13, lower(CAST(col1_2 AS STRING)), col1_11 ASC, col1_16) STORING (col1_2, col1_5, col1_7) WHERE (((table1.col1_5 <= (-1):::INT8) OR (table1.col1_14 <= e'\x00':::STRING)) OR (table1.col1_16 > 'X':::STRING)) AND (table1.col1_8 = '294276-12-31 23:59:59.999999+00:00':::TIMESTAMPTZ), INDEX (col1_8 ASC, col1_2 DESC, col1_3, col1_9, col1_4 ASC, col1_12, col1_1, col1_10 ASC, col1_14, col1_11 DESC, col1_7 DESC, col1_17 ASC) STORING (col1_0, col1_5, col1_15) WHERE ((((((table1.col1_1 != e'\'':::STRING) AND (table1.col1_10 >= '294276-12-31 23:59:59.999999':::TIMESTAMP)) AND (table1.col1_12 = '':::STRING)) AND (table1.col1_17 > 1:::INT8)) AND (table1.col1_11 > (-32768):::INT8)) OR (table1.col1_14 <= e'\U00002603':::STRING)) OR (table1.col1_16 != e'\'':::STRING), INDEX (col1_4 DESC, col1_11 ASC, col1_10, col1_16 ASC, col1_15 DESC, col1_13, col1_0) STORING (col1_7, col1_8, col1_9, col1_14) WHERE (((((((table1.col1_14 < e'\U00002603':::STRING) OR (table1.col1_7 <= '4714-11-24 BC':::DATE)) OR (table1.col1_12 > e'\'':::STRING)) OR (table1.col1_10 >= '-4713-11-24 00:00:00':::TIMESTAMP)) AND (table1.col1_16 = '"':::STRING)) OR (table1.col1_6 <= e'\x00':::STRING)) AND (table1.col1_13 != '':::STRING)) AND (table1.col1_15 = 2147483647:::INT8) NOT VISIBLE, INDEX (col1_3 DESC, col1_0 DESC, col1_15, col1_5 DESC) STORING (col1_2, col1_6, col1_7, col1_10, col1_14) WHERE (table1.col1_11 >= (-128):::INT8) OR (table1.col1_7 < '5874897-12-31':::DATE), INVERTED INDEX (col1_4, col1_3 ASC, col1_0 ASC, col1_8, col1_17 DESC, col1_7, col1_5 ASC, col1_9, col1_16 gin_trgm_ops ASC) WHERE (((((((((((((table1.col1_3 = 0:::INT8) AND (table1.col1_16 > 'X':::STRING)) AND (table1.col1_7 <= '5874897-12-31':::DATE)) AND (table1.col1_1 > '':::STRING)) AND (table1.col1_17 > (-32768):::INT8)) AND (table1.col1_12 < '"':::STRING)) AND (table1.col1_8 > '-2000-01-01 00:00:00+00:00':::TIMESTAMPTZ)) OR (table1.col1_11 > 1:::INT8)) AND (table1.col1_6 < '':::STRING)) OR (table1.col1_13 > e'\'':::STRING)) AND (table1.col1_15 = 32767:::INT8)) OR (table1.col1_5 = (-1):::INT8)) OR (table1.col1_14 != '"':::STRING)) OR (table1.col1_10 > '3000-01-01 00:00:00':::TIMESTAMP), INDEX (col1_1, col1_2 ASC, col1_13 DESC, col1_0, col1_16 DESC) STORING (col1_6, col1_7, col1_9, col1_10) WHERE (((table1.col1_15 = (-32768):::INT8) OR (table1.col1_5 > (-1):::INT8)) OR (table1.col1_10 != '0001-01-01 00:00:00':::TIMESTAMP)) AND (table1.col1_1 != e'\x00':::STRING), INDEX (col1_2 ASC, col1_5, col1_10, col1_1 ASC) STORING (col1_0, col1_4, col1_6, col1_14, col1_15), FAMILY (col1_14), FAMILY (col1_10, col1_8, col1_6), FAMILY (col1_1, col1_4, col1_5), FAMILY (col1_9, col1_11), FAMILY (col1_15, col1_3), FAMILY (col1_0), FAMILY (col1_2, col1_7));
test_1 | ALTER TABLE table1 INJECT STATISTICS e'[{"avg_size": 29, "columns": ["col1_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 182328535101829660, "histo_col_type": "", "name": "__auto__", "null_count": 5056602994879994190, "row_count": 7463218399935614522}, {"avg_size": 29, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7085121482567209374, "histo_buckets": [{"distinct_range": 0, "num_eq": 1700960957176329134, "num_range": 0, "upper_bound": "-24291"}, {"distinct_range": 527290110656219650, "num_eq": 4000000000, "num_range": 4684895401195318624, "upper_bound": "-13208"}, {"distinct_range": 400, "num_eq": 8000, "num_range": 400, "upper_bound": "-9370"}, {"distinct_range": 605208212161051900, "num_eq": 8553878470074241558, "num_range": 605208212161051965, "upper_bound": "-3776"}, {"distinct_range": 290438488249557800, "num_eq": 10000000000, "num_range": 7747501016294738952, "upper_bound": "-2059"}, {"distinct_range": 0, "num_eq": 200000, "num_range": 1000000, "upper_bound": "1"}, {"distinct_range": 0, "num_eq": 200, "num_range": 400000, "upper_bound": "14904"}, {"distinct_range": 276152077.12383693, "num_eq": 3000000000, "num_range": 600000000, "upper_bound": "25243"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 1540963994018890332, "row_count": 7463218399935614522}, {"avg_size": 12, "columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3672643283699763528, "histo_buckets": [{"distinct_range": 0, "num_eq": 2129016927666202546, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 20, "num_eq": 1000000000, "num_range": 20, "upper_bound": "769395692"}, {"distinct_range": 0, "num_eq": 7007138342823189408, "num_range": 9000000, "upper_bound": "1303592663"}, {"distinct_range": 8843590921074337000, "num_eq": 10, "num_range": 8843590921074336468, "upper_bound": "1750432847"}, {"distinct_range": 2839155143241261000, "num_eq": 6611927403559394855, "num_range": 6120425545673230305, "upper_bound": "2208975100"}, {"distinct_range": 0, "num_eq": 4943056956849944526, "num_range": 1704498658799236848, "upper_bound": "2726073444"}, {"distinct_range": 0, "num_eq": 4000, "num_range": 7495236031909221772, "upper_bound": "3957680436"}, {"distinct_range": 300, "num_eq": 3328087732767259269, "num_range": 300, "upper_bound": "4013339557"}], "histo_col_type": "REGROLE", "name": "__auto__", "null_count": 355262582307025324, "row_count": 7463218399935614522}, {"avg_size": 11, "columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2130733891775275402, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7463218399935614522}, {"avg_size": 0, "columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2532001664790892676, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7463218399935614522}, {"avg_size": 14, "columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1401985108326822370, "histo_col_type": "", "name": "__auto__", "null_count": 6771804768477537141, "row_count": 7463218399935614522}, {"avg_size": 3, "columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 208048227559110697, "histo_col_type": "", "name": "__auto__", "null_count": 3898268194911591350, "row_count": 7463218399935614522}, {"avg_size": 15, "columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5469755599825250694, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7463218399935614522}, {"avg_size": 25, "columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5908941286249627448, "histo_col_type": "", "name": "__auto__", "null_count": 6307044963870789778, "row_count": 7463218399935614522}, {"avg_size": 8, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2011167309419752814, "histo_col_type": "", "name": "__auto__", "null_count": 7443678450492747774, "row_count": 7463218399935614522}, {"avg_size": 12, "columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2256485122786874856, "histo_buckets": [{"distinct_range": 0, "num_eq": 60, "num_range": 0, "upper_bound": "^"}, {"distinct_range": 4094051642648755000, "num_eq": 7000000000, "num_range": 6587049012278733340, "upper_bound": "\U00002603"}], "histo_col_type": "CHAR", "name": "__auto__", "null_count": 5032895103678531070, "row_count": 7463218399935614522}, {"avg_size": 19, "columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6927402247627580196, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7463218399935614522}, {"avg_size": 26, "columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2843790301416236366, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7463218399935614522}, {"avg_size": 9, "columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2967438427954165944, "histo_col_type": "STRING", "name": "__auto__", "null_count": 1692764650163639308, "row_count": 7463218399935614522}, {"avg_size": 12, "columns": ["col1_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3555670826197443033, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7463218399935614522}, {"avg_size": 4, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3872331073665253957, "histo_col_type": "", "name": "__auto__", "null_count": 5227584876633010810, "row_count": 7463218399935614522}, {"avg_size": 3, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2597819766074973067, "histo_buckets": [{"distinct_range": 0, "num_eq": 8096561185781447562, "num_range": 0, "upper_bound": "001000110110100000110100101011000011110011100"}, {"distinct_range": 349819580019971300, "num_eq": 20000000000, "num_range": 1036844411057769267, "upper_bound": "110001110011010110110000100110111010011011100"}, {"distinct_range": 63.022639568938054, "num_eq": 6800573293658370262, "num_range": 200, "upper_bound": "110111101010011111101111111010000001111011100"}], "histo_col_type": "BIT(45)", "name": "__auto__", "null_count": 0, "row_count": 7463218399935614522}, {"avg_size": 1, "columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3012457341996139310, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7463218399935614522}]':::JSONB;
test_1 | ALTER TABLE table1 INJECT STATISTICS e'[{"avg_size": 31, "columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 65247, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 100000}, {"avg_size": 20, "columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1972, "histo_buckets": [{"distinct_range": 0, "num_eq": 200000, "num_range": 0, "upper_bound": "\\t"}, {"distinct_range": 80000, "num_eq": 1981149764559135040, "num_range": 80000, "upper_bound": "\\u000e"}, {"distinct_range": 0, "num_eq": 4190267148350551142, "num_range": 5236626833705359089, "upper_bound": "%"}, {"distinct_range": 60000000000, "num_eq": 7486131277383571538, "num_range": 60000000000, "upper_bound": "I"}, {"distinct_range": 400000, "num_eq": 2353982485379315722, "num_range": 400000, "upper_bound": "c"}, {"distinct_range": 0, "num_eq": 800000, "num_range": 500000000, "upper_bound": "e"}, {"distinct_range": 3000000, "num_eq": 1966320691224646760, "num_range": 3000000, "upper_bound": "n"}], "histo_col_type": "CHAR", "name": "__auto__", "null_count": 69453, "row_count": 100000}, {"avg_size": 17, "columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 22765, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 100000}, {"avg_size": 16, "columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 86695, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 100000}, {"avg_size": 0, "columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 79801, "histo_col_type": "", "name": "__auto__", "null_count": 42494, "row_count": 100000}, {"avg_size": 31, "columns": ["col1_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 79999, "histo_col_type": "", "name": "__auto__", "null_count": 23403, "row_count": 100000}, {"avg_size": 31, "columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 47108, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "985243156"}, {"distinct_range": 0, "num_eq": 5374436527088536778, "num_range": 2720414238749853558, "upper_bound": "1620125194"}, {"distinct_range": 3340832603636845000, "num_eq": 0, "num_range": 3340832603636844902, "upper_bound": "2757462974"}, {"distinct_range": 526241266917249300, "num_eq": 1460078819717026409, "num_range": 740007242758855562, "upper_bound": "3522043108"}, {"distinct_range": 3068150439.0817504, "num_eq": 100000000000, "num_range": 6000000000, "upper_bound": "3879680560"}], "histo_col_type": "REGROLE", "name": "__auto__", "null_count": 38868, "row_count": 100000}, {"avg_size": 8, "columns": ["col1_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 61558, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 100000}, {"avg_size": 12, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 15150, "histo_col_type": "", "name": "__auto__", "null_count": 16621, "row_count": 100000}, {"avg_size": 14, "columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 52037, "histo_col_type": "", "name": "__auto__", "null_count": 34584, "row_count": 100000}, {"avg_size": 18, "columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 12161, "histo_col_type": "", "name": "__auto__", "null_count": 88609, "row_count": 100000}, {"avg_size": 19, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 30031, "histo_buckets": [{"distinct_range": 0, "num_eq": 600, "num_range": 0, "upper_bound": "-30546"}, {"distinct_range": 3273973923793168400, "num_eq": 1802758871192915121, "num_range": 8335306568497070362, "upper_bound": "-13549"}, {"distinct_range": 3497257598680363000, "num_eq": 3918471783619793623, "num_range": 3698292643415295554, "upper_bound": "8232"}, {"distinct_range": 1023792136.0712339, "num_eq": 40000000, "num_range": 30000000000, "upper_bound": "9916"}, {"distinct_range": 0, "num_eq": 6000000000, "num_range": 0, "upper_bound": "26692"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 89598, "row_count": 100000}, {"avg_size": 18, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 86357, "histo_buckets": [{"distinct_range": 0, "num_eq": 7000, "num_range": 0, "upper_bound": "010000011101110110010000011000100010011100011"}, {"distinct_range": 9000000000, "num_eq": 80000000000, "num_range": 9000000000, "upper_bound": "010110111100101101111100110100100111011100111"}, {"distinct_range": 0, "num_eq": 70000, "num_range": 0, "upper_bound": "100000110101010110010110110100100000000111001"}, {"distinct_range": 788651386191908500, "num_eq": 2000000, "num_range": 825205150984874892, "upper_bound": "100100011010100010110100110111000011001010010"}, {"distinct_range": 7891569173406669000, "num_eq": 2277779764489222576, "num_range": 7891569173406669233, "upper_bound": "101100101011110111010110100011000100011110001"}], "histo_col_type": "BIT(45)", "name": "__auto__", "null_count": 0, "row_count": 100000}, {"avg_size": 4, "columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 40361, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 100000}, {"avg_size": 3, "columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 99131, "histo_buckets": [{"distinct_range": 0, "num_eq": 3938061874000823838, "num_range": 0, "upper_bound": "2004-02-09 23:12:52.000434+00:00"}, {"distinct_range": 0, "num_eq": 10000000000, "num_range": 8000000000, "upper_bound": "2032-02-04 16:29:04.000112+00:00"}], "histo_col_type": "TIMESTAMPTZ", "name": "__auto__", "null_count": 0, "row_count": 100000}, {"avg_size": 17, "columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 73105, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 100000}, {"avg_size": 21, "columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 65277, "histo_col_type": "", "name": "__auto__", "null_count": 49112, "row_count": 100000}, {"avg_size": 18, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 56493, "histo_col_type": "", "name": "__auto__", "null_count": 411, "row_count": 100000}]':::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 (88.00s)
See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)
- #95336 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2.2-with-dms-changes] - #89361 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]
compose.TestComposeCompare failed with artifacts on master @ 2861a4ee05fac1cc13f87bf00f368a65ea8700dc:
postgres_1 | CREATE EXTENSION
postgres_1 | CREATE EXTENSION
postgres_1 |
postgres_1 | waiting for server to shut down...2023-01-21 06:16:30.807 UTC [49] LOG: received fast shutdown request
postgres_1 | .2023-01-21 06:16:30.809 UTC [49] LOG: aborting any active transactions
postgres_1 | 2023-01-21 06:16:30.810 UTC [49] LOG: background worker "logical replication launcher" (PID 56) exited with exit code 1
postgres_1 | 2023-01-21 06:16:30.813 UTC [51] LOG: shutting down
postgres_1 | 2023-01-21 06:16:30.913 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 | 2023-01-21 06:16:31.030 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 | 2023-01-21 06:16:31.030 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
postgres_1 | 2023-01-21 06:16:31.030 UTC [1] LOG: listening on IPv6 address "::", port 5432
postgres_1 | 2023-01-21 06:16:31.033 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres_1 | 2023-01-21 06:16:31.038 UTC [68] LOG: database system was shut down at 2023-01-21 06:16:30 UTC
postgres_1 | 2023-01-21 06:16:31.043 UTC [1] LOG: database system is ready to accept connections
postgres_1 | 2023-01-21 06:16:32.541 UTC [78] ERROR: invalid input syntax for type numeric: "-Infinity" at character 421
postgres_1 | 2023-01-21 06:16:32.541 UTC [78] STATEMENT: CREATE TABLE table4 (col4_0 BYTEA NOT NULL, col4_1 GEOGRAPHY NOT NULL, col4_2 DECIMAL NULL, col4_3 TSQUERY NOT NULL, col4_4 REGPROCEDURE NULL, col4_5 REGPROCEDURE, col4_6 INTERVAL NOT NULL, col4_7 REGCLASS NULL, col4_8 REGROLE, col4_9 OID NULL, col4_10 INT4 NOT NULL, col4_11 TIMESTAMPTZ, col4_12 TEXT NOT NULL GENERATED ALWAYS AS (lower(CAST(col4_3 AS TEXT))) STORED, col4_13 DECIMAL NULL GENERATED ALWAYS AS (col4_2 + '-Infinity'::DECIMAL) STORED, col4_14 TEXT GENERATED ALWAYS AS (CASE WHEN col4_11 IS NULL THEN 'J4'::TEXT ELSE ','::TEXT END) STORED, col4_15 TEXT GENERATED ALWAYS AS (CASE WHEN col4_11 IS NULL THEN e'?u\x1e:e@'::TEXT ELSE 'wl+Wz:cj'::TEXT END) STORED, col4_16 INT8 NOT NULL GENERATED ALWAYS AS (col4_10 + 51383971::INT8) STORED);
postgres_1 |
test_1 | --- FAIL: TestCompare (4.17s)
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.13s)
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 INT2 NOT NULL, col1_1 REGPROC NULL, col1_2 TIMETZ NOT NULL, col1_3 REGPROC NOT NULL, col1_4 REGNAMESPACE NOT NULL, col1_5 STRING NOT NULL AS (CASE WHEN col1_3 IS NULL THEN '':::STRING ELSE e'k\x05\x17?I@\x0fRy':::STRING END) STORED, col1_6 STRING NOT NULL AS (CASE WHEN col1_4 IS NULL THEN 'PQJ!FH+T':::STRING ELSE e'([z|u\x04P':::STRING END) STORED, PRIMARY KEY (col1_3 DESC, col1_2, col1_4, col1_5, col1_6, col1_0 ASC), UNIQUE (col1_6 DESC, col1_3) WHERE (((table1.col1_6 != e'\x00':::STRING) AND (table1.col1_0 <= (-1):::INT8)) AND (table1.col1_5 > '"':::STRING)) OR (table1.col1_2 = '00:00:00+15:59:00':::TIMETZ), UNIQUE (col1_5 DESC, col1_3, col1_4 DESC, col1_0 ASC, col1_2 DESC, col1_6 ASC, col1_1) WHERE (((table1.col1_5 != e'\U00002603':::STRING) AND (table1.col1_0 <= 1:::INT8)) AND (table1.col1_6 >= e'\U00002603':::STRING)) OR (table1.col1_2 < '24:00:00-15:59:00':::TIMETZ), INDEX (lower(CAST(col1_2 AS STRING)), (CASE WHEN col1_3 IS NULL THEN 'X':::STRING ELSE e'\x1b\x11\x1fK?':::STRING END), col1_1 ASC), UNIQUE (col1_3 ASC, (CASE WHEN col1_4 IS NULL THEN '_':::STRING ELSE 'ozttmuG':::STRING END) ASC, col1_2, col1_5 DESC) PARTITION BY LIST (col1_3) (PARTITION table1_part_0 VALUES IN ((2544217906:::OID,), (209930811:::OID,), (2450194059:::OID,)), PARTITION table1_part_1 VALUES IN ((649737448:::OID,), (2947293774:::OID,), (3837002016:::OID,))), FAMILY (col1_0), FAMILY (col1_2), FAMILY (col1_4, col1_6, col1_3), FAMILY (col1_1), FAMILY (col1_5))
test_1 | compare_test.go:160: cockroach1: exec: ERROR: use of partitions requires an enterprise license. see https://cockroachlabs.com/pricing?cluster=ccd2e97f-b8dc-48e8-9083-308645052a64 for details on how to enable enterprise features (SQLSTATE XXC02)
test_1 | --- FAIL: TestCompare/postgres (0.91s)
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 BYTEA NOT NULL, col4_1 GEOGRAPHY NOT NULL, col4_2 DECIMAL NULL, col4_3 TSQUERY NOT NULL, col4_4 REGPROCEDURE NULL, col4_5 REGPROCEDURE, col4_6 INTERVAL NOT NULL, col4_7 REGCLASS NULL, col4_8 REGROLE, col4_9 OID NULL, col4_10 INT4 NOT NULL, col4_11 TIMESTAMPTZ, col4_12 TEXT NOT NULL GENERATED ALWAYS AS (lower(CAST(col4_3 AS TEXT))) STORED, col4_13 DECIMAL NULL GENERATED ALWAYS AS (col4_2 + '-Infinity'::DECIMAL) STORED, col4_14 TEXT GENERATED ALWAYS AS (CASE WHEN col4_11 IS NULL THEN 'J4'::TEXT ELSE ','::TEXT END) STORED, col4_15 TEXT GENERATED ALWAYS AS (CASE WHEN col4_11 IS NULL THEN e'?u\x1e:e@'::TEXT ELSE 'wl+Wz:cj'::TEXT END) STORED, col4_16 INT8 NOT NULL GENERATED ALWAYS AS (col4_10 + 51383971::INT8) STORED);
test_1 |
test_1 | compare_test.go:160: postgres: exec: ERROR: invalid input syntax for type numeric: "-Infinity" (SQLSTATE 22P02)
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 (18.92s)
See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)
- #95336 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2.2-with-dms-changes] - #89361 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]
compose.TestComposeCompare failed with artifacts on master @ b21379bb56dd206e6f63cc7d07ca72e85db7a4c4:
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/TestComposeCompare4068345221/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("0000000000000000000000000000000000000000000000"),
test_1 | + nil,
test_1 | nil,
test_1 | }))
test_1 | cockroach1:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (
test_1 | SELECT
test_1 | "t😁a%vb52417"."c*o.l94848" AS "co!😗l94849", "t😁a%vb52417"."c)o\\uDAE6l94847" AS "😔co%ql94850"
test_1 | FROM
test_1 | (VALUES (NULL::TIMETZ, B'0000'::BIT(46)), (NULL::TIMETZ, NULL::BIT(46)), (NULL::TIMETZ, NULL::BIT(46)))
test_1 | AS "t😁a%vb52417" ("c)o\\uDAE6l94847", "c*o.l94848")
test_1 | ORDER BY
test_1 | "t😁a%vb52417"."c)o\\uDAE6l94847" NULLS FIRST
test_1 | )
test_1 | AS "t%pab52418"
test_1 | ORDER BY
test_1 | "co!😗l94849" DESC, "😔co%ql94850" DESC NULLS LAST;
test_1 |
test_1 | postgres: [same as previous]
test_1 |
test_1 | --- FAIL: TestCompare/mutators (0.67s)
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 INT2[] NOT NULL, col1_1 FLOAT4 NULL, col1_2 REGROLE NULL, col1_3 FLOAT4 NULL, col1_4 DECIMAL, col1_5 TSVECTOR, col1_6 INT4 NOT NULL, col1_7 INT8 NOT NULL AS (col1_6 + 554956173:::INT8) VIRTUAL, col1_8 STRING NOT NULL AS (CASE WHEN col1_0 IS NULL THEN e'6\x12=ahur':::STRING ELSE e',\x15h%@E':::STRING END) VIRTUAL, col1_9 STRING NULL AS (CASE WHEN col1_2 IS NULL THEN e'\x1a\x112h':::STRING ELSE e'\x02':::STRING END) STORED, col1_10 INT8 NOT NULL AS (col1_6 + 1565676504:::INT8) VIRTUAL, INDEX (col1_8, col1_1 ASC, col1_7 DESC, col1_3 DESC, col1_9 DESC, col1_6 ASC, col1_0, col1_10, col1_2 DESC) WHERE ((table1.col1_3 >= (-1.0):::FLOAT8) AND (table1.col1_6 > (-2147483648):::INT8)) OR (table1.col1_9 < e'\x00':::STRING) NOT VISIBLE, FAMILY (col1_2), FAMILY (col1_3), FAMILY (col1_1, col1_0, col1_9, col1_5), FAMILY (col1_6, col1_4));
test_1 | ALTER TABLE table1 INJECT STATISTICS e'[{"avg_size": 29, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 285782, "histo_col_type": "", "name": "__auto__", "null_count": 9323, "row_count": 400000}, {"avg_size": 16, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 22076, "histo_col_type": "", "name": "__auto__", "null_count": 268632, "row_count": 400000}, {"avg_size": 27, "columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 39624, "histo_col_type": "", "name": "__auto__", "null_count": 35242, "row_count": 400000}, {"avg_size": 24, "columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 129607, "histo_buckets": [{"distinct_range": 0, "num_eq": 5000000000, "num_range": 0, "upper_bound": ".7\\u000fe"}, {"distinct_range": 0, "num_eq": 7089840291829139831, "num_range": 90000, "upper_bound": "E\\u0003\\"X5J\\u0002e\\u001c"}, {"distinct_range": 0, "num_eq": 60000000000, "num_range": 2000000000, "upper_bound": "q{\\u001ca-"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 400000}, {"avg_size": 1, "columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6513, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 400000}, {"avg_size": 9, "columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 329638, "histo_col_type": "", "name": "__auto__", "null_count": 97988, "row_count": 400000}, {"avg_size": 22, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 292043, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 400000}, {"avg_size": 18, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 57421, "histo_col_type": "", "name": "__auto__", "null_count": 344210, "row_count": 400000}, {"avg_size": 22, "columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 235893, "histo_col_type": "", "name": "__auto__", "null_count": 138593, "row_count": 400000}, {"avg_size": 7, "columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 124331, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 400000}, {"avg_size": 2, "columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 91809, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 400000}]':::JSONB;
test_1 | ALTER TABLE table1 INJECT STATISTICS e'[{"avg_size": 7, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5397421181569256184, "histo_col_type": "", "name": "__auto__", "null_count": 1728286201965463834, "row_count": 7401967550837961076}, {"avg_size": 0, "columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6493101128595525464, "histo_col_type": "", "name": "__auto__", "null_count": 1412815237335415732, "row_count": 7401967550837961076}, {"avg_size": 20, "columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1959065206654817197, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7401967550837961076}, {"avg_size": 2, "columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1467449199522680050, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7401967550837961076}, {"avg_size": 16, "columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2636274402424393213, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": ""}, {"distinct_range": 544081.5558387229, "num_eq": 500000000, "num_range": 2000000, "upper_bound": "\\u000c=\\u0017\\u001bmE$M"}, {"distinct_range": 0, "num_eq": 700000, "num_range": 4000, "upper_bound": "\\u000f\\u0015\\u0017@``x"}, {"distinct_range": 0, "num_eq": 20000, "num_range": 0, "upper_bound": "\\u0018_}##64+"}, {"distinct_range": 515259939899890300, "num_eq": 300, "num_range": 2196750449257775451, "upper_bound": "2\\u000cZV$x"}, {"distinct_range": 0, "num_eq": 2874715877249789650, "num_range": 60000000, "upper_bound": "XI \\u001fuw7s"}, {"distinct_range": 962.8438255935446, "num_eq": 90000000000, "num_range": 9000, "upper_bound": "m\\u001d"}, {"distinct_range": 10000, "num_eq": 8670555164717019949, "num_range": 10000, "upper_bound": "xB\\u0013\\u000f\\u0015gy"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 7401967550837961076}, {"avg_size": 22, "columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5591457425500072203, "histo_col_type": "", "name": "__auto__", "null_count": 2805892992985110418, "row_count": 7401967550837961076}, {"avg_size": 30, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1261162745417881501, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7401967550837961076}, {"avg_size": 10, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3671495947781001851, "histo_col_type": "", "name": "__auto__", "null_count": 3222516193304646236, "row_count": 7401967550837961076}, {"avg_size": 11, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4453300755208687402, "histo_col_type": "", "name": "__auto__", "null_count": 4908647209162614568, "row_count": 7401967550837961076}, {"avg_size": 5, "columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3799040708898006867, "histo_col_type": "", "name": "__auto__", "null_count": 3267451420697502515, "row_count": 7401967550837961076}, {"avg_size": 0, "columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5471538028456356348, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7401967550837961076}]':::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_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 (101.78s)
See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)
- #95336 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2.2-with-dms-changes] - #89361 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]
compose.TestComposeCompare failed with artifacts on master @ b21379bb56dd206e6f63cc7d07ca72e85db7a4c4:
test_1 | - nil,
test_1 | + string("B"),
test_1 | }))
test_1 | cockroach1:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (
test_1 | SELECT
test_1 | "tab 34359".col64925 AS 😆col64926
test_1 | FROM
test_1 | (VALUES ('I':::STRING::CHAR), ('B':::STRING::CHAR), ('H':::STRING::CHAR), (NULL::CHAR))
test_1 | AS "tab 34359" (col64925)
test_1 | )
test_1 | AS "tab%34360"
test_1 | ORDER BY
test_1 | 😆col64926 ASC;
test_1 |
test_1 | postgres:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (
test_1 | SELECT
test_1 | "tab 34359".col64925 AS 😆col64926
test_1 | FROM
test_1 | (VALUES ('I'::TEXT::CHAR), ('B'::TEXT::CHAR), ('H'::TEXT::CHAR), (NULL::CHAR))
test_1 | AS "tab 34359" (col64925)
test_1 | )
test_1 | AS "tab%34360"
test_1 | ORDER BY
test_1 | 😆col64926 ASC;
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 table1 (col1_0 INET NOT NULL, col1_1 TIMESTAMPTZ, col1_2 STRING NOT NULL AS (CASE WHEN col1_1 IS NULL THEN NULL ELSE NULL END) VIRTUAL, PRIMARY KEY (col1_0 DESC, col1_2 ASC), INDEX (col1_2 DESC, col1_1 ASC) NOT VISIBLE, INDEX (col1_0 ASC, col1_2, col1_1) WHERE (table1.col1_2 > e'\'':::STRING) AND (table1.col1_1 >= '-4713-11-24 00:00:00+00:00':::TIMESTAMPTZ) NOT VISIBLE, UNIQUE (col1_1 DESC, col1_2, col1_0 DESC) WHERE (table1.col1_2 < '':::STRING) OR (table1.col1_1 != '0001-01-01 00:00:00+00:00':::TIMESTAMPTZ), INDEX ((CASE WHEN col1_1 IS NULL THEN '':::STRING ELSE '':::STRING END), col1_2 ASC, col1_1) NOT VISIBLE, UNIQUE (col1_2) STORING (col1_1), INDEX (col1_0 ASC, col1_1 ASC), UNIQUE (col1_1) WHERE table1.col1_2 >= e'\x00':::STRING, UNIQUE (col1_2 ASC, col1_1 DESC) PARTITION BY LIST (col1_2) (PARTITION table1_part_0 VALUES IN ((e'\x06I%"w{':::STRING,), ('3':::STRING,), (e'{;z\x0e1]PX':::STRING,), (e'>W"(\x010':::STRING,), (e'\x11B\n@x\x15;':::STRING,), ('Eiq6':::STRING,), ('"':::STRING,)), PARTITION table1_part_1 VALUES IN ((e'Z#8D,\x0f\x1f\x04$':::STRING,), (e',N\tKy_\x1e':::STRING,), (e'r\x036':::STRING,), (',ec':::STRING,), (e'<9\'R}dZ\t':::STRING,), (e'E\x1frc.':::STRING,), (e':9:\x04}@':::STRING,)), PARTITION table1_part_2 VALUES IN ((e'uDjwy[\x05':::STRING,), ('a':::STRING,), (e'\'':::STRING,), (e'Q4-\x1d \n!\x06r':::STRING,), ('X':::STRING,), ('I:d':::STRING,)), PARTITION table1_part_3 VALUES IN ((e'\x16.7K':::STRING,), (e'\x7f':::STRING,), (e'\U00002603':::STRING,), ('':::STRING,), (e'G\r1r|;f':::STRING,), (e'\x01\x1b\r':::STRING,), ('LHPYd=@Lj':::STRING,)), PARTITION table1_part_4 VALUES IN ((e'\x1e':::STRING,), (e'\x02\'fv\x0f"!L':::STRING,), (e'By-\x12':::STRING,), ('lg@xp@s':::STRING,), (e'\x7f\f,FU<':::STRING,), (e'bK\x04\n\'':::STRING,)), PARTITION "DEFAULT" VALUES IN ((DEFAULT,))) WHERE (table1.col1_2 >= e'\'':::STRING) AND (table1.col1_1 != '-4713-11-24 00:00:00+00:00':::TIMESTAMPTZ), FAMILY (col1_1), FAMILY (col1_0))
test_1 | compare_test.go:160: cockroach1: exec: ERROR: use of partitions requires an enterprise license. see https://cockroachlabs.com/pricing?cluster=d5a0e2e0-025e-4c06-a1af-ffee60d84d5c 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 (71.18s)
See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)
- #95336 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2.2-with-dms-changes] - #89361 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]
compose.TestComposeCompare failed with artifacts on master @ dc974cd698364a4db5acb630162dd8b1856cfad6:
postgres_1 |
postgres_1 | waiting for server to shut down...2023-01-24 06:16:25.458 UTC [49] LOG: received fast shutdown request
postgres_1 | .2023-01-24 06:16:25.459 UTC [49] LOG: aborting any active transactions
postgres_1 | 2023-01-24 06:16:25.461 UTC [49] LOG: background worker "logical replication launcher" (PID 56) exited with exit code 1
postgres_1 | 2023-01-24 06:16:25.463 UTC [51] LOG: shutting down
postgres_1 | 2023-01-24 06:16:25.562 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 | 2023-01-24 06:16:25.680 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 | 2023-01-24 06:16:25.680 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
postgres_1 | 2023-01-24 06:16:25.680 UTC [1] LOG: listening on IPv6 address "::", port 5432
postgres_1 | 2023-01-24 06:16:25.684 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres_1 | 2023-01-24 06:16:25.689 UTC [68] LOG: database system was shut down at 2023-01-24 06:16:25 UTC
postgres_1 | 2023-01-24 06:16:25.694 UTC [1] LOG: database system is ready to accept connections
postgres_1 | 2023-01-24 06:16:26.762 UTC [78] ERROR: syntax error at or near "ASC" at character 183
postgres_1 | 2023-01-24 06:16:26.762 UTC [78] STATEMENT: CREATE TABLE table1 (col1_0 BOOL NOT NULL, col1_1 OID, col1_2 INT2 NOT NULL, col1_3 VARCHAR NULL, col1_4 REGTYPE, col1_5 BIT(6) NOT NULL, col1_6 VARCHAR NULL, INVERTED INDEX (col1_2 ASC, col1_4 DESC, col1_6 ASC, col1_3 gin_trgm_ops ASC) WHERE ((table1.col1_0 AND (table1.col1_2 < (-1)::INT8)) OR (table1.col1_3 > ''::TEXT)) OR (table1.col1_6 <= 'X'::TEXT) NOT VISIBLE)
test_1 | --- FAIL: TestCompare (4.58s)
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.90s)
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 BOOL NOT NULL, col1_1 OID, col1_2 INT2 NOT NULL, col1_3 VARCHAR NULL, col1_4 REGTYPE, col1_5 BIT(6) NOT NULL, col1_6 VARCHAR NULL, INVERTED INDEX (col1_2 ASC, col1_4 DESC, col1_6 ASC, col1_3 gin_trgm_ops ASC) WHERE ((table1.col1_0 AND (table1.col1_2 < (-1)::INT8)) OR (table1.col1_3 > ''::TEXT)) OR (table1.col1_6 <= 'X'::TEXT) NOT VISIBLE)
test_1 | compare_test.go:160: postgres: exec: ERROR: syntax error at or near "ASC" (SQLSTATE 42601)
test_1 | --- FAIL: TestCompare/mutators (0.55s)
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 NULL, col1_1 GEOGRAPHY, col1_2 GEOGRAPHY NOT NULL, col1_3 NAME NOT NULL, col1_4 INT4 NOT NULL, col1_5 INTERVAL, col1_6 NAME NOT NULL, col1_7 BIT(26) NOT NULL, col1_8 GEOMETRY NOT NULL, col1_9 STRING NOT NULL AS (lower(CAST(col1_7 AS STRING))) STORED, col1_10 STRING NOT NULL AS (lower(CAST(col1_8 AS STRING))) VIRTUAL, col1_11 STRING NOT NULL AS (lower(CAST(col1_7 AS STRING))) STORED, col1_12 STRING AS (CASE WHEN col1_5 IS NULL THEN '"':::STRING ELSE ':~hCvOgCZ':::STRING END) VIRTUAL, col1_13 STRING AS (CASE WHEN col1_5 IS NULL THEN 'RD:kx0n':::STRING ELSE 'MZ':::STRING END) VIRTUAL, col1_14 STRING AS (lower(CAST(col1_1 AS STRING))) VIRTUAL, FAMILY (col1_4), FAMILY (col1_11), FAMILY (col1_1, col1_5), FAMILY (col1_8, col1_7), FAMILY (col1_3, col1_6), FAMILY (col1_9), FAMILY (col1_2), FAMILY (col1_0), UNIQUE (col1_3, col1_6) STORING (col1_1, col1_5, col1_7, col1_8, col1_9) WHERE (((((((((table1.col1_6 = e'\U00002603':::STRING:::NAME) OR (table1.col1_10 < 'X':::STRING)) AND (table1.col1_4 < 0:::INT8)) AND (table1.col1_3 <= '"':::STRING:::NAME)) OR (table1.col1_12 >= e'\U00002603':::STRING)) OR (table1.col1_13 = e'\'':::STRING)) OR (table1.col1_9 > '':::STRING)) AND (table1.col1_11 > e'\U00002603':::STRING)) OR (NOT table1.col1_0)) AND (table1.col1_14 <= e'\U00002603':::STRING));
test_1 | ALTER TABLE table1 INJECT STATISTICS e'[{"avg_size": 6, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7953240, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000000}, {"avg_size": 30, "columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5423810, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000000}, {"avg_size": 29, "columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2292182, "histo_col_type": "", "name": "__auto__", "null_count": 6394077, "row_count": 8000000}, {"avg_size": 19, "columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3954974, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000000}, {"avg_size": 14, "columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4731008, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000000}, {"avg_size": 12, "columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3680559, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000000}, {"avg_size": 13, "columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3011617, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000000}, {"avg_size": 26, "columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1681602, "histo_col_type": "", "name": "__auto__", "null_count": 4944072, "row_count": 8000000}, {"avg_size": 19, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3275053, "histo_col_type": "", "name": "__auto__", "null_count": 2389332, "row_count": 8000000}, {"avg_size": 7, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5100581, "histo_col_type": "", "name": "__auto__", "null_count": 5841836, "row_count": 8000000}, {"avg_size": 29, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3132031, "histo_buckets": [{"distinct_range": 0, "num_eq": 50000000, "num_range": 0, "upper_bound": "TNp]3~\\u000b|"}, {"distinct_range": 344105183.12317264, "num_eq": 3177582981577999662, "num_range": 700000000, "upper_bound": "\\\\"}], "histo_col_type": "NAME", "name": "__auto__", "null_count": 0, "row_count": 8000000}, {"avg_size": 3, "columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 288651, "histo_col_type": "", "name": "__auto__", "null_count": 6192015, "row_count": 8000000}, {"avg_size": 8, "columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 266322, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000000}, {"avg_size": 16, "columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2391581, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000000}, {"avg_size": 17, "columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 960970, "histo_col_type": "", "name": "__auto__", "null_count": 4356099, "row_count": 8000000}]':::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": 6196862743, "histo_col_type": "", "name": "__auto__", "null_count": 4206908223, "row_count": 10000000000}, {"avg_size": 23, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 114106499, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000000000}, {"avg_size": 24, "columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7764467722, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000000000}, {"avg_size": 27, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3234492226, "histo_col_type": "", "name": "__auto__", "null_count": 5856940080, "row_count": 10000000000}, {"avg_size": 23, "columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2806406777, "histo_col_type": "", "name": "__auto__", "null_count": 4425996118, "row_count": 10000000000}, {"avg_size": 14, "columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6749655608, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000000000}, {"avg_size": 2, "columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6703650422, "histo_col_type": "", "name": "__auto__", "null_count": 623367593, "row_count": 10000000000}, {"avg_size": 5, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5790708162, "histo_buckets": [{"distinct_range": 0, "num_eq": 438798347713127778, "num_range": 0, "upper_bound": "\\u0012D"}, {"distinct_range": 239236300.69205892, "num_eq": 3804197740748750361, "num_range": 5000000000, "upper_bound": "\\u0019\\u0004_k\\u000b\\u0013(x+"}, {"distinct_range": 3931618667379634000, "num_eq": 100000000, "num_range": 7002813606382537407, "upper_bound": "\\u0019g\\u0001\\u000fJ3\\u0004~"}, {"distinct_range": 0, "num_eq": 10000000, "num_range": 500, "upper_bound": ";\\u001b!"}, {"distinct_range": 8174791331.785429, "num_eq": 800, "num_range": 20000000000, "upper_bound": "@i\\u0018Y"}, {"distinct_range": 100000000, "num_eq": 4611408754042544799, "num_range": 100000000, "upper_bound": "La\\u0016u"}, {"distinct_range": 93849853356.31393, "num_eq": 900000, "num_range": 100000000000, "upper_bound": "PC\\u0004hM@"}, {"distinct_range": 145491578.3036259, "num_eq": 7143959458728942664, "num_range": 600000000, "upper_bound": "xo\\u0014"}], "histo_col_type": "NAME", "name": "__auto__", "null_count": 0, "row_count": 10000000000}, {"avg_size": 27, "columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4017857450, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000000000}, {"avg_size": 5, "columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1745073151, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000000000}, {"avg_size": 0, "columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1630204886, "histo_col_type": "", "name": "__auto__", "null_count": 8672576079, "row_count": 10000000000}, {"avg_size": 0, "columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2227945915, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000000000}, {"avg_size": 16, "columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6038810563, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000000000}, {"avg_size": 8, "columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8157939345, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000000000}, {"avg_size": 5, "columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1736317359, "histo_col_type": "", "name": "__auto__", "null_count": 3426199489, "row_count": 10000000000}]':::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_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 (19.46s)
See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)
- #95336 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2.2-with-dms-changes] - #89361 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]
compose.TestComposeCompare failed with artifacts on master @ 6eabc2f348710f4146ff984bc346cd8cbe96f83b:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (
test_1 | SELECT
test_1 | "tab'29033".col47851 AS "c,ol47852"
test_1 | FROM
test_1 | (VALUES (NULL::TIMESTAMPTZ), ('2000-01-01 01:00:00+00:00':::TIMESTAMPTZ::TIMESTAMPTZ))
test_1 | AS "tab'29033" (col47851)
test_1 | )
test_1 | AS "tab%29034"
test_1 | ORDER BY
test_1 | "c,ol47852";
test_1 |
test_1 | postgres:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (
test_1 | SELECT
test_1 | "tab'29033".col47851 AS "c,ol47852"
test_1 | FROM
test_1 | (VALUES (NULL::TIMESTAMPTZ), ('2000-01-01 01:00:00+00:00'::TIMESTAMPTZ::TIMESTAMPTZ))
test_1 | AS "tab'29033" (col47851)
test_1 | )
test_1 | AS "tab%29034"
test_1 | ORDER BY
test_1 | "c,ol47852";
test_1 |
test_1 | --- FAIL: TestCompare/mutators (0.48s)
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 INT2, col1_1 REGCLASS NOT NULL, col1_2 FLOAT8 NOT NULL, col1_3 REGROLE, col1_4 TIMESTAMPTZ NOT NULL, col1_5 CHAR NOT NULL, col1_6 BIT(35) NOT NULL, col1_7 REGTYPE NOT NULL, col1_8 REGPROCEDURE, col1_9 REGPROCEDURE, col1_10 INT4 NOT NULL, col1_11 JSONB NOT NULL, col1_12 DECIMAL NOT NULL, col1_13 INT8 AS (col1_0 + (-31765):::INT8) STORED, col1_14 INT8 NULL AS (col1_10 + col1_0) VIRTUAL, col1_15 INT8 NOT NULL AS (col1_0 + col1_10) VIRTUAL, col1_16 INT8 NOT NULL AS (col1_10 + col1_0) STORED, col1_17 INT8 NOT NULL AS (col1_0 + col1_10) VIRTUAL, PRIMARY KEY (col1_15 ASC, col1_1, col1_16, col1_7 ASC, col1_2, col1_17 DESC, col1_10 DESC, col1_5 ASC), UNIQUE (col1_15 DESC, col1_6 ASC, col1_12 DESC, col1_9, col1_7 ASC, col1_17) WHERE ((((((table1.col1_5 >= '"':::STRING) AND (table1.col1_15 < 1:::INT8)) OR (table1.col1_0 != 127:::INT8)) OR (table1.col1_14 > 127:::INT8)) AND (table1.col1_17 < (-32768):::INT8)) AND (table1.col1_10 < (-32768):::INT8)) AND (table1.col1_2 <= 1.7976931348623157e+308:::FLOAT8), UNIQUE (col1_2, (CASE WHEN col1_7 IS NULL THEN 'E5^USE':::STRING ELSE 'o':::STRING END), col1_15 ASC, col1_6, col1_9 ASC, col1_14 DESC, col1_5 ASC, col1_0 DESC, (col1_0 + col1_10) DESC, col1_10, col1_8 DESC, col1_4 DESC, lower(CAST(col1_11 AS STRING)) DESC, (col1_12 + 0:::DECIMAL), col1_17) STORING (col1_12), INDEX (col1_17 ASC, col1_14 ASC) STORING (col1_3, col1_4, col1_6, col1_11, col1_13) WHERE ((((((((((table1.col1_16 <= 0:::INT8) AND (table1.col1_17 >= 2147483647:::INT8)) AND (table1.col1_10 <= 2147483647:::INT8)) AND (table1.col1_13 = 9223372036854775807:::INT8)) AND (table1.col1_4 > '-4713-11-24 00:00:00+00:00':::TIMESTAMPTZ)) OR (table1.col1_5 <= e'\x00':::STRING)) OR (table1.col1_0 < (-128):::INT8)) AND (table1.col1_2 >= '+Inf':::FLOAT8)) AND (table1.col1_12 = 'Infinity':::DECIMAL)) OR (table1.col1_15 > 0:::INT8)) OR (table1.col1_14 = (-9223372036854775807):::INT8) NOT VISIBLE, FAMILY (col1_12), FAMILY (col1_6), FAMILY (col1_5, col1_16), FAMILY (col1_4), FAMILY (col1_9, col1_1), FAMILY (col1_2, col1_0, col1_7), FAMILY (col1_11), FAMILY (col1_3, col1_10, col1_8), FAMILY (col1_13));
test_1 | ALTER TABLE table1 INJECT STATISTICS '[{"avg_size": 17, "columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 430921085007471779, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1197654704303577845}, {"avg_size": 14, "columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 286142621811635624, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1197654704303577845}, {"avg_size": 7, "columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 652707640320922591, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1197654704303577845}, {"avg_size": 23, "columns": ["col1_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 170887665677670634, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1197654704303577845}, {"avg_size": 3, "columns": ["col1_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 179754473932637034, "histo_buckets": [{"distinct_range": 0, "num_eq": 20000000000, "num_range": 0, "upper_bound": "-7134269864296935037"}, {"distinct_range": 6547787416714907000, "num_eq": 0, "num_range": 6547787416714906256, "upper_bound": "-4857431926272744826"}, {"distinct_range": 3939372954365327400, "num_eq": 100000, "num_range": 7433328495886734081, "upper_bound": "-2094716132832887768"}, {"distinct_range": 0, "num_eq": 90000, "num_range": 0, "upper_bound": "-1885163722618849218"}, {"distinct_range": 0, "num_eq": 2938427324299137049, "num_range": 0, "upper_bound": "2276934128860094756"}, {"distinct_range": 0, "num_eq": 0, "num_range": 80000, "upper_bound": "6148538443390266707"}, {"distinct_range": 0, "num_eq": 50000, "num_range": 4891018074736098410, "upper_bound": "8256225886374402335"}, {"distinct_range": 0, "num_eq": 4525846966833408747, "num_range": 40, "upper_bound": "9223372036854775807"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 0, "row_count": 1197654704303577845}, {"avg_size": 3, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 810969727562259949, "histo_col_type": "", "name": "__auto__", "null_count": 1039810743450795640, "row_count": 1197654704303577845}, {"avg_size": 3, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1110535410564783422, "histo_buckets": [{"distinct_range": 0, "num_eq": 2540020918053036191, "num_range": 0, "upper_bound": "-1.295396702194687"}, {"distinct_range": 2000000000, "num_eq": 300000000, "num_range": 2000000000, "upper_bound": "-0.9662543904635872"}, {"distinct_range": 0, "num_eq": 1000000, "num_range": 3952574534681289164, "upper_bound": "-0.7768443358732303"}, {"distinct_range": 13.22882376152496, "num_eq": 10000000, "num_range": 30, "upper_bound": "-0.44662247622324014"}, {"distinct_range": 873956311011538700, "num_eq": 2000, "num_range": 873956311011538625, "upper_bound": "0.5348549710153827"}, {"distinct_range": 0, "num_eq": 900, "num_range": 1000000000, "upper_bound": "1.7976931348623157e+308"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 1197654704303577845}, {"avg_size": 5, "columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 87868647400662753, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1197654704303577845}, {"avg_size": 24, "columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1044825629895313199, "histo_col_type": "", "name": "__auto__", "null_count": 241262959282714082, "row_count": 1197654704303577845}, {"avg_size": 3, "columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 72884808767868760, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1197654704303577845}, {"avg_size": 22, "columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 881755753488128713, "histo_col_type": "", "name": "__auto__", "null_count": 840503128921053751, "row_count": 1197654704303577845}, {"avg_size": 11, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1045916905262413338, "histo_col_type": "", "name": "__auto__", "null_count": 500842498218924039, "row_count": 1197654704303577845}, {"avg_size": 4, "columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 469425925315288875, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1197654704303577845}, {"avg_size": 20, "columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 15585689432941542, "histo_buckets": [{"distinct_range": 0, "num_eq": 6000000000, "num_range": 0, "upper_bound": "-6258379345208493500"}, {"distinct_range": 4000, "num_eq": 30000000, "num_range": 4000, "upper_bound": "-5406700019182333900"}, {"distinct_range": 204540726469545150, "num_eq": 5571077829725011830, "num_range": 3200226415722912810, "upper_bound": "-1327630703757514735"}, {"distinct_range": 27392.405177842076, "num_eq": 1000, "num_range": 90000, "upper_bound": "32767"}, {"distinct_range": 6303902561359266000, "num_eq": 30, "num_range": 6303902561359265780, "upper_bound": "3611715738720967643"}, {"distinct_range": 3000, "num_eq": 4729360632072611249, "num_range": 3000, "upper_bound": "4887749944855439303"}, {"distinct_range": 0, "num_eq": 20000, "num_range": 5528240664282620944, "upper_bound": "4913422859736414643"}, {"distinct_range": 0, "num_eq": 5447365314223910199, "num_range": 0, "upper_bound": "6025920177433965453"}, {"distinct_range": 0, "num_eq": 3498711981976017510, "num_range": 10000000, "upper_bound": "8266652834034440599"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 0, "row_count": 1197654704303577845}, {"avg_size": 15, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 742600622295561219, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1197654704303577845}, {"avg_size": 25, "columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 361069277523306386, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1197654704303577845}, {"avg_size": 26, "columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 194747737572114416, "histo_col_type": "", "name": "__auto__", "null_count": 930260324325920761, "row_count": 1197654704303577845}, {"avg_size": 0, "columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 469175481680902596, "histo_col_type": "", "name": "__auto__", "null_count": 740523031822229864, "row_count": 1197654704303577845}]':::JSONB;
test_1 | ALTER TABLE table1 INJECT STATISTICS '[{"avg_size": 22, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2007124188, "histo_col_type": "", "name": "__auto__", "null_count": 805018809, "row_count": 4000000000}, {"avg_size": 11, "columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 957664210, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4000000000}, {"avg_size": 24, "columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2670672104, "histo_col_type": "", "name": "__auto__", "null_count": 2496745464, "row_count": 4000000000}, {"avg_size": 14, "columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 250290780, "histo_col_type": "", "name": "__auto__", "null_count": 1088694575, "row_count": 4000000000}, {"avg_size": 13, "columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3038243460, "histo_col_type": "", "name": "__auto__", "null_count": 3117433319, "row_count": 4000000000}, {"avg_size": 9, "columns": ["col1_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3354528375, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4000000000}, {"avg_size": 14, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2797874579, "histo_buckets": [{"distinct_range": 0, "num_eq": 200, "num_range": 0, "upper_bound": "0.026548843936819555"}, {"distinct_range": 769840.9103552166, "num_eq": 4000, "num_range": 3000000, "upper_bound": "0.5600291443373218"}, {"distinct_range": 44455950.56971008, "num_eq": 60000000, "num_range": 80000000, "upper_bound": "0.6893329295817505"}, {"distinct_range": 0, "num_eq": 200, "num_range": 1000, "upper_bound": "1.096250652784424"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 4000000000}, {"avg_size": 13, "columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3818983408, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4000000000}, {"avg_size": 25, "columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2306390495, "histo_col_type": "", "name": "__auto__", "null_count": 1295493188, "row_count": 4000000000}, {"avg_size": 7, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3075122738, "histo_col_type": "", "name": "__auto__", "null_count": 405399341, "row_count": 4000000000}, {"avg_size": 2, "columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3031582527, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4000000000}, {"avg_size": 10, "columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3599207325, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4000000000}, {"avg_size": 19, "columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3894670849, "histo_buckets": [{"distinct_range": 0, "num_eq": 6000000, "num_range": 0, "upper_bound": "-6235237031526042133"}, {"distinct_range": 0, "num_eq": 40000, "num_range": 8267085911225902134, "upper_bound": "-4099358102878519694"}, {"distinct_range": 0, "num_eq": 90, "num_range": 4058144035418311365, "upper_bound": "2147483647"}, {"distinct_range": 0, "num_eq": 1194730150585477227, "num_range": 500, "upper_bound": "278077101940269774"}, {"distinct_range": 2490134645024158000, "num_eq": 7993181340034329829, "num_range": 3473034351575837606, "upper_bound": "4250252722336219062"}, {"distinct_range": 2610686405890403300, "num_eq": 7500814099839536577, "num_range": 2610686405890403498, "upper_bound": "9223372036854775807"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 0, "row_count": 4000000000}, {"avg_size": 22, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3112742478, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4000000000}, {"avg_size": 11, "columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 70554727, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4000000000}, {"avg_size": 25, "columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1119000256, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4000000000}, {"avg_size": 30, "columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3409208969, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4000000000}, {"avg_size": 19, "columns": ["col1_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2824504809, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4000000000}]':::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 (71.39s)
See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)
- #95336 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2.2-with-dms-changes] - #89361 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]
compose.TestComposeCompare failed with artifacts on master @ 2ad8df3df3272110705984efc32f1453631ce602:
test_1 | AS tab5525 ("co�l8195")
test_1 | WHERE
test_1 | true::BOOL
test_1 | ORDER BY
test_1 | tab5525."co�l8195"
test_1 | )
test_1 | AS tab😅5526
test_1 | ORDER BY
test_1 | col8196 DESC;
test_1 |
test_1 | cockroach1:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (
test_1 | SELECT
test_1 | tab5525."co�l8195" AS col8196
test_1 | FROM
test_1 | (VALUES ('2000-01-04':::DATE::DATE), (NULL::DATE), ('2000-01-03':::DATE::DATE), (NULL::DATE))
test_1 | AS tab5525 ("co�l8195")
test_1 | WHERE
test_1 | true::BOOL
test_1 | ORDER BY
test_1 | tab5525."co�l8195"
test_1 | )
test_1 | AS tab😅5526
test_1 | ORDER BY
test_1 | col8196 DESC;
test_1 |
test_1 | --- FAIL: TestCompare/mutators (0.55s)
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 REGNAMESPACE NOT NULL, PRIMARY KEY (col1_0), UNIQUE (col1_0), UNIQUE (col1_0));
test_1 | ALTER TABLE table1 INJECT STATISTICS '[{"avg_size": 29, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4628770318653459071, "histo_col_type": "REGNAMESPACE", "name": "__auto__", "null_count": 0, "row_count": 4873168493487405038}]':::JSONB;
test_1 | ALTER TABLE table1 INJECT STATISTICS '[{"avg_size": 0, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 67, "histo_buckets": [{"distinct_range": 0, "num_eq": 5000000, "num_range": 0, "upper_bound": "326247483"}, {"distinct_range": 324111899992117500, "num_eq": 8167148718497400288, "num_range": 1057163881020203700, "upper_bound": "659266773"}, {"distinct_range": 1589028.8565507485, "num_eq": 800000000, "num_range": 7000000, "upper_bound": "1985992297"}, {"distinct_range": 0, "num_eq": 90000000000, "num_range": 2525366762629272303, "upper_bound": "2018570461"}, {"distinct_range": 1000, "num_eq": 300, "num_range": 1000, "upper_bound": "3284438319"}, {"distinct_range": 0, "num_eq": 10000000000, "num_range": 7826488116450843329, "upper_bound": "3610659463"}], "histo_col_type": "REGNAMESPACE", "name": "__auto__", "null_count": 0, "row_count": 70}]':::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_cockroach1_1 ...
Stopping compare_postgres_1 ...
Stopping compare_postgres_1 ... done
Stopping compare_cockroach2_1 ... done
Stopping compare_cockroach1_1 ... done
Aborting on container exit...
compose_test.go:120: exit status 1
--- FAIL: TestComposeCompare (34.42s)
See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)
- #95336 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2.2-with-dms-changes] - #89361 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]
compose.TestComposeCompare failed with artifacts on master @ 95a3a11f11b09481bbdf56820eea4420120f04f9:
test_1 | AS tab2791
test_1 | ORDER BY
test_1 | col5094 DESC;
test_1 |
test_1 | cockroach1:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (
test_1 | SELECT
test_1 | 😋tab2790."c�ol5093" AS col5094
test_1 | FROM
test_1 | (
test_1 | VALUES
test_1 | ('2000-01-01 05:00:00':::TIMESTAMP::TIMESTAMP),
test_1 | (NULL::TIMESTAMP),
test_1 | ('2000-01-01 04:00:00':::TIMESTAMP::TIMESTAMP),
test_1 | (NULL::TIMESTAMP),
test_1 | ('2000-01-01 00:00:00':::TIMESTAMP::TIMESTAMP),
test_1 | ('2000-01-01 05:00:00':::TIMESTAMP::TIMESTAMP)
test_1 | )
test_1 | AS 😋tab2790 ("c�ol5093")
test_1 | ORDER BY
test_1 | 😋tab2790."c�ol5093"
test_1 | )
test_1 | AS tab2791
test_1 | ORDER BY
test_1 | col5094 DESC;
test_1 |
test_1 | --- FAIL: TestCompare/mutators (0.29s)
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 REGROLE NOT NULL, col1_1 CHAR NOT NULL, col1_2 DATE NOT NULL, col1_3 STRING NOT NULL AS (CASE WHEN col1_0 IS NULL THEN e'\x1f!o0\x7f"\x05':::STRING ELSE e'lJ\x01S;\x1a\x07':::STRING END) VIRTUAL, col1_4 STRING NOT NULL AS (CASE WHEN col1_2 IS NULL THEN '1':::STRING ELSE e'\U00002603':::STRING END) STORED, PRIMARY KEY (col1_3, col1_0 DESC, col1_1 DESC, col1_2 ASC, col1_4), UNIQUE (col1_4 ASC, (CASE WHEN col1_0 IS NULL THEN 'm':::STRING ELSE '':::STRING END) ASC, col1_0 ASC) WHERE (((table1.col1_3 = 'X':::STRING) OR (table1.col1_1 = e'\U00002603':::STRING)) AND (table1.col1_4 > 'X':::STRING)) OR (table1.col1_2 >= 'infinity':::DATE), FAMILY (col1_1), FAMILY (col1_2), FAMILY (col1_0, col1_4));
test_1 | ALTER TABLE table1 INJECT STATISTICS e'[{"avg_size": 24, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 98455467, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 100000000}, {"avg_size": 4, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 73716430, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 100000000}, {"avg_size": 30, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 86649082, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 100000000}, {"avg_size": 7, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 19379664, "histo_buckets": [{"distinct_range": 0, "num_eq": 3000000, "num_range": 0, "upper_bound": ""}, {"distinct_range": 0, "num_eq": 6683011223196188601, "num_range": 2465605961623378957, "upper_bound": "\\u0002qJ^j\\u0014"}, {"distinct_range": 0, "num_eq": 8414245850057854441, "num_range": 400, "upper_bound": "\\u001e"}, {"distinct_range": 0, "num_eq": 4515306897672877693, "num_range": 3000000000, "upper_bound": "9\\u001bagN]{c"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 100000000}, {"avg_size": 28, "columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 37053125, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 100000000}]':::JSONB;
test_1 | ALTER TABLE table1 INJECT STATISTICS e'[{"avg_size": 13, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3271864377800636729, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4322797496894452083}, {"avg_size": 11, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 774345349228581689, "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 4322797496894452083}, {"avg_size": 29, "columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1369451896414249468, "histo_buckets": [{"distinct_range": 0, "num_eq": 500000, "num_range": 0, "upper_bound": "/"}, {"distinct_range": 0, "num_eq": 5109002442176078592, "num_range": 60, "upper_bound": "M"}, {"distinct_range": 2000000, "num_eq": 5000000000, "num_range": 2000000, "upper_bound": "q^\\u001e\\u000b(\x7f,<"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 4322797496894452083}, {"avg_size": 9, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3246873317600015126, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4322797496894452083}, {"avg_size": 28, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1807942364205438216, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4322797496894452083}]':::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 (26.90s)
See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)
- #95336 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2.2-with-dms-changes] - #89361 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]
compose.TestComposeCompare failed with artifacts on master @ 78fe59d0536be35fcec68280142746fb91515551:
test_1 | ORDER BY
test_1 | """co͗l122378" ASC;
test_1 |
test_1 | postgres:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (
test_1 | SELECT
test_1 | "ta\\x71b74333".cͩol122377 AS """co͗l122378"
test_1 | FROM
test_1 | (
test_1 | VALUES
test_1 | (7.0::FLOAT8::FLOAT4),
test_1 | (6.0::FLOAT8::FLOAT4),
test_1 | (7.0::FLOAT8::FLOAT4),
test_1 | (NULL::FLOAT4),
test_1 | (1.0::FLOAT8::FLOAT4)
test_1 | )
test_1 | AS "ta\\x71b74333" (cͩol122377)
test_1 | ORDER BY
test_1 | "ta\\x71b74333".cͩol122377 NULLS FIRST,
test_1 | "ta\\x71b74333".cͩol122377 DESC NULLS LAST,
test_1 | "ta\\x71b74333".cͩol122377
test_1 | )
test_1 | AS "t̸'ab74334"
test_1 | ORDER BY
test_1 | """co͗l122378" ASC;
test_1 |
test_1 | --- FAIL: TestCompare/mutators (0.48s)
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 "char" NOT NULL, col1_1 BOX2D NOT NULL, col1_2 TIMESTAMP NOT NULL, col1_3 BYTES, col1_4 REGNAMESPACE NOT NULL, col1_5 REGROLE NOT NULL, col1_6 BYTES NOT NULL, col1_7 STRING NOT NULL AS (CASE WHEN col1_2 IS NULL THEN 'Br':::STRING ELSE e'~9\x0bO':::STRING END) VIRTUAL, col1_8 STRING NOT NULL AS (lower(CAST(col1_1 AS STRING))) STORED, col1_9 STRING NOT NULL AS (lower(col1_0)) STORED, PRIMARY KEY (col1_0 ASC, col1_2 DESC, col1_5 ASC, col1_4, col1_8, col1_6, col1_9 ASC, col1_7 ASC), INDEX (col1_3 ASC, col1_6 ASC) WHERE ((table1.col1_0 != e'\'':::STRING) AND (table1.col1_3 != e'\\x58':::BYTES)) AND (table1.col1_7 <= '':::STRING), FAMILY (col1_5), FAMILY (col1_4), FAMILY (col1_6, col1_8, col1_0, col1_2), FAMILY (col1_1, col1_3), FAMILY (col1_9));
test_1 | ALTER TABLE table1 INJECT STATISTICS e'[{"avg_size": 19, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2129016539155091283, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3264238085760655132}, {"avg_size": 7, "columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2135319514737199922, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3264238085760655132}, {"avg_size": 23, "columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2358249419371085555, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3264238085760655132}, {"avg_size": 2, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2148643430567763558, "histo_buckets": [{"distinct_range": 0, "num_eq": 3081286333575608852, "num_range": 0, "upper_bound": "``"}], "histo_col_type": "\\"char\\"", "name": "__auto__", "null_count": 0, "row_count": 3264238085760655132}, {"avg_size": 24, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1299238837295375636, "histo_buckets": [{"distinct_range": 0, "num_eq": 90, "num_range": 0, "upper_bound": "\\\\x"}, {"distinct_range": 0, "num_eq": 1416110498537733745, "num_range": 9166953051212547683, "upper_bound": "\\\\x253717"}, {"distinct_range": 2998295944638835700, "num_eq": 300000, "num_range": 2998295944638835479, "upper_bound": "\\\\x3b1cc8"}, {"distinct_range": 80000, "num_eq": 5357682110692315446, "num_range": 80000, "upper_bound": "\\\\x726560"}, {"distinct_range": 0, "num_eq": 800000, "num_range": 6832319059933098171, "upper_bound": "\\\\x76b9f2"}, {"distinct_range": 194228506.98451266, "num_eq": 70000000, "num_range": 800000000, "upper_bound": "\\\\xe29883"}, {"distinct_range": 10616589617.224533, "num_eq": 4930192341404415203, "num_range": 80000000000, "upper_bound": "\\\\xfc4a1aaf28a1a52b"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 947237266064328709, "row_count": 3264238085760655132}, {"avg_size": 12, "columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1323616251609918431, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3264238085760655132}, {"avg_size": 8, "columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 804503304369621217, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3264238085760655132}, {"avg_size": 13, "columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1358114316612399876, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3264238085760655132}, {"avg_size": 28, "columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2119319647715199460, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3264238085760655132}, {"avg_size": 14, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1934716682877029821, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3264238085760655132}]':::JSONB;
test_1 | ALTER TABLE table1 INJECT STATISTICS e'[{"avg_size": 28, "columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 68046, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 70000}, {"avg_size": 10, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 61413, "histo_col_type": "", "name": "__auto__", "null_count": 61825, "row_count": 70000}, {"avg_size": 26, "columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4666, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 70000}, {"avg_size": 12, "columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 65841, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 70000}, {"avg_size": 18, "columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 61395, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 70000}, {"avg_size": 15, "columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 64028, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 70000}, {"avg_size": 19, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 23029, "histo_col_type": "\\"char\\"", "name": "__auto__", "null_count": 0, "row_count": 70000}, {"avg_size": 18, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 28097, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 70000}, {"avg_size": 13, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4949, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 70000}, {"avg_size": 27, "columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5198, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 70000}]':::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_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 (99.90s)
See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)
- #95336 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2.2-with-dms-changes] - #89361 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]
compose.TestComposeCompare failed with artifacts on master @ 69dd453d0e61e258f402c5751de310405743cd18:
test_1 | (
test_1 | SELECT
test_1 | "ta
test_1 | b%p33286".col56543 AS col56545, NULL::RECORD AS col56546
test_1 | FROM
test_1 | (
test_1 | VALUES
test_1 | ('00:00:09'::INTERVAL::INTERVAL, NULL::RECORD),
test_1 | (NULL::INTERVAL, NULL::RECORD),
test_1 | ('00:00:01'::INTERVAL::INTERVAL, NULL::RECORD),
test_1 | ('00:00:07'::INTERVAL::INTERVAL, NULL::RECORD),
test_1 | (NULL::INTERVAL, NULL::RECORD),
test_1 | ('00:00:09'::INTERVAL::INTERVAL, NULL::RECORD)
test_1 | )
test_1 | AS "ta
test_1 | b%p33286" (col56543, "c
test_1 | ol56544")
test_1 | WHERE
test_1 | true::BOOL
test_1 | ORDER BY
test_1 | "ta
test_1 | b%p33286"."c
test_1 | ol56544" NULLS FIRST,
test_1 | "ta
test_1 | b%p33286".col56543 NULLS LAST,
test_1 | "ta
test_1 | b%p33286"."c
test_1 | ol56544" DESC NULLS FIRST
test_1 | )
test_1 | AS "\\u98E1t\\uD202a%vb33287"
test_1 | ORDER BY
test_1 | col56545, col56546 NULLS FIRST;
test_1 |
test_1 | --- FAIL: TestCompare/mutators (0.34s)
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 TIMESTAMP NOT NULL, col1_1 TIMETZ NOT NULL, col1_2 REGNAMESPACE NULL, col1_3 REGNAMESPACE NULL, col1_4 BIT(25), col1_5 STRING NOT NULL AS (lower(CAST(col1_4 AS STRING))) STORED, col1_6 STRING NULL AS (CASE WHEN col1_3 IS NULL THEN e'e\x18\x0fJrB':::STRING ELSE e'\x17\x07\fla"\x04':::STRING END) VIRTUAL, col1_7 STRING NOT NULL AS (lower(CAST(col1_1 AS STRING))) VIRTUAL, PRIMARY KEY (col1_5 DESC, col1_1), INVERTED INDEX (col1_2 DESC, col1_0, col1_3 DESC, col1_1 DESC, col1_6 gin_trgm_ops ASC), INDEX (col1_4 ASC, col1_7 DESC, col1_2 DESC, col1_5 ASC, col1_3 ASC, col1_6 DESC, col1_0 DESC, col1_1 DESC) NOT VISIBLE, UNIQUE (col1_5 DESC, col1_6) WHERE (table1.col1_0 >= '-4713-11-24 00:00:00':::TIMESTAMP) OR (table1.col1_6 >= '"':::STRING), UNIQUE (col1_4, col1_3) STORING (col1_2) PARTITION BY LIST (col1_4) (PARTITION table1_part_0 VALUES IN ((B'0111010101101111010111011',), (B'1100001111100001011111000',)), PARTITION table1_part_1 VALUES IN ((B'0100110110111011101010111',), (B'0110111111011110100011110',)), PARTITION table1_part_2 VALUES IN ((B'0000111000101011001110011',), (B'0011101011110110001011110',)), PARTITION table1_part_3 VALUES IN ((B'1100000110001000100101101',), (B'0011110100111000010001111',))) WHERE ((((table1.col1_0 = '-4713-11-24 00:00:00':::TIMESTAMP) AND (table1.col1_1 != '00:00:00+15:59:00':::TIMETZ)) AND (table1.col1_6 < e'\'':::STRING)) OR (table1.col1_7 >= e'\U00002603':::STRING)) AND (table1.col1_5 = 'X':::STRING), FAMILY (col1_5), FAMILY (col1_4, col1_1, col1_3, col1_0), 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=55fc8819-e381-42c7-a9ba-5663858bdd9f 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 (71.98s)
See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)
- #95336 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2.2-with-dms-changes] - #89361 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]
compose.TestComposeCompare failed with artifacts on master @ 69dd453d0e61e258f402c5751de310405743cd18:
test_1 | FROM
test_1 | (
test_1 | SELECT
test_1 | "t%q ab39503".col73175 AS col73176
test_1 | FROM
test_1 | (VALUES ('D':::STRING::CHAR), ('A':::STRING::CHAR), (NULL::CHAR)) AS "t%q ab39503" (col73175)
test_1 | ORDER BY
test_1 | "t%q ab39503".col73175 NULLS LAST
test_1 | )
test_1 | AS tab39504
test_1 | ORDER BY
test_1 | col73176 DESC;
test_1 |
test_1 | postgres:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (
test_1 | SELECT
test_1 | "t%q ab39503".col73175 AS col73176
test_1 | FROM
test_1 | (VALUES ('D'::TEXT::CHAR), ('A'::TEXT::CHAR), (NULL::CHAR)) AS "t%q ab39503" (col73175)
test_1 | ORDER BY
test_1 | "t%q ab39503".col73175 NULLS LAST
test_1 | )
test_1 | AS tab39504
test_1 | ORDER BY
test_1 | col73176 DESC;
test_1 |
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:137: initializing connection: cockroach2
test_1 | compare_test.go:159: CREATE TABLE table1 (col1_0 TIME NOT NULL, col1_1 REGPROC, col1_2 FLOAT8 NULL, col1_3 VARCHAR NOT NULL, col1_4 INT4 NOT NULL, col1_5 REGTYPE NULL, col1_6 REGCLASS NOT NULL, col1_7 INT8 NOT NULL, col1_8 DECIMAL NOT NULL, col1_9 "char" NOT NULL, col1_10 TIMESTAMPTZ NOT NULL, col1_11 INT8 NOT NULL AS (col1_7 + col1_4) STORED, col1_12 INT8 NOT NULL AS (col1_4 + (-698346496):::INT8) STORED, col1_13 STRING AS (lower(col1_9)) VIRTUAL, col1_14 STRING NULL AS (CASE WHEN col1_5 IS NULL THEN e'\x17~wU\x1f2/\x07v':::STRING ELSE e'\x1eK;\t)#\x17\x19':::STRING END) VIRTUAL, col1_15 STRING AS (CASE WHEN col1_1 IS NULL THEN e' !\x06$q':::STRING ELSE e'\x101J\b\f':::STRING END) VIRTUAL, col1_16 STRING NULL AS (CASE WHEN col1_6 IS NULL THEN e'Ol\x18&uU\x19':::STRING ELSE '#G oL9R <':::STRING END) STORED, col1_17 INT8 NOT NULL AS (col1_4 + (-1128600726):::INT8) VIRTUAL, col1_18 INT8 NOT NULL AS (col1_4 + 533231701:::INT8) VIRTUAL, PRIMARY KEY (col1_9 ASC, col1_4, col1_3 ASC, col1_7 ASC, col1_0 DESC, col1_6), FAMILY (col1_9, col1_12), FAMILY (col1_8, col1_0, col1_5, col1_11, col1_2, col1_1), FAMILY (col1_10), FAMILY (col1_6), FAMILY (col1_16), FAMILY (col1_4), FAMILY (col1_7, col1_3));
test_1 | ALTER TABLE table1 INJECT STATISTICS '[{"avg_size": 12, "columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1510384131511501135, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3466446707469788627}, {"avg_size": 24, "columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 728326034917291739, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3466446707469788627}, {"avg_size": 30, "columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 511699194718638101, "histo_col_type": "", "name": "__auto__", "null_count": 2014687492397998623, "row_count": 3466446707469788627}, {"avg_size": 6, "columns": ["col1_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1751301431848569043, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3466446707469788627}, {"avg_size": 15, "columns": ["col1_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2442035231848028982, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3466446707469788627}, {"avg_size": 24, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1885001078740069403, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3466446707469788627}, {"avg_size": 0, "columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3395391474856143156, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3466446707469788627}, {"avg_size": 29, "columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2156412621247824571, "histo_col_type": "", "name": "__auto__", "null_count": 3400110242096815349, "row_count": 3466446707469788627}, {"avg_size": 25, "columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2933073039028993400, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3466446707469788627}, {"avg_size": 31, "columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1025923974797368086, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3466446707469788627}, {"avg_size": 14, "columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 846171426731606711, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3466446707469788627}, {"avg_size": 1, "columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1189550584269067006, "histo_col_type": "", "name": "__auto__", "null_count": 1394754134959386744, "row_count": 3466446707469788627}, {"avg_size": 21, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3193969914530388891, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3466446707469788627}, {"avg_size": 6, "columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 724213217731135092, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3466446707469788627}, {"avg_size": 12, "columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1176735646261450064, "histo_col_type": "", "name": "__auto__", "null_count": 1662429862667978651, "row_count": 3466446707469788627}, {"avg_size": 17, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3387375014387982211, "histo_col_type": "", "name": "__auto__", "null_count": 765662174591874746, "row_count": 3466446707469788627}, {"avg_size": 6, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3242126889714553961, "histo_col_type": "", "name": "__auto__", "null_count": 2083253779290300217, "row_count": 3466446707469788627}, {"avg_size": 0, "columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 535462051947930589, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3466446707469788627}, {"avg_size": 18, "columns": ["col1_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2761614318745706390, "histo_col_type": "", "name": "__auto__", "null_count": 1927960916408529988, "row_count": 3466446707469788627}]':::JSONB;
test_1 | ALTER TABLE table1 INJECT STATISTICS e'[{"avg_size": 22, "columns": ["col1_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1714037439359557781, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1952305443715431343}, {"avg_size": 18, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1931906112605577296, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1952305443715431343}, {"avg_size": 9, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1838364449599583887, "histo_col_type": "", "name": "__auto__", "null_count": 1122981725582635416, "row_count": 1952305443715431343}, {"avg_size": 20, "columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 112413251850031920, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1952305443715431343}, {"avg_size": 8, "columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 715738979046861317, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1952305443715431343}, {"avg_size": 13, "columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 876205969319602798, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1952305443715431343}, {"avg_size": 17, "columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 668023276450901999, "histo_col_type": "", "name": "__auto__", "null_count": 594885419572818377, "row_count": 1952305443715431343}, {"avg_size": 7, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1947492377947803488, "histo_col_type": "", "name": "__auto__", "null_count": 848023629217362003, "row_count": 1952305443715431343}, {"avg_size": 2, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1232079395906618713, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1952305443715431343}, {"avg_size": 2, "columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 766952648505525812, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1952305443715431343}, {"avg_size": 19, "columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 750799249700490417, "histo_col_type": "", "name": "__auto__", "null_count": 764124870477890371, "row_count": 1952305443715431343}, {"avg_size": 28, "columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 62158847240713595, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1952305443715431343}, {"avg_size": 14, "columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 276749495509986978, "histo_buckets": [{"distinct_range": 0, "num_eq": 800, "num_range": 0, "upper_bound": "\\u0005"}, {"distinct_range": 17384.112328462357, "num_eq": 4442301293368758491, "num_range": 50000, "upper_bound": "\\u000f"}, {"distinct_range": 30000000, "num_eq": 40000, "num_range": 30000000, "upper_bound": "0"}, {"distinct_range": 781070096.5955814, "num_eq": 7771842062630144963, "num_range": 1000000000, "upper_bound": "\\\\"}], "histo_col_type": "\\"char\\"", "name": "__auto__", "null_count": 0, "row_count": 1952305443715431343}, {"avg_size": 27, "columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 946776099310539740, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1952305443715431343}, {"avg_size": 28, "columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1010549902721055668, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1952305443715431343}, {"avg_size": 6, "columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1807426118113406527, "histo_col_type": "", "name": "__auto__", "null_count": 448110046058950709, "row_count": 1952305443715431343}, {"avg_size": 6, "columns": ["col1_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 733492838543430436, "histo_col_type": "", "name": "__auto__", "null_count": 782326998921989204, "row_count": 1952305443715431343}, {"avg_size": 15, "columns": ["col1_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1436121110556365970, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1952305443715431343}, {"avg_size": 25, "columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 11982411581794925, "histo_col_type": "", "name": "__auto__", "null_count": 220603268694272042, "row_count": 1952305443715431343}]':::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 (64.63s)
See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)
- #89361 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]
compose.TestComposeCompare failed with artifacts on master @ 1fb7236f7b1f53e28bde833c28bed83a976138cf:
test_1 | )
test_1 | AS tab😒11264
test_1 | ORDER BY
test_1 | col16248 ASC, col16249 NULLS FIRST;
test_1 |
test_1 | postgres:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (
test_1 | SELECT
test_1 | tab11263."co l16247" AS col16248, tab11263.col16246 AS col16249
test_1 | FROM
test_1 | (
test_1 | VALUES
test_1 | (
test_1 | ('2000-01-01 03:00:00'::TIMESTAMP::TIMESTAMP::TIMESTAMP + '00:00:09'::INTERVAL::INTERVAL::INTERVAL)::TIMESTAMP,
test_1 | NULL::BIT(35)
test_1 | ),
test_1 | ('2000-01-01 08:00:00'::TIMESTAMP::TIMESTAMP, B'1000'::BIT(35))
test_1 | )
test_1 | AS tab11263 (col16246, "co l16247")
test_1 | ORDER BY
test_1 | tab11263.col16246
test_1 | )
test_1 | AS tab😒11264
test_1 | ORDER BY
test_1 | col16248 ASC, col16249 NULLS FIRST;
test_1 |
test_1 | --- FAIL: TestCompare/mutators (0.39s)
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 INET NOT NULL, col1_1 FLOAT8 NOT NULL, col1_2 FLOAT8 NOT NULL, col1_3 GEOMETRY NOT NULL, col1_4 INT8 NOT NULL, col1_5 FLOAT4 NOT NULL, col1_6 INTERVAL NOT NULL, col1_7 CHAR NULL, col1_8 UUID, col1_9 REGPROCEDURE NULL, col1_10 TIMETZ NOT NULL, col1_11 TIMESTAMP, col1_12 REGNAMESPACE NULL, col1_13 STRING NOT NULL, col1_14 FLOAT4 NOT NULL, col1_15 BIT(6), col1_16 TIMESTAMPTZ NOT NULL, col1_17 FLOAT8 NOT NULL AS (col1_2 + 1.329614175275914:::FLOAT8) STORED, UNIQUE ((col1_2 + col1_14) DESC, col1_2 ASC) STORING (col1_1, col1_3, col1_5, col1_6, col1_7, col1_8, col1_10, col1_11, col1_14) WHERE ((((((((table1.col1_7 > e'\U00002603':::STRING) OR (table1.col1_13 > '':::STRING)) OR (table1.col1_2 = 3.4028234663852886e+38:::FLOAT8)) OR (table1.col1_4 < (-2147483648):::INT8)) AND (table1.col1_14 < (-1.0):::FLOAT8)) OR (table1.col1_5 >= 'NaN':::FLOAT8)) OR (table1.col1_11 != '3000-01-01 00:00:00':::TIMESTAMP)) OR (table1.col1_1 = 1.7976931348623157e+308:::FLOAT8)) AND (table1.col1_17 != '+Inf':::FLOAT8), FAMILY (col1_6, col1_16, col1_2, col1_3, col1_12, col1_5), FAMILY (col1_9), FAMILY (col1_14, col1_17, col1_8), FAMILY (col1_1, col1_11, col1_10, col1_4, col1_7), FAMILY (col1_15, col1_13), FAMILY (col1_0));
test_1 | ALTER TABLE table1 INJECT STATISTICS '[{"avg_size": 25, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 375, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7000}, {"avg_size": 20, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4087, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7000}, {"avg_size": 29, "columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2901, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7000}, {"avg_size": 23, "columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2809, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7000}, {"avg_size": 17, "columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4000, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7000}, {"avg_size": 21, "columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 359, "histo_col_type": "", "name": "__auto__", "null_count": 3822, "row_count": 7000}, {"avg_size": 8, "columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 282, "histo_col_type": "", "name": "__auto__", "null_count": 2199, "row_count": 7000}, {"avg_size": 31, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3845, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7000}, {"avg_size": 22, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2537, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7000}, {"avg_size": 26, "columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5707, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7000}, {"avg_size": 19, "columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3952, "histo_col_type": "", "name": "__auto__", "null_count": 6951, "row_count": 7000}, {"avg_size": 22, "columns": ["col1_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5391, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7000}, {"avg_size": 6, "columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2680, "histo_col_type": "", "name": "__auto__", "null_count": 4308, "row_count": 7000}, {"avg_size": 28, "columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5025, "histo_col_type": "", "name": "__auto__", "null_count": 361, "row_count": 7000}, {"avg_size": 0, "columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2985, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7000}, {"avg_size": 15, "columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3785, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7000}, {"avg_size": 24, "columns": ["col1_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 758, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7000}, {"avg_size": 11, "columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1480, "histo_col_type": "", "name": "__auto__", "null_count": 4386, "row_count": 7000}]':::JSONB;
test_1 | ALTER TABLE table1 INJECT STATISTICS '[{"avg_size": 0, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 876730228926880107, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5965736343291804172}, {"avg_size": 30, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3646065913168117930, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5965736343291804172}, {"avg_size": 3, "columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 758445286630704334, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5965736343291804172}, {"avg_size": 3, "columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1627101058619849274, "histo_col_type": "", "name": "__auto__", "null_count": 266894950536510883, "row_count": 5965736343291804172}, {"avg_size": 20, "columns": ["col1_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3964746054789641605, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5965736343291804172}, {"avg_size": 3, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5923344162729657538, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5965736343291804172}, {"avg_size": 5, "columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4056918847501995487, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5965736343291804172}, {"avg_size": 6, "columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5948450195301565561, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5965736343291804172}, {"avg_size": 28, "columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 259419047904488693, "histo_col_type": "", "name": "__auto__", "null_count": 1489635633456350367, "row_count": 5965736343291804172}, {"avg_size": 28, "columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4539042812139216722, "histo_col_type": "", "name": "__auto__", "null_count": 4230767514553956307, "row_count": 5965736343291804172}, {"avg_size": 3, "columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2557918482513821292, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5965736343291804172}, {"avg_size": 4, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3362460320325595405, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5965736343291804172}, {"avg_size": 6, "columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 426655658706867349, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5965736343291804172}, {"avg_size": 23, "columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4044188215690837099, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5965736343291804172}, {"avg_size": 1, "columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 303741469278609199, "histo_col_type": "", "name": "__auto__", "null_count": 5397279157542213856, "row_count": 5965736343291804172}, {"avg_size": 2, "columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 854672922597652448, "histo_col_type": "", "name": "__auto__", "null_count": 2789971521384151678, "row_count": 5965736343291804172}, {"avg_size": 17, "columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5321829019369080520, "histo_col_type": "", "name": "__auto__", "null_count": 727319426332393911, "row_count": 5965736343291804172}, {"avg_size": 20, "columns": ["col1_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4811510133618785048, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5965736343291804172}]':::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 (37.30s)
See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)
- #89361 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]
compose.TestComposeCompare failed with artifacts on master @ b59fa09d971e92b8b5bcc874437159ef252e0313:
test_1 | AS "
tab%v109803" (col198724)
test_1 | WHERE
test_1 | true::BOOL
test_1 | ORDER BY
test_1 | "
tab%v109803".col198724 NULLS LAST, "
tab%v109803".col198724 NULLS FIRST
test_1 | )
test_1 | AS tab109804
test_1 | ORDER BY
test_1 | "cOl198725" ASC;
test_1 |
test_1 | postgres:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (
test_1 | SELECT
test_1 | "
tab%v109803".col198724 AS "cOl198725"
test_1 | FROM
test_1 | (VALUES (NULL::NAME), ('H'::TEXT::NAME), (NULL::NAME), ('A'::TEXT::NAME))
test_1 | AS "
tab%v109803" (col198724)
test_1 | WHERE
test_1 | true::BOOL
test_1 | ORDER BY
test_1 | "
tab%v109803".col198724 NULLS LAST, "
tab%v109803".col198724 NULLS FIRST
test_1 | )
test_1 | AS tab109804
test_1 | ORDER BY
test_1 | "cOl198725" ASC;
test_1 |
test_1 | --- FAIL: TestCompare/mutators (0.54s)
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 TIMESTAMPTZ NULL, col1_1 OID, col1_2 REGCLASS NULL, col1_3 TSQUERY NOT NULL, col1_4 BIT(12) NOT NULL, col1_5 STRING NOT NULL AS (lower(CAST(col1_3 AS STRING))) STORED, PRIMARY KEY (col1_4), FAMILY (col1_0, col1_2), FAMILY (col1_3), FAMILY (col1_4), FAMILY (col1_5, col1_1));
test_1 | ALTER TABLE table1 INJECT STATISTICS '[{"avg_size": 12, "columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1598, "histo_buckets": [{"distinct_range": 0, "num_eq": 40000000, "num_range": 0, "upper_bound": "000111000100"}, {"distinct_range": 2863352201687411000, "num_eq": 500000000, "num_range": 2863352201687410979, "upper_bound": "011101000000"}, {"distinct_range": 0, "num_eq": 1905100257518609854, "num_range": 4397023424130345677, "upper_bound": "011111111111"}, {"distinct_range": 2492724835913289700, "num_eq": 800, "num_range": 6562329870387305715, "upper_bound": "110000100011"}, {"distinct_range": 504782099721301700, "num_eq": 200000000, "num_range": 652167087186084952, "upper_bound": "110000101100"}, {"distinct_range": 3106494620374831600, "num_eq": 7728188968036361460, "num_range": 3106494620374831648, "upper_bound": "110111000001"}, {"distinct_range": 0, "num_eq": 2959630817265703236, "num_range": 0, "upper_bound": "111010111100"}], "histo_col_type": "BIT(12)", "name": "__auto__", "null_count": 0, "row_count": 8000}, {"avg_size": 15, "columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1638, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000}, {"avg_size": 2, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2467, "histo_col_type": "", "name": "__auto__", "null_count": 6713, "row_count": 8000}, {"avg_size": 25, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1337, "histo_col_type": "", "name": "__auto__", "null_count": 1903, "row_count": 8000}, {"avg_size": 22, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7827, "histo_col_type": "", "name": "__auto__", "null_count": 1773, "row_count": 8000}, {"avg_size": 11, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5292, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000}]':::JSONB;
test_1 | ALTER TABLE table1 INJECT STATISTICS '[{"avg_size": 28, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5981466659713960486, "histo_col_type": "", "name": "__auto__", "null_count": 3309429189276328910, "row_count": 6427534873423736667}, {"avg_size": 11, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1805739594221241390, "histo_col_type": "", "name": "__auto__", "null_count": 6058449342185531391, "row_count": 6427534873423736667}, {"avg_size": 3, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1099980845765515578, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6427534873423736667}, {"avg_size": 3, "columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1331110900103296319, "histo_buckets": [{"distinct_range": 0, "num_eq": 5078568190860215683, "num_range": 0, "upper_bound": "100101001010"}, {"distinct_range": 371406957142259600, "num_eq": 6433655443224572559, "num_range": 8297222267806499083, "upper_bound": "101010111101"}, {"distinct_range": 0, "num_eq": 4981595374119301454, "num_range": 20, "upper_bound": "110101010110"}, {"distinct_range": 0, "num_eq": 1012153004568554644, "num_range": 0, "upper_bound": "110110000011"}], "histo_col_type": "BIT(12)", "name": "__auto__", "null_count": 0, "row_count": 6427534873423736667}, {"avg_size": 15, "columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 233951084138001864, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6427534873423736667}, {"avg_size": 28, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2456956316969797261, "histo_col_type": "", "name": "__auto__", "null_count": 5207024547327074385, "row_count": 6427534873423736667}]':::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 (150.89s)
See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)
- #89361 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]
compose.TestComposeCompare failed with artifacts on master @ 22244a780dcfaca48162dde8e0f90b5ba9b6bb9c:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (
test_1 | SELECT
test_1 | tab55486."c}ol99255" AS col99256
test_1 | FROM
test_1 | (
test_1 | VALUES
test_1 | ('\x47'::BYTEA::BYTEA),
test_1 | ('\x41'::BYTEA::BYTEA),
test_1 | (NULL::BYTEA),
test_1 | ('\x43'::BYTEA::BYTEA),
test_1 | (NULL::BYTEA),
test_1 | ('\x4a'::BYTEA::BYTEA)
test_1 | )
test_1 | AS tab55486 ("c}ol99255")
test_1 | WHERE
test_1 | true::BOOL
test_1 | ORDER BY
test_1 | tab55486."c}ol99255" ASC,
test_1 | tab55486."c}ol99255" NULLS LAST,
test_1 | tab55486."c}ol99255" DESC,
test_1 | tab55486."c}ol99255" DESC NULLS FIRST
test_1 | )
test_1 | AS tab55487
test_1 | ORDER BY
test_1 | col99256 DESC;
test_1 |
test_1 | --- FAIL: TestCompare/mutators (0.60s)
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 INET NOT NULL, col1_1 NAME NOT NULL, col1_2 INT2 NOT NULL, col1_3 REGTYPE NULL, col1_4 BIT(47) NOT NULL, col1_5 REGNAMESPACE, col1_6 BOOL NOT NULL, col1_7 STRING NULL AS (CASE WHEN col1_3 IS NULL THEN e'%\x15l*\f':::STRING ELSE e'\x0b':::STRING END) STORED, col1_8 INT8 NOT NULL AS (col1_2 + 26392:::INT8) STORED, UNIQUE (col1_1 ASC, col1_8 ASC, col1_7 DESC, col1_3 DESC, col1_6 DESC, lower(CAST(col1_4 AS STRING)), col1_2 ASC, col1_5 ASC, col1_4 DESC) WHERE (table1.col1_2 >= (-32768):::INT8) OR (table1.col1_7 = e'\x00':::STRING), INDEX (col1_2 ASC, col1_3 ASC, col1_8, col1_0, col1_7 ASC, col1_6 ASC, col1_4 DESC, lower(col1_1) ASC, col1_5 DESC) WHERE ((((table1.col1_2 < 0:::INT8) AND (table1.col1_1 = 'X':::STRING:::NAME)) AND (table1.col1_8 != 0:::INT8)) AND (NOT table1.col1_6)) OR (table1.col1_7 >= 'X':::STRING), INDEX (col1_3, col1_8 DESC, col1_1, lower(CAST(col1_6 AS STRING)) ASC, col1_0, lower(CAST(col1_0 AS STRING)) ASC, col1_5 DESC, col1_6) STORING (col1_7) WHERE ((((table1.col1_2 >= 1:::INT8) AND (table1.col1_1 = e'\'':::STRING:::NAME)) OR (NOT table1.col1_6)) AND (table1.col1_8 > (-32768):::INT8)) AND (table1.col1_7 != e'\U00002603':::STRING), UNIQUE (col1_8 DESC, col1_2 DESC, col1_7 DESC, col1_5, col1_0, col1_1, col1_4 DESC) STORING (col1_6) WHERE ((table1.col1_7 = '':::STRING) OR (table1.col1_2 > 1:::INT8)) OR (table1.col1_8 != (-32768):::INT8), INDEX (col1_6 DESC, lower(CAST(col1_6 AS STRING)), col1_0 ASC, col1_1 DESC, col1_2 DESC, col1_3 ASC) WHERE NOT table1.col1_6, INDEX (col1_7, col1_0 DESC, col1_1, col1_5 ASC, col1_2 DESC, col1_6 DESC, col1_4 DESC, col1_3 ASC), INDEX (col1_1, col1_5 ASC, col1_8, col1_2, col1_4, col1_3 ASC, lower(CAST(col1_0 AS STRING)), col1_0 DESC, col1_7) STORING (col1_6) WHERE ((((table1.col1_8 = (-128):::INT8) AND (table1.col1_1 > e'\'':::STRING:::NAME)) AND (table1.col1_2 <= (-1):::INT8)) OR (table1.col1_7 <= e'\U00002603':::STRING)) AND (NOT table1.col1_6), INDEX (col1_1 ASC, col1_6, lower(CAST(col1_6 AS STRING)) ASC, col1_7 ASC) STORING (col1_0, col1_8) WHERE ((((table1.col1_7 < e'\U00002603':::STRING) AND (NOT table1.col1_6)) OR (table1.col1_8 = 2147483647:::INT8)) AND (table1.col1_1 < e'\'':::STRING:::NAME)) OR (table1.col1_2 <= 127:::INT8), FAMILY (col1_8, col1_0, col1_4, col1_5, col1_7, col1_2), FAMILY (col1_1, col1_6, col1_3));
test_1 | ALTER TABLE table1 INJECT STATISTICS e'[{"avg_size": 0, "columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 1046952225568432284, "num_range": 0, "upper_bound": "-7733974884231638933"}, {"distinct_range": 0, "num_eq": 8274711151423744068, "num_range": 600000000, "upper_bound": "-5012539252366344841"}, {"distinct_range": 0, "num_eq": 8560277781931177531, "num_range": 400000, "upper_bound": "-2168791232860069992"}, {"distinct_range": 858532001.5390131, "num_eq": 8000000000, "num_range": 2000000000, "upper_bound": "-32768"}, {"distinct_range": 1304940451833645000, "num_eq": 4244629837678895362, "num_range": 5446227330629823235, "upper_bound": "-128"}, {"distinct_range": 0, "num_eq": 1000000, "num_range": 3833836044979543038, "upper_bound": "3568502896494750645"}, {"distinct_range": 0, "num_eq": 300000000, "num_range": 865897151762324508, "upper_bound": "3715875602393824238"}, {"distinct_range": 3064651202700214300, "num_eq": 800, "num_range": 3064651202700214392, "upper_bound": "5002213894119700220"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 0, "row_count": 0}, {"avg_size": 0, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"avg_size": 0, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 80000000, "num_range": 0, "upper_bound": ""}, {"distinct_range": 0, "num_eq": 8489977552052660900, "num_range": 0, "upper_bound": "\\u0000"}, {"distinct_range": 0, "num_eq": 40000000, "num_range": 200, "upper_bound": "\\u0017\\u0011\\\\"}, {"distinct_range": 65585608658541980, "num_eq": 8764895981586670684, "num_range": 449993897363354788, "upper_bound": "S)0"}, {"distinct_range": 0, "num_eq": 3000000000, "num_range": 7006419380905473519, "upper_bound": "``\\u001fH\\u0011\\u0010\\u000c\\u0002"}, {"distinct_range": 100000000, "num_eq": 4338963625475105433, "num_range": 100000000, "upper_bound": "hs\\u001eB\\u001a"}], "histo_col_type": "NAME", "name": "__auto__", "null_count": 0, "row_count": 0}, {"avg_size": 0, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "1098631888"}, {"distinct_range": 0, "num_eq": 70000000000, "num_range": 5534320445823130925, "upper_bound": "2683177094"}, {"distinct_range": 0, "num_eq": 900000, "num_range": 1244385100933861787, "upper_bound": "4186799681"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 0}, {"avg_size": 0, "columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"avg_size": 0, "columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "BOOL", "name": "__auto__", "null_count": 0, "row_count": 0}, {"avg_size": 0, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"avg_size": 0, "columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"avg_size": 0, "columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "\\u0000"}, {"distinct_range": 1260339382979984000, "num_eq": 3391720446549607930, "num_range": 1260339382979983833, "upper_bound": ".G#\\u0006N"}, {"distinct_range": 60000000000, "num_eq": 7000000, "num_range": 60000000000, "upper_bound": ">\\u0004"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 0}]':::JSONB;
test_1 | ALTER TABLE table1 INJECT STATISTICS e'[{"avg_size": 28, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 192538, "histo_buckets": [{"distinct_range": 0, "num_eq": 4530716417009144348, "num_range": 0, "upper_bound": ""}, {"distinct_range": 0, "num_eq": 30000, "num_range": 988985251244469407, "upper_bound": "p~\\u0012iK2"}], "histo_col_type": "NAME", "name": "__auto__", "null_count": 0, "row_count": 200000}, {"avg_size": 9, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 12987, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 200000}, {"avg_size": 5, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 42445, "histo_buckets": [{"distinct_range": 0, "num_eq": 400000, "num_range": 0, "upper_bound": "30020086"}, {"distinct_range": 0, "num_eq": 1988221418343271343, "num_range": 6702105480270899171, "upper_bound": "408945326"}, {"distinct_range": 1074786366047725800, "num_eq": 30000000, "num_range": 5627512181814874375, "upper_bound": "414467703"}, {"distinct_range": 5150854273093544000, "num_eq": 100000000, "num_range": 7314917236894087622, "upper_bound": "804958365"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 167009, "row_count": 200000}, {"avg_size": 27, "columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 127717, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 200000}, {"avg_size": 15, "columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 184651, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 200000}, {"avg_size": 21, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 97770, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 200000}, {"avg_size": 15, "columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 36878, "histo_col_type": "", "name": "__auto__", "null_count": 70561, "row_count": 200000}, {"avg_size": 8, "columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 123372, "histo_buckets": [{"distinct_range": 0, "num_eq": 8000000000, "num_range": 0, "upper_bound": "false"}, {"distinct_range": 0, "num_eq": 10000, "num_range": 20000000, "upper_bound": "true"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 0, "row_count": 200000}, {"avg_size": 14, "columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 180242, "histo_buckets": [{"distinct_range": 0, "num_eq": 700000000, "num_range": 0, "upper_bound": ""}, {"distinct_range": 0, "num_eq": 4124139009519796493, "num_range": 2662003195146086381, "upper_bound": "\\u000b!\\u001bw>"}, {"distinct_range": 800, "num_eq": 8000000000, "num_range": 800, "upper_bound": "Bk5MT_"}, {"distinct_range": 2001967915858033200, "num_eq": 100, "num_range": 2001967915858033036, "upper_bound": "J=v#f]"}, {"distinct_range": 6886.19752270544, "num_eq": 8363304871755245609, "num_range": 8000, "upper_bound": "M\\u00170qo4"}, {"distinct_range": 0, "num_eq": 9152728485667452481, "num_range": 5743662379757306929, "upper_bound": "p\\u0016\\u0003"}, {"distinct_range": 2325125149.219093, "num_eq": 20000000000, "num_range": 5000000000, "upper_bound": "~n~Z@"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 13829, "row_count": 200000}]':::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_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 (91.23s)
See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)
- #89361 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]
compose.TestComposeCompare failed with artifacts on master @ 44d9f3c8b7bd46839187cea69eaec640c080ac05:
test_1 | SELECT
test_1 | "tab 3404"."co lͤ6290" AS "co%ql
test_1 | 6291"
test_1 | FROM
test_1 | (VALUES (NULL::INT4), (2:::INT8::INT4), (7:::INT8::INT4), (4:::INT8::INT4), (7:::INT8::INT4))
test_1 | AS "tab 3404" ("co lͤ6290")
test_1 | ORDER BY
test_1 | "tab 3404"."co lͤ6290", "tab 3404"."co lͤ6290" ASC NULLS FIRST
test_1 | )
test_1 | AS " t͉ab3405"
test_1 | ORDER BY
test_1 | "co%ql
test_1 | 6291";
test_1 |
test_1 | postgres:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (
test_1 | SELECT
test_1 | "tab 3404"."co lͤ6290" AS "co%ql
test_1 | 6291"
test_1 | FROM
test_1 | (VALUES (NULL::INT4), (2::INT8::INT4), (7::INT8::INT4), (4::INT8::INT4), (7::INT8::INT4))
test_1 | AS "tab 3404" ("co lͤ6290")
test_1 | ORDER BY
test_1 | "tab 3404"."co lͤ6290", "tab 3404"."co lͤ6290" ASC NULLS FIRST
test_1 | )
test_1 | AS " t͉ab3405"
test_1 | ORDER BY
test_1 | "co%ql
test_1 | 6291";
test_1 |
test_1 | --- FAIL: TestCompare/mutators (0.35s)
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 BYTES NOT NULL, col1_1 BOX2D NOT NULL, col1_2 NAME NULL, col1_3 INET NOT NULL, PRIMARY KEY (col1_1, col1_3 ASC, col1_0 DESC), UNIQUE (col1_1 ASC, col1_2 ASC) WHERE (table1.col1_2 < '"':::STRING:::NAME) OR (table1.col1_0 >= '\x00':::BYTES), INDEX (col1_1 DESC, col1_2 ASC, col1_3), UNIQUE (col1_0 DESC, col1_2, col1_1 DESC) WHERE (table1.col1_0 < '\xe29883':::BYTES) AND (table1.col1_2 != '"':::STRING:::NAME), INDEX (col1_1 DESC, col1_2 ASC) WHERE table1.col1_2 < e'\'':::STRING:::NAME, INDEX (col1_3 ASC, col1_0, lower(col1_2) ASC) NOT VISIBLE, UNIQUE (col1_0 DESC, col1_3, lower(CAST(col1_1 AS STRING)) ASC) PARTITION BY LIST (col1_0) (PARTITION table1_part_0 VALUES IN (('\x':::BYTES,), ('\x7251a74993d068':::BYTES,), ('\xc978c58f43db7c':::BYTES,), ('\x5529fa':::BYTES,), ('\x689140':::BYTES,), ('\x75c5':::BYTES,), ('\x7d22de422b':::BYTES,)), PARTITION table1_part_1 VALUES IN (('\x7932504b41dbb6e6':::BYTES,), ('\x35ff26':::BYTES,), ('\x73':::BYTES,), ('\x11':::BYTES,), ('\xeefb041b4499':::BYTES,)), 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=c64d2506-1bda-4c28-87cc-31f711872f5b 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 (28.19s)
See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)
- #89361 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]
compose.TestComposeCompare failed with artifacts on master @ 5fbcd8a8deac0205c7df38e340c1eb9692854383:
test_1 | - uint32(0),
test_1 | + nil,
test_1 | }))
test_1 | cockroach1:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (
test_1 | SELECT
test_1 | "t'ab6311"."co}l11702" AS "c😐oL11703"
test_1 | FROM
test_1 | (VALUES (NULL::OID), (8:::OID::OID), (6:::OID::OID), (2:::OID::OID), (0:::OID::OID), (3:::OID::OID))
test_1 | AS "t'ab6311" ("co}l11702")
test_1 | )
test_1 | AS tab6312
test_1 | ORDER BY
test_1 | "c😐oL11703";
test_1 |
test_1 | postgres:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (
test_1 | SELECT
test_1 | "t'ab6311"."co}l11702" AS "c😐oL11703"
test_1 | FROM
test_1 | (VALUES (NULL::OID), (8::OID::OID), (6::OID::OID), (2::OID::OID), (0::OID::OID), (3::OID::OID))
test_1 | AS "t'ab6311" ("co}l11702")
test_1 | )
test_1 | AS tab6312
test_1 | ORDER BY
test_1 | "c😐oL11703";
test_1 |
test_1 | --- FAIL: TestCompare/mutators (0.19s)
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 "tab%d7le2" ("c \\UCCE5E4D3ol2_0" JSONB NOT NULL, col2_1 TIMETZ NOT NULL, "c�ol2_\\uED7F2" INTERVAL NOT NULL, col2_3 STRING NOT NULL AS (CASE WHEN "c�ol2_\\uED7F2" IS NULL THEN '/q':::STRING ELSE e'\'':::STRING END) VIRTUAL, " c'ol2_4" STRING NOT NULL AS (lower(CAST("c \\UCCE5E4D3ol2_0" AS STRING))) VIRTUAL, INDEX (col2_3 ASC, "c�ol2_\\uED7F2", col2_1 ASC) STORING ("c \\UCCE5E4D3ol2_0") PARTITION BY LIST (col2_3, "c�ol2_\\uED7F2", col2_1) (PARTITION "tab%̹d7le2_part0" VALUES IN ((e')\tT\x039C\x05\x18':::STRING, '-77 years -11 mons -236 days -03:48:28.096834':::INTERVAL, '03:50:24.913844-09:16:00':::TIMETZ), ('C':::STRING, '-41 years -3 mons -178 days -12:39:40.507538':::INTERVAL, '07:40:34.618346+01:48:00':::TIMETZ), ('':::STRING, '41 years 10 mons 521 days 01:23:39.055825':::INTERVAL, '10:07:06.489132+09:34:00':::TIMETZ), (e'\x19\x03e\x0eb':::STRING, '-21 years -8 mons -136 days -23:52:24.248675':::INTERVAL, '04:03:55.133219+10:56:00':::TIMETZ), (e'!\'\x1e\x02UAs':::STRING, '-53 years -998 days -21:36:24.892498':::INTERVAL, '15:08:34.842275-12:52:00':::TIMETZ), (e'l[W\x05\x06':::STRING, '-22 years -3 mons -686 days -22:12:47.146606':::INTERVAL, '06:40:39.028369+11:45:00':::TIMETZ), (e'4\x02P?\na\x15\x07k':::STRING, '-41 years -5 mons -761 days -02:27:25.74793':::INTERVAL, '07:02:54.768497-08:02:00':::TIMETZ)), PARTITION "tab%d7le2_part1" VALUES IN ((e's\b':::STRING, '78 years 351 days 00:13:46.39844':::INTERVAL, '03:53:08.179461+01:19:00':::TIMETZ), (']!':::STRING, '-52 years -4 mons -213 days -05:12:31.448958':::INTERVAL, '08:40:38.080202-04:28:00':::TIMETZ), (e'\x7fH\x1bP\x0b\x1a':::STRING, '17 years 9 mons 915 days 09:28:10.472012':::INTERVAL, '08:17:59.385748+12:57:00':::TIMETZ), ('':::STRING, '-34 years -10 mons -307 days -00:41:50.013753':::INTERVAL, '11:58:30.004652-07:51:00':::TIMETZ), (e'I~\f&\x0fr\x0fE6':::STRING, '-23 years -1 mons -774 days -07:03:11.002087':::INTERVAL, '07:43:43.999153-08:43:00':::TIMETZ), (e'.evxXjdk\x17':::STRING, '-80 years -77 days -13:19:28.735157':::INTERVAL, '19:30:58.68746+01:59:00':::TIMETZ), ('01':::STRING, '11 years 1 mon 568 days 15:05:54.769954':::INTERVAL, '13:02:32.658046-08:28:00':::TIMETZ)), PARTITION "tab%d7le2_part2" VALUES IN ((e'\x12yilXt':::STRING, '00:00:00':::INTERVAL, '07:41:54.630771+09:24:00':::TIMETZ), (e'\x1faJFK':::STRING, '46 years 8 mons 212 days 16:48:41.4885':::INTERVAL, '06:38:38.835582+11:52:00':::TIMETZ), ('n(=snjhS':::STRING, '-7 years -3 mons -107 days -21:29:45.106945':::INTERVAL, '11:31:34.022644+08:04:00':::TIMETZ), (e'<\x18O(':::STRING, '-80 years -8 mons -62 days -16:05:57.656015':::INTERVAL, '03:56:59.19676+14:55:00':::TIMETZ), ('':::STRING, '-59 years -6 mons -123 days -02:52:17.244869':::INTERVAL, '06:11:06.261705-12:41:00':::TIMETZ), (e'be(\x01\x01]0m\x07':::STRING, '-25 years -2 mons -262 days -00:54:28.121538':::INTERVAL, '24:00:00-15:59:00':::TIMETZ), ('$/[+y<n':::STRING, '13 years 7 mons 317 days 03:46:06.828843':::INTERVAL, '22:10:11.431347-13:38:00':::TIMETZ)), PARTITION "tab%d7le2_part3" VALUES IN ((e'O@\x172w]o':::STRING, '-79 years -9 mons -120 days -23:47:11.629339':::INTERVAL, '21:42:27.821327-11:28:00':::TIMETZ), (e'k.5\x07\x03\\':::STRING, '10 years 8 mons 780 days 09:30:31.958133':::INTERVAL, '22:48:34.01665-12:50:00':::TIMETZ), ('A]':::STRING, '-46 years -8 mons -841 days -24:18:08.808994':::INTERVAL, '07:31:36.481981-03:19:00':::TIMETZ), (e'2NZ\'h':::STRING, '4 years 11 mons 829 days 16:34:12.593407':::INTERVAL, '08:37:20.801146+08:45:00':::TIMETZ), (e'tZ\x0e':::STRING, '-60 years -5 mons -286 days -12:41:05.495024':::INTERVAL, '14:46:24.637512-03:15:00':::TIMETZ), (e'\\SZ':::STRING, '31 years 365 days 18:41:31.207432':::INTERVAL, '07:13:19.019096+02:56:00':::TIMETZ), ('':::STRING, '14 years 3 mons 338 days 20:51:45.460408':::INTERVAL, '01:48:25.654684+10:39:00':::TIMETZ)), PARTITION "tab%d7le2_part4" VALUES IN ((e'\x17?w':::STRING, '82 years 8 mons 461 days 14:08:52.158357':::INTERVAL, '17:31:04.913563+07:56:00':::TIMETZ), (e'o\x17v8L4':::STRING, '-30 years -4 mons -605 days -12:14:47.148295':::INTERVAL, '01:42:49.988518-01:43:00':::TIMETZ), ('iau':::STRING, '-37 years -1 mons -40 days -11:56:13.721299':::INTERVAL, '09:40:00.78541+12:41:00':::TIMETZ), (e'5(6\x1e7Q\x16@\x1b':::STRING, '8 years 9 mons 782 days 01:47:26.429277':::INTERVAL, '03:15:05.045946+09:33:00':::TIMETZ), ('':::STRING, '40 years 6 mons 239 days 21:29:05.255793':::INTERVAL, '04:23:41.747624-13:39:00':::TIMETZ), (e'\x1c\x13C#\x17':::STRING, '-23 years -1 mons -639 days -02:40:04.900111':::INTERVAL, '00:39:24.442832+10:46:00':::TIMETZ), (e'.\x01jv#.r/':::STRING, '-68 years -8 mons -438 days -23:47:26.882262':::INTERVAL, '04:58:33.386733-01:45:00':::TIMETZ)), PARTITION "tab%d7le2_part5" VALUES IN (('$':::STRING, '-59 years -2 mons -463 days -19:59:09.558675':::INTERVAL, '12:26:30.086344-03:40:00':::TIMETZ), ('GQLzm%U':::STRING, '50 years 8 mons 997 days 13:23:35.390704':::INTERVAL, '00:27:17.323423+05:48:00':::TIMETZ), ('':::STRING, '-35 years -317 days -22:09:36.405395':::INTERVAL, '00:00:00+15:59:00':::TIMETZ), (e'\x16\x04$Y':::STRING, '22 years 5 mons 705 days 24:40:41.168536':::INTERVAL, '18:53:11.775208+07:12:00':::TIMETZ), (e'\U00002603':::STRING, '-23 years -10 mons -135 days -19:39:44.180391':::INTERVAL, '11:44:19.842331+02:17:00':::TIMETZ), ('X':::STRING, '1 mon 1 day':::INTERVAL, '24:00:00-15:59:00':::TIMETZ), (e'6(O\f\x04a{':::STRING, '-18 years -7 mons -767 days -05:21:08.868418':::INTERVAL, '16:24:30.607124+02:01:00':::TIMETZ)), PARTITION "tab%d7le2_par}t6" VALUES IN ((e'\x00':::STRING, '47 years 1 mon 38 days 14:49:26.060881':::INTERVAL, '20:13:48.165813+00:23:00':::TIMETZ), (e'\x05i,':::STRING, '-73 years -1 mons -17 days -19:10:59.825617':::INTERVAL, '00:58:59.598134-13:04:00':::TIMETZ), ('2':::STRING, '41 years 3 mons 465 days 20:40:53.206436':::INTERVAL, '13:09:42.82987-04:13:00':::TIMETZ), ('/':::STRING, '290 years':::INTERVAL, '23:57:05.973322+03:24:00':::TIMETZ), (e'\b-R<b':::STRING, '16 years 5 mons 37 days 13:10:59.361844':::INTERVAL, '03:27:32.047514-02:57:00':::TIMETZ), ('o$&t4Do':::STRING, '-38 years -9 mons -747 days -24:56:12.281841':::INTERVAL, '00:24:33.604858-05:00:00':::TIMETZ), ('H6/}':::STRING, '22 years 11 mons 685 days 21:50:31.465713':::INTERVAL, '13:13:39.004754+06:59:00':::TIMETZ)), PARTITION "tab%d7le2_part7" VALUES IN ((e'\x00':::STRING, '-54 years -11 mons -122 days -24:21:37.264696':::INTERVAL, '12:55:45.776514-13:13:00':::TIMETZ), (e'Vzp@\n@\x10t':::STRING, '-4 years -8 mons -908 days -07:17:51.830898':::INTERVAL, '15:30:25.482195-12:02:00':::TIMETZ), (e'C\'\x1c``V':::STRING, '-55 years -1 mons -636 days -06:36:14.400699':::INTERVAL, '13:37:54.767693+13:06:00':::TIMETZ), (e'SG%iT\x0eO2i':::STRING, '15 years 3 mons 856 days 13:32:55.656271':::INTERVAL, '06:35:22.217566-02:57:00':::TIMETZ), ('Fc,yM':::STRING, '37 years 2 mons 103 days 05:50:44.315295':::INTERVAL, '18:47:59.852831+11:38:00':::TIMETZ), ('He9':::STRING, '-79 years -6 mons -975 days -11:52:43.57716':::INTERVAL, '07:58:38.769226-10:55:00':::TIMETZ), ('{[8?':::STRING, '-34 years -5 mons -998 days -12:36:21.929346':::INTERVAL, '16:07:06.327391+12:50:00':::TIMETZ)), PARTITION "DEFAULT" VALUES IN ((DEFAULT, DEFAULT, DEFAULT))), INVERTED INDEX (col2_3 DESC, col2_1, "c \\UCCE5E4D3ol2_0" ASC), UNIQUE (col2_1 ASC), INDEX ("c�ol2_\\uED7F2" ASC, col2_1 DESC), FAMILY ("c \\UCCE5E4D3ol2_0", col2_1), FAMILY ("c�ol2_\\uED7F2"))
test_1 | compare_test.go:160: cockroach1: exec: ERROR: use of partitions requires an enterprise license. see https://cockroachlabs.com/pricing?cluster=dbafc65a-34a9-4343-bbbb-249ebd7b808f 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 (33.23s)
See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)
- #89361 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]
compose.TestComposeCompare failed with artifacts on master @ 8e24570fa366ed038c6ae65f50db5d8e22826db0:
test_1 | - 0xd3, 0xc4, 0x03,
test_1 | - },
test_1 | + [16]uint8{
test_1 | + 0xc4, 0x87, 0x38, 0x38, 0x32, 0x98, 0x3f, 0x86, 0x8f, 0x75, 0x08, 0x69, 0x11,
test_1 | + 0xe9, 0xb5, 0xfa,
test_1 | + },
test_1 | }))
test_1 | cockroach1:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (
test_1 | SELECT
test_1 | uuid_generate_v3('00000000-0000-0000-0000-000000000001':::UUID::UUID::UUID, (COALESCE('F':::STRING::STRING, NULL::STRING)::STRING || '2000-01-01 00:00:00+00:00':::TIMESTAMPTZ::TIMESTAMPTZ::TIMESTAMPTZ)::STRING::STRING)::UUID
test_1 | AS col54333
test_1 | )
test_1 | AS "t%v😺ab31178"
test_1 | ORDER BY
test_1 | col54333 NULLS LAST;
test_1 |
test_1 | postgres:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (
test_1 | SELECT
test_1 | uuid_generate_v3('00000000-0000-0000-0000-000000000001'::UUID::UUID::UUID, (COALESCE('F'::TEXT::TEXT, NULL::TEXT)::TEXT || '2000-01-01 00:00:00+00:00'::TIMESTAMPTZ::TIMESTAMPTZ::TIMESTAMPTZ)::TEXT::TEXT)::UUID
test_1 | AS col54333
test_1 | )
test_1 | AS "t%v😺ab31178"
test_1 | ORDER BY
test_1 | col54333 NULLS LAST;
test_1 |
test_1 | --- FAIL: TestCompare/mutators (0.19s)
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 "table%q2" ("col2""_0" BIT(30) NOT NULL, col2_1 INT8 NULL, "%pc ol2͓_2" REGROLE, 😘co̺l2_3 JSONB NOT NULL, "�col2_4" TIMETZ NULL, "c'ol2_5" TIMESTAMP, col2_6 BOX2D NOT NULL, col2_7 TIMESTAMP NULL, "c%f9ol2_8" REGNAMESPACE, col2_9 NAME NOT NULL, "col2😶_\\U6536B7DE10" INT4 NOT NULL, col2_11 INT8 NULL AS (col2_1 + "col2😶_\\U6536B7DE10") VIRTUAL, "cOl2_12" STRING AS (CASE WHEN "c'ol2_5" IS NULL THEN e'\x1fB\x19\rh':::STRING ELSE NULL END) VIRTUAL, col2_13 INT8 NULL AS ("col2😶_\\U6536B7DE10" + col2_1) STORED, col2_14 INT8 NULL AS (col2_1 + "col2😶_\\U6536B7DE10") VIRTUAL, UNIQUE (col2_1, (col2_1 + "col2😶_\\U6536B7DE10") DESC) STORING ("col2""_0", "%pc ol2͓_2", 😘co̺l2_3, "�col2_4", col2_7, "c%f9ol2_8", col2_9, "col2😶_\\U6536B7DE10"), INDEX ("%pc ol2͓_2" ASC, col2_14 DESC) STORING (😘co̺l2_3, col2_6, col2_7, "c%f9ol2_8", col2_13) WHERE ((((((((("table%q2"."col2😶_\\U6536B7DE10" != 1:::INT8) OR ("table%q2".col2_14 >= (-2147483648):::INT8)) OR ("table%q2"."c'ol2_5" >= '0001-01-01 00:00:00':::TIMESTAMP)) OR ("table%q2"."cOl2_12" < 'X':::STRING)) AND ("table%q2".col2_13 >= (-32768):::INT8)) AND ("table%q2".col2_1 > 32767:::INT8)) OR ("table%q2".col2_11 = 9223372036854775807:::INT8)) AND ("table%q2"."�col2_4" = '00:00:00+15:59:00':::TIMETZ)) AND ("table%q2".col2_7 > '294276-12-31 23:59:59.999999':::TIMESTAMP)) AND ("table%q2".col2_9 > e'\x00':::STRING:::NAME), INDEX ("c%f9ol2_8", "cOl2_12" ASC) STORING (😘co̺l2_3, "c'ol2_5", col2_6, "col2😶_\\U6536B7DE10", col2_13), INDEX ("c'ol2_5" DESC, col2_11 ASC, col2_6 ASC, "%pc ol2͓_2" DESC, col2_14 DESC, col2_1 ASC, col2_9 DESC, col2_13 DESC, (CASE WHEN col2_7 IS NULL THEN e'V|\x0ec\x13t':::STRING ELSE e'Im\x15':::STRING END) ASC), INDEX ("�col2_4" ASC) STORING (col2_1, "%pc ol2͓_2", 😘co̺l2_3, "c'ol2_5", col2_6, "c%f9ol2_8", col2_9, col2_13) WHERE "table%q2".col2_13 != 9223372036854775807:::INT8, INDEX (col2_14 ASC, col2_11 ASC, col2_13) STORING ("col2""_0", "%pc ol2͓_2", "c'ol2_5", col2_6, col2_9, "col2😶_\\U6536B7DE10") PARTITION BY LIST (col2_14) (PARTITION "ta&bl%qe%q2_part0" VALUES IN ((3279097531560555108:::INT8,), ((-5318035769698846099):::INT8,), ((-875176776738171317):::INT8,), ((-348087055785390288):::INT8,)), PARTITION "table%01%q2_part1" VALUES IN ((913282974844758996:::INT8,), (8690068473331307972:::INT8,), (8003250096809804265:::INT8,), (2390462851819975412:::INT8,)), PARTITION "table%q2_part2" VALUES IN (((-2845174835188467462):::INT8,), (469027922965900130:::INT8,), (1127489461544361862:::INT8,), ((-1317452592255866291):::INT8,)), PARTITION "table%q2_part*3" VALUES IN ((7793715760065921381:::INT8,), ((-294812709773784394):::INT8,), (4327829066249732080:::INT8,), ((-5965032506244778063):::INT8,)), PARTITION "table%q2_par't4" VALUES IN ((2908847222371115955:::INT8,), (127:::INT8,), (8129919298484455759:::INT8,), (7174353238593167808:::INT8,)), PARTITION "table%q2_p😧art5" VALUES IN (((-3968984132082402439):::INT8,), ((-3197041747345441079):::INT8,), ((-6276015144888183267):::INT8,), (4617717710146894154:::INT8,)), PARTITION "table%q2_part6" VALUES IN ((647054187455326253:::INT8,), ((-4880421928615033888):::INT8,), ((-155076631355921647):::INT8,), (997735233928622116:::INT8,)), PARTITION "table%%vq\v2_part7" VALUES IN ((7424577445430469753:::INT8,), (5330068150290005571:::INT8,), (4889943828301542689:::INT8,), ((-4913701345273355766):::INT8,)), 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=d68f2a69-0711-4ebc-bd25-34be1d1cfe8b 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 (69.95s)
See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)
- #89361 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]
compose.TestComposeCompare failed with artifacts on master @ 8e24570fa366ed038c6ae65f50db5d8e22826db0:
postgres_1 |
postgres_1 | waiting for server to shut down....2023-02-06 06:13:47.043 UTC [49] LOG: received fast shutdown request
postgres_1 | 2023-02-06 06:13:47.044 UTC [49] LOG: aborting any active transactions
postgres_1 | 2023-02-06 06:13:47.045 UTC [49] LOG: background worker "logical replication launcher" (PID 56) exited with exit code 1
postgres_1 | 2023-02-06 06:13:47.048 UTC [51] LOG: shutting down
postgres_1 | 2023-02-06 06:13:47.134 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 | 2023-02-06 06:13:47.158 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 | 2023-02-06 06:13:47.158 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
postgres_1 | 2023-02-06 06:13:47.158 UTC [1] LOG: listening on IPv6 address "::", port 5432
postgres_1 | 2023-02-06 06:13:47.161 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres_1 | 2023-02-06 06:13:47.165 UTC [68] LOG: database system was shut down at 2023-02-06 06:13:47 UTC
postgres_1 | 2023-02-06 06:13:47.168 UTC [1] LOG: database system is ready to accept connections
postgres_1 | 2023-02-06 06:13:48.813 UTC [78] ERROR: invalid byte sequence for encoding "UTF8": 0x00
postgres_1 | 2023-02-06 06:13:48.813 UTC [78] STATEMENT: CREATE TABLE "taBl_e4" ("c ol4\\u92DD_0" TIMESTAMPTZ NOT NULL, col4_1 REGCLASS, col4_2 TIMESTAMP NOT NULL, c😅ol4_3 TIMESTAMP NULL, "col4_/4" REGROLE NULL, "%pcol%q4_5" GEOGRAPHY NULL, "co l4_6" TSQUERY, " col4_7" GEOGRAPHY NULL, "&col?4_8" TIMESTAMP NOT NULL, col4_9 TIMESTAMP NOT NULL, "Co%pl4 _10" TEXT NULL GENERATED ALWAYS AS (lower(CAST(" col4_7" AS TEXT))) STORED, col4_11 TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN "c ol4\\u92DD_0" IS NULL THEN e'\x05\x14Z\x10Yl'::TEXT ELSE e'pPq( |\x1bu4'::TEXT END) STORED, "coL4_12" TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN "&col?4_8" IS NULL THEN e'>\x10'::TEXT ELSE 'cr'::TEXT END) STORED, "col4_'13" TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN "&col?4_8" IS NULL THEN '<Enf<^^q'::TEXT ELSE e'\x00'::TEXT END) STORED, col4_14 TEXT GENERATED ALWAYS AS (lower(CAST("co l4_6" AS TEXT))) STORED, col4_15 TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN "&col?4_8" IS NULL THEN e'\x1ft\x124B\x11/!b'::TEXT ELSE e'K92\x0b'::TEXT END) STORED, col4_16 TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN "c ol4\\u92DD_0" IS NULL THEN e'\x0bJ.$\x17\bt"'::TEXT ELSE e'\U00002603'::TEXT END) STORED);
postgres_1 | CREATE UNIQUE INDEX ON "taBl_e4" ("&col?4_8" DESC) INCLUDE (col4_1, col4_2, "%pcol%q4_5", "co l4_6", " col4_7", "Co%pl4 _10", "coL4_12", col4_16);
postgres_1 |
test_1 | --- FAIL: TestCompare (4.17s)
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.76s)
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 "taBl_e4" ("c ol4\\u92DD_0" TIMESTAMPTZ NOT NULL, col4_1 REGCLASS, col4_2 TIMESTAMP NOT NULL, c😅ol4_3 TIMESTAMP NULL, "col4_/4" REGROLE NULL, "%pcol%q4_5" GEOGRAPHY NULL, "co l4_6" TSQUERY, " col4_7" GEOGRAPHY NULL, "&col?4_8" TIMESTAMP NOT NULL, col4_9 TIMESTAMP NOT NULL, "Co%pl4 _10" TEXT NULL GENERATED ALWAYS AS (lower(CAST(" col4_7" AS TEXT))) STORED, col4_11 TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN "c ol4\\u92DD_0" IS NULL THEN e'\x05\x14Z\x10Yl'::TEXT ELSE e'pPq( |\x1bu4'::TEXT END) STORED, "coL4_12" TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN "&col?4_8" IS NULL THEN e'>\x10'::TEXT ELSE 'cr'::TEXT END) STORED, "col4_'13" TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN "&col?4_8" IS NULL THEN '<Enf<^^q'::TEXT ELSE e'\x00'::TEXT END) STORED, col4_14 TEXT GENERATED ALWAYS AS (lower(CAST("co l4_6" AS TEXT))) STORED, col4_15 TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN "&col?4_8" IS NULL THEN e'\x1ft\x124B\x11/!b'::TEXT ELSE e'K92\x0b'::TEXT END) STORED, col4_16 TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN "c ol4\\u92DD_0" IS NULL THEN e'\x0bJ.$\x17\bt"'::TEXT ELSE e'\U00002603'::TEXT END) STORED);
test_1 | CREATE UNIQUE INDEX ON "taBl_e4" ("&col?4_8" DESC) INCLUDE (col4_1, col4_2, "%pcol%q4_5", "co l4_6", " col4_7", "Co%pl4 _10", "coL4_12", col4_16);
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.29s)
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 REGNAMESPACE NULL, col2_1 TSVECTOR NULL, 😜col2_2 UUID, col2_3 GEOGRAPHY NULL, col2_4 BOX2D NULL, col2😐_5 BOOL NOT NULL, col2_6 TSVECTOR NOT NULL, "%vcol2_7" STRING AS (lower(CAST(😜col2_2 AS STRING))) VIRTUAL, "col|2_8" STRING NULL AS (lower(CAST(col2_3 AS STRING))) VIRTUAL, col2_9 STRING NULL AS (lower(CAST(col2_4 AS STRING))) STORED, col2_10 STRING NULL AS (CASE WHEN col2_0 IS NULL THEN e'A|R(\\\'':::STRING ELSE '':::STRING END) VIRTUAL, PRIMARY KEY (col2😐_5 ASC), INVERTED INDEX (😜col2_2 ASC, col2_3), INDEX ("col|2_8" ASC, lower(CAST(col2_3 AS STRING)), 😜col2_2, col2_4, col2_9 DESC, col2_10) PARTITION BY LIST ("col|2_8") (PARTITION """table2_part0" VALUES IN ((e'::Q\n':::STRING,), (e'\x10\x1as\t':::STRING,), ('r':::STRING,), (e'o}\x14p@\b\r#':::STRING,), ('':::STRING,), ('j:i':::STRING,), (e'\'\x0e8W8K#':::STRING,), (e'S,\x1f2Z#\x1fJ]':::STRING,), (e'\x03T-\x1dl\x1dby':::STRING,)), PARTITION """table2_part1" VALUES IN (('X':::STRING,), ('_56V':::STRING,), (e'\x03\'\x113q\x18\x14ZV':::STRING,), (e'\'':::STRING,), (e'R\x170Oz\x04a':::STRING,), (e'v\x1cr;\x1f}A\x0e':::STRING,), (e'\x00':::STRING,), ('``x':::STRING,)), PARTITION """t'able2_part2" VALUES IN ((e'_#e*R\x06':::STRING,), (e'v\x0b':::STRING,), (e')\x10qdF<':::STRING,), (e'Vfa\x1dc\x18':::STRING,), (e'\x05%\b':::STRING,), (e'Yq\x7fh':::STRING,)), PARTITION """table2_part3" VALUES IN ((e'A*\x15':::STRING,), (e'!\x017\f\x14\x16a':::STRING,), (e'\x13\x10y\\>o~':::STRING,), (e'\'kW;8<':::STRING,), (e'[\x12\x03B':::STRING,), (e'\x15/':::STRING,), (e',p\x199fA(\x16x':::STRING,), (e'/\x1f3*a\x07':::STRING,))) WHERE (((("""table2".col2_10 != e'\'':::STRING) AND ("""table2".col2_9 <= e'\'':::STRING)) OR ("""table2"."col|2_8" >= e'\U00002603':::STRING)) OR (NOT """table2".col2😐_5)) OR ("""table2"."%vcol2_7" != '':::STRING) NOT VISIBLE)
test_1 | compare_test.go:160: cockroach1: exec: ERROR: use of partitions requires an enterprise license. see https://cockroachlabs.com/pricing?cluster=2da40b3f-9068-473f-bcf0-6c2a6d787ec8 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 (17.15s)
See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)
- #89361 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]
compose.TestComposeCompare failed with artifacts on master @ eb158026c50d8fa856e42f928d844831ea9e6b28:
test_1 | AS t😻ab256876
test_1 | ORDER BY
test_1 | col424305 ASC, "c ol424306" ASC;
test_1 |
test_1 | postgres:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (
test_1 | SELECT
test_1 | tab256875."c%ddol424304" AS col424305, tab256875.c😡ol424303 AS "c ol424306"
test_1 | FROM
test_1 | (
test_1 | VALUES
test_1 | ('::/0'::INET::INET, NULL::GEOMETRY),
test_1 | ('::4/0'::INET::INET, NULL::GEOMETRY),
test_1 | ('::3/0'::INET::INET, NULL::GEOMETRY),
test_1 | (NULL::INET, NULL::GEOMETRY)
test_1 | )
test_1 | AS tab256875 (c😡ol424303, "c%ddol424304")
test_1 | ORDER BY
test_1 | tab256875."c%ddol424304" ASC NULLS FIRST,
test_1 | tab256875."c%ddol424304" DESC NULLS FIRST,
test_1 | tab256875.c😡ol424303 ASC
test_1 | )
test_1 | AS t😻ab256876
test_1 | ORDER BY
test_1 | col424305 ASC, "c ol424306" ASC;
test_1 |
test_1 | --- FAIL: TestCompare/mutators (0.65s)
test_1 | compare_test.go:139: starting test: mutators
test_1 | compare_test.go:148: initializing connection: cockroach1
test_1 | compare_test.go:148: initializing connection: cockroach2
test_1 | compare_test.go:170: CREATE TABLE "tabl e1" (col1_0 REGTYPE NOT NULL, col1_1 REGTYPE, col1_2 INT8 NOT NULL, PRIMARY KEY (col1_0, col1_2), UNIQUE (col1_2 DESC, col1_0 ASC, col1_1) WHERE "tabl e1".col1_2 != (-32768):::INT8, UNIQUE (col1_0 DESC, (CASE WHEN col1_1 IS NULL THEN '':::STRING ELSE e'<dJh\f\b=\x06':::STRING END), col1_2 DESC) STORING (col1_1) WHERE "tabl e1".col1_2 < 32767:::INT8, UNIQUE ((CASE WHEN col1_0 IS NULL THEN e'PQRK\x07Q':::STRING ELSE 'o6ha~Z':::STRING END), col1_0 DESC, col1_2 DESC) STORING (col1_1), UNIQUE (col1_2 DESC, col1_0 ASC) WHERE "tabl e1".col1_2 >= (-128):::INT8, INDEX (col1_2 DESC, col1_0 ASC, col1_1 ASC) WHERE "tabl e1".col1_2 > (-2147483648):::INT8, FAMILY (col1_1, col1_2), FAMILY (col1_0));
test_1 | ALTER TABLE "tabl e1" INJECT STATISTICS '[{"avg_size": 0, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 80000000, "num_range": 0, "upper_bound": "1325923369"}, {"distinct_range": 0, "num_eq": 2000000000, "num_range": 40000000000, "upper_bound": "2889487302"}, {"distinct_range": 700000000, "num_eq": 200000000, "num_range": 700000000, "upper_bound": "3532114934"}, {"distinct_range": 356121813371887550, "num_eq": 8684041763274511486, "num_range": 356121813371887579, "upper_bound": "3859865307"}, {"distinct_range": 20000000, "num_eq": 7714945067249283284, "num_range": 20000000, "upper_bound": "4237550470"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 0}, {"avg_size": 0, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"avg_size": 0, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 2904625509227422133, "num_range": 0, "upper_bound": "-6246830939065317732"}, {"distinct_range": 981274521040910500, "num_eq": 4000000000, "num_range": 981274521040910503, "upper_bound": "-5808120004712082711"}, {"distinct_range": 0, "num_eq": 7691981106538076697, "num_range": 700000, "upper_bound": "-4355370871000823537"}, {"distinct_range": 0, "num_eq": 400000000, "num_range": 8000000000, "upper_bound": "-419163227846061705"}, {"distinct_range": 338386847096192960, "num_eq": 50000, "num_range": 2436976194427133367, "upper_bound": "989857850584179989"}, {"distinct_range": 0, "num_eq": 5272362328225331236, "num_range": 7167546990843454287, "upper_bound": "4108391441789155606"}, {"distinct_range": 0, "num_eq": 1986963861838441311, "num_range": 5401973644294954119, "upper_bound": "4732861583611674862"}, {"distinct_range": 0, "num_eq": 800000000, "num_range": 1741719513783010223, "upper_bound": "5922831496645365013"}, {"distinct_range": 4969788665678749000, "num_eq": 500, "num_range": 4969788665678748759, "upper_bound": "8697684100257923387"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 0, "row_count": 0}]':::JSONB;
test_1 | ALTER TABLE "tabl e1" INJECT STATISTICS '[{"avg_size": 20, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 124282471679655877, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 150281212128497818}, {"avg_size": 0, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 132518348009676, "histo_col_type": "", "name": "__auto__", "null_count": 117844095419261370, "row_count": 150281212128497818}, {"avg_size": 31, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 58388117638871321, "histo_buckets": [{"distinct_range": 0, "num_eq": 5000000, "num_range": 0, "upper_bound": "-2334608591362301714"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 0, "row_count": 150281212128497818}]':::JSONB;
test_1 |
test_1 | compare_test.go:171: 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:122: exit status 1
--- FAIL: TestComposeCompare (277.37s)
See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)
- #89361 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]
compose.TestComposeCompare failed with artifacts on master @ ff67a4ba86d710db090ce700f229020365851183:
test_1 | }))
test_1 | cockroach1:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (
test_1 | SELECT
test_1 | tab7592."c🙂oL13461" AS col13463, tab7592.col13462 AS "co�l13464"
test_1 | FROM
test_1 | (VALUES (true::BOOL, 9:::INT8::INT2), (NULL::BOOL, 2:::INT8::INT2)) AS tab7592 ("c🙂oL13461", col13462)
test_1 | )
test_1 | AS "t'ab7593"
test_1 | ORDER BY
test_1 | col13463 ASC, "co�l13464" DESC;
test_1 |
test_1 | postgres:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (
test_1 | SELECT
test_1 | tab7592."c🙂oL13461" AS col13463, tab7592.col13462 AS "co�l13464"
test_1 | FROM
test_1 | (VALUES (true::BOOL, 9::INT8::INT2), (NULL::BOOL, 2::INT8::INT2)) AS tab7592 ("c🙂oL13461", col13462)
test_1 | )
test_1 | AS "t'ab7593"
test_1 | ORDER BY
test_1 | col13463 ASC, "co�l13464" DESC;
test_1 |
test_1 | --- FAIL: TestCompare/mutators (0.69s)
test_1 | compare_test.go:139: starting test: mutators
test_1 | compare_test.go:148: initializing connection: cockroach1
test_1 | compare_test.go:148: initializing connection: cockroach2
test_1 | compare_test.go:170: CREATE TABLE table1 ("col�1_0" TIMESTAMPTZ NOT NULL, "col1 _1" CHAR[] NULL, "col\v1_2" BYTES NOT NULL, col1_3 GEOMETRY NOT NULL, "Col1_4" STRING NOT NULL AS (CASE WHEN "col\v1_2" IS NULL THEN e'\'\x02\x195y[\x19\\':::STRING ELSE '.,':::STRING END) VIRTUAL, FAMILY (col1_3), FAMILY ("col1 _1"), FAMILY ("col�1_0", "col\v1_2"));
test_1 | ALTER TABLE table1 INJECT STATISTICS e'[{"avg_size": 21, "columns": ["\\"col\\u000b1_0\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 845899, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2000000}, {"avg_size": 0, "columns": ["\\"col1 _1\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1974270, "histo_col_type": "", "name": "__auto__", "null_count": 1110543, "row_count": 2000000}, {"avg_size": 31, "columns": ["\\"col\\\\v1_2\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 924560, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2000000}, {"avg_size": 23, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1600835, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2000000}, {"avg_size": 13, "columns": ["\\"Col1_4\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1101955, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2000000}]':::JSONB;
test_1 | ALTER TABLE table1 INJECT STATISTICS e'[{"avg_size": 10, "columns": ["\\"col\\u000b1_0\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1836758921194727092, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2850016833923670815}, {"avg_size": 12, "columns": ["\\"col1 _1\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1529299902419860653, "histo_col_type": "", "name": "__auto__", "null_count": 2482970159200995364, "row_count": 2850016833923670815}, {"avg_size": 28, "columns": ["\\"col\\\\v1_2\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1014491436383839062, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2850016833923670815}, {"avg_size": 31, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2145346747398371131, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2850016833923670815}, {"avg_size": 22, "columns": ["\\"Col1_4\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1131815314347277234, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2850016833923670815}]':::JSONB;
test_1 |
test_1 | compare_test.go:171: 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:122: exit status 1
--- FAIL: TestComposeCompare (36.33s)
See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)
- #89361 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]
compose.TestComposeCompare failed with artifacts on master @ 09188370d82e163ff1d44c62fe611104502c548d:
test_1 | tab55853."%pc\\UAB1A3586ol80108" NULLS FIRST
test_1 | )
test_1 | AS "ta\\u20F1b'55854"
test_1 | ORDER BY
test_1 | col80110, "'col80111" ASC NULLS LAST;
test_1 |
test_1 | cockroach1:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (
test_1 | SELECT
test_1 | tab55853."%pc\\UAB1A3586ol80108" AS col80110, tab55853."%pc\\UAB1A3586ol80108" AS "'col80111"
test_1 | FROM
test_1 | (
test_1 | VALUES
test_1 | ('E':::STRING::NAME, 'C':::STRING::NAME),
test_1 | ('E':::STRING::NAME, 'G':::STRING::NAME),
test_1 | ('C':::STRING::NAME, 'A':::STRING::NAME),
test_1 | (NULL::NAME, 'H':::STRING::NAME)
test_1 | )
test_1 | AS tab55853 ("%pc\\UAB1A3586ol80108", col80109)
test_1 | ORDER BY
test_1 | tab55853."%pc\\UAB1A3586ol80108" NULLS FIRST
test_1 | )
test_1 | AS "ta\\u20F1b'55854"
test_1 | ORDER BY
test_1 | col80110, "'col80111" ASC NULLS LAST;
test_1 |
test_1 | --- FAIL: TestCompare/mutators (0.41s)
test_1 | compare_test.go:139: starting test: mutators
test_1 | compare_test.go:148: initializing connection: cockroach1
test_1 | compare_test.go:148: initializing connection: cockroach2
test_1 | compare_test.go:170: CREATE TABLE table1 ("co L1&_0" UUID NOT NULL, "co\\x58l1_1" "char" NOT NULL, "col1\\x8d_2" BIT(5) NOT NULL, col1_3 BOOL, "co😥l1 _4" BIT, col1_5 UUID, co😫l1̧_6 TIMESTAMP NOT NULL, "�😢col1_7" BOOL, "c\\u9BAAol1_8" STRING, "c
ol1_9" GEOGRAPHY NOT NULL, col1_10 DECIMAL NOT NULL, "(col1_11" TIMESTAMPTZ NOT NULL, col1😲_12 INT4, "&col1_13" STRING NOT NULL AS (lower(CAST("co L1&_0" AS STRING))) STORED, col1_14 STRING AS (lower(CAST(col1_5 AS STRING))) VIRTUAL, UNIQUE ("col1\\x8d_2") STORING ("co L1&_0", "co\\x58l1_1", col1_3, "co😥l1 _4", col1_5, co😫l1̧_6, "�😢col1_7", "c\\u9BAAol1_8", col1_10, "&col1_13"), FAMILY ("c
ol1_9", col1_3), FAMILY (col1😲_12, "co L1&_0"), FAMILY (col1_5, "(col1_11"), FAMILY ("co😥l1 _4", co😫l1̧_6, "�😢col1_7"), FAMILY ("c\\u9BAAol1_8"), FAMILY ("co\\x58l1_1"), FAMILY ("&col1_13"), FAMILY (col1_10, "col1\\x8d_2"));
test_1 | ALTER TABLE table1 INJECT STATISTICS e'[{"avg_size": 20, "columns": ["\\"co\\\\\\\\x58l1_1\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2397156, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3000000}, {"avg_size": 16, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1890945, "histo_col_type": "", "name": "__auto__", "null_count": 1556094, "row_count": 3000000}, {"avg_size": 14, "columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2975556, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3000000}, {"avg_size": 8, "columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 834219, "histo_col_type": "", "name": "__auto__", "null_count": 168600, "row_count": 3000000}, {"avg_size": 0, "columns": ["\\"col1\\\\\\\\x8d_2\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 91277, "histo_buckets": [{"distinct_range": 0, "num_eq": 3000000, "num_range": 0, "upper_bound": "00110"}, {"distinct_range": 2000, "num_eq": 0, "num_range": 2000, "upper_bound": "01100"}, {"distinct_range": 5109539989162144000, "num_eq": 6000000000, "num_range": 5109539989162143359, "upper_bound": "01101"}, {"distinct_range": 905664263211755300, "num_eq": 2211348258840247542, "num_range": 905664263211755240, "upper_bound": "01110"}, {"distinct_range": 6125362746971987000, "num_eq": 10, "num_range": 6125362746971987177, "upper_bound": "10111"}, {"distinct_range": 0, "num_eq": 767071988935834206, "num_range": 0, "upper_bound": "11000"}, {"distinct_range": 35386081428011616, "num_eq": 0, "num_range": 142000825654267854, "upper_bound": "11101"}, {"distinct_range": 6297344785068242000, "num_eq": 10000, "num_range": 6297344785068242232, "upper_bound": "11111"}], "histo_col_type": "BIT(5)", "name": "__auto__", "null_count": 0, "row_count": 3000000}, {"avg_size": 21, "columns": ["\\"co\U0001F625l1 _4\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1695479, "histo_col_type": "", "name": "__auto__", "null_count": 539130, "row_count": 3000000}, {"avg_size": 29, "columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2655267, "histo_col_type": "", "name": "__auto__", "null_count": 2727730, "row_count": 3000000}, {"avg_size": 24, "columns": ["\\"\\u000c\U0001F622col1_7\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1031589, "histo_col_type": "", "name": "__auto__", "null_count": 939046, "row_count": 3000000}, {"avg_size": 25, "columns": ["\\"c\\\\\\\\u9BAAol1_8\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1804372, "histo_col_type": "", "name": "__auto__", "null_count": 29796, "row_count": 3000000}, {"avg_size": 11, "columns": ["\\"c\\rol1_9\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2002744, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3000000}, {"avg_size": 16, "columns": ["\\"co L1&_0\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1583576, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3000000}, {"avg_size": 29, "columns": ["co\U0001F62Bl1\u0327_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2589475, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3000000}, {"avg_size": 28, "columns": ["col1\U0001F632_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 822171, "histo_col_type": "", "name": "__auto__", "null_count": 250046, "row_count": 3000000}, {"avg_size": 20, "columns": ["\\"(col1_11\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 465449, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3000000}, {"avg_size": 17, "columns": ["\\"&col1_13\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 779823, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3000000}]':::JSONB;
test_1 | ALTER TABLE table1 INJECT STATISTICS e'[{"avg_size": 3, "columns": ["\\"\\u000c\U0001F622col1_7\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2424187489423525420, "histo_col_type": "", "name": "__auto__", "null_count": 459902521504316491, "row_count": 3689442065160637927}, {"avg_size": 1, "columns": ["\\"c\\\\\\\\u9BAAol1_8\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2174055287167371385, "histo_col_type": "", "name": "__auto__", "null_count": 1845794508240379593, "row_count": 3689442065160637927}, {"avg_size": 14, "columns": ["\\"(col1_11\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2321628829786074237, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3689442065160637927}, {"avg_size": 9, "columns": ["\\"&col1_13\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2510571604368521677, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3689442065160637927}, {"avg_size": 4, "columns": ["\\"col1\\\\\\\\x8d_2\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 834133209742230968, "histo_buckets": [{"distinct_range": 0, "num_eq": 90000000000, "num_range": 0, "upper_bound": "00001"}, {"distinct_range": 3231522091200105500, "num_eq": 4187488093257470713, "num_range": 3231522091200105435, "upper_bound": "10011"}, {"distinct_range": 0, "num_eq": 643688403673397171, "num_range": 8928601970658006037, "upper_bound": "11100"}, {"distinct_range": 200000000, "num_eq": 60000000000, "num_range": 200000000, "upper_bound": "11110"}], "histo_col_type": "BIT(5)", "name": "__auto__", "null_count": 0, "row_count": 3689442065160637927}, {"avg_size": 29, "columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1747326464892479131, "histo_col_type": "", "name": "__auto__", "null_count": 499715325842300743, "row_count": 3689442065160637927}, {"avg_size": 18, "columns": ["\\"co\\\\\\\\x58l1_1\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1906094278859067278, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3689442065160637927}, {"avg_size": 20, "columns": ["\\"co\U0001F625l1 _4\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3288569141626451024, "histo_col_type": "", "name": "__auto__", "null_count": 219320669297419849, "row_count": 3689442065160637927}, {"avg_size": 8, "columns": ["\\"c\\rol1_9\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 375836205017390597, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3689442065160637927}, {"avg_size": 2, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1899425439744553326, "histo_col_type": "", "name": "__auto__", "null_count": 39035605140595091, "row_count": 3689442065160637927}, {"avg_size": 17, "columns": ["co\U0001F62Bl1\u0327_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2242135689820822661, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3689442065160637927}, {"avg_size": 10, "columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3588918918289782056, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3689442065160637927}, {"avg_size": 6, "columns": ["col1\U0001F632_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2627188717887271139, "histo_col_type": "", "name": "__auto__", "null_count": 355399411040426123, "row_count": 3689442065160637927}, {"avg_size": 17, "columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2502503886968814665, "histo_col_type": "", "name": "__auto__", "null_count": 477344148780320995, "row_count": 3689442065160637927}, {"avg_size": 7, "columns": ["\\"co L1&_0\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2444854267468796134, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3689442065160637927}]':::JSONB;
test_1 |
test_1 | compare_test.go:171: 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:122: exit status 1
--- FAIL: TestComposeCompare (76.71s)
See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)
- #89361 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]
compose.TestComposeCompare failed with artifacts on master @ e51ffa013c81212870891001f0328912550fa75d:
postgres_1 | .2023-02-10 06:15:09.387 UTC [49] LOG: aborting any active transactions
postgres_1 | 2023-02-10 06:15:09.388 UTC [49] LOG: background worker "logical replication launcher" (PID 56) exited with exit code 1
postgres_1 | 2023-02-10 06:15:09.390 UTC [51] LOG: shutting down
postgres_1 | 2023-02-10 06:15:09.486 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 | 2023-02-10 06:15:09.603 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 | 2023-02-10 06:15:09.603 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
postgres_1 | 2023-02-10 06:15:09.603 UTC [1] LOG: listening on IPv6 address "::", port 5432
postgres_1 | 2023-02-10 06:15:09.607 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres_1 | 2023-02-10 06:15:09.612 UTC [68] LOG: database system was shut down at 2023-02-10 06:15:09 UTC
postgres_1 | 2023-02-10 06:15:09.616 UTC [1] LOG: database system is ready to accept connections
postgres_1 | 2023-02-10 06:15:11.100 UTC [78] ERROR: syntax error at or near "ASC" at character 657
postgres_1 | 2023-02-10 06:15:11.100 UTC [78] STATEMENT: CREATE TABLE table2 ("'co😴l&2_0" DECIMAL NULL, """
col2_1" "char", col2_2 "char" NOT NULL, col2_3 UUID NOT NULL, "col%p2_4" INTERVAL NOT NULL, col2_5 GEOGRAPHY NOT NULL, col2_6 OID, "col2 _7" CHAR NOT NULL, col2_8 "char", "cO'l2_9" REGTYPE NULL, col2_10 REGTYPE NULL, " c?ol2_11" BYTEA NOT NULL, col2_12 NAME NOT NULL, col2😠_13 BIT(40), col2_14 FLOAT4 NOT NULL, col2_15 TEXT NULL GENERATED ALWAYS AS (CASE WHEN col2_10 IS NULL THEN '{X<=zeXF?'::TEXT ELSE e'ZcdH_t\x16<'::TEXT END) STORED, col2_16 TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN "col%p2_4" IS NULL THEN e':``5qW\x0e'::TEXT ELSE e'\x10\x0fn\x1b!w_\x0f'::TEXT END) STORED, INVERTED INDEX (col2_3 ASC, col2_14, """
col2_1", col2_5), INVERTED INDEX (" c?ol2_11", col2_15 gin_trgm_ops ASC));
postgres_1 |
test_1 | --- FAIL: TestCompare (4.52s)
test_1 | compare_test.go:130: Checking connection to: postgres
test_1 | compare_test.go:130: Checking connection to: cockroach1
test_1 | compare_test.go:130: Checking connection to: cockroach2
test_1 | --- FAIL: TestCompare/postgres (0.76s)
test_1 | compare_test.go:139: starting test: postgres
test_1 | compare_test.go:148: initializing connection: cockroach1
test_1 | compare_test.go:148: initializing connection: postgres
test_1 | compare_test.go:170: CREATE TABLE table2 ("'co😴l&2_0" DECIMAL NULL, """
col2_1" "char", col2_2 "char" NOT NULL, col2_3 UUID NOT NULL, "col%p2_4" INTERVAL NOT NULL, col2_5 GEOGRAPHY NOT NULL, col2_6 OID, "col2 _7" CHAR NOT NULL, col2_8 "char", "cO'l2_9" REGTYPE NULL, col2_10 REGTYPE NULL, " c?ol2_11" BYTEA NOT NULL, col2_12 NAME NOT NULL, col2😠_13 BIT(40), col2_14 FLOAT4 NOT NULL, col2_15 TEXT NULL GENERATED ALWAYS AS (CASE WHEN col2_10 IS NULL THEN '{X<=zeXF?'::TEXT ELSE e'ZcdH_t\x16<'::TEXT END) STORED, col2_16 TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN "col%p2_4" IS NULL THEN e':``5qW\x0e'::TEXT ELSE e'\x10\x0fn\x1b!w_\x0f'::TEXT END) STORED, INVERTED INDEX (col2_3 ASC, col2_14, """
col2_1", col2_5), INVERTED INDEX (" c?ol2_11", col2_15 gin_trgm_ops ASC));
test_1 |
test_1 | compare_test.go:171: postgres: exec: ERROR: syntax error at or near "ASC" (SQLSTATE 42601)
test_1 | --- FAIL: TestCompare/mutators (0.64s)
test_1 | compare_test.go:139: starting test: mutators
test_1 | compare_test.go:148: initializing connection: cockroach1
test_1 | compare_test.go:148: initializing connection: cockroach2
test_1 | compare_test.go:170: CREATE TABLE table1 ("cOl1_😄0" TIMESTAMP NOT NULL, " col1_1" UUID NOT NULL, col1🙁_2 CHAR NOT NULL, "co l1_3" NAME, "co l1_4" GEOGRAPHY, col1_5 BIT(25) NOT NULL, c͋ol1_6 TIMETZ NOT NULL, "Col1_7" BYTES, col1_8 REGROLE NULL, col1_9 STRING AS (lower(CAST("co l1_4" AS STRING))) STORED, col1_10 STRING NOT NULL AS (CASE WHEN col1_8 IS NULL THEN e'0B\x1aT,%':::STRING ELSE 'ps':::STRING END) VIRTUAL, "col 1_11" STRING AS (CASE WHEN "Col1_7" IS NULL THEN '"':::STRING ELSE e'\x11v\x1ea':::STRING END) VIRTUAL, PRIMARY KEY ("cOl1_😄0", col1_10, col1🙁_2 ASC, c͋ol1_6), UNIQUE (c͋ol1_6 DESC, "Col1_7", col1_10) STORING (" col1_1", "co l1_3", "co l1_4") PARTITION BY LIST (c͋ol1_6) (PARTITION table1_part0 VALUES IN (('20:27:45.779575-01:49':::TIMETZ,), ('21:44:56.24115+14:56':::TIMETZ,)), PARTITION "tabl�e1_part%v1" VALUES IN (('00:00:00+15:59':::TIMETZ,)), PARTITION "table1_par t2" VALUES IN (('06:46:22.160458-10:51':::TIMETZ,)), PARTITION table1_p😬art3 VALUES IN (('05:17:24.235799+07:24':::TIMETZ,), ('13:22:14.703629+02:10':::TIMETZ,)), PARTITION "table1{_part4" VALUES IN (('11:32:53.141034+08:17':::TIMETZ,), ('19:44:04.071414+09:22':::TIMETZ,)), PARTITION "DEFAULT" VALUES IN ((DEFAULT,))), INDEX ("Col1_7" DESC, c͋ol1_6 DESC, col1_5 ASC, "col 1_11" DESC, "cOl1_😄0", lower(CAST(c͋ol1_6 AS STRING)) DESC, col1_8 ASC, " col1_1" DESC) STORING ("co l1_4", col1_9) WHERE (((table1."Col1_7" = e'\\xe29883':::BYTES) OR (table1."col 1_11" != e'\U00002603':::STRING)) AND (table1."cOl1_😄0" > '4714-11-24 00:00:00 BC':::TIMESTAMP)) OR (table1.c͋ol1_6 <= '24:00:00-15:59':::TIMETZ), FAMILY (col1_5), FAMILY (col1_8), FAMILY (" col1_1"), FAMILY ("cOl1_😄0", col1🙁_2, "co l1_4", col1_9, "co l1_3"), FAMILY (c͋ol1_6, "Col1_7"));
test_1 | ALTER TABLE table1 INJECT STATISTICS e'[{"avg_size": 0, "columns": ["\\"co l1_3\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 141089, "histo_col_type": "", "name": "__auto__", "null_count": 191303, "row_count": 800000}, {"avg_size": 7, "columns": ["\\"co l1_4\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 402168, "histo_col_type": "", "name": "__auto__", "null_count": 484344, "row_count": 800000}, {"avg_size": 26, "columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 40755, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 800000}, {"avg_size": 2, "columns": ["c\u034Bol1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 277835, "histo_buckets": [{"distinct_range": 0, "num_eq": 5000, "num_range": 0, "upper_bound": "00:00:00+15:59"}, {"distinct_range": 0, "num_eq": 40000000000, "num_range": 0, "upper_bound": "00:02:01.253806+08:11"}, {"distinct_range": 0, "num_eq": 5025477425866863381, "num_range": 10, "upper_bound": "02:34:10.014905+07:33"}, {"distinct_range": 5000, "num_eq": 4471255547935713610, "num_range": 5000, "upper_bound": "00:50:49.733818+03:39"}, {"distinct_range": 961821560769903700, "num_eq": 7557957762276400430, "num_range": 6832939350753332959, "upper_bound": "15:39:34.842222+07:54"}, {"distinct_range": 0, "num_eq": 6389670710230033528, "num_range": 2900895701375625247, "upper_bound": "11:24:15.473244+00:47"}, {"distinct_range": 0, "num_eq": 100000000, "num_range": 4265188690866943100, "upper_bound": "10:55:26.813331-10:34"}, {"distinct_range": 91121448.14483884, "num_eq": 8024642834659741266, "num_range": 400000000, "upper_bound": "14:53:24.990816-07:03"}, {"distinct_range": 3421.959032729699, "num_eq": 4759110322665807941, "num_range": 6000, "upper_bound": "24:00:00-15:59"}], "histo_col_type": "TIMETZ", "name": "__auto__", "null_count": 0, "row_count": 800000}, {"avg_size": 5, "columns": ["\\"Col1_7\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 554491, "histo_buckets": [{"distinct_range": 0, "num_eq": 1933641576938663378, "num_range": 0, "upper_bound": "\\\\x18ad1cf045f8ac813c"}, {"distinct_range": 30193312.243462108, "num_eq": 4359445244980550344, "num_range": 70000000, "upper_bound": "\\\\x488d38"}, {"distinct_range": 0, "num_eq": 8353081838753510319, "num_range": 4411195388938574484, "upper_bound": "\\\\x6bb83f1224f3efe2"}, {"distinct_range": 9210125126226429000, "num_eq": 3419277511277134953, "num_range": 9210125126226429113, "upper_bound": "\\\\xca8c677bc04b"}, {"distinct_range": 5709691.502186116, "num_eq": 600000000, "num_range": 30000000, "upper_bound": "\\\\xdcacf714fd0b"}, {"distinct_range": 164702108818793180, "num_eq": 3575611099273426988, "num_range": 840560905977925088, "upper_bound": "\\\\xef668056e9bdfa8d48"}, {"distinct_range": 0, "num_eq": 600000, "num_range": 3180813840197720070, "upper_bound": "\\\\xefab4a"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 296643, "row_count": 800000}, {"avg_size": 28, "columns": ["\\"cOl1_\U0001F6040\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 250243, "histo_buckets": [{"distinct_range": 0, "num_eq": 6000000000, "num_range": 0, "upper_bound": "0001-01-01 00:00:00"}, {"distinct_range": 2135367867674668000, "num_eq": 7000000000, "num_range": 2135367867674668130, "upper_bound": "1971-11-12 10:58:17.000988"}, {"distinct_range": 6588463.541919142, "num_eq": 1806858540755403991, "num_range": 10000000, "upper_bound": "2003-07-03 15:25:34.000859"}, {"distinct_range": 617901813605076600, "num_eq": 2507727985281031839, "num_range": 3023829603564961121, "upper_bound": "2022-09-01 10:23:13.00091"}], "histo_col_type": "TIMESTAMP", "name": "__auto__", "null_count": 0, "row_count": 800000}, {"avg_size": 31, "columns": ["\\" col1_1\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 314742, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 800000}, {"avg_size": 15, "columns": ["col1\U0001F641_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 239228, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 800000}, {"avg_size": 10, "columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 713594, "histo_col_type": "", "name": "__auto__", "null_count": 149292, "row_count": 800000}, {"avg_size": 6, "columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 316815, "histo_col_type": "", "name": "__auto__", "null_count": 56641, "row_count": 800000}, {"avg_size": 19, "columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 354751, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 800000}, {"avg_size": 1, "columns": ["\\"col 1_11\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 614706, "histo_col_type": "", "name": "__auto__", "null_count": 762438, "row_count": 800000}]':::JSONB;
test_1 | ALTER TABLE table1 INJECT STATISTICS e'[{"avg_size": 0, "columns": ["\\"cOl1_\U0001F6040\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 569, "histo_buckets": [{"distinct_range": 0, "num_eq": 4000, "num_range": 0, "upper_bound": "0001-01-01 00:00:00"}, {"distinct_range": 0, "num_eq": 2000000000, "num_range": 3584944219816926025, "upper_bound": "1980-10-12 07:35:48.000899"}, {"distinct_range": 0, "num_eq": 9094915626807088171, "num_range": 260959992315153531, "upper_bound": "1995-08-12 00:22:10.000594"}, {"distinct_range": 0, "num_eq": 2083243990325985131, "num_range": 80000000000, "upper_bound": "1997-08-17 05:02:30.000017"}, {"distinct_range": 8584211161119133000, "num_eq": 8490370336052776462, "num_range": 8584211161119132945, "upper_bound": "2009-08-08 16:09:06.000656"}, {"distinct_range": 0, "num_eq": 90000000000, "num_range": 1181100821430320680, "upper_bound": "2029-10-07 13:25:17.000473"}], "histo_col_type": "TIMESTAMP", "name": "__auto__", "null_count": 0, "row_count": 700}, {"avg_size": 15, "columns": ["col1\U0001F641_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 116, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 700}, {"avg_size": 1, "columns": ["\\"co l1_3\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 403, "histo_col_type": "", "name": "__auto__", "null_count": 492, "row_count": 700}, {"avg_size": 17, "columns": ["\\"co l1_4\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 49, "histo_col_type": "", "name": "__auto__", "null_count": 451, "row_count": 700}, {"avg_size": 28, "columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 128, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 700}, {"avg_size": 21, "columns": ["\\" col1_1\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 534, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 700}, {"avg_size": 27, "columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 258, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 700}, {"avg_size": 0, "columns": ["c\u034Bol1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 577, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "02:45:58.517744+14:46"}, {"distinct_range": 0, "num_eq": 7616922502017566276, "num_range": 300, "upper_bound": "04:12:30.355035+13:17"}, {"distinct_range": 0, "num_eq": 90000000, "num_range": 5107848999217819519, "upper_bound": "04:45:23.381863+09:28"}, {"distinct_range": 229.11149120998226, "num_eq": 5348313353647480148, "num_range": 3000, "upper_bound": "05:41:14.35374-01:48"}, {"distinct_range": 0, "num_eq": 300000, "num_range": 5000000, "upper_bound": "18:52:30.797382-01:38"}, {"distinct_range": 7527157.013257876, "num_eq": 1000, "num_range": 70000000, "upper_bound": "15:35:46.189796-04:59"}], "histo_col_type": "TIMETZ", "name": "__auto__", "null_count": 0, "row_count": 700}, {"avg_size": 3, "columns": ["\\"Col1_7\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 493, "histo_buckets": [{"distinct_range": 0, "num_eq": 5000000000, "num_range": 0, "upper_bound": "\\\\x4cdd173284"}, {"distinct_range": 20000000, "num_eq": 3813659665104235301, "num_range": 20000000, "upper_bound": "\\\\x87595d9a3183"}, {"distinct_range": 18944.23573035655, "num_eq": 600000, "num_range": 600000, "upper_bound": "\\\\x9262f5ce88306f68ae"}, {"distinct_range": 8234441860850375000, "num_eq": 7518963644446378116, "num_range": 8234441860850374386, "upper_bound": "\\\\xd89bdc87c5"}, {"distinct_range": 20000000, "num_eq": 50000, "num_range": 20000000, "upper_bound": "\\\\xdcc51a7d27003003"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 470, "row_count": 700}, {"avg_size": 30, "columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 50, "histo_col_type": "", "name": "__auto__", "null_count": 594, "row_count": 700}, {"avg_size": 25, "columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 692, "histo_col_type": "", "name": "__auto__", "null_count": 528, "row_count": 700}, {"avg_size": 14, "columns": ["\\"col 1_11\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 259, "histo_col_type": "", "name": "__auto__", "null_count": 185, "row_count": 700}]':::JSONB;
test_1 |
test_1 | compare_test.go:171: 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:122: exit status 1
--- FAIL: TestComposeCompare (18.42s)
See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)
- #89361 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]
compose.TestComposeCompare failed with artifacts on master @ 2a7edbeb0737b1309064c25c641a309c2980d9ba:
test_1 | SELECT
test_1 | tab6588.col13559 AS "\\x3fcol13560", 6:::INT8::INT8 AS col13561
test_1 | FROM
test_1 | (VALUES (NULL::INT8, 7:::OID::OID), (NULL::INT8, NULL::OID), (8:::INT8::INT8, 8:::OID::OID))
test_1 | AS tab6588 (col13558, col13559)
test_1 | WHERE
test_1 | true::BOOL
test_1 | )
test_1 | AS "T' aB6589"
test_1 | ORDER BY
test_1 | "\\x3fcol13560", col13561 DESC;
test_1 |
test_1 | postgres:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (
test_1 | SELECT
test_1 | tab6588.col13559 AS "\\x3fcol13560", 6::INT8::INT8 AS col13561
test_1 | FROM
test_1 | (VALUES (NULL::INT8, 7::OID::OID), (NULL::INT8, NULL::OID), (8::INT8::INT8, 8::OID::OID))
test_1 | AS tab6588 (col13558, col13559)
test_1 | WHERE
test_1 | true::BOOL
test_1 | )
test_1 | AS "T' aB6589"
test_1 | ORDER BY
test_1 | "\\x3fcol13560", col13561 DESC;
test_1 |
test_1 | --- FAIL: TestCompare/mutators (0.36s)
test_1 | compare_test.go:139: starting test: mutators
test_1 | compare_test.go:148: initializing connection: cockroach1
test_1 | compare_test.go:148: initializing connection: cockroach2
test_1 | compare_test.go:170: CREATE TABLE 😛table1 ("Co%28l1_0" DECIMAL NOT NULL, col1_1 TIME NOT NULL, col1_̯2 INET NOT NULL, "co\\u1ABDl1_3" INT4 NOT NULL, col1_4 BYTES NOT NULL, "%pcol1_5" STRING NOT NULL AS (lower(CAST(col1_̯2 AS STRING))) VIRTUAL, col1_6 INT8 NOT NULL AS ("co\\u1ABDl1_3" + 932965653:::INT8) STORED, PRIMARY KEY (col1_1 ASC, col1_4 ASC, "Co%28l1_0" DESC, col1_̯2 ASC, col1_6, "%pcol1_5" DESC), INDEX ("%pcol1_5" DESC, col1_6 DESC, (CASE WHEN col1_4 IS NULL THEN e'\x1c*k':::STRING ELSE '}!,q':::STRING END), lower(CAST(col1_1 AS STRING)) ASC, "Co%28l1_0", col1_̯2 ASC), INDEX (col1_6 DESC, "co\\u1ABDl1_3" ASC) WHERE (😛table1.col1_1 > '24:00:00':::TIME) OR (😛table1.col1_4 != e'\\x22':::BYTES) NOT VISIBLE, UNIQUE (col1_4 DESC, (CASE WHEN col1_4 IS NULL THEN e'\x1cI\x02(?w':::STRING ELSE e'_}sM\t>X':::STRING END) DESC, col1_1 ASC, col1_̯2 DESC, col1_6) WHERE (((((😛table1.col1_4 <= e'\\xe29883':::BYTES) AND (😛table1.col1_6 >= (-32768):::INT8)) OR (😛table1."%pcol1_5" >= 'X':::STRING)) AND (😛table1."co\\u1ABDl1_3" >= 32767:::INT8)) OR (😛table1."Co%28l1_0" != (-1):::DECIMAL)) OR (😛table1.col1_1 > '24:00:00':::TIME), UNIQUE (col1_6 ASC) STORING ("co\\u1ABDl1_3") WHERE ((((😛table1.col1_6 != 127:::INT8) AND (😛table1."Co%28l1_0" < '-Infinity':::DECIMAL)) OR (😛table1.col1_1 <= '24:00:00':::TIME)) OR (😛table1."co\\u1ABDl1_3" <= (-128):::INT8)) OR (😛table1."%pcol1_5" < e'\x00':::STRING), INDEX ("Co%28l1_0" ASC, (CASE WHEN col1_4 IS NULL THEN e'k\x03pi\x17':::STRING ELSE 'T':::STRING END)) WHERE 😛table1.col1_4 >= '\x22':::BYTES, INDEX (col1_̯2 DESC, "%pcol1_5", col1_4 ASC) WHERE ((😛table1.col1_6 = 0:::INT8) AND (😛table1."Co%28l1_0" != (-1):::DECIMAL)) AND (😛table1."co\\u1ABDl1_3" > (-128):::INT8) NOT VISIBLE, UNIQUE ("co\\u1ABDl1_3", "Co%28l1_0") WHERE ((((😛table1.col1_4 != e'\\x':::BYTES) OR (😛table1."%pcol1_5" > e'\x00':::STRING)) AND (😛table1.col1_6 > (-9223372036854775807):::INT8)) AND (😛table1.col1_1 > '00:00:00':::TIME)) AND (😛table1."Co%28l1_0" != (-1.234E+401):::DECIMAL), INDEX ("Co%28l1_0" DESC, col1_̯2 DESC, "%pcol1_5" ASC, col1_6) WHERE (😛table1."Co%28l1_0" <= (-1):::DECIMAL) OR (😛table1.col1_4 >= '\x58':::BYTES), FAMILY (col1_4, "co\\u1ABDl1_3", "Co%28l1_0", col1_̯2, col1_6), FAMILY (col1_1));
test_1 | ALTER TABLE 😛table1 INJECT STATISTICS e'[{"avg_size": 13, "columns": ["col1_\u032F2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 485730927, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2000000000}, {"avg_size": 8, "columns": ["\\"co\\\\\\\\u1ABDl1_3\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1571405957, "histo_buckets": [{"distinct_range": 0, "num_eq": 400000000, "num_range": 0, "upper_bound": "-2141402551"}], "histo_col_type": "INT4", "name": "__auto__", "null_count": 0, "row_count": 2000000000}, {"avg_size": 28, "columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 191179166, "histo_buckets": [{"distinct_range": 0, "num_eq": 4809690026338621145, "num_range": 0, "upper_bound": "\\\\x057ba69614"}, {"distinct_range": 1756.501648237376, "num_eq": 541394756129237837, "num_range": 2000, "upper_bound": "\\\\x27fa7b"}, {"distinct_range": 0, "num_eq": 600000, "num_range": 3105111205313909968, "upper_bound": "\\\\x9c50649856401853d4"}, {"distinct_range": 8423617711974576000, "num_eq": 500000, "num_range": 8423617711974576609, "upper_bound": "\\\\xa72f12708abd0a0f5c"}, {"distinct_range": 0, "num_eq": 2688394605746868568, "num_range": 10000000000, "upper_bound": "\\\\xd32d9c5109ba946ded"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 2000000000}, {"avg_size": 13, "columns": ["\\"%pcol1_5\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1251522635, "histo_buckets": [{"distinct_range": 0, "num_eq": 200000000, "num_range": 0, "upper_bound": ""}, {"distinct_range": 0, "num_eq": 2000000, "num_range": 3549264680703008584, "upper_bound": "\\u0003m]Q=&HH\\""}, {"distinct_range": 0, "num_eq": 3067074998971511837, "num_range": 417883226298748455, "upper_bound": "\\rub?u\\u0016By"}, {"distinct_range": 2000, "num_eq": 7168245475783806373, "num_range": 2000, "upper_bound": "-\\u001dp\\u001fc~"}, {"distinct_range": 0, "num_eq": 8591304453230837863, "num_range": 0, "upper_bound": "2\\n\\u001fgho\\u0015"}, {"distinct_range": 3000, "num_eq": 10000000000, "num_range": 3000, "upper_bound": ":DR,B"}, {"distinct_range": 0, "num_eq": 20000000, "num_range": 0, "upper_bound": "M\\\\"}, {"distinct_range": 200000000, "num_eq": 70000000000, "num_range": 200000000, "upper_bound": "T"}, {"distinct_range": 3630421323.136281, "num_eq": 6052911582589458673, "num_range": 10000000000, "upper_bound": "^\\u0005D[^xQ"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 2000000000}, {"avg_size": 4, "columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 689784202, "histo_col_type": "INT8", "name": "__auto__", "null_count": 0, "row_count": 2000000000}, {"avg_size": 14, "columns": ["\\"Co%28l1_0\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1978917119, "histo_buckets": [{"distinct_range": 0, "num_eq": 5000000, "num_range": 0, "upper_bound": "-7.880186233151163854E+29"}, {"distinct_range": 3257743404199263000, "num_eq": 4352524103956994441, "num_range": 3257743404199263078, "upper_bound": "-5.622535193706392122E+27"}, {"distinct_range": 0, "num_eq": 3346734498443413459, "num_range": 0, "upper_bound": "-7716964798779664.45"}, {"distinct_range": 4875305497213777000, "num_eq": 3923487469379350137, "num_range": 4875305497213776673, "upper_bound": "-14.74932980520376723"}, {"distinct_range": 0, "num_eq": 6338463316833890808, "num_range": 2245413055317902767, "upper_bound": "493847705.0295751815"}, {"distinct_range": 1910792993382203100, "num_eq": 10000000000, "num_range": 1910792993382203031, "upper_bound": "46810865715.86357591"}, {"distinct_range": 3177.952201716604, "num_eq": 855420913659366895, "num_range": 4000, "upper_bound": "3.758294803835156017E+22"}, {"distinct_range": 211794026587604740, "num_eq": 100000, "num_range": 561625145457078148, "upper_bound": "2.340497425149340689E+29"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 0, "row_count": 2000000000}, {"avg_size": 7, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1209693506, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2000000000}]':::JSONB;
test_1 | ALTER TABLE 😛table1 INJECT STATISTICS e'[{"avg_size": 19, "columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5077116912909742789, "histo_buckets": [{"distinct_range": 0, "num_eq": 4246056030381262040, "num_range": 0, "upper_bound": "-2209771574506679362"}, {"distinct_range": 0, "num_eq": 9043372199065017756, "num_range": 791834721465135277, "upper_bound": "-1"}, {"distinct_range": 20727419.23347118, "num_eq": 7919134835131580547, "num_range": 40000000, "upper_bound": "6240747258378899776"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 0, "row_count": 6719983478400686040}, {"avg_size": 21, "columns": ["\\"Co%28l1_0\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5618662610341383920, "histo_buckets": [{"distinct_range": 0, "num_eq": 7395352860181565352, "num_range": 0, "upper_bound": "-1.199426843724047136E+24"}, {"distinct_range": 67663410114141060, "num_eq": 6602280966464892710, "num_range": 124496792827413731, "upper_bound": "-0.4069804982976611053"}, {"distinct_range": 0, "num_eq": 3859763281686669996, "num_range": 900, "upper_bound": "5.582728213308060292E+21"}, {"distinct_range": 0, "num_eq": 20000000000, "num_range": 20000000, "upper_bound": "7.369946226677021783E+26"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 0, "row_count": 6719983478400686040}, {"avg_size": 9, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5086891478501594663, "histo_buckets": [{"distinct_range": 0, "num_eq": 100000, "num_range": 0, "upper_bound": "24:00:00"}], "histo_col_type": "TIME", "name": "__auto__", "null_count": 0, "row_count": 6719983478400686040}, {"avg_size": 8, "columns": ["col1_\u032F2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 455835462827541942, "histo_buckets": [{"distinct_range": 0, "num_eq": 200, "num_range": 0, "upper_bound": "212.249.152.175/3"}, {"distinct_range": 0, "num_eq": 1984311794368533565, "num_range": 100, "upper_bound": "154.68.251.153/17"}, {"distinct_range": 636628550259266200, "num_eq": 1320550325666942991, "num_range": 636628550259266119, "upper_bound": "100.114.36.49/29"}, {"distinct_range": 0, "num_eq": 4820063218133923620, "num_range": 0, "upper_bound": "87bb:24f2:509f:97be:c935:8fa0:b713:5fe/57"}, {"distinct_range": 3896528170228068400, "num_eq": 400000, "num_range": 3896528170228068357, "upper_bound": "40be:c261:5c1b:2e0c:a4ea:41d:795f:48ce/80"}, {"distinct_range": 0, "num_eq": 4710985206429586353, "num_range": 100, "upper_bound": "bb0b:5fd3:95da:6af1:c248:ce07:3995:d0d5/114"}, {"distinct_range": 22641790068.150272, "num_eq": 6000, "num_range": 80000000000, "upper_bound": "287e:3913:6921:f0ef:83b:4c7a:6f3d:b314/115"}, {"distinct_range": 22.109351004899764, "num_eq": 2970711628039654027, "num_range": 100, "upper_bound": "9a6:3562:e56f:bbbd:ed69:db0d:400a:cd24/126"}], "histo_col_type": "INET", "name": "__auto__", "null_count": 0, "row_count": 6719983478400686040}, {"avg_size": 28, "columns": ["\\"co\\\\\\\\u1ABDl1_3\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4145279625782072573, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000000, "num_range": 0, "upper_bound": "-1322974548"}, {"distinct_range": 8114673319875955000, "num_eq": 0, "num_range": 8114673319875954832, "upper_bound": "-339956664"}, {"distinct_range": 61404.23926821696, "num_eq": 0, "num_range": 80000, "upper_bound": "355526328"}, {"distinct_range": 3876485664770159600, "num_eq": 3041283528255889877, "num_range": 8592216330439346781, "upper_bound": "376389711"}], "histo_col_type": "INT4", "name": "__auto__", "null_count": 0, "row_count": 6719983478400686040}, {"avg_size": 30, "columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6591250009652334755, "histo_buckets": [{"distinct_range": 0, "num_eq": 70000, "num_range": 0, "upper_bound": "\\\\x22"}, {"distinct_range": 800000, "num_eq": 7343343239365459929, "num_range": 800000, "upper_bound": "\\\\x734139943b9d"}, {"distinct_range": 800000000, "num_eq": 5335554472802835099, "num_range": 800000000, "upper_bound": "\\\\xd10c35bbc16b2f53a8"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 6719983478400686040}, {"avg_size": 28, "columns": ["\\"%pcol1_5\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3746667109423804599, "histo_buckets": [{"distinct_range": 0, "num_eq": 70000000, "num_range": 0, "upper_bound": "-\\u0013S``wV"}, {"distinct_range": 34178166592.312702, "num_eq": 10000000000, "num_range": 40000000000, "upper_bound": "0?<\\u0002r"}, {"distinct_range": 100000, "num_eq": 10000, "num_range": 100000, "upper_bound": "``m3<t\\u0011]h"}, {"distinct_range": 15790478.796327753, "num_eq": 90000000000, "num_range": 200000000, "upper_bound": "~\\u001cF}\\u0002\\u000e"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 6719983478400686040}]':::JSONB;
test_1 |
test_1 | compare_test.go:171: 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:122: exit status 1
--- FAIL: TestComposeCompare (32.97s)
See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)
- #89361 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]
compose.TestComposeCompare failed with artifacts on master @ 2a7edbeb0737b1309064c25c641a309c2980d9ba:
test_1 | )
test_1 | AS tab37072 (col50202, col50203)
test_1 | )
test_1 | AS "ta😀b(37073"
test_1 | ORDER BY
test_1 | col50204 ASC, col50205;
test_1 |
test_1 | postgres:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (
test_1 | SELECT
test_1 | tab37072.col50203 AS col50204, tab37072.col50202 AS col50205
test_1 | FROM
test_1 | (
test_1 | VALUES
test_1 | ('\x44'::BYTEA::BYTEA, NULL::rand_typ_1),
test_1 | ('\x45'::BYTEA::BYTEA, CASE WHEN true::BOOL THEN NULL::rand_typ_1 ELSE NULL::rand_typ_1 END),
test_1 | ('\x41'::BYTEA::BYTEA, CASE WHEN true::BOOL THEN NULL::rand_typ_1 ELSE NULL::rand_typ_1 END),
test_1 | ('\x43'::BYTEA::BYTEA, NULL::rand_typ_1),
test_1 | (NULL::BYTEA, NULL::rand_typ_1)
test_1 | )
test_1 | AS tab37072 (col50202, col50203)
test_1 | )
test_1 | AS "ta😀b(37073"
test_1 | ORDER BY
test_1 | col50204 ASC, col50205;
test_1 |
test_1 | --- FAIL: TestCompare/mutators (0.47s)
test_1 | compare_test.go:139: starting test: mutators
test_1 | compare_test.go:148: initializing connection: cockroach1
test_1 | compare_test.go:148: initializing connection: cockroach2
test_1 | compare_test.go:170: CREATE TABLE "tab
le1" ("co�l1_0" BOOL NOT NULL, col1_1 BIT(9) NOT NULL, col1_2 INT8, " c😌ol1_3" BIT(21) NOT NULL, col1_4 TIMESTAMPTZ NOT NULL, "col1_%q5" INT2 NOT NULL, "co l̸1_6" TIMESTAMPTZ NOT NULL, "col1 _7" BOX2D NOT NULL, col1_8 REGCLASS NOT NULL, col1_9 BIT(14) NOT NULL, col1_10 INT8 NOT NULL AS (col1_2 + 7535412156828151630:::INT8) VIRTUAL, PRIMARY KEY ("co l̸1_6" ASC, col1_10 DESC, col1_8 DESC, "col1_%q5" DESC, col1_1 DESC, col1_4), INDEX (" c😌ol1_3") WHERE ((((("tab
le1".col1_10 > 2147483647:::INT8) OR ("tab
le1".col1_4 <= '2001-01-01 00:00:00+00 BC':::TIMESTAMPTZ)) AND ("tab
le1".col1_2 >= (-9223372036854775807):::INT8)) AND "tab
le1"."co�l1_0") OR ("tab
le1"."col1_%q5" = (-32768):::INT8)) AND ("tab
le1"."co l̸1_6" = '294276-12-31 23:59:59.999999+00':::TIMESTAMPTZ), UNIQUE (col1_4 ASC, "col1 _7" DESC, "co l̸1_6" ASC, col1_8) STORING (" c😌ol1_3", col1_9) WHERE ((((("tab
le1".col1_4 <= '0001-01-01 00:00:00+00':::TIMESTAMPTZ) OR ("tab
le1"."co l̸1_6" < '4714-11-24 00:00:00+00 BC':::TIMESTAMPTZ)) AND "tab
le1"."co�l1_0") AND ("tab
le1".col1_2 < (-32768):::INT8)) OR ("tab
le1"."col1_%q5" < 0:::INT8)) OR ("tab
le1".col1_10 >= 127:::INT8), INDEX (" c😌ol1_3" DESC, "col1_%q5" DESC, col1_1 DESC, col1_10 DESC, "co�l1_0" ASC) WHERE (((("tab
le1"."co l̸1_6" < '3000-01-01 00:00:00+00':::TIMESTAMPTZ) AND ("tab
le1".col1_2 = 127:::INT8)) OR ("tab
le1"."col1_%q5" > 127:::INT8)) AND ("tab
le1".col1_4 != '2001-01-01 00:00:00+00 BC':::TIMESTAMPTZ)) AND (NOT "tab
le1"."co�l1_0"), INDEX (col1_9 ASC, " c😌ol1_3" DESC, col1_4 ASC, "col1_%q5" ASC) STORING (col1_2, "col1 _7"), FAMILY (col1_9, " c😌ol1_3", col1_2, "col1_%q5", col1_8, col1_1), FAMILY ("co�l1_0"), FAMILY ("co l̸1_6", "col1 _7", col1_4));
test_1 | ALTER TABLE "tab
le1" INJECT STATISTICS e'[{"avg_size": 16, "columns": ["\\"co l\u03381_6\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3101473163786998058, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "4714-11-24 00:00:00+00 BC"}, {"distinct_range": 2891596437128276500, "num_eq": 9000000, "num_range": 7659336354841302292, "upper_bound": "1971-01-21 02:56:14.000786+00"}, {"distinct_range": 100000, "num_eq": 1811936306696253405, "num_range": 100000, "upper_bound": "1973-04-24 00:27:01.000088+00"}, {"distinct_range": 1807448.360558307, "num_eq": 90000000000, "num_range": 30000000, "upper_bound": "1982-03-10 13:27:40.0002+00"}, {"distinct_range": 1746541131.25694, "num_eq": 1129294679116978799, "num_range": 10000000000, "upper_bound": "2003-01-22 05:08:01.000064+00"}, {"distinct_range": 0, "num_eq": 0, "num_range": 5561865987919962357, "upper_bound": "2007-08-18 16:46:26.000368+00"}, {"distinct_range": 429824333819160500, "num_eq": 2000, "num_range": 429824333819160510, "upper_bound": "2011-12-30 07:52:48.000688+00"}, {"distinct_range": 70000000000, "num_eq": 4224974758677083877, "num_range": 70000000000, "upper_bound": "2015-08-16 08:04:39.00081+00"}, {"distinct_range": 1215112160493596200, "num_eq": 40000, "num_range": 2473524297131440899, "upper_bound": "2016-01-29 06:53:16.000517+00"}], "histo_col_type": "TIMESTAMPTZ", "name": "__auto__", "null_count": 0, "row_count": 7690653724105485232}, {"avg_size": 6, "columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2034993673370654686, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7690653724105485232}, {"avg_size": 12, "columns": ["\\" c\U0001F60Col1_3\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5998416329042375082, "histo_buckets": [{"distinct_range": 0, "num_eq": 30, "num_range": 0, "upper_bound": "000000011101110010101"}], "histo_col_type": "BIT(21)", "name": "__auto__", "null_count": 0, "row_count": 7690653724105485232}, {"avg_size": 18, "columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5926497292382398966, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7690653724105485232}, {"avg_size": 13, "columns": ["\\"col1_%q5\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2733176019061809379, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7690653724105485232}, {"avg_size": 25, "columns": ["\\"col1 _7\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6520343971262324026, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7690653724105485232}, {"avg_size": 9, "columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5262449523637085864, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7690653724105485232}, {"avg_size": 7, "columns": ["\\"co\\u000cl1_0\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7438637140142932531, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7690653724105485232}, {"avg_size": 30, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2613305419240536017, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7690653724105485232}, {"avg_size": 22, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1511801641562013155, "histo_col_type": "", "name": "__auto__", "null_count": 6079802818263747451, "row_count": 7690653724105485232}, {"avg_size": 20, "columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2356530227990940572, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7690653724105485232}]':::JSONB;
test_1 | ALTER TABLE "tab
le1" INJECT STATISTICS e'[{"avg_size": 13, "columns": ["\\"co\\u000cl1_0\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 66, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2000}, {"avg_size": 20, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1056, "histo_col_type": "", "name": "__auto__", "null_count": 614, "row_count": 2000}, {"avg_size": 6, "columns": ["\\" c\U0001F60Col1_3\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 777, "histo_buckets": [{"distinct_range": 0, "num_eq": 505799109002473200, "num_range": 0, "upper_bound": "011100011011100000101"}, {"distinct_range": 300, "num_eq": 800000000, "num_range": 300, "upper_bound": "101110101100101110101"}], "histo_col_type": "BIT(21)", "name": "__auto__", "null_count": 0, "row_count": 2000}, {"avg_size": 2, "columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1588, "histo_buckets": [{"distinct_range": 0, "num_eq": 7466531100397336169, "num_range": 0, "upper_bound": "1981-12-11 18:17:11.000756+00"}, {"distinct_range": 526830.9697609701, "num_eq": 0, "num_range": 1000000, "upper_bound": "1992-06-13 17:29:09.000141+00"}, {"distinct_range": 0, "num_eq": 1961134266890134968, "num_range": 9009621947968082638, "upper_bound": "1999-05-15 00:04:43.000782+00"}, {"distinct_range": 0, "num_eq": 1000000000, "num_range": 200000, "upper_bound": "2009-03-17 01:03:39.000954+00"}, {"distinct_range": 0, "num_eq": 70000000, "num_range": 900, "upper_bound": "2029-10-10 09:13:15.000762+00"}, {"distinct_range": 39577530273.56657, "num_eq": 3057225757184171333, "num_range": 100000000000, "upper_bound": "2030-08-29 08:52:06.000072+00"}, {"distinct_range": 0, "num_eq": 50, "num_range": 900000, "upper_bound": "2032-02-27 11:23:04.000048+00"}, {"distinct_range": 1235231624300297700, "num_eq": 0, "num_range": 1235231624300297704, "upper_bound": "3000-01-01 00:00:00+00"}], "histo_col_type": "TIMESTAMPTZ", "name": "__auto__", "null_count": 0, "row_count": 2000}, {"avg_size": 8, "columns": ["\\"col1_%q5\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1731, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2000}, {"avg_size": 17, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1048, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2000}, {"avg_size": 10, "columns": ["\\"co l\u03381_6\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 506, "histo_buckets": [{"distinct_range": 0, "num_eq": 200000000, "num_range": 0, "upper_bound": "1984-10-02 16:05:17.000153+00"}, {"distinct_range": 67369816227.6198, "num_eq": 200, "num_range": 70000000000, "upper_bound": "1988-06-15 09:53:52.000337+00"}], "histo_col_type": "TIMESTAMPTZ", "name": "__auto__", "null_count": 0, "row_count": 2000}, {"avg_size": 27, "columns": ["\\"col1 _7\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 314, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2000}, {"avg_size": 8, "columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 560, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2000}, {"avg_size": 9, "columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 799, "histo_buckets": [{"distinct_range": 0, "num_eq": 965224788530443932, "num_range": 0, "upper_bound": "00001111011010"}, {"distinct_range": 5299808633045869000, "num_eq": 100000, "num_range": 5299808633045868088, "upper_bound": "00101000100110"}, {"distinct_range": 189.94903999502978, "num_eq": 4934714483564946402, "num_range": 600, "upper_bound": "01011011110000"}, {"distinct_range": 1000000000, "num_eq": 3634383126144422260, "num_range": 1000000000, "upper_bound": "01111111111111"}, {"distinct_range": 0, "num_eq": 9067321187178537550, "num_range": 3515432429488187705, "upper_bound": "11001111010000"}, {"distinct_range": 981875614604346500, "num_eq": 500, "num_range": 6322398183981279626, "upper_bound": "11101011100100"}, {"distinct_range": 900000000, "num_eq": 50000000, "num_range": 900000000, "upper_bound": "11111110011100"}, {"distinct_range": 2827.099617447631, "num_eq": 2346016198624748107, "num_range": 7000, "upper_bound": "11111111110001"}], "histo_col_type": "BIT(14)", "name": "__auto__", "null_count": 0, "row_count": 2000}, {"avg_size": 5, "columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1791, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2000}]':::JSONB;
test_1 |
test_1 | compare_test.go:171: 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_cockroach1_1 ...
Stopping compare_postgres_1 ...
Stopping compare_postgres_1 ... done
Stopping compare_cockroach2_1 ... done
Stopping compare_cockroach1_1 ... done
Aborting on container exit...
compose_test.go:122: exit status 1
--- FAIL: TestComposeCompare (59.82s)
See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)
- #89361 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]
compose.TestComposeCompare failed with artifacts on master @ 2a7edbeb0737b1309064c25c641a309c2980d9ba:
test_1 | - string("J4096.0000000000000000"),
test_1 | + string("J4096"),
test_1 | }))
test_1 | cockroach1:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (
test_1 | SELECT
test_1 | ('J':::STRING::STRING::STRING || (8:::DECIMAL::DECIMAL::DECIMAL ^ 4:::INT8::INT8::INT8)::DECIMAL::DECIMAL)::STRING
test_1 | AS col41752
test_1 | )
test_1 | AS " tab
28932"
test_1 | ORDER BY
test_1 | col41752;
test_1 |
test_1 | postgres:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (
test_1 | SELECT
test_1 | ('J'::TEXT::TEXT::TEXT || (8::DECIMAL::DECIMAL::DECIMAL ^ 4::INT8::INT8::INT8)::DECIMAL::DECIMAL)::TEXT
test_1 | AS col41752
test_1 | )
test_1 | AS " tab
28932"
test_1 | ORDER BY
test_1 | col41752;
test_1 |
test_1 | --- FAIL: TestCompare/mutators (0.31s)
test_1 | compare_test.go:139: starting test: mutators
test_1 | compare_test.go:148: initializing connection: cockroach1
test_1 | compare_test.go:148: initializing connection: cockroach2
test_1 | compare_test.go:170: CREATE TABLE table😙1 (col1_0 INET NULL, col1_1 INTERVAL NOT NULL, col1_2 OID, col1_3 JSONB NOT NULL, "col1%p_4" FLOAT8 NOT NULL, "col*1_5" REGCLASS, col1_6 UUID NOT NULL, col1_7 TIMESTAMPTZ NOT NULL, "%pco l%p1_8" JSONB NOT NULL, "co l1_9" REGTYPE, col1_10 UUID NOT NULL, col1_11 INT8 NOT NULL, col͔1_12 REGNAMESPACE NULL, "col1\\U90433FA8_13" INT8 NOT NULL, col1_14 OID, col1_15 INET NULL, INDEX ("col1\\U90433FA8_13" DESC) WHERE (((table😙1."col1%p_4" != 0.0:::FLOAT8) OR (table😙1.col1_11 > 32767:::INT8)) AND (table😙1.col1_7 != '3000-01-01 00:00:00+00':::TIMESTAMPTZ)) AND (table😙1."col1\\U90433FA8_13" = (-9223372036854775807):::INT8), FAMILY (col1_2, "col1%p_4"), FAMILY (col1_11), FAMILY (col1_7), FAMILY ("col1\\U90433FA8_13"), FAMILY ("col*1_5"), FAMILY (col1_0, col1_1, col1_6), FAMILY (col͔1_12), FAMILY (col1_10, col1_3), FAMILY ("%pco l%p1_8", "co l1_9", col1_14, col1_15));
test_1 | ALTER TABLE table😙1 INJECT STATISTICS e'[{"avg_size": 24, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1393615, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2000000}, {"avg_size": 20, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 496315, "histo_col_type": "", "name": "__auto__", "null_count": 1334770, "row_count": 2000000}, {"avg_size": 6, "columns": ["\\"col1%p_4\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1662564, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2000000}, {"avg_size": 18, "columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1187262, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2000000}, {"avg_size": 15, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1170445, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2000000}, {"avg_size": 10, "columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 79744, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2000000}, {"avg_size": 3, "columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1389356, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2000000}, {"avg_size": 6, "columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1445220, "histo_col_type": "", "name": "__auto__", "null_count": 1781491, "row_count": 2000000}, {"avg_size": 1, "columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1765304, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2000000}, {"avg_size": 18, "columns": ["\\"co l1_9\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1777858, "histo_col_type": "", "name": "__auto__", "null_count": 941117, "row_count": 2000000}, {"avg_size": 1, "columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 157300, "histo_col_type": "", "name": "__auto__", "null_count": 378100, "row_count": 2000000}, {"avg_size": 1, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 272858, "histo_col_type": "", "name": "__auto__", "null_count": 595041, "row_count": 2000000}, {"avg_size": 16, "columns": ["\\"col*1_5\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 294042, "histo_col_type": "", "name": "__auto__", "null_count": 624761, "row_count": 2000000}, {"avg_size": 12, "columns": ["\\"%pco l%p1_8\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1475260, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2000000}, {"avg_size": 11, "columns": ["col\u03541_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 550676, "histo_col_type": "", "name": "__auto__", "null_count": 472871, "row_count": 2000000}, {"avg_size": 12, "columns": ["\\"col1\\\\\\\\U90433FA8_13\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1463385, "histo_buckets": [{"distinct_range": 0, "num_eq": 800000, "num_range": 0, "upper_bound": "-8446701896490213570"}, {"distinct_range": 3166652974.848413, "num_eq": 5469610384270237237, "num_range": 9000000000, "upper_bound": "-5319970154310134853"}, {"distinct_range": 0, "num_eq": 20, "num_range": 4381457473672412420, "upper_bound": "-3397509235100783320"}, {"distinct_range": 0, "num_eq": 1000000, "num_range": 2495625273084188957, "upper_bound": "-2212517297715958437"}, {"distinct_range": 1838.4319057650189, "num_eq": 8925695402842326562, "num_range": 2000, "upper_bound": "-836019501606156141"}, {"distinct_range": 2108.0661237333657, "num_eq": 600000000, "num_range": 3000, "upper_bound": "1"}, {"distinct_range": 3583077997506297000, "num_eq": 200, "num_range": 3583077997506296910, "upper_bound": "659998699804870216"}, {"distinct_range": 1985.9775127516366, "num_eq": 300000000, "num_range": 4000, "upper_bound": "4073248926594553665"}, {"distinct_range": 6108178565776123000, "num_eq": 100, "num_range": 6108178565776123090, "upper_bound": "6073375027313481734"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 0, "row_count": 2000000}]':::JSONB;
test_1 | ALTER TABLE table😙1 INJECT STATISTICS e'[{"avg_size": 22, "columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 559020, "histo_col_type": "", "name": "__auto__", "null_count": 932644, "row_count": 6000000}, {"avg_size": 15, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4502943, "histo_col_type": "", "name": "__auto__", "null_count": 4664569, "row_count": 6000000}, {"avg_size": 22, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1069501, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6000000}, {"avg_size": 31, "columns": ["\\"col*1_5\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1090430, "histo_col_type": "", "name": "__auto__", "null_count": 2610891, "row_count": 6000000}, {"avg_size": 13, "columns": ["col\u03541_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2694012, "histo_col_type": "", "name": "__auto__", "null_count": 4647037, "row_count": 6000000}, {"avg_size": 20, "columns": ["\\"col1\\\\\\\\U90433FA8_13\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2057194, "histo_buckets": [{"distinct_range": 0, "num_eq": 2771694991074789576, "num_range": 0, "upper_bound": "-2725324941316486490"}, {"distinct_range": 36507.232224767875, "num_eq": 200000000, "num_range": 300000, "upper_bound": "-1702108046172089319"}, {"distinct_range": 500, "num_eq": 3017828189721726827, "num_range": 500, "upper_bound": "-1"}, {"distinct_range": 3000000, "num_eq": 7034375524813938946, "num_range": 3000000, "upper_bound": "3240326168677269818"}, {"distinct_range": 3052159706162682000, "num_eq": 1000, "num_range": 4643070496320899099, "upper_bound": "7543929538879075762"}, {"distinct_range": 5979736047.144327, "num_eq": 0, "num_range": 7000000000, "upper_bound": "7564659887487149355"}, {"distinct_range": 400000000, "num_eq": 20, "num_range": 400000000, "upper_bound": "8776821128429365011"}, {"distinct_range": 104675618570326700, "num_eq": 30000000, "num_range": 118634645122869456, "upper_bound": "9013595393455771299"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 0, "row_count": 6000000}, {"avg_size": 3, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2477973, "histo_col_type": "", "name": "__auto__", "null_count": 5059161, "row_count": 6000000}, {"avg_size": 29, "columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2601338, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6000000}, {"avg_size": 31, "columns": ["\\"%pco l%p1_8\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5532101, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6000000}, {"avg_size": 30, "columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1023519, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6000000}, {"avg_size": 29, "columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2569353, "histo_col_type": "", "name": "__auto__", "null_count": 140877, "row_count": 6000000}, {"avg_size": 13, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 475132, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6000000}, {"avg_size": 11, "columns": ["\\"col1%p_4\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5732929, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6000000}, {"avg_size": 5, "columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 501039, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6000000}, {"avg_size": 11, "columns": ["\\"co l1_9\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3339433, "histo_col_type": "", "name": "__auto__", "null_count": 2306025, "row_count": 6000000}, {"avg_size": 15, "columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 60400, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6000000}]':::JSONB;
test_1 |
test_1 | compare_test.go:171: 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:122: exit status 1
--- FAIL: TestComposeCompare (55.56s)
See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)
- #89361 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]
compose.TestComposeCompare failed with artifacts on master @ 31365e21dc606cdc1e4302c86192ffc5a6cf1255:
postgres_1 |
postgres_1 | waiting for server to shut down...2023-02-14 06:14:53.455 UTC [49] LOG: received fast shutdown request
postgres_1 | .2023-02-14 06:14:53.456 UTC [49] LOG: aborting any active transactions
postgres_1 | 2023-02-14 06:14:53.458 UTC [49] LOG: background worker "logical replication launcher" (PID 56) exited with exit code 1
postgres_1 | 2023-02-14 06:14:53.460 UTC [51] LOG: shutting down
postgres_1 | 2023-02-14 06:14:53.552 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 | 2023-02-14 06:14:53.572 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 | 2023-02-14 06:14:53.572 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
postgres_1 | 2023-02-14 06:14:53.572 UTC [1] LOG: listening on IPv6 address "::", port 5432
postgres_1 | 2023-02-14 06:14:53.575 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres_1 | 2023-02-14 06:14:53.580 UTC [68] LOG: database system was shut down at 2023-02-14 06:14:53 UTC
postgres_1 | 2023-02-14 06:14:53.584 UTC [1] LOG: database system is ready to accept connections
postgres_1 | 2023-02-14 06:14:55.044 UTC [78] ERROR: syntax error at or near "DESC" at character 111
postgres_1 | 2023-02-14 06:14:55.044 UTC [78] STATEMENT: CREATE TABLE table2 ("col.2_0" JSONB NOT NULL, col2_1 BOX2D NOT NULL, col2_2 REGCLASS, INVERTED INDEX (col2_2 DESC, "col.2_0" ASC))
test_1 | --- FAIL: TestCompare (4.40s)
test_1 | compare_test.go:130: Checking connection to: postgres
test_1 | compare_test.go:130: Checking connection to: cockroach1
test_1 | compare_test.go:130: Checking connection to: cockroach2
test_1 | --- FAIL: TestCompare/postgres (0.75s)
test_1 | compare_test.go:139: starting test: postgres
test_1 | compare_test.go:148: initializing connection: cockroach1
test_1 | compare_test.go:148: initializing connection: postgres
test_1 | compare_test.go:170: CREATE TABLE table2 ("col.2_0" JSONB NOT NULL, col2_1 BOX2D NOT NULL, col2_2 REGCLASS, INVERTED INDEX (col2_2 DESC, "col.2_0" ASC))
test_1 | compare_test.go:171: postgres: exec: ERROR: syntax error at or near "DESC" (SQLSTATE 42601)
test_1 | --- FAIL: TestCompare/mutators (0.52s)
test_1 | compare_test.go:139: starting test: mutators
test_1 | compare_test.go:148: initializing connection: cockroach1
test_1 | compare_test.go:148: initializing connection: cockroach2
test_1 | compare_test.go:170: CREATE TABLE "t\\u593Eable1" ("col1_ 0" REGCLASS NOT NULL, "co
l1_😐1" GEOMETRY NOT NULL, col1_2 UUID NOT NULL, "c̉ol1_%3" UUID NOT NULL, col͐1_4 FLOAT4 NOT NULL, INDEX ((CASE WHEN "col1_ 0" IS NULL THEN e'A\x13FZ9\x04\x17':::STRING ELSE '-0/)<':::STRING END) ASC, "c̉ol1_%3", "col1_ 0") STORING ("co
l1_😐1", col1_2) WHERE "t\\u593Eable1".col͐1_4 <= 3.4028234663852886e+38:::FLOAT8, UNIQUE ("col1_ 0") WHERE "t\\u593Eable1".col͐1_4 > 'NaN':::FLOAT8, FAMILY ("co
l1_😐1", col1_2), FAMILY ("col1_ 0", col͐1_4), FAMILY ("c̉ol1_%3"));
test_1 | ALTER TABLE "t\\u593Eable1" INJECT STATISTICS e'[{"avg_size": 8, "columns": ["\\"c\u0309ol1_%3\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1425343479769877802, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2952335160433024053}, {"avg_size": 24, "columns": ["col\u03501_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 83980193651272258, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2952335160433024053}, {"avg_size": 12, "columns": ["\\"col1_ 0\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1547829682629902521, "histo_buckets": [{"distinct_range": 0, "num_eq": 5084261412994916551, "num_range": 0, "upper_bound": "2673262732"}, {"distinct_range": 60, "num_eq": 3876895465268336630, "num_range": 60, "upper_bound": "3634324247"}, {"distinct_range": 0, "num_eq": 5882627130713281271, "num_range": 50000000000, "upper_bound": "4287721074"}], "histo_col_type": "REGCLASS", "name": "__auto__", "null_count": 0, "row_count": 2952335160433024053}, {"avg_size": 17, "columns": ["\\"co\\rl1_\U0001F6101\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2146964689426351552, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2952335160433024053}, {"avg_size": 19, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2000827427233091571, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2952335160433024053}]':::JSONB;
test_1 | ALTER TABLE "t\\u593Eable1" INJECT STATISTICS e'[{"avg_size": 30, "columns": ["\\"col1_ 0\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1909611381, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6000000000}, {"avg_size": 26, "columns": ["\\"co\\rl1_\U0001F6101\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 349497642, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6000000000}, {"avg_size": 30, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5009548908, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6000000000}, {"avg_size": 0, "columns": ["\\"c\u0309ol1_%3\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2997608524, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6000000000}, {"avg_size": 17, "columns": ["col\u03501_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4460609594, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6000000000}]':::JSONB;
test_1 |
test_1 | compare_test.go:171: 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_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:122: exit status 1
--- FAIL: TestComposeCompare (17.78s)
See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)
- #89361 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]
compose.TestComposeCompare failed with artifacts on master @ 64a867acd25c0a214209957eefb6483d1158b4f0:
test_1 | compare_test.go:130: Checking connection to: cockroach1
test_1 | compare_test.go:130: Checking connection to: cockroach2
test_1 | compare_test.go:130: Checking connection to: postgres
test_1 | --- FAIL: TestCompare/postgres (0.00s)
test_1 | compare_test.go:139: 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 50 [running]:
test_1 | testing.tRunner.func1.2({0x1f2b8a0, 0xc001f2f400})
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({0x1f2b8a0, 0xc001f2f400})
test_1 | GOROOT/src/runtime/panic.go:884 +0x212
test_1 | github.com/cockroachdb/cockroach/pkg/sql/randgen.encodeInvertedIndexHistogramUpperBounds(0x3e9d200?, {0x2d1c3e8?, 0xc001f56ff0?})
test_1 | github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:371 +0x445
test_1 | github.com/cockroachdb/cockroach/pkg/sql/randgen.randHistogram(0x2ce9800?, 0x3e9d200)
test_1 | github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:304 +0x13c
test_1 | github.com/cockroachdb/cockroach/pkg/sql/randgen.statisticsMutator.func1(0xc002172300)
test_1 | github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:221 +0x92
test_1 | github.com/cockroachdb/cockroach/pkg/sql/randgen.statisticsMutator(0xc001f56b40, {0xc001f56b70?, 0x3, 0xc00006ff68?})
test_1 | github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:254 +0x71f
test_1 | github.com/cockroachdb/cockroach/pkg/sql/randgen.MultiStatementMutation.Mutate(0xc001f8f990?, 0x20e5c5d?, {0xc001f56b70?, 0x1d9d0a0?, 0xc001f56b01?})
test_1 | github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:98 +0x2e
test_1 | github.com/cockroachdb/cockroach/pkg/sql/randgen.RandCreateTables(0x1d9d0a0?, {0x20e5c5d, 0x5}, 0x3, 0xbf?, {0xc000395a58, 0x3, 0x322757b?})
test_1 | github.com/cockroachdb/cockroach/pkg/sql/randgen/schema.go:93 +0x16a
test_1 | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.randTablesN(0x284bad15dd91d838?, 0x284bad15dd91d838?)
test_1 | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/setup.go:87 +0x186
test_1 | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.randTables(0xc00050ca00?)
test_1 | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/setup.go:76 +0x33
test_1 | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.wrapCommonSetup.func1(0xc00033bba0?)
test_1 | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/setup.go:49 +0x22
test_1 | github.com/cockroachdb/cockroach/pkg/compose/compare/compare.TestCompare.func2(0xc00033bba0)
test_1 | github.com/cockroachdb/cockroach/pkg/compose/compare/compare/compare_test.go:141 +0xe5
test_1 | testing.tRunner(0xc00033bba0, 0xc001f56ab0)
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_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:122: exit status 2
--- FAIL: TestComposeCompare (16.21s)
See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)
- #89361 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]
compose.TestComposeCompare failed with artifacts on master @ a0ab818e89508ca0b65926a4faac4c563d114acf:
test_1 | compare_test.go:130: Checking connection to: cockroach1
test_1 | compare_test.go:130: Checking connection to: cockroach2
test_1 | compare_test.go:130: Checking connection to: postgres
test_1 | --- FAIL: TestCompare/postgres (0.00s)
test_1 | compare_test.go:139: 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 23 [running]:
test_1 | testing.tRunner.func1.2({0x1f30c80, 0xc001ed4a20})
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({0x1f30c80, 0xc001ed4a20})
test_1 | GOROOT/src/runtime/panic.go:884 +0x212
test_1 | github.com/cockroachdb/cockroach/pkg/sql/randgen.encodeInvertedIndexHistogramUpperBounds(0x3ea6200?, {0x2d22cc8?, 0xc001eb34d0?})
test_1 | github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:371 +0x445
test_1 | github.com/cockroachdb/cockroach/pkg/sql/randgen.randHistogram(0x2cf0080?, 0x3ea6200)
test_1 | github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:304 +0x13c
test_1 | github.com/cockroachdb/cockroach/pkg/sql/randgen.statisticsMutator.func1(0xc001c80780)
test_1 | github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:221 +0x92
test_1 | github.com/cockroachdb/cockroach/pkg/sql/randgen.statisticsMutator(0xc001eb25d0, {0xc001b99fe0?, 0x2, 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(0xc001ed1990?, 0x20eb6a5?, {0xc001b99fe0?, 0x1da1b60?, 0xc001eb2501?})
test_1 | github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:98 +0x2e
test_1 | github.com/cockroachdb/cockroach/pkg/sql/randgen.RandCreateTables(0x1da1b60?, {0x20eb6a5, 0x5}, 0x2, 0xbf?, {0xc00178fa58, 0x3, 0x322f121?})
test_1 | github.com/cockroachdb/cockroach/pkg/sql/randgen/schema.go:93 +0x16a
test_1 | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.randTablesN(0x603dc0fb7752cce0?, 0x603dc0fb7752cce0?)
test_1 | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/setup.go:87 +0x186
test_1 | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.randTables(0xc00050ca00?)
test_1 | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/setup.go:76 +0x33
test_1 | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.wrapCommonSetup.func1(0xc001ec8000?)
test_1 | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/setup.go:49 +0x22
test_1 | github.com/cockroachdb/cockroach/pkg/compose/compare/compare.TestCompare.func2(0xc001ec8000)
test_1 | github.com/cockroachdb/cockroach/pkg/compose/compare/compare/compare_test.go:141 +0xe5
test_1 | testing.tRunner(0xc001ec8000, 0xc001eb2540)
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:122: exit status 2
--- FAIL: TestComposeCompare (16.12s)
See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)
- #89361 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]
compose.TestComposeCompare failed with artifacts on master @ 7e2df35a2f6bf7a859bb0539c8ca43c4e72ed260:
test_1 | tab6824.col🙄9254 AS "
test_1 | col9255"
test_1 | FROM
test_1 | (VALUES (3:::INT8::INT4), (3:::INT8::INT4), (NULL::INT4), (7:::INT8::INT4), (NULL::INT4))
test_1 | AS tab6824 (col🙄9254)
test_1 | ORDER BY
test_1 | tab6824.col🙄9254 DESC NULLS LAST,
test_1 | tab6824.col🙄9254 NULLS FIRST,
test_1 | tab6824.col🙄9254 DESC,
test_1 | tab6824.col🙄9254 ASC NULLS FIRST
test_1 | )
test_1 | AS tab6825
test_1 | ORDER BY
test_1 | "
test_1 | col9255";
test_1 |
test_1 | postgres:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (
test_1 | SELECT
test_1 | tab6824.col🙄9254 AS "
test_1 | col9255"
test_1 | FROM
test_1 | (VALUES (3::INT8::INT4), (3::INT8::INT4), (NULL::INT4), (7::INT8::INT4), (NULL::INT4))
test_1 | AS tab6824 (col🙄9254)
test_1 | ORDER BY
test_1 | tab6824.col🙄9254 DESC NULLS LAST,
test_1 | tab6824.col🙄9254 NULLS FIRST,
test_1 | tab6824.col🙄9254 DESC,
test_1 | tab6824.col🙄9254 ASC NULLS FIRST
test_1 | )
test_1 | AS tab6825
test_1 | ORDER BY
test_1 | "
test_1 | col9255";
test_1 |
test_1 | FAIL
compare_test_1 exited with code 1
Stopping compare_postgres_1 ...
Stopping compare_cockroach1_1 ...
Stopping compare_cockroach2_1 ...
Stopping compare_postgres_1 ... done
Stopping compare_cockroach2_1 ... done
Stopping compare_cockroach1_1 ... done
Aborting on container exit...
compose_test.go:122: exit status 1
--- FAIL: TestComposeCompare (32.89s)
See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)
- #89361 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]
compose.TestComposeCompare failed with artifacts on master @ c95bef097bd4c213c6b5c0c125a9a846c4479d73:
test_1 | compare_test.go:148: initializing connection: postgres
test_1 | compare_test.go:170: CREATE TABLE "t\\U000CB1ABable1" ("co�l1_0" GEOMETRY, col1_1 TIMETZ, col1😩_2 GEOMETRY NULL, col1_3 UUID NOT NULL, col1_4 VARCHAR NOT NULL, "col1_�😠5" "char" NOT NULL, "c|o😖l1_,6" TSQUERY NOT NULL, col1_7 BOOL, "col 1_8" FLOAT4, "c%56ol1%p_9" INT2, col1_10 INT2 NOT NULL, INVERTED INDEX ((col1_10 + (-1)::INT8) DESC, col1_4 ASC, col1_10 DESC, "col 1_8", col1_3 DESC, "c%56ol1%p_9" DESC, col1_1 ASC, col1_7, "co�l1_0" ASC))
test_1 | compare_test.go:171: postgres: exec: ERROR: syntax error at or near "DESC" (SQLSTATE 42601)
test_1 | --- FAIL: TestCompare/mutators (0.00s)
test_1 | compare_test.go:139: starting test: mutators
test_1 | panic: geos: no locations to init GEOS [recovered]
test_1 | panic: geos: no locations to init GEOS
test_1 |
test_1 | goroutine 27 [running]:
test_1 | testing.tRunner.func1.2({0x1f35280, 0xc0004f99a0})
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({0x1f35280, 0xc0004f99a0})
test_1 | GOROOT/src/runtime/panic.go:884 +0x212
test_1 | github.com/cockroachdb/cockroach/pkg/sql/randgen.encodeInvertedIndexHistogramUpperBounds(0x3eaf200?, {0x2d28f48?, 0xc002097950?})
test_1 | github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:371 +0x445
test_1 | github.com/cockroachdb/cockroach/pkg/sql/randgen.randHistogram(0x2cf6240?, 0x3eaf200)
test_1 | github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:304 +0x13c
test_1 | github.com/cockroachdb/cockroach/pkg/sql/randgen.statisticsMutator.func1(0xc0020a2d80)
test_1 | github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:221 +0x92
test_1 | github.com/cockroachdb/cockroach/pkg/sql/randgen.statisticsMutator(0xc0020960c0, {0xc0020960f0?, 0x3, 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(0xc0004d7990?, 0x20f01e5?, {0xc0020960f0?, 0x1da5e20?, 0xc002096001?})
test_1 | github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:98 +0x2e
test_1 | github.com/cockroachdb/cockroach/pkg/sql/randgen.RandCreateTables(0x1da5e20?, {0x20f01e5, 0x5}, 0x3, 0xbf?, {0xc0021eda58, 0x3, 0x3236492?})
test_1 | github.com/cockroachdb/cockroach/pkg/sql/randgen/schema.go:93 +0x16a
test_1 | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.randTablesN(0x1afb2a3d2c4e8363?, 0x1afb2a3d2c4e8363?)
test_1 | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/setup.go:87 +0x186
test_1 | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.randTables(0xc000298a00?)
test_1 | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/setup.go:76 +0x33
test_1 | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.wrapCommonSetup.func1(0xc0020c6000?)
test_1 | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/setup.go:49 +0x22
test_1 | github.com/cockroachdb/cockroach/pkg/compose/compare/compare.TestCompare.func2(0xc0020c6000)
test_1 | github.com/cockroachdb/cockroach/pkg/compose/compare/compare/compare_test.go:141 +0xe5
test_1 | testing.tRunner(0xc0020c6000, 0xc002096060)
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_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:122: exit status 2
--- FAIL: TestComposeCompare (19.12s)
See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)
- #89361 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]
compose.TestComposeCompare failed with artifacts on master @ 3d054f37c7c87f53cb56fac4e5500f0d1130d09a:
test_1 | )
test_1 | AS "tab\\uE7D841420" (" coL73014")
test_1 | )
test_1 | AS tab41421
test_1 | ORDER BY
test_1 | col73015 DESC;
test_1 |
test_1 | cockroach1:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (
test_1 | SELECT
test_1 | "tab\\uE7D841420"." coL73014" AS col73015
test_1 | FROM
test_1 | (
test_1 | VALUES
test_1 | ('A':::STRING::VARCHAR),
test_1 | (NULL::VARCHAR),
test_1 | ('E':::STRING::VARCHAR),
test_1 | (NULL::VARCHAR),
test_1 | ('F':::STRING::VARCHAR)
test_1 | )
test_1 | AS "tab\\uE7D841420" (" coL73014")
test_1 | )
test_1 | AS tab41421
test_1 | ORDER BY
test_1 | col73015 DESC;
test_1 |
test_1 | --- FAIL: TestCompare/mutators (0.61s)
test_1 | compare_test.go:139: starting test: mutators
test_1 | compare_test.go:148: initializing connection: cockroach1
test_1 | compare_test.go:148: initializing connection: cockroach2
test_1 | compare_test.go:170: CREATE TABLE table1 ("co%ql1_0" JSONB NOT NULL, col1_1 JSONB NOT NULL, col1_2 BIT(39) NOT NULL, col1̢_3 TSQUERY NOT NULL, col1_4 INET NOT NULL, col1_5 GEOGRAPHY NULL, col1_6 STRING NOT NULL AS (lower(CAST(col1_2 AS STRING))) VIRTUAL, col1_7 STRING NOT NULL AS (lower(CAST(col1̢_3 AS STRING))) STORED, col1_8 STRING NULL AS (lower(CAST(col1_5 AS STRING))) STORED, INVERTED INDEX ("co%ql1_0" ASC) WHERE ((table1.col1_8 <= e'\U00002603':::STRING) OR (table1.col1_7 != '':::STRING)) AND (table1.col1_6 != e'\'':::STRING), FAMILY (col1_8), FAMILY (col1_1, col1_7), FAMILY (col1_4, col1_5), FAMILY ("co%ql1_0"), FAMILY (col1̢_3, col1_2));
test_1 | ALTER TABLE table1 INJECT STATISTICS e'[{"avg_size": 22, "columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 39801583936, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40000000000}, {"avg_size": 14, "columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 37051982629, "histo_col_type": "", "name": "__auto__", "null_count": 21732947224, "row_count": 40000000000}, {"avg_size": 26, "columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 24634603713, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40000000000}, {"avg_size": 25, "columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 30620364859, "histo_col_type": "", "name": "__auto__", "null_count": 13117808481, "row_count": 40000000000}, {"avg_size": 29, "columns": ["\\"co%ql1_0\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 14504640221, "histo_buckets": [{"distinct_range": 0, "num_eq": 2000000000, "num_range": 0, "upper_bound": "\\\\x37000300010a"}, {"distinct_range": 0, "num_eq": 100000, "num_range": 1479024901083304478, "upper_bound": "\\\\x37000300010b"}, {"distinct_range": 9000000000, "num_eq": 611236824656351018, "num_range": 9000000000, "upper_bound": "\\\\x3700030001124e58306b6a6c0001"}, {"distinct_range": 161393553618308700, "num_eq": 3000000, "num_range": 197103333876908520, "upper_bound": "\\\\x3700030001291f438d8b9d8517292800"}, {"distinct_range": 0, "num_eq": 2539622491361893228, "num_range": 500, "upper_bound": "\\\\x373875537a76416375000262304b6979775000010b"}, {"distinct_range": 700000000, "num_eq": 3739281329722292455, "num_range": 700000000, "upper_bound": "\\\\x373875537a764163750002666f6f00010b"}, {"distinct_range": 0, "num_eq": 5321911146289791105, "num_range": 41380673927062201, "upper_bound": "\\\\x373875537a76416375000279465a37765244704200010b"}, {"distinct_range": 0, "num_eq": 0, "num_range": 600000000, "upper_bound": "\\\\x375a646300020003000100"}, {"distinct_range": 0, "num_eq": 4000, "num_range": 50000000, "upper_bound": "\\\\x37666f6f62617200012949132f0343176fba00"}, {"distinct_range": 0, "num_eq": 3806413902742304307, "num_range": 800, "upper_bound": "\\\\x376b7062620001294101a507b75d79738c00"}, {"distinct_range": 66939894106.58792, "num_eq": 123433303811146752, "num_range": 70000000000, "upper_bound": "\\\\x376c3200010a"}, {"distinct_range": 1236087.0225625243, "num_eq": 600000, "num_range": 10000000, "upper_bound": "\\\\x377a35516b575644000262617a000100"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 40000000000}, {"avg_size": 29, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5356913124, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40000000000}, {"avg_size": 16, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 35341091825, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40000000000}, {"avg_size": 6, "columns": ["col1\u0322_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7913889562, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40000000000}, {"avg_size": 25, "columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 24245431532, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40000000000}]':::JSONB;
test_1 | ALTER TABLE table1 INJECT STATISTICS e'[{"avg_size": 20, "columns": ["\\"co%ql1_0\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3544, "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 7000}, {"avg_size": 25, "columns": ["col1\u0322_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3253, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7000}, {"avg_size": 7, "columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2386, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7000}, {"avg_size": 2, "columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 960, "histo_col_type": "", "name": "__auto__", "null_count": 1995, "row_count": 7000}, {"avg_size": 6, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2447, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7000}, {"avg_size": 15, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3391, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7000}, {"avg_size": 24, "columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5617, "histo_col_type": "", "name": "__auto__", "null_count": 558, "row_count": 7000}, {"avg_size": 8, "columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6286, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7000}, {"avg_size": 8, "columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6607, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7000}]':::JSONB;
test_1 |
test_1 | compare_test.go:171: 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:122: exit status 1
--- FAIL: TestComposeCompare (76.46s)
See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)
- #89361 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]
compose.TestComposeCompare failed with artifacts on master @ e9c96e7179e19aae2f8d386f67eb950db8c3354b:
postgres_1 | 2023-02-20 06:17:16.567 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres_1 | 2023-02-20 06:17:16.572 UTC [68] LOG: database system was shut down at 2023-02-20 06:17:16 UTC
postgres_1 | 2023-02-20 06:17:16.576 UTC [1] LOG: database system is ready to accept connections
postgres_1 | 2023-02-20 06:17:17.640 UTC [78] ERROR: invalid byte sequence for encoding "UTF8": 0x00
postgres_1 | 2023-02-20 06:17:17.640 UTC [78] STATEMENT: CREATE TABLE table1 ("co\nl1_0" OID, "col 1_1" BYTEA NULL, col1_2 REGTYPE NULL, "c
postgres_1 | ol1_3" GEOGRAPHY NULL, "col1)_4" INTERVAL NULL, col1_5 TEXT NULL GENERATED ALWAYS AS (lower(CAST("c
postgres_1 | ol1_3" AS TEXT))) STORED, col1_6 TEXT NULL GENERATED ALWAYS AS (CASE WHEN "col1)_4" IS NULL THEN 'ESPc'::TEXT ELSE e'\x00'::TEXT END) STORED, col1_7 TEXT NULL GENERATED ALWAYS AS (lower(CAST("c
postgres_1 | ol1_3" AS TEXT))) STORED, col1_8 TEXT GENERATED ALWAYS AS (lower(CAST("co\nl1_0" AS TEXT))) STORED);
postgres_1 | CREATE UNIQUE INDEX ON table1 (col1_8 DESC, col1_2);
postgres_1 | CREATE UNIQUE INDEX ON table1 (lower(CAST("co\nl1_0" AS TEXT)) ASC, "col1)_4", (CASE WHEN "col1)_4" IS NULL THEN e'\x1513\x16\x13X)m'::TEXT ELSE e'W"h\x1f\x19'::TEXT END) ASC);
postgres_1 | CREATE INDEX ON table1 (col1_8);
postgres_1 |
test_1 | --- FAIL: TestCompare (4.36s)
test_1 | compare_test.go:130: Checking connection to: postgres
test_1 | compare_test.go:130: Checking connection to: cockroach1
test_1 | compare_test.go:130: Checking connection to: cockroach2
test_1 | --- FAIL: TestCompare/postgres (0.80s)
test_1 | compare_test.go:139: starting test: postgres
test_1 | compare_test.go:148: initializing connection: cockroach1
test_1 | compare_test.go:148: initializing connection: postgres
test_1 | compare_test.go:170: CREATE TABLE table1 ("co\nl1_0" OID, "col 1_1" BYTEA NULL, col1_2 REGTYPE NULL, "c
test_1 | ol1_3" GEOGRAPHY NULL, "col1)_4" INTERVAL NULL, col1_5 TEXT NULL GENERATED ALWAYS AS (lower(CAST("c
test_1 | ol1_3" AS TEXT))) STORED, col1_6 TEXT NULL GENERATED ALWAYS AS (CASE WHEN "col1)_4" IS NULL THEN 'ESPc'::TEXT ELSE e'\x00'::TEXT END) STORED, col1_7 TEXT NULL GENERATED ALWAYS AS (lower(CAST("c
test_1 | ol1_3" AS TEXT))) STORED, col1_8 TEXT GENERATED ALWAYS AS (lower(CAST("co\nl1_0" AS TEXT))) STORED);
test_1 | CREATE UNIQUE INDEX ON table1 (col1_8 DESC, col1_2);
test_1 | CREATE UNIQUE INDEX ON table1 (lower(CAST("co\nl1_0" AS TEXT)) ASC, "col1)_4", (CASE WHEN "col1)_4" IS NULL THEN e'\x1513\x16\x13X)m'::TEXT ELSE e'W"h\x1f\x19'::TEXT END) ASC);
test_1 | CREATE INDEX ON table1 (col1_8);
test_1 |
test_1 | compare_test.go:171: postgres: exec: ERROR: invalid byte sequence for encoding "UTF8": 0x00 (SQLSTATE 22021)
test_1 | --- FAIL: TestCompare/mutators (0.43s)
test_1 | compare_test.go:139: starting test: mutators
test_1 | compare_test.go:148: initializing connection: cockroach1
test_1 | compare_test.go:148: initializing connection: cockroach2
test_1 | compare_test.go:170: CREATE TABLE table1 (col1_0 INT4 NOT NULL, col1_1 GEOMETRY NOT NULL, col1_2 TIMESTAMPTZ, "c%0fol1_%q3" NAME NOT NULL, INVERTED INDEX ("c%0fol1_%q3", col1_1 ASC) PARTITION BY LIST ("c%0fol1_%q3") (PARTITION table1_part0 VALUES IN ((e'Xr/\x11':::STRING:::NAME,), (e'\x7fh~Qvp':::STRING:::NAME,), (e'\x02\x05>|':::STRING:::NAME,)), PARTITION "table1_ part1" VALUES IN (('2':::STRING:::NAME,), ('wWY|2':::STRING:::NAME,), (e'\x1dj0_\x1be':::STRING:::NAME,)), PARTITION table1_part2 VALUES IN ((e'+\x01\x0bJ':::STRING:::NAME,), ('X':::STRING:::NAME,), ('x:D#c3':::STRING:::NAME,)), PARTITION "Table1_part3" VALUES IN ((e'\x07|B;}[':::STRING:::NAME,), (e'\x1e8':::STRING:::NAME,), (e'u\x10\x04QE\x0e\x1fO':::STRING:::NAME,)), PARTITION tab😩le1_part4 VALUES IN (('G':::STRING:::NAME,), ('n"(d9q1':::STRING:::NAME,), (e'8<J\x07':::STRING:::NAME,)), PARTITION table1_part5 VALUES IN ((e'D\x05':::STRING:::NAME,), ('':::STRING:::NAME,), (e'\x1f\x14<=\x0e':::STRING:::NAME,)), PARTITION "DEFAULT" VALUES IN ((DEFAULT,))), INVERTED INDEX (col1_0, col1_2 DESC, "c%0fol1_%q3", col1_1) WHERE ((table1.col1_2 < '3000-01-01 00:00:00+00':::TIMESTAMPTZ) OR (table1."c%0fol1_%q3" != 'X':::STRING:::NAME)) AND (table1.col1_0 <= (-128):::INT8), INVERTED INDEX ("c%0fol1_%q3" gin_trgm_ops) WHERE (table1."c%0fol1_%q3" >= '"':::STRING:::NAME) AND (table1.col1_2 >= '294276-12-31 23:59:59.999999+00':::TIMESTAMPTZ), FAMILY (col1_2, col1_0, "c%0fol1_%q3"), FAMILY (col1_1));
test_1 | ALTER TABLE table1 INJECT STATISTICS e'[{"avg_size": 14, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 18, "histo_buckets": [{"distinct_range": 0, "num_eq": 1000000000, "num_range": 0, "upper_bound": "-118975171"}, {"distinct_range": 40000000000, "num_eq": 0, "num_range": 40000000000, "upper_bound": "982382269"}, {"distinct_range": 0, "num_eq": 20000000000, "num_range": 100000000, "upper_bound": "1452583928"}], "histo_col_type": "INT4", "name": "__auto__", "null_count": 0, "row_count": 60}, {"avg_size": 27, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 14, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 60}, {"avg_size": 31, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 25, "histo_col_type": "", "name": "__auto__", "null_count": 37, "row_count": 60}, {"avg_size": 4, "columns": ["\\"c%0fol1_%q3\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 45, "histo_buckets": [{"distinct_range": 0, "num_eq": 2812712398309480074, "num_range": 0, "upper_bound": ""}, {"distinct_range": 0, "num_eq": 3544831286435459504, "num_range": 0, "upper_bound": "\\u001dO\\u001bZ,~"}, {"distinct_range": 0, "num_eq": 3455037963562381965, "num_range": 10000000, "upper_bound": "\\""}, {"distinct_range": 4039911276110484000, "num_eq": 1923940895918175746, "num_range": 4039911276110483916, "upper_bound": "\'\\u0018}M\\u00164"}, {"distinct_range": 10000000, "num_eq": 30000, "num_range": 10000000, "upper_bound": "IO"}, {"distinct_range": 15099.844043718438, "num_eq": 0, "num_range": 500000, "upper_bound": "[\\u0017|k"}, {"distinct_range": 390623548517767040, "num_eq": 400000, "num_range": 2047279840196491552, "upper_bound": "ix^}"}, {"distinct_range": 0, "num_eq": 90000, "num_range": 2000, "upper_bound": "q\\u0019\\u000egw"}, {"distinct_range": 0, "num_eq": 60000, "num_range": 6574308618176131961, "upper_bound": "\U00002603"}], "histo_col_type": "NAME", "name": "__auto__", "null_count": 0, "row_count": 60}]':::JSONB;
test_1 | ALTER TABLE table1 INJECT STATISTICS e'[{"avg_size": 3, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2849437855, "histo_col_type": "INT4", "name": "__auto__", "null_count": 0, "row_count": 60000000000}, {"avg_size": 29, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 45097261277, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 60000000000}, {"avg_size": 2, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 49121000661, "histo_col_type": "", "name": "__auto__", "null_count": 325889367, "row_count": 60000000000}, {"avg_size": 25, "columns": ["\\"c%0fol1_%q3\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 17172201833, "histo_buckets": [{"distinct_range": 0, "num_eq": 3869181461552836249, "num_range": 0, "upper_bound": "\\u0016jG\\u001a\\u001cm"}, {"distinct_range": 7023634763381743000, "num_eq": 6000, "num_range": 8545734645501803727, "upper_bound": "\\u001bd4[A``\\u0001GK"}, {"distinct_range": 1.1182211042511183, "num_eq": 90000, "num_range": 500, "upper_bound": " 31.\\u0004Nga"}, {"distinct_range": 0, "num_eq": 3852553045870412298, "num_range": 3000, "upper_bound": "LT\\u0012"}, {"distinct_range": 0, "num_eq": 1000000, "num_range": 6593998362976104313, "upper_bound": "iLyx#\\u001de"}, {"distinct_range": 0, "num_eq": 1527384837759822725, "num_range": 200000, "upper_bound": "m"}, {"distinct_range": 2902308186002353000, "num_eq": 40, "num_range": 3597187857071029895, "upper_bound": "s7(\\tIH\\u001f@="}, {"distinct_range": 2386605492873424000, "num_eq": 7583422708664498980, "num_range": 6962168515074047928, "upper_bound": "ur"}, {"distinct_range": 5611680926790975000, "num_eq": 2403074122108641348, "num_range": 5611680926790975525, "upper_bound": "}&"}], "histo_col_type": "NAME", "name": "__auto__", "null_count": 0, "row_count": 60000000000}]':::JSONB;
test_1 |
test_1 | compare_test.go:171: 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_cockroach1_1 ...
Stopping compare_postgres_1 ...
Stopping compare_postgres_1 ... done
Stopping compare_cockroach2_1 ... done
Stopping compare_cockroach1_1 ... done
Aborting on container exit...
compose_test.go:122: exit status 1
--- FAIL: TestComposeCompare (18.85s)
See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)
- #89361 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]
compose.TestComposeCompare failed with artifacts on master @ dd2749ae4ab61eed2f99238acb74e8d3c6b4cb1d:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (
test_1 | SELECT
test_1 | tab93807.col180660 AS col180661
test_1 | FROM
test_1 | (VALUES ((5.0:::FLOAT8::FLOAT8::FLOAT8 - 1.0:::FLOAT8::FLOAT8::FLOAT8)::FLOAT8), (NULL::FLOAT8))
test_1 | AS tab93807 (col180660)
test_1 | )
test_1 | AS tab😤93808
test_1 | ORDER BY
test_1 | col180661 DESC;
test_1 |
test_1 | postgres:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (
test_1 | SELECT
test_1 | tab93807.col180660 AS col180661
test_1 | FROM
test_1 | (VALUES ((5.0::FLOAT8::FLOAT8::FLOAT8 - 1.0::FLOAT8::FLOAT8::FLOAT8)::FLOAT8), (NULL::FLOAT8))
test_1 | AS tab93807 (col180660)
test_1 | )
test_1 | AS tab😤93808
test_1 | ORDER BY
test_1 | col180661 DESC;
test_1 |
test_1 | --- FAIL: TestCompare/mutators (0.55s)
test_1 | compare_test.go:139: starting test: mutators
test_1 | compare_test.go:148: initializing connection: cockroach1
test_1 | compare_test.go:148: initializing connection: cockroach2
test_1 | compare_test.go:170: CREATE TABLE table1 ("co l'1_0" "char" NOT NULL, PRIMARY KEY ("co l'1_0" ASC), UNIQUE ("co l'1_0") WHERE table1."co l'1_0" > '"':::STRING, UNIQUE ("co l'1_0"));
test_1 | ALTER TABLE table1 INJECT STATISTICS e'[{"avg_size": 0, "columns": ["\\"co\\tl\'1_0\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2116887, "histo_buckets": [{"distinct_range": 0, "num_eq": 7344902308944738281, "num_range": 0, "upper_bound": "\\u0006"}, {"distinct_range": 0, "num_eq": 8377616637488191107, "num_range": 2867816247211679173, "upper_bound": "6"}, {"distinct_range": 400, "num_eq": 1000000000, "num_range": 400, "upper_bound": "N"}, {"distinct_range": 8594999019461158000, "num_eq": 8542643514152719405, "num_range": 8594999019461158041, "upper_bound": "u"}], "histo_col_type": "\\"char\\"", "name": "__auto__", "null_count": 0, "row_count": 8000000}]':::JSONB;
test_1 | ALTER TABLE table1 INJECT STATISTICS e'[{"avg_size": 9, "columns": ["\\"co\\tl\'1_0\\""], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 160402, "histo_buckets": [{"distinct_range": 0, "num_eq": 4000000, "num_range": 0, "upper_bound": "\\u0013"}, {"distinct_range": 0, "num_eq": 1922954778186260441, "num_range": 7023095158623910732, "upper_bound": "\\u0015"}, {"distinct_range": 0, "num_eq": 9023312016195426125, "num_range": 7883529346586083990, "upper_bound": "X"}], "histo_col_type": "\\"char\\"", "name": "__auto__", "null_count": 0, "row_count": 200000}]':::JSONB;
test_1 |
test_1 | compare_test.go:171: 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_cockroach1_1 ...
Stopping compare_postgres_1 ...
Stopping compare_postgres_1 ... done
Stopping compare_cockroach2_1 ... done
Stopping compare_cockroach1_1 ... done
Aborting on container exit...
compose_test.go:122: exit status 1
--- FAIL: TestComposeCompare (122.16s)
See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)
- #89361 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.2] - #78068 compose: TestComposeCompare failed [C-test-failure O-robot T-sql-sessions branch-release-22.1 sync-me-8] - #73421 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.2 sync-me-8]
compose.TestComposeCompare failed with artifacts on master @ b0a8d28feb8befa417933d0a2ee99511b16414a1:
Help
See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)
Same failure on other branches
- #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-16697