NetBSD Problem Report #59290

From www@netbsd.org  Sun Apr 13 18:27:24 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 C14221A9239
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 13 Apr 2025 18:27:24 +0000 (UTC)
Message-Id: <20250413182723.98E8A1A923D@mollari.NetBSD.org>
Date: Sun, 13 Apr 2025 18:27:23 +0000 (UTC)
From: campbell+netbsd@mumble.net
Reply-To: campbell+netbsd@mumble.net
To: gnats-bugs@NetBSD.org
Subject: releng tests have not completed since 2024-12-19
X-Send-Pr-Version: www-1.0

>Number:         59290
>Category:       port-macppc
>Synopsis:       releng tests have not completed since 2024-12-19
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-macppc-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 13 18:30:00 +0000 2025
>Closed-Date:    Fri Jun 20 07:59:26 +0000 2025
>Last-Modified:  Fri Jun 20 07:59:26 +0000 2025
>Originator:     Taylor R Campbell
>Release:        current
>Organization:
The MacBSD Stoppedtesting
>Environment:
>Description:
The last completed test run appears to be:

https://releng.netbsd.org/b5reports/macppc/commits-2024.12.html#build-2024.12.19.21.09.29

After that, the install has been failing:

Building databases: dev, utmp, utmpx, services.
Starting syslogd.
qemu: fatal: Traceback (most recent call last):
...
  File "/usr/pkg/lib/python3.12/site-packages/pexpect/expect.py", line 179, in expect_loop
    return self.eof(e)
           ^^^^^^^^^^^
  File "/usr/pkg/lib/python3.12/site-packages/pexpect/expect.py", line 122, in eof
    raise exc
pexpect.exceptions.EOF: End Of File (EOF). Empty string style platform.

https://releng.netbsd.org/b5reports/macppc/2024/2024.12.20.15.56.45/test.log

Building databases: dev, utmp, utmpx, services.
Starting syslogd.
qemu: fatal: Raised an exception without defined vector 94

NIP fdb4d530   LR fdb4dd10 CTR fd5ef830 XER 20000000 CPU#0
MSR 0200d032 HID0 809400a4  HF 02004012 iidx 0 didx 0
TB 00000000 754292025 DECR 92459
GPR00 0000000000000125 00000000ffffe8b0 00000000fde90008 0000000000000000
GPR04 0000000000000000 00000000fdcf3bac 00000000fdcf3b48 0000000000000001
GPR08 0000000000000000 00000000fde90008 00000000ffffe8b0 00000000fdb4dd04
GPR12 0000000044004242 0000000000000000 00000000fdee0f70 00000000fdef5858
GPR16 00000000fdef5838 0000000000000000 00000000ffffea94 00000000fdee0fb0
GPR20 00000000ffffea94 0000000001800114 0000000000000000 0000000000000001
GPR24 0000000000000000 00000000fdef5850 0000000000000001 00000000fdb4db1c
GPR28 00000000ffffe9c0 00000000ffffe8f8 00000000fdcf4b4c 00000000fdcf3b48
CR 24004242  [ E  G  -  -  G  E  G  E  ]     RES 004@ffffffff
FPR00 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR04 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR08 0000000000000000 0000000000000000 0000000000000000 000Traceback (most recent call last):
...
  File "/usr/pkg/lib/python3.12/site-packages/pexpect/expect.py", line 179, in expect_loop
    return self.eof(e)
           ^^^^^^^^^^^
  File "/usr/pkg/lib/python3.12/site-packages/pexpect/expect.py", line 122, in eof
    raise exc
pexpect.exceptions.EOF: End Of File (EOF). Empty string style platform.

https://releng.netbsd.org/b5reports/macppc/2025/2025.04.13.09.44.58/test.log
>How-To-Repeat:
anita test macppc, probably
>Fix:
Yes, please!

>Release-Note:

>Audit-Trail:
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
To: gnats-bugs@netbsd.org
Cc: tsutsui@ceres.dti.ne.jp
Subject: Re: port-macppc/59290: releng tests have not completed since 2024-12-19
Date: Mon, 14 Apr 2025 06:19:35 +0900

 > Building databases: dev, utmp, utmpx, services.
 > Starting syslogd.
 > qemu: fatal: Traceback (most recent call last):
  :
 > >How-To-Repeat:
 > anita test macppc, probably
 > >Fix:
 > Yes, please!

 I've seen this on liveimage tests on (at least) qemu 9.1.2 and 9.2.0.

 If qemu-system-ppc is started with "-machine mac99"
 the cpu is configured as the following:
 ---
 >> CPU type PowerPC,G4
  :
 [   1.0000000] cpu0 at mainbus0: 7400 (Revision 2.9), ID 0 (primary)
 [   1.0000000] cpu0: HID0 0x809400a4<EMCP,DOZE,DPM,EIEC,SGE,BTIC,BHT>, powersave: 1
 ---
 then qemu fails around starting sshd.

 Without "-machine macp99" the cpu is configured as the following:
 ---
 >> CPU type PowerPC,750
  :
 [   1.0000000] cpu0 at mainbus0: 750 (Revision 3.1), ID 0 (primary)
 [   1.0000000] cpu0: HID0 0x805000a4<EMCP,NAP,DPM,SGE,BTIC,BHT>, powersave: 1
 ---
 and NetBSD/macppc works.

 Probably some CPU detection code in openssl might trigger this?

 ---
 Izumi Tsutsui

From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
To: gnats-bugs@netbsd.org
Cc: tsutsui@ceres.dti.ne.jp
Subject: Re: port-macppc/59290: releng tests have not completed since 2024-12-19
Date: Mon, 14 Apr 2025 07:56:16 +0900

 > I've seen this on liveimage tests on (at least) qemu 9.1.2 and 9.2.0.

 - qemu 8.2.2 from pkgsrc-2024Q1 works
 - qemu 9.0.1 from pkgsrc-2024Q2 works
 - qemu 9.1.0 from pkgsrc-2024Q3 fails
 - qemu 9.1.2 from pkgsrc-2024Q4 fails
 - qemu 9.2.0 from pkgsrc-current around 202502 fails
 - qemu 9.2.2 from pkgsrc-2025Q1 fails

 > If qemu-system-ppc is started with "-machine mac99"

 "qemu-system-ppc -machine mac99 -cpu g3" also works around.

 ---
 Izumi Tsutsui

From: Andreas Gustafsson <gson@gson.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-macppc/59290: releng tests have not completed since 2024-12-19
Date: Sat, 7 Jun 2025 17:29:52 +0300

 In April, campbell+netbsd@mumble.net wrote:
 > The last completed test run appears to be:
 > 
 > https://releng.netbsd.org/b5reports/macppc/commits-2024.12.html#build-2024.12.19.21.09.29
 > 
 > After that, the install has been failing:

 This is a regression in qemu which started affecting the testbed when
 its pkgsrc packages were upgraded in December.

 Discussion on NetBSD-CI:

   https://mail-index.netbsd.org/netbsd-ci/2024/12/21/msg000166.html

 qemu bug report:

   https://gitlab.com/qemu-project/qemu/-/issues/2741

 The bug is now fixed in qemu, and I just asked admins@ to upgrade qemu on the testbed,
 which hopefully will fix the issue.
 -- 
 Andreas Gustafsson, gson@gson.org

State-Changed-From-To: open->closed
State-Changed-By: gson@NetBSD.org
State-Changed-When: Fri, 20 Jun 2025 07:59:26 +0000
State-Changed-Why:
b5 is now running qemu 10 and the tests are running again.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 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.