You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
race condition bug or a flaky test: TestAddMultipleGCLive #10487
Not sure if this is a flaky test, or a sign of underlying bug.
We should look into this in spare time.
Confirmed this is pretty old bug, reproduces with v0.23.0 and v0.29.0, and the latest master for 0.30.0-rc1.
Not a big surprise, MFS has always been flaky (#8131),
just documenting here so the next person does not waste time on debugging "new bug".
To reproduce, keep runing TestAddMultipleGCLive many times, it will eventually deadlock on something and produce a timeout:
$ while go test -run TestAddMultipleGCLive -count 100 -timeout 10s ./core/coreunix/...;do sleep 1;doneok github.com/ipfs/kubo/core/coreunix 0.241sok github.com/ipfs/kubo/core/coreunix 0.339sok github.com/ipfs/kubo/core/coreunix 0.267sok github.com/ipfs/kubo/core/coreunix 0.253spanic: test timed out after 10s running tests: TestAddMultipleGCLive (10s)[.. a long stack for panic ..]
Activity