NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-alpha/59315: t_timerfd tests are failing because isQEMU is broken



>Number:         59315
>Category:       port-alpha
>Synopsis:       t_timerfd tests are failing because isQEMU is broken
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-alpha-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 17 15:55:00 +0000 2025
>Originator:     Taylor R Campbell
>Release:        current
>Organization:
The QemalphaBSD Configuration
>Environment:
>Description:
Test case: lib/libc/sys/t_timerfd/timerfd_abstime

Duration: 2.116267 seconds
Termination reason

FAILED: /tmp/build/2025.04.16.12.05.52-alpha/src/tests/lib/libc/sys/t_timerfd.c:411: then=4236.372146563 now=4238.440596508 delta=2.068449945
Standard output stream

val 2 not in [ 1, 1 ]

https://releng.netbsd.org/b5reports/alpha/2025/2025.04.16.12.05.52/test.html#lib_libc_sys_t_timerfd_timerfd_abstime

Same deal as port-sparc64/59312: t_timerfd tests are failing because isQEMU is broken, no qemufwcfg(4) in alpha so isQEMU returns false.
>How-To-Repeat:
Under qemu-system-alpha:

cd /usr/tests/lib/libc/sys
atf-run t_timerfd | atf-report
>Fix:
Either:

1. find how to attach qemufwcfg(4) on alpha, or
2. find another way to detect qemu in tests on alpha, or
3. implement proper high-resolution timers in the host.



Home | Main Index | Thread Index | Old Index