Bug 14371 - AB-INT PTEST ARM: gawk ptest intermittent failure
Summary: AB-INT PTEST ARM: gawk ptest intermittent failure
Status: RESOLVED FIXED
Alias: None
Product: Package Testing (ptest)
Classification: QA/Testing
Component: ptest (show other bugs)
Version: 3.3
Hardware: x86 arm64
: Medium normal
Target Milestone: 4.0
Assignee: Ross Burton
QA Contact:
URL:
Whiteboard: AB-INT
Depends on:
Blocks:
 
Reported: 2021-05-01 22:51 UTC by Alexandre Belloni
Modified: 2021-12-23 15:39 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Belloni 2021-05-01 22:51:12 UTC
Another ptest timeout:

https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/1721/steps/12/logs/stdio

'gawk': ['time']

master-next on ubuntu1804-arm-1
Comment 1 Randy MacLeod 2021-05-06 14:38:06 UTC
Randy will check if there is some logging data around when this error happened and reply here.
Comment 2 Alexandre Belloni 2021-06-03 12:42:28 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/93/builds/918/steps/12/logs/stdio

qemuarm64-ptest-fast
master on ubuntu1804-arm-1
Comment 3 Alexandre Belloni 2021-06-16 00:53:58 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/93/builds/920

qemuarm64-ptest-fast
ubuntu1804-arm-1
Comment 4 Alexandre Belloni 2021-09-07 19:58:25 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/2183/steps/12/logs/stdio

qemuarm64-ptest ubuntu2004-arm-1
Comment 5 Ross Burton 2021-10-19 10:35:48 UTC
The log from comment #3:

Warning: tried to sleep 1.30 secs, but slept for 1.95 secs
FAIL: time

A loaded system strikes again.
Comment 6 Ross Burton 2021-10-19 11:35:54 UTC
Patch posted to increase the acceptable range of delays.
Comment 7 Alexandre Belloni 2021-10-27 22:39:52 UTC
qemuarm64-ptest ubuntu1804-arm-1
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/2414/steps/12/logs/stdio
Comment 8 Chee Yang 2021-11-09 15:07:09 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/2513/steps/12/logs/stdio
{'gawk': ['timeout']}
ubuntu1804-arm-1
qemuarm64-ptest
master-next
Comment 9 Alexandre Belloni 2021-12-08 16:15:17 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/2584/steps/12/logs/stdio
qemuarm64-ptest ubuntu2004-arm-1
Comment 10 Ross Burton 2021-12-09 17:28:38 UTC
Pulling out the actual log failures to see that they're all timing sensitive and failing due to load:

---
Warning: tried to sleep 1.30 secs, but slept for 1.95 secs
FAIL: time


sleep() took longer than the test wanted, false failure.

---
With timeouts and retries
hello
1 timed out; trying again
2 timed out; trying again
3 timed out; trying again
goodbye
0
FAIL: timeout

Timeout didn't happen quick enough, false failure.

---
gettimeofday - systime = 1
sleep(1.3) = 0
gettimeofday - systime = 0
FAIL: time

The first 1 indicates that the gap between gettimeofday() and systime() being called was more than 1 second, false failure.

Patch sent to just delete these failures.
Comment 11 Alexandre Belloni 2021-12-10 10:25:20 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/2631/steps/12/logs/stdio
qemuarm64-ptest ubuntu2004-arm-1