Repository navigation
Conversation
|
Strange new failure: |
|
troture seems to strike a nerve with MSYS2 fork: |
|
Took 23m36s. 2 fallouts: |
|
Torture test is showing a socket handle leak in the code we looked at Questions:
|
I suppose we could reduce the
We don't have a way to suppress such as we've never had to - I don't think we can even get false positives. These two are legit errors it seems. See #19689. |
|
A limitation with the torture testing is that it logs the activities to have them checked after the fact. This makes it sensitive to and mostly incompatible with threads. For non-windows we don't run the memory-tracking torture tests when using threads. We rely on valgrind then to detect leaks.
|
|
Yes, the flakiness is unrelated to torture itself, it just runs longer A remaining concern is the length of this test, adding 11 minutes After rebasing on #19689, the calloc leak seems to remain, in |
Yeah, I first believed I had spotted an error but I was wrong. It might be a problem caused by the threading. |
I no longer believe running Windows torture tests in CI is going to be feasible. |
|
Yeah, it's a forever thread at the moment. It probably should be gracefully Pushed a run to see if tweaking shallow=5 also picks this, reaches a memlimit and there is also the error shallow=20 finished in 19.5 minutes, 15, 10 and 5 took longer I agree it's not practical as it is. Maybe if we could pinpoint tests |
Test became flaky with memanalyze errors after merging #19845, in a TrackMemory Windows Unicode c-ares openssl-quic build: GHA/windows: mingw, AM x86_64 c-ares U. Disable it until further investigation. This test uses the Windows-specific multi-threaded stdin code that caused issues in the past. It's also using `TerminateThread()`, that apps aren't supposed to. Examples: #19845 (comment) https://github.com/curl/curl/actions/runs/19948992659/job/57205061260?pr=19845#step:13:3028 https://github.com/curl/curl/actions/runs/19966429786/job/57259325027?pr=19852#step:13:3030 Also seen to fail earlier while testing torture tests on Windows: #19675 (comment) Ref: 4e051ff #19845 Closes #19855
To improve performance of torture tests. Also on Windows, where this patch may make those viable for CI. Linux !FTP 4m47 -> 4m24 (-shallow=25) Linux FTP 2m30 -> 2m23 (-shallow=25) macOS !FTP 14m30 -> 13m07 (-shallow=25) macOS FTP 3m57 -> 3m59 (-shallow=25) Windows !FTP >25m -> 4m47 to 14m45 (-shallow=5 to 25) (not in CI) Linux Before: https://github.com/curl/curl/actions/runs/20006771767/job/57370205514 After: https://github.com/curl/curl/actions/runs/20006783210/job/57370236911?pr=19863 macOS: Before: https://github.com/curl/curl/actions/runs/20006771786/job/57370205769 After: https://github.com/curl/curl/actions/runs/20006783177/job/57370236995?pr=19863 Windows: Before: https://github.com/curl/curl/actions/runs/19667198537/job/56326962912?pr=19675 After: https://github.com/curl/curl/actions/runs/20007175773/job/57371768734?pr=19863 After shallow=25: https://github.com/curl/curl/actions/runs/20008523913/job/57374427449?pr=19865 Ref: #19675 Follow-up to 472bc90 #19821 Closes #19863
With Schannel and Unicode, `-shallow=13`. It finishes in 12 minutes, making it the slowest Windows job. It's still on par with torture jobs on other platforms (though they manage to fit `-shallow=25`). Also `-shallow=13` still caught leaks in multiple tests. Also: - test2300: exclude from CI Windows torture tests. - experimental. The downside of going with deeper torture tests, is that it requires increasing the job timeout. This in turns means that a hung job takes more minutes to be killed (due to GitHub bugs where a hung step does not honor the per-step timeout on Windows, another bug where a hung job gets killed +5 minutes above the workflow timeout, and another bug (or feature?) where other failed/hung jobs in the the workflow cannot be restarted till the last job finishes or gets killed. And all this probably related to a Perl bug which makes it hang on fork errors, which is turn related to Cygwin/MSYS2 runtime bugs which breaks fork in case of curl's mixed MSYS2-Perl/native-curl-binaries environment.) The end result in longer forced waits before being able to restart flaky jobs, which slows down iterations and annoying. Also tried: - non-c-ares job: detected known issues much less often. - replaced libidn2 with WinIDN: detected known issues much less often. - runtests -j9-j20 values: did not make a difference. - other `-shallow` values: 20 is the max feasible, but comes with the downside described above. Ref: #19675 (reboot of) Follow-up to f08417c #19863 Closes #19865
No description provided.