-
Notifications
You must be signed in to change notification settings - Fork 23.7k
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
ansible-test: CentOS 7: lots of 502s #83234
Comments
Files identified in the description: If these files are incorrect, please update the |
I retrieved some logs from the CI's stdout: Requirement already satisfied (use --upgrade to upgrade): cryptography<3.4,>=1.3.0 in /usr/lib64/python2.7/site-packages (from -c /tmp/ansible.w1fvZJ.test/constraints.txt (line 11))
Requirement already satisfied (use --upgrade to upgrade): setuptools<45 in /usr/lib/python2.7/site-packages (from -c /tmp/ansible.w1fvZJ.test/constraints.txt (line 20))
Requirement already satisfied (use --upgrade to upgrade): idna>=2.0 in /usr/lib/python2.7/site-packages (from cryptography<3.4,>=1.3.0->-c /tmp/ansible.w1fvZJ.test/constraints.txt (line 11))
Requirement already satisfied (use --upgrade to upgrade): pyasn1>=0.1.8 in /usr/lib/python2.7/site-packages (from cryptography<3.4,>=1.3.0->-c /tmp/ansible.w1fvZJ.test/constraints.txt (line 11))
Requirement already satisfied (use --upgrade to upgrade): six>=1.4.1 in /usr/lib/python2.7/site-packages (from cryptography<3.4,>=1.3.0->-c /tmp/ansible.w1fvZJ.test/constraints.txt (line 11))
Requirement already satisfied (use --upgrade to upgrade): enum34 in /usr/lib/python2.7/site-packages (from cryptography<3.4,>=1.3.0->-c /tmp/ansible.w1fvZJ.test/constraints.txt (line 11))
Requirement already satisfied (use --upgrade to upgrade): ipaddress in /usr/lib/python2.7/site-packages (from cryptography<3.4,>=1.3.0->-c /tmp/ansible.w1fvZJ.test/constraints.txt (line 11))
Collecting cffi!=1.14.3,>=1.14.2 (from -c /tmp/ansible.w1fvZJ.test/constraints.txt (line 7)) stderr: Ignoring coverage: markers u"python_version > '3.7'" don't match your environment
Ignoring cryptography: markers u"python_version < '2.7'" don't match your environment
Ignoring urllib3: markers u"python_version < '2.7'" don't match your environment
Ignoring wheel: markers u"python_version < '2.7'" don't match your environment
Ignoring paramiko: markers u"python_version < '2.7'" don't match your environment
Ignoring requests: markers u"python_version < '2.7'" don't match your environment
Ignoring virtualenv: markers u"python_version < '2.7'" don't match your environment
Ignoring pyopenssl: markers u"python_version < '2.7'" don't match your environment
HTTP error 502 while getting http://172.25.0.3:3141/root/pypi/+f/bcb/3ef43e58665bb/cffi-1.16.0.tar.gz#sha256=bcb3ef43e58665bbda2fb198698fcae6776483e0c4a631aa5647806c25e02cc0 (from http://172.25.0.3:3141/root/pypi/+simple/cffi/)
Could not install requirement cffi!=1.14.3,>=1.14.2 from http://172.25.0.3:3141/root/pypi/+f/bcb/3ef43e58665bb/cffi-1.16.0.tar.gz#sha256=bcb3ef43e58665bbda2fb198698fcae6776483e0c4a631aa5647806c25e02cc0 (from -c /tmp/ansible.w1fvZJ.test/constraints.txt (line 7)) because of error 502 Server Error: Bad Gateway for url: http://172.25.0.3:3141/root/pypi/+f/bcb/3ef43e58665bb/cffi-1.16.0.tar.gz
Could not install requirement cffi!=1.14.3,>=1.14.2 from http://172.25.0.3:3141/root/pypi/+f/bcb/3ef43e58665bb/cffi-1.16.0.tar.gz#sha256=bcb3ef43e58665bbda2fb198698fcae6776483e0c4a631aa5647806c25e02cc0 (from -c /tmp/ansible.w1fvZJ.test/constraints.txt (line 7)) because of HTTP error 502 Server Error: Bad Gateway for url: http://172.25.0.3:3141/root/pypi/+f/bcb/3ef43e58665bb/cffi-1.16.0.tar.gz for URL http://172.25.0.3:3141/root/pypi/+f/bcb/3ef43e58665bb/cffi-1.16.0.tar.gz#sha256=bcb3ef43e58665bbda2fb198698fcae6776483e0c4a631aa5647806c25e02cc0 (from http://172.25.0.3:3141/root/pypi/+simple/cffi/) This suggests that our PyPI proxy is erroring out internally, somehow. |
After looking through devpi, I think we need to add When that flag was added, it came with this:
Looking at how the HTTP requests are made, |
I created a PR for that: ansible/pypi-test-container#9 |
Summary
Since CentOS 7 is using the PyPI proxy (#83226), there are a lot of failing pip installs with 502 errors, at least for CentOS 7 tests on AZP. (I don't use CentOS 7 on GHA, so no idea whether it's AZP specific.)
Examples:
Error messages from the above (two of them are failing for the same package):
or
I'm not sure what exactly is happening, in particular since I cannot see the error log from the PyPI proxy container. Since this is happening a lot since that PR was merged, I wanted to report it here.
Issue Type
Bug Report
Component Name
ansible-test
Ansible Version
Configuration
-
OS / Environment
Steps to Reproduce
Expected Results
Actual Results
-
Code of Conduct
The text was updated successfully, but these errors were encountered: