NetBSD Problem Report #58571

From www@netbsd.org  Sat Aug 10 14:06:59 2024
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)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
	 client-signature RSA-PSS (2048 bits) client-digest SHA256)
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id AEB491A9242
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 10 Aug 2024 14:06:59 +0000 (UTC)
Message-Id: <20240810140658.209F11A9243@mollari.NetBSD.org>
Date: Sat, 10 Aug 2024 14:06:58 +0000 (UTC)
From: campbell+netbsd@mumble.net
Reply-To: campbell+netbsd@mumble.net
To: gnats-bugs@NetBSD.org
Subject: utimensat tests are failing on armv7, aarch64, and riscv64
X-Send-Pr-Version: www-1.0

>Number:         58571
>Category:       kern
>Synopsis:       utimensat tests are failing on armv7, aarch64, and riscv64
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          pending-pullups
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 10 14:10:00 +0000 2024
>Closed-Date:    
>Last-Modified:  Sun Oct 13 10:55:01 +0000 2024
>Originator:     Taylor R Campbell
>Release:        current
>Organization:
The NetUtimensat Foundation
>Environment:
>Description:
    utimensat_fd: [0.455002s] Failed: /tmp/build/2024.08.08.06.44.19-evbarm-earmv7hf/src/tests/lib/libc/c063/t_utimensat.c:78: st.st_atimespec.tv_sec == tptr[0].tv_sec not met
    utimensat_fdcwd: [0.472327s] Failed: /tmp/build/2024.08.08.06.44.19-evbarm-earmv7hf/src/tests/lib/libc/c063/t_utimensat.c:103: st.st_atimespec.tv_sec == tptr[0].tv_sec not met
    utimensat_fdlink: [0.461296s] Failed: /tmp/build/2024.08.08.06.44.19-evbarm-earmv7hf/src/tests/lib/libc/c063/t_utimensat.c:195: st.st_atimespec.tv_sec == tptr[0].tv_sec not met

Passing on: amd64 i386 sparc alpha macppc vax
Failing on: armv7 aarch64 riscv64
>How-To-Repeat:
cd /usr/tests/lib/libc/c063 && atf-run | atf-report
>Fix:
Yes, please!

>Release-Note:

>Audit-Trail:
From: Taylor R Campbell <riastradh@NetBSD.org>
To: gnats-bugs@NetBSD.org, netbsd-bugs@NetBSD.org
Cc: 
Subject: Re: kern/58571: utimensat tests are failing on armv7, aarch64, and riscv64
Date: Sat, 10 Aug 2024 15:00:18 +0000

 This might be a matter of file systems with noatime.

 May need to teach the test to skip the atime checks if the file system
 is mounted noatime.  What's the quickest way to do that?  Is it
 exposed through statvfs or do we have to go through getmntopts and
 guessing which mount point is right?

From: "Taylor R Campbell" <riastradh@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/58571 CVS commit: src/tests/lib/libc/c063
Date: Sat, 10 Aug 2024 15:10:17 +0000

 Module Name:	src
 Committed By:	riastradh
 Date:		Sat Aug 10 15:10:17 UTC 2024

 Modified Files:
 	src/tests/lib/libc/c063: t_utimensat.c

 Log Message:
 t_utimensat: Tidy this up to make failures more obvious.

 PR kern/58571: utimensat tests are failing on armv7, aarch64, and
 riscv64


 To generate a diff of this commit:
 cvs rdiff -u -r1.7 -r1.8 src/tests/lib/libc/c063/t_utimensat.c

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

From: "Taylor R Campbell" <riastradh@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/58571 CVS commit: src/tests/lib/libc/c063
Date: Sat, 10 Aug 2024 15:20:23 +0000

 Module Name:	src
 Committed By:	riastradh
 Date:		Sat Aug 10 15:20:23 UTC 2024

 Modified Files:
 	src/tests/lib/libc/c063: t_utimensat.c

 Log Message:
 t_utimensat: Don't check atime on file systems mounted noatime.

 PR kern/58571: utimensat tests are failing on armv7, aarch64, and
 riscv64


 To generate a diff of this commit:
 cvs rdiff -u -r1.8 -r1.9 src/tests/lib/libc/c063/t_utimensat.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->needs-pullups
State-Changed-By: riastradh@NetBSD.org
State-Changed-When: Sat, 10 Aug 2024 15:29:19 +0000
State-Changed-Why:
probably fixed in HEAD, needs pullup-9 and pullup-10


State-Changed-From-To: needs-pullups->pending-pullups
State-Changed-By: riastradh@NetBSD.org
State-Changed-When: Sat, 12 Oct 2024 20:15:45 +0000
State-Changed-Why:
pullup-10 #957 https://releng.netbsd.org/cgi-bin/req-10.cgi?show=957
pullup-9 #1901 https://releng.netbsd.org/cgi-bin/req-9.cgi?show=1901


From: "Martin Husemann" <martin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/58571 CVS commit: [netbsd-10] src/tests/lib/libc/c063
Date: Sun, 13 Oct 2024 10:49:47 +0000

 Module Name:	src
 Committed By:	martin
 Date:		Sun Oct 13 10:49:47 UTC 2024

 Modified Files:
 	src/tests/lib/libc/c063 [netbsd-10]: t_utimensat.c

 Log Message:
 Pull up following revision(s) (requested by riastradh in ticket #957):

 	tests/lib/libc/c063/t_utimensat.c: revision 1.8
 	tests/lib/libc/c063/t_utimensat.c: revision 1.9

 t_utimensat: Tidy this up to make failures more obvious.
 PR kern/58571: utimensat tests are failing on armv7, aarch64, and
 riscv64

 t_utimensat: Don't check atime on file systems mounted noatime.
 PR kern/58571: utimensat tests are failing on armv7, aarch64, and
 riscv64


 To generate a diff of this commit:
 cvs rdiff -u -r1.6.22.1 -r1.6.22.2 src/tests/lib/libc/c063/t_utimensat.c

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

From: "Martin Husemann" <martin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/58571 CVS commit: [netbsd-9] src/tests/lib/libc/c063
Date: Sun, 13 Oct 2024 10:51:41 +0000

 Module Name:	src
 Committed By:	martin
 Date:		Sun Oct 13 10:51:41 UTC 2024

 Modified Files:
 	src/tests/lib/libc/c063 [netbsd-9]: t_utimensat.c

 Log Message:
 Pull up following revision(s) (requested by riastradh in ticket #1901):

 	tests/lib/libc/c063/t_utimensat.c: revision 1.8
 	tests/lib/libc/c063/t_utimensat.c: revision 1.9

 t_utimensat: Tidy this up to make failures more obvious.
 PR kern/58571: utimensat tests are failing on armv7, aarch64, and
 riscv64

 t_utimensat: Don't check atime on file systems mounted noatime.
 PR kern/58571: utimensat tests are failing on armv7, aarch64, and
 riscv64


 To generate a diff of this commit:
 cvs rdiff -u -r1.6.14.1 -r1.6.14.2 src/tests/lib/libc/c063/t_utimensat.c

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

>Unformatted:

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