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: TestRandomSyntaxGeneration failed #99185

Closed
cockroach-teamcity opened this issue Mar 22, 2023 · 83 comments
Closed

sql/tests: TestRandomSyntaxGeneration failed #99185

cockroach-teamcity opened this issue Mar 22, 2023 · 83 comments
Assignees
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)
Milestone

Comments

@cockroach-teamcity
Copy link
Member

cockroach-teamcity commented Mar 22, 2023

sql/tests.TestRandomSyntaxGeneration failed with artifacts on master @ 78bb7696847e1d8abf5d6a199c6dd3414a568691:

    rsg_test.go:828: 1m15s of 5m0s: 278837 executions, 14867 successful
    rsg_test.go:828: 1m20s of 5m0s: 298989 executions, 15814 successful
    rsg_test.go:828: 1m25s of 5m0s: 319324 executions, 16778 successful
    rsg_test.go:828: 1m30s of 5m0s: 339783 executions, 17800 successful
    rsg_test.go:828: 1m35s of 5m0s: 358991 executions, 18767 successful
    rsg_test.go:828: 1m40s of 5m0s: 374333 executions, 19526 successful
    rsg_test.go:828: 1m45s of 5m0s: 392097 executions, 20352 successful
    rsg_test.go:828: 1m50s of 5m0s: 407916 executions, 21070 successful
    rsg_test.go:828: 1m55s of 5m0s: 425705 executions, 21910 successful
    rsg_test.go:828: 2m0s of 5m0s: 444694 executions, 22778 successful
    rsg_test.go:828: 2m5s of 5m0s: 465047 executions, 23767 successful
    rsg_test.go:828: 2m10s of 5m0s: 484950 executions, 24646 successful
    rsg_test.go:828: 2m15s of 5m0s: 504679 executions, 25593 successful
    rsg_test.go:828: 2m20s of 5m0s: 521955 executions, 26384 successful
    rsg_test.go:828: 2m25s of 5m0s: 539320 executions, 27198 successful
    rsg_test.go:828: 2m30s of 5m0s: 557480 executions, 28003 successful
    rsg_test.go:828: 2m35s of 5m0s: 574861 executions, 28862 successful
    rsg_test.go:828: 2m40s of 5m0s: 592626 executions, 29741 successful
    rsg_test.go:828: 2m45s of 5m0s: 611618 executions, 30563 successful
    rsg_test.go:828: 2m50s of 5m0s: 630598 executions, 31442 successful
    rsg_test.go:828: 2m55s of 5m0s: 649392 executions, 32299 successful
    rsg_test.go:828: 3m0s of 5m0s: 668057 executions, 33204 successful
    rsg_test.go:828: 3m5s of 5m0s: 685431 executions, 33993 successful
    rsg_test.go:828: 3m10s of 5m0s: 702264 executions, 34744 successful
    rsg_test.go:828: 3m15s of 5m0s: 720211 executions, 35638 successful
    rsg_test.go:828: 3m20s of 5m0s: 739063 executions, 36489 successful
    rsg_test.go:828: 3m25s of 5m0s: 757671 executions, 37325 successful
    rsg_test.go:828: 3m30s of 5m0s: 775969 executions, 38143 successful
    rsg_test.go:828: 3m35s of 5m0s: 794175 executions, 38918 successful
    rsg_test.go:828: 3m40s of 5m0s: 813613 executions, 39749 successful
    rsg_test.go:828: 3m45s of 5m0s: 831210 executions, 40548 successful
    rsg_test.go:828: 3m50s of 5m0s: 847689 executions, 41334 successful
    rsg_test.go:828: 3m55s of 5m0s: 863764 executions, 42107 successful
    rsg_test.go:828: 4m0s of 5m0s: 881855 executions, 42977 successful
    rsg_test.go:828: 4m5s of 5m0s: 900542 executions, 43847 successful
    rsg_test.go:828: 4m10s of 5m0s: 918978 executions, 44678 successful
    rsg_test.go:828: 4m15s of 5m0s: 937519 executions, 45533 successful
    rsg_test.go:828: 4m20s of 5m0s: 957305 executions, 46486 successful
    rsg_test.go:828: 4m25s of 5m0s: 977617 executions, 47359 successful
    rsg_test.go:828: 4m30s of 5m0s: 995236 executions, 48168 successful
    rsg_test.go:828: 4m35s of 5m0s: 1013803 executions, 49020 successful
    rsg_test.go:828: 4m40s of 5m0s: 1030597 executions, 49836 successful
    rsg_test.go:828: 4m45s of 5m0s: 1049010 executions, 50731 successful
    rsg_test.go:828: 4m50s of 5m0s: 1066623 executions, 51516 successful
    rsg_test.go:828: 4m55s of 5m0s: 1084975 executions, 52361 successful
    rsg_test.go:864: 1102831 executions, 53187 successful
    rsg_test.go:872: cannot parse output of Format: sql="SHOW BACKUP CONNECTION 'string' WITH TRANSFER = BETWEEN , TIME = ROLES", formattedSQL="SHOW BACKUP CONNECTION 'string' WITH TIME = 'roles', TRANSFER = 'between'": at or near "with": syntax error
    rsg_test.go:305: -- test log scope end --
test logs left over in: /artifacts/tmp/_tmp/d437d2c847dfedbc4972f231c3331c8e/logTestRandomSyntaxGeneration3649553034
--- FAIL: TestRandomSyntaxGeneration (301.64s)
Help

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

Same failure on other branches

/cc @cockroachdb/sql-sessions

This test on roachdash | Improve this report!

Jira issue: CRDB-25741

@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 Mar 22, 2023
@cockroach-teamcity cockroach-teamcity added this to the 23.1 milestone Mar 22, 2023
@blathers-crl blathers-crl bot added the T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions) label Mar 22, 2023
@cockroach-teamcity
Copy link
Member Author

sql/tests.TestRandomSyntaxGeneration failed with artifacts on master @ 5493fdfec4e1762c4502fb2f5d42fd28292c9c9d:

* 	github.com/cockroachdb/cockroach/pkg/sql/sqlstats/persistedsqlstats/pkg/sql/sqlstats/persistedsqlstats/flush.go:204 +0x74
* github.com/cockroachdb/cockroach/pkg/sql/sqlstats/persistedsqlstats.(*PersistedSQLStats).doInsertElseDoUpdate(0xc0005a2520?, {0x70aca50, 0xc0025ca660}, {0x71041c0, 0xc037b64d20}, 0x20?, 0xc057c2f400, 0xc057c2f3b8)
* 	github.com/cockroachdb/cockroach/pkg/sql/sqlstats/persistedsqlstats/pkg/sql/sqlstats/persistedsqlstats/flush.go:320 +0x4b
* github.com/cockroachdb/cockroach/pkg/sql/sqlstats/persistedsqlstats.(*PersistedSQLStats).doFlushSingleTxnStats.func1({0x70aca50, 0xc0025ca660}, {0x71041c0, 0xc037b64d20})
* 	github.com/cockroachdb/cockroach/pkg/sql/sqlstats/persistedsqlstats/pkg/sql/sqlstats/persistedsqlstats/flush.go:232 +0x2ff
* github.com/cockroachdb/cockroach/pkg/sql.(*InternalDB).Txn.func1({0x70aca50?, 0xc0025ca660?}, 0x0?)
* 	github.com/cockroachdb/cockroach/pkg/sql/internal.go:1418 +0x31
* github.com/cockroachdb/cockroach/pkg/sql.(*InternalDB).txn.func4({0x70aca50, 0xc0025ca660}, 0xc0517c7600)
* 	github.com/cockroachdb/cockroach/pkg/sql/internal.go:1496 +0x3b4
* github.com/cockroachdb/cockroach/pkg/kv.runTxn.func1({0x70aca50?, 0xc0025ca660?}, 0xc0021b3380?)
* 	github.com/cockroachdb/cockroach/pkg/kv/db.go:965 +0x27
* github.com/cockroachdb/cockroach/pkg/kv.(*Txn).exec(0xc0517c7600, {0x70aca50, 0xc0025ca660}, 0xc057c2fb00)
* 	github.com/cockroachdb/cockroach/pkg/kv/txn.go:928 +0xae
* github.com/cockroachdb/cockroach/pkg/kv.runTxn({0x70aca50, 0xc0025ca660}, 0xc0025ca660?, 0x5959de0?)
* 	github.com/cockroachdb/cockroach/pkg/kv/db.go:964 +0x6b
* github.com/cockroachdb/cockroach/pkg/kv.(*DB).TxnWithAdmissionControl(0x7f6ef2531f18?, {0x70aca50, 0xc0025ca660}, 0x519b86c0?, 0xc0?, 0x0?, 0x0?)
* 	github.com/cockroachdb/cockroach/pkg/kv/db.go:927 +0xa7
* github.com/cockroachdb/cockroach/pkg/kv.(*DB).Txn(0x463547?, {0x70aca50?, 0xc0025ca660?}, 0x1?)
* 	github.com/cockroachdb/cockroach/pkg/kv/db.go:902 +0x2d
* github.com/cockroachdb/cockroach/pkg/sql.(*InternalDB).txn(0xc002e23290, {0x70aca50, 0xc0025ca660}, 0xc0568f9740, {0x0, 0x0, 0x569ab80?})
* 	github.com/cockroachdb/cockroach/pkg/sql/internal.go:1484 +0x2a7
* github.com/cockroachdb/cockroach/pkg/sql.(*InternalDB).Txn(0x61fdf4988c?, {0x70aca50, 0xc0025ca660}, 0xc058e51800, {0x0, 0x0, 0x0})
* 	github.com/cockroachdb/cockroach/pkg/sql/internal.go:1419 +0x9f
* github.com/cockroachdb/cockroach/pkg/sql/sqlstats/persistedsqlstats.(*PersistedSQLStats).doFlushSingleTxnStats(0xc0005f9650, {0x70aca50, 0xc0025ca660}, 0xc02bb50d80, {0xc0ff15b9fa594280?, 0x61fe631171?, 0x0?})
* 	github.com/cockroachdb/cockroach/pkg/sql/sqlstats/persistedsqlstats/pkg/sql/sqlstats/persistedsqlstats/flush.go:197 +0xf8
* github.com/cockroachdb/cockroach/pkg/sql/sqlstats/persistedsqlstats.(*PersistedSQLStats).flushTxnStats.func1.1()
* 	github.com/cockroachdb/cockroach/pkg/sql/sqlstats/persistedsqlstats/pkg/sql/sqlstats/persistedsqlstats/flush.go:166 +0x35
* github.com/cockroachdb/cockroach/pkg/sql/sqlstats/persistedsqlstats.(*PersistedSQLStats).doFlush(0xc0005f9650, {0x70aca50, 0xc0025ca660}, 0xc057c2fe88, {0x5be6c7f, 0x26})
* 	github.com/cockroachdb/cockroach/pkg/sql/sqlstats/persistedsqlstats/pkg/sql/sqlstats/persistedsqlstats/flush.go:191 +0x115
* github.com/cockroachdb/cockroach/pkg/sql/sqlstats/persistedsqlstats.(*PersistedSQLStats).flushTxnStats.func1({0x70aca50?, 0xc0025ca660?}, 0x54b30c0?)
* 	github.com/cockroachdb/cockroach/pkg/sql/sqlstats/persistedsqlstats/pkg/sql/sqlstats/persistedsqlstats/flush.go:165 +0x9f
* github.com/cockroachdb/cockroach/pkg/sql/sqlstats/sslocal.(*SQLStats).IterateTransactionStats(0xc076b8b020?, {0x70aca50, 0xc0025ca660}, 0x0?, 0xc057c2ff48)
* 	github.com/cockroachdb/cockroach/pkg/sql/sqlstats/sslocal/sslocal_provider.go:160 +0x67
* github.com/cockroachdb/cockroach/pkg/sql/sqlstats/persistedsqlstats.(*PersistedSQLStats).flushTxnStats(0xc0005f9650, {0x70aca50, 0xc0025ca660}, {0x22?, 0x0?, 0x0?})
* 	github.com/cockroachdb/cockroach/pkg/sql/sqlstats/persistedsqlstats/pkg/sql/sqlstats/persistedsqlstats/flush.go:163 +0xb9
* github.com/cockroachdb/cockroach/pkg/sql/sqlstats/persistedsqlstats.(*PersistedSQLStats).Flush.func3()
* 	github.com/cockroachdb/cockroach/pkg/sql/sqlstats/persistedsqlstats/pkg/sql/sqlstats/persistedsqlstats/flush.go:88 +0x70
* created by github.com/cockroachdb/cockroach/pkg/sql/sqlstats/persistedsqlstats.(*PersistedSQLStats).Flush
* 	github.com/cockroachdb/cockroach/pkg/sql/sqlstats/persistedsqlstats/pkg/sql/sqlstats/persistedsqlstats/flush.go:86 +0x5d8
* 
* goroutine 11528243 [select]:
* github.com/cockroachdb/pebble/vfs.(*diskHealthCheckingFile).startTicker.func1()
* 	github.com/cockroachdb/pebble/vfs/external/com_github_cockroachdb_pebble/vfs/disk_health.go:171 +0xdc
* created by github.com/cockroachdb/pebble/vfs.(*diskHealthCheckingFile).startTicker
* 	github.com/cockroachdb/pebble/vfs/external/com_github_cockroachdb_pebble/vfs/disk_health.go:166 +0x5d
* 
*
    rsg_test.go:305: -- test log scope end --
