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

sql/tests: TestRandomSyntaxFunctions failed #71311

Closed
cockroach-teamcity opened this issue Oct 8, 2021 · 31 comments · Fixed by #73151
Closed

sql/tests: TestRandomSyntaxFunctions failed #71311

cockroach-teamcity opened this issue Oct 8, 2021 · 31 comments · Fixed by #73151
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.

Comments

@cockroach-teamcity
Copy link
Member

sql/tests.TestRandomSyntaxFunctions failed with artifacts on master @ 7e4ba61845bb47cc2d7146d1bbd70fd53eff5457:

Random syntax error:

    rsg_test.go:779: Crash detected: server panic: statement exec timeout

Query:

        SELECT st_buffer('0107000080080000000101000080822B74ADC38FFAC1523E0CAF4EC9E5C184F016E13F79FA410101000080DC100A393DF2FC414AE7135F80ECE5C15C284363B3D0FE410103000080010000000C000000A80D6AD576F6F3C1485C4489234DD3415617D0749E54F8C1D71698D539ECFCC19406688EC3BAE2C101E30AEF2F32F7C158B770732510F0C166DF9A9DB099E3C1B4EE5F281F70FEC12C3396BF76A7DBC19D979C4A0FE6F0C1906F03FB4BE30042602F1FE393BAC9C1967F60FD3EFCEFC1F8318194E3C9FB4128D06EE40F5CE1419299E439CE09E2C1B3F53A5B1A94F6C1CACA83C76EDCF941F68DE3C3549D014250C0B8D65A8FF8C1C086D2CC6703DA417EC05EF102E9F7414C3B7623E65CF941A85CAD69EF45D441A852784CC57D0242EEB8310559D4F641008E026A227DCDC12E66E98E9CF9F941B2506B01A665FEC1FA3BABC78857F6C1D86FB063B495F341F8930BB8E7BCD1C1A80D6AD576F6F3C1485C4489234DD3415617D0749E54F8C1010500008003000000010200008006000000E8087B8FEC42D341AE20A15F2D4AE5C1F8E58062EBB6FE415EB718F81A4701428073380CB68CBF413F64A5D3ACBF01C2CE2CD11D7664F441D83ACA6D5B13E1410608BE205D52F241F456224824C8EC41062399245175F041BAFF5A3C23BE01C2684EE5E61CADE441969CEF4D1AD0F041C8AA60605B91E2C13097867A0451D2C1D467E3DB057FF441B217B289E17DF5C1010200008003000000B669B8E09D79F8C1924C47FBF9EEEFC1E2448D45FCA7F0C1FCA9E538F302FDC15C514C6DB966F6C1E075C88A8DAEF3C19055D9C51975CCC1C8FE9877DC20F0C153181E674A6302C2010200008003000000921CC3CDE2D8F5C1AC4463EA7A17EAC198FEBCF31846DEC1EEF5E325FB4DF9C19484C9A5AF97F5C17A05812AC566F5C158A9A9AB3E4CE4414EBAEA6BA7B600C201EC2ED6301C00C20103000080010000000C0000002C9CD82057C6FDC1149550C19CADD5C1CCD12D5DD6ABE94143B1C5BADDE5F5C11A5A02E9D14DFCC1CCE749E43439FB4168FE8095505BD8410EE59CEC70B6EAC19437B36D08F0F8C13CE8B1143653FE41190AA9504C17F4C1D6988C494B6DF441F8B873F1FBA8F941A29BD00A545DE1C13A0039120454F941309E6AB35E3AF941D4FB89242E07E0C1F2A21A9548F40142E8F912F31F55FB413676474E8FCDF441A824E6A25E34F241C0CDF3400480CCC11EFBFEC1BFDE01422081BECED8EBC34128AD4F051BBCE6C19E2D072A30F700421EB98C81ACEFEBC169BB1279587901C276FD78493F82F94186AB582B9733F34132267276273500C21C2D8ABD23F9F341E22225F4DDD2F7C12C9CD82057C6FDC1149550C19CADD5C1CCD12D5DD6ABE941010200008005000000421B15E00549FBC170F635058329E7410689BA69AB0AFAC176293BF62D30E5C1B085BCCB8BDDCE411C7CD73F6C0FF641421954B6FE56E1C14074692236CAC2C1E808B207C480F6C1448E9459B199FC415ECA218ABF97F641143247E430F1FAC1097D12A5708DF1C190E914B74FD8F7413E0390485F44004201040000800800000001010000805AAEFA23F805FCC16ECDB3D5DB02F8C160ADF444325FEA41010100008098529B818D0801C27AEF187C46A0FAC17C7AA92B93FEF4410101000080B4C050B9008FF8413E461D8E57E4F241883F81018C9AD0C10101000080F0CA19CBE741DC41801F984CF679B4C1D2D75AAB895CEAC10101000080C85FCDB42CB1DC4158E69009CDACDE410526111F8118F4C10101000080E899EAE8D7FAD5412D258F230722F9C1693080555D7C02C20101000080D06167FFB60500C2F35D135BBB28FBC192B17B207E69F5C10101000080575A55988B52F5C11AA2B296F8DDF04130ED167BA5DDF54101050000800100000001020000800200000003B35459982B01C2F083C4F7666CC9413FF74A9D8581F9C1BEB0F90B10DEECC18894BEEC3386F8C1121C265C4695EBC1':::GEOMETRY, 3.4028234663852886e+38:::FLOAT8, 32767:::INT8) ;
Reproduce

To reproduce, try:

make stressrace TESTS=TestRandomSyntaxFunctions PKG=./pkg/sql/tests TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1

Same failure on other branches

Internal log

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

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

@cockroach-teamcity 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 Oct 8, 2021
@cockroach-teamcity
Copy link
Member Author

sql/tests.TestRandomSyntaxFunctions failed with artifacts on master @ 5c33d12e78e3ca96916a93b846d18f07682f546f:

Random syntax error:

    rsg_test.go:781: Crash detected: server panic: statement exec timeout

Query:

        SELECT st_buffer('0106000080080000000103000080010000000A000000EAA275F8EFF1F9C1004ADAADB649B9C1D22ACF816D79F341948282D06CCDF7C130CED925D6BED3C1FE6562BA31D301C22C27AC552723E5C153217647C09CF2C194FF784A7D43ED41302A7782E4D0C9C100E1DD5B5D8EE2C1BC905101C589EBC1E0D6AF2B634FE04112FE64314A2DFCC105808931CFD2F0C16261B89D589FF741006FCE9FF43FAD4158AEE32CFC6C004228C430076402FA41D62BA18EEFC8F441D074333D0D7CE041600A07CD2D25E7417410B93045D4E541E8FB1DB56993EB412A538CD78263F64140FA274EA272FC4150F355ECF93BC6C1EAA275F8EFF1F9C1004ADAADB649B9C1D22ACF816D79F3410103000080010000000A000000C96B370DEF9B01C23CE2D00FB3BBF2C1F43CEF07D6FCF041B81A08FD7748F5C12A47D06C352DFFC17A976308CC5AF8C1940FE4305E93F2C1B67D8F1652D2FFC12E81D205E4C0E4C1DAC8503EDBAB004216855860A96402C23CE572110489FE41DC30561E9F11ED41AF6BC90C8FB3F1C1F6FCBD459C72F1C1E4E786287AF6FE4130EE76407D14DDC19E9BE5E3CBBF00C2F242A908B634F141800640AB9DFCB2C1605096CF584BEFC150348C1061EBDB41E0E1D8D629F2B6C100F795EE855DFBC106648EF62AAD00C24ADAA0818AFBEEC11A226D03B34A0242C96B370DEF9B01C23CE2D00FB3BBF2C1F43CEF07D6FCF04101030000800100000004000000EBB0DE0C998F01C2726D5CC6F62DE9C17A225163BC7AF2C1083EAB2B5112EF41F3C6B0B68FE7FBC138966EDCE51101C2DC16FF5C6137E8419863617F0DA7DA413443BAAE8941DBC1EBB0DE0C998F01C2726D5CC6F62DE9C17A225163BC7AF2C101030000800100000008000000483D93364804E14160CE79BD2BCCEFC1486D3F0FDEC8E0C142DD56345747024220378873B843F4C149896268E1E601C244EC081752DF004200CBE364C524F341305B7A0A6252F84108F25CBED4C2F541204511D787A1E441CCADE773CDA4FB4180061EBDF8D1FB414ED3AD106C22F24190F7CB0C7C3E00C2F0B9C729EE53F041C05554009F1BF2415004591EE685C241FC6F5AEBDC84D7C17CA2ED333842FA418CB15ACCA984F941483D93364804E14160CE79BD2BCCEFC1486D3F0FDEC8E0C101030000800100000006000000C430AFE516A7F041D63EC908A07CFEC1A4DAF2017B5DEE411092A24F1AFAED41DC104EE79DE9F2C160DDD892D155E9C1C84BB36794C3EC41D29ECBD9AC8C01422E99EA43B6BAF441BB008174C724F3C10C248CC5720B02421E36D69DE34FF041B0B11D6E6FD8ECC12CBBFFC8FCF8EC4106E94EF6CCADF641C430AFE516A7F041D63EC908A07CFEC1A4DAF2017B5DEE41010300008001000000080000003EE2BF5BEEA1F1C11EFF6FC2C5D4F9C130B21F0B08F701C250ADEB2A9404C14174870DE89E40F1C178128C115209EE414449B3864FFCF641E937CE132ADB00C2020230C7118D01C28C9D030A8F35F64168913EA4FEFDD341D8D4CE73F02DE34166BF45AF7452F141381A46468D85DA41A05D3AD624A1FF410401402186D5FB41F47A175BD615004270E52E5E4092DA4196B0D666A2CBEBC10CE5BF230858F0411A2F3EE58452F8C13EE2BF5BEEA1F1C11EFF6FC2C5D4F9C130B21F0B08F701C201030000800100000008000000EAD4BECF5100FEC1E4F8E000B3B6F6C198A67E0B963B02C2BDA885EC132FF2C16A957107CB2002C24838E632764DDAC12258BB3896F9E5C11CE441C53947F8C17263C7408CEFF8C14CB3A57172F5ED4142AAF31BC695FEC100801261DBF136C1CA63989ACDCBF64140587114C147A141664BED9C5D34F54194289CBD3E5DFBC18069BBB98427B8C1EA0B88FE676EF3C1F04BF7030F4DFAC11CC9CA467E35D7C1400430A47C43F741EAD4BECF5100FEC1E4F8E000B3B6F6C198A67E0B963B02C2010300008001000000090000009EB6F2500390F9C122B3B123FF20E7C118C21730DAF1FE414480A174B3D3E041F6A8941875A3ECC178D84DA684A8E941403604E4D28AEA411D2A3B973081F8C1F6830FBF3C11F6C1CE839916BF090242D73949957EB7F9C14A17550D3714EBC18C3BC9D3E26FFF41B8CC851169C1F341A0F19A519E6ABA4112742CF5D7F2F74198B71A475B1BFC412C12C97303A3E44139E627677257F4C1503D6645ECA2F641A04275FC6E33B9C1AF434D348B73FFC1BC0F3975D3D2EF4160C2380198D701429EB6F2500390F9C122B3B123FF20E7C118C21730DAF1FE41':::GEOMETRY, 3.4028234663852886e+38:::FLOAT8, 32767:::INT8) ;
Reproduce

To reproduce, try:

make stressrace TESTS=TestRandomSyntaxFunctions PKG=./pkg/sql/tests TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1

Same failure on other branches

Internal log

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

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

sql/tests.TestRandomSyntaxFunctions failed with artifacts on master @ 4236daf8ac1494feab9193058517278c73bbdf27:

Random syntax error:

    rsg_test.go:781: Crash detected: server panic: driver: bad connection

Query:

        SELECT crdb_internal.start_replication_stream(0:::INT8) ;
Help

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

Same failure on other branches

/cc @cockroachdb/sql-experience

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

sql/tests.TestRandomSyntaxFunctions failed with artifacts on master @ d16a755cfa43e10a85e4c9aa9400b5a147b65e69:

Random syntax error:

    rsg_test.go:781: Crash detected: server panic: driver: bad connection

Query:

        SELECT crdb_internal.start_replication_stream(0:::INT8) ;
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

sql/tests.TestRandomSyntaxFunctions failed with artifacts on master @ f82ff534856738d5385073167d048feafb0b4f3e:

Random syntax error:

    rsg_test.go:781: Crash detected: server panic: driver: bad connection

Query:

        SELECT crdb_internal.start_replication_stream(0:::INT8) ;
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

sql/tests.TestRandomSyntaxFunctions failed with artifacts on master @ 13669f9c9bd92a4c3b0378a558d7735f122c4e72:

