Skip to content

[Bug]: TestIntegerArithmeticWidth times out dropping its database in x86 race UT #33161

Done

Description

@ck89119

Is there an existing issue for the same bug?

  • I have checked the existing issues.

I searched open and closed issues for the test, schema, and SQL cleanup error. #32829 mentions the test as evidence for arithmetic CTAS behavior. #31781 records a similar cleanup timeout in other cases, and #32745 already tracks the independent hidden-index timeout from this lane.

Branch Name

PR #33146 against main

Commit ID

PR head 40c83f79b45e83b6a956cc5d08e2921811202f06 as recorded by the job.

Other Environment Information

Linux/amd64 race UT, Go 1.27.1, 8-core/16 GiB runner.

Actual Behavior

All eight subtests of TestIntegerArithmeticWidth passed. The parent test failed at teardown with:

integer_arithmetic_width_test.go:329: SQL integration cleanup: drop database if exists integer_arithmetic_width: context deadline exceeded
--- FAIL: TestIntegerArithmeticWidth (244.21s)

The CN log records the same DROP DATABASE ending with context canceled at 09:38:14 UTC. The cleanup uses its own bounded context.

Expected Behavior

The database is removed before the shared fixture is released, and the test completes successfully.

Steps to Reproduce

Run the Ubuntu/x86 CI UT lane with make ut UT_CONFIGURED=1 UT_PARALLEL=8 UT_TIMEOUT=40 UT_SHARD=all. Inspect the pkg/tests/sqlintegration result for the cleanup failure. This is an observation from one CI run.

Additional information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

kind/bugneeds-triage

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions