NetBSD Problem Report #58573

From www@netbsd.org  Sat Aug 10 15:16:22 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)
	 client-signature RSA-PSS (2048 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 37F871A9242
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 10 Aug 2024 15:16:22 +0000 (UTC)
Message-Id: <20240810151517.0012B1A9246@mollari.NetBSD.org>
Date: Sat, 10 Aug 2024 15:15:16 +0000 (UTC)
From: campbell+netbsd@mumble.net
Reply-To: campbell+netbsd@mumble.net
To: gnats-bugs@NetBSD.org
Subject: libarchive tests fail when /tmp is mounted noatime
X-Send-Pr-Version: www-1.0

>Number:         58573
>Category:       lib
>Synopsis:       libarchive tests fail when /tmp is mounted noatime
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 10 15:20:00 +0000 2024
>Originator:     Taylor R Campbell
>Release:        current, ...
>Organization:
The netbsdtar Foundnoatime
>Environment:
>Description:
test_write_disk_times

/home/riastradh/netbsd/current/src/external/bsd/libarchive/dist/libarchive/test/test_write_disk_times.c:55: File file1 has atime 1723297613.000000000, expected 123456.000000000
/home/riastradh/netbsd/current/src/external/bsd/libarchive/dist/libarchive/test/test_write_disk_times.c:82: File file3 has atime 1723297613.000000000, expected 345678.000000000
/home/riastradh/netbsd/current/src/external/bsd/libarchive/dist/libarchive/test/test_write_disk_times.c:162: SKIPPING: Platform-specific time restore tests


test_read_disk_directory_traversals

/home/riastradh/netbsd/current/src/external/bsd/libarchive/dist/libarchive/test/test_read_disk_directory_traversals.c:1131: File at/fe has atime 1723297596.000000000, expected 886611.000000000
   Description: The atime of a empty file should not be changed
/home/riastradh/netbsd/current/src/external/bsd/libarchive/dist/libarchive/test/test_read_disk_directory_traversals.c:1191: File at has atime 1723297596.000000000, expected 886622.000000000
   Description: Atime should be restored
/home/riastradh/netbsd/current/src/external/bsd/libarchive/dist/libarchive/test/test_read_disk_directory_traversals.c:1193: File at/f1 has atime 1723297596.000000000, expected 886600.000000000
   Description: Atime should be restored
/home/riastradh/netbsd/current/src/external/bsd/libarchive/dist/libarchive/test/test_read_disk_directory_traversals.c:1195: File at/f2 has atime 1723297596.000000000, expected 886611.000000000
   Description: Atime should be restored
/home/riastradh/netbsd/current/src/external/bsd/libarchive/dist/libarchive/test/test_read_disk_directory_traversals.c:1197: File at/fe has atime 1723297596.000000000, expected 886611.000000000
   Description: The atime of a empty file should not be changed
/home/riastradh/netbsd/current/src/external/bsd/libarchive/dist/libarchive/test/test_read_disk_directory_traversals.c:1240: File at has atime 1723297596.000000000, expected 886622.000000000
   Description: Atime should be restored
/home/riastradh/netbsd/current/src/external/bsd/libarchive/dist/libarchive/test/test_read_disk_directory_traversals.c:1242: File at/f1 has atime 1723297596.000000000, expected 886600.000000000
   Description: Atime should be restored
/home/riastradh/netbsd/current/src/external/bsd/libarchive/dist/libarchive/test/test_read_disk_directory_traversals.c:1244: File at/f2 has atime 1723297596.000000000, expected 886611.000000000
   Description: Atime should be restored
/home/riastradh/netbsd/current/src/external/bsd/libarchive/dist/libarchive/test/test_read_disk_directory_traversals.c:1246: File at/fe has atime 1723297596.000000000, expected 886611.000000000
   Description: The atime of a empty file should not be changed
/home/riastradh/netbsd/current/src/external/bsd/libarchive/dist/libarchive/test/test_read_disk_directory_traversals.c:1294: File at has atime 1723297596.000000000, expected 886622.000000000
   Description: Atime should be restored
/home/riastradh/netbsd/current/src/external/bsd/libarchive/dist/libarchive/test/test_read_disk_directory_traversals.c:1296: File at/f1 has atime 1723297596.000000000, expected 886600.000000000
   Description: Atime should be restored
/home/riastradh/netbsd/current/src/external/bsd/libarchive/dist/libarchive/test/test_read_disk_directory_traversals.c:1298: File at/f2 has atime 1723297596.000000000, expected 886611.000000000
   Description: Atime should be restored
/home/riastradh/netbsd/current/src/external/bsd/libarchive/dist/libarchive/test/test_read_disk_directory_traversals.c:1300: File at/fe has atime 1723297596.000000000, expected 886611.000000000
   Description: The atime of a empty file should not be changed
/home/riastradh/netbsd/current/src/external/bsd/libarchive/dist/libarchive/test/test_read_disk_directory_traversals.c:1592: File nd/f2 has atime 1723297596.000000000, expected 886611.000000000
   Description: Atime should be restored

>How-To-Repeat:
cd /usr/tests/lib/libarchive && atf-run | atf-report
>Fix:
Yes, please!

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.