-
Notifications
You must be signed in to change notification settings - Fork 292
Closed
Labels
Description
I was hoping the unreliability would mostly disappear with #1096 but this does not seem to be the case:
- sometimes one test out of 213 fails: The test server startup takes longer than 10s and timeouts (example: https://travis-ci.org/github/theupdateframework/tuf/jobs/718616338)
- the test set run times seem very predictable, 213 tests in 54-57 seconds: it seems unlikely that server startups would commonly take multiple seconds, let alone 10 seconds.
- A failing test run is 64-65seconds: very close to a normal test run plus 10 seconds for the timeout
- On a failing test run, only one test fails
Based on the timing info above my hypothesis is that the server startup is not actually that slow: it's just that sometimes it's not going to happen at all. Could it be that there is/was something running on the chosen port already, and for some reason we don't get EADDRINUSE but end up waiting for a long time?
Reactions are currently unavailable