system/cmake: test failure: ctest_submit/FailDrop-https
On at least x86_64
there is one test failure on current (3.16.4
) and one on the latest (3.22.1)
:
...
-- FailDrop-http - PASSED
CMake Error at RunCMake.cmake:201 (message):
FailDrop-https - FAILED:
stderr does not match that expected.
Command was:
command> "/root/packages/system/cmake/src/cmake-3.22.1/bin/ctest" "-C" "Debug" "-S" "/root/packages/system/cmake/src/cmake-3.22.1/Tests/RunCMake/ctest_submit/FailDrop-https/test.cmake" "-V" "--output-log" "/root/packages/system/cmake/src/cmake-3.22.1/Tests/RunCMake/ctest_submit/FailDrop-https-build/testOutput.log" "--no-compress-output"
Actual stdout:
actual-out> Run dashboard with model Experimental
actual-out> Source directory: /root/packages/system/cmake/src/cmake-3.22.1/Tests/RunCMake/ctest_submit/FailDrop-https
actual-out> Build directory: /root/packages/system/cmake/src/cmake-3.22.1/Tests/RunCMake/ctest_submit/FailDrop-https-build
actual-out> Reading ctest configuration file: /root/packages/system/cmake/src/cmake-3.22.1/Tests/RunCMake/ctest_submit/FailDrop-https/CTestConfig.cmake
actual-out> Site: test-site
actual-out> Build name: test-build-name
actual-out> Use Experimental tag: 20220104-0808
actual-out> Configure project
actual-out> Each . represents 1024 bytes of output
actual-out> . Size of output: 0K
actual-out> Submit files
actual-out> SubmitURL: https://-no-site-
Expected stderr to match:
expect-err> Error message was: ([Cc]ould *n.t resolve host:? '?-no-site-'?.*|The requested URL returned error:.*|Protocol "https" not supported or disabled in .*|.* was built with SSL disabled.*)
expect-err> Problems when submitting via HTTP
Actual stderr:
actual-err> Error when uploading file: /root/packages/system/cmake/src/cmake-3.22.1/Tests/RunCMake/ctest_submit/FailDrop-https-build/Testing/20220104-0808/Configure.xml
actual-err> Error message was: SSL: no alternative certificate subject name matches target host name '-no-site-'
actual-err> Problems when submitting via HTTP
Call Stack (most recent call first):
RunCMake.cmake:215 (run_cmake)
RunCTest.cmake:17 (run_cmake_command)
ctest_submit/RunCMakeTest.cmake:49 (run_ctest)
ctest_submit/RunCMakeTest.cmake:53 (run_ctest_submit_FailDrop)
...
This test needs to be disabled during bump. I also fixed a bug in APKBUILD
where parallel builds were not being respected if MAKEOPTS
was not set. This is a Gentoo-ism and has been removed.
The tests can (in theory) be done in parallel too by setting the environment variable CTEST_PARALLEL_LEVEL=N
except some of the tests have race conditions and they rely on pattern matching to verify the output. So...