strace 4.14 released
Eugene Syromyatnikov
evgsyr at gmail.com
Wed Oct 5 09:27:51 UTC 2016
On Wed, Oct 5, 2016 at 9:08 AM, Andreas Schwab <schwab at suse.de> wrote:
> I'm seeing this testsuite failure:
>
> https://build.opensuse.org/package/live_build_log/home:Andreas_Schwab:Factory/strace/s/s390x
>
> FAIL: count
> ===========
>
> Pattern of expected output: *[^ ]+ +(1\.[01]|0\.99)[^n]*nanosleep
> Actual output:
> % time seconds usecs/call calls errors syscall
> ------ ----------- ----------- --------- --------- ----------------
> 99.97 1.286494 1286494 1 nanosleep
> 0.01 0.000102 102 1 execve
> 0.01 0.000077 13 6 mmap
> 0.00 0.000040 13 3 mprotect
> 0.00 0.000026 13 2 open
> 0.00 0.000022 11 2 close
> 0.00 0.000022 11 2 fstat
> 0.00 0.000014 14 1 munmap
> 0.00 0.000013 13 1 1 access
> 0.00 0.000012 12 1 read
> 0.00 0.000012 12 1 brk
> ------ ----------- ----------- --------- --------- ----------------
> 100.00 1.286834 21 1 total
> count.test: failed test: ../strace -cw ./sleep 1 output mismatch
Well, this is sort of intentional and means that nanosleep is not
precise enough (due to various reasons). Dmitry described his view on
the matter:
"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."
— https://sourceforge.net/p/strace/mailman/message/35250158/
May be you have any ideas regarding possibilities of fixing the
environment in order to get nanosleep? Or is it confirmed issue on
zSeries?
>
> Andreas.
>
> --
> Andreas Schwab, SUSE Labs, schwab at suse.de
> GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
> "And now for something completely different."
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> Strace-devel mailing list
> Strace-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/strace-devel
--
Eugene "eSyr" Syromyatnikov
mailto:evgSyr at gmail.com
xmpp:eSyr at jabber.{ru|org}
More information about the Strace-devel
mailing list