NetBSD Problem Report #49013
From www@NetBSD.org Thu Jul 17 21:37:01 2014
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id E668DA6531
for <gnats-bugs@gnats.NetBSD.org>; Thu, 17 Jul 2014 21:37:00 +0000 (UTC)
Message-Id: <20140717213659.B7B68A655C@mollari.NetBSD.org>
Date: Thu, 17 Jul 2014 21:36:59 +0000 (UTC)
From: yaneurabeya@gmail.com
Reply-To: yaneurabeya@gmail.com
To: gnats-bugs@NetBSD.org
Subject: [patch] t_exhaust: put an explicit cap on memory for program to avoid test timeouts on systems with more RAM
X-Send-Pr-Version: www-1.0
>Number: 49013
>Category: bin
>Synopsis: [patch] t_exhaust: put an explicit cap on memory for program to avoid test timeouts on systems with more RAM
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jul 17 21:40:01 +0000 2014
>Closed-Date: Thu Aug 10 02:01:06 +0000 2017
>Last-Modified: Thu Aug 10 02:01:06 +0000 2017
>Originator: Garrett Cooper
>Release: n/a
>Organization:
EMC / Isilon Storage Division
>Environment:
n/a
>Description:
We ran into testcase timeouts with t_exhaust because the program was jittering between a low and high amount of RAM utilization. The majority of the time it would fail, but sometimes it wouldn't.
The attached patch caps the memory for the program to a lower limit to force the application to hit the failure case more quickly and more reliably.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
From: Garrett Cooper <yaneurabeya@gmail.com>
To: "gnats-bugs@NetBSD.org" <gnats-bugs@netbsd.org>
Cc:
Subject: Re: bin/49013: [patch] t_exhaust: put an explicit cap on memory for
program to avoid test timeouts on systems with more RAM
Date: Thu, 17 Jul 2014 14:48:25 -0700
--089e0149baaab7464b04fe6a995f
Content-Type: text/plain; charset=UTF-8
On Thu, Jul 17, 2014 at 2:40 PM, <gnats-admin@netbsd.org> wrote:
> Thank you very much for your problem report.
> It has the internal identification `bin/49013'.
> The individual assigned to look at your
> report is: bin-bug-people.
>
>>Category: bin
>>Responsible: bin-bug-people
>>Synopsis: [patch] t_exhaust: put an explicit cap on memory for program to avoid test timeouts on systems with more RAM
>>Arrival-Date: Thu Jul 17 21:40:01 +0000 2014
Patch attached -- thanks :)!
-Garrett
--089e0149baaab7464b04fe6a995f
Content-Type: application/octet-stream;
name="t_exhaust-put-explicit-cap-on-memory.patch"
Content-Disposition: attachment;
filename="t_exhaust-put-explicit-cap-on-memory.patch"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_hxqm0mhj0
SW5kZXg6IHRlc3RzL2xpYi9saWJjL3JlZ2V4L3RfZXhoYXVzdC5jCj09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KUkNTIGZp
bGU6IC9jdnNyb290L3NyYy90ZXN0cy9saWIvbGliYy9yZWdleC90X2V4aGF1c3QuYyx2CnJldHJp
ZXZpbmcgcmV2aXNpb24gMS43CmRpZmYgLXUgLXIxLjcgdF9leGhhdXN0LmMKLS0tIHRlc3RzL2xp
Yi9saWJjL3JlZ2V4L3RfZXhoYXVzdC5jCTE2IE5vdiAyMDExIDE4OjM3OjMxIC0wMDAwCTEuNwor
KysgdGVzdHMvbGliL2xpYmMvcmVnZXgvdF9leGhhdXN0LmMJMTcgSnVsIDIwMTQgMjE6MzQ6NDMg
LTAwMDAKQEAgLTM5LDYgKzM5LDcgQEAKICNpbmNsdWRlIDxzeXMvY2RlZnMuaD4KIF9fUkNTSUQo
IiROZXRCU0Q6IHRfZXhoYXVzdC5jLHYgMS43IDIwMTEvMTEvMTYgMTg6Mzc6MzEgY2hyaXN0b3Mg
RXhwICQiKTsKIAorI2luY2x1ZGUgPHN5cy9yZXNvdXJjZS5oPgogI2luY2x1ZGUgPHN0ZGlvLmg+
CiAjaW5jbHVkZSA8cmVnZXguaD4KICNpbmNsdWRlIDxzdHJpbmcuaD4KQEAgLTE3NiwxNCArMTc3
LDE4IEBACiAJICAgICIgY3Jhc2gsIGJ1dCByZXR1cm4gYSBwcm9wZXIgZXJyb3IgY29kZSIpOwog
CS8vIGxpYnRyZSBuZWVkcyBpdC4KIAlhdGZfdGNfc2V0X21kX3Zhcih0YywgInRpbWVvdXQiLCAi
NjAwIik7Ci0JYXRmX3RjX3NldF9tZF92YXIodGMsICJyZXF1aXJlLm1lbW9yeSIsICIxMjBNIik7
CisJYXRmX3RjX3NldF9tZF92YXIodGMsICJyZXF1aXJlLm1lbW9yeSIsICI2NE0iKTsKIH0KIAog
QVRGX1RDX0JPRFkocmVnY29tcF90b29fYmlnLCB0YykKIHsKIAlyZWdleF90IHJlOworCXN0cnVj
dCBybGltaXQgbGltaXQ7CiAJaW50IGU7CiAKKwlsaW1pdC5ybGltX2N1ciA9IGxpbWl0LnJsaW1f
bWF4ID0gNjQgKiAxMDI0ICogMTAyNDsKKwlBVEZfUkVRVUlSRShzZXRybGltaXQoUkxJTUlUX1ZN
RU0sICZsaW1pdCkgIT0gLTEpOworCiAJZm9yIChzaXplX3QgaSA9IDA7IGkgPCBfX2FycmF5Y291
bnQodGVzdHMpOyBpKyspIHsKIAkJY2hhciAqZCA9ICgqdGVzdHNbaV0ucGF0dGVybikoUkVHRVhf
TUFYU0laRSk7CiAJCWUgPSByZWdjb21wKCZyZSwgZCwgdGVzdHNbaV0udHlwZSk7Cg==
--089e0149baaab7464b04fe6a995f--
State-Changed-From-To: open->closed
State-Changed-By: ginsbach@NetBSD.org
State-Changed-When: Thu, 10 Aug 2017 02:01:06 +0000
State-Changed-Why:
christos committed change as part of PR/51832 fixing this same issue.
>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.