[LTP] [lkp] [signal] 98ea270c46: ltp.float_exp_log.fail
Cyril Hrubis
chrubis@suse.cz
Tue Jun 28 10:56:08 CEST 2016
Hi!
> <<<test_start>>>
> tag=float_bessel stime=1466890256
> cmdline="cd $LTPROOT/testcases/bin; float_bessel -v"
> contacts=""
> analysis=exit
> <<<test_output>>>
> float_bessel 1 TPASS : Test passed
> float_bessel 0 TINFO : float_bessel: will run for 500 loops; using . as a data directory
> float_bessel 0 TINFO : float_bessel: will run 5 functions, 20 threads per function
> float_bessel 0 TINFO : signal handler 140339933017856 started
> float_bessel 0 TINFO : Signal handler starts waiting...
> float_bessel 0 TINFO : Signal handler caught signal 0
> float_bessel 1 TFAIL : main.c:41: Test failed
Looking at the test it creates a separate thread to handle signals which
sleeps in sigwait() which is implemented in glibc via the sigtimedwait
syscall with NULL timeout.
Looking at the patch the ktime_t timeout is initialized to 0 instead of
MAX_SCHEDULE_TIMEOUT now so I guess that the call with NULL timeout does
poll instead of sleeping in kernel waiting for signals to arrive. That
should be fixed.
--
Cyril Hrubis
More information about the ltp
mailing list