Random syntax error:

    rsg_test.go:781: Crash detected: server panic: driver: bad connection

Query:

        SELECT crdb_internal.start_replication_stream(0:::INT8) ;
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

sql/tests.TestRandomSyntaxFunctions failed with artifacts on master @ 3aeb3756887fcb35dcd19c0cee6894a143228727:

Random syntax error:

    rsg_test.go:781: Crash detected: server panic: driver: bad connection

Query:

        SELECT crdb_internal.start_replication_stream(0:::INT8) ;
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

sql/tests.TestRandomSyntaxFunctions failed with artifacts on master @ e921036c0640d833548363cd8f3fea78ae534bd1:

Random syntax error:

    rsg_test.go:781: Crash detected: server panic: driver: bad connection

Query:

        SELECT crdb_internal.start_replication_stream(0:::INT8) ;
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

sql/tests.TestRandomSyntaxFunctions failed with artifacts on master @ b96940cb1a53c70b6989b5779b4a480fb012768a:

Random syntax error:

    rsg_test.go:781: Crash detected: server panic: driver: bad connection

Query:

        SELECT crdb_internal.start_replication_stream(0:::INT8) ;
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

sql/tests.TestRandomSyntaxFunctions failed with artifacts on master @ 945da18b9d5fbc28b4616adddfb61fce81caa0cf:

Random syntax error:

    rsg_test.go:781: Crash detected: server panic: driver: bad connection

Query:

        SELECT crdb_internal.start_replication_stream(0:::INT8) ;
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

sql/tests.TestRandomSyntaxFunctions failed with artifacts on master @ 28bb1ea049da5bfb6e15a7003cd7b678cbc4b67f:

Random syntax error:

    rsg_test.go:781: Crash detected: server panic: driver: bad connection

Query:

        SELECT crdb_internal.start_replication_stream(0:::INT8) ;
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

sql/tests.TestRandomSyntaxFunctions failed with artifacts on master @ 6abeda76d5ed629cf52aeac2e943aa55cf7212fc:

Random syntax error:

    rsg_test.go:781: Crash detected: server panic: driver: bad connection

Query:

        SELECT crdb_internal.start_replication_stream(0:::INT8) ;
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

sql/tests.TestRandomSyntaxFunctions failed with artifacts on master @ cfb0bf33148744ec06d5d91a1927ca3115101782:

Random syntax error:

    rsg_test.go:781: Crash detected: server panic: driver: bad connection

Query:

        SELECT crdb_internal.start_replication_stream(0:::INT8) ;
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

sql/tests.TestRandomSyntaxFunctions failed with artifacts on master @ a5e32e1d18aa07a65eb44063177a6c196623f360:

Random syntax error:

    rsg_test.go:781: Crash detected: server panic: driver: bad connection

Query:

        SELECT crdb_internal.start_replication_stream(0:::INT8) ;
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

sql/tests.TestRandomSyntaxFunctions failed with artifacts on master @ a132b15e6c9705a6922c2e476936597c6670e072:

Random syntax error:

    rsg_test.go:781: Crash detected: server panic: driver: bad connection

Query:

        SELECT crdb_internal.start_replication_stream(0:::INT8) ;
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

sql/tests.TestRandomSyntaxFunctions failed with artifacts on master @ 38fd4064f40c574d0b2aee02f414787a2760fcec:

Random syntax error:

    rsg_test.go:781: Crash detected: server panic: driver: bad connection

Query:

        SELECT crdb_internal.start_replication_stream(0:::INT8) ;
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

sql/tests.TestRandomSyntaxFunctions failed with artifacts on master @ a21380710780a0ea6228401cf34b585825244079:

Random syntax error:

    rsg_test.go:781: Crash detected: server panic: driver: bad connection

Query:

        SELECT crdb_internal.start_replication_stream(0:::INT8) ;
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

sql/tests.TestRandomSyntaxFunctions failed with artifacts on master @ 3b30a0e12f9a14b08ee8ad55b50299aca50c67a2:

