NetBSD Problem Report #59315

From www@netbsd.org  Thu Apr 17 15:53:37 2025
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits)
	 client-signature RSA-PSS (2048 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 6D8131A9239
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 17 Apr 2025 15:53:37 +0000 (UTC)
Message-Id: <20250417155336.4C8E71A923D@mollari.NetBSD.org>
Date: Thu, 17 Apr 2025 15:53:36 +0000 (UTC)
From: campbell+netbsd@mumble.net
Reply-To: campbell+netbsd@mumble.net
To: gnats-bugs@NetBSD.org
Subject: t_timerfd tests are failing because isQEMU is broken
X-Send-Pr-Version: www-1.0

>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.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.49 2026/05/14 01:52:41 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.