cockroachdb / cockroach

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

sql/importer: TestImportComputed failed #135894

Open cockroach-teamcity opened 11 hours ago

cockroach-teamcity commented 11 hours ago

sql/importer.TestImportComputed failed on master @ feec8b9a9cf1fdb35b60bda3bba5733e6a9e434a:

=== RUN   TestImportComputed
    test_log_scope.go:165: test logs captured to: outputs.zip/logTestImportComputed2015893916
    test_log_scope.go:76: use -show-logs to present logs inline
    test_server_shim.go:152: automatically injected a shared process virtual cluster under test; see comment at top of test_server_shim.go for details.
    import_stmt_test.go:4945: -- test log scope end --
test logs left over in: outputs.zip/logTestImportComputed2015893916
--- FAIL: TestImportComputed (580.46s)
=== RUN   TestImportComputed/pgdump
    import_stmt_test.go:4940: error executing query="IMPORT PGDUMP (\"http://127.0.0.1:42727\")" args=[]: pq: relation "users" already exists
    --- FAIL: TestImportComputed/pgdump (98.63s)
=== RUN   TestImportComputed/import-into-avro
    import_stmt_test.go:4940: error executing query="IMPORT INTO users (a, b) AVRO DATA (\"http://127.0.0.1:42727\")" args=[]: pq: job 1022746023144849409: could not mark as reverting: job 1022746023144849409: with status "running": expected session "010180ba1325f9307d4e7ebcd06e141a3d2e57" but found NULL
    panic.go:626: error executing query="DROP TABLE IF EXISTS users" args=[]: pq: relation "users" is offline: importing
    --- FAIL: TestImportComputed/import-into-avro (104.94s)
=== RUN   TestImportComputed/import-into-avro-expression-index
    import_stmt_test.go:4931: error executing query="CREATE TABLE users (a INT, b INT, INDEX ((a + b)))" args=[]: pq: relation "defaultdb.public.users" already exists
    panic.go:626: error executing query="DROP TABLE IF EXISTS users" args=[]: pq: relation "users" is offline: importing
    --- FAIL: TestImportComputed/import-into-avro-expression-index (6.23s)

Parameters:

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

This test on roachdash | Improve this report!

Jira issue: CRDB-44776