fire::minimum_signers_* v1 tests are load-sensitive
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 55/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- rust
- Domain
- cryptography, testing
Research direction
Start with fire::test::minimum_signers_dkg_v1 and fire::test::minimum_signers_sign_v1, then inspect the timeout paths and the operation_results.len() == 1 assertions. Reproduce the load-sensitive failure by running the tests under load and compare with an isolated run. Done when the timeout behavior is deterministic or safely accommodates slow runners, with any timing rationale documented.
Written by the indexing model from the issue text.
Description
Problem
fire::test::minimum_signers_dkg_v1 and fire::test::minimum_signers_sign_v1 have failed under load on two separate occasions on the same machine (once with a VM at ~590% CPU, once with a concurrent cargo build), failing at the operation_results.len() == 1 assertion after a timeout-driven path. They pass in isolation and on a quiet machine, on clean main as well as on the 15.0.1 tree, so this is not a regression from GHSA-whwx-jj37-4gg5. On a slow CI runner it will eventually fail, and the natural misreading will be that the security fix broke FIRE.
Fix
Either make the timeout-based tests independent of wall-clock timing (inject a clock, or drive the timeout deterministically), or raise the timeouts well past anything a loaded runner can hit and document why.
- Dominant language
- Rust
- Stars
- 34
- Forks
- 19
- Avg merge
- 9h 19m
- Merged PRs (30d)
- 12
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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.
More from xoloki/wsts
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
Maintainers usually reply within 1 day
Similar issues
-
My Caps shows "Shared" on private Caps that were never sharedPossibly taken @AksharP5 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
CapSoftware/Cap#4569 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Document Web UIOpen
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
parquet: reject truncated BYTE_STREAM_SPLIT numeric pages instead of silently fabricating valuesOpenbug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day