Random syntax error:

    rsg_test.go:781: Crash detected: server panic: driver: bad connection

Query:

        SELECT crdb_internal.start_replication_stream(0:::INT8) ;
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

sql/tests.TestRandomSyntaxFunctions failed with artifacts on master @ 2c014c47c1a242f504f6d595bfd79c0edc20b90a:

Random syntax error:

    rsg_test.go:781: Crash detected: server panic: driver: bad connection

Query:

        SELECT crdb_internal.start_replication_stream(0:::INT8) ;
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

sql/tests.TestRandomSyntaxFunctions failed with artifacts on master @ 7097a9015f1a09c7dee4fbdbcc6bde82121f657b:

Random syntax error:

    rsg_test.go:781: Crash detected: server panic: driver: bad connection

Query:

        SELECT crdb_internal.start_replication_stream(0:::INT8) ;
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

sql/tests.TestRandomSyntaxFunctions failed with artifacts on master @ a80cfbee826f70988381a0a85c0fe7aba0115484:

Random syntax error:

    rsg_test.go:781: Crash detected: server panic: driver: bad connection

Query:

        SELECT crdb_internal.start_replication_stream(0:::INT8) ;
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

sql/tests.TestRandomSyntaxFunctions failed with artifacts on master @ 2b8b0f64c63a376784926667f5fbffa4c4fcc60b:

Random syntax error:

    rsg_test.go:781: Crash detected: server panic: driver: bad connection

Query:

        SELECT crdb_internal.start_replication_stream(0:::INT8) ;
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

sql/tests.TestRandomSyntaxFunctions failed with artifacts on master @ 260b7930e717c76bc421ae3f34e9a939fc896b50:

Random syntax error:

    rsg_test.go:782: Crash detected: server panic: driver: bad connection

Query:

        SELECT crdb_internal.start_replication_stream(0:::INT8) ;
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

sql/tests.TestRandomSyntaxFunctions failed with artifacts on master @ 506d129f5f187134c35e2f71860490e044fde989:

Random syntax error:

    rsg_test.go:782: Crash detected: server panic: driver: bad connection

Query:

        SELECT crdb_internal.start_replication_stream(0:::INT8) ;
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

sql/tests.TestRandomSyntaxFunctions failed with artifacts on master @ 8b696d17241b2eb2d333e23750cf6fdc433897d8:

Random syntax error:

    rsg_test.go:782: Crash detected: server panic: driver: bad connection

Query:

        SELECT crdb_internal.start_replication_stream(0:::INT8) ;
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

sql/tests.TestRandomSyntaxFunctions failed with artifacts on master @ 835ceca5d25d4a62233ddde4f493dbcf68302f1e:

Random syntax error:

    rsg_test.go:782: Crash detected: server panic: driver: bad connection

Query:

        SELECT crdb_internal.start_replication_stream(0:::INT8) ;
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

sql/tests.TestRandomSyntaxFunctions failed with artifacts on master @ 39923c0b11d229b394fa5498ee58e455cae8ec99:

Random syntax error:

    rsg_test.go:782: Crash detected: server panic: driver: bad connection

Query:

        SELECT crdb_internal.start_replication_stream(0:::INT8) ;
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

sql/tests.TestRandomSyntaxFunctions failed with artifacts on master @ dadff0d6e20211f260facf0755518e85f50b124d:

Random syntax error:

    rsg_test.go:782: Crash detected: server panic: driver: bad connection

Query:

        SELECT crdb_internal.start_replication_stream(0:::INT8) ;
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

sql/tests.TestRandomSyntaxFunctions failed with artifacts on master @ e89328d92398a3e2d6487179845a51e7f1caa435:

Random syntax error:

    rsg_test.go:782: Crash detected: server panic: driver: bad connection

Query:

        SELECT crdb_internal.start_replication_stream(0:::INT8) ;
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

sql/tests.TestRandomSyntaxFunctions failed with artifacts on master @ 884088d64d0859d72e42ee4fde1cf65192f1cb99:

Random syntax error:

    rsg_test.go:782: Crash detected: server panic: driver: bad connection

Query:

        SELECT crdb_internal.start_replication_stream(0:::INT8) ;
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

