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

Tests stalling failing on Python 3.6 in CI #273

Closed
jaraco opened this issue Jan 10, 2021 · 5 comments
Closed

Tests stalling failing on Python 3.6 in CI #273

jaraco opened this issue Jan 10, 2021 · 5 comments

Comments

@jaraco
Copy link
Member

jaraco commented Jan 10, 2021

As early as this run, tests on Python 3.6 often fail to complete, timing out after 6h.

@jaraco
Copy link
Member Author

jaraco commented Jan 10, 2021

The issue doesn't occur for me locally (on macOS nor Ubuntu Focal in container), so I'll be remote troubleshooting on GHA.

@jaraco
Copy link
Member Author

jaraco commented Jan 10, 2021

Here's something weird: this run failed while this run passed at the exact same hash.

@jaraco
Copy link
Member Author

jaraco commented Jan 10, 2021

The issue does appear to be related to the resolver and it affects Python 3.7 also.

image

@jaraco
Copy link
Member Author

jaraco commented Jan 10, 2021

I now suspect this is another manifestation of pypa/pip#9143, where pytest-black or perhaps another of the test dependencies relies on importlib_metadata; python_version<"3.8" and that triggers the deep loops.

I'm going to try building a refreshed ubuntu:focal with latest tox and see if I can replicate the issue that way.

@jaraco jaraco closed this as completed in c769ba8 Jan 10, 2021
@jaraco
Copy link
Member Author

jaraco commented Jan 10, 2021

As hard as I tried, I was unable to replicate the issue locally (even pinning to same pip version 20.3.1). Nevertheless, copying the workaround from pytest-checkdocs did the trick, so I'm going with that for now.

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

1 participant