-
Notifications
You must be signed in to change notification settings - Fork 263
[travis-ci] debugging ci failures on travis #2387
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
base: main
Are you sure you want to change the base?
Conversation
ce92c7f
to
337095e
Compare
A new error appears!
I guess that in before_all |
Pretty sure this is done now. The latest Travis failure was a timeout, I've retried it. |
The timeout was repeatable, so I've disabled PyPy and GraalPy tests on the Travis windows runner. It's a shame, because it did find a bug (newlines in env var values causing issues, also fixed in this PR), but I don't know of another way around it. |
7d8d736
to
59020a5
Compare
This looks like a success, but the latest run of this PR on travis actually failed- https://app.travis-ci.com/github/pypa/cibuildwheel/jobs/632928641#L895 It fails with the new test_ssl.py- import textwrap
from . import test_projects, utils
project_with_ssl_tests = test_projects.new_c_project(
setup_py_add=textwrap.dedent(
r"""
import ssl
from urllib.request import urlopen
context = ssl.SSLContext(ssl.PROTOCOL_TLSv1_2)
# badssl.com is a HTTPS test server that can be used to test SSL connections
data = urlopen("https://tls-v1-2.badssl.com", context=context)
data = urlopen("https://tls-v1-2.badssl.com")
"""
)
)
def test(tmp_path):
# this test checks that SSL is working in the build environment using
# some checks in setup.py.
project_dir = tmp_path / "project"
project_with_ssl_tests.generate(project_dir)
actual_wheels = utils.cibuildwheel_run(project_dir)
expected_wheels = utils.expected_wheels("spam", "0.1.0")
assert set(actual_wheels) == set(expected_wheels) the error is:
Ideas for how to fix are welcome. I don't understand why either invocations of urlopen would fail. |
urlopen doesn't use certifi. |
This reverts commit 02eee0e.
It seems there's something in the GraalPy build that isn't happy on a Travis windows machine - example
I've seen the same error on Cirrus too.