-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
runtests: drop logic calling the handle
tool (Windows)
#16484
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
Conversation
I'm going to defer to Marc on this one. My general thinking is it should not happen however weird things in CI happen a lot. I really could go either way. #6058 for background. I'd leave this open a bit to give him some time to respond. |
I think this happened with stuck tests/testservers in the past, especially with those related to timeouts.
Fine with me. You could also drop the '-rm' flag from being active on CI first. |
@mback2k Just to clarify, are you also okay to drop the Meanwhile tested without |
This comment was marked as outdated.
This comment was marked as outdated.
handle64.exe
handle64.exe
handle64.exe
handle
tool
handle
toolhandle
tool (Windows)
Maybe keep the code around for a little bit longer until the CI runs have proven to be stable without it for some weeks? |
It works for me, I'll merge the CI patch separately now. And keep this I think the main issue is that even though |
To test its effect on stability/flakiness of Windows jobs. Ref: #16484 (comment) Cherry-picked from #16484 Closes #16600
This reverts commit e5e5c09. Some of the logic don't seem to be Windows-specific or handle64-related, as most of the CI test fail to complete in time (hang?) when removing it: https://github.com/curl/curl/actions/runs/13527054998/job/37800227765?pr=16484 (macOS) https://github.com/curl/curl/actions/runs/13527054994/job/37800178091?pr=16484 (BSDs) https://github.com/curl/curl/actions/runs/13527054982/job/37800212082?pr=16484 (Windows)
``` CUSTOMBUILD : error : 169: cleardir(log/8/lock) failed [D:\a\curl\curl\bld\tests\test-ci.vcxproj] ``` https://github.com/curl/curl/actions/runs/13546192228/job/37858323380?pr=16484#step:14:177 Seems to happen consistently in every vcpkg job, once, around the beginning. ``` CUSTOMBUILD : error : 323: cleardir(log/8/lock) failed [D:\a\curl\curl\bld\tests\test-ci.vcxproj] CUSTOMBUILD : error : 1176: cleardir(log/8/lock) failed [D:\a\curl\curl\bld\tests\test-ci.vcxproj] CUSTOMBUILD : error : 752: cleardir(log/8/lock) failed [D:\a\curl\curl\bld\tests\test-ci.vcxproj] ```
I could observe no effect of disabling Windows CI looks just like before, with mostly:
1., 2., 3. are sometimes combined and/or the result of hangs. This is about the same as we observed always. Planning to merge this today. |
To test its effect on stability/flakiness of Windows jobs. Ref: curl#16484 (comment) Cherry-picked from curl#16484 Closes curl#16600
In the cases observed throughout the last year, `handle64` run once per test run, but with no action (match or task kill). It did not help with flakiness and seems redundant. runtests launched it (if present) in Cygwin/MSYS jobs too, where it probably shouldn't have, because we have seen no flakiness there. In CI the tool was present and launched in MSYS2 jobs, but not in Cygwin. After this patch the "clearlocks" warning remain in the log. They are consistently appearing once in every MSVC CI log, early in the tests: ``` test 3207 SKIPPED: curl lacks OpenSSL support [...START-OF-TESTS...] test 0003...[HTTP POST with auth and contents but with content-length set to 0] --pd---e--- OK (3 out of 1596, remaining: 17:50, took 1.423s, duration: 00:02) test 0007...[HTTP with cookie parser and header recording] --pd--oe--- OK (7 out of 1596, remaining: 07:51, took 1.485s, duration: 00:02) test 0006...[HTTP with simple cookie send] --pd---e--- OK (6 out of 1596, remaining: 09:11, took 1.488s, duration: 00:02) test 0005...[HTTP over proxy] --pd---e--- OK (5 out of 1596, remaining: 11:03, took 1.491s, duration: 00:02) CUSTOMBUILD : error : 169: cleardir(log/8/lock) failed [D:\a\curl\curl\bld\tests\test-ci.vcxproj] test 0001...[HTTP GET] --pd---e--- OK (1 out of 1596, remaining: 55:34, took 1.466s, duration: 00:02) test 0004...[Replaced internal and added custom HTTP headers] ``` Ref: https://github.com/curl/curl/actions/runs/13546192228/job/37858323380?pr=16484#step:14:167 Ref: e53523f curl#14859 Ref: 311c31e curl#6179 Follow-up to 3a8920e curl#16600 Closes curl#16484
In the cases observed throughout the last year,
handle64
run once pertest run, but with no action (match or task kill). It did not help with
flakiness and seems redundant.
runtests launched it (if present) in Cygwin/MSYS jobs too, where it
probably shouldn't have, because we have seen no flakiness there. In CI
the tool was present and launched in MSYS2 jobs, but not in Cygwin.
After this patch the "clearlocks" warning remain in the log. They are
consistently appearing once in every MSVC CI log, early in the tests:
Ref: https://github.com/curl/curl/actions/runs/13546192228/job/37858323380?pr=16484#step:14:167
Ref: e53523f #14859
Ref: 311c31e #6179
Follow-up to 3a8920e #16600