Skip to content
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

Parallel support #39

Open
denkii opened this issue Apr 14, 2020 · 2 comments
Open

Parallel support #39

denkii opened this issue Apr 14, 2020 · 2 comments

Comments

@denkii
Copy link

denkii commented Apr 14, 2020

It seems like there are consistent InvalidArchiveError's when attempting to run tox-conda in parallel on Jenkins similar to the way tox advises it to be set up. As shown here: https://tox.readthedocs.io/en/latest/example/jenkins.html#running-tox-environments-in-parallel

It looks like conda install is not thread-safe. https://stackoverflow.com/a/58228286

Are there any workarounds for this? Is this a conda problem? Or maybe just user error?

@rpkilby
Copy link
Member

rpkilby commented Apr 14, 2020

You might be able to get around this by installing the dependencies before running the tests in parallel. e.g.,

tox --notest
tox -p auto

@denkii
Copy link
Author

denkii commented Apr 14, 2020

Looks like this workaround works. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants