Repository navigation
Conversation
|
Apple clang crash: edit: libtests.c is around 1MB of C code. |
|
Apple clang: flaky event? The same runner/toolchain version works in other cases: edit: And, gone after a restart: |
|
Flakiness caused by the cmake built-in download feature ( |
Is there an open ticket for the CI mirror issues or should we report it? In my opinion this is not our problem but I have no objection. |
I haven't checked, and I'm not even sure where to start looking. It's odd that Since it affected curl jobs where we install large packages, I looked at those The results are good, saving 20+ minutes estimated, and a lot of bandwidth. I'm still looking into eliminating the C++ toolchain for curl-for-win builds. After these changes I believe we'll much less need to worry about Azure |
This reverts commit 4e42fdb.
another option would be to switch to clang_rt compiler runtime. but lets try this first.
``` -- Checking for module 'gnutls' -- Package 'p11-kit-1', required by 'gnutls', not found ``` https://github.com/curl/curl/actions/runs/17609591155/job/50028459850?pr=18509
no speed gain, and it's fine to build standalone, ng libs don't depend on it.
- explicitly install `libldap-dev` to not rely on test-specific packages installing it implicitly, to have the same `curl -V` output for each TLS backend build pair. Follow-up to 0455d87 #18509 - install `libev-dev` for tests. It's a runtime dependency for the local build of `nghttpx`. Missing it made pytest skip 178 tests. Also skewing the 'Gain' time. I estimate it to account for 3 minutes, making the total gain ~20 minutes. Follow-up to 0455d87 #18509 (It may be a better solution to disable libev for the local nghttp2 build, to avoid this hidden dependency.) - fix quiche jobs to use the local build of `libnghttp2`. - stop installing the `clang` package for Windows-cross. `clang` and `clang-tidy` tools are preinstalled on the Ubuntu 24.04 runner. Closes #18519
- fix `nghttp2` build to also build the `nghttpx` application. Restore required `libc-ares-dev`. Also confirm that `libev-dev` is required too. Document these requirements. Follow-up to 0455d87 #18509 - explicitly enable `nghttpx` for the `nghttp2` build to make it fail if requirements aren't met: ``` configure: error: applications were requested (--enable-app) but dependencies are not met. ``` - explicitly install brotli, zstd, zlib for the dependency builds. Of these, zstd and zlib are preinstalled. zlib is required for `nghttpx`. zstd and brotli doesn't seem to be used, but keep them there just in case and to match the test env. Follow-up to 0455d87 #18509 - enable brotli for `nghttpx`. It doesn't change the tests, and also cost almost nothing, so I figure why not. Closes #18522
Download size: 277 MB -> 65 MB (installed: 1293 MB -> 401 MB) Also as a workaround for Azure Ubuntu mirror slowdown issues: https://github.com/curl/curl/actions/runs/18289326469/job/52072333582?pr=18866 Follow-up to 0455d87 #18509 Closes #18896
It's been going on for almost a year, chances seem slim to have this fixed upstream. The observed issue is that on GitHub-supplied CI runner images, sometimes, `apt-get install` using the stock distro server `http://azure.archive.ubuntu.com/ubuntu` sees extreme slowness while downloading data, then reaching the job timeout and aborting, making CI red and necessitating a manual restart of the failed job(s). In majority of cases the install step takes no longer than 8-40 seconds (download + install), while in the failing case it takes 10-20+ minutes just to download. Earlier I slimmed down installs to avoid unnecessary packages, which mitigated, but did not completely fix the issue. Example: https://github.com/curl/curl/actions/runs/23599596928/job/68725576899?pr=21105 Follow-up to 0455d87 #18509 Closes #21107
It seems like a dud runner with a slow connection to Microsoft Azure Ubuntu distro servers cannot be fixed by restarting the network stack and apt-get operation. Follow-up to 5172ba5 curl#21107 Follow-up to a583884 curl#21181 Follow-up to 0455d87 curl#18509
It's been going on for almost a year, chances seem slim to have this fixed upstream. The observed issue is that on GitHub-supplied CI runner images, sometimes, `apt-get install` using the stock distro server `http://azure.archive.ubuntu.com/ubuntu` sees extreme slowness while downloading data, then reaching the job timeout and aborting, making CI red and necessitating a manual restart of the failed job(s). In majority of cases the install step takes no longer than 8-40 seconds (download + install), while in the failing case it takes 10-20+ minutes just to download. Earlier I slimmed down installs to avoid unnecessary packages, which mitigated, but did not completely fix the issue. Example: https://github.com/curl/curl/actions/runs/23599596928/job/68725576899?pr=21105 Follow-up to 0455d87 curl#18509 Closes curl#21107
In the last couple of months some jobs started taking a lot of time and
often timing out due to slow
apt installfrom the Azure Ubuntu mirror.The jobs affected were those that installed large packages:
GHA/http3-linux and the 3 cross-build jobs in GHA/windows.
This patch reduces the installed packaged to the minimum required
to complete the jobs. Saving a minute+ for each http3-linux job (a total
of 20+ minutes for the workflow.) Also saving bandwidth and reducing
the chance for long downloads or timeouts with slow Azure repos.
Details:
build-cachejob.mingw-w64withgcc-mingw-w64-x86-64-win32for the 3 Windows cross-build job. Dropping C++, 32-bit, and 64-bit
POSIX-threaded parts. Saving time and significant bandwidth for each
of the 3 jobs:
Download size: 277 MB -> 65 MB (installed: 1300 MB -> 400 MB)
Follow-up to ff5140a GHA/windows: give more time for Ubuntu installs #18163
Before:
https://github.com/curl/curl/actions/runs/17611514207 (http3)
https://github.com/curl/curl/actions/runs/17611514185/job/50034354923 (Windows cross)
After:
https://github.com/curl/curl/actions/runs/17628406362?pr=18509 (http3)
https://github.com/curl/curl/actions/runs/17627562551/job/50088055529?pr=18509 (Windows cross)
Out of curiousity, build times as seen in the http3 build-cache job:
Ref: https://github.com/curl/curl/actions/runs/17626120054/job/50083344805
A similar effort in curl-for-win, affecting 2 GHA/curl-for-win Windows
jobs (though they use the default Debian repo, with no issues):
Download size: 648 MB -> 430 MB (installed: 3344 MB -> 2333 MB)
Download size: 550 MB -> 328 MB (installed: 2815 MB -> 1804 MB)
Ref: curl/curl-for-win@e19665d
Ref: curl/curl-for-win@6b14c39
Bug: #18502 (comment)
I've found the GnuTLS build a scary monster, complex, slow, with many warnings, including null derefs, odd dependencies (bison), slow checkouts (amongst them: openssl!) and an insecure source code URL in
bootstrap.