NetBSD Problem Report #49046

From gson@gson.org  Mon Jul 28 14:51:18 2014
Return-Path: <gson@gson.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 53243A7F91
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 28 Jul 2014 14:51:18 +0000 (UTC)
Message-Id: <20140728145106.3A90575E2E@guava.gson.org>
Date: Mon, 28 Jul 2014 17:51:06 +0300 (EEST)
From: gson@gson.org (Andreas Gustafsson)
Reply-To: gson@gson.org (Andreas Gustafsson)
To: gnats-bugs@gnats.NetBSD.org
Subject: udf_renamerace test randomly fails
X-Send-Pr-Version: 3.95

>Number:         49046
>Category:       kern
>Synopsis:       udf_renamerace test randomly fails
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 28 14:55:00 +0000 2014
>Closed-Date:    Sat Aug 17 09:46:38 +0000 2019
>Last-Modified:  Sat Aug 17 09:46:38 +0000 2019
>Originator:     Andreas Gustafsson
>Release:        NetBSD-current >= 2013.08.14.11.29.57
>Organization:
>Environment:
System: NetBSD
Architecture: i386
Machine: i386
>Description:

The fs/vfs/t_renamerace:udf_renamerace test case is failing in about
half the runs the TNF testbed, with the error "create: Invalid
argument".  This happens on all three architectures being tested
(i386, amd64, sparc).

The first recorded such failure on the testbed is from CVS date
2013.08.14.11.29.57, on amd64.  The HTML report from that test run is
at:

  http://releng.netbsd.org/b5reports/amd64/build/2013.08.14.11.29.57/test.html#fs_vfs_t_renamerace_udf_renamerace

For about a month before that date, the test was consistently passing
on the testbed.  It's not clear what triggered the transition, but one
candidate is the commit of rumpuser.c 1.54 on 2013.08.14.08.29.25,
which according to the commit message "might shake out some bugs from
the qemu test runs".

Intriguingly, the test was already failing for reinoud@ about a month
before it started failing on the TNF testbed, as reported in private
email on 2013-07-22, and also evidenced by the marking of the test as an
"expected failure" on 2013.07.10.18.55.00 (without a reference to a PR).

For completeness, here's the HTML report from a recent failure:

  http://releng.netbsd.org/b5reports/amd64/build/2014.07.27.10.19.12/test.html#fs_vfs_t_renamerace_udf_renamerace

>How-To-Repeat:

Run the ATF tests multiple times.

>Fix:

>Release-Note:

>Audit-Trail:

From: "Andreas Gustafsson" <gson@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/49046 CVS commit: src/tests/fs/vfs
Date: Tue, 29 Jul 2014 09:15:49 +0000

 Module Name:	src
 Committed By:	gson
 Date:		Tue Jul 29 09:15:48 UTC 2014

 Modified Files:
 	src/tests/fs/vfs: t_renamerace.c

 Log Message:
 Mark the udf_renamerace test case (but not udf_renamerace_dirs) as an
 expected failure again, now with a reference to PR kern/49046.
 Since the test only fails part of the time, force failure to
 avoid failure reports reports due to unexpected success.


 To generate a diff of this commit:
 cvs rdiff -u -r1.31 -r1.32 src/tests/fs/vfs/t_renamerace.c

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

From: Andreas Gustafsson <gson@gson.org>
To: gnats-bugs@NetBSD.org
Cc: hannken@NetBSD.org
Subject: Re: kern/49046: udf_renamerace test randomly fails
Date: Sat, 17 Aug 2019 12:38:19 +0300

 The test no longer fails with "create: Invalid argument" (at least
 on the b5 i386 testbed); the last recorded such failure was on 
 2015.04.06.01.11.19, so it was probably fixed by these commits
 made by hannken shortly thereafter:

   2015.04.06.08.38.25 hannken src/sys/fs/udf/udf_vnops.c 1.99
   2015.04.06.08.39.23 hannken src/sys/fs/udf/udf.h 1.48
   2015.04.06.08.39.23 hannken src/sys/fs/udf/udf_subr.c 1.129
   2015.04.06.08.39.23 hannken src/sys/fs/udf/udf_vfsops.c 1.68
   2015.04.06.08.39.23 hannken src/sys/fs/udf/udf_vnops.c 1.100

 However, the test still fails on real hardware with a different error,
 "No space left on device", so the test can't be re-enabled yet.

 The "No space left on device" looks like the same bug as the
 udf_renamerace_dirs failure of PR kern/53865, so I will close this PR
 and make the "expected failure" message in the test reference PR 53865
 instead.
 -- 
 Andreas Gustafsson, gson@gson.org

From: "Andreas Gustafsson" <gson@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/49046 CVS commit: src/tests/fs/vfs
Date: Sat, 17 Aug 2019 09:44:02 +0000

 Module Name:	src
 Committed By:	gson
 Date:		Sat Aug 17 09:44:02 UTC 2019

 Modified Files:
 	src/tests/fs/vfs: t_renamerace.c

 Log Message:
 The udf_renamerace test case no longer fails due to PR kern/49046, but
 it does fail due to PR kern/53865 on real hardware.


 To generate a diff of this commit:
 cvs rdiff -u -r1.35 -r1.36 src/tests/fs/vfs/t_renamerace.c

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

State-Changed-From-To: open->closed
State-Changed-By: gson@NetBSD.org
State-Changed-When: Sat, 17 Aug 2019 09:46:38 +0000
State-Changed-Why:
The specific failure reported in the PR no longer occurs.


>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.