[Bug 1100158] perl-Server-Starter-0.17 FTBFS sometimes because of races in tests

bugzilla at redhat.com bugzilla at redhat.com
Mon Sep 8 15:52:09 UTC 2014


https://bugzilla.redhat.com/show_bug.cgi?id=1100158

Petr Pisar <ppisar at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CLOSED                      |ASSIGNED
         Resolution|RAWHIDE                     |---



--- Comment #8 from Petr Pisar <ppisar at redhat.com> ---
There another race. If t/05-killolddelay-echod.pl is not fast enough with
writing received signal name (e.g. by adding "sleep 2;" in the beginning of a
signal handler), the t/06-autorestart.t tests fails:

t/05-killolddelay.t .. ok
start_server (pid:17417) starting now...
starting new worker 17418
autorestart triggered (interval=4)
spawning a new worker (num_old_workers=0)
starting new worker 17421
new worker is now running, sending TERM to old workers:17418
sleep 1 secs
killing old workers
old worker 17418 died, status:0
autorestart triggered (interval=4)
spawning a new worker (num_old_workers=0)
starting new worker 17431
# Server changed from <1:17418
# > to <2:17421
# >
#   Failed test 'signal sent on hup'
#   at t/06-autorestart.t line 63.
#          got: ''
#     expected: 'TERM'
new worker is now running, sending TERM to old workers:17421

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=ksJRxjQRsI&a=cc_unsubscribe



More information about the perl-devel mailing list