Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compose: TestComposeCompare failed #82867

Closed
cockroach-teamcity opened this issue Jun 14, 2022 · 328 comments
Closed

compose: TestComposeCompare failed #82867

cockroach-teamcity opened this issue Jun 14, 2022 · 328 comments
Labels
branch-master Failures and bugs on the master branch. C-test-failure Broken test (automatically or manually discovered). O-robot Originated from a bot. T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions)

Comments

@cockroach-teamcity
Copy link
Member

cockroach-teamcity commented Jun 14, 2022

compose.TestComposeCompare failed with artifacts on master @ b0a8d28feb8befa417933d0a2ee99511b16414a1:

        test_1        |             - 	nil,
        test_1        |             + 	bool(true),
        test_1        |               }))
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(
        test_1        |             		SELECT
        test_1        |             			overlaps('2000-01-01 04:00:00+00:00':::TIMESTAMPTZ::TIMESTAMPTZ::TIMESTAMPTZ, ('2000-01-01 08:00:00+00:00':::TIMESTAMPTZ::TIMESTAMPTZ::TIMESTAMPTZ + '00:00:08':::INTERVAL::INTERVAL::INTERVAL)::TIMESTAMPTZ::TIMESTAMPTZ, NULL::TIMESTAMPTZ::TIMESTAMPTZ, '2000-01-01 06:00:00+00:00':::TIMESTAMPTZ::TIMESTAMPTZ::TIMESTAMPTZ)::BOOL
        test_1        |             				AS col_143756
        test_1        |             	)
        test_1        |             		AS tab_111872
        test_1        |             ORDER BY
        test_1        |             	col_143756 NULLS FIRST;
        test_1        |             
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(
        test_1        |             		SELECT
        test_1        |             			overlaps('2000-01-01 04:00:00+00:00'::TIMESTAMPTZ::TIMESTAMPTZ::TIMESTAMPTZ, ('2000-01-01 08:00:00+00:00'::TIMESTAMPTZ::TIMESTAMPTZ::TIMESTAMPTZ + '00:00:08'::INTERVAL::INTERVAL::INTERVAL)::TIMESTAMPTZ::TIMESTAMPTZ, NULL::TIMESTAMPTZ::TIMESTAMPTZ, '2000-01-01 06:00:00+00:00'::TIMESTAMPTZ::TIMESTAMPTZ::TIMESTAMPTZ)::BOOL
        test_1        |             				AS col_143756
        test_1        |             	)
        test_1        |             		AS tab_111872
        test_1        |             ORDER BY
        test_1        |             	col_143756 NULLS FIRST;
        test_1        |             
        test_1        |     --- FAIL: TestCompare/mutators (0.41s)
        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(23) NOT NULL, col1_1 GEOMETRY NOT NULL, col1_2 DECIMAL NULL, col1_3 REGCLASS NULL, col1_4 REGCLASS NOT NULL, col1_5 FLOAT8 NULL, col1_6 OID NULL, col1_7 FLOAT8 NULL AS (col1_5 + '-Inf':::FLOAT8) STORED, col1_8 STRING NOT NULL AS (CASE WHEN col1_4 IS NULL THEN 'K?r':::STRING ELSE 'n':::STRING END) VIRTUAL, col1_9 STRING NOT NULL AS (lower(CAST(col1_1 AS STRING))) STORED, col1_10 STRING NOT NULL AS (lower(CAST(col1_1 AS STRING))) STORED, PRIMARY KEY (col1_0), INDEX (col1_0, col1_4 DESC, col1_10 ASC, col1_3, col1_9, col1_8 ASC, col1_2 ASC) WHERE ((table1.col1_10 >= e'\'':::STRING) AND (table1.col1_8 <= e'\U00002603':::STRING)) AND (table1.col1_9 <= '"':::STRING), FAMILY (col1_10, col1_0), FAMILY (col1_9, col1_1), FAMILY (col1_7, col1_5), FAMILY (col1_2, col1_6, col1_4, col1_3));
        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": 981805522057213528, "histo_buckets": [{"distinct_range": 0, "num_eq": 2881305433517722212, "num_range": 0, "upper_bound": "00000000000000000000000"}, {"distinct_range": 957881.6117323906, "num_eq": 4989412509206196583, "num_range": 2000000, "upper_bound": "11001110101000011010101"}], "histo_col_type": "BIT(23)", "name": "__auto__", "null_count": 0, "row_count": 1002569286679587945}, {"avg_size": 0, "columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 392403856872446470, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1002569286679587945}, {"avg_size": 0, "columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 524765835170129350, "histo_col_type": "", "name": "__auto__", "null_count": 657441172601239987, "row_count": 1002569286679587945}, {"avg_size": 0, "columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 179715053186485618, "histo_col_type": "", "name": "__auto__", "null_count": 927957903986061467, "row_count": 1002569286679587945}, {"avg_size": 0, "columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 755873397360901201, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1002569286679587945}, {"avg_size": 0, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 650687271163776162, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1002569286679587945}, {"avg_size": 0, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 658602712330357431, "histo_col_type": "", "name": "__auto__", "null_count": 243277834499768705, "row_count": 1002569286679587945}, {"avg_size": 0, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 688712263884163005, "histo_col_type": "", "name": "__auto__", "null_count": 325156879005786576, "row_count": 1002569286679587945}, {"avg_size": 0, "columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 227629117256189159, "histo_col_type": "", "name": "__auto__", "null_count": 999993462224924261, "row_count": 1002569286679587945}, {"avg_size": 0, "columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 267463440427296140, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1002569286679587945}, {"avg_size": 0, "columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 473365878793024253, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1002569286679587945}]':::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": 44941, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000000}, {"avg_size": 0, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1843192, "histo_col_type": "", "name": "__auto__", "null_count": 1709293, "row_count": 8000000}, {"avg_size": 0, "columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2785304, "histo_col_type": "", "name": "__auto__", "null_count": 7380582, "row_count": 8000000}, {"avg_size": 0, "columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2910850, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000000}, {"avg_size": 0, "columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3581478, "histo_col_type": "", "name": "__auto__", "null_count": 5037005, "row_count": 8000000}, {"avg_size": 0, "columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 934390, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000000}, {"avg_size": 0, "columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5187281, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000000}, {"avg_size": 0, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6557442, "histo_buckets": [{"distinct_range": 0, "num_eq": 4197300370767511504, "num_range": 0, "upper_bound": "00001001111010001000111"}, {"distinct_range": 0, "num_eq": 2559281067492538477, "num_range": 7846554317160984611, "upper_bound": "00010110111110011011010"}, {"distinct_range": 0, "num_eq": 1000, "num_range": 4000, "upper_bound": "01000010011110001010011"}, {"distinct_range": 6000, "num_eq": 6982921300246751827, "num_range": 6000, "upper_bound": "01101000011010000110001"}, {"distinct_range": 5196687824170679000, "num_eq": 2510087485376791784, "num_range": 5196687824170678909, "upper_bound": "01111111000101110110110"}, {"distinct_range": 0, "num_eq": 6727272044882658081, "num_range": 2995941376159110872, "upper_bound": "11000110100100101101010"}], "histo_col_type": "BIT(23)", "name": "__auto__", "null_count": 0, "row_count": 8000000}, {"avg_size": 0, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4067956, "histo_col_type": "", "name": "__auto__", "null_count": 2782932, "row_count": 8000000}, {"avg_size": 0, "columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3719503, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000000}, {"avg_size": 0, "columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3431445, "histo_col_type": "", "name": "__auto__", "null_count": 4734972, "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_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 (175.85s)
Help

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

Same failure on other branches

/cc @cockroachdb/sql-experience

This test on roachdash | Improve this report!

Jira issue: CRDB-16697

@cockroach-teamcity cockroach-teamcity added branch-master Failures and bugs on the master branch. C-test-failure Broken test (automatically or manually discovered). O-robot Originated from a bot. labels Jun 14, 2022
@blathers-crl blathers-crl bot added the T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions) label Jun 14, 2022
@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ aadbaf97b4e6092ad6978a28e2735715d64d9f10:

        postgres_1    | 		col_845810 NULLS FIRST,
        postgres_1    | 		col_845811 NULLS FIRST,
        postgres_1    | 		col_845812 NULLS FIRST,
        postgres_1    | 		col_845813 NULLS FIRST,
        postgres_1    | 		col_845814 NULLS FIRST
        postgres_1    | 2022-06-15 05:28:45.269 UTC [78] ERROR:  function st_geogfromgeojson(jsonb) does not exist at character 95
        postgres_1    | 2022-06-15 05:28:45.269 UTC [78] HINT:  No function matches the given name and argument types. You might need to add explicit type casts.
        postgres_1    | 2022-06-15 05:28:45.269 UTC [78] STATEMENT:  SELECT
        postgres_1    | 		*
        postgres_1    | 	FROM
        postgres_1    | 		(
        postgres_1    | 			SELECT
        postgres_1    | 				tab_482559.col1_6 AS col_846352,
        postgres_1    | 				COALESCE(tab_482559.col1_3, st_geogfromgeojson('null'::JSONB::JSONB::JSONB)::GEOGRAPHY) AS col_846353,
        postgres_1    | 				NULL::GEOGRAPHY AS col_846354
        postgres_1    | 			FROM
        postgres_1    | 				postgres.public.table1 AS tab_482559
        postgres_1    | 			WHERE
        postgres_1    | 				true::BOOL
        postgres_1    | 			ORDER BY
        postgres_1    | 				tab_482559.col1_2 DESC, tab_482559.col1_0 ASC
        postgres_1    | 		)
        postgres_1    | 			AS tab_482560
        postgres_1    | 	ORDER BY
        postgres_1    | 		col_846352 NULLS FIRST, col_846353 NULLS FIRST, col_846354 NULLS FIRST
        test_1        | --- FAIL: TestCompare (604.96s)
        test_1        |     compare_test.go:119: Checking connection to: cockroach2
        test_1        |     compare_test.go:119: Checking connection to: postgres
        test_1        |     compare_test.go:119: Checking connection to: cockroach1
        test_1        |     --- FAIL: TestCompare/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:137: initializing connection: cockroach2
        test_1        |         compare_test.go:159: CREATE TABLE table1 (col1_0 CHAR NULL, col1_1 INT8[], col1_2 INT2 NOT NULL, col1_3 "char" NOT NULL, col1_4 FLOAT8 NULL, col1_5 BIT(23) NULL, col1_6 STRING NOT NULL AS (lower(col1_3)) STORED, col1_7 STRING AS (CASE WHEN col1_1 IS NULL THEN '':::STRING ELSE e'\r':::STRING END) STORED, col1_8 STRING NULL AS (lower(CAST(col1_5 AS STRING))) VIRTUAL, col1_9 INT2 NOT NULL AS (col1_2 + 5736:::INT8) VIRTUAL, col1_10 INT2 NOT NULL AS (col1_2 + 25643:::INT8) VIRTUAL, INDEX (col1_0 ASC, col1_8 DESC), INDEX (col1_4, lower(col1_0), (CASE WHEN col1_1 IS NULL THEN e'K\x06\x0e8':::STRING ELSE e'Op?;4\'s\x01M':::STRING END)) WHERE ((table1.col1_0 >= e'\x00':::STRING) AND (table1.col1_8 > '':::STRING)) AND (table1.col1_9 = 1:::INT8), INVERTED INDEX (col1_1), INDEX (lower(CAST(col1_5 AS STRING)) ASC) STORING (col1_0, col1_1, col1_2, col1_3, col1_4, col1_5, col1_7) WHERE (((((((table1.col1_10 > 0:::INT8) AND (table1.col1_8 = '"':::STRING)) AND (table1.col1_9 != (-1):::INT8)) OR (table1.col1_4 != 1.401298464324817e-45:::FLOAT8)) OR (table1.col1_0 = '':::STRING)) OR (table1.col1_2 < (-32768):::INT8)) OR (table1.col1_6 = e'\'':::STRING)) AND (table1.col1_7 != e'\'':::STRING), INVERTED INDEX (col1_10, col1_0, col1_7 DESC, col1_8, col1_3 ASC, col1_9 ASC, col1_6 ASC, col1_2 DESC, col1_5 DESC, col1_1 ASC) WHERE ((((((table1.col1_8 = '':::STRING) AND (table1.col1_9 != 1:::INT8)) AND (table1.col1_0 != e'\'':::STRING)) OR (table1.col1_10 >= 0:::INT8)) OR (table1.col1_3 < e'\x00':::STRING)) AND (table1.col1_4 = (-1.0):::FLOAT8)) AND (table1.col1_6 >= '':::STRING), FAMILY (col1_1), FAMILY (col1_0, col1_2, col1_7), FAMILY (col1_4, col1_5), FAMILY (col1_6, col1_3));
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"avg_size": 0, "columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 39495893, "histo_buckets": [{"distinct_range": 0, "num_eq": 1424553467740240230, "num_range": 0, "upper_bound": "-1.6402189281976707"}, {"distinct_range": 70000, "num_eq": 5753833549081315169, "num_range": 70000, "upper_bound": "-1.5299245011626006"}, {"distinct_range": 412684546910471230, "num_eq": 8297537923616132323, "num_range": 3409200632208684759, "upper_bound": "-0.580160218161228"}, {"distinct_range": 0, "num_eq": 1383650233280404421, "num_range": 500000000, "upper_bound": "-0.5564662088633598"}, {"distinct_range": 2867504460972334600, "num_eq": 3000, "num_range": 3459166442014626223, "upper_bound": "0.5891400221514833"}, {"distinct_range": 0, "num_eq": 1968641834762575304, "num_range": 60000000, "upper_bound": "1.3383457747167575"}, {"distinct_range": 90000000000, "num_eq": 60000000000, "num_range": 90000000000, "upper_bound": "1.6136973675048965"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 69854546, "row_count": 200000000}, {"avg_size": 0, "columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 114549698, "histo_col_type": "", "name": "__auto__", "null_count": 23179216, "row_count": 200000000}, {"avg_size": 0, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 187677562, "histo_buckets": [{"distinct_range": 0, "num_eq": 3529258188424664999, "num_range": 0, "upper_bound": "\\u0004"}, {"distinct_range": 4214692725477423000, "num_eq": 6105756622681669932, "num_range": 4214692725477423358, "upper_bound": "\\u001d"}, {"distinct_range": 700000000, "num_eq": 7414450090263040657, "num_range": 700000000, "upper_bound": "-"}, {"distinct_range": 7927642188103115000, "num_eq": 0, "num_range": 7927642188103115083, "upper_bound": "~"}], "histo_col_type": "CHAR", "name": "__auto__", "null_count": 148887205, "row_count": 200000000}, {"avg_size": 0, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 154070138, "histo_col_type": "", "name": "__auto__", "null_count": 67656144, "row_count": 200000000}, {"avg_size": 0, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 40200918, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 200000000}, {"avg_size": 0, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 143576311, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 200000000}, {"avg_size": 0, "columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 167706536, "histo_buckets": [{"distinct_range": 0, "num_eq": 2000, "num_range": 0, "upper_bound": "-29922"}, {"distinct_range": 0, "num_eq": 500000000, "num_range": 200000, "upper_bound": "-13663"}, {"distinct_range": 0, "num_eq": 9000000000, "num_range": 1000000, "upper_bound": "6556"}, {"distinct_range": 0, "num_eq": 8000000000, "num_range": 90000000000, "upper_bound": "9419"}, {"distinct_range": 100000000000, "num_eq": 70000, "num_range": 100000000000, "upper_bound": "13933"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 0, "row_count": 200000000}, {"avg_size": 0, "columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 67489460, "histo_col_type": "", "name": "__auto__", "null_count": 123738412, "row_count": 200000000}, {"avg_size": 0, "columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 136079090, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 200000000}, {"avg_size": 0, "columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 92040790, "histo_col_type": "", "name": "__auto__", "null_count": 156023612, "row_count": 200000000}, {"avg_size": 0, "columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 186046465, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 200000000}]':::JSONB;
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"avg_size": 0, "columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 514309695932811758, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 582270947598272610}, {"avg_size": 0, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 396939696686035392, "histo_buckets": [{"distinct_range": 0, "num_eq": 8000000, "num_range": 0, "upper_bound": "\\\\x43"}, {"distinct_range": 48634005.51828572, "num_eq": 600, "num_range": 50000000, "upper_bound": "\\\\x809b329ccc24870f12"}, {"distinct_range": 6410494896422032000, "num_eq": 9000000, "num_range": 6410494896422032009, "upper_bound": "\\\\x80b400447e685a3a65"}, {"distinct_range": 3581556500492977000, "num_eq": 0, "num_range": 5928006972997490881, "upper_bound": "\\\\x80d95ac4ef4d600bed"}, {"distinct_range": 0, "num_eq": 695809468838543330, "num_range": 0, "upper_bound": "\\\\x80d95fcd13fa456a42"}, {"distinct_range": 0, "num_eq": 7101655867429141497, "num_range": 90000000000, "upper_bound": "\\\\x868000"}, {"distinct_range": 0, "num_eq": 431818602842518842, "num_range": 5067588741391159647, "upper_bound": "\\\\xfd13173c10e16e6042"}, {"distinct_range": 0, "num_eq": 80, "num_range": 5525263451248042249, "upper_bound": "\\\\xfd5b7f5fd1809738f5"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 53447671388295447, "row_count": 582270947598272610}, {"avg_size": 0, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 529270042029071244, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 582270947598272610}, {"avg_size": 0, "columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 494877775011671539, "histo_col_type": "", "name": "__auto__", "null_count": 213170086090212853, "row_count": 582270947598272610}, {"avg_size": 0, "columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 59648386882371080, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 582270947598272610}, {"avg_size": 0, "columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 504654954596150223, "histo_col_type": "", "name": "__auto__", "null_count": 52630413012969812, "row_count": 582270947598272610}, {"avg_size": 0, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 312350643174551449, "histo_buckets": [{"distinct_range": 0, "num_eq": 1217422781014878269, "num_range": 0, "upper_bound": "9"}, {"distinct_range": 5695105975942524000, "num_eq": 3670719126238849842, "num_range": 8109573223507896168, "upper_bound": "g"}, {"distinct_range": 17421628215.93851, "num_eq": 70000, "num_range": 40000000000, "upper_bound": "r"}], "histo_col_type": "CHAR", "name": "__auto__", "null_count": 272092514134144149, "row_count": 582270947598272610}, {"avg_size": 0, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 453267435583102035, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 582270947598272610}, {"avg_size": 0, "columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 147653333367627970, "histo_buckets": [{"distinct_range": 0, "num_eq": 400000, "num_range": 0, "upper_bound": "-0.8035459360336241"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 126284976877035831, "row_count": 582270947598272610}, {"avg_size": 0, "columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 261753268096740963, "histo_col_type": "", "name": "__auto__", "null_count": 558995517413874583, "row_count": 582270947598272610}, {"avg_size": 0, "columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 329893171676972624, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "1"}, {"distinct_range": 2793954907971643000, "num_eq": 4198316694632235569, "num_range": 8270903236956817152, "upper_bound": "13360"}, {"distinct_range": 137.18540544509054, "num_eq": 0, "num_range": 300, "upper_bound": "15161"}, {"distinct_range": 8108463750087784000, "num_eq": 50000, "num_range": 8108463750087784722, "upper_bound": "23393"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 0, "row_count": 582270947598272610}]':::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 (638.21s)
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ 47df1bc3a28f705e56ff4efc3d81c6fc90e096b5:

        test_1        |     compare_test.go:119: Checking connection to: cockroach1
        test_1        |     compare_test.go:119: Checking connection to: cockroach2
        test_1        |     compare_test.go:119: Checking connection to: postgres
        test_1        |     --- FAIL: TestCompare/postgres (0.00s)
        test_1        |         compare_test.go:128: starting test: postgres
        test_1        | panic: geos: no locations to init GEOS [recovered]
        test_1        | 	panic: geos: no locations to init GEOS
        test_1        | 
        test_1        | goroutine 8 [running]:
        test_1        | testing.tRunner.func1.2({0x1ca3720, 0xc000e3f5c0})
        test_1        | 	GOROOT/src/testing/testing.go:1209 +0x24e
        test_1        | testing.tRunner.func1()
        test_1        | 	GOROOT/src/testing/testing.go:1212 +0x218
        test_1        | panic({0x1ca3720, 0xc000e3f5c0})
        test_1        | 	GOROOT/src/runtime/panic.go:1038 +0x215
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.encodeInvertedIndexHistogramUpperBounds(0x3e8dec0, {0x2dc9890, 0xc000e6a570})
        test_1        | 	github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:369 +0x445
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.randHistogram(0x2d5aa60, 0x3e8dec0)
        test_1        | 	github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:302 +0x14c
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.statisticsMutator.func1(0xc0006824e0)
        test_1        | 	github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:221 +0x92
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.statisticsMutator(0xc000e2fa70, {0xc000e3eb60, 0x2, 0x0})
        test_1        | 	github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:252 +0xa4d
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.MultiStatementMutation.Mutate(0xc000083988, 0x1e288c8, {0xc000e3eb60, 0x1b44760, 0x1})
        test_1        | 	github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:98 +0x2e
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.RandCreateTables(0x1b44760, {0x1e288c8, 0x5}, 0x2, 0x30, {0xc000df5a48, 0x3, 0x10000000000004c})
        test_1        | 	github.com/cockroachdb/cockroach/pkg/sql/randgen/schema.go:90 +0x16d
        test_1        | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.randTablesN(0x530182b386d688cd, 0x530182b386d688cd)
        test_1        | 	github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/setup.go:83 +0x187
        test_1        | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.randTables(0xc0002d1500)
        test_1        | 	github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/setup.go:72 +0x33
        test_1        | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.wrapCommonSetup.func1(0x1e2df66)
        test_1        | 	github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/setup.go:45 +0x22
        test_1        | github.com/cockroachdb/cockroach/pkg/compose/compare/compare.TestCompare.func2(0xc000815d40)
        test_1        | 	github.com/cockroachdb/cockroach/pkg/compose/compare/compare/compare_test.go:130 +0xe5
        test_1        | testing.tRunner(0xc000815d40, 0xc000e2f9e0)
        test_1        | 	GOROOT/src/testing/testing.go:1259 +0x102
        test_1        | created by testing.(*T).Run
        test_1        | 	GOROOT/src/testing/testing.go:1306 +0x35a
        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_cockroach1_1 ... done
        Stopping compare_cockroach2_1 ... done
        Aborting on container exit...
        
    compose_test.go:120: exit status 2
--- FAIL: TestComposeCompare (20.76s)
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ 8f23486add4b1e2e8356b2f6b04d1741b4141da4:

        test_1        |             - 	string("G2000-01-01 00:00:01+00"),
        test_1        |             + 	string("G2000-01-01 00:00:01+00:00"),
        test_1        |               }))
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(
        test_1        |             		SELECT
        test_1        |             			('G'::TEXT::TEXT::TEXT || ('2000-01-01 00:00:00+00:00'::TIMESTAMPTZ::TIMESTAMPTZ::TIMESTAMPTZ + '00:00:01'::INTERVAL::INTERVAL::INTERVAL)::TIMESTAMPTZ::TIMESTAMPTZ)::TEXT
        test_1        |             				AS col_436470
        test_1        |             	)
        test_1        |             		AS tab_229774
        test_1        |             ORDER BY
        test_1        |             	col_436470 NULLS FIRST;
        test_1        |             
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(
        test_1        |             		SELECT
        test_1        |             			('G':::STRING::STRING::STRING || ('2000-01-01 00:00:00+00:00':::TIMESTAMPTZ::TIMESTAMPTZ::TIMESTAMPTZ + '00:00:01':::INTERVAL::INTERVAL::INTERVAL)::TIMESTAMPTZ::TIMESTAMPTZ)::STRING
        test_1        |             				AS col_436470
        test_1        |             	)
        test_1        |             		AS tab_229774
        test_1        |             ORDER BY
        test_1        |             	col_436470 NULLS FIRST;
        test_1        |             
        test_1        |     --- FAIL: TestCompare/mutators (0.46s)
        test_1        |         compare_test.go:128: starting test: mutators
        test_1        |         compare_test.go:137: initializing connection: cockroach1
        test_1        |         compare_test.go:137: initializing connection: cockroach2
        test_1        |         compare_test.go:159: CREATE TABLE table1 (col1_0 DECIMAL, col1_1 TIMESTAMP NOT NULL, col1_2 TIMESTAMP NOT NULL, col1_3 STRING NULL AS (CASE WHEN col1_1 IS NULL THEN e'e\x0en\n\x0b':::STRING ELSE e'E\x0b\x1cp@\x02':::STRING END) VIRTUAL, PRIMARY KEY (col1_2 ASC, col1_1 DESC), UNIQUE (col1_3) STORING (col1_0) WHERE table1.col1_0 = (-1):::DECIMAL, INDEX (col1_1 ASC, col1_2, col1_0 DESC), UNIQUE (col1_0 DESC, col1_2, col1_3 ASC) WHERE table1.col1_0 = 'NaN':::DECIMAL, INDEX (col1_1, (CASE WHEN col1_2 IS NULL THEN e'M``s\x0e\x10\x18K':::STRING ELSE e'4\x0e9':::STRING END) ASC, col1_0 ASC) WHERE (table1.col1_2 <= '-2000-01-01 00:00:00':::TIMESTAMP) AND (table1.col1_1 >= '3000-01-01 00:00:00':::TIMESTAMP), INDEX (col1_2 ASC, col1_3 ASC) STORING (col1_0) WHERE (((table1.col1_1 = '0001-01-01 00:00:00':::TIMESTAMP) OR (table1.col1_0 > (-1.234E+401):::DECIMAL)) AND (table1.col1_2 = '-2000-01-01 00:00:00':::TIMESTAMP)) AND (table1.col1_3 >= 'X':::STRING), UNIQUE (col1_1, col1_0, col1_3 DESC), FAMILY (col1_1), FAMILY (col1_2), FAMILY (col1_0));
        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": 365929909733088521, "histo_buckets": [{"distinct_range": 0, "num_eq": 8000000000, "num_range": 0, "upper_bound": "1995-12-31 12:31:44.000374"}, {"distinct_range": 0, "num_eq": 100, "num_range": 1416835893827652811, "upper_bound": "1998-12-09 15:52:12.000655"}, {"distinct_range": 60000000, "num_eq": 5000000000, "num_range": 60000000, "upper_bound": "1999-03-27 14:42:26.000529"}, {"distinct_range": 6034384727147489000, "num_eq": 40000000, "num_range": 6034384727147489212, "upper_bound": "2013-07-20 07:41:59.000573"}, {"distinct_range": 4894538309265042000, "num_eq": 0, "num_range": 4894538309265042382, "upper_bound": "2017-08-11 09:53:01.000784"}, {"distinct_range": 10000, "num_eq": 2000000, "num_range": 10000, "upper_bound": "2019-05-13 10:31:10.000059"}, {"distinct_range": 1418217215982997500, "num_eq": 5000000, "num_range": 1418217215982997430, "upper_bound": "2029-10-10 09:15:50.000067"}, {"distinct_range": 33215423607.60556, "num_eq": 9093271070134996782, "num_range": 100000000000, "upper_bound": "3000-01-01 00:00:00"}], "histo_col_type": "TIMESTAMP", "name": "__auto__", "null_count": 0, "row_count": 623566309392704351}, {"avg_size": 0, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 564728393914002129, "histo_buckets": [{"distinct_range": 0, "num_eq": 900000, "num_range": 0, "upper_bound": "1983-08-06 02:08:43.000353"}, {"distinct_range": 23127923.524531007, "num_eq": 400000, "num_range": 50000000, "upper_bound": "1986-04-05 12:08:48.00012"}], "histo_col_type": "TIMESTAMP", "name": "__auto__", "null_count": 0, "row_count": 623566309392704351}, {"avg_size": 0, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 586902168340837571, "histo_buckets": [{"distinct_range": 0, "num_eq": 7478564940127129823, "num_range": 0, "upper_bound": "!.p\\"Y"}, {"distinct_range": 0, "num_eq": 10000000, "num_range": 9140333294196848657, "upper_bound": "B[\\u0013w&Z\\u0008\\t"}, {"distinct_range": 0, "num_eq": 90, "num_range": 200, "upper_bound": "``9"}, {"distinct_range": 78470182401.32542, "num_eq": 4908034575795834162, "num_range": 100000000000, "upper_bound": "fY2d:"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 374389864204050103, "row_count": 623566309392704351}, {"avg_size": 0, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 145536990368538591, "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 489289544101907771, "row_count": 623566309392704351}]':::JSONB;
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"avg_size": 0, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5, "histo_col_type": "", "name": "__auto__", "null_count": 13, "row_count": 20}, {"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": 3000, "num_range": 0, "upper_bound": "2002-03-15 03:42:24.000519"}, {"distinct_range": 5509641402905374000, "num_eq": 6803946166283854988, "num_range": 5509641402905373891, "upper_bound": "2007-08-27 00:45:05.000289"}, {"distinct_range": 0, "num_eq": 200, "num_range": 0, "upper_bound": "2011-10-26 03:46:30.000148"}, {"distinct_range": 104934257197132510, "num_eq": 5687700525633968083, "num_range": 2170855820446077953, "upper_bound": "2015-06-11 19:05:46.000067"}, {"distinct_range": 3204767575314406400, "num_eq": 10, "num_range": 3204767575314406416, "upper_bound": "2023-09-06 23:05:06.00091"}, {"distinct_range": 0, "num_eq": 700, "num_range": 4971417496779972449, "upper_bound": "3000-01-01 00:00:00"}], "histo_col_type": "TIMESTAMP", "name": "__auto__", "null_count": 0, "row_count": 20}, {"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": 4104634002166082324, "num_range": 0, "upper_bound": "1988-10-21 08:18:25.000649"}, {"distinct_range": 5058543049598550000, "num_eq": 900000000, "num_range": 5469967720791257791, "upper_bound": "2001-01-05 06:43:11.000203"}, {"distinct_range": 0, "num_eq": 40000000, "num_range": 4410193402006717704, "upper_bound": "2005-09-26 13:42:06.000256"}, {"distinct_range": 100, "num_eq": 6000000000, "num_range": 100, "upper_bound": "2029-11-29 01:11:59.000501"}, {"distinct_range": 0, "num_eq": 70000, "num_range": 0, "upper_bound": "2031-05-24 16:43:49.000357"}, {"distinct_range": 5286736785921985000, "num_eq": 50000000000, "num_range": 5286736785921984157, "upper_bound": "3000-01-01 00:00:00"}], "histo_col_type": "TIMESTAMP", "name": "__auto__", "null_count": 0, "row_count": 20}, {"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": 900000, "num_range": 0, "upper_bound": ""}, {"distinct_range": 0, "num_eq": 7019338843252311765, "num_range": 0, "upper_bound": "%Rlz"}, {"distinct_range": 0, "num_eq": 4446717541454273549, "num_range": 2185147646227211169, "upper_bound": "\'"}, {"distinct_range": 60000, "num_eq": 1809969967744412412, "num_range": 60000, "upper_bound": "?\\u0007\\u001a"}, {"distinct_range": 6013859472.471841, "num_eq": 40, "num_range": 50000000000, "upper_bound": "e6\\u0011(w4-c"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 9, "row_count": 20}]':::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 (342.65s)
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ 8d34ef1ea15850ee1c70470610b6652df4c317de:

        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 (43.96s)
        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/.cache/bazel/_bazel_agent/40f5e2a2e18a7cdb4cd075f919d8072b/execroot/com_github_cockroachdb_cockroach/_tmp/47c568f68c04b61694d82f4def978aef/TestComposeCompare2448453576/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("01010000000000000000B063C00000000000E05040"),
        test_1        |               }))
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(SELECT st_pointfromgeohash('B':::STRING::STRING::STRING, NULL::INT4::INT4)::GEOMETRY AS col_66414) AS tab_35478
        test_1        |             ORDER BY
        test_1        |             	col_66414 NULLS FIRST;
        test_1        |             
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(SELECT st_pointfromgeohash('B'::TEXT::TEXT::TEXT, NULL::INT4::INT4)::GEOMETRY AS col_66414) AS tab_35478
        test_1        |             ORDER BY
        test_1        |             	col_66414 NULLS FIRST;
        test_1        |             
        test_1        |     --- FAIL: TestCompare/mutators (0.30s)
        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 BIT NOT NULL, col1_2 REGPROCEDURE NOT NULL, PRIMARY KEY (col1_1 ASC), INDEX (col1_1, col1_0), INDEX (col1_1 DESC) STORING (col1_2) WHERE table1.col1_0 > e'\\x27':::BYTES, FAMILY (col1_1), FAMILY (col1_0, col1_2));
        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": 76, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000}, {"avg_size": 0, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2112, "histo_buckets": [{"distinct_range": 0, "num_eq": 983436371812936003, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 9511729965031068, "num_eq": 6953183536754357982, "num_range": 9511729965031069, "upper_bound": "1"}], "histo_col_type": "BIT", "name": "__auto__", "null_count": 0, "row_count": 10000}, {"avg_size": 0, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5629, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000}]':::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": 269969573503751252, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3081122062389117734}, {"avg_size": 0, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 290133159488660662, "histo_buckets": [{"distinct_range": 0, "num_eq": 8000000000, "num_range": 0, "upper_bound": "1"}], "histo_col_type": "BIT", "name": "__auto__", "null_count": 0, "row_count": 3081122062389117734}, {"avg_size": 0, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 235392765254873959, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3081122062389117734}]':::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.59s)
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ 8d34ef1ea15850ee1c70470610b6652df4c317de:

        test_1        |             - 	string("010300000000000000"),
        test_1        |             + 	string("010300000001000000050000000000000000000040000000000000144000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000144000000000000000400000000000001440"),
        test_1        |               }))
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(
        test_1        |             		SELECT
        test_1        |             			st_makeenvelope(2.0:::FLOAT8::FLOAT8::FLOAT8, 5.0:::FLOAT8::FLOAT8::FLOAT8, 0.0:::FLOAT8::FLOAT8::FLOAT8, 0.0:::FLOAT8::FLOAT8::FLOAT8)::GEOMETRY
        test_1        |             				AS col_134719
        test_1        |             	)
        test_1        |             		AS tab_71123
        test_1        |             ORDER BY
        test_1        |             	col_134719 NULLS FIRST;
        test_1        |             
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(
        test_1        |             		SELECT
        test_1        |             			st_makeenvelope(2.0::FLOAT8::FLOAT8::FLOAT8, 5.0::FLOAT8::FLOAT8::FLOAT8, 0.0::FLOAT8::FLOAT8::FLOAT8, 0.0::FLOAT8::FLOAT8::FLOAT8)::GEOMETRY
        test_1        |             				AS col_134719
        test_1        |             	)
        test_1        |             		AS tab_71123
        test_1        |             ORDER BY
        test_1        |             	col_134719 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 INT8, col1_1 TIMETZ NULL, col1_2 TIMESTAMPTZ, col1_3 GEOMETRY NOT NULL, col1_4 CHAR, col1_5 FLOAT4, col1_6 BIT(28) NULL, col1_7 TIME, col1_8 BIT(11) NULL, col1_9 INTERVAL, col1_10 TIMESTAMPTZ NOT NULL, col1_11 STRING NULL AS (lower(CAST(col1_1 AS STRING))) STORED, col1_12 STRING NOT NULL AS (CASE WHEN col1_10 IS NULL THEN 'X':::STRING ELSE e'&oX\b\t\r':::STRING END) VIRTUAL, col1_13 STRING AS (CASE WHEN col1_2 IS NULL THEN e'\'':::STRING ELSE e'K&:G\x13u':::STRING END) STORED, col1_14 FLOAT4 AS (col1_5 + '+Inf':::FLOAT8) VIRTUAL, col1_15 INT8 AS (col1_0 + 5818807148539326140:::INT8) VIRTUAL, INDEX (col1_12, col1_6 ASC, col1_14 DESC, col1_2 ASC, col1_0, col1_1, (col1_5 + 0.8294219374656677:::FLOAT8) ASC, col1_11 DESC, col1_13 DESC, col1_8) WHERE (((((((((((table1.col1_1 >= '00:00:00+15:59:00':::TIMETZ) OR (table1.col1_7 < '24:00:00':::TIME)) OR (table1.col1_14 != 0.0:::FLOAT8)) AND (table1.col1_12 <= '':::STRING)) OR (table1.col1_4 != 'X':::STRING)) OR (table1.col1_15 <= (-32768):::INT8)) OR (table1.col1_5 < 0.0:::FLOAT8)) AND (table1.col1_13 <= e'\'':::STRING)) OR (table1.col1_10 <= '294276-12-31 23:59:59.999999+00:00':::TIMESTAMPTZ)) AND (table1.col1_11 <= '"':::STRING)) AND (table1.col1_2 > '294276-12-31 23:59:59.999999+00:00':::TIMESTAMPTZ)) OR (table1.col1_0 <= 2147483647:::INT8), FAMILY (col1_13, col1_3), FAMILY (col1_1), FAMILY (col1_7), FAMILY (col1_4, col1_11, col1_8), FAMILY (col1_9, col1_2), FAMILY (col1_10, col1_0, col1_6, col1_5));
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"avg_size": 0, "columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4425022287031486349, "histo_col_type": "", "name": "__auto__", "null_count": 5569214163926885953, "row_count": 7030653859434913084}, {"avg_size": 0, "columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2340320176484585649, "histo_col_type": "", "name": "__auto__", "null_count": 3785692934330058000, "row_count": 7030653859434913084}, {"avg_size": 0, "columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 797443276793561126, "histo_col_type": "", "name": "__auto__", "null_count": 4775159480011215945, "row_count": 7030653859434913084}, {"avg_size": 0, "columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6366099213645095192, "histo_col_type": "", "name": "__auto__", "null_count": 6903679656315534482, "row_count": 7030653859434913084}, {"avg_size": 0, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 54355906463835732, "histo_col_type": "", "name": "__auto__", "null_count": 1616502851336901157, "row_count": 7030653859434913084}, {"avg_size": 0, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 782540728255056706, "histo_col_type": "", "name": "__auto__", "null_count": 3247153649436992248, "row_count": 7030653859434913084}, {"avg_size": 0, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6227584210615608449, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7030653859434913084}, {"avg_size": 0, "columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6556164070544669466, "histo_col_type": "", "name": "__auto__", "null_count": 2912853028202900542, "row_count": 7030653859434913084}, {"avg_size": 0, "columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 151964372594406744, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7030653859434913084}, {"avg_size": 0, "columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4400611990353733137, "histo_col_type": "", "name": "__auto__", "null_count": 2392228445199381684, "row_count": 7030653859434913084}, {"avg_size": 0, "columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1388894673424979410, "histo_col_type": "", "name": "__auto__", "null_count": 2399574210668163059, "row_count": 7030653859434913084}, {"avg_size": 0, "columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3631380944696891249, "histo_col_type": "", "name": "__auto__", "null_count": 5746726228706990897, "row_count": 7030653859434913084}, {"avg_size": 0, "columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5731002322614097059, "histo_col_type": "", "name": "__auto__", "null_count": 5808317015371494713, "row_count": 7030653859434913084}, {"avg_size": 0, "columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 756954520805778333, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7030653859434913084}, {"avg_size": 0, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4114418936517553138, "histo_col_type": "", "name": "__auto__", "null_count": 6743761804382933807, "row_count": 7030653859434913084}, {"avg_size": 0, "columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3913751006396144428, "histo_col_type": "", "name": "__auto__", "null_count": 5996622997977744548, "row_count": 7030653859434913084}]':::JSONB;
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"avg_size": 0, "columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3193412117, "histo_col_type": "", "name": "__auto__", "null_count": 1045789755, "row_count": 4000000000}, {"avg_size": 0, "columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3215187408, "histo_col_type": "", "name": "__auto__", "null_count": 573782168, "row_count": 4000000000}, {"avg_size": 0, "columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2159230575, "histo_col_type": "", "name": "__auto__", "null_count": 1846752380, "row_count": 4000000000}, {"avg_size": 0, "columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3233639476, "histo_col_type": "", "name": "__auto__", "null_count": 790795599, "row_count": 4000000000}, {"avg_size": 0, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 664636748, "histo_col_type": "", "name": "__auto__", "null_count": 2115677129, "row_count": 4000000000}, {"avg_size": 0, "columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1587386965, "histo_col_type": "", "name": "__auto__", "null_count": 3675333942, "row_count": 4000000000}, {"avg_size": 0, "columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2375473370, "histo_col_type": "", "name": "__auto__", "null_count": 3614371629, "row_count": 4000000000}, {"avg_size": 0, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3863287038, "histo_col_type": "", "name": "__auto__", "null_count": 104482808, "row_count": 4000000000}, {"avg_size": 0, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3129450709, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4000000000}, {"avg_size": 0, "columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3930951311, "histo_col_type": "", "name": "__auto__", "null_count": 638610707, "row_count": 4000000000}, {"avg_size": 0, "columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1507188308, "histo_col_type": "", "name": "__auto__", "null_count": 550512548, "row_count": 4000000000}, {"avg_size": 0, "columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3987704054, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4000000000}, {"avg_size": 0, "columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2399287043, "histo_buckets": [{"distinct_range": 0, "num_eq": 4826184506050007681, "num_range": 0, "upper_bound": ""}, {"distinct_range": 400000, "num_eq": 3741641225496976044, "num_range": 400000, "upper_bound": "Fan"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 4000000000}, {"avg_size": 0, "columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 193497695, "histo_col_type": "", "name": "__auto__", "null_count": 2169542651, "row_count": 4000000000}, {"avg_size": 0, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3766819162, "histo_col_type": "", "name": "__auto__", "null_count": 2537193104, "row_count": 4000000000}, {"avg_size": 0, "columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 615644656, "histo_col_type": "", "name": "__auto__", "null_count": 1215048489, "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_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 (131.59s)
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ 8d34ef1ea15850ee1c70470610b6652df4c317de:

        postgres_1    | 		*
        postgres_1    | 	FROM
        postgres_1    | 		(
        postgres_1    | 			SELECT
        postgres_1    | 				tab_235989.col_434761 AS col_434762
        postgres_1    | 			FROM
        postgres_1    | 				(
        postgres_1    | 					VALUES
        postgres_1    | 						(
        postgres_1    | 							((0::INT8::INT8::INT8 * 9::INT8::INT8::INT8)::INT8::INT8 * (5::DECIMAL::DECIMAL::DECIMAL * '00:00:06'::INTERVAL::INTERVAL::INTERVAL)::INTERVAL::INTERVAL)::INTERVAL
        postgres_1    | 						),
        postgres_1    | 						('00:00:02'::INTERVAL::INTERVAL),
        postgres_1    | 						('00:00:08'::INTERVAL::INTERVAL),
        postgres_1    | 						(('00:00:03'::INTERVAL::INTERVAL::INTERVAL * 8::DECIMAL::DECIMAL::DECIMAL)::INTERVAL),
        postgres_1    | 						(parse_interval('B'::TEXT::TEXT::TEXT)::INTERVAL),
        postgres_1    | 						(NULL::INTERVAL)
        postgres_1    | 				)
        postgres_1    | 					AS tab_235989 (col_434761)
        postgres_1    | 			WHERE
        postgres_1    | 				true::BOOL
        postgres_1    | 			ORDER BY
        postgres_1    | 				tab_235989.col_434761 ASC
        postgres_1    | 		)
        postgres_1    | 			AS tab_235990
        postgres_1    | 	ORDER BY
        postgres_1    | 		col_434762 NULLS FIRST
        postgres_1    | 2022-06-20 05:28:07.917 UTC [79] ERROR:  could not identify an ordering operator for type void at character 72
        postgres_1    | 2022-06-20 05:28:07.917 UTC [79] HINT:  Use an explicit ordering operator or modify the query.
        postgres_1    | 2022-06-20 05:28:07.917 UTC [79] STATEMENT:  SELECT * FROM (SELECT NULL::VOID AS col_434969) AS tab_236097 ORDER BY col_434969 NULLS FIRST
        test_1        | --- FAIL: TestCompare (1017.86s)
        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.10s)
        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, col2_1 REGCLASS, col2_2 TIME NULL, col2_3 FLOAT4 NULL, col2_4 BIT(14), col2_5 REGCLASS NOT NULL, col2_6 STRING AS (CASE WHEN col2_5 IS NULL THEN e'\x18\x03\r8x\x03r\x17``':::STRING ELSE '@_/r#':::STRING END) VIRTUAL, col2_7 STRING NOT NULL AS (CASE WHEN col2_1 IS NULL THEN e'3\x1a2\x13\x1c':::STRING ELSE e't\x1dX>\x0b':::STRING END) VIRTUAL, col2_8 STRING AS (CASE WHEN col2_5 IS NULL THEN NULL ELSE e'\b\x1c7\x1c0\x041&Y':::STRING END) STORED, col2_9 STRING AS (lower(CAST(col2_4 AS STRING))) VIRTUAL, PRIMARY KEY (col2_5 DESC, col2_7 ASC), INVERTED INDEX (col2_5, col2_0 DESC) PARTITION BY LIST (col2_5) (PARTITION table2_part_0 VALUES IN ((2148492799:::OID,), (507462948:::OID,), (3012048717:::OID,), (1879095645:::OID,), (3381506402:::OID,)), PARTITION table2_part_1 VALUES IN ((1827004708:::OID,), (0:::OID,), (2459890901:::OID,), (1258841998:::OID,), (1097085500:::OID,)), PARTITION table2_part_2 VALUES IN ((2559378952:::OID,), (1529784710:::OID,), (144344984:::OID,), (2754876929:::OID,), (471657953:::OID,)), PARTITION table2_part_3 VALUES IN ((1856088289:::OID,), (3321350391:::OID,), (3615410199:::OID,), (3852737952:::OID,), (289211229:::OID,)), PARTITION table2_part_4 VALUES IN ((575722047:::OID,), (2659863542:::OID,), (2889177481:::OID,), (1492201808:::OID,), (1881534592:::OID,)), PARTITION table2_part_5 VALUES IN ((2471938676:::OID,), (733312343:::OID,), (3235898562:::OID,), (1601827727:::OID,), (4144426293:::OID,)), PARTITION table2_part_6 VALUES IN ((1160231126:::OID,), (932141665:::OID,), (3985238211:::OID,), (1073691971:::OID,)), PARTITION table2_part_7 VALUES IN ((110286318:::OID,), (3201426417:::OID,), (2195029860:::OID,), (2134460246:::OID,), (3787997217:::OID,)), PARTITION table2_part_8 VALUES IN ((2395757170:::OID,), (2780203330:::OID,), (2492763579:::OID,), (1880393226:::OID,), (1602982255:::OID,)), PARTITION table2_part_9 VALUES IN ((3334710214:::OID,), (3766387806:::OID,), (3913605576:::OID,), (495033333:::OID,))) WHERE (((((table2.col2_2 != '24:00:00':::TIME) OR (table2.col2_6 = '':::STRING)) OR (table2.col2_3 > '+Inf':::FLOAT8)) OR (table2.col2_9 != e'\'':::STRING)) OR (table2.col2_7 > 'X':::STRING)) OR (table2.col2_8 <= e'\'':::STRING), UNIQUE ((CASE WHEN col2_5 IS NULL THEN e'\'':::STRING ELSE '':::STRING END), (CASE WHEN col2_1 IS NULL THEN '``6U<r':::STRING ELSE e'\b':::STRING END) DESC, col2_1 ASC, col2_5 DESC, col2_2 ASC, col2_4 DESC, col2_8 DESC) STORING (col2_0) WHERE (((((table2.col2_9 <= e'\x00':::STRING) OR (table2.col2_7 != e'\U00002603':::STRING)) OR (table2.col2_8 >= '"':::STRING)) OR (table2.col2_6 >= 'X':::STRING)) AND (table2.col2_3 >= '+Inf':::FLOAT8)) AND (table2.col2_2 != '00:00:00':::TIME), INVERTED INDEX (col2_2 ASC, col2_7 ASC, col2_8 ASC, col2_3, col2_0 DESC) PARTITION BY LIST (col2_2, col2_7) (PARTITION table2_part_0 VALUES IN (('09:23:37.562691':::TIME, e'x\x05p':::STRING), ('22:31:28.913762':::TIME, e'P08&"YS\x1dv':::STRING), ('10:10:47.063742':::TIME, '':::STRING), ('07:01:26.782675':::TIME, '9J':::STRING)), PARTITION table2_part_1 VALUES IN (('01:18:59.615311':::TIME, '_':::STRING), ('02:39:04.021664':::TIME, e'|\n':::STRING), ('14:03:47.888497':::TIME, e'\'':::STRING), ('21:09:43.246334':::TIME, ' ':::STRING)), PARTITION table2_part_2 VALUES IN (('04:52:39.36714':::TIME, 'S':::STRING), ('01:15:04.244012':::TIME, e'/\tuy\x1e\x11s,X':::STRING), ('07:34:03.498546':::TIME, '':::STRING), ('08:50:39.186372':::TIME, e'\x00':::STRING)), PARTITION table2_part_3 VALUES IN (('24:00:00':::TIME, '"':::STRING), ('24:00:00':::TIME, '@o':::STRING), ('00:52:05.372491':::TIME, e'\U00002603':::STRING), (NULL, e'!Y\x0fV.\x17\x15@':::STRING)), PARTITION table2_part_4 VALUES IN (('24:00:00':::TIME, e'\x18B':::STRING), ('00:07:36.333297':::TIME, e'^U\x7f)':::STRING), ('24:00:00':::TIME, e'i\x16':::STRING), ('21:20:33.014539':::TIME, e'\x1d\x0f':::STRING)), PARTITION table2_part_5 VALUES IN (('20:19:38.301868':::TIME, e'8\x17\x05\x7fQK':::STRING), (NULL, '':::STRING), ('22:33:37.366118':::TIME, '':::STRING), ('14:51:42.204689':::TIME, e'\x13ss!O':::STRING)), PARTITION "DEFAULT" VALUES IN ((DEFAULT, DEFAULT))) WHERE (((((table2.col2_2 = '24:00:00':::TIME) OR (table2.col2_3 = 3.4028234663852886e+38:::FLOAT8)) AND (table2.col2_7 > e'\x00':::STRING)) AND (table2.col2_8 >= 'X':::STRING)) OR (table2.col2_9 < e'\U00002603':::STRING)) OR (table2.col2_6 < e'\U00002603':::STRING), UNIQUE ((CASE WHEN col2_5 IS NULL THEN e't\t':::STRING ELSE e'|M\x049TJ':::STRING END), col2_3, col2_4 DESC, col2_6 DESC, col2_8, col2_1 ASC, col2_9) STORING (col2_0, col2_2) WHERE (((((table2.col2_6 <= e'\x00':::STRING) OR (table2.col2_3 != 'NaN':::FLOAT8)) OR (table2.col2_9 != 'X':::STRING)) AND (table2.col2_2 = '00:00:00':::TIME)) AND (table2.col2_7 > 'X':::STRING)) OR (table2.col2_8 <= '':::STRING), UNIQUE (col2_2 ASC, col2_1) STORING (col2_0, col2_8) PARTITION BY LIST (col2_2) (PARTITION table2_part_0 VALUES IN (('24:00:00':::TIME,)), PARTITION table2_part_2 VALUES IN (('00:00:00':::TIME,)), PARTITION table2_part_3 VALUES IN (('11:34:40.014256':::TIME,)), PARTITION table2_part_4 VALUES IN (('00:34:34.666779':::TIME,)), PARTITION table2_part_5 VALUES IN (('01:05:10.776218':::TIME,)), PARTITION table2_part_6 VALUES IN (('08:07:40.298525':::TIME,)), PARTITION "DEFAULT" VALUES IN ((DEFAULT,))), INVERTED INDEX ((col2_3 + (-1.152878761291504):::FLOAT8), col2_5 ASC, col2_1 ASC, lower(CAST(col2_2 AS STRING)), col2_4 DESC, col2_3 ASC, col2_8, col2_9 DESC, col2_0), INDEX (col2_7 DESC, col2_1 ASC, col2_5 DESC, (CASE WHEN col2_5 IS NULL THEN e'\x1b\x0627':::STRING ELSE 'M]':::STRING END) ASC, col2_4 ASC, col2_2, col2_3, col2_9 DESC, lower(CAST(col2_2 AS STRING)) DESC, col2_6 DESC) WHERE ((table2.col2_3 != 1.0:::FLOAT8) AND (table2.col2_8 != '':::STRING)) AND (table2.col2_9 < '':::STRING))
        test_1        |         compare_test.go:160: cockroach1: exec: ERROR: use of partitions requires an enterprise license. see https://cockroachlabs.com/pricing?cluster=55498ec6-47de-4815-997c-bd6e763bf150 for details on how to enable enterprise features (SQLSTATE XXC02)
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_postgres_1   ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...
        
    compose_test.go:120: exit status 1
--- FAIL: TestComposeCompare (1045.53s)
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ 377b113bd7e7b679c55a0f93e0d8ab5dbb6f2e97:

        postgres_1    | 		col_675733 NULLS FIRST, col_675734 NULLS FIRST
        postgres_1    | 2022-06-21 05:30:39.631 UTC [78] ERROR:  function st_geogfromewkb(bytea) does not exist at character 25
        postgres_1    | 2022-06-21 05:30:39.631 UTC [78] HINT:  No function matches the given name and argument types. You might need to add explicit type casts.
        postgres_1    | 2022-06-21 05:30:39.631 UTC [78] STATEMENT:  SELECT
        postgres_1    | 		*
        postgres_1    | 	FROM
        postgres_1    | 		(SELECT st_geogfromewkb('\x46'::BYTEA::BYTEA::BYTEA)::GEOGRAPHY AS col_675788) AS tab_445610
        postgres_1    | 	ORDER BY
        postgres_1    | 		col_675788 NULLS FIRST
        postgres_1    | 2022-06-21 05:30:39.868 UTC [78] ERROR:  function st_geogfromtext(text, integer) does not exist at character 168
        postgres_1    | 2022-06-21 05:30:39.868 UTC [78] HINT:  No function matches the given name and argument types. You might need to add explicit type casts.
        postgres_1    | 2022-06-21 05:30:39.868 UTC [78] STATEMENT:  SELECT
        postgres_1    | 		*
        postgres_1    | 	FROM
        postgres_1    | 		(
        postgres_1    | 			SELECT
        postgres_1    | 				tab_445791.col3_0 AS col_676078, tab_445791.tableoid AS col_676079
        postgres_1    | 			FROM
        postgres_1    | 				postgres.public.table3 AS tab_445791
        postgres_1    | 			WHERE
        postgres_1    | 				_st_dwithin(st_geogfromtext((B'1000'::VARBIT::VARBIT || (CASE WHEN ((NOT false::BOOL) AND ('J'::TEXT::TEXT::TEXT IN ('B'::TEXT::TEXT))) THEN NULL::GEOGRAPHY ELSE NULL::GEOGRAPHY END::GEOGRAPHY || 'H'::TEXT::TEXT::TEXT)::TEXT::TEXT)::TEXT::TEXT, 7::INT8::INT4::INT4)::GEOGRAPHY::GEOGRAPHY, NULL::GEOGRAPHY::GEOGRAPHY, 9.0::FLOAT8::FLOAT8::FLOAT8)::BOOL
        postgres_1    | 		)
        postgres_1    | 			AS tab_445792
        postgres_1    | 	ORDER BY
        postgres_1    | 		col_676078 NULLS FIRST, col_676079 NULLS FIRST
        test_1        | --- FAIL: TestCompare (604.74s)
        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.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 INTERVAL NULL, col1_1 "char" NOT NULL, col1_2 VARCHAR NULL, col1_3 BIT(49) NULL, col1_4 INET NULL, col1_5 INT8, col1_6 JSONB NOT NULL, col1_7 REGPROCEDURE NOT NULL, col1_8 INT4 NOT NULL, col1_9 TIMESTAMP NOT NULL, col1_10 REGPROCEDURE NOT NULL, col1_11 BOX2D NOT NULL, col1_12 TIMETZ NOT NULL, col1_13 BYTES NOT NULL, col1_14 STRING NULL AS (lower(CAST(col1_4 AS STRING))) VIRTUAL, col1_15 INT8 AS (col1_5 + col1_8) STORED, PRIMARY KEY (col1_12 ASC, col1_11 ASC, col1_8 DESC, col1_1 ASC, col1_10 DESC), INDEX (col1_14 DESC, col1_9 ASC, lower(CAST(col1_4 AS STRING)) DESC, col1_7 ASC, col1_3, col1_4 DESC, col1_12) STORING (col1_0, col1_2, col1_5, col1_13) WHERE ((((table1.col1_1 != '"':::STRING) OR (table1.col1_5 != 0:::INT8)) OR (table1.col1_9 < '-4713-11-24 00:00:00':::TIMESTAMP)) OR (table1.col1_15 != (-32768):::INT8)) OR (table1.col1_8 <= (-128):::INT8), INVERTED INDEX (col1_7 ASC, col1_10 ASC, col1_12, col1_11 ASC, col1_13 ASC, (col1_5 + col1_8) ASC, col1_6 ASC) WHERE ((((((((table1.col1_8 > (-32768):::INT8) AND (table1.col1_14 >= e'\'':::STRING)) AND (table1.col1_2 >= e'\x00':::STRING)) OR (table1.col1_15 > 127:::INT8)) OR (table1.col1_5 >= 9223372036854775807:::INT8)) AND (table1.col1_13 >= '\xff':::BYTES)) AND (table1.col1_12 != '24:00:00-15:59:00':::TIMETZ)) AND (table1.col1_9 != '-2000-01-01 00:00:00':::TIMESTAMP)) AND (table1.col1_1 > e'\U00002603':::STRING), INDEX (col1_1, col1_9 DESC, col1_12 DESC, col1_3 ASC, col1_11, (col1_5 + col1_8) ASC, col1_15, col1_7 ASC, col1_8 ASC, col1_2 ASC, col1_14 ASC, col1_13 ASC, col1_5) STORING (col1_0, col1_6) WHERE ((table1.col1_2 = e'\'':::STRING) OR (table1.col1_13 >= e'\\x27':::BYTES)) OR (table1.col1_1 >= e'\x00':::STRING), INDEX (col1_14, col1_1 ASC, col1_4 DESC, col1_12 DESC, col1_13 DESC, col1_8 DESC, col1_10) STORING (col1_0, col1_2, col1_6, col1_9), INDEX (col1_14 DESC, col1_9, col1_2, col1_13, col1_8 ASC, col1_10 ASC, col1_5 DESC) STORING (col1_4, col1_6, col1_7) WHERE ((((((((table1.col1_2 != e'\U00002603':::STRING) AND (table1.col1_14 >= 'X':::STRING)) AND (table1.col1_9 != '0001-01-01 00:00:00':::TIMESTAMP)) AND (table1.col1_13 != e'\\xe29883':::BYTES)) AND (table1.col1_5 > (-2147483648):::INT8)) AND (table1.col1_12 < '24:00:00-15:59:00':::TIMETZ)) AND (table1.col1_8 != (-128):::INT8)) OR (table1.col1_1 = e'\x00':::STRING)) OR (table1.col1_15 != (-2147483648):::INT8), FAMILY (col1_15, col1_1), FAMILY (col1_10, col1_6, col1_0), FAMILY (col1_9, col1_5, col1_3, col1_4), FAMILY (col1_8, col1_12, col1_11), FAMILY (col1_13, col1_2, col1_7));
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"avg_size": 0, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 32797878, "histo_col_type": "", "name": "__auto__", "null_count": 22679355, "row_count": 40000000}, {"avg_size": 0, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 27648155, "histo_col_type": "", "name": "__auto__", "null_count": 32802002, "row_count": 40000000}, {"avg_size": 0, "columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 32247312, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40000000}, {"avg_size": 0, "columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2132066, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40000000}, {"avg_size": 0, "columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 19508724, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40000000}, {"avg_size": 0, "columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8775980, "histo_buckets": [{"distinct_range": 0, "num_eq": 90000, "num_range": 0, "upper_bound": "00:00:00+15:59:00"}, {"distinct_range": 2626758407196943000, "num_eq": 600, "num_range": 8077731256047989271, "upper_bound": "19:43:02.784489+11:32:00"}, {"distinct_range": 0, "num_eq": 6265219339144420170, "num_range": 8197763619942978399, "upper_bound": "19:22:12.525454+09:29:00"}, {"distinct_range": 0, "num_eq": 40000000, "num_range": 20000000000, "upper_bound": "10:05:58.135221-01:16:00"}, {"distinct_range": 0, "num_eq": 400000, "num_range": 3000000, "upper_bound": "09:37:46.993294-05:58:00"}, {"distinct_range": 3394326685498639000, "num_eq": 60, "num_range": 3394326685498638607, "upper_bound": "19:14:14.557547+00:36:00"}, {"distinct_range": 3260566864628592000, "num_eq": 100000, "num_range": 5775522798185918207, "upper_bound": "24:00:00-15:59:00"}], "histo_col_type": "TIMETZ", "name": "__auto__", "null_count": 0, "row_count": 40000000}, {"avg_size": 0, "columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 26003515, "histo_col_type": "", "name": "__auto__", "null_count": 22952470, "row_count": 40000000}, {"avg_size": 0, "columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 31962794, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40000000}, {"avg_size": 0, "columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 24690663, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40000000}, {"avg_size": 0, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 21413059, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40000000}, {"avg_size": 0, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 37811872, "histo_col_type": "", "name": "__auto__", "null_count": 16105397, "row_count": 40000000}, {"avg_size": 0, "columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3624112, "histo_col_type": "", "name": "__auto__", "null_count": 13258843, "row_count": 40000000}, {"avg_size": 0, "columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 30427943, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40000000}, {"avg_size": 0, "columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 631073, "histo_buckets": [{"distinct_range": 0, "num_eq": 80000000000, "num_range": 0, "upper_bound": "\\u00038P-xL"}, {"distinct_range": 0, "num_eq": 7628530135200850136, "num_range": 0, "upper_bound": "<$$ \\u001c\\t\\u001a\\u0004_"}, {"distinct_range": 40000000000, "num_eq": 6000000, "num_range": 40000000000, "upper_bound": "X"}, {"distinct_range": 0, "num_eq": 8496093198665920417, "num_range": 8366895379902524542, "upper_bound": "i\\u001c7``YEe"}, {"distinct_range": 0, "num_eq": 4733668432263205990, "num_range": 30000000000, "upper_bound": "s\\u0002W"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 26890600, "row_count": 40000000}, {"avg_size": 0, "columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9370113, "histo_col_type": "", "name": "__auto__", "null_count": 190570, "row_count": 40000000}, {"avg_size": 0, "columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 11374592, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40000000}]':::JSONB;
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"avg_size": 0, "columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 673994, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": ">=+lNg\\ro;"}, {"distinct_range": 2660219116374974500, "num_eq": 700, "num_range": 8643528899103995705, "upper_bound": "\U00002603"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 728306, "row_count": 900000}, {"avg_size": 0, "columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 195942, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900000}, {"avg_size": 0, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 279264, "histo_buckets": [{"distinct_range": 0, "num_eq": 883561243953797086, "num_range": 0, "upper_bound": "3"}, {"distinct_range": 0, "num_eq": 9007087967151273534, "num_range": 100000, "upper_bound": "W"}, {"distinct_range": 3148321468077121000, "num_eq": 6000000000, "num_range": 3226790648585649466, "upper_bound": "r"}, {"distinct_range": 7991127256298330000, "num_eq": 4169456180848547800, "num_range": 8180935225828474974, "upper_bound": "v"}], "histo_col_type": "\\"char\\"", "name": "__auto__", "null_count": 0, "row_count": 900000}, {"avg_size": 0, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 598225, "histo_col_type": "", "name": "__auto__", "null_count": 448551, "row_count": 900000}, {"avg_size": 0, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 377729, "histo_col_type": "", "name": "__auto__", "null_count": 657528, "row_count": 900000}, {"avg_size": 0, "columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 38821, "histo_col_type": "", "name": "__auto__", "null_count": 323499, "row_count": 900000}, {"avg_size": 0, "columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 332380, "histo_col_type": "", "name": "__auto__", "null_count": 390167, "row_count": 900000}, {"avg_size": 0, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 523939, "histo_col_type": "", "name": "__auto__", "null_count": 618559, "row_count": 900000}, {"avg_size": 0, "columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 382458, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900000}, {"avg_size": 0, "columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 478081, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900000}, {"avg_size": 0, "columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 673811, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900000}, {"avg_size": 0, "columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 379337, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900000}, {"avg_size": 0, "columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 630326, "histo_col_type": "", "name": "__auto__", "null_count": 317973, "row_count": 900000}, {"avg_size": 0, "columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 677057, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900000}, {"avg_size": 0, "columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 339870, "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 0, "row_count": 900000}, {"avg_size": 0, "columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 834527, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900000}]':::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 (634.52s)
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ 13cb2f6c40e3146fed8d931f65f89da9b42ce2c1:

        postgres_1    | 		col_651921 NULLS FIRST,
        postgres_1    | 		col_651922 NULLS FIRST,
        postgres_1    | 		col_651923 NULLS FIRST,
        postgres_1    | 		col_651924 NULLS FIRST,
        postgres_1    | 		col_651925 NULLS FIRST,
        postgres_1    | 		col_651926 NULLS FIRST,
        postgres_1    | 		col_651927 NULLS FIRST,
        postgres_1    | 		col_651928 NULLS FIRST,
        postgres_1    | 		col_651929 NULLS FIRST
        postgres_1    | 2022-06-22 05:28:05.665 UTC [78] ERROR:  function from_uuid(bytea) does not exist at character 97
        postgres_1    | 2022-06-22 05:28:05.665 UTC [78] HINT:  No function matches the given name and argument types. You might need to add explicit type casts.
        postgres_1    | 2022-06-22 05:28:05.665 UTC [78] STATEMENT:  SELECT
        postgres_1    | 		*
        postgres_1    | 	FROM
        postgres_1    | 		(
        postgres_1    | 			SELECT
        postgres_1    | 				tab_466039.col2_0 AS col_652070,
        postgres_1    | 				1::OID::OID AS col_652071,
        postgres_1    | 				from_uuid(NULL::BYTEA::BYTEA)::TEXT AS col_652072
        postgres_1    | 			FROM
        postgres_1    | 				postgres.public.table2 AS tab_466039
        postgres_1    | 			WHERE
        postgres_1    | 				NULL::BOOL
        postgres_1    | 			ORDER BY
        postgres_1    | 				tab_466039.col2_4 ASC, tab_466039.tableoid DESC, tab_466039.col2_3 ASC
        postgres_1    | 		)
        postgres_1    | 			AS tab_466040
        postgres_1    | 	ORDER BY
        postgres_1    | 		col_652070 NULLS FIRST, col_652071 NULLS FIRST, col_652072 NULLS FIRST
        test_1        | --- FAIL: TestCompare (668.34s)
        test_1        |     compare_test.go:119: Checking connection to: postgres
        test_1        |     compare_test.go:119: Checking connection to: cockroach1
        test_1        |     compare_test.go:119: Checking connection to: cockroach2
        test_1        |     --- FAIL: TestCompare/mutators (0.12s)
        test_1        |         compare_test.go:128: starting test: mutators
        test_1        |         compare_test.go:137: initializing connection: cockroach1
        test_1        |         compare_test.go:159: CREATE TABLE table2 (col2_0 BOOL NOT NULL, col2_1 OID, col2_2 JSONB NOT NULL, col2_3 GEOGRAPHY NULL, col2_4 INT2 NOT NULL, PRIMARY KEY (col2_0, col2_4 DESC), INVERTED INDEX (col2_4 DESC, col2_0, col2_1 ASC, col2_2 DESC) PARTITION BY LIST (col2_4, col2_0, col2_1) (PARTITION table2_part_0 VALUES IN ((1:::INT8, false, 3311734407:::OID), ((-1):::INT8, false, 2643479497:::OID), (205:::INT8, false, 3140373882:::OID), ((-16521):::INT8, false, 2294125543:::OID)), PARTITION table2_part_1 VALUES IN (((-15445):::INT8, true, 1341694693:::OID), (127:::INT8, true, 4204135199:::OID), ((-21918):::INT8, true, 747711676:::OID), (17484:::INT8, true, 839123473:::OID)), PARTITION table2_part_2 VALUES IN ((3521:::INT8, false, 3675595482:::OID), (814:::INT8, true, 1734685384:::OID), ((-30777):::INT8, true, 253278260:::OID), (18609:::INT8, false, 1485369845:::OID)), PARTITION table2_part_3 VALUES IN (((-19795):::INT8, false, 2269953102:::OID), (29332:::INT8, true, NULL), (2549:::INT8, true, 3979881516:::OID), ((-11547):::INT8, false, 0:::OID)), PARTITION table2_part_4 VALUES IN ((7690:::INT8, false, 1182547785:::OID), (7460:::INT8, false, 3030098525:::OID), (13377:::INT8, false, NULL), ((-28161):::INT8, false, 905636317:::OID)), PARTITION table2_part_5 VALUES IN ((22377:::INT8, true, 3069756638:::OID), (13810:::INT8, true, NULL), ((-7093):::INT8, true, 2162527738:::OID), ((-28060):::INT8, true, NULL)), PARTITION table2_part_6 VALUES IN (((-28070):::INT8, false, 2463725408:::OID), ((-7961):::INT8, true, 2154427491:::OID), ((-15417):::INT8, false, 1421444037:::OID), (26145:::INT8, true, 137244000:::OID)), PARTITION table2_part_7 VALUES IN ((27664:::INT8, false, 1553446949:::OID), (13502:::INT8, false, 222697205:::OID), ((-2181):::INT8, false, 2352735540:::OID), (32767:::INT8, true, 3656824101:::OID)), PARTITION "DEFAULT" VALUES IN ((DEFAULT, DEFAULT, DEFAULT))) WHERE (table2.col2_4 = (-128):::INT8) OR table2.col2_0, UNIQUE (col2_0, col2_4 DESC) WHERE (table2.col2_4 > (-32768):::INT8) OR table2.col2_0, INDEX (col2_0) STORING (col2_1, col2_2, col2_3), FAMILY (col2_0), FAMILY (col2_2), FAMILY (col2_4), FAMILY (col2_3), 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=b12fee56-1cb3-429c-88a8-c357a44adeff for details on how to enable enterprise features (SQLSTATE XXC02)
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_postgres_1   ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...
        
    compose_test.go:120: exit status 1
--- FAIL: TestComposeCompare (698.03s)
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ 7a1ced4a49d28f66f381e78733bcab510e2cbafe:

        postgres_1    | 					AS col_648412,
        postgres_1    | 				tab_349479.col1_3 AS col_648413,
        postgres_1    | 				'J'::TEXT::TEXT AS col_648414,
        postgres_1    | 				tab_349479.col1_8 AS col_648415,
        postgres_1    | 				'D'::TEXT::TEXT AS col_648416,
        postgres_1    | 				tab_349479.col1_2 AS col_648417,
        postgres_1    | 				'G'::TEXT::TEXT AS col_648418,
        postgres_1    | 				tab_349479.col1_4 AS col_648419,
        postgres_1    | 				tab_349479.col1_0 AS col_648420
        postgres_1    | 			FROM
        postgres_1    | 				postgres.public.table1 AS tab_349479
        postgres_1    | 			WHERE
        postgres_1    | 				false::BOOL
        postgres_1    | 		)
        postgres_1    | 			AS tab_349480
        postgres_1    | 	ORDER BY
        postgres_1    | 		col_648412 NULLS FIRST,
        postgres_1    | 		col_648413 NULLS FIRST,
        postgres_1    | 		col_648414 NULLS FIRST,
        postgres_1    | 		col_648415 NULLS FIRST,
        postgres_1    | 		col_648416 NULLS FIRST,
        postgres_1    | 		col_648417 NULLS FIRST,
        postgres_1    | 		col_648418 NULLS FIRST,
        postgres_1    | 		col_648419 NULLS FIRST,
        postgres_1    | 		col_648420 NULLS FIRST
        test_1        | --- FAIL: TestCompare (604.75s)
        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.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 INT8, col1_1 FLOAT8, col1_2 GEOGRAPHY, col1_3 INT8 AS (col1_0 + (-5920536106497331252):::INT8) VIRTUAL, INDEX (col1_0) STORING (col1_1, col1_2) WHERE ((table1.col1_0 < (-1):::INT8) OR (table1.col1_1 > 3.4028234663852886e+38:::FLOAT8)) OR (table1.col1_3 >= (-2147483648):::INT8), UNIQUE (col1_1 ASC, col1_3 DESC) STORING (col1_2), UNIQUE (col1_1, col1_3 DESC, col1_0) WHERE ((table1.col1_0 < 2147483647:::INT8) AND (table1.col1_3 < 9223372036854775807:::INT8)) OR (table1.col1_1 != 1.0:::FLOAT8), FAMILY (col1_1), FAMILY (col1_2), FAMILY (col1_0));
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"avg_size": 0, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 492377884, "histo_col_type": "", "name": "__auto__", "null_count": 116374361, "row_count": 1000000000}, {"avg_size": 0, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 37594687, "histo_col_type": "", "name": "__auto__", "null_count": 205296162, "row_count": 1000000000}, {"avg_size": 0, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 213160133, "histo_col_type": "", "name": "__auto__", "null_count": 788832191, "row_count": 1000000000}, {"avg_size": 0, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 335232922, "histo_buckets": [{"distinct_range": 0, "num_eq": 100, "num_range": 0, "upper_bound": "0.21306658725027905"}, {"distinct_range": 3566814637708837000, "num_eq": 1000000, "num_range": 8208637499511549478, "upper_bound": "0.33819914588775185"}, {"distinct_range": 13821484919.036926, "num_eq": 1000, "num_range": 40000000000, "upper_bound": "0.91272524555982"}, {"distinct_range": 0, "num_eq": 60000000000, "num_range": 5507516972802143685, "upper_bound": "1.1272305174958897"}, {"distinct_range": 0, "num_eq": 8401940986557513661, "num_range": 6226374050456313929, "upper_bound": "1.4383161541178329"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 783320527, "row_count": 1000000000}]':::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": 13914336, "histo_buckets": [{"distinct_range": 0, "num_eq": 425388781544184798, "num_range": 0, "upper_bound": "-3315192041408796654"}, {"distinct_range": 1654223388500744200, "num_eq": 7546390358441036059, "num_range": 3843577438539349724, "upper_bound": "307427805195917817"}, {"distinct_range": 100000000000, "num_eq": 5000000000, "num_range": 100000000000, "upper_bound": "1047103476464146888"}, {"distinct_range": 0, "num_eq": 10000000, "num_range": 8772613235327117096, "upper_bound": "4080272162605731403"}, {"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "4488467646598008563"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 22225702, "row_count": 30000000}, {"avg_size": 0, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 21257670, "histo_buckets": [{"distinct_range": 0, "num_eq": 2050687862552858579, "num_range": 0, "upper_bound": "-0.15210484576131028"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 751144, "row_count": 30000000}, {"avg_size": 0, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 11273629, "histo_col_type": "", "name": "__auto__", "null_count": 20571707, "row_count": 30000000}, {"avg_size": 0, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 29749958, "histo_col_type": "", "name": "__auto__", "null_count": 19913103, "row_count": 30000000}]':::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 (636.64s)
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ 7af6c0d3e2085cafda90d5f0b15d06f6a360f154:

        postgres_1    | 				NULL::BIT(21) AS col_679157,
        postgres_1    | 				tab_344210.col2_14 AS col_679158,
        postgres_1    | 				5::INT8::INT4 AS col_679159,
        postgres_1    | 				'J'::TEXT::TEXT AS col_679160,
        postgres_1    | 				tab_344210.col2_2 AS col_679161,
        postgres_1    | 				tab_344210.col2_10 AS col_679162,
        postgres_1    | 				tab_344210.tableoid AS col_679163,
        postgres_1    | 				CASE WHEN true::BOOL THEN tab_344210.col2_9 ELSE tab_344210.col2_9 END AS col_679164,
        postgres_1    | 				tab_344210.col2_11 AS col_679165,
        postgres_1    | 				9::INT8::INT4 AS col_679166,
        postgres_1    | 				NULL::GEOMETRY[] AS col_679167
        postgres_1    | 			FROM
        postgres_1    | 				postgres.public.table2 AS tab_344210
        postgres_1    | 			WHERE
        postgres_1    | 				NULL::GEOMETRY::GEOMETRY NOT IN (NULL::GEOMETRY, NULL::GEOMETRY, NULL::GEOMETRY, NULL::GEOMETRY)
        postgres_1    | 		)
        postgres_1    | 			AS tab_344211
        postgres_1    | 	ORDER BY
        postgres_1    | 		col_679157 NULLS FIRST,
        postgres_1    | 		col_679158 NULLS FIRST,
        postgres_1    | 		col_679159 NULLS FIRST,
        postgres_1    | 		col_679160 NULLS FIRST,
        postgres_1    | 		col_679161 NULLS FIRST,
        postgres_1    | 		col_679162 NULLS FIRST,
        postgres_1    | 		col_679163 NULLS FIRST,
        postgres_1    | 		col_679164 NULLS FIRST,
        postgres_1    | 		col_679165 NULLS FIRST,
        postgres_1    | 		col_679166 NULLS FIRST,
        postgres_1    | 		col_679167 NULLS FIRST
        test_1        | --- FAIL: TestCompare (604.55s)
        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.30s)
        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 VARCHAR NOT NULL, col1_2 INT2 NOT NULL, col1_3 STRING NOT NULL AS (lower(col1_1)) STORED, col1_4 STRING NOT NULL AS (lower(col1_1)) VIRTUAL, PRIMARY KEY (col1_3 ASC, col1_4 DESC, col1_1 DESC, col1_0 DESC), INDEX (col1_0, col1_3) PARTITION BY LIST (col1_0, col1_3) (PARTITION table1_part_0 VALUES IN (('\x4c7e6a3532':::BYTES, e'7zuvN\x0e\n':::STRING), ('\x1fad498bc1779123':::BYTES, ';)':::STRING), ('\xea':::BYTES, e'1``\x1e\x03\x1d':::STRING)), PARTITION table1_part_1 VALUES IN (('\x4573':::BYTES, e'\U00002603':::STRING), ('\xfbbf1865ceda9902':::BYTES, e'1\'R\\e]':::STRING), ('\x4c15ed42b42d4f1b':::BYTES, e'\x11\x04':::STRING)), PARTITION table1_part_2 VALUES IN (('\xa1454c86':::BYTES, e'\x05':::STRING), ('\xaf14d2b5a640':::BYTES, e'qb\x05':::STRING), ('\x4f390f':::BYTES, e'\x19f\x19J\x1e':::STRING)), PARTITION table1_part_3 VALUES IN (('\xf6d50d1c9e3f364583':::BYTES, e'\b2\x12q\x15j\r}':::STRING), ('\x855a4a':::BYTES, '0_k~<':::STRING), ('\x07d93a13d802d19fe2':::BYTES, e'\x05:%Lo\tl':::STRING)), PARTITION table1_part_4 VALUES IN (('\x9d9457286ec1':::BYTES, e'QN(G\x04\x7fPO\\':::STRING), ('\x0fe86aae':::BYTES, e'\x02X\tDq^':::STRING), ('\xb3de560461fd4a':::BYTES, e'r\x17&3/\x11^D':::STRING)), PARTITION table1_part_5 VALUES IN (('\x7a9b':::BYTES, '':::STRING), ('\x27':::BYTES, ';7P':::STRING), ('\x6230cb0c':::BYTES, e'\t\x04\x0b qo^':::STRING))), INDEX (col1_1 ASC, col1_3, col1_2 ASC), UNIQUE (col1_0 DESC, (col1_2 + 10919:::INT8) DESC, col1_4 DESC, col1_1 DESC, col1_2 ASC) WHERE ((table1.col1_0 != '\x00':::BYTES) AND (table1.col1_3 < '"':::STRING)) OR (table1.col1_4 <= e'\x00':::STRING), UNIQUE (col1_4 ASC, col1_1 DESC, col1_0, col1_2), UNIQUE (col1_4 ASC, col1_0 DESC, col1_3 DESC) WHERE (table1.col1_2 = (-1):::INT8) OR (table1.col1_4 <= e'\U00002603':::STRING), INDEX (lower(col1_1), col1_2, col1_4 DESC, col1_0 DESC) WHERE ((table1.col1_4 != e'\'':::STRING) AND (table1.col1_1 <= e'\U00002603':::STRING)) OR (table1.col1_3 > e'\U00002603':::STRING), UNIQUE (col1_2 DESC, col1_0), FAMILY (col1_1, col1_3, col1_0, col1_2))
        test_1        |         compare_test.go:160: cockroach1: exec: ERROR: use of partitions requires an enterprise license. see https://cockroachlabs.com/pricing?cluster=492ccfe0-8dc5-4eb6-bfaf-ecc261f1a0ab 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 (635.96s)
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ fc7ae339c3f85ad2a2b28643e47d7c20768fe237:

        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(
        test_1        |             		SELECT
        test_1        |             			CASE
        test_1        |             			WHEN overlaps('2000-01-01 09:00:00+00:00'::TIMESTAMPTZ::TIMESTAMPTZ::TIMESTAMPTZ, '2000-01-01 04:00:00+00:00'::TIMESTAMPTZ::TIMESTAMPTZ::TIMESTAMPTZ, NULL::TIMESTAMPTZ::TIMESTAMPTZ, '2000-01-01 07:00:00+00:00'::TIMESTAMPTZ::TIMESTAMPTZ::TIMESTAMPTZ)::BOOL
        test_1        |             			THEN 7::OID::OID
        test_1        |             			ELSE 0::OID::OID
        test_1        |             			END
        test_1        |             				AS col_251866
        test_1        |             	)
        test_1        |             		AS tab_137297
        test_1        |             ORDER BY
        test_1        |             	col_251866 NULLS FIRST;
        test_1        |             
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(
        test_1        |             		SELECT
        test_1        |             			CASE
        test_1        |             			WHEN overlaps('2000-01-01 09:00:00+00:00':::TIMESTAMPTZ::TIMESTAMPTZ::TIMESTAMPTZ, '2000-01-01 04:00:00+00:00':::TIMESTAMPTZ::TIMESTAMPTZ::TIMESTAMPTZ, NULL::TIMESTAMPTZ::TIMESTAMPTZ, '2000-01-01 07:00:00+00:00':::TIMESTAMPTZ::TIMESTAMPTZ::TIMESTAMPTZ)::BOOL
        test_1        |             			THEN 7:::OID::OID
        test_1        |             			ELSE 0:::OID::OID
        test_1        |             			END
        test_1        |             				AS col_251866
        test_1        |             	)
        test_1        |             		AS tab_137297
        test_1        |             ORDER BY
        test_1        |             	col_251866 NULLS FIRST;
        test_1        |             
        test_1        |     --- FAIL: TestCompare/mutators (0.20s)
        test_1        |         compare_test.go:128: starting test: mutators
        test_1        |         compare_test.go:137: initializing connection: cockroach1
        test_1        |         compare_test.go:159: CREATE TABLE table2 (col2_0 TIMESTAMPTZ NULL, col2_1 UUID NOT NULL, col2_2 BOOL NOT NULL, col2_3 DATE NOT NULL, col2_4 BYTES NOT NULL, col2_5 INT4, col2_6 TIMESTAMPTZ[], col2_7 VARCHAR NOT NULL, col2_8 REGPROC NULL, col2_9 REGTYPE NULL, col2_10 NAME NOT NULL, col2_11 STRING AS (CASE WHEN col2_6 IS NULL THEN e'jmc\x1c4':::STRING ELSE NULL END) STORED, col2_12 STRING NULL AS (CASE WHEN col2_9 IS NULL THEN e'VAT]~l\r':::STRING ELSE NULL END) VIRTUAL, col2_13 STRING NOT NULL AS (CASE WHEN col2_3 IS NULL THEN e'\x16\x02$%E8':::STRING ELSE '':::STRING END) VIRTUAL, col2_14 STRING NULL AS (CASE WHEN col2_9 IS NULL THEN e'AKW%\'n8\x15X':::STRING ELSE ')':::STRING END) VIRTUAL, col2_15 STRING NULL AS (CASE WHEN col2_0 IS NULL THEN e'\x06/-\x13o"\n':::STRING ELSE e'\x00':::STRING END) STORED, col2_16 STRING NULL AS (CASE WHEN col2_9 IS NULL THEN 'S(+9$a]d':::STRING ELSE 'MaVQ,0Ts':::STRING END) VIRTUAL, col2_17 STRING AS (CASE WHEN col2_6 IS NULL THEN e'&\bp,iVB':::STRING ELSE e'\x13\x1b\x1eApt\x11L':::STRING END) VIRTUAL, UNIQUE (col2_4 DESC, col2_11, col2_1 DESC, col2_3 ASC, col2_2 DESC, col2_9 DESC, col2_14 ASC, col2_8, col2_17 ASC, col2_0, col2_12 DESC, col2_15, (CASE WHEN col2_3 IS NULL THEN e'~A$rvx\fm}':::STRING ELSE 'X':::STRING END), col2_5, col2_10 DESC) PARTITION BY LIST (col2_4, col2_11, col2_1, col2_3, col2_2, col2_9) (PARTITION table2_part_0 VALUES IN (('\x03c8ff':::BYTES, e'@\x17\x01':::STRING, '00000000-0000-0000-0000-000000000000':::UUID, '1991-05-09':::DATE, true, 4107438644:::OID)), PARTITION table2_part_1 VALUES IN (('\x':::BYTES, e'\x19j\x17':::STRING, 'db486ce0-a46c-4a4e-a944-edfb5ada00aa':::UUID, '1989-08-17':::DATE, true, 2683327095:::OID))), UNIQUE (lower(col2_7) DESC, col2_11, col2_12 ASC, col2_16, col2_7, col2_3 ASC, col2_0 DESC, (CASE WHEN col2_0 IS NULL THEN e'VC1\x7f6k]J\x1b':::STRING ELSE e'\U00002603':::STRING END), col2_10) WHERE ((((table2.col2_11 != e'\x00':::STRING) OR (table2.col2_12 >= e'\U00002603':::STRING)) AND (table2.col2_15 <= e'\x00':::STRING)) AND (table2.col2_14 != '"':::STRING)) AND (table2.col2_5 < 2147483647:::INT8), UNIQUE (col2_4 ASC, col2_3 DESC), INVERTED INDEX (col2_13 ASC, col2_9, col2_4 ASC, col2_12, col2_11 DESC, col2_17 ASC, col2_0 ASC, col2_5 DESC, col2_14 ASC, col2_2 ASC, col2_15, col2_8 DESC, (CASE WHEN col2_0 IS NULL THEN e'\f_.':::STRING ELSE e'\x03\fOC=TL':::STRING END), col2_1 ASC, col2_3 ASC, col2_10 ASC, col2_7, col2_6 ASC) WHERE (((((((((((((table2.col2_14 != e'\U00002603':::STRING) AND (table2.col2_7 > e'\x00':::STRING)) OR (table2.col2_0 <= '3000-01-01 00:00:00+00:00':::TIMESTAMPTZ)) OR (table2.col2_12 < e'\'':::STRING)) AND (table2.col2_13 = e'\x00':::STRING)) OR (table2.col2_11 <= 'X':::STRING)) AND (table2.col2_15 != e'\'':::STRING)) OR (table2.col2_3 = '5874897-12-31':::DATE)) AND (table2.col2_16 = '"':::STRING)) AND (table2.col2_17 <= '':::STRING)) OR (table2.col2_4 = '\x58':::BYTES)) OR (table2.col2_5 < 32767:::INT8)) AND (table2.col2_10 < '':::STRING)) OR table2.col2_2, FAMILY (col2_10, col2_11), FAMILY (col2_1), FAMILY (col2_7, col2_3, col2_4), FAMILY (col2_0, col2_6, col2_2), FAMILY (col2_9, col2_5, col2_8, col2_15))
        test_1        |         compare_test.go:160: cockroach1: exec: ERROR: use of partitions requires an enterprise license. see https://cockroachlabs.com/pricing?cluster=9665d077-2b9b-45f6-8cf2-ef231b8f26ea for details on how to enable enterprise features (SQLSTATE XXC02)
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_postgres_1   ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...
        
    compose_test.go:120: exit status 1
