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.05k stars 3.8k forks source link

pkg/server/application_api/application_api_test: TestAdminAPITableDetails failed #116767

Closed cockroach-teamcity closed 9 months ago

cockroach-teamcity commented 10 months ago

pkg/server/application_api/application_api_test.TestAdminAPITableDetails failed on master @ 5f76d93b2ad8d29c14c9b176753ec33cbf81e3fe:

=== RUN   TestAdminAPITableDetails
    test_log_scope.go:170: test logs captured to: outputs.zip/logTestAdminAPITableDetails755410945
    test_log_scope.go:81: use -show-logs to present logs inline
    schema_inspection_test.go:421: -- test log scope end --
test logs left over in: outputs.zip/logTestAdminAPITableDetails755410945
--- FAIL: TestAdminAPITableDetails (253.29s)
=== RUN   TestAdminAPITableDetails/lower
    test_server_shim.go:157: automatically injected an external process virtual cluster under test; see comment at top of test_server_shim.go for details.
    schema_inspection_test.go:299: executing: CREATE DATABASE test
    schema_inspection_test.go:299: executing: CREATE SCHEMA test.testschema
    schema_inspection_test.go:299: executing: CREATE TABLE test.tbl (nulls_allowed INT8,
                                    nulls_not_allowed INT8 NOT NULL DEFAULT 1000,
                                    default2 INT8 DEFAULT 2,
                                    string_default STRING DEFAULT 'default_string',
                                  INDEX descidx (default2 DESC))
    schema_inspection_test.go:299: executing: CREATE USER readonly
    schema_inspection_test.go:299: executing: CREATE USER app
    schema_inspection_test.go:299: executing: GRANT SELECT ON test.tbl TO readonly
    schema_inspection_test.go:299: executing: GRANT SELECT,UPDATE,DELETE ON test.tbl TO app
    schema_inspection_test.go:299: executing: CREATE STATISTICS test_stats FROM test.tbl
    schema_inspection_test.go:309: Get "https://127.0.0.1:40995/_admin/v1/databases/test/tables/tbl": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
    --- FAIL: TestAdminAPITableDetails/lower (64.12s)
=== RUN   TestAdminAPITableDetails/lower_with_space
    test_server_shim.go:157: automatically injected a shared process virtual cluster under test; see comment at top of test_server_shim.go for details.
    schema_inspection_test.go:299: executing: CREATE DATABASE "test test"
    schema_inspection_test.go:299: executing: CREATE SCHEMA "test test".testschema
    schema_inspection_test.go:299: executing: CREATE TABLE "test test"."tbl tbl" (nulls_allowed INT8,
                                    nulls_not_allowed INT8 NOT NULL DEFAULT 1000,
                                    default2 INT8 DEFAULT 2,
                                    string_default STRING DEFAULT 'default_string',
                                  INDEX descidx (default2 DESC))
    schema_inspection_test.go:299: executing: CREATE USER readonly
    schema_inspection_test.go:299: executing: CREATE USER app
    schema_inspection_test.go:299: executing: GRANT SELECT ON "test test"."tbl tbl" TO readonly
    schema_inspection_test.go:299: executing: GRANT SELECT,UPDATE,DELETE ON "test test"."tbl tbl" TO app
    schema_inspection_test.go:299: executing: CREATE STATISTICS test_stats FROM "test test"."tbl tbl"
    schema_inspection_test.go:309: Get "https://127.0.0.1:36449/_admin/v1/databases/test%20test/tables/%22tbl%20tbl%22?cluster=test-tenant": net/http: request canceled (Client.Timeout exceeded while awaiting headers)
    --- FAIL: TestAdminAPITableDetails/lower_with_space (68.28s)

Parameters:

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

/cc @cockroachdb/unowned

This test on roachdash | Improve this report!

Jira issue: CRDB-34769

cockroach-teamcity commented 10 months ago

pkg/server/application_api/application_api_test.TestAdminAPITableDetails failed on master @ 53e4efd389167110d687e5dea8bf915fe2582a25:

=== RUN   TestAdminAPITableDetails
    test_log_scope.go:170: test logs captured to: outputs.zip/logTestAdminAPITableDetails2692484190
    test_log_scope.go:81: use -show-logs to present logs inline
    schema_inspection_test.go:421: -- test log scope end --
test logs left over in: outputs.zip/logTestAdminAPITableDetails2692484190
--- FAIL: TestAdminAPITableDetails (202.63s)
=== RUN   TestAdminAPITableDetails/lower_with_space
    test_server_shim.go:168: automatically injected a shared process virtual cluster under test; see comment at top of test_server_shim.go for details.
    schema_inspection_test.go:299: executing: CREATE DATABASE "test test"
    schema_inspection_test.go:299: executing: CREATE SCHEMA "test test".testschema
    schema_inspection_test.go:299: executing: CREATE TABLE "test test"."tbl tbl" (nulls_allowed INT8,
                                    nulls_not_allowed INT8 NOT NULL DEFAULT 1000,
                                    default2 INT8 DEFAULT 2,
                                    string_default STRING DEFAULT 'default_string',
                                  INDEX descidx (default2 DESC))
    schema_inspection_test.go:299: executing: CREATE USER readonly
    schema_inspection_test.go:299: executing: CREATE USER app
    schema_inspection_test.go:299: executing: GRANT SELECT ON "test test"."tbl tbl" TO readonly
    schema_inspection_test.go:299: executing: GRANT SELECT,UPDATE,DELETE ON "test test"."tbl tbl" TO app
    schema_inspection_test.go:299: executing: CREATE STATISTICS test_stats FROM "test test"."tbl tbl"
    schema_inspection_test.go:309: Get "https://127.0.0.1:40003/_admin/v1/databases/test%20test/tables/%22tbl%20tbl%22?cluster=test-tenant": net/http: request canceled (Client.Timeout exceeded while awaiting headers)
    --- FAIL: TestAdminAPITableDetails/lower_with_space (67.64s)

Parameters:

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

This test on roachdash | Improve this report!

rickystewart commented 9 months ago

Pre-emptively closing (internal link) -- feel free to re-open if necessary for any reason.