[linux-lvm] It looks wrong for the timeout when lvm test running

Zdenek Kabelac zkabelac at redhat.com
Mon Dec 9 09:40:24 UTC 2019


Dne 09. 12. 19 v 10:20 Heming Zhao napsal(a):
> Hello List,
> 
> The lvm test default timeout (--timeout) default value is 180.
> But I met below condition when running testcase (in virtual machine):
> ```
> make check_local T=shell/snapshot-merge.sh
>      ... ...
> ###       passed: [ndev-vanilla] shell/snapshot-merge.sh 665
>      ... ...
> ```
> 
> Obviously, the timeout doesn't work normally.
> If I change below code, the timeout work as expected. (in lib/brick-shelltest.h)
> ```
>           if ( select( nfds, &set, NULL, NULL, &wait ) > 0 ) {
>               silent_start = end; /* something happened */
>               io.sync( false );
>           }


Hi


Can you please provide (compressed) output of:

'make check_local T=snapshot-merge.sh VERBOSE=1 LVM_TEST_AUX_TRACE=1'

Thanks

Zdenek







More information about the linux-lvm mailing list