-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[Broken CI] Win job @ Azure Pipelines #2434
Comments
This line is what fails:
It executes E subprocess.CalledProcessError: Command '['python', 'setup.py', 'test', '-s', 'test']' returned non-zero exit status 1. And since that happens in a virtualenv that reports having wheel in it while the captured output from setuptools says there's no wheel, I think this may be a bug in virtualenv or something like that. @jaraco any ideas? |
I'm able to replicate this issue locally as well. I suspect something has changed in azure or pytest-shutil. The builds were passing and then started failing 5 days ago: I don't see any releases in pytest-shutil or pytest-virtualenv in that timeframe either. I suspect what's happened is Azure Pipelines has removed an implicit install of wheel in the system site-packages and the tests happen to be dependent on it. I've tried troubleshooting using my local install, but my Windows VM has grown unusably slow. |
I see this in the output:
So it does seem that something is invoking |
In my traceback, the issue happens at L171:
Somehow, that |
Right: man-group/pytest-plugins#166 |
There's been a lot of CI failures recently and most of them are addressed. But there's one left, I've tried looking into it but I currently don't understand how to fix it. Example: https://dev.azure.com/jaraco/setuptools/_build/results?buildId=1495&view=logs&j=f2aa1cb7-ddd8-5e13-2793-3e55ac100c6d&t=0158daa4-66d3-5648-b813-c154c6e360f2.
There's two jobs that currently fail under Azure DevOps Windows+Python3.8 job:
setuptools.tests.test_virtualenv.test_test_command_install_requirements
setuptools.tests.test_virtualenv.test_test_command_install_requirements_when_using_easy_install
Judging from the log, they both seem to invoke
setup.py bdist_wheel
under the hood and emitWARNING: The wheel package is not available.
followed by an error output. Also, I've seen some virtualenv output lines suggesting that the
wheel
package install has been requested and succeeded before.The most surprising to me is that the tests are perfectly fine on AppVeyor so my guess is that some of the CI environment may have changed. Tox-installed deps in both envs are the same, including
virtualenv==20.0.35,wheel==0.35.1
.The text was updated successfully, but these errors were encountered: