cockroachdb / cockroach

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

ccl/changefeedccl: TestChangefeedRandomExpressions failed #134813

Open cockroach-teamcity opened 2 weeks ago

cockroach-teamcity commented 2 weeks ago

ccl/changefeedccl.TestChangefeedRandomExpressions failed on release-24.1.7-rc @ 798ba33ba875ff220c7a5d06ccac31924ca38074:

    changefeed_test.go:1106: SELECT array_to_string(IFNULL(array_agg(distinct rowid),'{}'),'|') FROM seed WHERE (inet(seed._string::STRING)::INET::INET << (seed._inet::INET & '115.225.209.142/15':::INET::INET)::INET::INET)::BOOL
    changefeed_test.go:1111: Skipping query SELECT array_to_string(IFNULL(array_agg(distinct rowid),'{}'),'|') FROM seed WHERE (inet(seed._string::STRING)::INET::INET << (seed._inet::INET & '115.225.209.142/15':::INET::INET)::INET::INET)::BOOL because error pq: inet(): could not parse "1" as inet. invalid IP
    changefeed_test.go:1106: SELECT array_to_string(IFNULL(array_agg(distinct rowid),'{}'),'|') FROM seed WHERE _st_dwithin('01040000A0E6100000060000000101000080A4D6300542FC494020028C901B1A1A4014A32D34D1AFFF410101000080ACF28D40B00B5FC0AE232BC98A643BC0601E22969DA2C8C101010000806E6DFA5F68446440900DC315C8F138C06C1E568D8526E041010100008084F5C1C5C421634071D356E38F6453C012B52BAD788601420101000080920FCBD95D5159C010049AD02BB71DC046E4105AC411EDC101010000805C2CB8CA5841624048494A8D55974540161433BCF9C9F2C1':::GEOGRAPHY::GEOGRAPHY, st_centroid('0103000020E6100000010000000800000067FAF59B685552C0F618EE7C7FAE42C03C3360B43B2564402B63C6722ED355C0E470795D0AAB5E4060F8E51068CF49C05827AD0E08A35B4040403CA134B3044028B9B3B95DCB34407C78FFB820C44D4000F4C44F57652940FC98FF74A55031C03636DDB0EE4663C0686156F483C928C067FAF59B685552C0F618EE7C7FAE42C0':::GEOGRAPHY::GEOGRAPHY)::GEOGRAPHY::GEOGRAPHY, seed._float8::FLOAT8)::BOOL
    changefeed_test.go:1111: Skipping query SELECT array_to_string(IFNULL(array_agg(distinct rowid),'{}'),'|') FROM seed WHERE _st_dwithin('01040000A0E6100000060000000101000080A4D6300542FC494020028C901B1A1A4014A32D34D1AFFF410101000080ACF28D40B00B5FC0AE232BC98A643BC0601E22969DA2C8C101010000806E6DFA5F68446440900DC315C8F138C06C1E568D8526E041010100008084F5C1C5C421634071D356E38F6453C012B52BAD788601420101000080920FCBD95D5159C010049AD02BB71DC046E4105AC411EDC101010000805C2CB8CA5841624048494A8D55974540161433BCF9C9F2C1':::GEOGRAPHY::GEOGRAPHY, st_centroid('0103000020E6100000010000000800000067FAF59B685552C0F618EE7C7FAE42C03C3360B43B2564402B63C6722ED355C0E470795D0AAB5E4060F8E51068CF49C05827AD0E08A35B4040403CA134B3044028B9B3B95DCB34407C78FFB820C44D4000F4C44F57652940FC98FF74A55031C03636DDB0EE4663C0686156F483C928C067FAF59B685552C0F618EE7C7FAE42C0':::GEOGRAPHY::GEOGRAPHY)::GEOGRAPHY::GEOGRAPHY, seed._float8::FLOAT8)::BOOL because error pq: _st_dwithin(): dwithin distance cannot be less than zero
    changefeed_test.go:1106: SELECT array_to_string(IFNULL(array_agg(distinct rowid),'{}'),'|') FROM seed WHERE NULL
    changefeed_test.go:1118: Skipping predicate NULL because it returned no rows
    changefeed_test.go:1106: SELECT array_to_string(IFNULL(array_agg(distinct rowid),'{}'),'|') FROM seed WHERE (EXISTS (SELECT NULL AS col😫_114 FROM d.public.seed@[0] AS "tab _50" WHERE ((seed._string SIMILAR TO e'*I\b':::STRING) AND EXISTS (SELECT '647D30F9/58999039':::PG_LSN AS col_113 FROM d.public.seed@[0] AS tab_51 WHERE seed._bool)) ORDER BY seed._interval ASC NULLS LAST, seed._float4 DESC) AND EXISTS (SELECT '010500000006000000010200000008000000BE4A4A935E5101424F738C0DFEA801C2D8EECBF18B90F341F8CE995F9079EEC10CC7EC0BE78BF941209A1710EA5BB7C11C827222B284F341E0431916035FEE419935939ECA2CF2C13805A4D823F8FC41BA75491A47ECEAC1247A17EBF65CEF41FDE12CD6A753F8C12C9FE411D2D1F841380DDA0DDA1EEFC120B52A381435C241010200000003000000C27D9DC47469024242CFC460D61DE6C13883960DED74FE41500FAFFFC628D341ECEBD7FE5C55FA41E4F0BC10690BEF4101020000000500000082665F356518F041D8750F8F08A1D2C1A4FDDA870B95E4C198142A70EF9EEB413F831737633AF1C1B01297003377F041381DA80B6F2E00C28030C9EDDBBD9F41DADCE883B8E6FBC1601AC641F9ECBCC1010200000007000000688ACFFD1C3BD341E8D45D01CBEFD1C136756E360E59F541006AA12E9439CDC1D0440EAECEC6C141304EA39CB929ED41206C9F631990F54118D024BD652DFC41844138F91E2FE84148A8AD7C2BE1FD41B76CB9F24139F0C1EEE13BE43265F54157B43AEBB44AFCC1C025913132FAF141010200000002000000AE8C1223AE55F1412C0D922E9C99F841B8D48F153773E74108157CEEBE17F641010200000006000000D04DAC96987ED0410097D07CB9C48541C0713B2A2374FC417853AB81E13CE8C1A4FBBB435ED3FA41D81864C83D1CD8C10093C80C7289ED4156ED5E45686400428042F04E98A9A44154C6A32ADE02E64133F9E98BBF90F9C1F822411C9DC6EC41':::GEOMETRY AS col_116 FROM d.public.seed@[0] AS """tab_52" WHERE '0101000020E61000009BBF1342CEEA62C047B22D39273C45C0':::GEOGRAPHY::GEOGRAPHY IN (SELECT '0103000060E610000001000000090000000C46943791864B40103927E9F30D55C08840D21DC5B0F2C15A3B990C9C3B6040D060010FF96E56C038703ECB4C36D64166F5C4B97BEC62407E4F4B1F2E464DC0D6DAB26986E7FAC132CF742F94B06240309A5F8D762428C02C8525E6A27AFC41980FF05F05ED5840A07D58993F240F40A04A014EFB1AF841D4AB6C74AA3D554086B0C8263C9651407A81A4E9C71CFAC1670E89619A2353C0387615B951443A406041E7896EAAC9416A8B888E653C66C06011D270B0001CC0A86876C1A072F4C10C46943791864B40103927E9F30D55C08840D21DC5B0F2C1':::GEOGRAPHY::GEOGRAPHY AS "co.l""_115" FROM d.public.seed@[0] AS "ta b_53") GROUP BY seed._int4, seed._inet ORDER BY seed._int4))
    changefeed_test.go:1118: Skipping predicate (EXISTS (SELECT NULL AS col😫_114 FROM d.public.seed@[0] AS "tab _50" WHERE ((seed._string SIMILAR TO e'*I\b':::STRING) AND EXISTS (SELECT '647D30F9/58999039':::PG_LSN AS col_113 FROM d.public.seed@[0] AS tab_51 WHERE seed._bool)) ORDER BY seed._interval ASC NULLS LAST, seed._float4 DESC) AND EXISTS (SELECT '010500000006000000010200000008000000BE4A4A935E5101424F738C0DFEA801C2D8EECBF18B90F341F8CE995F9079EEC10CC7EC0BE78BF941209A1710EA5BB7C11C827222B284F341E0431916035FEE419935939ECA2CF2C13805A4D823F8FC41BA75491A47ECEAC1247A17EBF65CEF41FDE12CD6A753F8C12C9FE411D2D1F841380DDA0DDA1EEFC120B52A381435C241010200000003000000C27D9DC47469024242CFC460D61DE6C13883960DED74FE41500FAFFFC628D341ECEBD7FE5C55FA41E4F0BC10690BEF4101020000000500000082665F356518F041D8750F8F08A1D2C1A4FDDA870B95E4C198142A70EF9EEB413F831737633AF1C1B01297003377F041381DA80B6F2E00C28030C9EDDBBD9F41DADCE883B8E6FBC1601AC641F9ECBCC1010200000007000000688ACFFD1C3BD341E8D45D01CBEFD1C136756E360E59F541006AA12E9439CDC1D0440EAECEC6C141304EA39CB929ED41206C9F631990F54118D024BD652DFC41844138F91E2FE84148A8AD7C2BE1FD41B76CB9F24139F0C1EEE13BE43265F54157B43AEBB44AFCC1C025913132FAF141010200000002000000AE8C1223AE55F1412C0D922E9C99F841B8D48F153773E74108157CEEBE17F641010200000006000000D04DAC96987ED0410097D07CB9C48541C0713B2A2374FC417853AB81E13CE8C1A4FBBB435ED3FA41D81864C83D1CD8C10093C80C7289ED4156ED5E45686400428042F04E98A9A44154C6A32ADE02E64133F9E98BBF90F9C1F822411C9DC6EC41':::GEOMETRY AS col_116 FROM d.public.seed@[0] AS """tab_52" WHERE '0101000020E61000009BBF1342CEEA62C047B22D39273C45C0':::GEOGRAPHY::GEOGRAPHY IN (SELECT '0103000060E610000001000000090000000C46943791864B40103927E9F30D55C08840D21DC5B0F2C15A3B990C9C3B6040D060010FF96E56C038703ECB4C36D64166F5C4B97BEC62407E4F4B1F2E464DC0D6DAB26986E7FAC132CF742F94B06240309A5F8D762428C02C8525E6A27AFC41980FF05F05ED5840A07D58993F240F40A04A014EFB1AF841D4AB6C74AA3D554086B0C8263C9651407A81A4E9C71CFAC1670E89619A2353C0387615B951443A406041E7896EAAC9416A8B888E653C66C06011D270B0001CC0A86876C1A072F4C10C46943791864B40103927E9F30D55C08840D21DC5B0F2C1':::GEOGRAPHY::GEOGRAPHY AS "co.l""_115" FROM d.public.seed@[0] AS "ta b_53") GROUP BY seed._int4, seed._inet ORDER BY seed._int4)) because it returned no rows
    changefeed_test.go:1106: SELECT array_to_string(IFNULL(array_agg(distinct rowid),'{}'),'|') FROM seed WHERE (seed._inet::INET << seed._inet::INET)::BOOL
    changefeed_test.go:1118: Skipping predicate (seed._inet::INET << seed._inet::INET)::BOOL because it returned no rows
    changefeed_test.go:1106: SELECT array_to_string(IFNULL(array_agg(distinct rowid),'{}'),'|') FROM seed WHERE seed._string LIKE seed._string
    changefeed_test.go:1122: Expecting statement CREATE CHANGEFEED WITH schema_change_policy='stop' AS SELECT rowid FROM seed WHERE seed._string LIKE seed._string to emit 94 events
    testfeed_test.go:301: creating external connection
    testfeed_test.go:304: ran create external connection
    changefeed_test.go:1106: SELECT array_to_string(IFNULL(array_agg(distinct rowid),'{}'),'|') FROM seed WHERE st_dwithinexclusive('0103000060E610000000000000':::GEOGRAPHY::GEOGRAPHY, st_segmentize(st_geogfromtext('':::STRING::STRING)::GEOGRAPHY::GEOGRAPHY, (-0.7699809104061477):::FLOAT8::FLOAT8)::GEOGRAPHY::GEOGRAPHY, 1.282727460208923:::FLOAT8::FLOAT8, ('112.253.109.35/19':::INET::INET >> 'b747:c63d:ca01:5842:f2f5:6978:f53:4c14/111':::INET::INET)::BOOL::BOOL)::BOOL
    changefeed_test.go:1111: Skipping query SELECT array_to_string(IFNULL(array_agg(distinct rowid),'{}'),'|') FROM seed WHERE st_dwithinexclusive('0103000060E610000000000000':::GEOGRAPHY::GEOGRAPHY, st_segmentize(st_geogfromtext('':::STRING::STRING)::GEOGRAPHY::GEOGRAPHY, (-0.7699809104061477):::FLOAT8::FLOAT8)::GEOGRAPHY::GEOGRAPHY, 1.282727460208923:::FLOAT8::FLOAT8, ('112.253.109.35/19':::INET::INET >> 'b747:c63d:ca01:5842:f2f5:6978:f53:4c14/111':::INET::INET)::BOOL::BOOL)::BOOL because error pq: st_geogfromtext(): error parsing EWKT: syntax error: unexpected $end at line 1, pos 0
        LINE 1: 
                ^
    changefeed_test.go:1106: SELECT array_to_string(IFNULL(array_agg(distinct rowid),'{}'),'|') FROM seed WHERE (NOT seed._bool)
    changefeed_test.go:1122: Expecting statement CREATE CHANGEFEED WITH schema_change_policy='stop' AS SELECT rowid FROM seed WHERE (NOT seed._bool) to emit 48 events
    testfeed_test.go:301: creating external connection
    testfeed_test.go:304: ran create external connection
    changefeed_test.go:1106: SELECT array_to_string(IFNULL(array_agg(distinct rowid),'{}'),'|') FROM seed WHERE (seed._bool AND seed._bool)
    changefeed_test.go:1122: Expecting statement CREATE CHANGEFEED WITH schema_change_policy='stop' AS SELECT rowid FROM seed WHERE (seed._bool AND seed._bool) to emit 43 events
    testfeed_test.go:301: creating external connection
    testfeed_test.go:304: ran create external connection
    changefeed_test.go:1106: SELECT array_to_string(IFNULL(array_agg(distinct rowid),'{}'),'|') FROM seed WHERE (false OR (NOT seed._bool))
    changefeed_test.go:1122: Expecting statement CREATE CHANGEFEED WITH schema_change_policy='stop' AS SELECT rowid FROM seed WHERE (false OR (NOT seed._bool)) to emit 48 events
    testfeed_test.go:301: creating external connection
    testfeed_test.go:304: ran create external connection
    changefeed_test.go:1106: SELECT array_to_string(IFNULL(array_agg(distinct rowid),'{}'),'|') FROM seed WHERE 'nEo':::STRING !~ seed._string
    changefeed_test.go:1111: Skipping query SELECT array_to_string(IFNULL(array_agg(distinct rowid),'{}'),'|') FROM seed WHERE 'nEo':::STRING !~ seed._string because error pq: invalid regular expression: error parsing regexp: unexpected ): ``)�w,�``
    changefeed_test.go:1106: SELECT array_to_string(IFNULL(array_agg(distinct rowid),'{}'),'|') FROM seed WHERE st_hasarc(NULL::GEOMETRY)::BOOL
    changefeed_test.go:1118: Skipping predicate st_hasarc(NULL::GEOMETRY)::BOOL because it returned no rows
    changefeed_test.go:1106: SELECT array_to_string(IFNULL(array_agg(distinct rowid),'{}'),'|') FROM seed WHERE (NOT not_like_escape(seed._string::STRING, seed._string::STRING, (COALESCE(NULL, (2.469618444679421647E+19:::DECIMAL::DECIMAL + pg_lsn(postgis_scripts_build_date()::STRING::STRING)::PG_LSN::PG_LSN)::PG_LSN)::PG_LSN || seed._string::STRING)::STRING::STRING)::BOOL)
    changefeed_test.go:1111: Skipping query SELECT array_to_string(IFNULL(array_agg(distinct rowid),'{}'),'|') FROM seed WHERE (NOT not_like_escape(seed._string::STRING, seed._string::STRING, (COALESCE(NULL, (2.469618444679421647E+19:::DECIMAL::DECIMAL + pg_lsn(postgis_scripts_build_date()::STRING::STRING)::PG_LSN::PG_LSN)::PG_LSN)::PG_LSN || seed._string::STRING)::STRING::STRING)::BOOL) because error pq: pg_lsn(): invalid input syntax for type pg_lsn: "2020-02-24 13:54:19"
    changefeed_test.go:1106: SELECT array_to_string(IFNULL(array_agg(distinct rowid),'{}'),'|') FROM seed WHERE seed._string NOT SIMILAR TO seed._string
    changefeed_test.go:1111: Skipping query SELECT array_to_string(IFNULL(array_agg(distinct rowid),'{}'),'|') FROM seed WHERE seed._string NOT SIMILAR TO seed._string because error pq: invalid regular expression: error parsing regexp: unexpected ): ``^(?s:)�w,�)$``
    changefeed_test.go:1106: SELECT array_to_string(IFNULL(array_agg(distinct rowid),'{}'),'|') FROM seed WHERE ((seed._enum::greeting NOT IN (seed._enum, seed._enum, 'morning':::greeting)) OR NULL)
    changefeed_test.go:1118: Skipping predicate ((seed._enum::greeting NOT IN (seed._enum, seed._enum, 'morning':::greeting)) OR NULL) because it returned no rows
    changefeed_test.go:1106: SELECT array_to_string(IFNULL(array_agg(distinct rowid),'{}'),'|') FROM seed WHERE (seed._bytes::BYTES || seed._bytes::BYTES)::BYTES::BYTES IN (seed._bytes, (seed._bytes::BYTES || seed._bytes::BYTES)::BYTES)
    changefeed_test.go:1122: Expecting statement CREATE CHANGEFEED WITH schema_change_policy='stop' AS SELECT rowid FROM seed WHERE (seed._bytes::BYTES || seed._bytes::BYTES)::BYTES::BYTES IN (seed._bytes, (seed._bytes::BYTES || seed._bytes::BYTES)::BYTES) to emit 97 events
    testfeed_test.go:301: creating external connection
    testfeed_test.go:304: ran create external connection
    changefeed_test.go:1106: SELECT array_to_string(IFNULL(array_agg(distinct rowid),'{}'),'|') FROM seed WHERE ((seed._bool AND seed._bool) OR (st_dfullywithinexclusive(st_affine(st_node('01020000800800000000D7B624E162F9C1CF137E544D29F9C13C310E7DB627E2410038AD40583156C1C6F6F756E35A01C24F18479A1D7001C25020B97A1597EF41EE26480DE223F8C19A7706FF142FF941C0A94D93AF1BFC4150CA21E9AF48CA41E2F6F379C4ACF1419C36B24ECD910242D8C4714CFA4DF6413A1013EBBF1FFCC15C65CD5B0688DDC1048D59C5B400FB4150BFC109ED2DCA41FC143C3113CFDFC176EA937D549CF341D866659BF4CBE6C11E62151D4573FCC1905F3C8469D5DB41F3FD134661E3F5C1':::GEOMETRY::GEOMETRY)::GEOMETRY::GEOMETRY, seed._float8::FLOAT8, 'NaN':::FLOAT8::FLOAT8, (-0.4403241628265703):::FLOAT8::FLOAT8, seed._float4::FLOAT8, 0.8944131546087132:::FLOAT8::FLOAT8, seed._float8::FLOAT8)::GEOMETRY::GEOMETRY, '0103000080010000000C0000006E0FFD0577C3F4C1E1919CBD7B3CF2C16E3DC39354FBF5C1115C55B9A81AF5C14DC53590CAEC01C2382800D8CE0B0142D08151CC94CDCDC11A7D89D86EFDFCC12A4832C65D6DEDC1400DA973BAECCA4114858138C577EFC17D36547067BAFDC144C2F0412E78FC41C047D5C2B684FFC1209C5E5BC366C8C1B0E8E06DDA7DCB414C4612EB4E4DF241A49C38B6E043E441202EA4785B47B3410855993194A6EE41D8BEB5D8B4A2D94160A8F3329A09B541A458C1357B6EFF41005E77112DD7CBC1F8CF5FE58541D0C150A4AC0FB70BD3410063CDDD7D45AF41C6F4CD47884DE6C1B09DBDAD8FC5D941805ECCE83397F7C1B3780B15011202C2EE70D0684E5DF3416ABE01062E5AF8416E0FFD0577C3F4C1E1919CBD7B3CF2C16E3DC39354FBF5C1':::GEOMETRY::GEOMETRY, seed._float4::FLOAT8)::BOOL AND seed._bool))
    changefeed_test.go:1122: Expecting statement CREATE CHANGEFEED WITH schema_change_policy='stop' AS SELECT rowid FROM seed WHERE ((seed._bool AND seed._bool) OR (st_dfullywithinexclusive(st_affine(st_node('01020000800800000000D7B624E162F9C1CF137E544D29F9C13C310E7DB627E2410038AD40583156C1C6F6F756E35A01C24F18479A1D7001C25020B97A1597EF41EE26480DE223F8C19A7706FF142FF941C0A94D93AF1BFC4150CA21E9AF48CA41E2F6F379C4ACF1419C36B24ECD910242D8C4714CFA4DF6413A1013EBBF1FFCC15C65CD5B0688DDC1048D59C5B400FB4150BFC109ED2DCA41FC143C3113CFDFC176EA937D549CF341D866659BF4CBE6C11E62151D4573FCC1905F3C8469D5DB41F3FD134661E3F5C1':::GEOMETRY::GEOMETRY)::GEOMETRY::GEOMETRY, seed._float8::FLOAT8, 'NaN':::FLOAT8::FLOAT8, (-0.4403241628265703):::FLOAT8::FLOAT8, seed._float4::FLOAT8, 0.8944131546087132:::FLOAT8::FLOAT8, seed._float8::FLOAT8)::GEOMETRY::GEOMETRY, '0103000080010000000C0000006E0FFD0577C3F4C1E1919CBD7B3CF2C16E3DC39354FBF5C1115C55B9A81AF5C14DC53590CAEC01C2382800D8CE0B0142D08151CC94CDCDC11A7D89D86EFDFCC12A4832C65D6DEDC1400DA973BAECCA4114858138C577EFC17D36547067BAFDC144C2F0412E78FC41C047D5C2B684FFC1209C5E5BC366C8C1B0E8E06DDA7DCB414C4612EB4E4DF241A49C38B6E043E441202EA4785B47B3410855993194A6EE41D8BEB5D8B4A2D94160A8F3329A09B541A458C1357B6EFF41005E77112DD7CBC1F8CF5FE58541D0C150A4AC0FB70BD3410063CDDD7D45AF41C6F4CD47884DE6C1B09DBDAD8FC5D941805ECCE83397F7C1B3780B15011202C2EE70D0684E5DF3416ABE01062E5AF8416E0FFD0577C3F4C1E1919CBD7B3CF2C16E3DC39354FBF5C1':::GEOMETRY::GEOMETRY, seed._float4::FLOAT8)::BOOL AND seed._bool)) to emit 43 events
    testfeed_test.go:301: creating external connection
    testfeed_test.go:304: ran create external connection
    changefeed_test.go:1139: st_node(): geometry type is unsupported. Please pass a LineString or a MultiLineString
    --- FAIL: TestChangefeedRandomExpressions/kafka (27.79s)

Parameters:

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

Same failure on other branches

- #133049 ccl/changefeedccl: TestChangefeedRandomExpressions failed [A-cdc C-test-failure O-robot P-3 T-cdc branch-release-24.3] - #132516 ccl/changefeedccl: TestChangefeedRandomExpressions failed [A-cdc C-test-failure O-robot P-3 T-cdc branch-release-23.2.13-rc] - #131898 ccl/changefeedccl: TestChangefeedRandomExpressions failed [A-cdc C-test-failure O-robot P-3 T-cdc X-duplicate branch-release-24.1.6-rc release-blocker] - #131179 ccl/changefeedccl: TestChangefeedRandomExpressions failed [A-cdc C-test-failure O-robot P-3 T-cdc branch-release-24.1.5-rc] - #129173 ccl/changefeedccl: TestChangefeedRandomExpressions failed [A-cdc C-test-failure O-robot P-3 T-cdc branch-release-24.2.0-rc] - #128772 ccl/changefeedccl: TestChangefeedRandomExpressions failed [A-cdc C-test-failure O-robot P-3 T-cdc branch-release-24.1.3-rc] - #127642 ccl/changefeedccl: TestChangefeedRandomExpressions failed [A-cdc C-test-failure O-robot P-3 T-cdc branch-release-24.2] - #126889 ccl/changefeedccl: TestChangefeedRandomExpressions failed [A-cdc C-test-failure O-robot P-3 T-cdc branch-release-24.1.2-rc] - #124738 ccl/changefeedccl: TestChangefeedRandomExpressions failed [A-cdc C-test-failure O-robot P-3 T-cdc branch-release-24.1] - #120174 ccl/changefeedccl: TestChangefeedRandomExpressions failed [test needs adjustment] [A-cdc C-test-failure O-robot P-3 T-cdc branch-master]

