strace 4.13 testsuite failure on s390x

Dmitry V. Levin ldv at altlinux.org
Fri Jul 29 14:36:01 UTC 2016


On Fri, Jul 29, 2016 at 03:33:40PM +0200, Andreas Schwab wrote:
> Here is another failure:
> 
> https://build.opensuse.org/package/live_build_log/devel:tools/strace/SLE_12_SP1/s390x
[...]
> FAIL: count
> ===========
> 
> Pattern of expected output:  *[^ ]+ +(1\.[01]|0\.99)[^n]*nanosleep
> Actual output:
> % time     seconds  usecs/call     calls    errors syscall
> ------ ----------- ----------- --------- --------- ----------------
>  99.99    1.200578     1200578         1           nanosleep

Unlike the previous race, I've seen this one before.

The test checks, in particular, whether "strace -c" shows a reasonable
value in "seconds" column, by invoking nanosleep with 1 second argument.
On very slow systems, that syscall may take arbitrary amount of time.

I wouldn't like to relax the regexp as it would make the test result less
reliable.


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20160729/c0899efc/attachment.bin>


More information about the Strace-devel mailing list