Repository navigation
Conversation
mbedtls with valgrind CI spends 5 seconds initializing, it seems. Add tracing to find out where the time is spent.
|
Analysis of PR #15215 at f50439f3: Test 303 failed, which has NOT been flaky recently, so there could be a real issue in the PR. Test 1631 failed, which has NOT been flaky recently, so there could be a real issue in the PR. Test 1632 failed, which has NOT been flaky recently, so there could be a real issue in the PR. Generated by Testclutch |
|
That's what's used: It's odd, because this issue appeared consistently after rebuilding mbedTLS with CMake (first I thought it's because bumping to 3.6.1, but no, 3.6.0 fails the same). After much testing one possible clue is that CMake built mbedTLS in debug mode by default. I haven't double-checked yet, but a |
CMake builds mbedTLS in Debug mode by default, which was the reason for these consistent test failures: ``` FAIL 1631: 'FTP through HTTPS-proxy' FTP, HTTPS-proxy FAIL 1632: 'FTP through HTTPS-proxy, with connection reuse' FTP, HTTPS-proxy ``` Sometimes also: ``` FAIL 303: 'HTTPS with 8 secs timeout' HTTPS, HTTP GET, timeout, FAILURE ``` https://github.com/curl/curl/actions/runs/11260616621/job/31313234198 Ref: curl#15215 Follow-up to e377c91 curl#15208
CMake builds mbedTLS in Debug mode by default, which was the reason for these consistent test failures: ``` FAIL 1631: 'FTP through HTTPS-proxy' FTP, HTTPS-proxy FAIL 1632: 'FTP through HTTPS-proxy, with connection reuse' FTP, HTTPS-proxy ``` Sometimes also: ``` FAIL 303: 'HTTPS with 8 secs timeout' HTTPS, HTTP GET, timeout, FAILURE ``` https://github.com/curl/curl/actions/runs/11260616621/job/31313234198 Fix it by building in `RelWithDebInfo` mode, matching the bare `Makefile` builds used earlier. (`Release` mode also works.) Cache sizes: - Makefile: 10MB - CMake Release: 1MB - CMake RelWithDebInfo: 2.5MB Ref: #15215 Follow-up to e377c91 #15208 Closes #15238
|
Closing, seems resolved with new non-test mbedtls build in CI. |
CMake builds mbedTLS in Debug mode by default, which was the reason for these consistent test failures: ``` FAIL 1631: 'FTP through HTTPS-proxy' FTP, HTTPS-proxy FAIL 1632: 'FTP through HTTPS-proxy, with connection reuse' FTP, HTTPS-proxy ``` Sometimes also: ``` FAIL 303: 'HTTPS with 8 secs timeout' HTTPS, HTTP GET, timeout, FAILURE ``` https://github.com/curl/curl/actions/runs/11260616621/job/31313234198 Fix it by building in `RelWithDebInfo` mode, matching the bare `Makefile` builds used earlier. (`Release` mode also works.) Cache sizes: - Makefile: 10MB - CMake Release: 1MB - CMake RelWithDebInfo: 2.5MB Ref: curl#15215 Follow-up to e377c91 curl#15208 Closes curl#15238
mbedtls with valgrind CI spends 5 seconds initializing, it seems. Add tracing to find out where the time is spent.
As otherwhere, test 303 is the first failing and the trace says:
which shows that parsing CAPATH takes more than 7 seconds, ruining the overall test timeout.
@vszakats @bagder since we do not mention any capath in the test, this is curl's bundle that is read?