--- FAIL: TestComposeCompare (228.32s)
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ b47dc374417fe4ba83570784040da5650238b30e:

        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/.cache/bazel/_bazel_agent/40f5e2a2e18a7cdb4cd075f919d8072b/execroot/com_github_cockroachdb_cockroach/_tmp/47c568f68c04b61694d82f4def978aef/TestComposeCompare1730186233/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        |               	[16]uint8{0x00, 0x00, 0x00, 0x00, ...},
        test_1        |             - 	string("010300008000000000"),
        test_1        |             + 	string("0103000080010000000500000000000000000020400000000000000840000000000000204000000000000020400000000000004540000000000000204000000000000014400000000000004540000000000000204000000000000014400000000000000840000000000000204000000000000020400000000000000840000000"...),
        test_1        |               }))
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(
        test_1        |             		SELECT
        test_1        |             			'00000000-0000-0000-0000-000000000003':::UUID::UUID AS col_294787,
        test_1        |             			st_force3d(st_makeenvelope(8.0:::FLOAT8::FLOAT8::FLOAT8, 3.0:::FLOAT8::FLOAT8::FLOAT8, 5.0:::FLOAT8::FLOAT8::FLOAT8, (6.0:::FLOAT8::FLOAT8::FLOAT8 * 7.0:::FLOAT8::FLOAT8::FLOAT8)::FLOAT8::FLOAT8)::GEOMETRY::GEOMETRY, 8.0:::FLOAT8::FLOAT8::FLOAT8)::GEOMETRY
        test_1        |             				AS col_294788
        test_1        |             	)
        test_1        |             		AS tab_181536
        test_1        |             ORDER BY
        test_1        |             	col_294787 NULLS FIRST, col_294788 NULLS FIRST;
        test_1        |             
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(
        test_1        |             		SELECT
        test_1        |             			'00000000-0000-0000-0000-000000000003'::UUID::UUID AS col_294787,
        test_1        |             			st_force3d(st_makeenvelope(8.0::FLOAT8::FLOAT8::FLOAT8, 3.0::FLOAT8::FLOAT8::FLOAT8, 5.0::FLOAT8::FLOAT8::FLOAT8, (6.0::FLOAT8::FLOAT8::FLOAT8 * 7.0::FLOAT8::FLOAT8::FLOAT8)::FLOAT8::FLOAT8)::GEOMETRY::GEOMETRY, 8.0::FLOAT8::FLOAT8::FLOAT8)::GEOMETRY
        test_1        |             				AS col_294788
        test_1        |             	)
        test_1        |             		AS tab_181536
        test_1        |             ORDER BY
        test_1        |             	col_294787 NULLS FIRST, col_294788 NULLS FIRST;
        test_1        |             
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...
        
    compose_test.go:120: exit status 1
--- FAIL: TestComposeCompare (268.12s)
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ a611410e3babe97a14152381b89060e1bafa2e27:

        postgres_1    | 	ORDER BY
        postgres_1    | 		col_575147 NULLS FIRST,
        postgres_1    | 		col_575148 NULLS FIRST,
        postgres_1    | 		col_575149 NULLS FIRST,
        postgres_1    | 		col_575150 NULLS FIRST,
        postgres_1    | 		col_575151 NULLS FIRST,
        postgres_1    | 		col_575152 NULLS FIRST
        postgres_1    | 2022-06-27 05:26:23.601 UTC [78] ERROR:  function unaccent(text) does not exist at character 251
        postgres_1    | 2022-06-27 05:26:23.601 UTC [78] HINT:  No function matches the given name and argument types. You might need to add explicit type casts.
        postgres_1    | 2022-06-27 05:26:23.601 UTC [78] STATEMENT:  SELECT
        postgres_1    | 		*
        postgres_1    | 	FROM
        postgres_1    | 		(
        postgres_1    | 			SELECT
        postgres_1    | 				2::OID::OID AS col_575249,
        postgres_1    | 				tab_508035.col1_0 AS col_575250,
        postgres_1    | 				'00000000-0000-0000-0000-000000000007'::UUID::UUID AS col_575251
        postgres_1    | 			FROM
        postgres_1    | 				postgres.public.table1 AS tab_508035
        postgres_1    | 			WHERE
        postgres_1    | 				'D'::TEXT::TEXT NOT SIMILAR TO unaccent('C'::TEXT::TEXT::TEXT)::TEXT
        postgres_1    | 		)
        postgres_1    | 			AS tab_508036
        postgres_1    | 	ORDER BY
        postgres_1    | 		col_575249 NULLS FIRST, col_575250 NULLS FIRST, col_575251 NULLS FIRST
        test_1        | --- FAIL: TestCompare (604.26s)
        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.27s)
        test_1        |         compare_test.go:128: starting test: mutators
        test_1        |         compare_test.go:137: initializing connection: cockroach1
        test_1        |         compare_test.go:137: initializing connection: cockroach2
        test_1        |         compare_test.go:159: CREATE TABLE table1 (col1_0 INT8 NOT NULL, col1_1 INT8, col1_2 BIT(49) NOT NULL, col1_3 INT4 NULL, col1_4 STRING NOT NULL AS (lower(CAST(col1_2 AS STRING))) STORED, FAMILY (col1_0, col1_3), FAMILY (col1_1), FAMILY (col1_4), FAMILY (col1_2));
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"avg_size": 0, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 628, "histo_col_type": "", "name": "__auto__", "null_count": 360, "row_count": 900}, {"avg_size": 0, "columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 312, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900}, {"avg_size": 0, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 227, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900}, {"avg_size": 0, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 251, "histo_col_type": "", "name": "__auto__", "null_count": 152, "row_count": 900}, {"avg_size": 0, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 378, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900}]':::JSONB;
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"avg_size": 0, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 111916, "histo_col_type": "", "name": "__auto__", "null_count": 351177, "row_count": 400000}, {"avg_size": 0, "columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 158520, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 400000}, {"avg_size": 0, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 398317, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 400000}, {"avg_size": 0, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 132462, "histo_col_type": "", "name": "__auto__", "null_count": 233223, "row_count": 400000}, {"avg_size": 0, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 72650, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 400000}]':::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 (633.44s)
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ 7f8fef4c3f24ec2b6f9a3db1eb38756da68b3d5a:

        postgres_1    | 2022-06-28 05:26:32.653 UTC [78] STATEMENT:  SELECT
        postgres_1    | 		*
        postgres_1    | 	FROM
        postgres_1    | 		(
        postgres_1    | 			SELECT
        postgres_1    | 				tab_478486.tableoid AS col_765212,
        postgres_1    | 				tab_478486.col1_0 AS col_765213,
        postgres_1    | 				'00:09:00'::TIME::TIME AS col_765214,
        postgres_1    | 				tab_478487.col2_15 AS col_765215,
        postgres_1    | 				tab_478487.col2_11 AS col_765216,
        postgres_1    | 				tab_478488.col2_0 AS col_765217,
        postgres_1    | 				to_char(('00:00:09'::INTERVAL::INTERVAL::INTERVAL / (tab_478487.col2_11::FLOAT8 - sqrt(NULL::FLOAT8::FLOAT8)::FLOAT8::FLOAT8)::FLOAT8::FLOAT8)::INTERVAL::INTERVAL)::TEXT
        postgres_1    | 					AS col_765218
        postgres_1    | 			FROM
        postgres_1    | 				postgres.public.table1 AS tab_478486,
        postgres_1    | 				postgres.public.table2 AS tab_478487,
        postgres_1    | 				postgres.public.table2 AS tab_478488
        postgres_1    | 			WHERE
        postgres_1    | 				tab_478486.col1_13
        postgres_1    | 		)
        postgres_1    | 			AS tab_478489
        postgres_1    | 	ORDER BY
        postgres_1    | 		col_765212 NULLS FIRST,
        postgres_1    | 		col_765213 NULLS FIRST,
        postgres_1    | 		col_765214 NULLS FIRST,
        postgres_1    | 		col_765215 NULLS FIRST,
        postgres_1    | 		col_765216 NULLS FIRST,
        postgres_1    | 		col_765217 NULLS FIRST,
        postgres_1    | 		col_765218 NULLS FIRST
        test_1        | --- FAIL: TestCompare (604.79s)
        test_1        |     compare_test.go:119: Checking connection to: cockroach1
        test_1        |     compare_test.go:119: Checking connection to: cockroach2
        test_1        |     compare_test.go:119: Checking connection to: postgres
        test_1        |     --- FAIL: TestCompare/mutators (0.12s)
        test_1        |         compare_test.go:128: starting test: mutators
        test_1        |         compare_test.go:137: initializing connection: cockroach1
        test_1        |         compare_test.go:159: CREATE TABLE table1 (col1_0 DECIMAL NOT NULL, col1_1 BYTES, col1_2 "char" NULL, col1_3 INT8, col1_4 TIMESTAMPTZ NULL, col1_5 BIT(10), col1_6 BOX2D NOT NULL, col1_7 INT2, col1_8 VARCHAR[] NOT NULL, INDEX (col1_4 ASC, col1_5 ASC), UNIQUE (col1_7 DESC, col1_0 ASC, col1_3, lower(CAST(col1_6 AS STRING)) DESC, col1_6 ASC), UNIQUE (col1_4 DESC) STORING (col1_0, col1_2, col1_7) WHERE table1.col1_1 <= '\xe29883':::BYTES, UNIQUE (col1_1 ASC, col1_4 ASC) PARTITION BY LIST (col1_1) (PARTITION table1_part_0 VALUES IN (('\x1e':::BYTES,), ('\x1f0a16cba3':::BYTES,), ('\xc432f03be3bbd3c759':::BYTES,)), PARTITION table1_part_1 VALUES IN (('\x6dbed0a4de7cf8':::BYTES,), (NULL,), ('\x474a':::BYTES,)), PARTITION table1_part_2 VALUES IN (('\x22':::BYTES,), ('\x03':::BYTES,), ('\x3f52':::BYTES,)), PARTITION table1_part_3 VALUES IN (('\x83de1230ee26':::BYTES,), ('\x4ad71478e39b85bcea':::BYTES,), ('\x11f1dd1bae4d':::BYTES,))), FAMILY (col1_6), FAMILY (col1_4, col1_5), FAMILY (col1_8), FAMILY (col1_0), FAMILY (col1_3), FAMILY (col1_7, col1_2), FAMILY (col1_1))
        test_1        |         compare_test.go:160: cockroach1: exec: ERROR: use of partitions requires an enterprise license. see https://cockroachlabs.com/pricing?cluster=437584d2-f570-4d85-86c1-46f24f0411f3 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 (633.87s)
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ ac11a55499120ffd33016feebc47b4ed43a21007:

        postgres_1    | 2022-06-29 05:16:58.069 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
        postgres_1    | 2022-06-29 05:16:58.074 UTC [68] LOG:  database system was shut down at 2022-06-29 05:16:57 UTC
        postgres_1    | 2022-06-29 05:16:58.079 UTC [1] LOG:  database system is ready to accept connections
        postgres_1    | 2022-06-29 05:16:59.398 UTC [78] ERROR:  invalid byte sequence for encoding "UTF8": 0x00
        postgres_1    | 2022-06-29 05:16:59.398 UTC [78] STATEMENT:  CREATE TABLE table2 (col2_0 BIT(17) NOT NULL, col2_1 BIT(39) NOT NULL, col2_2 UUID NOT NULL, col2_3 BYTEA NOT NULL, col2_4 BOX2D NOT NULL, col2_5 BIT(13) NOT NULL, col2_6 REGPROC NULL, col2_7 CHAR NOT NULL, col2_8 REGROLE NOT NULL, col2_9 REGPROC NOT NULL, col2_10 VARCHAR NOT NULL, col2_11 TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN col2_3 IS NULL THEN NULL ELSE e'G\x15'::TEXT END) STORED, col2_12 TEXT GENERATED ALWAYS AS (CASE WHEN col2_8 IS NULL THEN 'w'::TEXT ELSE e'5q\\'::TEXT END) STORED, col2_13 TEXT NOT NULL GENERATED ALWAYS AS (lower(CAST(col2_1 AS TEXT))) STORED, col2_14 TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN col2_6 IS NULL THEN e'.:\x16x\x0bk'::TEXT ELSE NULL END) STORED, col2_15 TEXT NULL GENERATED ALWAYS AS (CASE WHEN col2_6 IS NULL THEN e'\x00'::TEXT ELSE NULL END) STORED, col2_16 TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN col2_8 IS NULL THEN e';M\x1eM'::TEXT ELSE '``'::TEXT END) STORED, col2_17 TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN col2_6 IS NULL THEN 'x'::TEXT ELSE e'ExbF\b\x0f'::TEXT END) STORED, PRIMARY KEY (col2_9, col2_16, col2_3, col2_1, col2_17, col2_2, col2_11, col2_0, col2_8, col2_13, col2_14, col2_7));
        postgres_1    | 	CREATE UNIQUE INDEX ON table2 (col2_7 ASC, col2_1 ASC, col2_17, col2_13, col2_16 ASC, col2_5 ASC, col2_15 ASC, col2_10 ASC, col2_0 ASC, col2_12);
        postgres_1    | 	CREATE UNIQUE INDEX ON table2 (col2_15, col2_3 DESC, col2_7, col2_6, col2_17 DESC, col2_14 DESC, col2_16 DESC, col2_2 ASC, col2_0, col2_9 DESC) INCLUDE (col2_5, col2_10, col2_12);
        postgres_1    | 	CREATE UNIQUE INDEX ON table2 (col2_14, col2_1 ASC, col2_15, col2_7 DESC, col2_3, col2_11 ASC, col2_0 ASC, col2_5 ASC, col2_2 DESC) INCLUDE (col2_12);
        postgres_1    | 	CREATE UNIQUE INDEX ON table2 (col2_14 ASC, col2_10 ASC, col2_6 DESC, col2_12 DESC, col2_0, col2_11, col2_17 ASC, col2_5 ASC, col2_8 DESC, (CASE WHEN col2_3 IS NULL THEN e'\''::TEXT ELSE e'm\nZ\x01VIue'::TEXT END) DESC, col2_1 DESC, col2_16 DESC);
        postgres_1    | 	CREATE UNIQUE INDEX ON table2 (col2_7, col2_1 DESC, col2_14 ASC, col2_3);
        postgres_1    | 	CREATE UNIQUE INDEX ON table2 (col2_12 DESC) INCLUDE (col2_15);
        postgres_1    | 	
        test_1        | --- FAIL: TestCompare (4.37s)
        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.88s)
        test_1        |         compare_test.go:128: starting test: postgres
        test_1        |         compare_test.go:137: initializing connection: cockroach1
        test_1        |         compare_test.go:137: initializing connection: postgres
        test_1        |         compare_test.go:159: CREATE TABLE table2 (col2_0 BIT(17) NOT NULL, col2_1 BIT(39) NOT NULL, col2_2 UUID NOT NULL, col2_3 BYTEA NOT NULL, col2_4 BOX2D NOT NULL, col2_5 BIT(13) NOT NULL, col2_6 REGPROC NULL, col2_7 CHAR NOT NULL, col2_8 REGROLE NOT NULL, col2_9 REGPROC NOT NULL, col2_10 VARCHAR NOT NULL, col2_11 TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN col2_3 IS NULL THEN NULL ELSE e'G\x15'::TEXT END) STORED, col2_12 TEXT GENERATED ALWAYS AS (CASE WHEN col2_8 IS NULL THEN 'w'::TEXT ELSE e'5q\\'::TEXT END) STORED, col2_13 TEXT NOT NULL GENERATED ALWAYS AS (lower(CAST(col2_1 AS TEXT))) STORED, col2_14 TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN col2_6 IS NULL THEN e'.:\x16x\x0bk'::TEXT ELSE NULL END) STORED, col2_15 TEXT NULL GENERATED ALWAYS AS (CASE WHEN col2_6 IS NULL THEN e'\x00'::TEXT ELSE NULL END) STORED, col2_16 TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN col2_8 IS NULL THEN e';M\x1eM'::TEXT ELSE '``'::TEXT END) STORED, col2_17 TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN col2_6 IS NULL THEN 'x'::TEXT ELSE e'ExbF\b\x0f'::TEXT END) STORED, PRIMARY KEY (col2_9, col2_16, col2_3, col2_1, col2_17, col2_2, col2_11, col2_0, col2_8, col2_13, col2_14, col2_7));
        test_1        |             CREATE UNIQUE INDEX ON table2 (col2_7 ASC, col2_1 ASC, col2_17, col2_13, col2_16 ASC, col2_5 ASC, col2_15 ASC, col2_10 ASC, col2_0 ASC, col2_12);
        test_1        |             CREATE UNIQUE INDEX ON table2 (col2_15, col2_3 DESC, col2_7, col2_6, col2_17 DESC, col2_14 DESC, col2_16 DESC, col2_2 ASC, col2_0, col2_9 DESC) INCLUDE (col2_5, col2_10, col2_12);
        test_1        |             CREATE UNIQUE INDEX ON table2 (col2_14, col2_1 ASC, col2_15, col2_7 DESC, col2_3, col2_11 ASC, col2_0 ASC, col2_5 ASC, col2_2 DESC) INCLUDE (col2_12);
        test_1        |             CREATE UNIQUE INDEX ON table2 (col2_14 ASC, col2_10 ASC, col2_6 DESC, col2_12 DESC, col2_0, col2_11, col2_17 ASC, col2_5 ASC, col2_8 DESC, (CASE WHEN col2_3 IS NULL THEN e'\''::TEXT ELSE e'm\nZ\x01VIue'::TEXT END) DESC, col2_1 DESC, col2_16 DESC);
        test_1        |             CREATE UNIQUE INDEX ON table2 (col2_7, col2_1 DESC, col2_14 ASC, col2_3);
        test_1        |             CREATE UNIQUE INDEX ON table2 (col2_12 DESC) INCLUDE (col2_15);
        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.36s)
        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 TIMESTAMP NOT NULL, col1_1 REGPROCEDURE, col1_2 TIME NOT NULL, col1_3 REGROLE NOT NULL, col1_4 INT2, col1_5 REGPROC NULL, col1_6 VARCHAR[] NULL, col1_7 REGPROCEDURE NOT NULL, col1_8 FLOAT4 NOT NULL, col1_9 STRING NOT NULL AS (CASE WHEN col1_0 IS NULL THEN e'\riw\x10-':::STRING ELSE e'\t':::STRING END) VIRTUAL, FAMILY (col1_8, col1_6, col1_5), FAMILY (col1_2), FAMILY (col1_1), FAMILY (col1_7), FAMILY (col1_0, col1_3), FAMILY (col1_4));
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"avg_size": 0, "columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 220619361732258513, "histo_col_type": "", "name": "__auto__", "null_count": 1067218671081546224, "row_count": 2280482874661034261}, {"avg_size": 0, "columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1193105247664274434, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2280482874661034261}, {"avg_size": 0, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1680062701643377347, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2280482874661034261}, {"avg_size": 0, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 250384326772250858, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2280482874661034261}, {"avg_size": 0, "columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 800196605875328093, "histo_col_type": "", "name": "__auto__", "null_count": 1741428669266114914, "row_count": 2280482874661034261}, {"avg_size": 0, "columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 411327312651055475, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2280482874661034261}, {"avg_size": 0, "columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 594438555312818703, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2280482874661034261}, {"avg_size": 0, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1316807618944869823, "histo_col_type": "", "name": "__auto__", "null_count": 485400084016347740, "row_count": 2280482874661034261}, {"avg_size": 0, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2130364022051606924, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2280482874661034261}, {"avg_size": 0, "columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1002863887860665692, "histo_col_type": "", "name": "__auto__", "null_count": 1380975079554146357, "row_count": 2280482874661034261}]':::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": 76611012, "histo_col_type": "", "name": "__auto__", "null_count": 642781168, "row_count": 1000000000}, {"avg_size": 0, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 497626823, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000000000}, {"avg_size": 0, "columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 891068473, "histo_col_type": "", "name": "__auto__", "null_count": 835378724, "row_count": 1000000000}, {"avg_size": 0, "columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 223535831, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000000000}, {"avg_size": 0, "columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 105885314, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000000000}, {"avg_size": 0, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 250391615, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000000000}, {"avg_size": 0, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 778175766, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000000000}, {"avg_size": 0, "columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 663723893, "histo_col_type": "", "name": "__auto__", "null_count": 588670835, "row_count": 1000000000}, {"avg_size": 0, "columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 513784187, "histo_col_type": "", "name": "__auto__", "null_count": 540838224, "row_count": 1000000000}, {"avg_size": 0, "columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 374101632, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000000000}]':::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 (21.64s)
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ e1e99da678e29db4ef21813423f012273c99add2:

        test_1        |               	nil,
        test_1        |               	nil,
        test_1        |             - 	string("01010000000000000000E050400000000000E050C0"),
        test_1        |             + 	nil,
        test_1        |               }))
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(
        test_1        |             		SELECT
        test_1        |             			NULL::rand_typ_3 AS col_10946,
        test_1        |             			NULL::rand_typ_1 AS col_10947,
        test_1        |             			st_pointfromgeohash('J':::STRING::STRING::STRING, NULL::INT4::INT4)::GEOMETRY AS col_10948
        test_1        |             	)
        test_1        |             		AS tab_6212
        test_1        |             ORDER BY
        test_1        |             	col_10946 NULLS FIRST, col_10947 NULLS FIRST, col_10948 NULLS FIRST;
        test_1        |             
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(
        test_1        |             		SELECT
        test_1        |             			NULL::rand_typ_3 AS col_10946,
        test_1        |             			NULL::rand_typ_1 AS col_10947,
        test_1        |             			st_pointfromgeohash('J'::TEXT::TEXT::TEXT, NULL::INT4::INT4)::GEOMETRY AS col_10948
        test_1        |             	)
        test_1        |             		AS tab_6212
        test_1        |             ORDER BY
        test_1        |             	col_10946 NULLS FIRST, col_10947 NULLS FIRST, col_10948 NULLS FIRST;
        test_1        |             
        test_1        |     --- FAIL: TestCompare/mutators (0.26s)
        test_1        |         compare_test.go:128: starting test: mutators
        test_1        |         compare_test.go:137: initializing connection: cockroach1
        test_1        |         compare_test.go:159: CREATE TABLE table5 (col5_0 OID, col5_1 TIMESTAMPTZ NOT NULL, PRIMARY KEY (col5_1 ASC), UNIQUE (col5_1 ASC, col5_0) PARTITION BY LIST (col5_1, col5_0) (PARTITION table5_part_0 VALUES IN (('1983-09-01 07:34:14.00089+00:00':::TIMESTAMPTZ, 2787627069:::OID), ('3000-01-01 00:00:00+00:00':::TIMESTAMPTZ, 2384930539:::OID), ('1986-03-13 08:32:47.00016+00:00':::TIMESTAMPTZ, 0:::OID), ('2028-04-23 13:04:43.000214+00:00':::TIMESTAMPTZ, 4232797439:::OID), ('1990-10-28 21:57:35.000573+00:00':::TIMESTAMPTZ, 2396775119:::OID), ('2030-03-16 14:30:26.00066+00:00':::TIMESTAMPTZ, 4018057957:::OID), ('1983-06-21 12:32:23.000403+00:00':::TIMESTAMPTZ, 3489235532:::OID), ('1993-10-29 15:37:59.000071+00:00':::TIMESTAMPTZ, NULL), ('1989-09-03 15:01:30.000837+00:00':::TIMESTAMPTZ, NULL)), PARTITION table5_part_1 VALUES IN (('2024-03-27 14:01:35.000206+00:00':::TIMESTAMPTZ, 3118300001:::OID), ('1997-01-25 06:57:26.000629+00:00':::TIMESTAMPTZ, 0:::OID), ('2016-12-01 12:18:08.000767+00:00':::TIMESTAMPTZ, 2542050845:::OID), ('2017-01-05 03:35:26.000376+00:00':::TIMESTAMPTZ, 2450132970:::OID), ('2016-10-25 09:39:08.000655+00:00':::TIMESTAMPTZ, 2754471620:::OID), ('1992-07-22 05:00:41.000034+00:00':::TIMESTAMPTZ, 3971706070:::OID), ('2000-06-19 18:39:45.000231+00:00':::TIMESTAMPTZ, 3861718366:::OID), ('3000-01-01 00:00:00+00:00':::TIMESTAMPTZ, 3907709053:::OID), ('2026-09-06 09:59:18.000258+00:00':::TIMESTAMPTZ, 4149005895:::OID)), PARTITION table5_part_2 VALUES IN (('2009-09-03 01:38:15.000873+00:00':::TIMESTAMPTZ, 1882901957:::OID), ('1980-05-21 09:30:12.00064+00:00':::TIMESTAMPTZ, 509965790:::OID), ('0001-01-01 00:00:00+00:00':::TIMESTAMPTZ, 703678273:::OID), ('2016-05-03 04:55:25.000627+00:00':::TIMESTAMPTZ, 1164235033:::OID), ('2026-12-19 09:52:47.000685+00:00':::TIMESTAMPTZ, 0:::OID), ('1995-09-15 23:10:33.00018+00:00':::TIMESTAMPTZ, 3934272546:::OID), ('1987-06-29 15:51:15.000825+00:00':::TIMESTAMPTZ, 2629193624:::OID), ('2007-12-24 07:34:22.000856+00:00':::TIMESTAMPTZ, 3503168007:::OID), ('1999-06-22 03:03:05.000973+00:00':::TIMESTAMPTZ, 1743254031:::OID)), PARTITION table5_part_3 VALUES IN (('1998-01-22 13:30:14.000089+00:00':::TIMESTAMPTZ, 3046625289:::OID), ('2028-04-09 13:54:02.000614+00:00':::TIMESTAMPTZ, 4275663692:::OID), ('-4713-11-24 00:00:00+00:00':::TIMESTAMPTZ, 565995176:::OID), ('2010-05-24 14:18:00.000704+00:00':::TIMESTAMPTZ, 0:::OID), ('2010-02-01 09:14:54.000682+00:00':::TIMESTAMPTZ, 0:::OID), ('1997-02-10 04:10:04.000951+00:00':::TIMESTAMPTZ, 2519027297:::OID), ('-2000-01-01 00:00:00+00:00':::TIMESTAMPTZ, 0:::OID), ('2028-04-02 11:39:46.000383+00:00':::TIMESTAMPTZ, 3736971083:::OID), ('1985-06-27 00:49:57.000129+00:00':::TIMESTAMPTZ, 376348162:::OID)), PARTITION table5_part_4 VALUES IN (('0001-01-01 00:00:00+00:00':::TIMESTAMPTZ, 1959206056:::OID), ('1983-11-14 17:16:56.00047+00:00':::TIMESTAMPTZ, 3956101343:::OID), ('1975-10-01 00:39:07.000575+00:00':::TIMESTAMPTZ, 1723925592:::OID), ('1995-06-19 08:06:04.000739+00:00':::TIMESTAMPTZ, 2740927895:::OID), ('1976-03-07 05:49:47.000198+00:00':::TIMESTAMPTZ, NULL), ('2022-10-22 10:12:17.00054+00:00':::TIMESTAMPTZ, 3063905992:::OID), ('2030-08-18 16:25:36.00011+00:00':::TIMESTAMPTZ, 43075223:::OID), ('1976-02-20 19:56:42.000319+00:00':::TIMESTAMPTZ, 0:::OID), ('2028-02-02 18:22:50.000395+00:00':::TIMESTAMPTZ, 3443731753:::OID)), PARTITION table5_part_5 VALUES IN (('2008-03-08 01:49:10.000789+00:00':::TIMESTAMPTZ, 2882276773:::OID), ('1979-07-13 12:30:38.000462+00:00':::TIMESTAMPTZ, 3965784774:::OID), ('2009-07-19 02:56:00.000773+00:00':::TIMESTAMPTZ, 2930973738:::OID), ('2011-08-10 22:21:19.000147+00:00':::TIMESTAMPTZ, 1493515108:::OID), ('1973-07-16 09:58:57.00069+00:00':::TIMESTAMPTZ, 1355444726:::OID), ('1990-12-16 09:21:06.000732+00:00':::TIMESTAMPTZ, NULL), ('1986-10-23 12:07:27.000704+00:00':::TIMESTAMPTZ, 3016247460:::OID), ('294276-12-31 23:59:59.999999+00:00':::TIMESTAMPTZ, 413543236:::OID), ('2016-07-22 08:07:22.000977+00:00':::TIMESTAMPTZ, 3184345499:::OID)), PARTITION table5_part_6 VALUES IN (('2030-08-23 06:52:53.000856+00:00':::TIMESTAMPTZ, 1361668257:::OID), ('2002-05-06 20:08:57.000073+00:00':::TIMESTAMPTZ, 191103159:::OID), ('1983-07-03 15:08:45.000953+00:00':::TIMESTAMPTZ, 4229953814:::OID), ('2030-07-23 14:56:00.000991+00:00':::TIMESTAMPTZ, NULL), ('2026-12-19 17:45:29.000231+00:00':::TIMESTAMPTZ, 3892273183:::OID), ('-4713-11-24 00:00:00+00:00':::TIMESTAMPTZ, 2479906315:::OID), ('1977-04-15 01:52:39.000345+00:00':::TIMESTAMPTZ, 85004612:::OID), ('0001-01-01 00:00:00+00:00':::TIMESTAMPTZ, 84475400:::OID), ('1980-12-05 09:56:50.000863+00:00':::TIMESTAMPTZ, 3143735427:::OID)), PARTITION table5_part_7 VALUES IN (('1972-07-27 09:21:51.000289+00:00':::TIMESTAMPTZ, 1186386833:::OID), ('2022-09-17 13:48:47.000325+00:00':::TIMESTAMPTZ, 312445050:::OID), ('1982-09-01 18:49:09.00073+00:00':::TIMESTAMPTZ, 1493766478:::OID), ('1971-07-30 18:38:46.000297+00:00':::TIMESTAMPTZ, 3282799800:::OID), ('2031-08-31 07:49:04.000509+00:00':::TIMESTAMPTZ, 535940816:::OID), ('2015-04-12 02:18:16.000316+00:00':::TIMESTAMPTZ, 2589351283:::OID), ('1977-03-04 16:32:15.000387+00:00':::TIMESTAMPTZ, 3253710039:::OID), ('1975-01-05 04:01:50.000167+00:00':::TIMESTAMPTZ, NULL), ('2003-03-27 22:17:08.000862+00:00':::TIMESTAMPTZ, 681374352:::OID)), PARTITION table5_part_8 VALUES IN (('1981-04-04 10:05:09.000205+00:00':::TIMESTAMPTZ, 2600804310:::OID), ('1998-09-11 11:30:50.000929+00:00':::TIMESTAMPTZ, 127532177:::OID), ('2010-05-14 00:30:06.000204+00:00':::TIMESTAMPTZ, 4167905225:::OID), ('2010-10-16 07:29:40.000073+00:00':::TIMESTAMPTZ, 2812704897:::OID), ('2015-12-01 22:49:29.000356+00:00':::TIMESTAMPTZ, 1302657423:::OID), ('2020-03-01 00:32:50.000053+00:00':::TIMESTAMPTZ, 1385305189:::OID), ('1998-07-18 14:29:02.000451+00:00':::TIMESTAMPTZ, 1008079666:::OID), ('2009-04-27 13:41:33.000447+00:00':::TIMESTAMPTZ, 1183592862:::OID), ('2016-07-10 12:10:49.000602+00:00':::TIMESTAMPTZ, 2420469091:::OID))) WHERE table5.col5_1 < '294276-12-31 23:59:59.999999+00:00':::TIMESTAMPTZ, INDEX (col5_0), UNIQUE (col5_0 ASC, col5_1 ASC) PARTITION BY LIST (col5_0, col5_1) (PARTITION table5_part_0 VALUES IN ((2382913700:::OID, '2025-02-20 12:24:41.000917+00:00':::TIMESTAMPTZ), (4273582722:::OID, '2026-10-17 18:26:50.000158+00:00':::TIMESTAMPTZ), (2925294387:::OID, '1990-11-18 08:50:42.000424+00:00':::TIMESTAMPTZ), (3762050219:::OID, '2029-06-30 12:53:17.000481+00:00':::TIMESTAMPTZ), (2275454629:::OID, '1997-03-15 06:53:48.000315+00:00':::TIMESTAMPTZ)), PARTITION table5_part_1 VALUES IN ((NULL, '2030-11-10 02:10:10.000261+00:00':::TIMESTAMPTZ), (1131489850:::OID, '1973-03-26 01:44:10.000723+00:00':::TIMESTAMPTZ), (3141252274:::OID, '2008-10-31 23:22:19.000566+00:00':::TIMESTAMPTZ), (1325069373:::OID, '2023-11-04 23:44:29.000723+00:00':::TIMESTAMPTZ), (2508651955:::OID, '1982-05-16 11:41:17.000556+00:00':::TIMESTAMPTZ))) WHERE table5.col5_1 >= '0001-01-01 00:00:00+00:00':::TIMESTAMPTZ, UNIQUE ((CASE WHEN col5_1 IS NULL THEN e'Zl~H\x1e\x0b':::STRING ELSE '9*':::STRING END) DESC) WHERE table5.col5_1 != '0001-01-01 00:00:00+00:00':::TIMESTAMPTZ, UNIQUE ((CASE WHEN col5_1 IS NULL THEN e'\x01eZ':::STRING ELSE e'\x15}.':::STRING END), lower(CAST(col5_0 AS STRING)) DESC) WHERE table5.col5_1 = '-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=9c37dc20-f843-45d8-9741-fdbfba8a6cc0 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.89s)
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ 78caa5c3a8ecd0d0a612798a106b626edb3db2ee:

        postgres_1    | 		col_799632 NULLS FIRST
        postgres_1    | 2022-07-01 05:27:08.787 UTC [78] ERROR:  function parse_time(text) does not exist at character 67
        postgres_1    | 2022-07-01 05:27:08.787 UTC [78] HINT:  No function matches the given name and argument types. You might need to add explicit type casts.
        postgres_1    | 2022-07-01 05:27:08.787 UTC [78] STATEMENT:  SELECT
        postgres_1    | 		*
        postgres_1    | 	FROM
        postgres_1    | 		(
        postgres_1    | 			SELECT
        postgres_1    | 				tab_489250.col2_2 AS col_799742,
        postgres_1    | 				parse_time(tab_489249.col1_2::TEXT)::TIME AS col_799743,
        postgres_1    | 				tab_489249.col1_2 AS col_799744,
        postgres_1    | 				tab_489250.col2_2 AS col_799745
        postgres_1    | 			FROM
        postgres_1    | 				postgres.public.table1 AS tab_489249
        postgres_1    | 				JOIN postgres.public.table2 AS tab_489250 ON (tab_489249.tableoid) = (tab_489250.tableoid)
        postgres_1    | 		)
        postgres_1    | 			AS tab_489251
        postgres_1    | 	ORDER BY
        postgres_1    | 		col_799742 NULLS FIRST, col_799743 NULLS FIRST, col_799744 NULLS FIRST, col_799745 NULLS FIRST
        postgres_1    | 2022-07-01 05:27:08.852 UTC [78] ERROR:  could not identify an ordering operator for type void at character 72
        postgres_1    | 2022-07-01 05:27:08.852 UTC [78] HINT:  Use an explicit ordering operator or modify the query.
        postgres_1    | 2022-07-01 05:27:08.852 UTC [78] STATEMENT:  SELECT * FROM (SELECT NULL::VOID AS col_799833) AS tab_489309 ORDER BY col_799833 NULLS FIRST
        postgres_1    | 2022-07-01 05:27:09.297 UTC [78] ERROR:  could not identify an ordering operator for type void at character 72
        postgres_1    | 2022-07-01 05:27:09.297 UTC [78] HINT:  Use an explicit ordering operator or modify the query.
        postgres_1    | 2022-07-01 05:27:09.297 UTC [78] STATEMENT:  SELECT * FROM (SELECT NULL::VOID AS col_800525) AS tab_489708 ORDER BY col_800525 NULLS FIRST
        test_1        | --- FAIL: TestCompare (604.49s)
        test_1        |     compare_test.go:119: Checking connection to: postgres
        test_1        |     compare_test.go:119: Checking connection to: cockroach1
        test_1        |     compare_test.go:119: Checking connection to: cockroach2
        test_1        |     --- FAIL: TestCompare/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 INT2[] NULL, col1_1 REGNAMESPACE, col1_2 REGCLASS NOT NULL, col1_3 INT4 NOT NULL, col1_4 INT4, col1_5 TIME NULL, col1_6 GEOGRAPHY, col1_7 REGPROCEDURE, col1_8 INTERVAL NOT NULL, col1_9 GEOGRAPHY NULL, col1_10 UUID, col1_11 REGNAMESPACE NULL, col1_12 UUID, col1_13 REGNAMESPACE, col1_14 DATE NULL, col1_15 REGCLASS NULL, col1_16 INTERVAL, FAMILY (col1_15, col1_14, col1_4), FAMILY (col1_12), FAMILY (col1_7, col1_8, col1_1), FAMILY (col1_11, col1_9), FAMILY (col1_6), FAMILY (col1_3), FAMILY (col1_0, col1_16, col1_13, col1_2, col1_10), FAMILY (col1_5));
        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": 61, "histo_col_type": "", "name": "__auto__", "null_count": 34, "row_count": 90}, {"avg_size": 0, "columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 50, "histo_col_type": "", "name": "__auto__", "null_count": 19, "row_count": 90}, {"avg_size": 0, "columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 20, "histo_col_type": "", "name": "__auto__", "null_count": 22, "row_count": 90}, {"avg_size": 0, "columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 57, "histo_col_type": "", "name": "__auto__", "null_count": 20, "row_count": 90}, {"avg_size": 0, "columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 50, "histo_col_type": "", "name": "__auto__", "null_count": 40, "row_count": 90}, {"avg_size": 0, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 16, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90}, {"avg_size": 0, "columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 49, "histo_col_type": "", "name": "__auto__", "null_count": 70, "row_count": 90}, {"avg_size": 0, "columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 58, "histo_col_type": "", "name": "__auto__", "null_count": 45, "row_count": 90}, {"avg_size": 0, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 61, "histo_col_type": "", "name": "__auto__", "null_count": 78, "row_count": 90}, {"avg_size": 0, "columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 28, "histo_col_type": "", "name": "__auto__", "null_count": 33, "row_count": 90}, {"avg_size": 0, "columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 73, "histo_col_type": "", "name": "__auto__", "null_count": 49, "row_count": 90}, {"avg_size": 0, "columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 70, "histo_col_type": "", "name": "__auto__", "null_count": 34, "row_count": 90}, {"avg_size": 0, "columns": ["col1_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 52, "histo_col_type": "", "name": "__auto__", "null_count": 15, "row_count": 90}, {"avg_size": 0, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 33, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90}, {"avg_size": 0, "columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90}, {"avg_size": 0, "columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1, "histo_col_type": "", "name": "__auto__", "null_count": 4, "row_count": 90}, {"avg_size": 0, "columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 50, "histo_col_type": "", "name": "__auto__", "null_count": 50, "row_count": 90}]':::JSONB;
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"avg_size": 0, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5318571, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000000}, {"avg_size": 0, "columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2018714, "histo_col_type": "", "name": "__auto__", "null_count": 5314558, "row_count": 8000000}, {"avg_size": 0, "columns": ["col1_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 467303, "histo_col_type": "", "name": "__auto__", "null_count": 5623743, "row_count": 8000000}, {"avg_size": 0, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2588330, "histo_col_type": "", "name": "__auto__", "null_count": 4665542, "row_count": 8000000}, {"avg_size": 0, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4946595, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000000}, {"avg_size": 0, "columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6914088, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000000}, {"avg_size": 0, "columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5557577, "histo_col_type": "", "name": "__auto__", "null_count": 5642543, "row_count": 8000000}, {"avg_size": 0, "columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3147550, "histo_col_type": "", "name": "__auto__", "null_count": 3115272, "row_count": 8000000}, {"avg_size": 0, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3172362, "histo_col_type": "", "name": "__auto__", "null_count": 7108990, "row_count": 8000000}, {"avg_size": 0, "columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6384077, "histo_col_type": "", "name": "__auto__", "null_count": 5958838, "row_count": 8000000}, {"avg_size": 0, "columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6579504, "histo_col_type": "", "name": "__auto__", "null_count": 6713828, "row_count": 8000000}, {"avg_size": 0, "columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 69128, "histo_col_type": "", "name": "__auto__", "null_count": 7657328, "row_count": 8000000}, {"avg_size": 0, "columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1225443, "histo_col_type": "", "name": "__auto__", "null_count": 2617950, "row_count": 8000000}, {"avg_size": 0, "columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1952217, "histo_col_type": "", "name": "__auto__", "null_count": 2232248, "row_count": 8000000}, {"avg_size": 0, "columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3214284, "histo_col_type": "", "name": "__auto__", "null_count": 7615058, "row_count": 8000000}, {"avg_size": 0, "columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4295295, "histo_col_type": "", "name": "__auto__", "null_count": 7862375, "row_count": 8000000}, {"avg_size": 0, "columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1059257, "histo_col_type": "", "name": "__auto__", "null_count": 6732508, "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_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 (632.11s)
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ 4e8134033890c956d39020f28a0e99b21b32649f:

        postgres_1    | 	CREATE INDEX ON table2 (col2_0 DESC, col2_5 ASC, col2_6, col2_1, col2_11 ASC, col2_9 DESC, col2_7, col2_8);
        postgres_1    | 	CREATE INDEX ON table2 (col2_3 DESC, col2_11, col2_6 ASC, col2_10, col2_0 DESC, col2_1, col2_5, col2_9, col2_7) INCLUDE (col2_2, col2_4, col2_12);
        postgres_1    | 	CREATE UNIQUE INDEX ON table2 (col2_1 DESC, col2_7 DESC, col2_3 DESC, col2_11 DESC, col2_5 ASC);
        postgres_1    | 	CREATE UNIQUE INDEX ON table2 (col2_11, col2_3, col2_7 DESC, (col2_2 + col2_0) DESC, col2_10 DESC, col2_4, col2_12 DESC, col2_1, col2_8 DESC, col2_2, col2_9 DESC, col2_5, col2_0);
        postgres_1    | 	CREATE UNIQUE INDEX ON table2 (col2_2 DESC, col2_8, col2_4 ASC, (col2_2 + col2_0), col2_7 ASC, col2_12, (CASE WHEN col2_1 IS NULL THEN e'w\x13Y\x05'::TEXT ELSE e'={j\x1c'::TEXT END) DESC, col2_0, col2_5 ASC);
        postgres_1    | 	CREATE UNIQUE INDEX ON table2 (col2_6 ASC, col2_12 ASC, col2_4, col2_2 ASC, col2_5) INCLUDE (col2_0, col2_1, col2_3, col2_7, col2_11);
        postgres_1    | 	CREATE UNIQUE INDEX ON table2 (col2_0 ASC, (col2_0 + col2_2) ASC, col2_9 DESC, col2_5 ASC) INCLUDE (col2_1, col2_2, col2_3, col2_6, col2_7, col2_10, col2_11);
        postgres_1    | 	CREATE INDEX ON table2 (col2_7 ASC);
        postgres_1    | 	
        test_1        | --- FAIL: TestCompare (4.42s)
        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.89s)
        test_1        |         compare_test.go:128: starting test: postgres
        test_1        |         compare_test.go:137: initializing connection: cockroach1
        test_1        |         compare_test.go:137: initializing connection: postgres
        test_1        |         compare_test.go:159: CREATE TABLE table2 (col2_0 FLOAT4 NOT NULL, col2_1 REGPROC NULL, col2_2 FLOAT8, col2_3 UUID, col2_4 OID NULL, col2_5 BYTEA NOT NULL, col2_6 DATE NULL, col2_7 REGTYPE NOT NULL, col2_8 FLOAT8 GENERATED ALWAYS AS (col2_2 + col2_0) STORED, col2_9 TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN col2_5 IS NULL THEN e'\x00'::TEXT ELSE '/G>&'::TEXT END) STORED, col2_10 FLOAT4 GENERATED ALWAYS AS (col2_0 + col2_2) STORED, col2_11 TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN col2_5 IS NULL THEN '$M'::TEXT ELSE e'fb\x15\x02\x0fKH``'::TEXT END) STORED, col2_12 FLOAT8 GENERATED ALWAYS AS (col2_2 + col2_0) STORED);
        test_1        |             CREATE INDEX ON table2 (col2_11 ASC) INCLUDE (col2_0, col2_1, col2_4, col2_6, col2_9, col2_10);
        test_1        |             CREATE INDEX ON table2 (col2_0 DESC, col2_5 ASC, col2_6, col2_1, col2_11 ASC, col2_9 DESC, col2_7, col2_8);
        test_1        |             CREATE INDEX ON table2 (col2_3 DESC, col2_11, col2_6 ASC, col2_10, col2_0 DESC, col2_1, col2_5, col2_9, col2_7) INCLUDE (col2_2, col2_4, col2_12);
        test_1        |             CREATE UNIQUE INDEX ON table2 (col2_1 DESC, col2_7 DESC, col2_3 DESC, col2_11 DESC, col2_5 ASC);
        test_1        |             CREATE UNIQUE INDEX ON table2 (col2_11, col2_3, col2_7 DESC, (col2_2 + col2_0) DESC, col2_10 DESC, col2_4, col2_12 DESC, col2_1, col2_8 DESC, col2_2, col2_9 DESC, col2_5, col2_0);
        test_1        |             CREATE UNIQUE INDEX ON table2 (col2_2 DESC, col2_8, col2_4 ASC, (col2_2 + col2_0), col2_7 ASC, col2_12, (CASE WHEN col2_1 IS NULL THEN e'w\x13Y\x05'::TEXT ELSE e'={j\x1c'::TEXT END) DESC, col2_0, col2_5 ASC);
        test_1        |             CREATE UNIQUE INDEX ON table2 (col2_6 ASC, col2_12 ASC, col2_4, col2_2 ASC, col2_5) INCLUDE (col2_0, col2_1, col2_3, col2_7, col2_11);
        test_1        |             CREATE UNIQUE INDEX ON table2 (col2_0 ASC, (col2_0 + col2_2) ASC, col2_9 DESC, col2_5 ASC) INCLUDE (col2_1, col2_2, col2_3, col2_6, col2_7, col2_10, col2_11);
        test_1        |             CREATE INDEX ON table2 (col2_7 ASC);
        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.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 BIT(46) NOT NULL, col1_1 FLOAT4 NOT NULL, col1_2 BOOL NOT NULL, col1_3 BOOL NOT NULL, col1_4 DECIMAL NOT NULL, col1_5 UUID NOT NULL, col1_6 TIME NOT NULL, col1_7 REGCLASS NOT NULL, col1_8 REGCLASS NOT NULL, col1_9 INTERVAL NOT NULL, col1_10 OID NOT NULL, col1_11 REGROLE NULL, col1_12 BOOL NOT NULL, col1_13 DECIMAL NOT NULL, col1_14 STRING NOT NULL AS (CASE WHEN col1_8 IS NULL THEN e'\x00':::STRING ELSE e'\x1b.^IY \x12\x1e+':::STRING END) STORED, col1_15 DECIMAL NOT NULL AS (col1_4 + col1_13) VIRTUAL, PRIMARY KEY (col1_3, col1_9, col1_1, col1_14 ASC, col1_6, col1_10 DESC, col1_15 ASC, col1_0 ASC, col1_2 DESC, col1_5 DESC, col1_4 DESC, col1_8, col1_13 ASC, col1_7 DESC), INDEX (col1_11 ASC, col1_3 DESC, col1_5 ASC) STORING (col1_12) WHERE ((((table1.col1_14 >= e'\x00':::STRING) OR (table1.col1_4 >= 0:::DECIMAL)) OR (table1.col1_6 = '24:00:00':::TIME)) AND (NOT table1.col1_3)) AND (table1.col1_1 != 3.4028234663852886e+38:::FLOAT8), FAMILY (col1_1, col1_2, col1_9, col1_14), FAMILY (col1_3, col1_5), FAMILY (col1_10, col1_13, col1_7, col1_4, col1_0, col1_12, col1_6, col1_8, col1_11));
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"avg_size": 0, "columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 20727345118, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 70000000000}, {"avg_size": 0, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 61153696409, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 70000000000}, {"avg_size": 0, "columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 22909106119, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 70000000000}, {"avg_size": 0, "columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 29376637222, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 70000000000}, {"avg_size": 0, "columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 63441070459, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 70000000000}, {"avg_size": 0, "columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 59658841549, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 70000000000}, {"avg_size": 0, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 58646556416, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "false"}, {"distinct_range": 4850103804571692000, "num_eq": 80, "num_range": 9056238812928040267, "upper_bound": "true"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 0, "row_count": 70000000000}, {"avg_size": 0, "columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 40458529702, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 70000000000}, {"avg_size": 0, "columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 56580974482, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 70000000000}, {"avg_size": 0, "columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 27271851092, "histo_col_type": "REGROLE", "name": "__auto__", "null_count": 29640116227, "row_count": 70000000000}, {"avg_size": 0, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 15381933213, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 70000000000}, {"avg_size": 0, "columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 19026786295, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 70000000000}, {"avg_size": 0, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 38260122063, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 70000000000}, {"avg_size": 0, "columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 38202937010, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 70000000000}, {"avg_size": 0, "columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 60946936935, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 70000000000}, {"avg_size": 0, "columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1554892896, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 70000000000}]':::JSONB;
        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": 2579402643839256956, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6344374508830372138}, {"avg_size": 0, "columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2821550634999918635, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6344374508830372138}, {"avg_size": 0, "columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1888103328569313642, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6344374508830372138}, {"avg_size": 0, "columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 855536536723598840, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6344374508830372138}, {"avg_size": 0, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1999050153581860306, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6344374508830372138}, {"avg_size": 0, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5792143872634050283, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6344374508830372138}, {"avg_size": 0, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4426825177800950034, "histo_buckets": [{"distinct_range": 0, "num_eq": 4000, "num_range": 0, "upper_bound": "false"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 0, "row_count": 6344374508830372138}, {"avg_size": 0, "columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3473222157595701953, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6344374508830372138}, {"avg_size": 0, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6097784891155319340, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6344374508830372138}, {"avg_size": 0, "columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5856645832548304088, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6344374508830372138}, {"avg_size": 0, "columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 332670408262386676, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6344374508830372138}, {"avg_size": 0, "columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4716317290603785939, "histo_buckets": [{"distinct_range": 0, "num_eq": 4299725869222099570, "num_range": 0, "upper_bound": "588414477"}, {"distinct_range": 4104905346773947000, "num_eq": 0, "num_range": 4104905346773947052, "upper_bound": "2356266742"}, {"distinct_range": 10000, "num_eq": 420419735410724887, "num_range": 10000, "upper_bound": "2547192158"}, {"distinct_range": 463871001272370200, "num_eq": 9000000000, "num_range": 864788316367348736, "upper_bound": "3717693175"}, {"distinct_range": 0, "num_eq": 100, "num_range": 500000000, "upper_bound": "4171576039"}], "histo_col_type": "REGROLE", "name": "__auto__", "null_count": 1159851366720043930, "row_count": 6344374508830372138}, {"avg_size": 0, "columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6335074205753441258, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6344374508830372138}, {"avg_size": 0, "columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1579959123614830671, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6344374508830372138}, {"avg_size": 0, "columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5308234282959831737, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6344374508830372138}, {"avg_size": 0, "columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5256383380323242758, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6344374508830372138}]':::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 (21.93s)
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ 3c9b17113488d2ee6929936aa6ec48396f3ed71c:

        postgres_1    | 		*
        postgres_1    | 	FROM
        postgres_1    | 		(
        postgres_1    | 			SELECT
        postgres_1    | 				tab_509798.col4_8 AS col_894568,
        postgres_1    | 				'D'::TEXT::TEXT AS col_894569,
        postgres_1    | 				tab_509798.col4_7 AS col_894570,
        postgres_1    | 				left('\x4a'::BYTEA::BYTEA::BYTEA, 4::INT8::INT4::INT4)::BYTEA AS col_894571,
        postgres_1    | 				4.0::FLOAT8::FLOAT8 AS col_894572,
        postgres_1    | 				tab_509799.col5_3 AS col_894573,
        postgres_1    | 				1::OID::OID AS col_894574,
        postgres_1    | 				tab_509799.tableoid AS col_894575,
        postgres_1    | 				tab_509798.col4_4 AS col_894576
        postgres_1    | 			FROM
        postgres_1    | 				postgres.public.table4 AS tab_509798, postgres.public.table5 AS tab_509799
        postgres_1    | 			WHERE
        postgres_1    | 				true::BOOL
        postgres_1    | 		)
        postgres_1    | 			AS tab_509800
        postgres_1    | 	ORDER BY
        postgres_1    | 		col_894568 NULLS FIRST,
        postgres_1    | 		col_894569 NULLS FIRST,
        postgres_1    | 		col_894570 NULLS FIRST,
        postgres_1    | 		col_894571 NULLS FIRST,
        postgres_1    | 		col_894572 NULLS FIRST,
        postgres_1    | 		col_894573 NULLS FIRST,
        postgres_1    | 		col_894574 NULLS FIRST,
        postgres_1    | 		col_894575 NULLS FIRST,
        postgres_1    | 		col_894576 NULLS FIRST
        test_1        | --- FAIL: TestCompare (604.33s)
        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.16s)
        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 BIT(42) NOT NULL, col3_1 UUID NOT NULL, col3_2 BOX2D NOT NULL, col3_3 NAME NOT NULL, col3_4 TIME NOT NULL, col3_5 UUID NOT NULL, col3_6 OID, PRIMARY KEY (col3_0 ASC, col3_4, col3_3, col3_1 DESC), UNIQUE (col3_5, col3_4, col3_2 DESC, col3_1 ASC), UNIQUE (col3_2 DESC, col3_0 DESC, col3_1 DESC, col3_6 ASC, col3_4 DESC, col3_5 DESC, col3_3 DESC) WHERE (table3.col3_3 > e'\U00002603':::STRING) OR (table3.col3_4 >= '24:00:00':::TIME), INDEX (lower(CAST(col3_1 AS STRING)) ASC, col3_2 DESC, col3_3 ASC, col3_4 DESC) STORING (col3_5) WHERE (table3.col3_3 > 'X':::STRING) AND (table3.col3_4 < '24:00:00':::TIME), UNIQUE (col3_2 ASC, col3_6, col3_1 DESC, col3_3, col3_5, col3_0 ASC, lower(col3_3) DESC), INDEX (col3_6, col3_5 DESC) STORING (col3_2) PARTITION BY LIST (col3_6) (PARTITION table3_part_0 VALUES IN ((0:::OID,), (2946338096:::OID,)), PARTITION table3_part_1 VALUES IN ((2353438715:::OID,), (2410880650:::OID,)), PARTITION table3_part_2 VALUES IN ((83279298:::OID,), (2450558461:::OID,)), PARTITION table3_part_3 VALUES IN ((NULL,), (3506537403:::OID,)), PARTITION table3_part_5 VALUES IN ((9570261:::OID,), (1161794901:::OID,)), PARTITION table3_part_6 VALUES IN ((274945266:::OID,), (89952384:::OID,)), PARTITION "DEFAULT" VALUES IN ((DEFAULT,))), UNIQUE (col3_1, col3_4 DESC, col3_2 ASC, col3_6) STORING (col3_5) WHERE (table3.col3_4 < '00:00:00':::TIME) AND (table3.col3_3 != e'\x00':::STRING), INDEX (col3_6 DESC, col3_4, col3_5, col3_0 DESC) WHERE (table3.col3_4 != '00:00:00':::TIME) OR (table3.col3_3 < '':::STRING), INDEX (col3_5 DESC, col3_0, col3_3), INDEX (lower(CAST(col3_0 AS STRING)) DESC, col3_5 DESC))
        test_1        |         compare_test.go:160: cockroach1: exec: ERROR: use of partitions requires an enterprise license. see https://cockroachlabs.com/pricing?cluster=66d77330-ac4a-4d18-91f7-43a1d18e4555 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 (633.94s)
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ b9a165c03643ed43a0d45b16c0a795244543a2fe:

        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.00s)
        test_1        |         compare_test.go:128: 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 1043265 [running]:
        test_1        | testing.tRunner.func1.2({0x1cbdec0, 0xc000fce880})
        test_1        | 	GOROOT/src/testing/testing.go:1209 +0x24e
        test_1        | testing.tRunner.func1()
        test_1        | 	GOROOT/src/testing/testing.go:1212 +0x218
        test_1        | panic({0x1cbdec0, 0xc000fce880})
        test_1        | 	GOROOT/src/runtime/panic.go:1038 +0x215
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.encodeInvertedIndexHistogramUpperBounds(0x3ec10e0, {0x2de7270, 0xc0016635f0})
        test_1        | 	github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:371 +0x445
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.randHistogram(0x2d78040, 0x3ec10e0)
        test_1        | 	github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:304 +0x14b
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.statisticsMutator.func1(0xc0016716c0)
        test_1        | 	github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:221 +0x92
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.statisticsMutator(0xc001662660, {0xc00137ee80, 0x2, 0x0})
        test_1        | 	github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:254 +0xa72
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.MultiStatementMutation.Mutate(0xc001e20988, 0x1e44f05, {0xc00137ee80, 0x1b5c660, 0x1})
        test_1        | 	github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:98 +0x2e
        test_1        | github.com/cockroachdb/cockroach/pkg/sql/randgen.RandCreateTables(0x1b5c660, {0x1e44f05, 0x5}, 0x2, 0x30, {0xc000fd7a48, 0x3, 0x10000000000004c})
        test_1        | 	github.com/cockroachdb/cockroach/pkg/sql/randgen/schema.go:90 +0x16d
        test_1        | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.randTablesN(0x5e202bea22b1aedc, 0x5e202bea22b1aedc)
        test_1        | 	github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/setup.go:83 +0x187
        test_1        | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.randTables(0xc000280000)
        test_1        | 	github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/setup.go:72 +0x33
        test_1        | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.wrapCommonSetup.func1(0x1e4a3ce)
        test_1        | 	github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/setup.go:45 +0x22
        test_1        | github.com/cockroachdb/cockroach/pkg/compose/compare/compare.TestCompare.func2(0xc001589860)
        test_1        | 	github.com/cockroachdb/cockroach/pkg/compose/compare/compare/compare_test.go:130 +0xe5
        test_1        | testing.tRunner(0xc001589860, 0xc001662600)
        test_1        | 	GOROOT/src/testing/testing.go:1259 +0x102
        test_1        | created by testing.(*T).Run
        test_1        | 	GOROOT/src/testing/testing.go:1306 +0x35a
        compare_test_1 exited with code 2
        Stopping compare_cockroach2_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...
        
    compose_test.go:120: exit status 2
