Open jbarnoud opened 2 years ago
🤔 interesting - I know the armv8 runner tends to error out but it's the first time I've seen a proper failure
It did error earlier today and stalled, making it impossible to know what test failed. I restarted it and it went through with the error reported above.
It seems that the job failed and stalled already last week. Before that it would sometimes stall but not fail.
Ah fair I did just restarted CI just to check how reproducible this is. The runner stalling is something that's a bit out of our hands, it's the only place we can get that runner, and it's not very stable :(
Is there a reason we use logging in the HBA code? Especially for that code path we don't even bother to throw a more traditional warning and instead opt for logging.warning.
Ok yeah - so now I know why this particular test is so familiar.
Turns out I also encountered this last week when doing something else but couldn't narrow down the issue (particularly since @fiona-naughton couldn't reproduce it if I remember correctly).
The issue comes when calling pytest with 8 threads (not tried more) at the top of MDAnalysisTests (in the same way that the arm64 runner does).
It's some kind of race condition, but I can't work out what at this moment, possibly the fixture scope? It might be releated to: https://github.com/pytest-dev/pytest-xdist/issues/402
I have updated the title of this issue to reflect the current situations - this is a blanket failure across multiple arch and OS types. Pretty much > 4 workers will trigger this failure.
Question - are we ok just switching out of logging.warn to just a direct warning instead here? We don't use logger stuff much in MDA and it seems somewhat out of place.
Weirdly enough the ARMv8 runner isn't failing anymore (as far as I can tell), but I can still replicate this issue locally. Would be good to know if anyone else gets this on a fresh install.
Expected behavior
All tests pass on all supported platforms.
Actual behavior
The CI cron job for the ARM platform fails with the following error:
See the full report on https://app.travis-ci.com/github/MDAnalysis/mdanalysis/jobs/560854076
Current version of MDAnalysis
python -V
)? Python 3.8.3https://app.travis-ci.com/github/MDAnalysis/mdanalysis/jobs/560854076