[mod_gnutls-devel] test suite failures on ppc64 and sparc64

Thomas Klute thomas2.klute at uni-dortmund.de
Mon Feb 6 18:53:42 CET 2017

Am 06.02.2017 um 10:10 schrieb Daniel Kahn Gillmor:
> ppc64 is only one failure:
> FAIL: test-13_cgi_variables_no_client_cert.bash
> ===============================================
> TESTING: 13_cgi_variables_no_client_cert
> Apache HTTPD unexpectedly failed to start.
> FAILURE: 13_cgi_variables_no_client_cert
> AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using Set the 'ServerName' directive globally to suppress this message
> FAIL test-13_cgi_variables_no_client_cert.bash (exit status: 1)
> but sparc64 is large chunks of the test suite failing.  Any thoughts on
> steps i could take to try to sort these issues out?

Looking at both build logs my best guess is that the tests are hitting
timeouts, both when getting the server instance locks (used to prevent
port conflicts) and running HTTPS requests against them. The log for
test-15_basic_msva.bash on sparc64 even looks like the timeout hit in
the middle of request handling.

I've pushed three related commits to master (the attached patch combines
all three), in order:

8184ad0eda43102d24d7cf158710e0109c7e293b Test suite: Run flock with
"--verbose" to log timeouts
bbfcbb57c2cb89790316b66bdd475c3a64ca4080 Test suite: Log if a process to
be stopped by PID file is not running
6c030c14da928da3e05f232e3fb8dd5aa98c659a Test suite: Make timeouts for
server locks and HTTPS requests configurable

Commits 8184ad0eda43102d24d7cf158710e0109c7e293b and
bbfcbb57c2cb89790316b66bdd475c3a64ca4080 just make the logging more
detailed to show if the tests are really hitting timeouts.

To change the timeouts, you can either cherry-pick
6c030c14da928da3e05f232e3fb8dd5aa98c659a and pass TEST_LOCK_WAIT and
TEST_QUERY_TIMEOUT with large values (e.g. 300 or even 600, default is
30 [seconds]) to ./configure, or patch the values of lock_wait and
TEST_QUERY_DELAY in test/Makefile.am (I've replaced/renamed the
variables in the patch).

> I can make force the entire build to not be parallel if you think it
> would be useful to test.  While i see "parallel=32" in the sparc64
> transcript, i don't see a "parallel=" note at all in ppc64.

Running in parallel definitely makes hitting the timeouts more likely,
but shouldn't cause any additional problems. You can force just the test
part of the build to run serially by passing --disable-flock to
./configure, which will add the special target .NOTPARALLEL to
test/Makefile. I'd prefer if you try the patches first, though.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_timeout_handling.patch
Type: text/x-patch
Size: 5001 bytes
Desc: not available
URL: </pipermail/attachments/20170206/ec245f2e/attachment.bin>

More information about the mod_gnutls-devel mailing list