oxidecomputer / oxidecomputer/maghemite
test flake: intermittent ddm test failures
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 94
- Forks
- 6
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 12
Description
The ddm tests have an intermittent failure that occurs randomly. I believe this is a race condition between the Dendrite SMF service being completely ready (e.g. the SMF service reports up but dpd is not able to handle requests yet) in a switch zone and ddm's attempt to use the dpd API. We have a statically defined wait period in the test code - but this likely needs to be made more robust.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the ddm tests and locate the statically defined wait period used before the Dendrite SMF service and dpd API are accessed. Reproduce the intermittent failure if possible, then trace the switch-zone readiness path. Done means the tests reliably wait for dpd to handle requests and pass repeatedly without the race.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- networking, testing-qa
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100