-
Notifications
You must be signed in to change notification settings - Fork 38
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
Possibility: run tests in tests/integration/cmor/_fixes with one thread only #1020
Comments
and I totally forgot that scheduled GA jobs run only on |
I looked into this a while ago, and I could not find a way to run a subset of tests in a single thread. There is an open issue for this: pytest-dev/pytest-xdist#385. Could mark the segfaulting tests using |
@stefsmeets cheers! that's a good idea - but decorating them that way means they will run only when they get invoked with the |
Yeah, you would have to do the following I think:
Maybe one or the other can be set as a default in |
unfortunately this is not a solution to get us rid of the Segmentation Faults. I've just looked at the 3-hourly tests that have been running with |
reverted the changes in #1025 if someone is nice to approve it, we'll forget about this. On to figuring out another cause of segfaults |
I am currently conducting an experiment and am running the tests every hour on the GA machine, but with
pytest -n 1
see if my previous find that tests don't segfault when run in single-thread mode. If this proves to be true, I would argue that we should run a number of tests like this - not all of them because for one, not all tests result in segfaults and two, I have noticed only the ones intests/integration/cmor/_fixes
to be segfaulting (well 99.9% of times). @bouweandela or @jvegasbsc do you guys know how to run a subset of the tests in single-thread whereas keeping the others in multi-threading? BTW if you see a ton of Test jobs on the GA machine, that's me experiment 😁The text was updated successfully, but these errors were encountered: