NetBSD Problem Report #57508

From www@netbsd.org  Thu Jul  6 20:12:57 2023
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 8A5331A923D
	for <gnats-bugs@gnats.NetBSD.org>; Thu,  6 Jul 2023 20:12:57 +0000 (UTC)
Message-Id: <20230706201255.E81601A923E@mollari.NetBSD.org>
Date: Thu,  6 Jul 2023 20:12:55 +0000 (UTC)
From: jspath55@gmail.com
Reply-To: jspath55@gmail.com
To: gnats-bugs@NetBSD.org
Subject: Automated test case ifconfig_up_down_ipv4 fails intermittently on some architectures
X-Send-Pr-Version: www-1.0

>Number:         57508
>Category:       misc
>Synopsis:       Automated test case ifconfig_up_down_ipv4 fails intermittently on some architectures
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 06 20:15:00 +0000 2023
>Originator:     Jim Spath
>Release:        10.0_BETA
>Organization:
>Environment:
NetBSD etc.etc 10.0_BETA NetBSD 10.0_BETA (GENERIC) #0: Sun Feb 12 12:39:37 UTC 2023  mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64 x86_64 AMD 686-class NetBSD

>Description:
This test case fails intermittently on some architectures I tested but not all.
Several tests were chosen from the full test suite after observing inconsistent pass/fail results over many runs.
Tests were run periodically from cron, timed to avoid overlapping runs while completing as many attempts as feasible based on the system speed.

The set being reported in July 2023 includes failure rates in the one-percent ranges, to be followed by other tests that fail more frequently.

The results for systems used:

System Passes Fails

amd64 1484 22
Pi3 270 1
Pi4 783 8
Pi0W 597 0
Pi02W 886 2
i386 (Intel Atom) 701 9


Example failure message (snippet):

tc-so:  linkstr: bus1
tc-so:Executing command [ rump.sysctl -w net.inet.ip.dad_count=5 ]
tc-so:Executing command [ rump.ifconfig shmif0 inet 10.0.0.1/24 up ]
tc-so:Executing command [ rump.ifconfig shmif0 ]
tc-so:Executing command [ rump.ifconfig shmif0 ]
tc-so:Executing command [ rump.ifconfig -w 10 ]
tc-so:Executing command [ rump.ifconfig shmif0 ]
tc-so:Executing command [ rump.ifconfig shmif0 down ]
tc-so:Executing command [ rump.ifconfig shmif0 ]
tc-so:Executing command [ rump.ifconfig shmif0 ]
tc-so:Executing command [ rump.ifconfig shmif0 up ]
tc-so:Executing command [ rump.ifconfig shmif0 ]
tc-so:Executing command [ rump.ifconfig -w 10 ]
tc-se:Fail: incorrect exit status: 1, expected: 0
tc-se:stdout:
tc-se:
tc-se:stderr:
tc-se:rump.ifconfig: timed out




Example pass message (snippet):


tps-count: 1
tp-start: 1686817064.650528, net/if/t_ifconfig, 1
tc-start: 1686817064.650602, ifconfig_up_down_ipv4
tc-so:Executing command [ rump_server -lrumpnet -lrumpnet_net -lrumpnet_netinet -lrumpnet_shmif unix://./r1 ]
tc-so:Executing command [ rump.sysctl -q -w net.inet.arp.debug=1 ]
tc-so:unix://./r1
tc-so:Executing command [ rump.ifconfig shmif0 create ]
tc-so:Executing command [ rump.ifconfig shmif0 linkstr bus1 ]
tc-so:unix://./r1 shmif0
[...]
tc-so:unix://./r1
tc-end: 1686817089.586699, ifconfig_up_down_ipv4, passed
tp-end: 1686817089.587922, net/if/t_ifconfig
info: time.end, Thu Jun 15 08:18:09 UTC 2023


>How-To-Repeat:
$ atf-run net/if/t_ifconfig:ifconfig_up_down_ipv4

>Fix:
Unknown.

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-2023 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.