--- FAIL: TestComposeCompare (632.22s)
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ 7a8cac9b11036dcf401453eb36e531fe381b70b4:

        postgres_1    | 		col_636855 NULLS FIRST, col_636856 NULLS FIRST, col_636857 NULLS FIRST, col_636858 NULLS FIRST
        postgres_1    | 2022-07-05 05:27:49.696 UTC [78] ERROR:  CASE/WHEN could not convert type regrole to regproc at character 205
        postgres_1    | 2022-07-05 05:27:49.696 UTC [78] STATEMENT:  SELECT
        postgres_1    | 		*
        postgres_1    | 	FROM
        postgres_1    | 		(
        postgres_1    | 			SELECT
        postgres_1    | 				('2000-01-01 07:00:00+00:00'::TIMESTAMPTZ::TIMESTAMPTZ::TIMESTAMPTZ + '00:00:08'::INTERVAL::INTERVAL::INTERVAL)::TIMESTAMPTZ
        postgres_1    | 					AS col_636902,
        postgres_1    | 				CASE WHEN false::BOOL THEN tab_369297.col1_4 ELSE tab_369297.col1_1 END AS col_636903,
        postgres_1    | 				NULL::TEXT AS col_636904,
        postgres_1    | 				NULL::GEOGRAPHY AS col_636905,
        postgres_1    | 				tab_369297.col1_4 AS col_636906,
        postgres_1    | 				tab_369297.col1_3 AS col_636907
        postgres_1    | 			FROM
        postgres_1    | 				postgres.public.table1 AS tab_369297
        postgres_1    | 			WHERE
        postgres_1    | 				((NOT (true::BOOL OR true::BOOL)) OR true::BOOL)
        postgres_1    | 			ORDER BY
        postgres_1    | 				tab_369297.col1_0 DESC, tab_369297.col1_4
        postgres_1    | 		)
        postgres_1    | 			AS tab_369298
        postgres_1    | 	ORDER BY
        postgres_1    | 		col_636902 NULLS FIRST,
        postgres_1    | 		col_636903 NULLS FIRST,
        postgres_1    | 		col_636904 NULLS FIRST,
        postgres_1    | 		col_636905 NULLS FIRST,
        postgres_1    | 		col_636906 NULLS FIRST,
        postgres_1    | 		col_636907 NULLS FIRST
        test_1        | --- FAIL: TestCompare (604.14s)
        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.16s)
        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 BOX2D NOT NULL, col1_1 TIMETZ NULL, col1_2 FLOAT4 NOT NULL, col1_3 VARCHAR NOT NULL, col1_4 INET, col1_5 OID NOT NULL, col1_6 CHAR NOT NULL, col1_7 STRING AS (lower(col1_6)) STORED, col1_8 STRING NOT NULL AS (lower(CAST(col1_0 AS STRING))) STORED, col1_9 STRING NOT NULL AS (lower(CAST(col1_4 AS STRING))) VIRTUAL, PRIMARY KEY (col1_5 ASC, col1_6 DESC, col1_0 ASC, col1_9 ASC), INDEX (col1_6, col1_0, col1_8, col1_5 ASC, col1_9 DESC, lower(CAST(col1_4 AS STRING)) ASC, col1_7 DESC, col1_2 ASC) STORING (col1_1, col1_3) WHERE ((table1.col1_8 < e'\'':::STRING) AND (table1.col1_7 != '':::STRING)) OR (table1.col1_9 < e'\x00':::STRING), UNIQUE (col1_3 ASC, col1_0, lower(CAST(col1_5 AS STRING)), col1_1 DESC, lower(CAST(col1_0 AS STRING)) DESC, col1_9 DESC, col1_6, col1_2) STORING (col1_4) WHERE ((table1.col1_7 > e'\x00':::STRING) AND (table1.col1_3 != e'\x00':::STRING)) AND (table1.col1_1 <= '00:00:00+15:59:00':::TIMETZ), UNIQUE (col1_0 ASC, col1_8, col1_5 DESC, col1_3 ASC, col1_9, col1_4 DESC, col1_6 ASC, lower(CAST(col1_1 AS STRING)) ASC, col1_2 ASC, col1_1 DESC) WHERE ((((table1.col1_3 >= 'X':::STRING) AND (table1.col1_7 = '"':::STRING)) AND (table1.col1_6 >= '':::STRING)) OR (table1.col1_8 = e'\x00':::STRING)) AND (table1.col1_9 > e'\x00':::STRING), UNIQUE (col1_4 ASC, lower(col1_6) DESC, lower(CAST(col1_5 AS STRING)), col1_2, col1_5 DESC, col1_1, col1_9 ASC) STORING (col1_7) PARTITION BY LIST (col1_4) (PARTITION table1_part_0 VALUES IN (('153.10.44.164/3':::INET,), ('704b:4982:7fd5:3121:2bd5:a86e:386:ec8e/22':::INET,), ('474d:74da:f9b5:376e:806:1c7f:ada1:64cb/17':::INET,), ('cbd2:3773:b2f:9990:f18d:8b81:6a24:2f53/127':::INET,), ('39.47.22.106/28':::INET,), (NULL,), ('5d64:f77c:bf60:3892:2911:935a:8186:461c/81':::INET,), ('69.196.60.66/27':::INET,), ('5595:d9d6:d9db:3d28:d8e3:2b0f:177c:444b/121':::INET,)), PARTITION table1_part_1 VALUES IN (('40.171.120.54/14':::INET,), ('c1b9:b456:5764:ac61:9118:c38f:82fd:a386/112':::INET,), ('177.96.116.1/26':::INET,), ('40.50.84.75':::INET,), ('0.0.0.0/0':::INET,), ('231.145.119.189/12':::INET,), ('211.155.109.96/31':::INET,), ('b127:d164:827a:e1a2:5a79:19af:f1d0:732a/15':::INET,), ('77cb:6608:b3ef:995a:fc2b:ac2b:8623:a4d1/57':::INET,)), PARTITION table1_part_2 VALUES IN (('b6eb:daae:a315:baf8:2ec2:d4c8:1027:7264/55':::INET,), ('111.192.98.254/19':::INET,), ('226.109.98.105/10':::INET,), ('205.88.59.187/26':::INET,), ('217.178.142.176/23':::INET,), ('b40e:ec7b:ae8c:faae:d8e1:9ec7:d280:72d1/111':::INET,), ('127.58.107.172/1':::INET,)), PARTITION table1_part_3 VALUES IN (('139.161.167.190/11':::INET,), ('199.161.41.218/7':::INET,), ('84.29.4.67/23':::INET,), ('ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff':::INET,), ('7816:150b:f3cb:9e7b:5cd:ba23:962e:ed08/124':::INET,), ('11ab:36b8:3427:2fd9:9504:cb94:fd04:f3ec/67':::INET,), ('75.28.147.18/11':::INET,)), PARTITION table1_part_4 VALUES IN (('238.189.227.18/19':::INET,), ('aa31:417b:6363:7cfc:cd23:eb37:d674:158b/43':::INET,), ('9517:e42:9cea:3788:8e22:94df:82aa:af52/72':::INET,), ('a7e6:a9b9:15e8:9c78:a42a:f287:83f1:ea5a/28':::INET,), ('62.85.205.100/16':::INET,)), PARTITION "DEFAULT" VALUES IN ((DEFAULT,))), UNIQUE (col1_2, lower(col1_3) ASC, col1_5, col1_6 DESC, col1_1, col1_9, col1_8 DESC, col1_3 ASC, col1_4 DESC, col1_7 DESC), UNIQUE (col1_8, col1_1 ASC), FAMILY (col1_1), FAMILY (col1_8), FAMILY (col1_2), FAMILY (col1_5), FAMILY (col1_3), FAMILY (col1_6), FAMILY (col1_4), FAMILY (col1_7, col1_0))
        test_1        |         compare_test.go:160: cockroach1: exec: ERROR: use of partitions requires an enterprise license. see https://cockroachlabs.com/pricing?cluster=0363a15f-053c-49d1-9d96-53e73accadc4 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 (634.47s)
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ 33d70998719051ee058bc9e516afa238ea7b7451:

        test_1        |               }))
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(
        test_1        |             		SELECT
        test_1        |             			st_makeenvelope(2.0:::FLOAT8::FLOAT8::FLOAT8, 1.0:::FLOAT8::FLOAT8::FLOAT8, 0.0:::FLOAT8::FLOAT8::FLOAT8, 5.0:::FLOAT8::FLOAT8::FLOAT8)::GEOMETRY
        test_1        |             				AS col_108648,
        test_1        |             			1.0:::FLOAT8::FLOAT8 AS col_108649
        test_1        |             	)
        test_1        |             		AS tab_58578
        test_1        |             ORDER BY
        test_1        |             	col_108648 NULLS FIRST, col_108649 NULLS FIRST;
        test_1        |             
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(
        test_1        |             		SELECT
        test_1        |             			st_makeenvelope(2.0::FLOAT8::FLOAT8::FLOAT8, 1.0::FLOAT8::FLOAT8::FLOAT8, 0.0::FLOAT8::FLOAT8::FLOAT8, 5.0::FLOAT8::FLOAT8::FLOAT8)::GEOMETRY
        test_1        |             				AS col_108648,
        test_1        |             			1.0::FLOAT8::FLOAT8 AS col_108649
        test_1        |             	)
        test_1        |             		AS tab_58578
        test_1        |             ORDER BY
        test_1        |             	col_108648 NULLS FIRST, col_108649 NULLS FIRST;
        test_1        |             
        test_1        |     --- FAIL: TestCompare/mutators (0.40s)
        test_1        |         compare_test.go:128: starting test: mutators
        test_1        |         compare_test.go:137: initializing connection: cockroach1
        test_1        |         compare_test.go:137: initializing connection: cockroach2
        test_1        |         compare_test.go:159: CREATE TABLE table1 (col1_0 BOOL NOT NULL, col1_1 "char" NOT NULL, col1_2 TIMETZ NOT NULL, col1_3 NAME NOT NULL, col1_4 BOX2D NOT NULL, col1_5 STRING NOT NULL AS (lower(col1_1)) VIRTUAL, col1_6 STRING NOT NULL AS (lower(col1_1)) STORED, col1_7 STRING NOT NULL AS (lower(CAST(col1_0 AS STRING))) VIRTUAL, PRIMARY KEY (col1_5 ASC, col1_3 ASC, col1_7 ASC, col1_1 DESC, col1_6 ASC, col1_4, col1_2), UNIQUE (col1_3 ASC, lower(CAST(col1_4 AS STRING)) DESC, col1_4 DESC, col1_2, col1_5, col1_0 DESC), INDEX (col1_0 ASC, col1_5 DESC, col1_1 ASC), INDEX (col1_2 ASC, col1_6 DESC, col1_5 ASC, lower(col1_1) DESC, col1_3 ASC, col1_7 ASC, col1_1, col1_0) WHERE ((table1.col1_7 != '"':::STRING) AND (table1.col1_1 >= e'\'':::STRING)) AND (table1.col1_3 != e'\U00002603':::STRING), UNIQUE (col1_6 ASC, col1_2 DESC, col1_0 DESC, col1_7, col1_5 ASC, col1_4 DESC, col1_3 ASC) WHERE ((((((table1.col1_5 = 'X':::STRING) OR (table1.col1_3 != 'X':::STRING)) OR (NOT table1.col1_0)) AND (table1.col1_6 = '':::STRING)) AND (table1.col1_2 != '24:00:00-15:59:00':::TIMETZ)) AND (table1.col1_7 != e'\'':::STRING)) OR (table1.col1_1 > '':::STRING), FAMILY (col1_4), FAMILY (col1_6), FAMILY (col1_3), FAMILY (col1_1), FAMILY (col1_2, col1_0));
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"avg_size": 17, "columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 453, "histo_buckets": [{"distinct_range": 0, "num_eq": 5201621748296947047, "num_range": 0, "upper_bound": "\\u0019u7\\u000c"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 1000}, {"avg_size": 7, "columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 497, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000}, {"avg_size": 22, "columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 309, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000}, {"avg_size": 20, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 994, "histo_buckets": [{"distinct_range": 0, "num_eq": 3746935688082971145, "num_range": 0, "upper_bound": "false"}, {"distinct_range": 0, "num_eq": 7941010639284505267, "num_range": 2000000, "upper_bound": "true"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 0, "row_count": 1000}, {"avg_size": 16, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 140, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000}, {"avg_size": 0, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 216, "histo_buckets": [{"distinct_range": 0, "num_eq": 2552210070696866550, "num_range": 0, "upper_bound": "00:00:00+15:59:00"}], "histo_col_type": "TIMETZ", "name": "__auto__", "null_count": 0, "row_count": 1000}, {"avg_size": 20, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 234, "histo_buckets": [{"distinct_range": 0, "num_eq": 9000000000, "num_range": 0, "upper_bound": ""}, {"distinct_range": 0, "num_eq": 4983689550771829744, "num_range": 2688939158168823673, "upper_bound": "cXi\\u0012@p@n\\u0017"}], "histo_col_type": "NAME", "name": "__auto__", "null_count": 0, "row_count": 1000}, {"avg_size": 26, "columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 382, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000}]':::JSONB;
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"avg_size": 27, "columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4738466072537104884, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5825308013071481753}, {"avg_size": 4, "columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 175629425536842371, "histo_buckets": [{"distinct_range": 0, "num_eq": 600000, "num_range": 0, "upper_bound": "false"}, {"distinct_range": 5446540912478517000, "num_eq": 800000, "num_range": 5446540912478517051, "upper_bound": "true"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 0, "row_count": 5825308013071481753}, {"avg_size": 12, "columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2705284896995205189, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5825308013071481753}, {"avg_size": 0, "columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2084063202912279711, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5825308013071481753}, {"avg_size": 12, "columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 627991117160831178, "histo_buckets": [{"distinct_range": 0, "num_eq": 2000000, "num_range": 0, "upper_bound": "\\u00148\\u0001=\\u001b6S\\u001f1"}, {"distinct_range": 0, "num_eq": 3501532225888012984, "num_range": 30000, "upper_bound": "(=\\u0014\\\\="}, {"distinct_range": 0, "num_eq": 7069881355344554112, "num_range": 5001602352992145589, "upper_bound": "JP\'"}, {"distinct_range": 0, "num_eq": 10000, "num_range": 20000000000, "upper_bound": "K;\\u0007(g\\u0014"}], "histo_col_type": "NAME", "name": "__auto__", "null_count": 0, "row_count": 5825308013071481753}, {"avg_size": 9, "columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3102527136277846544, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5825308013071481753}, {"avg_size": 31, "columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4785824548813472573, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5825308013071481753}, {"avg_size": 24, "columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5324291546491133325, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5825308013071481753}]':::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 (110.16s)
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ 03d5260a467b8640de41ee08054c1ce05f91966c:

        postgres_1    | 2022-07-07 05:25:11.019 UTC [78] ERROR:  function xor_agg(bytea) does not exist at character 247
        postgres_1    | 2022-07-07 05:25:11.019 UTC [78] HINT:  No function matches the given name and argument types. You might need to add explicit type casts.
        postgres_1    | 2022-07-07 05:25:11.019 UTC [78] STATEMENT:  SELECT
        postgres_1    | 		*
        postgres_1    | 	FROM
        postgres_1    | 		(
        postgres_1    | 			SELECT
        postgres_1    | 				string_agg(tab_282915.col3_11::TEXT, tab_282915.col3_11::TEXT)::TEXT AS col_432715,
        postgres_1    | 				avg(tab_282915.col3_9::INTERVAL)::INTERVAL AS col_432716,
        postgres_1    | 				tab_282915.tableoid AS col_432717,
        postgres_1    | 				7::OID::OID AS col_432718,
        postgres_1    | 				xor_agg(tab_282915.col3_1::BYTEA)::BYTEA AS col_432719
        postgres_1    | 			FROM
        postgres_1    | 				postgres.public.table3
        postgres_1    | 					AS tab_282915
        postgres_1    | 			WHERE
        postgres_1    | 				tab_282915.col3_5
        postgres_1    | 			GROUP BY
        postgres_1    | 				tab_282915.col3_1, tab_282915.col3_7, tab_282915.tableoid, tab_282915.col3_9, tab_282915.col3_11
        postgres_1    | 			ORDER BY
        postgres_1    | 				tab_282915.col3_11 DESC, tab_282915.tableoid ASC
        postgres_1    | 		)
        postgres_1    | 			AS tab_282916
        postgres_1    | 	ORDER BY
        postgres_1    | 		col_432715 NULLS FIRST,
        postgres_1    | 		col_432716 NULLS FIRST,
        postgres_1    | 		col_432717 NULLS FIRST,
        postgres_1    | 		col_432718 NULLS FIRST,
        postgres_1    | 		col_432719 NULLS FIRST
        test_1        | --- FAIL: TestCompare (685.00s)
        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.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 table3 (col3_0 GEOGRAPHY NOT NULL, col3_1 TIME NOT NULL, col3_2 FLOAT8 NULL, col3_3 TIMESTAMP NOT NULL, col3_4 UUID NOT NULL, col3_5 STRING NOT NULL AS (CASE WHEN col3_3 IS NULL THEN e'\x15\bm':::STRING ELSE e'\x13y8d\x04Lu\t':::STRING END) VIRTUAL, INDEX (col3_3, col3_2 ASC, lower(CAST(col3_4 AS STRING)) DESC, col3_5 DESC, col3_1) PARTITION BY LIST (col3_3) (PARTITION table3_part_0 VALUES IN (('1971-12-20 14:09:57.000246':::TIMESTAMP,), ('1980-09-03 23:28:18.000281':::TIMESTAMP,), ('2012-04-29 10:30:36.000201':::TIMESTAMP,), ('1990-02-08 22:39:40.000881':::TIMESTAMP,)), PARTITION table3_part_1 VALUES IN (('-2000-01-01 00:00:00':::TIMESTAMP,), ('2030-04-17 14:58:08.000996':::TIMESTAMP,), ('2026-12-10 07:38:17.000715':::TIMESTAMP,), ('2010-04-19 15:22:22.000347':::TIMESTAMP,)), PARTITION table3_part_2 VALUES IN (('2021-08-01 12:38:26.000143':::TIMESTAMP,), ('2008-07-11 00:26:33.000421':::TIMESTAMP,), ('1996-04-29 23:37:10.000319':::TIMESTAMP,), ('1994-12-21 19:24:29.000792':::TIMESTAMP,)), PARTITION table3_part_3 VALUES IN (('1993-01-30 20:27:19.00005':::TIMESTAMP,), ('2017-05-19 07:50:39.000164':::TIMESTAMP,), ('294276-12-31 23:59:59.999999':::TIMESTAMP,), ('1983-07-25 17:07:43.000634':::TIMESTAMP,)), PARTITION table3_part_4 VALUES IN (('1991-04-04 19:31:14.000404':::TIMESTAMP,), ('2011-01-08 08:20:48.000763':::TIMESTAMP,), ('2018-10-03 07:39:13.000842':::TIMESTAMP,), ('2000-03-11 01:03:18.000508':::TIMESTAMP,)), PARTITION table3_part_5 VALUES IN (('2008-07-22 13:01:47.000496':::TIMESTAMP,), ('0001-01-01 00:00:00':::TIMESTAMP,), ('2031-11-01 14:55:16.000636':::TIMESTAMP,), ('2024-12-04 09:39:10.000055':::TIMESTAMP,))), INDEX (col3_1 DESC, col3_2 ASC, col3_4 ASC))
        test_1        |         compare_test.go:160: cockroach1: exec: ERROR: use of partitions requires an enterprise license. see https://cockroachlabs.com/pricing?cluster=0c2abe95-2876-4beb-bd4b-41f2400d5e13 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 (714.25s)
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ 57b6b702a0403fca0d8edce22d8758f6847d6913:

        postgres_1    | 	b22587".col4_8 AS col45466, p4 AS "Col'45467", "t
a
        postgres_1    | 	b22587".col4_6 AS col😗45468, NULL::GEOGRAPHY AS col45469, NULL::TIMETZ AS "c&ol45470", NULL::VOID AS co̹l45471, NULL::PG_LSN AS "col 45472" FROM postgres.public.table4 AS "t
a
        postgres_1    | 	b22587" WHERE true::BOOL;
        postgres_1    | 	SELECT '00:00:00'::INTERVAL::INTERVAL AS col45473, 0::DECIMAL::DECIMAL AS "'c!ol45474", tab22590."col2_\n4" AS "c?ol45475", tab22588.col4_1 AS col45476, '{"B": {"A": true, "D": {"F": true}}, "C": {"E": 4, "I": {"G": {"E": null, "H": 4}}}, "I": {"D": {"E": true, "J": null}}}'::JSONB::JSONB AS col45477, p3 AS col45478, NULL::DATE AS "COl_45479", tab22589.col2_1 AS "c	O�l\\uE59645480", 'F'::TEXT::TEXT AS "c!o
        postgres_1    | 	l45481", p0 AS col45482 FROM postgres.public.table4 AS tab22588 CROSS JOIN postgres.public.table2 AS tab22589 JOIN postgres.public.table2 AS tab22590 ON ((tab22589.col2_3) = (tab22590.col2_3)) AND ((tab22589.col2_3) = (tab22590."col2_\n4")), postgres.public.table2 AS tabͦ22591 ORDER BY tab22590."col2_\n4" DESC;
        postgres_1    | 	SELECT ('2000-01-01'::DATE::DATE::DATE - '00:01:00'::TIME::TIME::TIME)::TIMESTAMP AS col45483, '2000-01-01 06:00:00'::TIMESTAMP::TIMESTAMP AS "co
        postgres_1    | 	l45484", p0 AS col45485 FROM postgres.public.table3 AS tab22592 ORDER BY tab22592.col3_7 NULLS FIRST, tab22592.col3_2 NULLS FIRST;
        postgres_1    | 	SELECT p2 AS col_45486, postgis_getbbox(p0::GEOMETRY)::BOX2D AS col45487, p1 AS "c̡(�o%vl45488", tab22593."\fcol1_1" AS col45489 FROM postgres.public.table1 AS tab22593 ORDER BY tab22593.col1_5 ASC NULLS LAST;
        postgres_1    | 	SELECT tab22594."col 3._6" AS "c\\x37ol45490", '2000-01-01 01:00:00'::TIMESTAMP::TIMESTAMP AS col45491, tab22594.col3_9 AS col45492 FROM postgres.public.table3 AS tab22594;
        postgres_1    | 	SELECT 'D'::TEXT::TEXT AS col45493 FROM postgres.public.table1 AS tab22595 WHERE false::BOOL ORDER BY tab22595.col1_2 DESC NULLS LAST;
        postgres_1    | 	SELECT "taB22599"."col2_\n4" AS "col'45494" FROM postgres.public.table2 AS "'t
        postgres_1    | 	ab22596" JOIN postgres.public.table2 AS tab22597 ON ("'t
        postgres_1    | 	ab22596"."'co😱l2_0") = (tab22597."'co😱l2_0"), postgres.public.table3 AS tab22598, postgres.public.table2 AS "taB22599" ORDER BY tab22597."'co😱l2_0" ASC NULLS LAST$funcbody$
        test_1        | --- FAIL: TestCompare (681.92s)
        test_1        |     compare_test.go:128: Checking connection to: postgres
        test_1        |     compare_test.go:128: Checking connection to: cockroach1
        test_1        |     compare_test.go:128: Checking connection to: cockroach2
        test_1        |     --- FAIL: TestCompare/postgres (73.01s)
        test_1        |         compare_test.go:137: starting test: postgres
        test_1        |         compare_test.go:146: initializing connection: cockroach1
        test_1        |         compare_test.go:146: initializing connection: postgres
        test_1        |         compare_test.go:197: open /home/agent/work/.go/src/github.com/cockroachdb/cockroach/artifacts/_tmp/018812dfcf0ce383ac3e799915a61396/TestComposeCompare351002416/002/postgres.log: no such file or directory
        test_1        |         compare_test.go:199: compare cockroach1 to postgres: unexpected diff:
        test_1        |               []any(Inverse(func1, []any{
        test_1        |             - 	string("false"),
        test_1        |             + 	string("f"),
        test_1        |               }))
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(SELECT CASE WHEN false::BOOL THEN name(NULL::UUID::UUID)::NAME ELSE name(false::BOOL::BOOL)::NAME END AS col45537)
        test_1        |             		AS tab22625
        test_1        |             ORDER BY
        test_1        |             	col45537 DESC NULLS FIRST;
        test_1        |             
        test_1        |             postgres: [same as previous]
        test_1        |             
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_postgres_1   ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...
        
    compose_test.go:125: exit status 1
--- FAIL: TestComposeCompare (705.71s)
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ f295bd861a3a427652b19c2254d2401ebb4a3c8e:

        postgres_1    | 			FROM
        postgres_1    | 				postgres.public.table5 AS tab26167
        postgres_1    | 		)
        postgres_1    | 			AS t̵ab26168
        postgres_1    | 	ORDER BY
        postgres_1    | 		")col54779" NULLS FIRST,
        postgres_1    | 		"c%pol54780" DESC,
        postgres_1    | 		col54781,
        postgres_1    | 		"co l54782" NULLS FIRST,
        postgres_1    | 		"!col54783" DESC NULLS LAST,
        postgres_1    | 		col_54784,
        postgres_1    | 		col54785,
        postgres_1    | 		"\\x86co/l54786" ASC NULLS FIRST,
        postgres_1    | 		col54787 DESC NULLS LAST,
        postgres_1    | 		col̕54788 DESC,
        postgres_1    | 		"c
        postgres_1    | 	ol54789" NULLS FIRST,
        postgres_1    | 		"�c ol54790" ASC NULLS LAST,
        postgres_1    | 		col54791
        test_1        | --- FAIL: TestCompare (715.24s)
        test_1        |     compare_test.go:128: Checking connection to: cockroach1
        test_1        |     compare_test.go:128: Checking connection to: cockroach2
        test_1        |     compare_test.go:128: Checking connection to: postgres
        test_1        |     --- FAIL: TestCompare/postgres (105.59s)
        test_1        |         compare_test.go:137: starting test: postgres
        test_1        |         compare_test.go:146: initializing connection: cockroach1
        test_1        |         compare_test.go:146: initializing connection: postgres
        test_1        |         compare_test.go:197: open /home/agent/work/.go/src/github.com/cockroachdb/cockroach/artifacts/_tmp/018812dfcf0ce383ac3e799915a61396/TestComposeCompare3176633419/002/postgres.log: no such file or directory
        test_1        |         compare_test.go:199: compare cockroach1 to postgres: unexpected diff:
        test_1        |               []any(Inverse(func1, []any{
        test_1        |             - 	string("false"),
        test_1        |             + 	string("f"),
        test_1        |               }))
        test_1        |             cockroach1:
        test_1        |             SELECT * FROM (SELECT name(false::BOOL::BOOL)::NAME AS " �col54853") AS tab26209 ORDER BY " �col54853" ASC;
        test_1        |             
        test_1        |             postgres: [same as previous]
        test_1        |             
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_cockroach2_1 ... 
        Stopping compare_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:125: exit status 1
--- FAIL: TestComposeCompare (739.20s)
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ f295bd861a3a427652b19c2254d2401ebb4a3c8e:

        test_1        |         compare_test.go:137: starting test: postgres
        test_1        |         compare_test.go:146: initializing connection: cockroach1
        test_1        |         compare_test.go:146: initializing connection: postgres
        test_1        |         compare_test.go:197: open /home/agent/work/.go/src/github.com/cockroachdb/cockroach/artifacts/_tmp/018812dfcf0ce383ac3e799915a61396/TestComposeCompare3913191653/002/postgres.log: no such file or directory
        test_1        |         compare_test.go:199: compare cockroach1 to postgres: unexpected diff:
        test_1        |               []any(Inverse(func1, []any{
        test_1        |               	strings.Join({
        test_1        |               		"'C':130B,198C,311C 'JSPj':891B 'NLDuaPr':19C,845B,877C,965B 'Tj",
        test_1        |             - 		"V':579B 'cBSLOhBI' 'dC' 'kRwnIMNYVV':220A,498A,840A,886C 'oIpzLU",
        test_1        |             - 		"UfNr':370B,485B,966B 't':106B,295C,446B,522A",
        test_1        |               	}, ""),
        test_1        |               }))
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(
        test_1        |             		SELECT
        test_1        |             			name('''C'':130B,198C,311C ''JSPj'':891B ''NLDuaPr'':19C,845B,877C,965B ''TjV'':579B ''cBSLOhBI'' ''dC'' ''kRwnIMNYVV'':220A,498A,840A,886C ''oIpzLUUfNr'':370B,485B,966B ''t'':106B,295C,446B,522A'::TSVECTOR::TSVECTOR::TSVECTOR)::NAME
        test_1        |             				AS col1084
        test_1        |             	)
        test_1        |             		AS "tab|515"
        test_1        |             ORDER BY
        test_1        |             	col1084 DESC NULLS LAST;
        test_1        |             
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(
        test_1        |             		SELECT
        test_1        |             			name('''C'':130B,198C,311C ''JSPj'':891B ''NLDuaPr'':19C,845B,877C,965B ''TjV'':579B ''cBSLOhBI'' ''dC'' ''kRwnIMNYVV'':220A,498A,840A,886C ''oIpzLUUfNr'':370B,485B,966B ''t'':106B,295C,446B,522A':::TSVECTOR::TSVECTOR::TSVECTOR)::NAME
        test_1        |             				AS col1084
        test_1        |             	)
        test_1        |             		AS "tab|515"
        test_1        |             ORDER BY
        test_1        |             	col1084 DESC NULLS LAST;
        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:125: exit status 1
--- FAIL: TestComposeCompare (651.99s)
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ e57e9742146b7fac7f7530fa6224e11121ada92f:

        test_1        |             			(
        test_1        |             				VALUES
        test_1        |             					(NULL::TIMESTAMPTZ),
        test_1        |             					('2000-01-01 04:00:00+00':::TIMESTAMPTZ::TIMESTAMPTZ),
        test_1        |             					('2000-01-01 05:00:00+00':::TIMESTAMPTZ::TIMESTAMPTZ),
        test_1        |             					('2000-01-01 00:00:00+00':::TIMESTAMPTZ::TIMESTAMPTZ)
        test_1        |             			)
        test_1        |             				AS tab27457 ("col%p😠56873")
        test_1        |             		ORDER BY
        test_1        |             			tab27457."col%p😠56873", tab27457."col%p😠56873"
        test_1        |             	)
        test_1        |             		AS "t ab27458"
        test_1        |             ORDER BY
        test_1        |             	col56874;
        test_1        |             
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(
        test_1        |             		SELECT
        test_1        |             			tab27457."col%p😠56873" AS col56874
        test_1        |             		FROM
        test_1        |             			(
        test_1        |             				VALUES
        test_1        |             					(NULL::TIMESTAMPTZ),
        test_1        |             					('2000-01-01 04:00:00+00'::TIMESTAMPTZ::TIMESTAMPTZ),
        test_1        |             					('2000-01-01 05:00:00+00'::TIMESTAMPTZ::TIMESTAMPTZ),
        test_1        |             					('2000-01-01 00:00:00+00'::TIMESTAMPTZ::TIMESTAMPTZ)
        test_1        |             			)
        test_1        |             				AS tab27457 ("col%p😠56873")
        test_1        |             		ORDER BY
        test_1        |             			tab27457."col%p😠56873", tab27457."col%p😠56873"
        test_1        |             	)
        test_1        |             		AS "t ab27458"
        test_1        |             ORDER BY
        test_1        |             	col56874;
        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_cockroach1_1 ... done
        Stopping compare_cockroach2_1 ... done
        Aborting on container exit...
        
    compose_test.go:125: exit status 1
--- FAIL: TestComposeCompare (790.38s)
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@rafiss
Copy link
Collaborator

rafiss commented Jul 31, 2023

Filed #107895 for the failure in #82867 (comment)

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ fcfa15d9694c0b840ac0c5c1b1489fa90a62efd8:

        postgres_1    | 				tab60724.col1_1, tab60724.tableoid ASC, tab60724."co' l1_4" NULLS LAST, tab60724."
col1_3" DESC NULLS LAST
        postgres_1    | 		)
        postgres_1    | 			AS "T🙄ab60725"
        postgres_1    | 	ORDER BY
        postgres_1    | 		col120366 NULLS FIRST, col120367 ASC, col120368, _col120369, col120370 DESC NULLS FIRST, """col120371"
        postgres_1    | 2023-08-01 05:24:30.711 UTC [80] ERROR:  return type mismatch in function declared to return box2d
        postgres_1    | 2023-08-01 05:24:30.711 UTC [80] DETAIL:  Function's final statement must be SELECT or INSERT/UPDATE/DELETE RETURNING.
        postgres_1    | 2023-08-01 05:24:30.711 UTC [80] CONTEXT:  SQL function "�fun	c2127"
        postgres_1    | 2023-08-01 05:24:30.711 UTC [80] STATEMENT:  CREATE FUNCTION "�fun	c2127"(IN p0 INT2)
        postgres_1    | 		RETURNS SETOF BOX2D
        postgres_1    | 		VOLATILE
        postgres_1    | 		NOT LEAKPROOF
        postgres_1    | 		LANGUAGE SQL
        postgres_1    | 		AS $funcbody$$funcbody$
        test_1        | --- FAIL: TestCompare (1064.37s)
        test_1        |     compare_test.go:128: Checking connection to: postgres
        test_1        |     compare_test.go:128: Checking connection to: cockroach1
        test_1        |     compare_test.go:128: Checking connection to: cockroach2
        test_1        |     --- FAIL: TestCompare/postgres (441.33s)
        test_1        |         compare_test.go:137: starting test: postgres
        test_1        |         compare_test.go:146: initializing connection: cockroach1
        test_1        |         compare_test.go:146: initializing connection: postgres
        test_1        |         compare_test.go:197: open /home/agent/work/.go/src/github.com/cockroachdb/cockroach/artifacts/_tmp/018812dfcf0ce383ac3e799915a61396/TestComposeCompare1412810287/002/postgres.log: no such file or directory
        test_1        |         compare_test.go:199: compare cockroach1 to postgres: unexpected diff:
        test_1        |               []any(Inverse(func1, []any{
        test_1        |             - 	string("true"),
        test_1        |             + 	string("t"),
        test_1        |               }))
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(SELECT name(true::BOOL::BOOL)::NAME AS "-co""l120455") AS tab60782
        test_1        |             ORDER BY
        test_1        |             	"-co""l120455" DESC NULLS FIRST;
        test_1        |             
        test_1        |             postgres: [same as previous]
        test_1        |             
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_postgres_1   ... 
        Stopping compare_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:125: exit status 1
--- FAIL: TestComposeCompare (1088.25s)
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ 4fe2a80d81c6fc5a3da3c7c44c5fc38da67e0367:

        test_1        |             			(
        test_1        |             				VALUES
        test_1        |             					('I':::STRING::"char"),
        test_1        |             					(NULL::"char"),
        test_1        |             					('C':::STRING::"char"),
        test_1        |             					('G':::STRING::"char"),
        test_1        |             					(NULL::"char"),
        test_1        |             					(NULL::"char")
        test_1        |             			)
        test_1        |             				AS "t%ab38236" (col69847)
        test_1        |             	)
        test_1        |             		AS tab38237
        test_1        |             ORDER BY
        test_1        |             	col69848;
        test_1        |             
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(
        test_1        |             		SELECT
        test_1        |             			"t%ab38236".col69847 AS col69848
        test_1        |             		FROM
        test_1        |             			(
        test_1        |             				VALUES
        test_1        |             					('I'::TEXT::"char"),
        test_1        |             					(NULL::"char"),
        test_1        |             					('C'::TEXT::"char"),
        test_1        |             					('G'::TEXT::"char"),
        test_1        |             					(NULL::"char"),
        test_1        |             					(NULL::"char")
        test_1        |             			)
        test_1        |             				AS "t%ab38236" (col69847)
        test_1        |             	)
        test_1        |             		AS tab38237
        test_1        |             ORDER BY
        test_1        |             	col69848;
        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:125: exit status 1
--- FAIL: TestComposeCompare (838.75s)
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ d87a04bf528cf3d8f242ceb539451cd14aa7a3cf:

        postgres_1    | waiting for server to shut down...2023-08-04 05:16:57.188 UTC [49] LOG:  received fast shutdown request
        postgres_1    | .2023-08-04 05:16:57.190 UTC [49] LOG:  aborting any active transactions
        postgres_1    | 2023-08-04 05:16:57.191 UTC [49] LOG:  background worker "logical replication launcher" (PID 56) exited with exit code 1
        postgres_1    | 2023-08-04 05:16:57.194 UTC [51] LOG:  shutting down
        postgres_1    | 2023-08-04 05:16:57.294 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-08-04 05:16:57.410 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-08-04 05:16:57.410 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
        postgres_1    | 2023-08-04 05:16:57.410 UTC [1] LOG:  listening on IPv6 address "::", port 5432
        postgres_1    | 2023-08-04 05:16:57.413 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
        postgres_1    | 2023-08-04 05:16:57.418 UTC [68] LOG:  database system was shut down at 2023-08-04 05:16:57 UTC
        postgres_1    | 2023-08-04 05:16:57.423 UTC [1] LOG:  database system is ready to accept connections
        postgres_1    | 2023-08-04 05:16:59.379 UTC [78] ERROR:  invalid byte sequence for encoding "UTF8": 0x00
        postgres_1    | 2023-08-04 05:16:59.379 UTC [78] STATEMENT:  CREATE TABLE table2 ("col\\x372_%0" REGTYPE NULL, col2_1 NAME NOT NULL, col2_2 OID, " c ol2""_3" REGROLE, col2_4 TIMESTAMPTZ NOT NULL, col2_5 TSVECTOR NOT NULL, col2_6 INT8 NOT NULL, "c.oL2_7" "char" NOT NULL, col2_8 REGROLE NULL, co̔😠l2_9 BOOL NULL, col2_10 TEXT GENERATED ALWAYS AS (CASE WHEN " c ol2""_3" IS NULL THEN 'E[Q``B'::TEXT ELSE 'V'::TEXT END) STORED, "col2 _11" TEXT GENERATED ALWAYS AS (CASE WHEN " c ol2""_3" IS NULL THEN '"'::TEXT ELSE e'Q^~\x17\x06\x1f'::TEXT END) STORED, "col2_}12" TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN col2_4 IS NULL THEN e'PgC\x1c\b-/\x14'::TEXT ELSE e'$\r\x17'::TEXT END) STORED, col2_13 TEXT NULL GENERATED ALWAYS AS (lower(CAST(co̔😠l2_9 AS TEXT))) STORED);
        postgres_1    | 	CREATE UNIQUE INDEX ON table2 (col2_10, "c.oL2_7" ASC, "col2 _11" DESC, col2_8, col2_6, co̔😠l2_9 ASC) INCLUDE ("col\\x372_%0", col2_2, col2_5, "col2_}12");
        postgres_1    | 	CREATE UNIQUE INDEX ON table2 ("c.oL2_7" DESC, col2_2 DESC, " c ol2""_3", col2_10, "col2 _11" DESC, co̔😠l2_9, col2_13);
        postgres_1    | 	CREATE INDEX ON table2 (col2_10, col2_1, col2_8 DESC, col2_2 DESC, "col2 _11" DESC, "col2_}12" ASC, "c.oL2_7", co̔😠l2_9 ASC, col2_6 DESC, col2_4, "col\\x372_%0" DESC, (CASE WHEN col2_4 IS NULL THEN e'f8\'\x1f\x12(DA'::TEXT ELSE '"T'::TEXT END)) INCLUDE (col2_5);
        postgres_1    | 	CREATE INDEX ON table2 (co̔😠l2_9 ASC, (CASE WHEN " c ol2""_3" IS NULL THEN ''::TEXT ELSE e'\x00'::TEXT END) DESC, col2_10 ASC, col2_13 DESC, "col\\x372_%0", col2_8 DESC, "col2_}12", col2_4 ASC);
        postgres_1    | 	
        test_1        | --- FAIL: TestCompare (606.53s)
        test_1        |     compare_test.go:128: Checking connection to: cockroach2
        test_1        |     compare_test.go:128: Checking connection to: postgres
        test_1        |     compare_test.go:128: Checking connection to: cockroach1
        test_1        |     --- FAIL: TestCompare/postgres (0.97s)
        test_1        |         compare_test.go:137: starting test: postgres
        test_1        |         compare_test.go:146: initializing connection: cockroach1
        test_1        |         compare_test.go:146: initializing connection: postgres
        test_1        |         compare_test.go:168: CREATE TABLE table2 ("col\\x372_%0" REGTYPE NULL, col2_1 NAME NOT NULL, col2_2 OID, " c ol2""_3" REGROLE, col2_4 TIMESTAMPTZ NOT NULL, col2_5 TSVECTOR NOT NULL, col2_6 INT8 NOT NULL, "c.oL2_7" "char" NOT NULL, col2_8 REGROLE NULL, co̔😠l2_9 BOOL NULL, col2_10 TEXT GENERATED ALWAYS AS (CASE WHEN " c ol2""_3" IS NULL THEN 'E[Q``B'::TEXT ELSE 'V'::TEXT END) STORED, "col2 _11" TEXT GENERATED ALWAYS AS (CASE WHEN " c ol2""_3" IS NULL THEN '"'::TEXT ELSE e'Q^~\x17\x06\x1f'::TEXT END) STORED, "col2_}12" TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN col2_4 IS NULL THEN e'PgC\x1c\b-/\x14'::TEXT ELSE e'$\r\x17'::TEXT END) STORED, col2_13 TEXT NULL GENERATED ALWAYS AS (lower(CAST(co̔😠l2_9 AS TEXT))) STORED);
        test_1        |             CREATE UNIQUE INDEX ON table2 (col2_10, "c.oL2_7" ASC, "col2 _11" DESC, col2_8, col2_6, co̔😠l2_9 ASC) INCLUDE ("col\\x372_%0", col2_2, col2_5, "col2_}12");
        test_1        |             CREATE UNIQUE INDEX ON table2 ("c.oL2_7" DESC, col2_2 DESC, " c ol2""_3", col2_10, "col2 _11" DESC, co̔😠l2_9, col2_13);
        test_1        |             CREATE INDEX ON table2 (col2_10, col2_1, col2_8 DESC, col2_2 DESC, "col2 _11" DESC, "col2_}12" ASC, "c.oL2_7", co̔😠l2_9 ASC, col2_6 DESC, col2_4, "col\\x372_%0" DESC, (CASE WHEN col2_4 IS NULL THEN e'f8\'\x1f\x12(DA'::TEXT ELSE '"T'::TEXT END)) INCLUDE (col2_5);
        test_1        |             CREATE INDEX ON table2 (co̔😠l2_9 ASC, (CASE WHEN " c ol2""_3" IS NULL THEN ''::TEXT ELSE e'\x00'::TEXT END) DESC, col2_10 ASC, col2_13 DESC, "col\\x372_%0", col2_8 DESC, "col2_}12", col2_4 ASC);
        test_1        |             
        test_1        |         compare_test.go:169: postgres: exec: ERROR: invalid byte sequence for encoding "UTF8": 0x00 (SQLSTATE 22021)
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_postgres_1   ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach1_1 ... done
        Stopping compare_cockroach2_1 ... done
        Aborting on container exit...
        
    compose_test.go:125: exit status 1
--- FAIL: TestComposeCompare (630.23s)
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ 695d4ec85157a4da0c97237e6f16bf919eebf6c5:

        test_1        |               []any(Inverse(func1, []any{
        test_1        |             - 	nil,
        test_1        |             + 	s"2000-01-04 00:00:00 +0000 UTC",
        test_1        |               }))
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(
        test_1        |             		SELECT
        test_1        |             			"tAb10855"."co'l20480" AS col20481
        test_1        |             		FROM
        test_1        |             			(VALUES ('2000-01-06':::DATE::DATE), ('2000-01-04':::DATE::DATE), (NULL::DATE), ('2000-01-04':::DATE::DATE))
        test_1        |             				AS "tAb10855" ("co'l20480")
        test_1        |             		ORDER BY
        test_1        |             			"tAb10855"."co'l20480" DESC NULLS FIRST, "tAb10855"."co'l20480" DESC
        test_1        |             	)
        test_1        |             		AS """\rtab10856"
        test_1        |             ORDER BY
        test_1        |             	col20481;
        test_1        |             
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(
        test_1        |             		SELECT
        test_1        |             			"tAb10855"."co'l20480" AS col20481
        test_1        |             		FROM
        test_1        |             			(VALUES ('2000-01-06'::DATE::DATE), ('2000-01-04'::DATE::DATE), (NULL::DATE), ('2000-01-04'::DATE::DATE))
        test_1        |             				AS "tAb10855" ("co'l20480")
        test_1        |             		ORDER BY
        test_1        |             			"tAb10855"."co'l20480" DESC NULLS FIRST, "tAb10855"."co'l20480" DESC
        test_1        |             	)
        test_1        |             		AS """\rtab10856"
        test_1        |             ORDER BY
        test_1        |             	col20481;
        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_cockroach1_1 ... done
        Stopping compare_cockroach2_1 ... done
        Aborting on container exit...
        
    compose_test.go:125: exit status 1
--- FAIL: TestComposeCompare (667.70s)
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ f1623e0a2cffc81580ee3c3b71035efd854d89c9:

        test_1        |             					(2.0:::FLOAT8::FLOAT4),
        test_1        |             					(6.0:::FLOAT8::FLOAT4),
        test_1        |             					(0.0:::FLOAT8::FLOAT4),
        test_1        |             					(7.0:::FLOAT8::FLOAT4)
        test_1        |             			)
        test_1        |             				AS "ta b18908" ("'col37794")
        test_1        |             		ORDER BY
        test_1        |             			"ta b18908"."'col37794" ASC NULLS LAST
        test_1        |             	)
        test_1        |             		AS tab̐18909
        test_1        |             ORDER BY
        test_1        |             	col37795;
        test_1        |             
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(
        test_1        |             		SELECT
        test_1        |             			"ta b18908"."'col37794" AS col37795
        test_1        |             		FROM
        test_1        |             			(
        test_1        |             				VALUES
        test_1        |             					(7.0::FLOAT8::FLOAT4),
        test_1        |             					(NULL::FLOAT4),
        test_1        |             					(2.0::FLOAT8::FLOAT4),
        test_1        |             					(6.0::FLOAT8::FLOAT4),
        test_1        |             					(0.0::FLOAT8::FLOAT4),
        test_1        |             					(7.0::FLOAT8::FLOAT4)
        test_1        |             			)
        test_1        |             				AS "ta b18908" ("'col37794")
        test_1        |             		ORDER BY
        test_1        |             			"ta b18908"."'col37794" ASC NULLS LAST
        test_1        |             	)
        test_1        |             		AS tab̐18909
        test_1        |             ORDER BY
        test_1        |             	col37795;
        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_cockroach1_1 ... done
        Stopping compare_cockroach2_1 ... done
        Aborting on container exit...
        
    compose_test.go:125: exit status 1
--- FAIL: TestComposeCompare (709.39s)
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ f1623e0a2cffc81580ee3c3b71035efd854d89c9:

        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(
        test_1        |             		SELECT
        test_1        |             			"t\rab34586".col67629 AS "	co'l67630"
        test_1        |             		FROM
        test_1        |             			(VALUES (NULL::TIMESTAMPTZ), ('2000-01-01 00:00:00+00':::TIMESTAMPTZ::TIMESTAMPTZ))
        test_1        |             				AS "t\rab34586" (col67629)
        test_1        |             		WHERE
        test_1        |             			true::BOOL
        test_1        |             		ORDER BY
        test_1        |             			"t\rab34586".col67629 DESC NULLS FIRST, "t\rab34586".col67629 ASC NULLS LAST
        test_1        |             	)
        test_1        |             		AS tab34587
        test_1        |             ORDER BY
        test_1        |             	"	co'l67630" DESC;
        test_1        |             
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(
        test_1        |             		SELECT
        test_1        |             			"t\rab34586".col67629 AS "	co'l67630"
        test_1        |             		FROM
        test_1        |             			(VALUES (NULL::TIMESTAMPTZ), ('2000-01-01 00:00:00+00'::TIMESTAMPTZ::TIMESTAMPTZ))
        test_1        |             				AS "t\rab34586" (col67629)
        test_1        |             		WHERE
        test_1        |             			true::BOOL
        test_1        |             		ORDER BY
        test_1        |             			"t\rab34586".col67629 DESC NULLS FIRST, "t\rab34586".col67629 ASC NULLS LAST
        test_1        |             	)
        test_1        |             		AS tab34587
        test_1        |             ORDER BY
        test_1        |             	"	co'l67630" DESC;
        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:125: exit status 1
--- FAIL: TestComposeCompare (852.12s)
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ 1382b26a97bf6f70a07d363dc319283c173359eb:

        test_1        |             			"ta
        test_1        |             b2731"."\\x6dcol5445" AS col5446
        test_1        |             		FROM
        test_1        |             			(VALUES ((NULL::INT8::INT8 * 2:::INT8::INT8::INT8)::INT8), (NULL::INT8), (6:::INT8::INT8), (8:::INT8::INT8))
        test_1        |             				AS "ta
        test_1        |             b2731" ("\\x6dcol5445")
        test_1        |             		WHERE
        test_1        |             			true::BOOL
        test_1        |             		ORDER BY
        test_1        |             			"ta
        test_1        |             b2731"."\\x6dcol5445" NULLS LAST
        test_1        |             	)
        test_1        |             		AS "t a
b2732"
        test_1        |             ORDER BY
        test_1        |             	col5446 ASC;
        test_1        |             
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(
        test_1        |             		SELECT
        test_1        |             			"ta
        test_1        |             b2731"."\\x6dcol5445" AS col5446
        test_1        |             		FROM
        test_1        |             			(VALUES ((NULL::INT8::INT8 * 2::INT8::INT8::INT8)::INT8), (NULL::INT8), (6::INT8::INT8), (8::INT8::INT8))
        test_1        |             				AS "ta
        test_1        |             b2731" ("\\x6dcol5445")
        test_1        |             		WHERE
        test_1        |             			true::BOOL
        test_1        |             		ORDER BY
        test_1        |             			"ta
        test_1        |             b2731"."\\x6dcol5445" NULLS LAST
        test_1        |             	)
        test_1        |             		AS "t a
b2732"
        test_1        |             ORDER BY
        test_1        |             	col5446 ASC;
        test_1        |             
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_cockroach2_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach1_1 ... done
        Stopping compare_cockroach2_1 ... done
        Aborting on container exit...
        
    compose_test.go:125: exit status 1
--- FAIL: TestComposeCompare (637.83s)
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ a3a389e464defd3d301a0b080435cf33502a02d2:

        postgres_1    | 2023-08-09 05:18:05.255 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-08-09 05:18:05.365 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-08-09 05:18:05.366 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
        postgres_1    | 2023-08-09 05:18:05.366 UTC [1] LOG:  listening on IPv6 address "::", port 5432
        postgres_1    | 2023-08-09 05:18:05.369 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
        postgres_1    | 2023-08-09 05:18:05.374 UTC [68] LOG:  database system was shut down at 2023-08-09 05:18:05 UTC
        postgres_1    | 2023-08-09 05:18:05.380 UTC [1] LOG:  database system is ready to accept connections
        postgres_1    | 2023-08-09 05:18:07.282 UTC [78] ERROR:  invalid byte sequence for encoding "UTF8": 0x00
        postgres_1    | 2023-08-09 05:18:07.282 UTC [78] STATEMENT:  CREATE TABLE "tAb/le3" (" col3_/0" REGROLE NOT NULL, "Col3_1" "char" NOT NULL, "'col3_2" REGCLASS NOT NULL, "'col3_3" TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN " col3_/0" IS NULL THEN ''::TEXT ELSE ''::TEXT END) STORED, col3_4 TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN " col3_/0" IS NULL THEN e',\b[v'::TEXT ELSE e'ei5V8\x13z'::TEXT END) STORED, PRIMARY KEY (" col3_/0", "'col3_3", "'col3_2", "Col3_1", col3_4));
        postgres_1    | 	CREATE INDEX ON "tAb/le3" ("'col3_2", col3_4 ASC, "Col3_1", "'col3_3");
        postgres_1    | 	CREATE UNIQUE INDEX ON "tAb/le3" ("'col3_3", (CASE WHEN "'col3_2" IS NULL THEN ''::TEXT ELSE e'\x00'::TEXT END) DESC, "Col3_1" DESC);
        postgres_1    | 	CREATE UNIQUE INDEX ON "tAb/le3" ("'col3_3", " col3_/0", "'col3_2" DESC);
        postgres_1    | 	CREATE UNIQUE INDEX ON "tAb/le3" (col3_4);
        postgres_1    | 	CREATE INDEX ON "tAb/le3" (lower("Col3_1") DESC, " col3_/0" ASC);
        postgres_1    | 	CREATE UNIQUE INDEX ON "tAb/le3" ("'col3_3" DESC, " col3_/0" ASC, (CASE WHEN "'col3_2" IS NULL THEN e'%I\x16^{'::TEXT ELSE '_K'::TEXT END), "Col3_1" DESC);
        postgres_1    | 	
        test_1        | --- FAIL: TestCompare (607.26s)
        test_1        |     compare_test.go:128: Checking connection to: postgres
        test_1        |     compare_test.go:128: Checking connection to: cockroach1
        test_1        |     compare_test.go:128: Checking connection to: cockroach2
        test_1        |     --- FAIL: TestCompare/postgres (1.23s)
        test_1        |         compare_test.go:137: starting test: postgres
        test_1        |         compare_test.go:146: initializing connection: cockroach1
        test_1        |         compare_test.go:146: initializing connection: postgres
        test_1        |         compare_test.go:168: CREATE TABLE "tAb/le3" (" col3_/0" REGROLE NOT NULL, "Col3_1" "char" NOT NULL, "'col3_2" REGCLASS NOT NULL, "'col3_3" TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN " col3_/0" IS NULL THEN ''::TEXT ELSE ''::TEXT END) STORED, col3_4 TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN " col3_/0" IS NULL THEN e',\b[v'::TEXT ELSE e'ei5V8\x13z'::TEXT END) STORED, PRIMARY KEY (" col3_/0", "'col3_3", "'col3_2", "Col3_1", col3_4));
        test_1        |             CREATE INDEX ON "tAb/le3" ("'col3_2", col3_4 ASC, "Col3_1", "'col3_3");
        test_1        |             CREATE UNIQUE INDEX ON "tAb/le3" ("'col3_3", (CASE WHEN "'col3_2" IS NULL THEN ''::TEXT ELSE e'\x00'::TEXT END) DESC, "Col3_1" DESC);
        test_1        |             CREATE UNIQUE INDEX ON "tAb/le3" ("'col3_3", " col3_/0", "'col3_2" DESC);
        test_1        |             CREATE UNIQUE INDEX ON "tAb/le3" (col3_4);
        test_1        |             CREATE INDEX ON "tAb/le3" (lower("Col3_1") DESC, " col3_/0" ASC);
        test_1        |             CREATE UNIQUE INDEX ON "tAb/le3" ("'col3_3" DESC, " col3_/0" ASC, (CASE WHEN "'col3_2" IS NULL THEN e'%I\x16^{'::TEXT ELSE '_K'::TEXT END), "Col3_1" DESC);
        test_1        |             
        test_1        |         compare_test.go:169: postgres: exec: ERROR: invalid byte sequence for encoding "UTF8": 0x00 (SQLSTATE 22021)
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_postgres_1   ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach1_1 ... done
        Stopping compare_cockroach2_1 ... done
        Aborting on container exit...
        
    compose_test.go:125: exit status 1
--- FAIL: TestComposeCompare (631.54s)
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ a598a75435f6426236dde569191fbd95871f24ae:

        test_1        |               []any(Inverse(func1, []any{
        test_1        |             - 	nil,
        test_1        |             + 	s"2000-01-01 00:00:00 +0000 UTC",
        test_1        |               }))
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(
        test_1        |             		SELECT
        test_1        |             			"t'ab19368".col35624 AS "col	35625"
        test_1        |             		FROM
        test_1        |             			(VALUES (NULL::DATE), ('2000-01-01':::DATE::DATE), ('2000-01-01':::DATE::DATE), ('2000-01-07':::DATE::DATE))
        test_1        |             				AS "t'ab19368" (col35624)
        test_1        |             		ORDER BY
        test_1        |             			"t'ab19368".col35624 ASC NULLS LAST
        test_1        |             	)
        test_1        |             		AS tab19369
        test_1        |             ORDER BY
        test_1        |             	"col	35625" ASC;
        test_1        |             
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(
        test_1        |             		SELECT
        test_1        |             			"t'ab19368".col35624 AS "col	35625"
        test_1        |             		FROM
        test_1        |             			(VALUES (NULL::DATE), ('2000-01-01'::DATE::DATE), ('2000-01-01'::DATE::DATE), ('2000-01-07'::DATE::DATE))
        test_1        |             				AS "t'ab19368" (col35624)
        test_1        |             		ORDER BY
        test_1        |             			"t'ab19368".col35624 ASC NULLS LAST
        test_1        |             	)
        test_1        |             		AS tab19369
        test_1        |             ORDER BY
        test_1        |             	"col	35625" ASC;
        test_1        |             
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_postgres_1   ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...
        
    compose_test.go:125: exit status 1
--- FAIL: TestComposeCompare (691.78s)
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ 6b0f43a13c4d2b36b4da5961e523161dabe212c0:

        test_1        |             					(
        test_1        |             						('{"A": {"F": {"E": "C"}, "I": [null, true], "J": {"D": null, "H": {"D": null, "E": "H"}}}}':::JSONB::JSONB::JSONB->NULL::INT4::INT4)::JSONB
        test_1        |             					),
        test_1        |             					(jsonb_object(NULL::STRING[]::STRING[], NULL::STRING[]::STRING[])::JSONB),
        test_1        |             					(NULL::JSONB),
        test_1        |             					('true':::JSONB::JSONB),
        test_1        |             					('"E"':::JSONB::JSONB)
        test_1        |             			)
        test_1        |             				AS tab̬35750 (col78343)
        test_1        |             	)
        test_1        |             		AS tab35751
        test_1        |             ORDER BY
        test_1        |             	col78344 DESC;
        test_1        |             
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(
        test_1        |             		SELECT
        test_1        |             			tab̬35750.col78343 AS col78344
        test_1        |             		FROM
        test_1        |             			(
        test_1        |             				VALUES
        test_1        |             					(
        test_1        |             						('{"A": {"F": {"E": "C"}, "I": [null, true], "J": {"D": null, "H": {"D": null, "E": "H"}}}}'::JSONB::JSONB::JSONB->NULL::INT4::INT4)::JSONB
        test_1        |             					),
        test_1        |             					(jsonb_object(NULL::TEXT[]::TEXT[], NULL::TEXT[]::TEXT[])::JSONB),
        test_1        |             					(NULL::JSONB),
        test_1        |             					('true'::JSONB::JSONB),
        test_1        |             					('"E"'::JSONB::JSONB)
        test_1        |             			)
        test_1        |             				AS tab̬35750 (col78343)
        test_1        |             	)
        test_1        |             		AS tab35751
        test_1        |             ORDER BY
        test_1        |             	col78344 DESC;
        test_1        |             
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_cockroach2_1 ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...
        
    compose_test.go:125: exit status 1
--- FAIL: TestComposeCompare (800.08s)
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ e0de1f12d4f496fc7e4050a33e96f8c635c7a27c:

        postgres_1    | 		"cOl14027" ASC,
        postgres_1    | 		"Col14028",
        postgres_1    | 		"co l 14029" ASC,
        postgres_1    | 		col14030 NULLS FIRST,
        postgres_1    | 		col14031 DESC NULLS FIRST
        test_1        | --- FAIL: TestCompare (622.38s)
        test_1        |     compare_test.go:128: Checking connection to: postgres
        test_1        |     compare_test.go:128: Checking connection to: cockroach1
        test_1        |     compare_test.go:128: Checking connection to: cockroach2
        test_1        |     --- FAIL: TestCompare/postgres (16.33s)
        test_1        |         compare_test.go:137: starting test: postgres
        test_1        |         compare_test.go:146: initializing connection: cockroach1
        test_1        |         compare_test.go:146: initializing connection: postgres
        test_1        |         compare_test.go:197: open /home/agent/work/.go/src/github.com/cockroachdb/cockroach/artifacts/_tmp/018812dfcf0ce383ac3e799915a61396/TestComposeCompare2201577326/002/postgres.log: no such file or directory
        test_1        |         compare_test.go:199: compare cockroach1 to postgres: unexpected diff:
        test_1        |               []any(Inverse(func1, []any{
        test_1        |             - 	nil,
        test_1        |             + 	string("01010000000000000000000"),
        test_1        |               }))
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(
        test_1        |             		SELECT
        test_1        |             			tab😞6133."�col14180" AS col14181
        test_1        |             		FROM
        test_1        |             			(VALUES (NULL::BIT(23)), (B'0101'::BIT(23)), (B'0101'::BIT(23)), (B'0101'::BIT(23)), (B'0101'::BIT(23)))
        test_1        |             				AS tab😞6133 ("�col14180")
        test_1        |             		ORDER BY
        test_1        |             			tab😞6133."�col14180" ASC NULLS FIRST
        test_1        |             	)
        test_1        |             		AS "tAb6134"
        test_1        |             ORDER BY
        test_1        |             	col14181;
        test_1        |             
        test_1        |             postgres: [same as previous]
        test_1        |             
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_cockroach2_1 ... 
        Stopping compare_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:125: exit status 1
--- FAIL: TestComposeCompare (646.09s)
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ 673bde530075ed690cf115aa0a5bdd7191d63f54:

        postgres_1    | 		😩col22162 DESC,
        postgres_1    | 		col22163 DESC,
        postgres_1    | 		col22164,
        postgres_1    | 		"col( 22165" NULLS LAST,
        postgres_1    | 		col22166 ASC NULLS FIRST,
        postgres_1    | 		col22167 DESC NULLS LAST,
        postgres_1    | 		"c o%ql�22168" DESC
        test_1        | --- FAIL: TestCompare (650.21s)
        test_1        |     compare_test.go:128: Checking connection to: postgres
        test_1        |     compare_test.go:128: Checking connection to: cockroach1
        test_1        |     compare_test.go:128: Checking connection to: cockroach2
        test_1        |     --- FAIL: TestCompare/postgres (42.90s)
        test_1        |         compare_test.go:137: starting test: postgres
        test_1        |         compare_test.go:146: initializing connection: cockroach1
        test_1        |         compare_test.go:146: initializing connection: postgres
        test_1        |         compare_test.go:197: open /home/agent/work/.go/src/github.com/cockroachdb/cockroach/artifacts/_tmp/018812dfcf0ce383ac3e799915a61396/TestComposeCompare1220842130/002/postgres.log: no such file or directory
        test_1        |         compare_test.go:199: compare postgres to cockroach1: unexpected diff:
        test_1        |               []any(Inverse(func1, []any{
        test_1        |             - 	nil,
        test_1        |             + 	string("1"),
        test_1        |               }))
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(
        test_1        |             		SELECT
        test_1        |             			tab12917.col22170 AS "c""ol'22171"
        test_1        |             		FROM
        test_1        |             			(VALUES (NULL::BIT), (B'0111'::BIT), (B'0111'::BIT), (B'1001'::BIT), (NULL::BIT), (B'0111'::BIT))
        test_1        |             				AS tab12917 (col22170)
        test_1        |             	)
        test_1        |             		AS tab12918
        test_1        |             ORDER BY
        test_1        |             	"c""ol'22171" DESC;
        test_1        |             
        test_1        |             cockroach1: [same as previous]
        test_1        |             
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_postgres_1   ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach1_1 ... done
        Stopping compare_cockroach2_1 ... done
        Aborting on container exit...
        
    compose_test.go:125: exit status 1
--- FAIL: TestComposeCompare (674.12s)
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ 9fcc5c8ce60d2f25e06e41bd97e20445233f9fa5:

        postgres_1    | Loading PostGIS extensions into postgres
        postgres_1    | CREATE EXTENSION
        postgres_1    | CREATE EXTENSION
        postgres_1    | CREATE EXTENSION
        postgres_1    | CREATE EXTENSION
        postgres_1    | 
        postgres_1    | waiting for server to shut down...2023-08-19 05:18:33.561 UTC [50] LOG:  received fast shutdown request
        postgres_1    | .2023-08-19 05:18:33.562 UTC [50] LOG:  aborting any active transactions
        postgres_1    | 2023-08-19 05:18:33.564 UTC [50] LOG:  background worker "logical replication launcher" (PID 57) exited with exit code 1
        postgres_1    | 2023-08-19 05:18:33.567 UTC [52] LOG:  shutting down
        postgres_1    | 2023-08-19 05:18:33.658 UTC [50] 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-08-19 05:18:33.682 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-08-19 05:18:33.682 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
        postgres_1    | 2023-08-19 05:18:33.682 UTC [1] LOG:  listening on IPv6 address "::", port 5432
        postgres_1    | 2023-08-19 05:18:33.685 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
        postgres_1    | 2023-08-19 05:18:33.689 UTC [69] LOG:  database system was shut down at 2023-08-19 05:18:33 UTC
        postgres_1    | 2023-08-19 05:18:33.694 UTC [1] LOG:  database system is ready to accept connections
        postgres_1    | 2023-08-19 05:18:34.692 UTC [79] ERROR:  invalid byte sequence for encoding "UTF8": 0x00
        postgres_1    | 2023-08-19 05:18:34.692 UTC [79] STATEMENT:  CREATE TABLE table1 (col1_0 TIMETZ NOT NULL, "|c ol̉1&_1" REGROLE NOT NULL, col1_2 TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN "|c ol̉1&_1" IS NULL THEN e'gOT\x1d'::TEXT ELSE e'\x00'::TEXT END) STORED, PRIMARY KEY (col1_2, col1_0, "|c ol̉1&_1"));
        postgres_1    | 	CREATE INDEX ON table1 (lower(CAST(col1_0 AS TEXT)) ASC, "|c ol̉1&_1" ASC);
        postgres_1    | 	
        test_1        | --- FAIL: TestCompare (605.52s)
        test_1        |     compare_test.go:128: Checking connection to: postgres
        test_1        |     compare_test.go:128: Checking connection to: cockroach1
        test_1        |     compare_test.go:128: Checking connection to: cockroach2
        test_1        |     --- FAIL: TestCompare/postgres (0.93s)
        test_1        |         compare_test.go:137: starting test: postgres
        test_1        |         compare_test.go:146: initializing connection: cockroach1
        test_1        |         compare_test.go:146: initializing connection: postgres
        test_1        |         compare_test.go:168: CREATE TABLE table1 (col1_0 TIMETZ NOT NULL, "|c ol̉1&_1" REGROLE NOT NULL, col1_2 TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN "|c ol̉1&_1" IS NULL THEN e'gOT\x1d'::TEXT ELSE e'\x00'::TEXT END) STORED, PRIMARY KEY (col1_2, col1_0, "|c ol̉1&_1"));
        test_1        |             CREATE INDEX ON table1 (lower(CAST(col1_0 AS TEXT)) ASC, "|c ol̉1&_1" ASC);
        test_1        |             
        test_1        |         compare_test.go:169: postgres: exec: ERROR: invalid byte sequence for encoding "UTF8": 0x00 (SQLSTATE 22021)
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_postgres_1   ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach1_1 ... done
        Stopping compare_cockroach2_1 ... done
        Aborting on container exit...
        
    compose_test.go:125: exit status 1
--- FAIL: TestComposeCompare (629.36s)
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ 31fe139c74640a383599c53719a39f0190a7065d:

        postgres_1    | CREATE EXTENSION
        postgres_1    | CREATE EXTENSION
        postgres_1    | CREATE EXTENSION
        postgres_1    | 
        postgres_1    | waiting for server to shut down....2023-08-20 05:17:34.886 UTC [49] LOG:  received fast shutdown request
        postgres_1    | 2023-08-20 05:17:34.887 UTC [49] LOG:  aborting any active transactions
        postgres_1    | 2023-08-20 05:17:34.889 UTC [49] LOG:  background worker "logical replication launcher" (PID 56) exited with exit code 1
        postgres_1    | 2023-08-20 05:17:34.892 UTC [51] LOG:  shutting down
        postgres_1    | 2023-08-20 05:17:34.988 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-08-20 05:17:35.108 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-08-20 05:17:35.108 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
        postgres_1    | 2023-08-20 05:17:35.108 UTC [1] LOG:  listening on IPv6 address "::", port 5432
        postgres_1    | 2023-08-20 05:17:35.111 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
        postgres_1    | 2023-08-20 05:17:35.116 UTC [68] LOG:  database system was shut down at 2023-08-20 05:17:34 UTC
        postgres_1    | 2023-08-20 05:17:35.121 UTC [1] LOG:  database system is ready to accept connections
        postgres_1    | 2023-08-20 05:17:36.843 UTC [78] ERROR:  invalid byte sequence for encoding "UTF8": 0x00
        postgres_1    | 2023-08-20 05:17:36.843 UTC [78] STATEMENT:  CREATE TABLE "tab%qle1" (col1_0 FLOAT4 NULL, " col1_1" BYTEA NOT NULL, "col1_ 2" TSVECTOR NOT NULL, "co l1'_3" PG_LSN NULL, col1_4 TSQUERY NOT NULL, col1_5 TIMESTAMP NOT NULL, col1_6 TEXT NULL GENERATED ALWAYS AS (lower(CAST("co l1'_3" AS TEXT))) STORED, col1_7 TEXT NULL GENERATED ALWAYS AS (lower(CAST("co l1'_3" AS TEXT))) STORED, col1_8 TEXT NULL GENERATED ALWAYS AS (CASE WHEN col1_5 IS NULL THEN e'\x13T\x1d: \r\x1f<P'::TEXT ELSE e'\x00'::TEXT END) STORED, col1_9 FLOAT8 NOT NULL GENERATED ALWAYS AS (col1_0 + (-0.4071544110774994)::FLOAT8) STORED, PRIMARY KEY (col1_5, col1_9));
        postgres_1    | 	CREATE UNIQUE INDEX ON "tab%qle1" ("co l1'_3");
        postgres_1    | 	CREATE INDEX ON "tab%qle1" (col1_6) INCLUDE (" col1_1", "co l1'_3", col1_4);
        postgres_1    | 	
        test_1        | --- FAIL: TestCompare (606.56s)
        test_1        |     compare_test.go:128: Checking connection to: cockroach1
        test_1        |     compare_test.go:128: Checking connection to: cockroach2
        test_1        |     compare_test.go:128: Checking connection to: postgres
        test_1        |     --- FAIL: TestCompare/postgres (1.01s)
        test_1        |         compare_test.go:137: starting test: postgres
        test_1        |         compare_test.go:146: initializing connection: cockroach1
        test_1        |         compare_test.go:146: initializing connection: postgres
        test_1        |         compare_test.go:168: CREATE TABLE "tab%qle1" (col1_0 FLOAT4 NULL, " col1_1" BYTEA NOT NULL, "col1_ 2" TSVECTOR NOT NULL, "co l1'_3" PG_LSN NULL, col1_4 TSQUERY NOT NULL, col1_5 TIMESTAMP NOT NULL, col1_6 TEXT NULL GENERATED ALWAYS AS (lower(CAST("co l1'_3" AS TEXT))) STORED, col1_7 TEXT NULL GENERATED ALWAYS AS (lower(CAST("co l1'_3" AS TEXT))) STORED, col1_8 TEXT NULL GENERATED ALWAYS AS (CASE WHEN col1_5 IS NULL THEN e'\x13T\x1d: \r\x1f<P'::TEXT ELSE e'\x00'::TEXT END) STORED, col1_9 FLOAT8 NOT NULL GENERATED ALWAYS AS (col1_0 + (-0.4071544110774994)::FLOAT8) STORED, PRIMARY KEY (col1_5, col1_9));
        test_1        |             CREATE UNIQUE INDEX ON "tab%qle1" ("co l1'_3");
        test_1        |             CREATE INDEX ON "tab%qle1" (col1_6) INCLUDE (" col1_1", "co l1'_3", col1_4);
        test_1        |             
        test_1        |         compare_test.go:169: postgres: exec: ERROR: invalid byte sequence for encoding "UTF8": 0x00 (SQLSTATE 22021)
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_postgres_1   ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach1_1 ... done
        Stopping compare_cockroach2_1 ... done
        Aborting on container exit...
        
    compose_test.go:125: exit status 1
--- FAIL: TestComposeCompare (630.15s)
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ de0f60255e3f82da1b37504b294ae91f9268942d:

        postgres_1    | PostgreSQL init process complete; ready for start up.
        postgres_1    | 
        postgres_1    | 2023-08-21 05:16:57.913 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-08-21 05:16:57.913 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
        postgres_1    | 2023-08-21 05:16:57.913 UTC [1] LOG:  listening on IPv6 address "::", port 5432
        postgres_1    | 2023-08-21 05:16:57.916 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
        postgres_1    | 2023-08-21 05:16:57.921 UTC [68] LOG:  database system was shut down at 2023-08-21 05:16:57 UTC
        postgres_1    | 2023-08-21 05:16:57.926 UTC [1] LOG:  database system is ready to accept connections
        postgres_1    | 2023-08-21 05:16:59.030 UTC [78] ERROR:  invalid byte sequence for encoding "UTF8": 0x00
        postgres_1    | 2023-08-21 05:16:59.030 UTC [78] STATEMENT:  CREATE TABLE table1 (col1_0 OID[] NULL, col1_1 REGTYPE, "co l1_2" FLOAT4, col1_3 DATE NULL, co̍l1_4 REGCLASS NULL, "	col1_5" BIT(30) NOT NULL, col1_6 JSONB NULL, "co�l\\U00097E8A1_7" BIT(37) NOT NULL, "c�ol1_8" DATE NOT NULL, col̯1_9 INTERVAL NOT NULL, "c|oL̥1_10" DATE NOT NULL, col1_11 BYTEA NULL, "col�1😮_""12" INT2 NOT NULL, col1_13 REGTYPE NULL, ")col1 _14" TEXT NULL GENERATED ALWAYS AS (CASE WHEN col1_3 IS NULL THEN ''::TEXT ELSE NULL END) STORED, col̢1_15 TEXT NULL GENERATED ALWAYS AS (CASE WHEN col1_0 IS NULL THEN e'x\x14|zn\x1cPy'::TEXT ELSE e'\x1e&<} r'::TEXT END) STORED, "co\\U000A2351l1-_16" TEXT NULL GENERATED ALWAYS AS (lower(CAST(col1_6 AS TEXT))) STORED, "col'1_17" TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN "c�ol1_8" IS NULL THEN e'\x00'::TEXT ELSE 'I/H'::TEXT END) STORED);
        postgres_1    | 	CREATE INDEX ON table1 (")col1 _14", col1_3 DESC, col1_0, col̯1_9 DESC, "c|oL̥1_10" DESC, col1_1, "col�1😮_""12" DESC, "co�l\\U00097E8A1_7", (CASE WHEN col1_0 IS NULL THEN ''::TEXT ELSE e'\x00'::TEXT END) DESC, col1_11, col̢1_15 DESC, "	col1_5" DESC);
        postgres_1    | 	CREATE UNIQUE INDEX ON table1 ("co\\U000A2351l1-_16") INCLUDE (col1_6, col̯1_9, "c|oL̥1_10", "col�1😮_""12");
        postgres_1    | 	CREATE INDEX ON table1 ("c�ol1_8" DESC, col̯1_9, col1_11 DESC, col1_13 DESC, col̢1_15 ASC, "co�l\\U00097E8A1_7" DESC) INCLUDE (col1_0, col1_1, "co\\U000A2351l1-_16");
        postgres_1    | 	CREATE INDEX ON table1 ((CASE WHEN col1_13 IS NULL THEN 'T/P+'::TEXT ELSE e'\''::TEXT END) DESC, "co�l\\U00097E8A1_7", col1_13 ASC, col1_0, "	col1_5", "c|oL̥1_10", col̯1_9 DESC, "col�1😮_""12" DESC, "c�ol1_8" DESC, col̢1_15, col1_3 DESC, "co l1_2", ("co l1_2" + 0.0::FLOAT8) DESC, ")col1 _14") INCLUDE (col1_1, co̍l1_4, "co\\U000A2351l1-_16", "col'1_17");
        postgres_1    | 	CREATE INDEX ON table1 ("c�ol1_8" ASC, col̯1_9 ASC, co̍l1_4, "co l1_2" DESC, col1_1, "c|oL̥1_10" ASC, col1_11, "co�l\\U00097E8A1_7", col1_0, "col'1_17" DESC, col1_6 ASC, ("co l1_2" + (-0.3256533741950989)::FLOAT8) DESC, "	col1_5", col1_3 ASC, col1_13 DESC, ")col1 _14") INCLUDE ("col�1😮_""12", "co\\U000A2351l1-_16");
        postgres_1    | 	CREATE UNIQUE INDEX ON table1 ("	col1_5" DESC, col1_0 ASC, ")col1 _14" ASC, col1_6 DESC, col1_13, col̢1_15, col1_3 ASC, co̍l1_4 ASC, "co�l\\U00097E8A1_7", (CASE WHEN col1_11 IS NULL THEN e'# \x02X*8x1\''::TEXT ELSE 'C)'::TEXT END), "c�ol1_8" DESC, col1_1 DESC, "c|oL̥1_10" DESC, "col'1_17" DESC, "col�1😮_""12" DESC, col̯1_9 ASC, col1_11 ASC, "co l1_2" ASC) INCLUDE ("co\\U000A2351l1-_16");
        postgres_1    | 	CREATE UNIQUE INDEX ON table1 (col1_0, "co l1_2" ASC, "	col1_5" DESC, col̢1_15 ASC, col1_6 ASC, "c�ol1_8" DESC, "co�l\\U00097E8A1_7" ASC);
        postgres_1    | 	CREATE UNIQUE INDEX ON table1 ("c�ol1_8" ASC, "col�1😮_""12", "co�l\\U00097E8A1_7" DESC, col1_1 DESC, "	col1_5" ASC, co̍l1_4 DESC, col̯1_9 DESC, "c|oL̥1_10" DESC);
        postgres_1    | 	
        test_1        | --- FAIL: TestCompare (605.69s)
        test_1        |     compare_test.go:128: Checking connection to: postgres
        test_1        |     compare_test.go:128: Checking connection to: cockroach1
        test_1        |     compare_test.go:128: Checking connection to: cockroach2
        test_1        |     --- FAIL: TestCompare/postgres (1.02s)
        test_1        |         compare_test.go:137: starting test: postgres
        test_1        |         compare_test.go:146: initializing connection: cockroach1
        test_1        |         compare_test.go:146: initializing connection: postgres
        test_1        |         compare_test.go:168: CREATE TABLE table1 (col1_0 OID[] NULL, col1_1 REGTYPE, "co l1_2" FLOAT4, col1_3 DATE NULL, co̍l1_4 REGCLASS NULL, "	col1_5" BIT(30) NOT NULL, col1_6 JSONB NULL, "co�l\\U00097E8A1_7" BIT(37) NOT NULL, "c�ol1_8" DATE NOT NULL, col̯1_9 INTERVAL NOT NULL, "c|oL̥1_10" DATE NOT NULL, col1_11 BYTEA NULL, "col�1😮_""12" INT2 NOT NULL, col1_13 REGTYPE NULL, ")col1 _14" TEXT NULL GENERATED ALWAYS AS (CASE WHEN col1_3 IS NULL THEN ''::TEXT ELSE NULL END) STORED, col̢1_15 TEXT NULL GENERATED ALWAYS AS (CASE WHEN col1_0 IS NULL THEN e'x\x14|zn\x1cPy'::TEXT ELSE e'\x1e&<} r'::TEXT END) STORED, "co\\U000A2351l1-_16" TEXT NULL GENERATED ALWAYS AS (lower(CAST(col1_6 AS TEXT))) STORED, "col'1_17" TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN "c�ol1_8" IS NULL THEN e'\x00'::TEXT ELSE 'I/H'::TEXT END) STORED);
        test_1        |             CREATE INDEX ON table1 (")col1 _14", col1_3 DESC, col1_0, col̯1_9 DESC, "c|oL̥1_10" DESC, col1_1, "col�1😮_""12" DESC, "co�l\\U00097E8A1_7", (CASE WHEN col1_0 IS NULL THEN ''::TEXT ELSE e'\x00'::TEXT END) DESC, col1_11, col̢1_15 DESC, "	col1_5" DESC);
        test_1        |             CREATE UNIQUE INDEX ON table1 ("co\\U000A2351l1-_16") INCLUDE (col1_6, col̯1_9, "c|oL̥1_10", "col�1😮_""12");
        test_1        |             CREATE INDEX ON table1 ("c�ol1_8" DESC, col̯1_9, col1_11 DESC, col1_13 DESC, col̢1_15 ASC, "co�l\\U00097E8A1_7" DESC) INCLUDE (col1_0, col1_1, "co\\U000A2351l1-_16");
        test_1        |             CREATE INDEX ON table1 ((CASE WHEN col1_13 IS NULL THEN 'T/P+'::TEXT ELSE e'\''::TEXT END) DESC, "co�l\\U00097E8A1_7", col1_13 ASC, col1_0, "	col1_5", "c|oL̥1_10", col̯1_9 DESC, "col�1😮_""12" DESC, "c�ol1_8" DESC, col̢1_15, col1_3 DESC, "co l1_2", ("co l1_2" + 0.0::FLOAT8) DESC, ")col1 _14") INCLUDE (col1_1, co̍l1_4, "co\\U000A2351l1-_16", "col'1_17");
        test_1        |             CREATE INDEX ON table1 ("c�ol1_8" ASC, col̯1_9 ASC, co̍l1_4, "co l1_2" DESC, col1_1, "c|oL̥1_10" ASC, col1_11, "co�l\\U00097E8A1_7", col1_0, "col'1_17" DESC, col1_6 ASC, ("co l1_2" + (-0.3256533741950989)::FLOAT8) DESC, "	col1_5", col1_3 ASC, col1_13 DESC, ")col1 _14") INCLUDE ("col�1😮_""12", "co\\U000A2351l1-_16");
        test_1        |             CREATE UNIQUE INDEX ON table1 ("	col1_5" DESC, col1_0 ASC, ")col1 _14" ASC, col1_6 DESC, col1_13, col̢1_15, col1_3 ASC, co̍l1_4 ASC, "co�l\\U00097E8A1_7", (CASE WHEN col1_11 IS NULL THEN e'# \x02X*8x1\''::TEXT ELSE 'C)'::TEXT END), "c�ol1_8" DESC, col1_1 DESC, "c|oL̥1_10" DESC, "col'1_17" DESC, "col�1😮_""12" DESC, col̯1_9 ASC, col1_11 ASC, "co l1_2" ASC) INCLUDE ("co\\U000A2351l1-_16");
        test_1        |             CREATE UNIQUE INDEX ON table1 (col1_0, "co l1_2" ASC, "	col1_5" DESC, col̢1_15 ASC, col1_6 ASC, "c�ol1_8" DESC, "co�l\\U00097E8A1_7" ASC);
        test_1        |             CREATE UNIQUE INDEX ON table1 ("c�ol1_8" ASC, "col�1😮_""12", "co�l\\U00097E8A1_7" DESC, col1_1 DESC, "	col1_5" ASC, co̍l1_4 DESC, col̯1_9 DESC, "c|oL̥1_10" DESC);
        test_1        |             
        test_1        |         compare_test.go:169: postgres: exec: ERROR: invalid byte sequence for encoding "UTF8": 0x00 (SQLSTATE 22021)
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_postgres_1   ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach1_1 ... done
        Stopping compare_cockroach2_1 ... done
        Aborting on container exit...
        
    compose_test.go:125: exit status 1
--- FAIL: TestComposeCompare (629.39s)
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@rafiss rafiss added C-test-failure Broken test (automatically or manually discovered). and removed C-test-failure Broken test (automatically or manually discovered). labels Aug 22, 2023
@rafiss
Copy link
Collaborator

rafiss commented Aug 23, 2023

closing this out since it passed two days in a row, and also future failures will not be categorized as C-test-failure thanks to #109173

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
branch-master Failures and bugs on the master branch. C-test-failure Broken test (automatically or manually discovered). O-robot Originated from a bot. T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions)
Projects
None yet
Development

No branches or pull requests

5 participants