<p></p>
<p>sleep/nanosleep/-r/-t/-T/delay/syscall stats checks rely on the fact that the nanosleep call (or its equivalents) wakes up the process within some tolerance, usually 0.1—0.2 seconds. This is not the case in some virtualised environments with heavy over-provisioning, one notable example is s390, which results in test failures which are not indicative of strace's issues (but rather some intermittent issues with the environment).</p>
<p>One possible fix for this is to collect the experienced delay from the test program's PoV and compare it to strace's notion of the time passed.</p>
<p>Via <a href="https://lists.strace.io/pipermail/strace-devel/2021-April/010501.html" rel="nofollow">https://lists.strace.io/pipermail/strace-devel/2021-April/010501.html</a></p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/strace/strace/issues/182">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AOVBTR7CJMICDGNKDRAJZLDTHR4CTANCNFSM42RBEBAA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AOVBTR5N2ZUHPFB526MX5N3THR4CTA5CNFSM42RBEBAKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4MWQW5DA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/strace/strace/issues/182",
"url": "https://github.com/strace/strace/issues/182",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>