NetBSD Problem Report #45619
From jmmv@netbsd.org Wed Nov 16 14:46:23 2011
Return-Path: <jmmv@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id 8778163D729
for <gnats-bugs@gnats.NetBSD.org>; Wed, 16 Nov 2011 14:46:23 +0000 (UTC)
Message-Id: <20111116144623.7901714A2C0@mail.netbsd.org>
Date: Wed, 16 Nov 2011 14:46:23 +0000 (UTC)
From: jmmv@netbsd.org
Reply-To: jmmv@netbsd.org
To: gnats-bugs@gnats.NetBSD.org
Subject: Allow atf tests to request a minimum amount of memory
X-Send-Pr-Version: 3.95
>Number: 45619
>Category: bin
>Synopsis: Allow atf tests to request a minimum amount of memory
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: jmmv
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Wed Nov 16 14:50:01 +0000 2011
>Closed-Date: Sat Jul 14 19:33:13 +0000 2012
>Last-Modified: Sat Jul 14 19:33:13 +0000 2012
>Originator: Julio Merino
>Release: NetBSD 5.1_STABLE
>Organization:
Julio Merino
>Environment:
System: NetBSD homeworld.netbsd.org 5.1_STABLE NetBSD 5.1_STABLE (NBMAIL) #1: Tue Jul 19 18:12:36 UTC 2011 root@franklin.NetBSD.org:/home/netbsd/5/amd64/kern-compile/NBMAIL amd64
Architecture: x86_64
Machine: amd64
>Description:
The lib/libtre/t_exhaust test seems to only be meaningful on systems
with a certain amount of physical memory.
Christos Zoulas suggests in [1] that we could abstract this as a new
"require.memory" test-case property enforced by atf-run. This property
would specify the minimum amount of physical memory required by the
test, and the test would be skipped if the machine has less memory than
requested. In NetBSD, we can get this value from the hw.usermem64
sysctl.
1: http://mail-index.netbsd.org/current-users/2011/11/15/msg018289.html
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: bin-bug-people->jmmv
Responsible-Changed-By: jmmv@NetBSD.org
Responsible-Changed-When: Wed, 16 Nov 2011 14:55:43 +0000
Responsible-Changed-Why:
I'll do this if the discussion currently in current-users@ does not turn
the opposite direction.
From: christos@zoulas.com (Christos Zoulas)
To: gnats-bugs@NetBSD.org, jmmv@NetBSD.org, gnats-admin@netbsd.org,
netbsd-bugs@netbsd.org
Cc:
Subject: Re: bin/45619 (Allow atf tests to request a minimum amount of memory)
Date: Wed, 16 Nov 2011 12:40:49 -0500
On Nov 16, 2:55pm, jmmv@NetBSD.org (jmmv@NetBSD.org) wrote:
-- Subject: Re: bin/45619 (Allow atf tests to request a minimum amount of mem
| Synopsis: Allow atf tests to request a minimum amount of memory
|
| Responsible-Changed-From-To: bin-bug-people->jmmv
| Responsible-Changed-By: jmmv@NetBSD.org
| Responsible-Changed-When: Wed, 16 Nov 2011 14:55:43 +0000
| Responsible-Changed-Why:
| I'll do this if the discussion currently in current-users@ does not turn
| the opposite direction.
I've done this already. Should I commit it?
christos
From: "Christos Zoulas" <christos@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/45619 CVS commit: src/external/bsd/atf/dist
Date: Wed, 16 Nov 2011 12:46:16 -0500
Module Name: src
Committed By: christos
Date: Wed Nov 16 17:46:16 UTC 2011
Modified Files:
src/external/bsd/atf/dist/atf-c++/detail: text.cpp text.hpp
src/external/bsd/atf/dist/atf-run: requirements.cpp test-program.cpp
Log Message:
PR/45619: jmmv: Allow atf tests to request a minimum amount of memory
To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \
src/external/bsd/atf/dist/atf-c++/detail/text.cpp \
src/external/bsd/atf/dist/atf-c++/detail/text.hpp
cvs rdiff -u -r1.1.1.4 -r1.2 \
src/external/bsd/atf/dist/atf-run/requirements.cpp
cvs rdiff -u -r1.10 -r1.11 src/external/bsd/atf/dist/atf-run/test-program.cpp
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: Julio Merino <jmmv@NetBSD.org>
To: Christos Zoulas <christos@zoulas.com>
Cc: gnats-bugs@NetBSD.org, gnats-admin@netbsd.org,
netbsd-bugs@netbsd.org
Subject: Re: bin/45619 (Allow atf tests to request a minimum amount of memory)
Date: Wed, 16 Nov 2011 13:01:12 -0500
On 11/16/11 12:40 PM, Christos Zoulas wrote:
> On Nov 16, 2:55pm, jmmv@NetBSD.org (jmmv@NetBSD.org) wrote:
> -- Subject: Re: bin/45619 (Allow atf tests to request a minimum amount of mem
>
> | Synopsis: Allow atf tests to request a minimum amount of memory
> |
> | Responsible-Changed-From-To: bin-bug-people->jmmv
> | Responsible-Changed-By: jmmv@NetBSD.org
> | Responsible-Changed-When: Wed, 16 Nov 2011 14:55:43 +0000
> | Responsible-Changed-Why:
> | I'll do this if the discussion currently in current-users@ does not turn
> | the opposite direction.
>
> I've done this already. Should I commit it?
Well, you already did.
Please don't close the PR. It has to remain open until these changes
get properly integrated upstream.
From: David Holland <dholland-bugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: bin/45619 (Allow atf tests to request a minimum amount of memory)
Date: Thu, 17 Nov 2011 01:52:38 +0000
On Wed, Nov 16, 2011 at 06:05:03PM +0000, Julio Merino wrote:
> > I've done this already. Should I commit it?
>
> Well, you already did.
>
> Please don't close the PR. It has to remain open until these changes
> get properly integrated upstream.
Christos never closes PRs :-)
--
David A. Holland
dholland@netbsd.org
State-Changed-From-To: open->closed
State-Changed-By: jmmv@NetBSD.org
State-Changed-When: Sat, 14 Jul 2012 19:33:13 +0000
State-Changed-Why:
This was implemented and added to the upstream code in atf 0.15. I just
forgot to list the bug number in the release notes and thus missed to
close this.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.