GHA/non-native: un-ignore tests on OpenBSD, bump to -j8 for NetBSD/FreeBSD

- un-ignore tests (3017, FTP, TFTP) on OpenBSD
  Patch-by: Jacob Mealey
  Ref: https://github.com/curl/curl/issues/13623#issuecomment-2925129037
  Fixes: #13623

- KNOWN_BUGS: drop TFTP failures issue on OpenBSD.
  Fixes: #13623

- bump test parallelism to `-j8` (from `-j4`) for NetBSD, FreeBSD,
  to match OpenBSD.
  Before: https://github.com/curl/curl/actions/runs/15371760479
  After: https://github.com/curl/curl/actions/runs/15371937205

- FreeBSD: sync cmake `TFLAGS` with autotools. (This branch is not
  currently hit in CI.)
  Follow-up to 7f3d598276 #15040

Closes #17505
This commit is contained in:
Viktor Szakats 2025-06-01 08:01:23 +02:00
parent 7020ba7979
commit 516e9ccab3
No known key found for this signature in database
GPG Key ID: B5ABD165E2AEF201
2 changed files with 4 additions and 11 deletions

View File

@ -72,7 +72,7 @@ jobs:
bld/src/curl --disable --version bld/src/curl --disable --version
if [ '${{ matrix.arch }}' = 'x86_64' ]; then # Slow on emulated CPU if [ '${{ matrix.arch }}' = 'x86_64' ]; then # Slow on emulated CPU
time cmake --build bld --target testdeps time cmake --build bld --target testdeps
export TFLAGS='-j4' export TFLAGS='-j8'
time cmake --build bld --target test-ci time cmake --build bld --target test-ci
fi fi
echo '::group::build examples' echo '::group::build examples'
@ -112,7 +112,7 @@ jobs:
bld/src/curl --disable --version bld/src/curl --disable --version
if [ '${{ matrix.arch }}' = 'x86_64' ]; then # Slow on emulated CPU if [ '${{ matrix.arch }}' = 'x86_64' ]; then # Slow on emulated CPU
time cmake --build bld --target testdeps time cmake --build bld --target testdeps
export TFLAGS='-j8 ~3017 ~TFTP ~FTP' # FIXME: TFTP requests executed twice? Related: `curl: (69) TFTP: Access Violation`? export TFLAGS='-j8'
time cmake --build bld --target test-ci time cmake --build bld --target test-ci
fi fi
echo '::group::build examples' echo '::group::build examples'
@ -169,7 +169,7 @@ jobs:
if [ '${{ matrix.arch }}' = 'x86_64' ]; then # Slow on emulated CPU if [ '${{ matrix.arch }}' = 'x86_64' ]; then # Slow on emulated CPU
time make -C tests time make -C tests
if [ "${desc#*!runtests*}" = "${desc}" ]; then if [ "${desc#*!runtests*}" = "${desc}" ]; then
time make test-ci V=1 TFLAGS='-j4' time make test-ci V=1 TFLAGS='-j8'
fi fi
fi fi
if [ "${desc#*!examples*}" = "${desc}" ]; then if [ "${desc#*!examples*}" = "${desc}" ]; then
@ -206,6 +206,7 @@ jobs:
if [ '${{ matrix.arch }}' = 'x86_64' ]; then # Slow on emulated CPU if [ '${{ matrix.arch }}' = 'x86_64' ]; then # Slow on emulated CPU
time cmake --build bld --target testdeps time cmake --build bld --target testdeps
if [ "${desc#*!runtests*}" = "${desc}" ]; then if [ "${desc#*!runtests*}" = "${desc}" ]; then
export TFLAGS='-j8'
time cmake --build bld --target test-ci time cmake --build bld --target test-ci
fi fi
fi fi

View File

@ -74,7 +74,6 @@ problems may have been fixed or changed somewhat since this was written.
11. Internals 11. Internals
11.1 gssapi library name + version is missing in curl_version_info() 11.1 gssapi library name + version is missing in curl_version_info()
11.2 error buffer not set if connection to multiple addresses fails 11.2 error buffer not set if connection to multiple addresses fails
11.3 TFTP tests fail on OpenBSD
11.4 HTTP test server 'connection-monitor' problems 11.4 HTTP test server 'connection-monitor' problems
11.5 Connection information when using TCP Fast Open 11.5 Connection information when using TCP Fast Open
11.6 test cases sometimes timeout 11.6 test cases sometimes timeout
@ -475,13 +474,6 @@ problems may have been fixed or changed somewhat since this was written.
CURLE_COULDNT_CONNECT, but the error buffer set by CURLOPT_ERRORBUFFER CURLE_COULDNT_CONNECT, but the error buffer set by CURLOPT_ERRORBUFFER
remains empty. Issue: https://github.com/curl/curl/issues/544 remains empty. Issue: https://github.com/curl/curl/issues/544
11.3 TFTP tests fail on OpenBSD
When adding an OpenBSD job with tests to GHA, some tests consistently fail
to run.
See https://github.com/curl/curl/issues/13623
11.4 HTTP test server 'connection-monitor' problems 11.4 HTTP test server 'connection-monitor' problems
The 'connection-monitor' feature of the sws HTTP test server does not work The 'connection-monitor' feature of the sws HTTP test server does not work