NetBSD Problem Report #56879
From www@netbsd.org Sun Jun 12 16:17:32 2022
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))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id C86461A921F
for <gnats-bugs@gnats.NetBSD.org>; Sun, 12 Jun 2022 16:17:32 +0000 (UTC)
Message-Id: <20220612161731.1D5D11A923C@mollari.NetBSD.org>
Date: Sun, 12 Jun 2022 16:17:31 +0000 (UTC)
From: tgl@sss.pgh.pa.us
Reply-To: tgl@sss.pgh.pa.us
To: gnats-bugs@NetBSD.org
Subject: too-short timeout in tests/net/if_wg/t_misc.sh
X-Send-Pr-Version: www-1.0
>Number: 56879
>Category: misc
>Synopsis: too-short timeout in tests/net/if_wg/t_misc.sh
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: misc-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Jun 12 16:20:00 +0000 2022
>Closed-Date: Mon Jun 13 07:58:28 +0000 2022
>Last-Modified: Mon Jun 13 08:00:02 +0000 2022
>Originator: Tom Lane
>Release: HEAD/202206101540Z
>Organization:
PostgreSQL Global Development Group
>Environment:
NetBSD sss2.sss.pgh.pa.us 9.99.97 NetBSD 9.99.97 (SD0) #1: Sat Jun 11 17:32:11 EDT 2022 tgl@nuc1.sss.pgh.pa.us:/home/tgl/netbsd-H-202206101540Z/obj.hppa/sys/arch/hppa/compile/SD0 hppa
>Description:
This is in the same vein as PR 56875: my machine needs circa 30 seconds to run the net/if_wg/t_misc:wg_malformed test case, but the script sets a 10 second timeout.
>How-To-Repeat:
Run net/if_wg/t_misc on a slow machine.
>Fix:
Suggest
Index: tests/net/if_wg/t_misc.sh
===================================================================
RCS file: /cvsroot/src/tests/net/if_wg/t_misc.sh,v
retrieving revision 1.11
diff -u -r1.11 t_misc.sh
--- tests/net/if_wg/t_misc.sh 26 Nov 2021 20:02:35 -0000 1.11
+++ tests/net/if_wg/t_misc.sh 12 Jun 2022 16:13:20 -0000
@@ -603,7 +603,7 @@
atf_set "descr" "tests malformed packet headers"
atf_set "require.progs" "nc" "rump_server" "wgconfig" "wg-keygen"
- atf_set "timeout" "10"
+ atf_set "timeout" "100"
}
wg_malformed_body()
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: martin@NetBSD.org
State-Changed-When: Mon, 13 Jun 2022 07:58:28 +0000
State-Changed-Why:
Patch applied, thanks!
From: "Martin Husemann" <martin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/56879 CVS commit: src/tests/net/if_wg
Date: Mon, 13 Jun 2022 07:59:15 +0000
Module Name: src
Committed By: martin
Date: Mon Jun 13 07:59:15 UTC 2022
Modified Files:
src/tests/net/if_wg: t_misc.sh
Log Message:
PR 56879: bump timeout for the wg_malformed test to 100 seconds,
as suggested by Tom Lane - the test takes ~32 seconds on my unloaded sh4
machine.
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/tests/net/if_wg/t_misc.sh
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.