NetBSD Problem Report #59560

From gson@gson.org  Sun Jul 27 14:02:50 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)
	 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 5644F1A923C
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 27 Jul 2025 14:02:50 +0000 (UTC)
Message-Id: <20250727140241.AA780253F03@guava.gson.org>
Date: Sun, 27 Jul 2025 17:02:41 +0300 (EEST)
From: gson@gson.org (Andreas Gustafsson)
Reply-To: gson@gson.org (Andreas Gustafsson)
To: gnats-bugs@NetBSD.org
Subject: evbarm tmpfs /tmp is too small for ATF tests
X-Send-Pr-Version: 3.95

>Number:         59560
>Category:       port-evbarm
>Synopsis:       evbarm tmpfs /tmp is too small for ATF tests
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-evbarm-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 27 14:05:00 +0000 2025
>Last-Modified:  Sun Jul 27 14:30:01 +0000 2025
>Originator:     Andreas Gustafsson
>Release:        NetBSD-current, source date >= 2024.12.27.19.02.19
>Organization:
>Environment:
System: NetBSD
Architecture: arm
Machine: evbarm
>Description:

The number of failing tests on the evbarm-earmv7hf testbed increased sharply
with this commit:

  2024.12.27.19.02.19 christos src/distrib/utils/embedded/conf/evbarm.conf 1.43
  2024.12.27.19.02.19 christos src/distrib/utils/embedded/conf/evbmips.conf 1.5
  2024.12.27.19.02.19 christos src/distrib/utils/embedded/conf/evbppc.conf 1.2
  2024.12.27.19.02.19 christos src/distrib/utils/embedded/conf/riscv.conf 1.3
  2024.12.27.19.02.19 christos src/distrib/utils/embedded/conf/x86.conf 1.12
  2024.12.27.19.02.19 christos src/distrib/utils/embedded/mkimage 1.85

as seen here:

  https://releng.netbsd.org/b5reports/evbarm-earmv7hf/commits-2024.12.html#2024.12.27.19.02.19

This commit had the effect of adding a tmpfs mount for /tmp which was
previously on the root file system.  The tmpfs is limited to 25% of
RAM and the testbed VM has 128 MB of RAM, so /tmp is now only 32 MB,
which is too little to reliably run the ATF tests.

See PR 54886 for some possibly relevant discussion about a similar issue
on i386.

>How-To-Repeat:

Run the ATF tests on an evbarm system with 128 MB of RAM.

>Fix:

>Audit-Trail:
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-evbarm/59560: evbarm tmpfs /tmp is too small for ATF tests
Date: Sun, 27 Jul 2025 16:27:22 +0200

 On Sun, Jul 27, 2025 at 02:05:00PM +0000, Andreas Gustafsson wrote:
 > This commit had the effect of adding a tmpfs mount for /tmp which was
 > previously on the root file system.  The tmpfs is limited to 25% of
 > RAM and the testbed VM has 128 MB of RAM, so /tmp is now only 32 MB,
 > which is too little to reliably run the ATF tests.

 I run the sh3 atf tests on a machine with 

 Filesystem     Size   Used  Avail %Cap Mounted on
 [..]
 tmpfs           32M   588K    31M   1% /tmp


 and I would prefer if we keep tests running in such environments (skipping
 tests that need more when we identify them).

 The hardware only has 64MB ram and it can't take any additional.

 Martin

NetBSD Home
NetBSD PR Database Search

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