/cc @cockroachdb/cdc

This test on roachdash | Improve this report!

Jira issue: CRDB-44265

cockroach-teamcity commented 1 week ago

ccl/changefeedccl.TestChangefeedRandomExpressions failed on release-24.1.7-rc @ 3613a619e327fb412ac62036ce2c7060c25e48db:

    changefeed_test.go:1106: SELECT array_to_string(IFNULL(array_agg(distinct rowid),'{}'),'|') FROM seed WHERE (NOT (netmask('4970:957c:f887:5e3:6b8:4ba4:b08a:c5c6/103':::INET::INET)::INET::INET << (seed._inet::INET | seed._inet::INET)::INET::INET)::BOOL)
    changefeed_test.go:1122: Expecting statement CREATE CHANGEFEED WITH schema_change_policy='stop' AS SELECT rowid FROM seed WHERE (NOT (netmask('4970:957c:f887:5e3:6b8:4ba4:b08a:c5c6/103':::INET::INET)::INET::INET << (seed._inet::INET | seed._inet::INET)::INET::INET)::BOOL) to emit 94 events
    testfeed_test.go:301: creating external connection
    testfeed_test.go:304: ran create external connection
    changefeed_test.go:1106: SELECT array_to_string(IFNULL(array_agg(distinct rowid),'{}'),'|') FROM seed WHERE false
    changefeed_test.go:1118: Skipping predicate false because it returned no rows
    changefeed_test.go:1106: SELECT array_to_string(IFNULL(array_agg(distinct rowid),'{}'),'|') FROM seed WHERE (NOT (e'V\x17d?F\x01':::STRING NOT LIKE NULL))
    changefeed_test.go:1118: Skipping predicate (NOT (e'V\x17d?F\x01':::STRING NOT LIKE NULL)) because it returned no rows
    changefeed_test.go:1106: SELECT array_to_string(IFNULL(array_agg(distinct rowid),'{}'),'|') FROM seed WHERE EXISTS (SELECT NULL AS "cOl_138" FROM d.public.seed AS tab_48 JOIN d.public.seed AS tab_49 ON (((tab_48._int8) = (tab_49._int8)) AND ((tab_48._date) = (tab_49._date))) AND ((tab_48._float8) = (tab_49._float8)) GROUP BY seed._float8 HAVING EXISTS (SELECT 846643290:::REGPROC AS "%vcol_135", seed._bytes AS col_136, '{"AhLWFc1P": true, "ESN": true, "Rug": true, "hz": [null]}':::JSONB AS 😬col_137 FROM d.public.seed@[0] AS t😽ab_50 JOIN d.public.seed@[0] AS tab_51 JOIN d.public.seed@[0] AS tab_52 ON (((tab_51._float8) = (tab_52._float8)) AND ((tab_51._enum) = (tab_52._enum))) AND ((tab_51._timestamp) = (tab_52._timestamp)) ON ((t😽ab_50._float4) = (tab_52._float4)) AND ((t😽ab_50.crdb_internal_mvcc_timestamp) = (tab_52._decimal)) WHERE seed._bool))
    changefeed_test.go:1118: Skipping predicate EXISTS (SELECT NULL AS "cOl_138" FROM d.public.seed AS tab_48 JOIN d.public.seed AS tab_49 ON (((tab_48._int8) = (tab_49._int8)) AND ((tab_48._date) = (tab_49._date))) AND ((tab_48._float8) = (tab_49._float8)) GROUP BY seed._float8 HAVING EXISTS (SELECT 846643290:::REGPROC AS "%vcol_135", seed._bytes AS col_136, '{"AhLWFc1P": true, "ESN": true, "Rug": true, "hz": [null]}':::JSONB AS 😬col_137 FROM d.public.seed@[0] AS t😽ab_50 JOIN d.public.seed@[0] AS tab_51 JOIN d.public.seed@[0] AS tab_52 ON (((tab_51._float8) = (tab_52._float8)) AND ((tab_51._enum) = (tab_52._enum))) AND ((tab_51._timestamp) = (tab_52._timestamp)) ON ((t😽ab_50._float4) = (tab_52._float4)) AND ((t😽ab_50.crdb_internal_mvcc_timestamp) = (tab_52._decimal)) WHERE seed._bool)) because it returned no rows
    changefeed_test.go:1106: SELECT array_to_string(IFNULL(array_agg(distinct rowid),'{}'),'|') FROM seed WHERE (seed._inet::INET >> seed._inet::INET)::BOOL
    changefeed_test.go:1118: Skipping predicate (seed._inet::INET >> seed._inet::INET)::BOOL because it returned no rows
    changefeed_test.go:1106: SELECT array_to_string(IFNULL(array_agg(distinct rowid),'{}'),'|') FROM seed WHERE (inet(((-1120025403343538171):::INT8::INT8 + '13.162.168.2/30':::INET::INET)::INET::INET)::INET::INET >> seed._inet::INET)::BOOL
    changefeed_test.go:1111: Skipping query SELECT array_to_string(IFNULL(array_agg(distinct rowid),'{}'),'|') FROM seed WHERE (inet(((-1120025403343538171):::INT8::INT8 + '13.162.168.2/30':::INET::INET)::INET::INET)::INET::INET >> seed._inet::INET)::BOOL because error pq: result out of range
    changefeed_test.go:1106: SELECT array_to_string(IFNULL(array_agg(distinct rowid),'{}'),'|') FROM seed WHERE EXISTS (SELECT NULL AS " co͘😫l_167" FROM d.public.seed@[0] AS tab_68 JOIN d.public.seed@[0] AS "t)ab_69" ON (tab_68._int4) = ("t)ab_69"._int4) JOIN d.public.seed AS "
tab._70" JOIN d.public.seed AS tab_71 ON ("
tab._70"._jsonb) = (tab_71._jsonb) ON ("t)ab_69"._jsonb) = ("
tab._70"._jsonb) WHERE seed._bool ORDER BY seed._int8 DESC NULLS LAST, seed._int8 NULLS FIRST)
    changefeed_test.go:1122: Expecting statement CREATE CHANGEFEED WITH schema_change_policy='stop' AS SELECT rowid FROM seed WHERE EXISTS (SELECT NULL AS " co͘😫l_167" FROM d.public.seed@[0] AS tab_68 JOIN d.public.seed@[0] AS "t)ab_69" ON (tab_68._int4) = ("t)ab_69"._int4) JOIN d.public.seed AS "
tab._70" JOIN d.public.seed AS tab_71 ON ("
tab._70"._jsonb) = (tab_71._jsonb) ON ("t)ab_69"._jsonb) = ("
tab._70"._jsonb) WHERE seed._bool ORDER BY seed._int8 DESC NULLS LAST, seed._int8 NULLS FIRST) to emit 45 events
    testfeed_test.go:301: creating external connection
    testfeed_test.go:304: ran create external connection
    changefeed_test.go:1125: Test tolerating create changefeed error: failed to start feed for job 0: pq: sub-query expressions not supported by CDC
    changefeed_test.go:1106: SELECT array_to_string(IFNULL(array_agg(distinct rowid),'{}'),'|') FROM seed WHERE (true AND ((parse_interval('':::STRING::STRING, seed._string::STRING)::INTERVAL::INTERVAL + '13:14:43.584838+08:31':::TIMETZ::TIMETZ)::TIMETZ::TIMETZ NOT IN ('23:12:40.442461-04:23':::TIMETZ,)))
    changefeed_test.go:1111: Skipping query SELECT array_to_string(IFNULL(array_agg(distinct rowid),'{}'),'|') FROM seed WHERE (true AND ((parse_interval('':::STRING::STRING, seed._string::STRING)::INTERVAL::INTERVAL + '13:14:43.584838+08:31':::TIMETZ::TIMETZ)::TIMETZ::TIMETZ NOT IN ('23:12:40.442461-04:23':::TIMETZ,))) because error pq: parse_interval(): invalid IntervalStyle: 1
    changefeed_test.go:1106: SELECT array_to_string(IFNULL(array_agg(distinct rowid),'{}'),'|') FROM seed WHERE st_containsproperly(COALESCE('010400008007000000010100008020D21CBB8937CA41603742CC45EFEAC19E19A3FD742702C20101000080F8DABDD33BAEFE4160EAC851350BC9C150131A9A399800C201010000804D3505574966FBC122FC6A42CBD4E5C1307DDD0AED87D1C101010000800C477DB0198E0242583797A6924C0142A80B71124A79E8410101000080B07B200B1A31FE4116F11C076D34FBC1C5CC143DE67A01C2010100008036BAF4F599A900C250525AC6611BEF410E95A003736DF041010100008036FDA87DA2BBE4C140D84ABF471CB44120AC44164B0BC141':::GEOMETRY, '010700004000000000':::GEOMETRY)::GEOMETRY, '010200000004000000E84960C16E07DB41B65B21EBB946EAC15016CF92A12ED941E0C4FCB0E1E8C341548376E90BC1EC41AAD6716F01440142648F9F5FA16CE3C1688943A4CC31D041':::GEOMETRY::GEOMETRY)::BOOL
    changefeed_test.go:1111: Skipping query SELECT array_to_string(IFNULL(array_agg(distinct rowid),'{}'),'|') FROM seed WHERE st_containsproperly(COALESCE('010400008007000000010100008020D21CBB8937CA41603742CC45EFEAC19E19A3FD742702C20101000080F8DABDD33BAEFE4160EAC851350BC9C150131A9A399800C201010000804D3505574966FBC122FC6A42CBD4E5C1307DDD0AED87D1C101010000800C477DB0198E0242583797A6924C0142A80B71124A79E8410101000080B07B200B1A31FE4116F11C076D34FBC1C5CC143DE67A01C2010100008036BAF4F599A900C250525AC6611BEF410E95A003736DF041010100008036FDA87DA2BBE4C140D84ABF471CB44120AC44164B0BC141':::GEOMETRY, '010700004000000000':::GEOMETRY)::GEOMETRY, '010200000004000000E84960C16E07DB41B65B21EBB946EAC15016CF92A12ED941E0C4FCB0E1E8C341548376E90BC1EC41AAD6716F01440142648F9F5FA16CE3C1688943A4CC31D041':::GEOMETRY::GEOMETRY)::BOOL because error pq: st_containsproperly(): geos: no locations to init GEOS
    changefeed_test.go:1106: SELECT array_to_string(IFNULL(array_agg(distinct rowid),'{}'),'|') FROM seed WHERE EXISTS (SELECT '':::VOID AS "{col_219" FROM d.public.seed@[0] AS tab_88 JOIN d.public.seed@[0] AS tab_89 ON ((tab_88._int8) = (tab_89._int4)) AND ((tab_88._timestamptz) = (tab_89._timestamptz)))
    changefeed_test.go:1122: Expecting statement CREATE CHANGEFEED WITH schema_change_policy='stop' AS SELECT rowid FROM seed WHERE EXISTS (SELECT '':::VOID AS "{col_219" FROM d.public.seed@[0] AS tab_88 JOIN d.public.seed@[0] AS tab_89 ON ((tab_88._int8) = (tab_89._int4)) AND ((tab_88._timestamptz) = (tab_89._timestamptz))) to emit 100 events
    testfeed_test.go:301: creating external connection
    testfeed_test.go:304: ran create external connection
    changefeed_test.go:1125: Test tolerating create changefeed error: failed to start feed for job 0: pq: sub-query expressions not supported by CDC
    changefeed_test.go:1106: SELECT array_to_string(IFNULL(array_agg(distinct rowid),'{}'),'|') FROM seed WHERE (false OR EXISTS (SELECT CASE WHEN seed._bool THEN ARRAY[]:::FLOAT4[] ELSE ARRAY[(-0.12115942686796188):::FLOAT8, 2.175978422164917:::FLOAT8] END AS "cOl _223" FROM d.public.seed@[0] AS tab̗_91 WHERE seed._bool ORDER BY seed._bool ASC NULLS FIRST))
    changefeed_test.go:1122: Expecting statement CREATE CHANGEFEED WITH schema_change_policy='stop' AS SELECT rowid FROM seed WHERE (false OR EXISTS (SELECT CASE WHEN seed._bool THEN ARRAY[]:::FLOAT4[] ELSE ARRAY[(-0.12115942686796188):::FLOAT8, 2.175978422164917:::FLOAT8] END AS "cOl _223" FROM d.public.seed@[0] AS tab̗_91 WHERE seed._bool ORDER BY seed._bool ASC NULLS FIRST)) to emit 45 events
    testfeed_test.go:301: creating external connection
    testfeed_test.go:304: ran create external connection
    changefeed_test.go:1125: Test tolerating create changefeed error: failed to start feed for job 0: pq: sub-query expressions not supported by CDC
    changefeed_test.go:1106: SELECT array_to_string(IFNULL(array_agg(distinct rowid),'{}'),'|') FROM seed WHERE EXISTS (SELECT seed._date AS "%11col_228", seed._int2 AS "%qcol_229")
    changefeed_test.go:1122: Expecting statement CREATE CHANGEFEED WITH schema_change_policy='stop' AS SELECT rowid FROM seed WHERE EXISTS (SELECT seed._date AS "%11col_228", seed._int2 AS "%qcol_229") to emit 100 events
    testfeed_test.go:301: creating external connection
    testfeed_test.go:304: ran create external connection
    changefeed_test.go:1125: Test tolerating create changefeed error: failed to start feed for job 0: pq: sub-query expressions not supported by CDC
    changefeed_test.go:1106: SELECT array_to_string(IFNULL(array_agg(distinct rowid),'{}'),'|') FROM seed WHERE st_dwithinexclusive(seed._string::STRING, seed._string::STRING, (-1.4314917669211003):::FLOAT8::FLOAT8)::BOOL
    changefeed_test.go:1111: Skipping query SELECT array_to_string(IFNULL(array_agg(distinct rowid),'{}'),'|') FROM seed WHERE st_dwithinexclusive(seed._string::STRING, seed._string::STRING, (-1.4314917669211003):::FLOAT8::FLOAT8)::BOOL because error pq: st_dwithinexclusive(): error parsing EWKT: syntax error: unexpected NUM at line 1, pos 0
        LINE 1: 1
                ^
    changefeed_test.go:1106: SELECT array_to_string(IFNULL(array_agg(distinct rowid),'{}'),'|') FROM seed WHERE (('-infinity':::DATE::DATE IN (('1986-11-07':::DATE::DATE - setval(e'*S#\x0eRH9\'O':::STRING::STRING, COALESCE((-5731532031445566299):::INT8, (-4502446988366063976):::INT8)::INT8, false::BOOL)::INT8::INT8)::DATE, '1990-12-03':::DATE, COALESCE('1997-04-17':::DATE, date(1427735412769696788:::INT8::INT8)::DATE))) AND false)
    changefeed_test.go:1118: Skipping predicate (('-infinity':::DATE::DATE IN (('1986-11-07':::DATE::DATE - setval(e'*S#\x0eRH9\'O':::STRING::STRING, COALESCE((-5731532031445566299):::INT8, (-4502446988366063976):::INT8)::INT8, false::BOOL)::INT8::INT8)::DATE, '1990-12-03':::DATE, COALESCE('1997-04-17':::DATE, date(1427735412769696788:::INT8::INT8)::DATE))) AND false) because it returned no rows
    changefeed_test.go:1106: SELECT array_to_string(IFNULL(array_agg(distinct rowid),'{}'),'|') FROM seed WHERE (seed._date::DATE - seed._date::DATE)::INT8::INT8 IN (seed._int8, (-9206366187569490931):::INT8, seed._int8, seed._int8)
    changefeed_test.go:1122: Expecting statement CREATE CHANGEFEED WITH schema_change_policy='stop' AS SELECT rowid FROM seed WHERE (seed._date::DATE - seed._date::DATE)::INT8::INT8 IN (seed._int8, (-9206366187569490931):::INT8, seed._int8, seed._int8) to emit 2 events
    testfeed_test.go:301: creating external connection
    testfeed_test.go:304: ran create external connection
    changefeed_test.go:1139: cannot subtract infinite dates
    --- FAIL: TestChangefeedRandomExpressions/kafka (7.87s)

