-
Notifications
You must be signed in to change notification settings - Fork 939
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
Test failures with Fedora package #1637
Comments
Sorry, the above failure was user error - I was running the tests against the 20.5.0 version. However, I am still seeing the following test failures. Many are likely due to the lack of networking in the Fedora build environment, but some may not be. In any case, it would be very helpful to be able to disable network dependent tests if any.
|
Tests using the external network can be disabled through the standard library's test resources. (That doesn't generally disable things using just localhost or unix sockets though. And since its applied by hand it might not always get everything, either.) More tests can be altered to be more tolerant or disabled altogether if the testrunner is told it's running on a CI platform. The script that builds manylinux wheels does both these things. gevent/scripts/releases/make-manylinux Lines 13 to 15 in b8bca6f
I have observed the I don't know why |
Many thanks for the pointers. Disabling the the network resource resolves this failure:
Adding the CI/TRAVIS variables did not appear to have any discernible effect.
by itself still results in test_sendall_{array,str} failures. Let me know if any other information would be helpful. |
I'm unable to reproduce that on a couple different platforms locally, so this is debugging in the dark. Adding the It might also be useful to know what version of OpenSSL Python is using. I know that from 1.0 to 1.1 and TLS 1.3 certain things changed that had timing impacts that exposed ordering assumptions in test cases and which required changes. Locally it looks like I'm testing 1.1.1g ( |
The kernel version would also be interesting (errors on Ubuntu Bionic are vaguely similar). |
I found the Fedora rawhide docker images and with a bit of work was able to get an image running where I can trivially duplicate the problem. If I run the test without gevent (no monkey-patching) I get a similar but more explicit error. The "server" fails to read all the bytes sent by the client (just as with gevent) but instead of silently truncating, the server raises a If I tweak the test to always Now I have more questions :) |
Description:
I'm working on the Fedora python-gevent package. Fedora Rawhide recently updated to python 3.9. Since then we've seen some failures in gevent.
Updated the package to 20.6.0 but tests fail:
This same error occurs many times.
The text was updated successfully, but these errors were encountered: