canonical / canonical/authd

Flaky test TestGdmModel

Open
#1,092 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
308
Forks
41
Avg merge
2d 4h
Merged PRs (30d)
58

Description

I'm seeing both

```
TestGdmModel/Authenticated_with_preset_PAM_user_updated_and_server_side_broker_and_authMode_selection`
```

and

```
TestGdmModel/Authenticated_after_auth_selection_stage_from_client_after_client_side_broker_and_auth_mode_selection_if_there_is_only_one_auth_mode
```

fail very frequently in the `autopkgtest` CI jobs:

* https://github.com/ubuntu/authd/actions/runs/17977117879/job/51134399827?pr=1087#step:4:34788
* https://github.com/ubuntu/authd/actions/runs/18007390035/job/51231956033?pr=1091#step:4:34823
* https://github.com/ubuntu/authd/actions/runs/18007390035/job/51231956030?pr=1091#step:4:34360
* https://github.com/ubuntu/authd/actions/runs/18007390035/job/51231956009?pr=1091#step:4:34089

Contributor guide

Open the contributing guide

Research direction

Start with the named TestGdmModel subtests and the linked autopkgtest CI job logs, then reproduce the failures in the same CI environment. Trace why these two cases are nondeterministic and verify that both pass reliably across repeated autopkgtest runs.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.