I have been seeing uio.test failing consistently in one build scenario and finally tracked down the problem.
My build has an extra file handle open when it builds strace, and uio.test assumes only stdin, stdout and stderr are open at the time of the test. Simple way to cause the failure: make check 3<&0 Fixing it seems to be as simple as: diff -urN strace-4.9.orig/tests/uio.test strace-4.9/tests/uio.test --- strace-4.9.orig/tests/uio.test 2014-08-11 17:30:01.000000000 +0000 +++ strace-4.9/tests/uio.test 2015-10-07 22:01:39.925996968 +0000 @@ -31,9 +31,9 @@ } } -grep_log 'pread(64)?' '\(3, "\\0\\0\\0\\0", 4, 1004211379570065135\) += 4' -grep_log 'preadv' '\(3, \[{"\\0\\0\\0\\0", 4}\], 1, 1004211379570065135\) += 4' -grep_log 'pwrite(64)?' '\(3, "\\0\\0\\0\\0", 4, 1004211379570065135\) += 4' -grep_log 'pwritev' '\(3, \[{"\\0\\0\\0\\0", 4}\], 1, 1004211379570065135\) += 4' +grep_log 'pread(64)?' '\([0-9]+, "\\0\\0\\0\\0", 4, 1004211379570065135\) += 4' +grep_log 'preadv' '\([0-9]+, \[{"\\0\\0\\0\\0", 4}\], 1, 1004211379570065135\) += 4' +grep_log 'pwrite(64)?' '\([0-9]+, "\\0\\0\\0\\0", 4, 1004211379570065135\) += 4' +grep_log 'pwritev' '\([0-9]+, \[{"\\0\\0\\0\\0", 4}\], 1, 1004211379570065135\) += 4' exit 0 -- Len Sorensen ------------------------------------------------------------------------------ Full-scale, agent-less Infrastructure Monitoring from a single dashboard Integrate with 40+ ManageEngine ITSM Solutions for complete visibility Physical-Virtual-Cloud Infrastructure monitoring from one console Real user monitoring with APM Insights and performance trend reports Learn More http://pubads.g.doubleclick.net/gampad/clk?id=247754911&iu=/4140 _______________________________________________ Strace-devel mailing list Strace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/strace-devel