Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 916777

Summary: dev-libs/libei-1.2.1 fails tests (timeout of "libei:sigalrm / eierpecken")
Product: Gentoo Linux Reporter: Jonathan Lovelace <kingjon3377>
Component: Current packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED FIXED    
Severity: normal CC: jstein
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://gitlab.freedesktop.org/libinput/libei/-/issues/50
See Also: https://gitlab.freedesktop.org/libinput/libei/-/merge_requests/286
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: dev-libs:libei-1.1.0:20231104-013952.log
emerge-info.txt
testlog.txt

Description Jonathan Lovelace 2023-11-04 02:12:24 UTC
Created attachment 873994 [details]
dev-libs:libei-1.1.0:20231104-013952.log

=dev-libs/libei-1.1.0 fails its test suite for me. Specifically, the test "libei:python / protocol-test" times out. I tried patching test/meson.build to increase the timeout limit for this test from the default 30 seconds up to 300 seconds, but the test still timed out.

I will attach build log, emerge --info, and the meson testlog.txt.
Comment 1 Jonathan Lovelace 2023-11-04 02:12:54 UTC
Created attachment 873995 [details]
emerge-info.txt
Comment 2 Jonathan Lovelace 2023-11-04 02:13:40 UTC
Created attachment 873996 [details]
testlog.txt
Comment 3 Matt Turner gentoo-dev 2024-04-03 18:01:19 UTC
On v1.2.1, "libei:python / protocol-test" passes in 7 seconds for me:

>  9/10 libei:python / protocol-test                    OK               7.00s

But "libei:sigalrm / eierpecken" times out after 6 minutes:

> libei:sigalrm / eierpecken time out (After 300.0 seconds)
> 10/10 libei:sigalrm / eierpecken                      TIMEOUT        300.03s   killed by signal 15 SIGTERM

Going to repurpose this bug.
Comment 4 Larry the Git Cow gentoo-dev 2024-04-03 18:52:28 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7abaf6f91c5edc9b609babcd05413d4fafb255a0

commit 7abaf6f91c5edc9b609babcd05413d4fafb255a0
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2024-04-03 18:52:07 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2024-04-03 18:52:24 +0000

    dev-libs/libei: Don't run sigalrm test
    
    Closes: https://bugs.gentoo.org/916777
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 dev-libs/libei/libei-1.2.1.ebuild | 5 +++++
 1 file changed, 5 insertions(+)
Comment 5 Larry the Git Cow gentoo-dev 2024-04-04 16:51:21 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c3930b5b1889a1c73f4369bb9fb298b08440561

commit 6c3930b5b1889a1c73f4369bb9fb298b08440561
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2024-04-04 16:27:53 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2024-04-04 16:51:13 +0000

    dev-libs/libei: Add --timeout-multiplier 10
    
    Some tests (protocol-test, scanner-pytest, oeffis-pytest) can take
    longer than 30 seconds if the system is under load.
    
    Bug: https://bugs.gentoo.org/916777
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 dev-libs/libei/libei-1.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)