agora icon indicating copy to clipboard operation
agora copied to clipboard

Unittests sometimes deadlock

Open Geod24 opened this issue 3 years ago • 5 comments

I'm seeing unittest getting stuck and just timing out.

Example from recently:

Unittesting agora.test.InvalidBlockSigByzantine (took 4 secs, 398 ms, 642 μs, and 2 hnsecs)
Unittesting agora.test.GossipProtocol (took 5 secs, 565 ms, 918 μs, and 1 hnsec)
Unittesting agora.test.GenesisBlock (took 2 secs, 487 ms, 500 μs, and 7 hnsecs)
Error: The operation was canceled.
Unittesting agora.test.SlashingMisbehavingValidator (took 7 secs, 615 ms, 32 μs, and 4 hnsecs)
Unittesting agora.test.Simple (took 28 secs, 815 ms, 837 μs, and 5 hnsecs)
Unittesting agora.test.Script (took 22 secs, 548 ms, 304 μs, and 8 hnsecs)
Unittesting agora.test.RestoreSlashingInfo (took 22 secs, 275 ms, 644 μs, and 6 hnsecs)
Error: The operation was canceled.

I've also seen it happen in RestoreSCPState so I don't think it's module-dependent.

Geod24 avatar Jul 23 '21 09:07 Geod24