NetBSD Problem Report #54451

From gson@gson.org  Sat Aug 10 14:10:27 2019
Return-Path: <gson@gson.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-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 4092C7A1B9
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 10 Aug 2019 14:10:27 +0000 (UTC)
Message-Id: <20190810141023.975A498975B@guava.gson.org>
Date: Sat, 10 Aug 2019 17:10:23 +0300 (EEST)
From: gson@gson.org (Andreas Gustafsson)
Reply-To: gson@gson.org (Andreas Gustafsson)
To: gnats-bugs@NetBSD.org
Subject: net/ndp/t_ndp:ndp_cache_expiration test case fails randomly
X-Send-Pr-Version: 3.95

>Number:         54451
>Category:       misc
>Synopsis:       net/ndp/t_ndp:ndp_cache_expiration test case fails randomly
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    ozaki-r
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 10 14:15:00 +0000 2019
>Closed-Date:    Tue Aug 27 01:17:47 +0000 2019
>Last-Modified:  Tue Aug 27 01:17:47 +0000 2019
>Originator:     Andreas Gustafsson
>Release:        NetBSD-current
>Organization:

>Environment:
System: NetBSD guava.gson.org
Architecture: x86_64 and i386
Machine: amd64 and i386
>Description:

The ndp_cache_expiration test case of the net/ndp/t_ndp test program
is failing randomly both under qemu and on real hardware.  Here are
links to a recent failure from each:

  http://releng.netbsd.org/b5reports/i386/2019/2019.08.09.17.22.02/test.html#net_ndp_t_ndp_ndp_cache_expiration
  http://www.gson.org/netbsd/bugs/build/amd64-baremetal/2019/2019.08.10.08.46.09/test.html#net_ndp_t_ndp_ndp_cache_expiration

The first failure on b5 was shortly after this commit:

  2019.07.18.04.00.09 ozaki-r src/tests/net/ndp/t_ndp.sh 1.33

with the commit message "tests: shorten the expire time of neighbor
caches to reduce the runtime of the tests".

>How-To-Repeat:

Run the ATF tests repeatedly.

>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: misc-bug-people->ozaki-r
Responsible-Changed-By: gson@NetBSD.org
Responsible-Changed-When: Sat, 10 Aug 2019 14:19:05 +0000
Responsible-Changed-Why:
Over to committer.


From: "Ryota Ozaki" <ozaki-r@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/54451 CVS commit: src/tests/net/ndp
Date: Tue, 13 Aug 2019 07:20:44 +0000

 Module Name:	src
 Committed By:	ozaki-r
 Date:		Tue Aug 13 07:20:43 UTC 2019

 Modified Files:
 	src/tests/net/ndp: t_ndp.sh

 Log Message:
 Make a permanet neighbor cache to avoid sending an NS packet disturbing the test

 A receiver of an ICMPv6 request packet creates a stale cache entry and it turns
 into the delay state on replying the packet.  After 5 second, the receiver sends
 an NS packet as a reachability confirmation, which disturbs the test and causes
 a unexpected result.

 Should fix PR misc/54451


 To generate a diff of this commit:
 cvs rdiff -u -r1.33 -r1.34 src/tests/net/ndp/t_ndp.sh

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->feedback
State-Changed-By: ozaki-r@NetBSD.org
State-Changed-When: Tue, 13 Aug 2019 07:26:44 +0000
State-Changed-Why:
A possible fix has been committed.


State-Changed-From-To: feedback->needs-pullups
State-Changed-By: gson@NetBSD.org
State-Changed-When: Sat, 24 Aug 2019 19:13:30 +0000
State-Changed-Why:
Passed in the last 91 runs on b5, so almost certainly fixed in -current,
but still affects the -9 branch.


From: "Martin Husemann" <martin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/54451 CVS commit: [netbsd-9] src/tests/net/ndp
Date: Mon, 26 Aug 2019 14:11:05 +0000

 Module Name:	src
 Committed By:	martin
 Date:		Mon Aug 26 14:11:04 UTC 2019

 Modified Files:
 	src/tests/net/ndp [netbsd-9]: t_ndp.sh

 Log Message:
 Pull up following revision(s) (requested by ozaki-r in ticket #117):

 	tests/net/ndp/t_ndp.sh: revision 1.34

 Make a permanet neighbor cache to avoid sending an NS packet disturbing the test

 A receiver of an ICMPv6 request packet creates a stale cache entry and it turns
 into the delay state on replying the packet.  After 5 second, the receiver sends
 an NS packet as a reachability confirmation, which disturbs the test and causes
 a unexpected result.

 Should fix PR misc/54451


 To generate a diff of this commit:
 cvs rdiff -u -r1.33 -r1.33.2.1 src/tests/net/ndp/t_ndp.sh

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: needs-pullups->closed
State-Changed-By: ozaki-r@NetBSD.org
State-Changed-When: Tue, 27 Aug 2019 01:17:47 +0000
State-Changed-Why:
Pulled up.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.