Parameters:

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

Same failure on other branches

- #135269 ccl/changefeedccl: TestChangefeedRandomExpressions failed [A-cdc C-test-failure O-robot P-3 T-cdc branch-release-24.2.5-rc release-blocker] - #133049 ccl/changefeedccl: TestChangefeedRandomExpressions failed [A-cdc C-test-failure O-robot P-3 T-cdc branch-release-24.3] - #132516 ccl/changefeedccl: TestChangefeedRandomExpressions failed [A-cdc C-test-failure O-robot P-3 T-cdc branch-release-23.2.13-rc] - #131898 ccl/changefeedccl: TestChangefeedRandomExpressions failed [A-cdc C-test-failure O-robot P-3 T-cdc X-duplicate branch-release-24.1.6-rc release-blocker] - #131179 ccl/changefeedccl: TestChangefeedRandomExpressions failed [A-cdc C-test-failure O-robot P-3 T-cdc branch-release-24.1.5-rc] - #129173 ccl/changefeedccl: TestChangefeedRandomExpressions failed [A-cdc C-test-failure O-robot P-3 T-cdc branch-release-24.2.0-rc] - #128772 ccl/changefeedccl: TestChangefeedRandomExpressions failed [A-cdc C-test-failure O-robot P-3 T-cdc branch-release-24.1.3-rc] - #127642 ccl/changefeedccl: TestChangefeedRandomExpressions failed [A-cdc C-test-failure O-robot P-3 T-cdc branch-release-24.2] - #126889 ccl/changefeedccl: TestChangefeedRandomExpressions failed [A-cdc C-test-failure O-robot P-3 T-cdc branch-release-24.1.2-rc] - #124738 ccl/changefeedccl: TestChangefeedRandomExpressions failed [A-cdc C-test-failure O-robot P-3 T-cdc branch-release-24.1]

This test on roachdash | Improve this report!