bryancall opened a new pull request, #14041: URL: https://github.com/apache/trafficserver/pull/14041
The nightly coverage job has not gotten past configure. The `branch-coverage` preset inherits `ENABLE_CRIPTS` from `branch-urtest`, and cripts requires fmt 8.1 or newer, but the job builds with gcc-toolset-11 on the rockylinux:8 CI image, whose fmt-devel package is 6.2.1. Configure stops at `find_package(fmt 8.1)`. The image also installs fmt 8.1.1 under `/opt/libfmt`, but it is built with gcc-toolset-14. Pointing `fmt_ROOT` at it gets through configure and the build, then libcripts is left with an unresolved `__cxa_call_terminate` and `test_cripts` fails to load under ctest. This change turns cripts off for the coverage build instead. Cripts, the connection_exempt_list plugin and the header_rewrite certificate conditions drop out of the coverage report, and their Uranium tests skip, until the image provides fmt 8.1 or newer built with the job's compiler. Test plan, in ci.trafficserver.apache.org/ats/rockylinux:8 with the coverage pipeline's own stage scripts: - Before: `cmake -B build --preset branch-coverage -DURTEST_SANDBOX=/tmp/sandbox` fails at `find_package(fmt 8.1)` (only 6.2.1 found), as in the nightly job. - After: configure, build and install pass; `lcov --initial` passes; ctest passes 1299 of 1299; `traffic_server -K -R 3` passes. - Uranium (the pipeline's serial `urtest.sh --no-run-in-docker --sandbox=/tmp/sandbox -v`): 1502 passed, 79 skipped, 14 failed of 1595, in 68 minutes. The 2 cripts tests and 3 connection_exempt_list variants skip with their reasons. None of the 14 failures comes from this change or from coverage. A non-coverage build of the same tree in the same image fails the same 13 (1503 passed, 79 skipped), and the fourteenth, a parent retry test, passed there; it lost a port race with another run on the same host. - Coverage stage (lcov capture, merge, filter, genhtml): passes; the report is 66.0% of lines (116396 of 176300) and 67.6% of functions. The 13 remaining Uranium failures are rockylinux:8 platform gaps for follow-up changes, not this one: nine cache shm tests expect POSIX shared memory, which this build compiles out on glibc 2.28, and four TLS tests expect OpenSSL 3 output or groups that the image's OpenSSL 1.1.1k lacks. Until those skip on this platform, the job's Test stage still fails after this change. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
