NetBSD Problem Report #59203
From gson@gson.org Fri Mar 21 13:30:35 2025
Return-Path: <gson@gson.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) server-digest SHA256
client-signature RSA-PSS (2048 bits) client-digest SHA256)
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id E242D1A923D
for <gnats-bugs@gnats.NetBSD.org>; Fri, 21 Mar 2025 13:30:34 +0000 (UTC)
Message-Id: <20250321133031.9E62C253F00@guava.gson.org>
Date: Fri, 21 Mar 2025 15:30:31 +0200 (EET)
From: gson@gson.org (Andreas Gustafsson)
Reply-To: gson@gson.org (Andreas Gustafsson)
To: gnats-bugs@NetBSD.org
Subject: fs/tmpfs/t_vnd:basic test case fails on sparc and sparc64
X-Send-Pr-Version: 3.95
>Number: 59203
>Category: port-sparc
>Synopsis: fs/tmpfs/t_vnd:basic test case fails on sparc and sparc64
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: port-sparc-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Mar 21 13:35:00 +0000 2025
>Last-Modified: Fri Mar 21 18:35:01 +0000 2025
>Originator: Andreas Gustafsson
>Release: NetBSD-current, source date >= 2024.04.04.16.57.45
>Organization:
>Environment:
System: NetBSD
Architecture: sparc
Machine: sparc
>Description:
The fs/tmpfs/t_vnd:basic test case is failing on the sparc and sparc64 testbeds
since the commit of src/tests/fs/tmpfs/t_vnd.sh 1.13 on 2024.04.04.16.57.45.
It passes on other ports.
Logs:
https://releng.netbsd.org/b5reports/sparc/commits-2024.04.html#2024.04.04.16.57.45
https://releng.netbsd.org/b5reports/sparc64/commits-2024.04.html#2024.04.04.16.57.45
https://www.netbsd.org/~martin/sparc64-atf/960_atf.html#fs_tmpfs_t_vnd_basic
>How-To-Repeat:
Run the ATF tests on sparc or sparc64, in qemu or on real hardware.
>Fix:
>Audit-Trail:
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: port-sparc/59203: fs/tmpfs/t_vnd:basic test case fails on sparc
and sparc64
Date: Fri, 21 Mar 2025 16:40:33 +0100
On Fri, Mar 21, 2025 at 01:35:01PM +0000, Andreas Gustafsson wrote:
> The fs/tmpfs/t_vnd:basic test case is failing on the sparc and sparc64 testbeds
> since the commit of src/tests/fs/tmpfs/t_vnd.sh 1.13 on 2024.04.04.16.57.45.
> It passes on other ports.
This test assumes there is a "a" partion in the default disklabel of a
media that has been initialized to all zeroes.
This is IMHO not a valid assumption.
If you want to use the vnd, explicitly add a label or just use the raw
partition for the newfs.
Martin
From: Christos Zoulas <christos@zoulas.com>
To: gnats-bugs@netbsd.org
Cc: port-sparc-maintainer@netbsd.org, gnats-admin@netbsd.org,
netbsd-bugs@netbsd.org, gson@gson.org
Subject: Re: port-sparc/59203: fs/tmpfs/t_vnd:basic test case fails on sparc and sparc64
Date: Fri, 21 Mar 2025 14:31:13 -0400
I commited a fix, please test it.
christos
(Contact us)
$NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2025
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.