Intermittent failures of ‘testsrn’

Simon Josefsson simon at josefsson.org
Tue Mar 16 16:04:17 CET 2010


Nikos Mavrogiannopoulos <nmav at gnutls.org> writes:

> I noticed that many times a gnutls-serv process wouldn't be killed causing
> the rest of the gnutls-serv processes to fail to execute.

Maybe we can rewrite these tests based on tests/mini.c or some other
approach that doesn't require process management from the shell?  The
latter is a bit unportable and prone to errors generally.

/Simon

> 2010/3/16 Ludovic Courtès <ludo at gnu.org>:
>> Hello,
>>
>> The ‘testsrn’ test seems to be unreliable.  On Hydra it fails once every
>> 3 runs or so (see <http://hydra.nixos.org/job/gnu/gnutls-master/build/all>):
>>
>> --8<---------------cut here---------------start------------->8---
>> make[3]: Entering directory `/tmp/nix-build-7w56z0vnh477zm70vcbdszxlbp8maihl-gnutls-2.9.10.drv-0/gnutls-2.9.10/tests/safe-renegotiation'
>> building check-TESTS
>> Checking Safe renegotiation
>> Failure: 0. Renegotiation should have succeeded!
>> Failure: 1. Safe rehandshake should have succeeded!
>> Failure: 4. Unsafe renegotiation should have failed!
>> ./testsrn: line 58: kill: (7871) - No such process
>> Failure: 5. Safe rehandshake should have succeeded!
>> Failure: 6. Unsafe rehandshake should have succeeded!
>> ./testsrn: line 79: kill: (8083) - No such process
>> FAIL: testsrn
>> ===================================
>> 1 of 1 test failed
>> Please report to bug-gnutls at gnu.org
>> ===================================
>> make[3]: *** [check-TESTS] Error 1
>> --8<---------------cut here---------------end--------------->8---
>>
>> (From <http://hydra.nixos.org/build/326092>.)
>>
>> It looks like the server died prematurely.
>>
>> Thanks,
>> Ludo’.
>>
>>
>> _______________________________________________
>> Gnutls-devel mailing list
>> Gnutls-devel at gnu.org
>> http://lists.gnu.org/mailman/listinfo/gnutls-devel
>>





More information about the Gnutls-devel mailing list