sql/tests.TestRandomSyntaxFunctions failed with artifacts on master @ 406e0fe1e44cabc8a3384703c642469567c6915e:

Random syntax error:

    rsg_test.go:782: Crash detected: server panic: driver: bad connection

Query:

        SELECT crdb_internal.start_replication_stream(0:::INT8) ;
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

sql/tests.TestRandomSyntaxFunctions failed with artifacts on master @ 22df0a6658a927e7b65dafbdfc9d790500791993:

Random syntax error:

    rsg_test.go:782: Crash detected: server panic: driver: bad connection

Query:

        SELECT crdb_internal.start_replication_stream(0:::INT8) ;
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

craig bot pushed a commit that referenced this issue Dec 13, 2021
72818: sql: use Latest[Non]PrimaryIndexDescriptorVersion constants in more places r=mgartner a=mgartner

These constants have been moved from tabledesc to descpb to avoid import
cycles.

Release note: None


73151: sql: require valid TenantID in start_replication_stream r=rafiss a=stevendanna

MakeTenantID panics if someone tries to use 0 as a tenant ID. Here, we
return an error immediately in this case rather than crashing.

Fixes #71311

Release note: None

73302: sql: add index recommendation to EXPLAIN output r=nehageorge a=nehageorge

**indexrec: disable inverted index recommendations** 

Previously, we would erroneously give index recommendations of non-
inverted indexes for indexes that should be inverted. In this PR,
we omit index candidates that required inverted indexes. Specifically,
this includes JSON columns, array columns, and spatial data columns.

Release note: None

**sql: add index recommendation to EXPLAIN** 

Previously, the EXPLAIN output only showed the query plan. Since users
often use EXPLAIN to see why a query is poorly performing, it would
be useful for them to also see index recommendations to make the query
faster. In this commit, index recommendations are added to the bottom of
the EXPLAIN output. See the indexrec package under `pkg/sql/opt/indexrec`
to understand how index recommendations are generated.

Release note (sql change): The output of the EXPLAIN SQL statement has changed.
Below the plan, we now output index recommendations for the SQL statement being
"EXPLAIN-ed", if there are any. These index recommendations are indexes the
user could add or indexes they could replace to make the given query faster.

Closes #72761.

**indexrec: refactor index recommendation output**

Previously, we manually formatted the string for the index recommendation's
SQL output. This commit takes advantage of the existing functionality for
formatting SQL statements, specifically `CREATE INDEX` and `DROP INDEX`. This
will make it easier to add more types of index recommendations in the future.

Release note: None

73572: bazel: perform staticcheck checks in `nogo` r=rail a=rickystewart

Add a new binary `generate-staticcheck`, part of `dev generate bazel`,
that creates a package in `build/bazelutil/staticcheckanalyzers`
capturing a single `staticcheck` check. Then we capture the list of
analyzers in `build/bazelutil/staticcheckanalyzers/def.bzl` and add all
those checks to `nogo`.

However, we can't directly use the `Analyzer`s provided by the upstream
library, because they report *all* violations regardless of
`lint:ignore` directives. In order to address this we add a helper
library at `pkg/testutils/lint/passes/staticcheck` that munges the
`Analyzer`s to additionally pull the `lint:ignore` directives and ignore
any reported diagnostics that correspond to a `lint:ignore`.

This follows the example set by https://github.com/sluongng/staticcheck-codegen,
but we don't directly use that code, since we need to inject our own
stuff and we want to make sure the content here is pinned to the right
version of `staticcheck`.

We run the `staticcheck` and `simple` [checks](https://staticcheck.io/docs/checks).
`stylecheck` is still broken: #73568

Closes #68496.

Release note: None

73613: bazel: add stylecheck analyzers to nogo r=rail a=rickystewart

We skip the checks `ST1000`, `ST1003`, `ST1016`, `ST1020`, `ST1021`,
and `ST1022` since they're skipped by the default `staticcheck` config,
and our codebase has many violations of them.

Closes #73568.

Release note: None

Co-authored-by: Marcus Gartner <[email protected]>
Co-authored-by: Steven Danna <[email protected]>
Co-authored-by: Neha George <[email protected]>
Co-authored-by: Ricky Stewart <[email protected]>
@craig craig bot closed this as completed in d9cdce8 Dec 13, 2021
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.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant