Bug 15079

Summary: AB-INT PTEST: strace count ptest failure
Product: [QA/Testing] Package Testing (ptest) Reporter: Alexandre Belloni <alexandre.belloni>
Component: ptestAssignee: Kris Gavvala <kris.gavvala>
Status: ACCEPTED --- QA Contact:
Severity: normal    
Priority: Medium CC: alexandre.belloni, Derald.Woods, joaomarcos.costa, randy.macleod, tgamblin
Version: unspecified   
Target Milestone: 6.2   
Hardware: x86   
OS: Multiple   
Whiteboard: AB-INT
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Alexandre Belloni 2023-03-23 14:26:34 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/4619/steps/13/logs/stdio

'strace': ['count.test', 'count']


FAIL: count
===========

Pattern of expected output: 100\.00 +(1\.[01]|0\.99)[^n]*nanosleep
Actual output:
% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- ----------------
100.00    1.319801     1319800         1           nanosleep
------ ----------- ----------- --------- --------- ----------------
100.00    1.319801     1319800         1           total
count.test: failed test: ../../src/strace -cw -enanosleep ../sleep 1 output mismatch
FAIL count.test (exit status: 1)
Comment 1 Randy MacLeod 2023-07-13 14:54:06 UTC
Randy should send a patch to increase the time allowed.
Comment 2 Alexandre Belloni 2023-07-28 13:22:41 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/5208/steps/13/logs/stdio

qemuarm64-ptest ubuntu1804-arm-1
Comment 3 Trevor Gamblin 2023-09-14 15:34:03 UTC
Moved to M4.
Comment 4 Randy MacLeod 2024-01-25 15:53:15 UTC
Infrequent but I'd like to review the test. Lower to Medium.
Comment 5 João Marcos Costa 2024-04-12 09:42:12 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/6298/steps/13/logs/stdio

AssertionError: 
Failed ptests:
{'strace': ['count.test', 'count']}
Comment 6 João Marcos Costa 2024-04-23 11:01:48 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/6343/steps/13/logs/stdio

AssertionError: 
Failed ptests:
{'strace': ['count.test', 'count']}

qemuarm64-ptest ubuntu1804-arm-1
Comment 7 Randy MacLeod 2024-09-23 18:46:35 UTC
Re-open if seen again.
Comment 8 João Marcos Costa 2025-03-17 09:25:28 UTC
https://autobuilder.yoctoproject.org/valkyrie/#/builders/73/builds/1111/steps/12/logs/stdio

AssertionError: Failed ptests:{'strace': ['count.test', 'count']}

qemux86-64-ptest fedora40-vk-4

Reopening.
Comment 9 João Marcos Costa 2025-03-21 09:23:35 UTC
https://autobuilder.yoctoproject.org/valkyrie/#/builders/73/builds/1161/steps/12/logs/stdio

qemux86-64-ptest alma9-vk-1
Comment 10 Randy MacLeod 2025-12-03 01:26:48 UTC
If this happens during 6.0 development, Randy should change:
❯ rg WALLCLOCK= tests/count.test
33:WALLCLOCK=' *[^ ]+ +(1\.[01]|0\.99)[^n]*nanosleep *'

to be:

33:WALLCLOCK=' *[^ ]+ +([1-3]\.[01]|0\.99)[^n]*nanosleep *'

or something.
Comment 11 Mathieu Dubois-Briand 2026-05-11 08:54:21 UTC
qemuarm64-ptest ubuntu2204-vk-arm2 mathieu/master-next completed at 2026-05-10 12:18:17+00:00
https://valkyrie.yocto.io/pub/non-release/20260510-42/testresults/qemuarm64-ptest/
https://autobuilder.yoctoproject.org/valkyrie/#/builders/61/builds/3630/steps/13/logs/stdio