Skip to content

Flaky test: TestServiceLifecycle_Stop/user_stop:_forceful #2521

Description

@devarismeroxa

TestServiceLifecycle_Stop/user_stop:_forceful (pkg/lifecycle) is flaky in CI. It has spuriously failed the test job on at least two unrelated PRs (#2516 Docker fix, #2520 SIGTERM fix), each passing on re-run. Locally it passed 10/10 with -count=10.

The subtest is the forceful-stop path, which is timing/goroutine-scheduling sensitive under CI load. It's a CI-reliability problem — it blocks unrelated PRs and trains maintainers to re-run red, which is how real failures get missed.

Action: make the forceful-stop assertion deterministic (synchronize on the actual stop signal rather than a timing window), or quarantine it with a tracked skip until fixed. In the same lifecycle-concurrency territory as #1659 and the SIGTERM force-stop follow-up (#2519).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions