Bug 14507

Summary: AB-INT PTEST: libevent monotonic_prc_fallback_FAILED
Product: [QA/Testing] Package Testing (ptest) Reporter: Alexandre Belloni <alexandre.belloni>
Component: ptestAssignee: Thomas Perrot <thomas.perrot>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: oobitots, randy.macleod, thomas.perrot
Version: 3.4   
Target Milestone: 3.4 M4   
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 2021-08-11 22:07:02 UTC
New libevent failure, happening quite often. It is suspected to be linked to the glibc 2.34 update but doesn't happen every time:

'libevent': ['[monotonic_prc_fallback_FAILED]']


https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/2338/steps/12/logs/stdio

qemux86-64-ptest centos8-ty-2
Comment 2 Alexandre Belloni 2021-08-11 22:21:21 UTC
Actually, nothing since 2021-08-08, even on builds with glibc 2.34
Comment 3 Alexandre Belloni 2021-08-12 21:41:41 UTC
Happened in https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/2366

This build didn't have glibc 2.34

qemux86-64-ptest debian8-ty-1
Comment 4 Alexandre Belloni 2021-08-13 13:02:02 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/2370/steps/12/logs/stdio

qemux86-64-ptest fedora31-ty-1
Comment 6 Alexandre Belloni 2021-08-20 13:06:24 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/2390/steps/12/logs/stdio

qemux86-64-ptest ubuntu2004-ty-2
Comment 7 Alexandre Belloni 2021-09-16 09:17:51 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/2433

qemux86-64-ptest centos8-ty-2
Comment 9 Oleksiy Obitotskyy 2021-09-27 08:39:58 UTC
qemux86-64-ptest ubuntu2004-ty-1

https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/2593
Comment 10 Oleksiy Obitotskyy 2021-09-28 10:38:24 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/2604

qemux86-64-ptest centos8-ty-1

{'libevent': ['[monotonic_prc_fallback_FAILED]']}
Comment 11 Oleksiy Obitotskyy 2021-09-29 05:52:25 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/2605
qemux86-64-ptest ubuntu2004-ty-1

{'libevent': ['[monotonic_prc_fallback_FAILED]']}
Comment 12 Thomas Perrot 2021-09-29 12:23:15 UTC
This issue is tracked on https://github.com/libevent/libevent/issues/1193

The same issue can occur with all libevent tests that use the flag TT_RETRIABLE.

Ideally, it should be necessary to adjust the test suite output, so that retriable tests should be marked failed only when all attempts have failed.


In addition, the run-ptest script should be a little reworked because it does not correctly count the number of tests.
Comment 13 Thomas Perrot 2021-10-06 07:50:18 UTC
The libevent patch has been reworked for the master branch and merged.
Comment 14 Alexandre Belloni 2021-10-14 14:54:47 UTC
Fixed by c619d748ab7ef08b189a4c8bb0f4f98fd8551930