test logs left over in: /artifacts/tmp/_tmp/d437d2c847dfedbc4972f231c3331c8e/logTestRandomSyntaxGeneration1582979341
--- FAIL: TestRandomSyntaxGeneration (614.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

sql/tests.TestRandomSyntaxGeneration failed with artifacts on master @ 19a6b804d3aff74d74619a75cac3b52338c7aa02:

    rsg_test.go:828: 1m15s of 5m0s: 284566 executions, 15155 successful
    rsg_test.go:828: 1m20s of 5m0s: 305042 executions, 16102 successful
    rsg_test.go:828: 1m25s of 5m0s: 326002 executions, 17130 successful
    rsg_test.go:828: 1m30s of 5m0s: 346010 executions, 18066 successful
    rsg_test.go:828: 1m35s of 5m0s: 365267 executions, 19009 successful
    rsg_test.go:828: 1m40s of 5m0s: 385144 executions, 19934 successful
    rsg_test.go:828: 1m45s of 5m0s: 405028 executions, 20919 successful
    rsg_test.go:828: 1m50s of 5m0s: 424730 executions, 21853 successful
    rsg_test.go:828: 1m55s of 5m0s: 443480 executions, 22792 successful
    rsg_test.go:828: 2m0s of 5m0s: 462921 executions, 23747 successful
    rsg_test.go:828: 2m5s of 5m0s: 481098 executions, 24598 successful
    rsg_test.go:828: 2m10s of 5m0s: 501172 executions, 25462 successful
    rsg_test.go:828: 2m15s of 5m0s: 520370 executions, 26359 successful
    rsg_test.go:828: 2m20s of 5m0s: 540145 executions, 27182 successful
    rsg_test.go:828: 2m25s of 5m0s: 558360 executions, 28062 successful
    rsg_test.go:828: 2m30s of 5m0s: 576655 executions, 28948 successful
    rsg_test.go:828: 2m35s of 5m0s: 596156 executions, 29852 successful
    rsg_test.go:828: 2m40s of 5m0s: 614621 executions, 30731 successful
    rsg_test.go:828: 2m45s of 5m0s: 632698 executions, 31584 successful
    rsg_test.go:828: 2m50s of 5m0s: 651379 executions, 32399 successful
    rsg_test.go:828: 2m55s of 5m0s: 671082 executions, 33271 successful
    rsg_test.go:828: 3m0s of 5m0s: 689470 executions, 34148 successful
    rsg_test.go:828: 3m5s of 5m0s: 707742 executions, 34983 successful
    rsg_test.go:828: 3m10s of 5m0s: 726377 executions, 35799 successful
    rsg_test.go:828: 3m15s of 5m0s: 745661 executions, 36650 successful
panic: cannot disable buffering here

goroutine 7137971 [running]:
github.com/cockroachdb/cockroach/pkg/sql.(*streamingCommandResult).DisableBuffering(0xc02fef1800?)
	github.com/cockroachdb/cockroach/pkg/sql/conn_io.go:1016 +0x27
github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).dispatchToExecutionEngine(0xc02fef1800, {0x70ac350, 0xc0300ecf30}, 0xc02fef1e08, {0x7103bc0, 0xc0300ece70})
	github.com/cockroachdb/cockroach/pkg/sql/conn_executor_exec.go:1258 +0x483
github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).execStmtInOpenState(0xc02fef1800, {0x70ac350?, 0xc0300ece10?}, {{0x70d66c0, 0xc056851900}, {0x0, 0x0, 0x0}, {0xc005502280, 0x9b}, ...}, ...)
	github.com/cockroachdb/cockroach/pkg/sql/conn_executor_exec.go:770 +0x2c0f
github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).execStmt.func1({0x70ac350?, 0xc0300ece10?})
	github.com/cockroachdb/cockroach/pkg/sql/conn_executor_exec.go:137 +0xbc
github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).execWithProfiling(0x70ac350?, {0x70ac350?, 0xc0300ece10?}, {0x70d66c0?, 0xc056851900?}, 0xc0035ee590?, 0x59896a?)
	github.com/cockroachdb/cockroach/pkg/sql/conn_executor_exec.go:2659 +0x330
github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).execStmt(0xc02fef1800, {0x70ac350, 0xc0300ece10}, {{0x70d66c0, 0xc056851900}, {0x0, 0x0, 0x0}, {0xc005502280, 0x9b}, ...}, ...)
	github.com/cockroachdb/cockroach/pkg/sql/conn_executor_exec.go:136 +0x4da
github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).execCmd.func1(0xc0035eebd0, 0xc02fef1800, 0xc0035ee890, 0xc0035ee950, 0xc0035ee990, 0xc033587970, 0xc033587960, 0xc033587980)
	github.com/cockroachdb/cockroach/pkg/sql/conn_executor.go:2118 +0x319
github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).execCmd(0xc02fef1800)
	github.com/cockroachdb/cockroach/pkg/sql/conn_executor.go:2123 +0x1127
github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).run(0xc02fef1800, {0x70ac350, 0xc0300ec990}, 0xc0049764e0?, 0xc0035eefd0?, 0x4a67868?)
	github.com/cockroachdb/cockroach/pkg/sql/conn_executor.go:2039 +0x20b
github.com/cockroachdb/cockroach/pkg/sql.(*InternalExecutor).runWithEx.func1()
	github.com/cockroachdb/cockroach/pkg/sql/internal.go:172 +0xac
created by github.com/cockroachdb/cockroach/pkg/sql.(*InternalExecutor).runWithEx
	github.com/cockroachdb/cockroach/pkg/sql/internal.go:171 +0x195
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

sql/tests.TestRandomSyntaxGeneration failed with artifacts on master @ 0fcc33bc2870961b9387999d8a9fed97fccbb2ae:

Random syntax error:

    rsg_test.go:855: Crash detected: server panic: pq: internal error: building declarative schema change targets for ALTER TABLE: unresolved name inside annotated AST ("index_before_name_then_paren")

Query:

        ALTER TABLE IF EXISTS FAMILY . ident . LEAST * ADD CONSTRAINT IF NOT EXISTS SMALLINT FOREIGN KEY ( TIMESTAMPTZ , ident ) REFERENCES INDEX_BEFORE_NAME_THEN_PAREN ( ident ) NOT VALID;
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

sql/tests.TestRandomSyntaxGeneration failed with artifacts on master @ d107217dac5d817cc115bc0e97b7e53c0f2878bf:

Random syntax error:

    rsg_test.go:855: Crash detected: server panic: pq: internal error: building declarative schema change targets for ALTER TABLE: unresolved name inside annotated AST ("index_after_order_by_before_at")

Query:

        ALTER TABLE IF EXISTS FAMILY . OPTIONS . NONVOTERS * ADD CONSTRAINT MULTIPOINTZ FOREIGN KEY ( WORK , AFTER , ident ) REFERENCES INDEX_AFTER_ORDER_BY_BEFORE_AT ON DELETE SET DEFAULT NOT VALID;
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

sql/tests.TestRandomSyntaxGeneration failed with artifacts on master @ 2bd2c806ab3044569b09e0a205b5bc0452ad4e2b:

Random syntax error:

    rsg_test.go:855: Crash detected: server panic: pq: internal error: building declarative schema change targets for ALTER TABLE: unresolved name inside annotated AST ("family")

Query:

        ALTER TABLE IF EXISTS ONLY ( UNLOGGED . IFNULL ) ADD CONSTRAINT IF NOT EXISTS ident FOREIGN KEY ( POLYGON , COALESCE , ident , ident ) REFERENCES FAMILY ( TIMESTAMP ) MATCH FULL NOT VALID;
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

sql/tests.TestRandomSyntaxGeneration failed with artifacts on master @ 143b63a6a27aeb286637dd2e5abddafdf0c51874:

* 	github.com/cockroachdb/cockroach/pkg/sql/colexec/materializer.go:228 +0x7a
* github.com/cockroachdb/cockroach/pkg/sql/colflow.(*FlowCoordinator).Start.func1()
* 	github.com/cockroachdb/cockroach/pkg/sql/colflow/flow_coordinator.go:121 +0x34
* github.com/cockroachdb/cockroach/pkg/sql/colexecerror.CatchVectorizedRuntimeError(0xc04aca9680?)
* 	github.com/cockroachdb/cockroach/pkg/sql/colexecerror/error.go:92 +0x62
* github.com/cockroachdb/cockroach/pkg/sql/colflow.(*FlowCoordinator).Start(0xc04aca9680, {0x70bcd88?, 0xc048727f00?})
* 	github.com/cockroachdb/cockroach/pkg/sql/colflow/flow_coordinator.go:120 +0x70
* github.com/cockroachdb/cockroach/pkg/sql/execinfra.(*ProcessorBaseNoHelper).Run(0xc04aca9680, {0x70bcd88?, 0xc048727f00?}, {0x7090f90?, 0xc05864c700})
* 	github.com/cockroachdb/cockroach/pkg/sql/execinfra/processorsbase.go:736 +0x50
* github.com/cockroachdb/cockroach/pkg/sql/flowinfra.(*FlowBase).Run(0xc048870500, {0x70bcd88?, 0xc048727f00}, 0x80?)
* 	github.com/cockroachdb/cockroach/pkg/sql/flowinfra/flow.go:552 +0x21a
* github.com/cockroachdb/cockroach/pkg/sql/colflow.(*vectorizedFlow).Run(0x7125d20?, {0x70bcd88?, 0xc048727f00?}, 0xf0?)
* 	github.com/cockroachdb/cockroach/pkg/sql/colflow/vectorized_flow.go:312 +0x245
* github.com/cockroachdb/cockroach/pkg/sql.(*DistSQLPlanner).Run(0xc0019a3040, {0x70bce30, 0xc06d2e87b0}, 0xc048725810, 0xc0483dfef0, 0xc048858900, 0xc05864c700, 0xc04891aa48, 0xc04475ded0)
* 	github.com/cockroachdb/cockroach/pkg/sql/distsql_running.go:904 +0xb73
* github.com/cockroachdb/cockroach/pkg/sql.(*DistSQLPlanner).PlanAndRun(0x0?, {0x70bce30, 0xc06d2e87b0}, 0x0?, 0xc048725810, 0x203012?, {{0x70bfa98?, 0xc00f0b7e78?}, 0x0?}, 0xc05864c700, ...)
* 	github.com/cockroachdb/cockroach/pkg/sql/distsql_running.go:1900 +0x205
* github.com/cockroachdb/cockroach/pkg/sql.(*DistSQLPlanner).PlanAndRunAll.func2(0xc04891a608, 0x0?, {0x70bce30, 0xc06d2e87b0}, 0x10?, 0x7f6eb3dc0f18?, 0xc048b4ff38?)
* 	github.com/cockroachdb/cockroach/pkg/sql/distsql_running.go:1636 +0xcb
* github.com/cockroachdb/cockroach/pkg/sql.(*DistSQLPlanner).PlanAndRunAll(0xc048725810?, {0x70bce30, 0xc06d2e87b0}, 0xc04891aa48, 0x1?, 0xc04891a608, 0xc05864c700, 0x0)
* 	github.com/cockroachdb/cockroach/pkg/sql/distsql_running.go:1639 +0x1e5
* github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).execWithDistSQLEngine(0xc04891a000, {0x70bce30?, 0xc06d2e87b0}, 0xc04891a608, 0xc06d2e87b0?, {0x71145a0?, 0xc033330180}, 0xc033330180?, 0xc04867c8d8)
* 	github.com/cockroachdb/cockroach/pkg/sql/conn_executor_exec.go:1771 +0x5eb
* github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).dispatchToExecutionEngine(0xc04891a000, {0x70bce30, 0xc033330210}, 0xc04891a608, {0x71145a0, 0xc033330180})
* 	github.com/cockroachdb/cockroach/pkg/sql/conn_executor_exec.go:1351 +0xc19
* github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).execStmtInOpenState(0xc04891a000, {0x70bce30?, 0xc02c2f1f20?}, {{0x70e71a0, 0xc00ba397c0}, {0x0, 0x0, 0x0}, {0x5d77282, 0xdd}, ...}, ...)
* 	github.com/cockroachdb/cockroach/pkg/sql/conn_executor_exec.go:770 +0x2c0f
* github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).execStmt.func1({0x70bce30?, 0xc02c2f1f20?})
* 	github.com/cockroachdb/cockroach/pkg/sql/conn_executor_exec.go:137 +0xbc
* github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).execWithProfiling(0x70bce30?, {0x70bce30?, 0xc02c2f1f20?}, {0x70e71a0?, 0xc00ba397c0?}, 0x5c4cbbc93a2ee7e5?, 0x0?)
* 	github.com/cockroachdb/cockroach/pkg/sql/conn_executor_exec.go:2660 +0x330
* github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).execStmt(0xc04891a000, {0x70bce30, 0xc02c2f1f20}, {{0x70e71a0, 0xc00ba397c0}, {0x0, 0x0, 0x0}, {0x5d77282, 0xdd}, ...}, ...)
* 	github.com/cockroachdb/cockroach/pkg/sql/conn_executor_exec.go:136 +0x4da
* github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).execPortal(0xc04891a000, {0x70bce30, 0xc02c2f1f20}, {{0x0, 0x0}, 0xc074077440, {0xc068209500, 0x7, 0x7}, {0x0, ...}, ...}, ...)
* 	github.com/cockroachdb/cockroach/pkg/sql/conn_executor_exec.go:226 +0x18b
* github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).execCmd.func2({{0x0, 0x0}, 0x0, {0xc100bbb3cdec398e, 0x61f9de3b74, 0x0}, 0x1}, 0xc04891a000, 0xc049701970, 0xc049701960, ...)
* 	github.com/cockroachdb/cockroach/pkg/sql/conn_executor.go:2198 +0x54b
* github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).execCmd(0xc04891a000)
* 	github.com/cockroachdb/cockroach/pkg/sql/conn_executor.go:2200 +0x6df
* github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).run(0xc04891a000, {0x70bce30, 0xc02c2f1aa0}, 0x1251ac0?, 0xc0559c1c00?, 0x0?)
* 	github.com/cockroachdb/cockroach/pkg/sql/conn_executor.go:2039 +0x20b
* github.com/cockroachdb/cockroach/pkg/sql.(*InternalExecutor).runWithEx.func1()
* 	github.com/cockroachdb/cockroach/pkg/sql/internal.go:172 +0xac
* created by github.com/cockroachdb/cockroach/pkg/sql.(*InternalExecutor).runWithEx
* 	github.com/cockroachdb/cockroach/pkg/sql/internal.go:171 +0x195
* 
*
    rsg_test.go:305: -- test log scope end --
test logs left over in: /artifacts/tmp/_tmp/d437d2c847dfedbc4972f231c3331c8e/logTestRandomSyntaxGeneration2649039671
--- FAIL: TestRandomSyntaxGeneration (600.13s)
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

sql/tests.TestRandomSyntaxGeneration failed with artifacts on master @ bb5c97b5d2073a27e7ec88654b05ac913112f610:

Random syntax error:

    rsg_test.go:855: Crash detected: server panic: pq: internal error: referenced descriptor ID 139: descriptor not found

Query:

        PREPARE ident ( ident [ 478 ] ) AS IMPORT SETS ( PLACEHOLDER ) WITH 'string' = TEMPORARY , 'string' = 'string';
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

craig bot pushed a commit that referenced this issue Mar 30, 2023
99174: sql: fix circular dependencies in views r=rharding6373 a=rharding6373

This change fixes node crashes that could happen due to stack overflow if views were created with circular dependencies.

Fixes: #98999
Epic: none
Co-authored-by: [email protected]

Release note (bug fix): If views are created with circular dependencies, CRDB returns the error "cyclic view dependency for relation" instead of crashing the node. This bug is present since at least 21.1.

99624: testutils: add infrastructure for reusable test fixtures r=RaduBerinde a=RaduBerinde

Certain storage-related tests/benchmarks generate fixtures and attempt to reuse them across invocations. This is important because fixtures can be large and slow to generate; but more importantly the generation is non-deterministic and we want to use the exact same fixture when comparing benchmark data.

Currently the tests achieve this by using a `.gitignore`d subdirectory inside the source tree. This does not work with bazel (which executes the test in a sandbox).

This commit addresses the issue by adding new test infrastructure for reusable fixtures. We use the user's `.cache` directory instead of the source tree (specifically $HOME/.cache/crdb-test-fixtures/...). For bazel, we make sure the path is available (and writable) in the sandbox and we pass the path to the test through an env var.

Fixes #83599.

Release note: None
Epic: none

99699: spanconfig: integrate SpanConfigBounds with the Store and KVSubscriber r=ajwerner a=arulajmani

This patch integrates `SpanConfigBounds` with the `KVSubscriber` and
`spanconfig.Store`. The `spanconfig.Store` used by the `KVSubscriber`
now has a handle to the global tenant capability state. It uses this to
clamp any secondary tenant span configs that are not in conformance
before returning them.

By default, clamping of secondary tenant span configurations is turned
off. It can be enabled using the `spanconfig.bounds.enabled` cluster
setting. The setting is hidden.

Fixes: #99689
Informs #99911

Release note: None

99759: roachtest: set lower min range_max_bytes in multitenant_distsql test r=rharding6373 a=rharding6373

The multitenant_distsql roachtest relies on a smaller range size than the new default min of range_max_bytes (64MiB) due to performance and resource limitations. We set the COCKROACH_MIN_RANGE_MAX_BYTES to allow the test to use the smaller range.

Fixes: #99626
Epic: None

Release note: None

99813: spanconfig: do not fatal in NeedsSplit and ComputeSplitKey r=irfansharif a=arulajmani

See individual commits for details. 

Fixes #97336.

99839: schemachanger: Annotate all tables if ALTER TABLE IF EXISTS on non-existent table r=Xiang-Gu a=Xiang-Gu

Previously, if table `t` does not exist, `ALTER TABLE IF EXISTS t` will only mark `t` as non-existent. This is inadequate because for stmt like `ALTER TABLE IF EXISTS t ADD FOREIGN KEY REFERENCES t_other` we will not touch `t_other` and the validation logic will later complain that `t_other` is not fully resolved nor marked as non-existent. This commit fixes it by marking all tables in this ALTER TABLE stmt as non-existent if the `t` is non-existent, so we can pass the validation.

Fixes issues discovered in #99185
Epic: None

99865: roachtest: fix query used to get job status in backup/mixed-version r=srosenberg a=renatolabs

At the moment, we only query job status in mixed-version state (so we should always use `system.jobs`). However, the code added in this commit should continue to work once we start developing 23.2, as we're checking that the cluster version is at least 23.1 before using `crdb_internal.system_jobs`.

Epic: none

Release note: None

99878: jobs: change job_info.info_key to string r=dt a=dt

Release note: none.
Epic: none.

Hopefully we get this one in now before it is released and harder to change later. I think if we go with bytes, we'll spend the next several years typing convert_to over and over, or forgetting to and then typing it, when debugging.

Co-authored-by: rharding6373 <[email protected]>
Co-authored-by: Radu Berinde <[email protected]>
Co-authored-by: Arul Ajmani <[email protected]>
Co-authored-by: Xiang Gu <[email protected]>
Co-authored-by: Renato Costa <[email protected]>
Co-authored-by: David Taylor <[email protected]>
@cockroach-teamcity
Copy link
Member Author

sql/tests.TestRandomSyntaxGeneration failed with artifacts on master @ 1f8024bf14433ca169e5a8c3768c5d223dc5018c:

    rsg_test.go:828: 1m15s of 5m0s: 293151 executions, 15638 successful
    rsg_test.go:828: 1m20s of 5m0s: 312391 executions, 16545 successful
    rsg_test.go:828: 1m25s of 5m0s: 333469 executions, 17497 successful
    rsg_test.go:828: 1m30s of 5m0s: 354504 executions, 18455 successful
    rsg_test.go:828: 1m35s of 5m0s: 375692 executions, 19472 successful
    rsg_test.go:828: 1m40s of 5m0s: 394976 executions, 20469 successful
    rsg_test.go:828: 1m45s of 5m0s: 414431 executions, 21383 successful
    rsg_test.go:828: 1m50s of 5m0s: 434191 executions, 22351 successful
    rsg_test.go:828: 1m55s of 5m0s: 454297 executions, 23244 successful
    rsg_test.go:828: 2m0s of 5m0s: 474279 executions, 24209 successful
    rsg_test.go:828: 2m5s of 5m0s: 493985 executions, 25175 successful
    rsg_test.go:828: 2m10s of 5m0s: 515094 executions, 26093 successful
    rsg_test.go:828: 2m15s of 5m0s: 536062 executions, 27036 successful
    rsg_test.go:828: 2m20s of 5m0s: 557114 executions, 27970 successful
    rsg_test.go:828: 2m25s of 5m0s: 578465 executions, 28897 successful
    rsg_test.go:828: 2m30s of 5m0s: 598494 executions, 29877 successful
    rsg_test.go:828: 2m35s of 5m0s: 619837 executions, 30894 successful
    rsg_test.go:828: 2m40s of 5m0s: 638780 executions, 31849 successful
    rsg_test.go:828: 2m45s of 5m0s: 659166 executions, 32793 successful
    rsg_test.go:828: 2m50s of 5m0s: 678870 executions, 33741 successful
    rsg_test.go:828: 2m55s of 5m0s: 699381 executions, 34712 successful
    rsg_test.go:828: 3m0s of 5m0s: 720358 executions, 35718 successful
    rsg_test.go:828: 3m5s of 5m0s: 741291 executions, 36669 successful
    rsg_test.go:828: 3m10s of 5m0s: 761719 executions, 37630 successful
    rsg_test.go:828: 3m15s of 5m0s: 782781 executions, 38616 successful
    rsg_test.go:828: 3m20s of 5m0s: 803206 executions, 39598 successful
    rsg_test.go:828: 3m25s of 5m0s: 823347 executions, 40566 successful
    rsg_test.go:828: 3m30s of 5m0s: 842450 executions, 41508 successful
    rsg_test.go:828: 3m35s of 5m0s: 859709 executions, 42316 successful
    rsg_test.go:828: 3m40s of 5m0s: 879278 executions, 43196 successful
    rsg_test.go:828: 3m45s of 5m0s: 899577 executions, 44137 successful
    rsg_test.go:828: 3m50s of 5m0s: 919093 executions, 45046 successful
    rsg_test.go:828: 3m55s of 5m0s: 937568 executions, 45962 successful
    rsg_test.go:828: 4m0s of 5m0s: 957987 executions, 46871 successful
    rsg_test.go:828: 4m5s of 5m0s: 979356 executions, 47891 successful
    rsg_test.go:828: 4m10s of 5m0s: 999238 executions, 48814 successful
    rsg_test.go:828: 4m15s of 5m0s: 1020607 executions, 49854 successful
    rsg_test.go:828: 4m20s of 5m0s: 1041474 executions, 50831 successful
    rsg_test.go:828: 4m25s of 5m0s: 1061759 executions, 51763 successful
    rsg_test.go:828: 4m30s of 5m0s: 1082281 executions, 52779 successful
    rsg_test.go:828: 4m35s of 5m0s: 1103059 executions, 53736 successful
    rsg_test.go:828: 4m40s of 5m0s: 1124110 executions, 54681 successful
    rsg_test.go:828: 4m45s of 5m0s: 1144134 executions, 55630 successful
    rsg_test.go:828: 4m50s of 5m0s: 1164759 executions, 56650 successful
    rsg_test.go:828: 4m55s of 5m0s: 1184283 executions, 57543 successful
    rsg_test.go:864: 1202907 executions, 58416 successful
    rsg_test.go:872: cannot parse output of Format: sql="IMPORT INTO INDEX_AFTER_ORDER_BY_BEFORE_AT EXTERNAL DATA ( PLACEHOLDER ) WITH OPTIONS ( BUCKET_COUNT , 'string' = 'string' , GEOMETRYCOLLECTIONM , 'string' , 'string' , DOMAIN = ident )", formattedSQL="IMPORT INTO \"index_after_order_by_before_at\" EXTERNAL DATA ('placeholder') WITH bucket_count, \"string\" = 'string', geometrycollectionm, \"string\", \"string\", domain = 'ident'": at or near "with": syntax error
    rsg_test.go:305: -- test log scope end --
test logs left over in: /artifacts/tmp/_tmp/d437d2c847dfedbc4972f231c3331c8e/logTestRandomSyntaxGeneration3827355557
--- FAIL: TestRandomSyntaxGeneration (301.80s)
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

sql/tests.TestRandomSyntaxGeneration failed with artifacts on master @ 41581c367b3a1d7893c2945465c57ffa841035e3:

    rsg_test.go:828: 1m15s of 5m0s: 289152 executions, 15277 successful
    rsg_test.go:828: 1m20s of 5m0s: 308912 executions, 16189 successful
    rsg_test.go:828: 1m25s of 5m0s: 329479 executions, 17132 successful
    rsg_test.go:828: 1m30s of 5m0s: 349157 executions, 18027 successful
    rsg_test.go:828: 1m35s of 5m0s: 369197 executions, 18958 successful
    rsg_test.go:828: 1m40s of 5m0s: 389496 executions, 19961 successful
    rsg_test.go:828: 1m45s of 5m0s: 409016 executions, 20850 successful
    rsg_test.go:828: 1m50s of 5m0s: 428165 executions, 21769 successful
    rsg_test.go:828: 1m55s of 5m0s: 446645 executions, 22616 successful
    rsg_test.go:828: 2m0s of 5m0s: 464810 executions, 23472 successful
    rsg_test.go:828: 2m5s of 5m0s: 483652 executions, 24396 successful
    rsg_test.go:828: 2m10s of 5m0s: 502956 executions, 25210 successful
    rsg_test.go:828: 2m15s of 5m0s: 521896 executions, 26053 successful
    rsg_test.go:828: 2m20s of 5m0s: 541533 executions, 26997 successful
    rsg_test.go:828: 2m25s of 5m0s: 561022 executions, 27929 successful
    rsg_test.go:828: 2m30s of 5m0s: 580693 executions, 28821 successful
    rsg_test.go:828: 2m35s of 5m0s: 600819 executions, 29723 successful
    rsg_test.go:828: 2m40s of 5m0s: 620332 executions, 30629 successful
    rsg_test.go:828: 2m45s of 5m0s: 639670 executions, 31577 successful
    rsg_test.go:828: 2m50s of 5m0s: 659101 executions, 32486 successful
    rsg_test.go:828: 2m55s of 5m0s: 677119 executions, 33282 successful
    rsg_test.go:828: 3m0s of 5m0s: 695431 executions, 34132 successful
    rsg_test.go:828: 3m5s of 5m0s: 715160 executions, 34985 successful
    rsg_test.go:828: 3m10s of 5m0s: 734185 executions, 35813 successful
    rsg_test.go:828: 3m15s of 5m0s: 752733 executions, 36625 successful
    rsg_test.go:828: 3m20s of 5m0s: 771934 executions, 37491 successful
    rsg_test.go:828: 3m25s of 5m0s: 792325 executions, 38408 successful
    rsg_test.go:828: 3m30s of 5m0s: 810890 executions, 39248 successful
    rsg_test.go:828: 3m35s of 5m0s: 831458 executions, 40175 successful
    rsg_test.go:828: 3m40s of 5m0s: 850515 executions, 40987 successful
    rsg_test.go:828: 3m45s of 5m0s: 867639 executions, 41745 successful
    rsg_test.go:828: 3m50s of 5m0s: 886763 executions, 42605 successful
    rsg_test.go:828: 3m55s of 5m0s: 906928 executions, 43517 successful
    rsg_test.go:828: 4m0s of 5m0s: 926542 executions, 44357 successful
    rsg_test.go:828: 4m5s of 5m0s: 944621 executions, 45172 successful
    rsg_test.go:828: 4m10s of 5m0s: 962685 executions, 46014 successful
    rsg_test.go:828: 4m15s of 5m0s: 981490 executions, 46921 successful
    rsg_test.go:828: 4m20s of 5m0s: 1000064 executions, 47807 successful
    rsg_test.go:828: 4m25s of 5m0s: 1018936 executions, 48694 successful
    rsg_test.go:828: 4m30s of 5m0s: 1037176 executions, 49550 successful
    rsg_test.go:828: 4m35s of 5m0s: 1054231 executions, 50332 successful
    rsg_test.go:828: 4m40s of 5m0s: 1070688 executions, 51051 successful
    rsg_test.go:828: 4m45s of 5m0s: 1088830 executions, 51838 successful
    rsg_test.go:828: 4m50s of 5m0s: 1106521 executions, 52615 successful
    rsg_test.go:828: 4m55s of 5m0s: 1124240 executions, 53344 successful
    rsg_test.go:864: 1142488 executions, 54110 successful
    rsg_test.go:872: cannot parse output of Format: sql="IMPORT TABLE INDEX_BEFORE_PAREN . CONSTRAINT . FAMILY FROM DEC PLACEHOLDER WITH OPTIONS ( BUCKET_COUNT , 'string' = PLACEHOLDER , ident = PLACEHOLDER , 'string' = 'string' , 'string' = PLACEHOLDER , 'string' )", formattedSQL="IMPORT TABLE \"index_before_paren\".\"constraint\".\"family\" FROM DEC 'placeholder' WITH bucket_count, \"string\" = 'placeholder', ident = 'placeholder', \"string\" = 'string', \"string\" = 'placeholder', \"string\"": at or near "with": syntax error
    rsg_test.go:305: -- test log scope end --
test logs left over in: /artifacts/tmp/_tmp/d437d2c847dfedbc4972f231c3331c8e/logTestRandomSyntaxGeneration1210618074
--- FAIL: TestRandomSyntaxGeneration (301.85s)
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

sql/tests.TestRandomSyntaxGeneration failed with artifacts on master @ 99102ddf4b7602788b422366f1acc14b81c64d24:

    rsg_test.go:828: 1m15s of 5m0s: 293628 executions, 15664 successful
    rsg_test.go:828: 1m20s of 5m0s: 313581 executions, 16605 successful
    rsg_test.go:828: 1m25s of 5m0s: 332552 executions, 17541 successful
    rsg_test.go:828: 1m30s of 5m0s: 352358 executions, 18535 successful
    rsg_test.go:828: 1m35s of 5m0s: 371774 executions, 19463 successful
    rsg_test.go:828: 1m40s of 5m0s: 390466 executions, 20317 successful
    rsg_test.go:828: 1m45s of 5m0s: 410182 executions, 21204 successful
    rsg_test.go:828: 1m50s of 5m0s: 429368 executions, 22126 successful
    rsg_test.go:828: 1m55s of 5m0s: 449177 executions, 23017 successful
    rsg_test.go:828: 2m0s of 5m0s: 468794 executions, 23956 successful
    rsg_test.go:828: 2m5s of 5m0s: 489616 executions, 24891 successful
    rsg_test.go:828: 2m10s of 5m0s: 509801 executions, 25866 successful
    rsg_test.go:828: 2m15s of 5m0s: 530194 executions, 26816 successful
    rsg_test.go:828: 2m20s of 5m0s: 550969 executions, 27746 successful
    rsg_test.go:828: 2m25s of 5m0s: 571667 executions, 28678 successful
    rsg_test.go:828: 2m30s of 5m0s: 591151 executions, 29562 successful
    rsg_test.go:828: 2m35s of 5m0s: 611212 executions, 30506 successful
    rsg_test.go:828: 2m40s of 5m0s: 630143 executions, 31407 successful
    rsg_test.go:828: 2m45s of 5m0s: 650400 executions, 32322 successful
    rsg_test.go:828: 2m50s of 5m0s: 669694 executions, 33211 successful
    rsg_test.go:828: 2m55s of 5m0s: 691064 executions, 34221 successful
    rsg_test.go:828: 3m0s of 5m0s: 712413 executions, 35191 successful
    rsg_test.go:828: 3m5s of 5m0s: 732750 executions, 36141 successful
    rsg_test.go:828: 3m10s of 5m0s: 752634 executions, 37087 successful
    rsg_test.go:828: 3m15s of 5m0s: 771721 executions, 37980 successful
    rsg_test.go:828: 3m20s of 5m0s: 790083 executions, 38812 successful
    rsg_test.go:828: 3m25s of 5m0s: 808581 executions, 39623 successful
    rsg_test.go:828: 3m30s of 5m0s: 827772 executions, 40512 successful
    rsg_test.go:828: 3m35s of 5m0s: 846806 executions, 41331 successful
    rsg_test.go:828: 3m40s of 5m0s: 862915 executions, 42078 successful
    rsg_test.go:828: 3m45s of 5m0s: 882505 executions, 43018 successful
    rsg_test.go:828: 3m50s of 5m0s: 903096 executions, 43931 successful
    rsg_test.go:828: 3m55s of 5m0s: 922734 executions, 44778 successful
    rsg_test.go:828: 4m0s of 5m0s: 943648 executions, 45671 successful
    rsg_test.go:828: 4m5s of 5m0s: 964373 executions, 46565 successful
    rsg_test.go:828: 4m10s of 5m0s: 984956 executions, 47455 successful
    rsg_test.go:828: 4m15s of 5m0s: 1005827 executions, 48329 successful
    rsg_test.go:828: 4m20s of 5m0s: 1025247 executions, 49261 successful
    rsg_test.go:828: 4m25s of 5m0s: 1044596 executions, 50157 successful
    rsg_test.go:828: 4m30s of 5m0s: 1061619 executions, 50945 successful
    rsg_test.go:828: 4m35s of 5m0s: 1081743 executions, 51843 successful
    rsg_test.go:828: 4m40s of 5m0s: 1101761 executions, 52746 successful
    rsg_test.go:828: 4m45s of 5m0s: 1120648 executions, 53568 successful
    rsg_test.go:828: 4m50s of 5m0s: 1139781 executions, 54483 successful
    rsg_test.go:828: 4m55s of 5m0s: 1158137 executions, 55352 successful
    rsg_test.go:864: 1176508 executions, 56208 successful
    rsg_test.go:872: cannot parse output of Format: sql="ALTER TENANT ROW ( ) RENAME TO INTERVAL 'string' YEAR TO MONTH", formattedSQL="ALTER TENANT (()) RENAME TO 'string'::INTERVAL YEAR TO MONTH": at or near ":": syntax error
    rsg_test.go:305: -- test log scope end --
test logs left over in: /artifacts/tmp/_tmp/d437d2c847dfedbc4972f231c3331c8e/logTestRandomSyntaxGeneration332678928
--- FAIL: TestRandomSyntaxGeneration (301.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

sql/tests.TestRandomSyntaxGeneration failed with artifacts on master @ 1e27c65fb5a3810a5e2285cf07b45d95d401cca6:

    rsg_test.go:828: 1m15s of 5m0s: 302354 executions, 15867 successful
    rsg_test.go:828: 1m20s of 5m0s: 321881 executions, 16801 successful
    rsg_test.go:828: 1m25s of 5m0s: 341889 executions, 17745 successful
    rsg_test.go:828: 1m30s of 5m0s: 362947 executions, 18783 successful
    rsg_test.go:828: 1m35s of 5m0s: 383513 executions, 19796 successful
    rsg_test.go:828: 1m40s of 5m0s: 403028 executions, 20744 successful
    rsg_test.go:828: 1m45s of 5m0s: 422199 executions, 21633 successful
    rsg_test.go:828: 1m50s of 5m0s: 440173 executions, 22515 successful
    rsg_test.go:828: 1m55s of 5m0s: 460252 executions, 23420 successful
    rsg_test.go:828: 2m0s of 5m0s: 480341 executions, 24393 successful
    rsg_test.go:828: 2m5s of 5m0s: 500562 executions, 25316 successful
    rsg_test.go:828: 2m10s of 5m0s: 521482 executions, 26323 successful
    rsg_test.go:828: 2m15s of 5m0s: 541757 executions, 27306 successful
    rsg_test.go:828: 2m20s of 5m0s: 562268 executions, 28294 successful
    rsg_test.go:828: 2m25s of 5m0s: 582649 executions, 29150 successful
    rsg_test.go:828: 2m30s of 5m0s: 602985 executions, 30064 successful
    rsg_test.go:828: 2m35s of 5m0s: 623237 executions, 31031 successful
    rsg_test.go:828: 2m40s of 5m0s: 644933 executions, 32017 successful
    rsg_test.go:828: 2m45s of 5m0s: 665999 executions, 32963 successful
    rsg_test.go:828: 2m50s of 5m0s: 688118 executions, 33991 successful
    rsg_test.go:828: 2m55s of 5m0s: 709893 executions, 34939 successful
    rsg_test.go:828: 3m0s of 5m0s: 730580 executions, 35924 successful
    rsg_test.go:828: 3m5s of 5m0s: 751313 executions, 36935 successful
    rsg_test.go:828: 3m10s of 5m0s: 771883 executions, 38004 successful
    rsg_test.go:828: 3m15s of 5m0s: 791677 executions, 38957 successful
    rsg_test.go:828: 3m20s of 5m0s: 812333 executions, 39893 successful
    rsg_test.go:828: 3m25s of 5m0s: 833338 executions, 40791 successful
    rsg_test.go:828: 3m30s of 5m0s: 854159 executions, 41735 successful
    rsg_test.go:828: 3m35s of 5m0s: 873773 executions, 42601 successful
    rsg_test.go:828: 3m40s of 5m0s: 891121 executions, 43401 successful
    rsg_test.go:828: 3m45s of 5m0s: 910088 executions, 44187 successful
    rsg_test.go:828: 3m50s of 5m0s: 928925 executions, 45080 successful
    rsg_test.go:828: 3m55s of 5m0s: 947317 executions, 45962 successful
    rsg_test.go:828: 4m0s of 5m0s: 966276 executions, 46871 successful
    rsg_test.go:828: 4m5s of 5m0s: 984572 executions, 47752 successful
    rsg_test.go:828: 4m10s of 5m0s: 1002456 executions, 48577 successful
    rsg_test.go:828: 4m15s of 5m0s: 1021788 executions, 49404 successful
    rsg_test.go:828: 4m20s of 5m0s: 1039919 executions, 50198 successful
    rsg_test.go:828: 4m25s of 5m0s: 1057136 executions, 51025 successful
    rsg_test.go:828: 4m30s of 5m0s: 1075371 executions, 51848 successful
    rsg_test.go:828: 4m35s of 5m0s: 1093265 executions, 52665 successful
    rsg_test.go:828: 4m40s of 5m0s: 1111727 executions, 53509 successful
    rsg_test.go:828: 4m45s of 5m0s: 1130604 executions, 54364 successful
    rsg_test.go:828: 4m50s of 5m0s: 1150174 executions, 55260 successful
    rsg_test.go:828: 4m55s of 5m0s: 1170122 executions, 56130 successful
    rsg_test.go:864: 1188958 executions, 56894 successful
    rsg_test.go:872: cannot parse output of Format: sql="ALTER TENANT 'string' SET REPLICATION RETENTION = INTERVAL 'string' DAY", formattedSQL="ALTER TENANT 'string' SET REPLICATION RETENTION = 'string'::INTERVAL DAY": at or near ":": syntax error
    rsg_test.go:305: -- test log scope end --
test logs left over in: /artifacts/tmp/_tmp/d437d2c847dfedbc4972f231c3331c8e/logTestRandomSyntaxGeneration3175304566
--- FAIL: TestRandomSyntaxGeneration (301.82s)
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

sql/tests.TestRandomSyntaxGeneration failed with artifacts on master @ 1e27c65fb5a3810a5e2285cf07b45d95d401cca6:

    rsg_test.go:828: 1m15s of 5m0s: 287665 executions, 15466 successful
    rsg_test.go:828: 1m20s of 5m0s: 307749 executions, 16433 successful
    rsg_test.go:828: 1m25s of 5m0s: 327021 executions, 17381 successful
    rsg_test.go:828: 1m30s of 5m0s: 347709 executions, 18326 successful
    rsg_test.go:828: 1m35s of 5m0s: 367091 executions, 19274 successful
    rsg_test.go:828: 1m40s of 5m0s: 387996 executions, 20239 successful
    rsg_test.go:828: 1m45s of 5m0s: 407846 executions, 21170 successful
    rsg_test.go:828: 1m50s of 5m0s: 426974 executions, 22060 successful
    rsg_test.go:828: 1m55s of 5m0s: 446410 executions, 22934 successful
    rsg_test.go:828: 2m0s of 5m0s: 464771 executions, 23794 successful
    rsg_test.go:828: 2m5s of 5m0s: 483138 executions, 24659 successful
    rsg_test.go:828: 2m10s of 5m0s: 502554 executions, 25584 successful
    rsg_test.go:828: 2m15s of 5m0s: 522113 executions, 26538 successful
    rsg_test.go:828: 2m20s of 5m0s: 541134 executions, 27427 successful
    rsg_test.go:828: 2m25s of 5m0s: 560387 executions, 28335 successful
    rsg_test.go:828: 2m30s of 5m0s: 578980 executions, 29213 successful
    rsg_test.go:828: 2m35s of 5m0s: 597769 executions, 30087 successful
    rsg_test.go:828: 2m40s of 5m0s: 616018 executions, 30965 successful
    rsg_test.go:828: 2m45s of 5m0s: 635462 executions, 31867 successful
    rsg_test.go:828: 2m50s of 5m0s: 654507 executions, 32723 successful
    rsg_test.go:828: 2m55s of 5m0s: 674472 executions, 33639 successful
    rsg_test.go:828: 3m0s of 5m0s: 693896 executions, 34507 successful
    rsg_test.go:828: 3m5s of 5m0s: 713501 executions, 35380 successful
    rsg_test.go:828: 3m10s of 5m0s: 732556 executions, 36235 successful
    rsg_test.go:828: 3m15s of 5m0s: 750564 executions, 37145 successful
    rsg_test.go:828: 3m20s of 5m0s: 769438 executions, 38051 successful
    rsg_test.go:828: 3m25s of 5m0s: 789470 executions, 38962 successful
    rsg_test.go:828: 3m30s of 5m0s: 808970 executions, 39864 successful
    rsg_test.go:828: 3m35s of 5m0s: 828451 executions, 40731 successful
    rsg_test.go:828: 3m40s of 5m0s: 847555 executions, 41591 successful
    rsg_test.go:828: 3m45s of 5m0s: 865615 executions, 42429 successful
    rsg_test.go:828: 3m50s of 5m0s: 884889 executions, 43330 successful
    rsg_test.go:828: 3m55s of 5m0s: 904312 executions, 44205 successful
    rsg_test.go:828: 4m0s of 5m0s: 922134 executions, 45067 successful
    rsg_test.go:828: 4m5s of 5m0s: 940673 executions, 45932 successful
    rsg_test.go:828: 4m10s of 5m0s: 960307 executions, 46760 successful
    rsg_test.go:828: 4m15s of 5m0s: 979669 executions, 47634 successful
    rsg_test.go:828: 4m20s of 5m0s: 999424 executions, 48551 successful
    rsg_test.go:828: 4m25s of 5m0s: 1018621 executions, 49399 successful
    rsg_test.go:828: 4m30s of 5m0s: 1037577 executions, 50239 successful
    rsg_test.go:828: 4m35s of 5m0s: 1056907 executions, 51033 successful
    rsg_test.go:828: 4m40s of 5m0s: 1075224 executions, 51844 successful
    rsg_test.go:828: 4m45s of 5m0s: 1095306 executions, 52703 successful
    rsg_test.go:828: 4m50s of 5m0s: 1114052 executions, 53535 successful
    rsg_test.go:828: 4m55s of 5m0s: 1135060 executions, 54431 successful
    rsg_test.go:864: 1154891 executions, 55288 successful
    rsg_test.go:872: cannot parse output of Format: sql="CREATE TENANT IF NOT EXISTS ident . * FROM REPLICATION OF 'string' ON INTERVAL 'string' WITH OPTIONS ( RETENTION = ARRAY ROW ( ) )", formattedSQL="CREATE TENANT IF NOT EXISTS ident.* FROM REPLICATION OF 'string' ON 'string'::INTERVAL WITH RETENTION = ARRAY[]": at or near ":": syntax error
    rsg_test.go:305: -- test log scope end --
test logs left over in: /artifacts/tmp/_tmp/d437d2c847dfedbc4972f231c3331c8e/logTestRandomSyntaxGeneration1426487727
--- FAIL: TestRandomSyntaxGeneration (301.92s)
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

sql/tests.TestRandomSyntaxGeneration failed with artifacts on master @ 07c7d4b3abfa1dc79d8fda385132a27c81665fee:

    rsg_test.go:828: 1m20s of 5m0s: 317824 executions, 16850 successful
    rsg_test.go:828: 1m25s of 5m0s: 338698 executions, 17820 successful
    rsg_test.go:828: 1m30s of 5m0s: 358573 executions, 18782 successful
    rsg_test.go:828: 1m35s of 5m0s: 378357 executions, 19728 successful
    rsg_test.go:828: 1m40s of 5m0s: 395939 executions, 20597 successful
    rsg_test.go:828: 1m45s of 5m0s: 416432 executions, 21563 successful
    rsg_test.go:828: 1m50s of 5m0s: 436381 executions, 22523 successful
    rsg_test.go:828: 1m55s of 5m0s: 457174 executions, 23428 successful
    rsg_test.go:828: 2m0s of 5m0s: 476638 executions, 24270 successful
    rsg_test.go:828: 2m5s of 5m0s: 496624 executions, 25127 successful
    rsg_test.go:828: 2m10s of 5m0s: 516401 executions, 26013 successful
    rsg_test.go:828: 2m15s of 5m0s: 536263 executions, 26938 successful
    rsg_test.go:828: 2m20s of 5m0s: 556728 executions, 27888 successful
    rsg_test.go:828: 2m25s of 5m0s: 577095 executions, 28785 successful
    rsg_test.go:828: 2m30s of 5m0s: 596718 executions, 29680 successful
    rsg_test.go:828: 2m35s of 5m0s: 615135 executions, 30512 successful
    rsg_test.go:828: 2m40s of 5m0s: 633245 executions, 31360 successful
    rsg_test.go:828: 2m45s of 5m0s: 653256 executions, 32235 successful
    rsg_test.go:828: 2m50s of 5m0s: 672700 executions, 33108 successful
    rsg_test.go:828: 2m55s of 5m0s: 692320 executions, 33950 successful
    rsg_test.go:828: 3m0s of 5m0s: 711954 executions, 34838 successful
    rsg_test.go:828: 3m5s of 5m0s: 731482 executions, 35712 successful
    rsg_test.go:828: 3m10s of 5m0s: 750767 executions, 36562 successful
    rsg_test.go:828: 3m15s of 5m0s: 770117 executions, 37423 successful
    rsg_test.go:828: 3m20s of 5m0s: 789615 executions, 38267 successful
    rsg_test.go:828: 3m25s of 5m0s: 807889 executions, 39104 successful
    rsg_test.go:828: 3m30s of 5m0s: 825877 executions, 39914 successful
    rsg_test.go:828: 3m35s of 5m0s: 845272 executions, 40873 successful
    rsg_test.go:828: 3m40s of 5m0s: 863427 executions, 41689 successful
    rsg_test.go:828: 3m45s of 5m0s: 882421 executions, 42617 successful
    rsg_test.go:828: 3m50s of 5m0s: 900118 executions, 43448 successful
    rsg_test.go:828: 3m55s of 5m0s: 916809 executions, 44240 successful
    rsg_test.go:828: 4m0s of 5m0s: 936129 executions, 45114 successful
    rsg_test.go:828: 4m5s of 5m0s: 955303 executions, 46036 successful
    rsg_test.go:828: 4m10s of 5m0s: 975655 executions, 46976 successful
    rsg_test.go:828: 4m15s of 5m0s: 995368 executions, 47901 successful
    rsg_test.go:828: 4m20s of 5m0s: 1015564 executions, 48792 successful
    rsg_test.go:828: 4m25s of 5m0s: 1035213 executions, 49656 successful
    rsg_test.go:828: 4m30s of 5m0s: 1054461 executions, 50506 successful
    rsg_test.go:828: 4m35s of 5m0s: 1073087 executions, 51340 successful
    rsg_test.go:828: 4m40s of 5m0s: 1092433 executions, 52284 successful
    rsg_test.go:828: 4m45s of 5m0s: 1110853 executions, 53196 successful
    rsg_test.go:828: 4m50s of 5m0s: 1131263 executions, 54142 successful
    rsg_test.go:828: 4m55s of 5m0s: 1150444 executions, 55063 successful
    rsg_test.go:828: 5m0s of 5m0s: 1169949 executions, 55971 successful
    rsg_test.go:864: 1169950 executions, 55972 successful
    rsg_test.go:872: cannot parse output of Format: sql="ALTER TENANT 0 RENAME TO INTERVAL 'string'", formattedSQL="ALTER TENANT 0 RENAME TO 'string'::INTERVAL": at or near ":": syntax error
    rsg_test.go:305: -- test log scope end --
test logs left over in: /artifacts/tmp/_tmp/d437d2c847dfedbc4972f231c3331c8e/logTestRandomSyntaxGeneration561768621
--- FAIL: TestRandomSyntaxGeneration (301.85s)
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

sql/tests.TestRandomSyntaxGeneration failed with artifacts on master @ ff2c4a3454a63bd74fe9a2feed53a7bdcfaf5191:

    rsg_test.go:828: 1m20s of 5m0s: 330523 executions, 17452 successful
    rsg_test.go:828: 1m25s of 5m0s: 350867 executions, 18357 successful
    rsg_test.go:828: 1m30s of 5m0s: 371984 executions, 19415 successful
    rsg_test.go:828: 1m35s of 5m0s: 393003 executions, 20420 successful
    rsg_test.go:828: 1m40s of 5m0s: 414041 executions, 21448 successful
    rsg_test.go:828: 1m45s of 5m0s: 435408 executions, 22457 successful
    rsg_test.go:828: 1m50s of 5m0s: 456985 executions, 23542 successful
    rsg_test.go:828: 1m55s of 5m0s: 478305 executions, 24492 successful
    rsg_test.go:828: 2m0s of 5m0s: 497880 executions, 25435 successful
    rsg_test.go:828: 2m5s of 5m0s: 518989 executions, 26390 successful
    rsg_test.go:828: 2m10s of 5m0s: 539811 executions, 27372 successful
    rsg_test.go:828: 2m15s of 5m0s: 560820 executions, 28334 successful
    rsg_test.go:828: 2m20s of 5m0s: 581453 executions, 29245 successful
    rsg_test.go:828: 2m25s of 5m0s: 600772 executions, 30124 successful
    rsg_test.go:828: 2m30s of 5m0s: 620957 executions, 31084 successful
    rsg_test.go:828: 2m35s of 5m0s: 641513 executions, 31988 successful
    rsg_test.go:828: 2m40s of 5m0s: 661021 executions, 32840 successful
    rsg_test.go:828: 2m45s of 5m0s: 680427 executions, 33708 successful
    rsg_test.go:828: 2m50s of 5m0s: 701875 executions, 34714 successful
    rsg_test.go:828: 2m55s of 5m0s: 724150 executions, 35737 successful
    rsg_test.go:828: 3m0s of 5m0s: 745208 executions, 36662 successful
    rsg_test.go:828: 3m5s of 5m0s: 764085 executions, 37534 successful
    rsg_test.go:828: 3m10s of 5m0s: 784939 executions, 38492 successful
    rsg_test.go:828: 3m15s of 5m0s: 805487 executions, 39417 successful
    rsg_test.go:828: 3m20s of 5m0s: 826725 executions, 40403 successful
    rsg_test.go:828: 3m25s of 5m0s: 847860 executions, 41420 successful
    rsg_test.go:828: 3m30s of 5m0s: 866625 executions, 42317 successful
    rsg_test.go:828: 3m35s of 5m0s: 887000 executions, 43318 successful
    rsg_test.go:828: 3m40s of 5m0s: 907317 executions, 44218 successful
    rsg_test.go:828: 3m45s of 5m0s: 926733 executions, 45102 successful
    rsg_test.go:828: 3m50s of 5m0s: 947239 executions, 46056 successful
    rsg_test.go:828: 3m55s of 5m0s: 968544 executions, 47080 successful
    rsg_test.go:828: 4m0s of 5m0s: 988757 executions, 48022 successful
    rsg_test.go:828: 4m5s of 5m0s: 1008888 executions, 48867 successful
    rsg_test.go:828: 4m10s of 5m0s: 1028823 executions, 49767 successful
    rsg_test.go:828: 4m15s of 5m0s: 1048387 executions, 50663 successful
    rsg_test.go:828: 4m20s of 5m0s: 1066455 executions, 51474 successful
    rsg_test.go:828: 4m25s of 5m0s: 1085508 executions, 52416 successful
    rsg_test.go:828: 4m30s of 5m0s: 1105778 executions, 53335 successful
    rsg_test.go:828: 4m35s of 5m0s: 1125677 executions, 54214 successful
    rsg_test.go:828: 4m40s of 5m0s: 1144501 executions, 55088 successful
    rsg_test.go:828: 4m45s of 5m0s: 1162749 executions, 55920 successful
    rsg_test.go:828: 4m50s of 5m0s: 1182983 executions, 56828 successful
    rsg_test.go:828: 4m55s of 5m0s: 1201957 executions, 57703 successful
    rsg_test.go:828: 5m0s of 5m0s: 1221703 executions, 58662 successful
    rsg_test.go:864: 1221704 executions, 58662 successful
    rsg_test.go:872: cannot parse output of Format: sql="EXPERIMENTAL CHANGEFEED FOR FAMILY FAMILY FLOAT WITH OPTIONS ( BUCKET_COUNT , ident , 'string' )", formattedSQL="EXPERIMENTAL CHANGEFEED FOR TABLE \"family\" FAMILY \"float\" WITH bucket_count, ident, \"string\"": at or near "with": syntax error
    rsg_test.go:305: -- test log scope end --
test logs left over in: /artifacts/tmp/_tmp/d437d2c847dfedbc4972f231c3331c8e/logTestRandomSyntaxGeneration3506527102
--- FAIL: TestRandomSyntaxGeneration (301.97s)
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

sql/tests.TestRandomSyntaxGeneration failed with artifacts on master @ 8d10f15db8e5efaff57ec332c438211895c6c608:

    rsg_test.go:828: 35s of 5m0s: 69827 executions, 4178 successful
    rsg_test.go:828: 40s of 5m0s: 79707 executions, 4727 successful
    rsg_test.go:828: 45s of 5m0s: 88711 executions, 5242 successful
    rsg_test.go:828: 50s of 5m0s: 95263 executions, 5620 successful
    rsg_test.go:828: 55s of 5m0s: 106756 executions, 6257 successful
    rsg_test.go:828: 1m0s of 5m0s: 116772 executions, 6781 successful
    rsg_test.go:828: 1m5s of 5m0s: 125811 executions, 7253 successful
    rsg_test.go:828: 1m10s of 5m0s: 136321 executions, 7818 successful
    rsg_test.go:828: 1m15s of 5m0s: 146668 executions, 8376 successful
    rsg_test.go:828: 1m20s of 5m0s: 156809 executions, 8947 successful
    rsg_test.go:828: 1m25s of 5m0s: 167740 executions, 9495 successful
    rsg_test.go:828: 1m30s of 5m0s: 179817 executions, 10125 successful
    rsg_test.go:828: 1m35s of 5m0s: 191479 executions, 10737 successful
    rsg_test.go:828: 1m40s of 5m0s: 201554 executions, 11228 successful
    rsg_test.go:828: 1m45s of 5m0s: 214053 executions, 11841 successful
    rsg_test.go:828: 1m50s of 5m0s: 226289 executions, 12417 successful
    rsg_test.go:828: 1m55s of 5m0s: 238737 executions, 12993 successful
    rsg_test.go:828: 2m0s of 5m0s: 250108 executions, 13574 successful
    rsg_test.go:828: 2m5s of 5m0s: 261905 executions, 14127 successful
    rsg_test.go:828: 2m10s of 5m0s: 273847 executions, 14748 successful
    rsg_test.go:828: 2m15s of 5m0s: 285672 executions, 15329 successful
    rsg_test.go:828: 2m20s of 5m0s: 297511 executions, 15909 successful
    rsg_test.go:828: 2m25s of 5m0s: 308862 executions, 16449 successful
    rsg_test.go:828: 2m30s of 5m0s: 320486 executions, 16999 successful
    rsg_test.go:828: 2m35s of 5m0s: 331906 executions, 17548 successful
    rsg_test.go:828: 2m40s of 5m0s: 343039 executions, 18057 successful
    rsg_test.go:828: 2m45s of 5m0s: 353305 executions, 18549 successful
    rsg_test.go:828: 2m50s of 5m0s: 364921 executions, 19096 successful
    rsg_test.go:828: 2m55s of 5m0s: 376574 executions, 19658 successful
    rsg_test.go:828: 3m0s of 5m0s: 387846 executions, 20219 successful
    rsg_test.go:828: 3m5s of 5m0s: 394827 executions, 20544 successful
    rsg_test.go:828: 3m10s of 5m0s: 394827 executions, 20544 successful
    rsg_test.go:828: 3m15s of 5m0s: 395608 executions, 20605 successful
    rsg_test.go:828: 3m20s of 5m0s: 407803 executions, 21189 successful
    rsg_test.go:828: 3m25s of 5m0s: 419828 executions, 21781 successful
    rsg_test.go:828: 3m30s of 5m0s: 431352 executions, 22381 successful
    rsg_test.go:828: 3m35s of 5m0s: 444015 executions, 22931 successful
    rsg_test.go:828: 3m40s of 5m0s: 455823 executions, 23492 successful
    rsg_test.go:828: 3m45s of 5m0s: 468503 executions, 24109 successful
panic: expected *DInt, found *tree.DBytes

goroutine 2797082 [running]:
github.com/cockroachdb/cockroach/pkg/sql/sem/tree.MustBeDInt({0x79d9188?, 0xc03bb8cf68})
	github.com/cockroachdb/cockroach/pkg/sql/sem/tree/datum.go:723 +0x8e
github.com/cockroachdb/cockroach/pkg/ccl/changefeedccl.alterChangefeedPlanHook.func1({0x79bade0, 0xc03c2825d0}, {0x79bade0?, 0xc00375ffd0?, 0x9c43b6?}, 0xc0340f70e0)
	github.com/cockroachdb/cockroach/pkg/ccl/changefeedccl/alter_changefeed_stmt.go:91 +0xd2
github.com/cockroachdb/cockroach/pkg/sql.(*hookFnNode).startExec.func1()
	github.com/cockroachdb/cockroach/pkg/sql/planhook.go:206 +0xa4
created by github.com/cockroachdb/cockroach/pkg/sql.(*hookFnNode).startExec
	github.com/cockroachdb/cockroach/pkg/sql/planhook.go:204 +0x1b2
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

sql/tests.TestRandomSyntaxGeneration failed with artifacts on master @ d293bb3acd9b7f67ac793ddb6a0836e637864629:

    rsg_test.go:828: 1m15s of 5m0s: 159938 executions, 9130 successful
    rsg_test.go:828: 1m20s of 5m0s: 171368 executions, 9703 successful
    rsg_test.go:828: 1m25s of 5m0s: 181607 executions, 10209 successful
    rsg_test.go:828: 1m30s of 5m0s: 192303 executions, 10723 successful
    rsg_test.go:828: 1m35s of 5m0s: 204084 executions, 11301 successful
    rsg_test.go:828: 1m40s of 5m0s: 215846 executions, 11876 successful
    rsg_test.go:828: 1m45s of 5m0s: 227012 executions, 12429 successful
    rsg_test.go:828: 1m50s of 5m0s: 237480 executions, 12970 successful
    rsg_test.go:828: 1m55s of 5m0s: 246724 executions, 13395 successful
    rsg_test.go:828: 2m0s of 5m0s: 256590 executions, 13874 successful
    rsg_test.go:828: 2m5s of 5m0s: 267398 executions, 14399 successful
    rsg_test.go:828: 2m10s of 5m0s: 277435 executions, 14852 successful
    rsg_test.go:828: 2m15s of 5m0s: 287921 executions, 15389 successful
    rsg_test.go:828: 2m20s of 5m0s: 297909 executions, 15893 successful
    rsg_test.go:828: 2m25s of 5m0s: 307581 executions, 16401 successful
    rsg_test.go:828: 2m30s of 5m0s: 316737 executions, 16846 successful
    rsg_test.go:828: 2m35s of 5m0s: 325975 executions, 17299 successful
    rsg_test.go:828: 2m40s of 5m0s: 333471 executions, 17693 successful
    rsg_test.go:828: 2m45s of 5m0s: 344671 executions, 18244 successful
    rsg_test.go:828: 2m50s of 5m0s: 355477 executions, 18753 successful
    rsg_test.go:828: 2m55s of 5m0s: 367192 executions, 19287 successful
    rsg_test.go:828: 3m0s of 5m0s: 378995 executions, 19843 successful
    rsg_test.go:828: 3m5s of 5m0s: 390856 executions, 20381 successful
    rsg_test.go:828: 3m10s of 5m0s: 402253 executions, 20898 successful
    rsg_test.go:828: 3m15s of 5m0s: 412105 executions, 21334 successful
    rsg_test.go:828: 3m20s of 5m0s: 417735 executions, 21606 successful
    rsg_test.go:828: 3m25s of 5m0s: 417735 executions, 21606 successful
    rsg_test.go:828: 3m30s of 5m0s: 417762 executions, 21607 successful
    rsg_test.go:828: 3m35s of 5m0s: 418620 executions, 21642 successful
    rsg_test.go:828: 3m40s of 5m0s: 427318 executions, 22081 successful
    rsg_test.go:828: 3m45s of 5m0s: 438268 executions, 22612 successful
    rsg_test.go:828: 3m50s of 5m0s: 449225 executions, 23151 successful
    rsg_test.go:828: 3m55s of 5m0s: 460294 executions, 23649 successful
    rsg_test.go:828: 4m0s of 5m0s: 471657 executions, 24164 successful
    rsg_test.go:828: 4m5s of 5m0s: 482943 executions, 24703 successful
    rsg_test.go:828: 4m10s of 5m0s: 493585 executions, 25216 successful
    rsg_test.go:828: 4m15s of 5m0s: 504124 executions, 25737 successful
    rsg_test.go:828: 4m20s of 5m0s: 515429 executions, 26246 successful
    rsg_test.go:828: 4m25s of 5m0s: 527142 executions, 26743 successful
    rsg_test.go:828: 4m30s of 5m0s: 538497 executions, 27217 successful
    rsg_test.go:828: 4m35s of 5m0s: 550062 executions, 27725 successful
    rsg_test.go:828: 4m40s of 5m0s: 561724 executions, 28275 successful
    rsg_test.go:828: 4m45s of 5m0s: 573297 executions, 28830 successful
    rsg_test.go:828: 4m50s of 5m0s: 584241 executions, 29313 successful
    rsg_test.go:828: 4m55s of 5m0s: 596217 executions, 29829 successful
    rsg_test.go:864: 607876 executions, 30348 successful
    rsg_test.go:872: cannot parse output of Format: sql="CREATE VIRTUAL CLUSTER IF NOT EXISTS PLACEHOLDER FROM REPLICATION OF VARCHAR . ident . SECURITY . * ON INTERVAL 'string' WITH OPTIONS ( RETENTION = 'string' )", formattedSQL="CREATE VIRTUAL CLUSTER IF NOT EXISTS placeholder FROM REPLICATION OF \"varchar\".ident.security.* ON 'string'::INTERVAL WITH RETENTION = 'string'": at or near ":": syntax error
    rsg_test.go:302: -- test log scope end --
test logs left over in: /artifacts/tmp/_tmp/d437d2c847dfedbc4972f231c3331c8e/logTestRandomSyntaxGeneration2175762794
--- FAIL: TestRandomSyntaxGeneration (302.02s)
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

sql/tests.TestRandomSyntaxGeneration failed with artifacts on master @ 9d976cbcf5b0bf031a5d831daf47abeacdfd974d:

    rsg_test.go:828: 1m15s of 5m0s: 162390 executions, 9138 successful
    rsg_test.go:828: 1m20s of 5m0s: 173332 executions, 9707 successful
    rsg_test.go:828: 1m25s of 5m0s: 184720 executions, 10251 successful
    rsg_test.go:828: 1m30s of 5m0s: 195631 executions, 10757 successful
    rsg_test.go:828: 1m35s of 5m0s: 207828 executions, 11406 successful
    rsg_test.go:828: 1m40s of 5m0s: 219427 executions, 11998 successful
    rsg_test.go:828: 1m45s of 5m0s: 230802 executions, 12533 successful
    rsg_test.go:828: 1m50s of 5m0s: 242348 executions, 13101 successful
    rsg_test.go:828: 1m55s of 5m0s: 254436 executions, 13684 successful
    rsg_test.go:828: 2m0s of 5m0s: 266233 executions, 14241 successful
    rsg_test.go:828: 2m5s of 5m0s: 277421 executions, 14802 successful
    rsg_test.go:828: 2m10s of 5m0s: 288514 executions, 15343 successful
    rsg_test.go:828: 2m15s of 5m0s: 300051 executions, 15931 successful
    rsg_test.go:828: 2m20s of 5m0s: 310822 executions, 16444 successful
    rsg_test.go:828: 2m25s of 5m0s: 320588 executions, 16898 successful
    rsg_test.go:828: 2m30s of 5m0s: 331752 executions, 17411 successful
    rsg_test.go:828: 2m35s of 5m0s: 343267 executions, 17984 successful
    rsg_test.go:828: 2m40s of 5m0s: 354925 executions, 18529 successful
    rsg_test.go:828: 2m45s of 5m0s: 366928 executions, 19090 successful
    rsg_test.go:828: 2m50s of 5m0s: 378944 executions, 19694 successful
    rsg_test.go:828: 2m55s of 5m0s: 390429 executions, 20241 successful
    rsg_test.go:828: 3m0s of 5m0s: 402026 executions, 20844 successful
    rsg_test.go:828: 3m5s of 5m0s: 413979 executions, 21421 successful
    rsg_test.go:828: 3m10s of 5m0s: 425713 executions, 22034 successful
    rsg_test.go:828: 3m15s of 5m0s: 436983 executions, 22617 successful
    rsg_test.go:828: 3m20s of 5m0s: 448151 executions, 23206 successful
    rsg_test.go:828: 3m25s of 5m0s: 459993 executions, 23771 successful
    rsg_test.go:828: 3m30s of 5m0s: 471385 executions, 24297 successful
    rsg_test.go:828: 3m35s of 5m0s: 482342 executions, 24807 successful
    rsg_test.go:828: 3m40s of 5m0s: 492526 executions, 25281 successful
    rsg_test.go:828: 3m45s of 5m0s: 498761 executions, 25580 successful
    rsg_test.go:828: 3m50s of 5m0s: 503486 executions, 25816 successful
    rsg_test.go:828: 3m55s of 5m0s: 513960 executions, 26257 successful
    rsg_test.go:828: 4m0s of 5m0s: 525119 executions, 26707 successful
    rsg_test.go:828: 4m5s of 5m0s: 536865 executions, 27273 successful
    rsg_test.go:828: 4m10s of 5m0s: 548561 executions, 27796 successful
    rsg_test.go:828: 4m15s of 5m0s: 555099 executions, 28063 successful
    rsg_test.go:828: 4m20s of 5m0s: 556902 executions, 28137 successful
    rsg_test.go:828: 4m25s of 5m0s: 556902 executions, 28137 successful
    rsg_test.go:828: 4m30s of 5m0s: 557497 executions, 28161 successful
    rsg_test.go:828: 4m35s of 5m0s: 568448 executions, 28674 successful
    rsg_test.go:828: 4m40s of 5m0s: 579442 executions, 29208 successful
    rsg_test.go:828: 4m45s of 5m0s: 590752 executions, 29712 successful
    rsg_test.go:828: 4m50s of 5m0s: 601842 executions, 30212 successful
    rsg_test.go:828: 4m55s of 5m0s: 614202 executions, 30784 successful
    rsg_test.go:864: 625661 executions, 31332 successful
    rsg_test.go:872: cannot parse output of Format: sql="EXPERIMENTAL CHANGEFEED FOR TABLE INDEX_BEFORE_NAME_THEN_PAREN WITH OPTIONS ( BUCKET_COUNT )", formattedSQL="EXPERIMENTAL CHANGEFEED FOR TABLE \"index_before_name_then_paren\" WITH bucket_count": at or near "with": syntax error
    rsg_test.go:302: -- test log scope end --
test logs left over in: /artifacts/tmp/_tmp/d437d2c847dfedbc4972f231c3331c8e/logTestRandomSyntaxGeneration2948564358
--- FAIL: TestRandomSyntaxGeneration (302.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

sql/tests.TestRandomSyntaxGeneration failed with artifacts on master @ 57b6b702a0403fca0d8edce22d8758f6847d6913:

    rsg_test.go:828: 1m15s of 5m0s: 162298 executions, 9132 successful
    rsg_test.go:828: 1m20s of 5m0s: 174243 executions, 9694 successful
    rsg_test.go:828: 1m25s of 5m0s: 185910 executions, 10267 successful
    rsg_test.go:828: 1m30s of 5m0s: 197014 executions, 10839 successful
    rsg_test.go:828: 1m35s of 5m0s: 208401 executions, 11452 successful
    rsg_test.go:828: 1m40s of 5m0s: 219964 executions, 12038 successful
    rsg_test.go:828: 1m45s of 5m0s: 231403 executions, 12598 successful
    rsg_test.go:828: 1m50s of 5m0s: 241629 executions, 13099 successful
    rsg_test.go:828: 1m55s of 5m0s: 250229 executions, 13519 successful
    rsg_test.go:828: 2m0s of 5m0s: 260809 executions, 14033 successful
    rsg_test.go:828: 2m5s of 5m0s: 272056 executions, 14592 successful
    rsg_test.go:828: 2m10s of 5m0s: 282532 executions, 15120 successful
    rsg_test.go:828: 2m15s of 5m0s: 293747 executions, 15677 successful
    rsg_test.go:828: 2m20s of 5m0s: 305262 executions, 16251 successful
    rsg_test.go:828: 2m25s of 5m0s: 317376 executions, 16825 successful
    rsg_test.go:828: 2m30s of 5m0s: 328009 executions, 17346 successful
    rsg_test.go:828: 2m35s of 5m0s: 339109 executions, 17934 successful
    rsg_test.go:828: 2m40s of 5m0s: 349850 executions, 18437 successful
    rsg_test.go:828: 2m45s of 5m0s: 360386 executions, 18971 successful
    rsg_test.go:828: 2m50s of 5m0s: 368753 executions, 19375 successful
    rsg_test.go:828: 2m55s of 5m0s: 375808 executions, 19719 successful
    rsg_test.go:828: 3m0s of 5m0s: 384262 executions, 20142 successful
    rsg_test.go:828: 3m5s of 5m0s: 395046 executions, 20670 successful
    rsg_test.go:828: 3m10s of 5m0s: 405363 executions, 21165 successful
    rsg_test.go:828: 3m15s of 5m0s: 415427 executions, 21629 successful
    rsg_test.go:828: 3m20s of 5m0s: 425905 executions, 22146 successful
    rsg_test.go:828: 3m25s of 5m0s: 436850 executions, 22617 successful
    rsg_test.go:828: 3m30s of 5m0s: 448559 executions, 23172 successful
    rsg_test.go:828: 3m35s of 5m0s: 460212 executions, 23713 successful
    rsg_test.go:828: 3m40s of 5m0s: 471657 executions, 24250 successful
    rsg_test.go:828: 3m45s of 5m0s: 482590 executions, 24705 successful
    rsg_test.go:828: 3m50s of 5m0s: 493174 executions, 25222 successful
    rsg_test.go:828: 3m55s of 5m0s: 500831 executions, 25575 successful
    rsg_test.go:828: 4m0s of 5m0s: 508124 executions, 25923 successful
    rsg_test.go:828: 4m5s of 5m0s: 519400 executions, 26487 successful
    rsg_test.go:828: 4m10s of 5m0s: 530219 executions, 26977 successful
    rsg_test.go:828: 4m15s of 5m0s: 541300 executions, 27487 successful
    rsg_test.go:828: 4m20s of 5m0s: 552404 executions, 27970 successful
    rsg_test.go:828: 4m25s of 5m0s: 563533 executions, 28497 successful
    rsg_test.go:828: 4m30s of 5m0s: 574989 executions, 29030 successful
    rsg_test.go:828: 4m35s of 5m0s: 587139 executions, 29588 successful
    rsg_test.go:828: 4m40s of 5m0s: 598588 executions, 30180 successful
    rsg_test.go:828: 4m45s of 5m0s: 610081 executions, 30721 successful
    rsg_test.go:828: 4m50s of 5m0s: 621955 executions, 31275 successful
    rsg_test.go:828: 4m55s of 5m0s: 633549 executions, 31836 successful
    rsg_test.go:864: 645304 executions, 32350 successful
    rsg_test.go:872: cannot parse output of Format: sql="PREPARE GREATEST ( INTERVAL [ ] ) AS CREATE TENANT NULL FROM REPLICATION OF NOTHING_AFTER_RETURNING . UNIQUE . * ON INTERVAL 'string' WITH OPTIONS ( RETENTION = TRUE )", formattedSQL="PREPARE \"greatest\" (INTERVAL[]) AS CREATE VIRTUAL CLUSTER NULL FROM REPLICATION OF \"nothing_after_returning\".unique.* ON 'string'::INTERVAL WITH RETENTION = true": at or near ":": syntax error
    rsg_test.go:302: -- test log scope end --
test logs left over in: /artifacts/tmp/_tmp/d437d2c847dfedbc4972f231c3331c8e/logTestRandomSyntaxGeneration1749448945
--- FAIL: TestRandomSyntaxGeneration (302.05s)
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

sql/tests.TestRandomSyntaxGeneration failed with artifacts on master @ 51aa6257c063f60fb76044f9cccc47e259930d00:

    rsg_test.go:828: 1m15s of 5m0s: 158818 executions, 8862 successful
    rsg_test.go:828: 1m20s of 5m0s: 170308 executions, 9441 successful
    rsg_test.go:828: 1m25s of 5m0s: 180685 executions, 10006 successful
    rsg_test.go:828: 1m30s of 5m0s: 181089 executions, 10023 successful
    rsg_test.go:828: 1m35s of 5m0s: 187784 executions, 10372 successful
    rsg_test.go:828: 1m40s of 5m0s: 199480 executions, 10989 successful
    rsg_test.go:828: 1m45s of 5m0s: 211331 executions, 11578 successful
    rsg_test.go:828: 1m50s of 5m0s: 223470 executions, 12227 successful
    rsg_test.go:828: 1m55s of 5m0s: 235090 executions, 12813 successful
    rsg_test.go:828: 2m0s of 5m0s: 247591 executions, 13468 successful
    rsg_test.go:828: 2m5s of 5m0s: 258802 executions, 14060 successful
    rsg_test.go:828: 2m10s of 5m0s: 269827 executions, 14588 successful
    rsg_test.go:828: 2m15s of 5m0s: 280520 executions, 15111 successful
    rsg_test.go:828: 2m20s of 5m0s: 290288 executions, 15614 successful
    rsg_test.go:828: 2m25s of 5m0s: 302322 executions, 16168 successful
    rsg_test.go:828: 2m30s of 5m0s: 314549 executions, 16752 successful
    rsg_test.go:828: 2m35s of 5m0s: 327026 executions, 17334 successful
    rsg_test.go:828: 2m40s of 5m0s: 339681 executions, 17937 successful
    rsg_test.go:828: 2m45s of 5m0s: 352097 executions, 18516 successful
    rsg_test.go:828: 2m50s of 5m0s: 363302 executions, 19065 successful
    rsg_test.go:828: 2m55s of 5m0s: 375908 executions, 19660 successful
    rsg_test.go:828: 3m0s of 5m0s: 387907 executions, 20245 successful
    rsg_test.go:828: 3m5s of 5m0s: 400102 executions, 20845 successful
    rsg_test.go:828: 3m10s of 5m0s: 411827 executions, 21396 successful
    rsg_test.go:828: 3m15s of 5m0s: 424052 executions, 21997 successful
    rsg_test.go:828: 3m20s of 5m0s: 435980 executions, 22548 successful
    rsg_test.go:828: 3m25s of 5m0s: 447859 executions, 23117 successful
    rsg_test.go:828: 3m30s of 5m0s: 459398 executions, 23605 successful
    rsg_test.go:828: 3m35s of 5m0s: 470125 executions, 24121 successful
    rsg_test.go:828: 3m40s of 5m0s: 481770 executions, 24665 successful
    rsg_test.go:828: 3m45s of 5m0s: 493312 executions, 25154 successful
    rsg_test.go:828: 3m50s of 5m0s: 505189 executions, 25734 successful
    rsg_test.go:828: 3m55s of 5m0s: 516011 executions, 26268 successful
    rsg_test.go:828: 4m0s of 5m0s: 527488 executions, 26786 successful
    rsg_test.go:828: 4m5s of 5m0s: 538798 executions, 27337 successful
    rsg_test.go:828: 4m10s of 5m0s: 550745 executions, 27892 successful
    rsg_test.go:828: 4m15s of 5m0s: 562969 executions, 28454 successful
    rsg_test.go:828: 4m20s of 5m0s: 574190 executions, 28965 successful
    rsg_test.go:828: 4m25s of 5m0s: 584998 executions, 29482 successful
    rsg_test.go:828: 4m30s of 5m0s: 595538 executions, 29961 successful
    rsg_test.go:828: 4m35s of 5m0s: 605287 executions, 30416 successful
    rsg_test.go:828: 4m40s of 5m0s: 609026 executions, 30593 successful
    rsg_test.go:828: 4m45s of 5m0s: 609026 executions, 30593 successful
    rsg_test.go:828: 4m50s of 5m0s: 609350 executions, 30616 successful
    rsg_test.go:828: 4m55s of 5m0s: 621194 executions, 31169 successful
    rsg_test.go:864: 633074 executions, 31761 successful
    rsg_test.go:872: cannot parse output of Format: sql="CREATE TENANT IF NOT EXISTS 0 FROM REPLICATION OF PLACEHOLDER ON INTERVAL 'string'", formattedSQL="CREATE VIRTUAL CLUSTER IF NOT EXISTS 0 FROM REPLICATION OF placeholder ON 'string'::INTERVAL": at or near ":": syntax error
    rsg_test.go:302: -- test log scope end --
test logs left over in: /artifacts/tmp/_tmp/d437d2c847dfedbc4972f231c3331c8e/logTestRandomSyntaxGeneration1117456372
--- FAIL: TestRandomSyntaxGeneration (302.01s)
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@chengxiong-ruan chengxiong-ruan self-assigned this Jul 28, 2023
@cockroach-teamcity
Copy link
Member Author

sql/tests.TestRandomSyntaxGeneration failed with artifacts on master @ f295bd861a3a427652b19c2254d2401ebb4a3c8e:

Random syntax error:

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

Query:

        DROP DATABASE ident;
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

sql/tests.TestRandomSyntaxGeneration failed with artifacts on master @ f295bd861a3a427652b19c2254d2401ebb4a3c8e:

    rsg_test.go:828: 1m15s of 5m0s: 164541 executions, 9210 successful
    rsg_test.go:828: 1m20s of 5m0s: 169898 executions, 9461 successful
    rsg_test.go:828: 1m25s of 5m0s: 174039 executions, 9688 successful
    rsg_test.go:828: 1m30s of 5m0s: 180650 executions, 10036 successful
    rsg_test.go:828: 1m35s of 5m0s: 186079 executions, 10263 successful
    rsg_test.go:828: 1m40s of 5m0s: 191470 executions, 10523 successful
    rsg_test.go:828: 1m45s of 5m0s: 196724 executions, 10780 successful
    rsg_test.go:828: 1m50s of 5m0s: 201681 executions, 11038 successful
    rsg_test.go:828: 1m55s of 5m0s: 206676 executions, 11295 successful
    rsg_test.go:828: 2m0s of 5m0s: 211961 executions, 11541 successful
    rsg_test.go:828: 2m5s of 5m0s: 217323 executions, 11834 successful
    rsg_test.go:828: 2m10s of 5m0s: 222657 executions, 12099 successful
    rsg_test.go:828: 2m15s of 5m0s: 228179 executions, 12362 successful
    rsg_test.go:828: 2m20s of 5m0s: 233509 executions, 12595 successful
    rsg_test.go:828: 2m25s of 5m0s: 238932 executions, 12857 successful
    rsg_test.go:828: 2m30s of 5m0s: 243913 executions, 13104 successful
    rsg_test.go:828: 2m35s of 5m0s: 249220 executions, 13372 successful
    rsg_test.go:828: 2m40s of 5m0s: 254175 executions, 13625 successful
    rsg_test.go:828: 2m45s of 5m0s: 259236 executions, 13852 successful
    rsg_test.go:828: 2m50s of 5m0s: 264334 executions, 14104 successful
    rsg_test.go:828: 2m55s of 5m0s: 268923 executions, 14313 successful
    rsg_test.go:828: 3m0s of 5m0s: 273488 executions, 14546 successful
    rsg_test.go:828: 3m5s of 5m0s: 278063 executions, 14756 successful
    rsg_test.go:828: 3m10s of 5m0s: 282535 executions, 14960 successful
    rsg_test.go:828: 3m15s of 5m0s: 286866 executions, 15185 successful
    rsg_test.go:828: 3m20s of 5m0s: 291462 executions, 15401 successful
    rsg_test.go:828: 3m25s of 5m0s: 296070 executions, 15632 successful
    rsg_test.go:828: 3m30s of 5m0s: 300817 executions, 15844 successful
    rsg_test.go:828: 3m35s of 5m0s: 305423 executions, 16071 successful
    rsg_test.go:828: 3m40s of 5m0s: 310077 executions, 16273 successful
    rsg_test.go:828: 3m45s of 5m0s: 314857 executions, 16498 successful
    rsg_test.go:828: 3m50s of 5m0s: 319375 executions, 16721 successful
    rsg_test.go:828: 3m55s of 5m0s: 324116 executions, 16951 successful
    rsg_test.go:828: 4m0s of 5m0s: 328806 executions, 17187 successful
    rsg_test.go:828: 4m5s of 5m0s: 333191 executions, 17394 successful
    rsg_test.go:828: 4m10s of 5m0s: 337706 executions, 17616 successful
    rsg_test.go:828: 4m15s of 5m0s: 342497 executions, 17817 successful
    rsg_test.go:828: 4m20s of 5m0s: 347276 executions, 18043 successful
    rsg_test.go:828: 4m25s of 5m0s: 352095 executions, 18261 successful
    rsg_test.go:828: 4m30s of 5m0s: 356710 executions, 18493 successful
    rsg_test.go:828: 4m35s of 5m0s: 361405 executions, 18719 successful
    rsg_test.go:828: 4m40s of 5m0s: 366665 executions, 18973 successful
    rsg_test.go:828: 4m45s of 5m0s: 372006 executions, 19228 successful
    rsg_test.go:828: 4m50s of 5m0s: 376947 executions, 19448 successful
    rsg_test.go:828: 4m55s of 5m0s: 381952 executions, 19687 successful
    rsg_test.go:864: 387040 executions, 19914 successful
    rsg_test.go:872: cannot parse output of Format: sql="SHOW BACKUP CONNECTION PLACEHOLDER WITH TRANSFER = PLACEHOLDER , TIME = PLACEHOLDER", formattedSQL="SHOW BACKUP CONNECTION 'placeholder' WITH TIME = 'placeholder', TRANSFER = 'placeholder'": at or near "with": syntax error
    rsg_test.go:302: -- test log scope end --
test logs left over in: /artifacts/tmp/_tmp/d437d2c847dfedbc4972f231c3331c8e/logTestRandomSyntaxGeneration2536080764
--- FAIL: TestRandomSyntaxGeneration (302.06s)
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

sql/tests.TestRandomSyntaxGeneration failed with artifacts on master @ e57e9742146b7fac7f7530fa6224e11121ada92f:

    rsg_test.go:828: 1m20s of 5m0s: 185098 executions, 10111 successful
    rsg_test.go:828: 1m25s of 5m0s: 196934 executions, 10708 successful
    rsg_test.go:828: 1m30s of 5m0s: 207874 executions, 11306 successful
    rsg_test.go:828: 1m35s of 5m0s: 219307 executions, 11878 successful
    rsg_test.go:828: 1m40s of 5m0s: 230342 executions, 12463 successful
    rsg_test.go:828: 1m45s of 5m0s: 241057 executions, 13017 successful
    rsg_test.go:828: 1m50s of 5m0s: 252567 executions, 13559 successful
    rsg_test.go:828: 1m55s of 5m0s: 263952 executions, 14174 successful
    rsg_test.go:828: 2m0s of 5m0s: 275194 executions, 14742 successful
    rsg_test.go:828: 2m5s of 5m0s: 285644 executions, 15268 successful
    rsg_test.go:828: 2m10s of 5m0s: 289801 executions, 15445 successful
    rsg_test.go:828: 2m15s of 5m0s: 302011 executions, 16050 successful
    rsg_test.go:828: 2m20s of 5m0s: 312344 executions, 16532 successful
    rsg_test.go:828: 2m25s of 5m0s: 317900 executions, 16816 successful
    rsg_test.go:828: 2m30s of 5m0s: 323217 executions, 17069 successful
    rsg_test.go:828: 2m35s of 5m0s: 328548 executions, 17340 successful
    rsg_test.go:828: 2m40s of 5m0s: 333689 executions, 17568 successful
    rsg_test.go:828: 2m45s of 5m0s: 338499 executions, 17802 successful
    rsg_test.go:828: 2m50s of 5m0s: 343751 executions, 18058 successful
    rsg_test.go:828: 2m55s of 5m0s: 348948 executions, 18301 successful
    rsg_test.go:828: 3m0s of 5m0s: 354545 executions, 18592 successful
    rsg_test.go:828: 3m5s of 5m0s: 359937 executions, 18845 successful
    rsg_test.go:828: 3m10s of 5m0s: 365345 executions, 19103 successful
    rsg_test.go:828: 3m15s of 5m0s: 370548 executions, 19356 successful
    rsg_test.go:828: 3m20s of 5m0s: 375677 executions, 19590 successful
    rsg_test.go:828: 3m25s of 5m0s: 380700 executions, 19847 successful
    rsg_test.go:828: 3m30s of 5m0s: 385569 executions, 20089 successful
    rsg_test.go:828: 3m35s of 5m0s: 390272 executions, 20334 successful
    rsg_test.go:828: 3m40s of 5m0s: 395357 executions, 20595 successful
    rsg_test.go:828: 3m45s of 5m0s: 401785 executions, 20919 successful
    rsg_test.go:828: 3m50s of 5m0s: 409884 executions, 21306 successful
    rsg_test.go:828: 3m55s of 5m0s: 418134 executions, 21695 successful
    rsg_test.go:828: 4m0s of 5m0s: 426527 executions, 22067 successful
    rsg_test.go:828: 4m5s of 5m0s: 434627 executions, 22415 successful
    rsg_test.go:828: 4m10s of 5m0s: 442145 executions, 22772 successful
    rsg_test.go:828: 4m15s of 5m0s: 451289 executions, 23213 successful
    rsg_test.go:828: 4m20s of 5m0s: 460101 executions, 23641 successful
    rsg_test.go:828: 4m25s of 5m0s: 468252 executions, 24056 successful
    rsg_test.go:828: 4m30s of 5m0s: 476980 executions, 24440 successful
    rsg_test.go:828: 4m35s of 5m0s: 485252 executions, 24851 successful
    rsg_test.go:828: 4m40s of 5m0s: 494261 executions, 25248 successful
    rsg_test.go:828: 4m45s of 5m0s: 502697 executions, 25636 successful
    rsg_test.go:828: 4m50s of 5m0s: 510317 executions, 25986 successful
    rsg_test.go:828: 4m55s of 5m0s: 517260 executions, 26336 successful
    rsg_test.go:828: 5m0s of 5m0s: 524050 executions, 26662 successful
    rsg_test.go:864: 524051 executions, 26663 successful
    rsg_test.go:872: cannot parse output of Format: sql="EXPORT INTO BIT PLACEHOLDER WITH OPTIONS ( BUCKET_COUNT ) FROM TABLE error", formattedSQL="EXPORT INTO BIT 'placeholder' WITH bucket_count FROM TABLE error": at or near "with": syntax error
    rsg_test.go:302: -- test log scope end --
test logs left over in: /artifacts/tmp/_tmp/d437d2c847dfedbc4972f231c3331c8e/logTestRandomSyntaxGeneration2324866749
--- FAIL: TestRandomSyntaxGeneration (302.13s)
Help

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

Same failure on other branches

This test on roachdash | Improve this report!

chengxiong-ruan added a commit to chengxiong-ruan/cockroach that referenced this issue Jul 31, 2023
Informs: cockroachdb#99185

This commit cherry-picked changes from cockroachdb#107723 and add fixes
for formatting `EXPORT` options.

Release note: None
@cockroach-teamcity
Copy link
Member Author

sql/tests.TestRandomSyntaxGeneration failed with artifacts on master @ fcfa15d9694c0b840ac0c5c1b1489fa90a62efd8:

    rsg_test.go:832: 1m15s of 5m0s: 143154 executions, 8153 successful
    rsg_test.go:832: 1m20s of 5m0s: 154582 executions, 8812 successful
    rsg_test.go:832: 1m25s of 5m0s: 165752 executions, 9442 successful
    rsg_test.go:832: 1m30s of 5m0s: 177178 executions, 10082 successful
    rsg_test.go:832: 1m35s of 5m0s: 188726 executions, 10671 successful
    rsg_test.go:832: 1m40s of 5m0s: 200016 executions, 11270 successful
    rsg_test.go:832: 1m45s of 5m0s: 211301 executions, 11842 successful
    rsg_test.go:832: 1m50s of 5m0s: 222967 executions, 12388 successful
    rsg_test.go:832: 1m55s of 5m0s: 234640 executions, 13009 successful
    rsg_test.go:832: 2m0s of 5m0s: 246398 executions, 13614 successful
    rsg_test.go:832: 2m5s of 5m0s: 257746 executions, 14158 successful
    rsg_test.go:832: 2m10s of 5m0s: 269095 executions, 14722 successful
    rsg_test.go:832: 2m15s of 5m0s: 280327 executions, 15276 successful
    rsg_test.go:832: 2m20s of 5m0s: 291495 executions, 15792 successful
    rsg_test.go:832: 2m25s of 5m0s: 300611 executions, 16273 successful
    rsg_test.go:832: 2m30s of 5m0s: 307886 executions, 16654 successful
    rsg_test.go:832: 2m35s of 5m0s: 314910 executions, 16995 successful
    rsg_test.go:832: 2m40s of 5m0s: 322113 executions, 17339 successful
    rsg_test.go:832: 2m45s of 5m0s: 329320 executions, 17679 successful
    rsg_test.go:832: 2m50s of 5m0s: 336706 executions, 17998 successful
    rsg_test.go:832: 2m55s of 5m0s: 343513 executions, 18288 successful
    rsg_test.go:832: 3m0s of 5m0s: 350086 executions, 18586 successful
    rsg_test.go:832: 3m5s of 5m0s: 357304 executions, 18898 successful
    rsg_test.go:832: 3m10s of 5m0s: 363669 executions, 19229 successful
    rsg_test.go:832: 3m15s of 5m0s: 370293 executions, 19537 successful
    rsg_test.go:832: 3m20s of 5m0s: 376720 executions, 19850 successful
    rsg_test.go:832: 3m25s of 5m0s: 383412 executions, 20175 successful
    rsg_test.go:832: 3m30s of 5m0s: 389556 executions, 20489 successful
    rsg_test.go:832: 3m35s of 5m0s: 396064 executions, 20763 successful
    rsg_test.go:832: 3m40s of 5m0s: 402003 executions, 21033 successful
    rsg_test.go:832: 3m45s of 5m0s: 406981 executions, 21260 successful
    rsg_test.go:832: 3m50s of 5m0s: 411467 executions, 21462 successful
    rsg_test.go:832: 3m55s of 5m0s: 415968 executions, 21662 successful
    rsg_test.go:832: 4m0s of 5m0s: 420506 executions, 21857 successful
    rsg_test.go:832: 4m5s of 5m0s: 425120 executions, 22090 successful
    rsg_test.go:832: 4m10s of 5m0s: 430038 executions, 22335 successful
    rsg_test.go:832: 4m15s of 5m0s: 435060 executions, 22601 successful
    rsg_test.go:832: 4m20s of 5m0s: 439489 executions, 22812 successful
    rsg_test.go:832: 4m25s of 5m0s: 444010 executions, 23031 successful
    rsg_test.go:832: 4m30s of 5m0s: 448379 executions, 23244 successful
    rsg_test.go:832: 4m35s of 5m0s: 452773 executions, 23463 successful
    rsg_test.go:832: 4m40s of 5m0s: 457194 executions, 23676 successful
    rsg_test.go:832: 4m45s of 5m0s: 461718 executions, 23884 successful
    rsg_test.go:832: 4m50s of 5m0s: 465891 executions, 24080 successful
    rsg_test.go:832: 4m55s of 5m0s: 470217 executions, 24268 successful
    rsg_test.go:868: 474501 executions, 24478 successful
    rsg_test.go:876: cannot parse output of Format: sql="CREATE TENANT IF NOT EXISTS MULTIPOLYGON 'string' FROM REPLICATION OF ( ( ) AS IF , ident , ident ) ON CHAR VARYING ( 18 ) 'string' WITH RETENTION = INTERVAL 'string'", formattedSQL="CREATE VIRTUAL CLUSTER IF NOT EXISTS (multipolygon 'string') FROM REPLICATION OF ((() AS \"if\", ident, ident)) ON VARCHAR(18) 'string' WITH RETENTION = 'string'::INTERVAL": at or near ":": syntax error
    rsg_test.go:302: -- test log scope end --
test logs left over in: /artifacts/tmp/_tmp/d437d2c847dfedbc4972f231c3331c8e/logTestRandomSyntaxGeneration1548407951
--- FAIL: TestRandomSyntaxGeneration (302.13s)
Help

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

This test on roachdash | Improve this report!

@chengxiong-ruan
Copy link
Contributor

sql/tests.TestRandomSyntaxGeneration failed with artifacts on master @ f295bd861a3a427652b19c2254d2401ebb4a3c8e:

Random syntax error:

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

Query:

        DROP DATABASE ident;

Help
Same failure on other branches
This test on roachdash | Improve this report!

Looks like we expected and caught this error. the real Failure is :

rsg_test.go:828: 4m55s of 5m0s: 423941 executions, 21676 successful
    rsg_test.go:864: 428066 executions, 21837 successful
    rsg_test.go:872: cannot parse output of Format: sql="IMPORT TABLE NOTHING_AFTER_RETURNING FROM ident ( PLACEHOLDER ) WITH OPTIONS ( BUCKET_COUNT = INTEGER )", formattedSQL="IMPORT TABLE \"nothing_after_returning\" FROM IDENT 'placeholder' WITH bucket_count = 'integer'": at or near "with": syntax error
    rsg_test.go:302: -- test log scope end --
test logs left over in: /artifacts/tmp/_tmp/d437d2c847dfedbc4972f231c3331c8e/logTestRandomSyntaxGeneration3287615470

@rafiss
Copy link
Collaborator

rafiss commented Aug 1, 2023

@chengxiong-ruan we can move this over to the Queries team so they can work on the IMPORT syntax issue.

@chengxiong-ruan
Copy link
Contributor

@rafiss I already have fix for them in #107892

craig bot pushed a commit that referenced this issue Aug 2, 2023
107279: sql: remove isInternalPlanner boolean r=yuzefovich a=yuzefovich

This boolean is very confusing and can mislead people, so let's remove it.

It was introduced in bf9ffe9 with one specific use case in mind: lease management for user defined types when the execution flow occurs in the context of a user transaction. In that scenario, the execution engine uses the planner's `descs.Collection` when running the local plan. However, I don't see the reason why we cannot do the same thing for queries outside of the user transaction (where we have the "internal planner" object), so this commit removes that extra conditional. That said, I don't quite understand how these things work, but we can always go back to not using the planner's collection for "internal planners" (we'd name the boolean differently though) if we see any fallout.

Epic: None
Release note: None

107834: roachtest: require stability in rebalance by load roachtests r=andrewbaptist a=kvoli

The `rebalance/by-load` roachtests collect timeseries data from the
cluster. If these tests started quickly enough, no datapoints could
exist which would cause a out of bounds array exception.

Handle the no datapoints case, and log a message without failing the
test.

Informs: #107247

----

The `rebalance/by-load` roachtests would immediately pass once the
balance target was hit. However, it was possible that the cluster was
only transiently balanced.

Bump the timeout of all tests to be uniformly 10 minutes, from a
previous 5 minutes, require that the load remains balanced for at
least 1 minute to pass.

Informs: #107247

Release note: None

107892: sql: fix formatting of import, backup and create tenant r=chengxiong-ruan a=chengxiong-ruan

Informs: #99185

This commit cherry-picked changes from #107723 and add fixes for formatting `EXPORT` and `CHANGEFEED` options.

Release note: None

107955: roachtest: increase the concurrency for gracefuldraining r=kvoli a=andrewbaptist

This set of commits changes gracefuldraining to use the `measureQPS` method instead of looking at the stats from the stats database and additionally increases the concurrency so it no longer fails.

Co-authored-by: Yahor Yuzefovich <[email protected]>
Co-authored-by: Austen McClernon <[email protected]>
Co-authored-by: Chengxiong Ruan <[email protected]>
Co-authored-by: Andrew Baptist <[email protected]>
annrpom pushed a commit to annrpom/cockroach that referenced this issue Aug 7, 2023
Informs: cockroachdb#99185

This commit cherry-picked changes from cockroachdb#107892.

Release note: None
Fixes: cockroachdb#108254 and cockroachdb#108233 (partially)
Release justification: fixes bug with random syntax generation
annrpom pushed a commit to annrpom/cockroach that referenced this issue Aug 8, 2023
Informs: cockroachdb#99185

This commit cheery-picked changes from cockroachdb#107892

Release note: None
Fixes: cockroachdb#108233
Release justification: fixes bug with random syntax generation
mgartner pushed a commit to mgartner/cockroach that referenced this issue Aug 28, 2023
Informs: cockroachdb#99185

This commit cherry-picked changes from cockroachdb#107723 and add fixes
for formatting `EXPORT` options.

Release note: None
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

3 participants