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 hangs in event mode #12033
Comments
@icing Maybe you have an idea abuot this? |
Interesting. Well, first of all, thanks for tracking this down. I will have a look if the introduced change can be done in a better way. |
Reverting b5bb84c makes it work again. But it is just painting over the problem, there should not need to be a timer expiring there. |
Test 1233 is fixed by #12042. |
And the other two by #12056 |
ehuss
added a commit
to ecnelises/curl-rust
that referenced
this issue
Oct 11, 2023
This test is hanging on Linux with the 8.4.0 update. My poor understanding is that `perform()` should not be used with `curl_multi_socket_action` (that is, it should only use `perform` or `action`, not both). Removing this seems to fix things. Note that there were some other hang-related changes in the 8.4.0 release. I bisected the hang to curl/curl#11939, which then uncovered some curl tests that were hanging in curl/curl#12033. That then spawned off two more changes to fix the hangs (both of which are also in 8.4.0). However, this upload_lots was still failing. I think this is likely due to an incorrect use of the API poorly interacting with the timer changes in 8.4.0.
zuoxiaofeng
pushed a commit
to zuoxiaofeng/curl
that referenced
this issue
Nov 28, 2023
Since there is nothing to wait for there. Avoids the test 1233 hang reported in curl#12033. Reported-by: Dan Fandrich Closes curl#12042
zuoxiaofeng
pushed a commit
to zuoxiaofeng/curl
that referenced
this issue
Nov 28, 2023
... when it does a state transition but there is no particular socket or timer activity. This was made apparent when commit b5bb84c removed a superfluous timer expiry. Reported-by: Dan Fandrich. Fixes curl#12033 Closes curl#12056
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I did this
Test 1233 (as well as 1272 and 1238, although I have less data about those) has been hanging 100% of the time in the event-based CI build ever since commit b5bb84c (PR #11939) . I can reproduce this 100% of the time on my local Linux machine by performing parallel tests enabling event mode and using the
FTP
keyword to select tests. The last log message produced by the curl under test is:Running with the
GOPHER
keyword causes test 1272 to hang.Running with the
TFTP
keyword cases test 1238 to hang for about 2000 seconds until it times out and fails.The latter two test hangs can be reproduced easily without parallel mode, but the first one seems to need it.
I expected the following
The tests should pass without hanging.
curl/libcurl version
8.4.0-DEV
operating system
CI build machine:
Linux fv-az736-78 6.2.0-1012-azure #12~22.04.1-Ubuntu SMP Thu Sep 7 14:07:14 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: