-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running tests in non-tox environment resulting in peer reset #1405
Comments
@CodyCBakerPhD I don't believe the failures have anything to do with |
OK, so you suggest retrying after a couple of hours? Is there a flag, environment variable, or other mode of running the dandi testing suite to suppress the running of external network dependent tests like that? Just noting I don't recall ever seeing things like this prior to the recent changes (and this CI has run daily for past couple of years); might totally coincidental though |
@CodyCBakerPhD If |
OK, opened NeurodataWithoutBorders/nwbinspector#435 with a strategy that splits the network-dependent ones from the non-dependent ones and looking at what tests were not skipped in the latter case (https://github.com/NeurodataWithoutBorders/nwbinspector/actions/runs/7904129986/job/21573692838?pr=435) I'd say it covers a lot (but not all) of the DANDI tests that might be affected by the Inspector Thanks for the pointer; I do still (even as of today) see the same connection reset issue on our side. I'll try adjusting that specific workflow more to mimic your own https://github.com/dandi/dandi-cli/blob/master/.github/workflows/test.yml |
attn @jwodder @yarikoptic @TheChymera
Looking for advice to fix some failures running
dandi-cli
testing suite in dev mode on the NWB Inspector after adjusting the strategyWe originally followed the developer instructions here: https://github.com/dandi/dandi-cli/blob/master/DEVELOPMENT.md#running-tests-locally
With the goal of running the
dandi-cli
testing suite against a dev branch of the NWB Inspector to ensure there are no unexpected failures prior to cutting a new releaseBut @jwodder pointed out that the
tox
was creating its own isolated virtual environment that did not depend on an editable local version of the Inspector, hence we switched fromtox
to direct invocation ofpytest
: https://github.com/NeurodataWithoutBorders/nwbinspector/blob/dev/.github/workflows/dandi-dev.yml#L21-L35This worked well for a week or so, but the past couple of days have resulted in the errors seen in these logs: https://github.com/NeurodataWithoutBorders/nwbinspector/actions/runs/7889319139/job/21531401494
which are all of the form
Any ideas how to fix this? Attempting to retry it several times did not seem to magically resolve
The text was updated successfully, but these errors were encountered: