Skip to content

AuthService test unit tests fail more frequently than other test suites in CI #6002

Description

@MMilosz

Describe the bug

It seems the AuthService test suite fails more often than other test suites during the GitHub Actions build step, and these failures do not happen locally.

Interestingly, re-triggering the build step makes the tests pass, suggesting a possible race condition, cache problems, or other timing-sensitive issue within the AuthService (or its test setup)

To Reproduce

  1. Go to the GitHub Actions Build workflow page.
  2. Look for recent non-CRIS, non-Dependabot triggered builds (status doesn't matter).
  3. (Optional) In the top right of a build summary, check the 'Attempts' dropdown and select the latest failed build.
  4. Scroll down to the 'Annotations' section for the 'tests (22.x)' or 'tests (20.x)' job. In most cases, the failure comes from the AuthService test.

Examples

Expected behavior

The AuthService test suite should pass consistently like other test suites

Related work

Metadata

Metadata

Assignees

Labels

bugtesting frameworkRelated specifically to Unit or Integration (e2e) Tests

Type

Projects

Status
🏗 In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions