Skip to content

os, cmd/gofmt: tests fail on ext4 with 128byte inodes due to insufficient time precision #75042

@chargr

Description

@chargr

building with go 1.24.5

#!/bin/sh
set -e
UTILS_GO=/home/utils/go-1.24.5
UTILS_GIT=/home/utils/git-2.45.2

export PATH=${UTILS_GIT}/bin:$PATH

export GOROOT_BOOTSTRAP=${UTILS_GO}
export GOROOT_FINAL=$PREFIX

cd src
./all.bash

running build tests, it appears two fail due to lack of precision on file times

07b9a4515a09: --- FAIL: TestRootChtimes (0.01s)
07b9a4515a09: --- FAIL: TestRootChtimes/plain_path (0.00s)
07b9a4515a09: root_test.go:508: after root.Chtimes("target", 2025-08-14 22:11:03.016026613 +0000 UTC m=-58.739495848, 2025-08-14 22:11:03.016027223 +0000 UTC m=-58.739495264): got mtime=2025-08-14 22:11:03 +0000 UTC, want 2025-08-14 22:11:03.016027223 +0000 UTC m=-58.739495264
07b9a4515a09: root_test.go:512: after root.Chtimes("target", 2025-08-14 22:11:03.016026613 +0000 UTC m=-58.739495848, 2025-08-14 22:11:03.016027223 +0000 UTC m=-58.739495264): got atime=2025-08-14 22:11:03 +0000 UTC, want 2025-08-14 22:11:03.016026613 +0000 UTC m=-58.739495848
07b9a4515a09: root_test.go:508: after root.Chtimes("target", 2025-08-14 22:13:03.01602736 +0000 UTC m=+61.260504874, 2025-08-14 22:13:03.016027474 +0000 UTC m=+61.260504987): got mtime=2025-08-14 22:13:03 +0000 UTC, want 2025-08-14 22:13:03.016027474 +0000 UTC m=+61.260504987
07b9a4515a09: root_test.go:512: after root.Chtimes("target", 2025-08-14 22:13:03.01602736 +0000 UTC m=+61.260504874, 2025-08-14 22:13:03.016027474 +0000 UTC m=+61.260504987): got atime=2025-08-14 22:13:03 +0000 UTC, want 2025-08-14 22:13:03.01602736 +0000 UTC m=+61.260504874
07b9a4515a09: root_test.go:508: after root.Chtimes("target", 0001-01-01 00:00:00 +0000 UTC, 2025-08-14 22:12:03.016027575 +0000 UTC m=+1.260505089): got mtime=2025-08-14 22:12:03 +0000 UTC, want 2025-08-14 22:12:03.016027575 +0000 UTC m=+1.260505089
07b9a4515a09: root_test.go:512: after root.Chtimes("target", 2025-08-14 22:12:03.016027653 +0000 UTC m=+1.260505166, 0001-01-01 00:00:00 +0000 UTC): got atime=2025-08-14 22:12:03 +0000 UTC, want 2025-08-14 22:12:03.016027653 +0000 UTC m=+1.260505166
07b9a4515a09: --- FAIL: TestRootChtimes/path_in_directory (0.00s)
07b9a4515a09: root_test.go:508: after root.Chtimes("a/b/c/target", 2025-08-14 22:11:03.01659023 +0000 UTC m=-58.738932198, 2025-08-14 22:11:03.016590555 +0000 UTC m=-58.738931933): got mtime=2025-08-14 22:11:03 +0000 UTC, want 2025-08-14 22:11:03.016590555 +0000 UTC m=-58.738931933
07b9a4515a09: root_test.go:512: after root.Chtimes("a/b/c/target", 2025-08-14 22:11:03.01659023 +0000 UTC m=-58.738932198, 2025-08-14 22:11:03.016590555 +0000 UTC m=-58.738931933): got atime=2025-08-14 22:11:03 +0000 UTC, want 2025-08-14 22:11:03.01659023 +0000 UTC m=-58.738932198
07b9a4515a09: root_test.go:508: after root.Chtimes("a/b/c/target", 2025-08-14 22:13:03.016590668 +0000 UTC m=+61.261068182, 2025-08-14 22:13:03.016590762 +0000 UTC m=+61.261068274): got mtime=2025-08-14 22:13:03 +0000 UTC, want 2025-08-14 22:13:03.016590762 +0000 UTC m=+61.261068274
07b9a4515a09: root_test.go:512: after root.Chtimes("a/b/c/target", 2025-08-14 22:13:03.016590668 +0000 UTC m=+61.261068182, 2025-08-14 22:13:03.016590762 +0000 UTC m=+61.261068274): got atime=2025-08-14 22:13:03 +0000 UTC, want 2025-08-14 22:13:03.016590668 +0000 UTC m=+61.261068182
07b9a4515a09: root_test.go:508: after root.Chtimes("a/b/c/target", 0001-01-01 00:00:00 +0000 UTC, 2025-08-14 22:12:03.016590857 +0000 UTC m=+1.261068370): got mtime=2025-08-14 22:12:03 +0000 UTC, want 2025-08-14 22:12:03.016590857 +0000 UTC m=+1.261068370
07b9a4515a09: root_test.go:512: after root.Chtimes("a/b/c/target", 2025-08-14 22:12:03.016590928 +0000 UTC m=+1.261068440, 0001-01-01 00:00:00 +0000 UTC): got atime=2025-08-14 22:12:03 +0000 UTC, want 2025-08-14 22:12:03.016590928 +0000 UTC m=+1.261068440
07b9a4515a09: --- FAIL: TestRootChtimes/symlink (0.00s)
07b9a4515a09: root_test.go:508: after root.Chtimes("link", 2025-08-14 22:11:03.017181206 +0000 UTC m=-58.738341257, 2025-08-14 22:11:03.017181418 +0000 UTC m=-58.738341069): got mtime=2025-08-14 22:11:03 +0000 UTC, want 2025-08-14 22:11:03.017181418 +0000 UTC m=-58.738341069
07b9a4515a09: root_test.go:512: after root.Chtimes("link", 2025-08-14 22:11:03.017181206 +0000 UTC m=-58.738341257, 2025-08-14 22:11:03.017181418 +0000 UTC m=-58.738341069): got atime=2025-08-14 22:11:03 +0000 UTC, want 2025-08-14 22:11:03.017181206 +0000 UTC m=-58.738341257
07b9a4515a09: root_test.go:508: after root.Chtimes("link", 2025-08-14 22:13:03.017181518 +0000 UTC m=+61.261659031, 2025-08-14 22:13:03.017181618 +0000 UTC m=+61.261659130): got mtime=2025-08-14 22:13:03 +0000 UTC, want 2025-08-14 22:13:03.017181618 +0000 UTC m=+61.261659130
07b9a4515a09: root_test.go:512: after root.Chtimes("link", 2025-08-14 22:13:03.017181518 +0000 UTC m=+61.261659031, 2025-08-14 22:13:03.017181618 +0000 UTC m=+61.261659130): got atime=2025-08-14 22:13:03 +0000 UTC, want 2025-08-14 22:13:03.017181518 +0000 UTC m=+61.261659031
07b9a4515a09: root_test.go:508: after root.Chtimes("link", 0001-01-01 00:00:00 +0000 UTC, 2025-08-14 22:12:03.017181695 +0000 UTC m=+1.261659208): got mtime=2025-08-14 22:12:03 +0000 UTC, want 2025-08-14 22:12:03.017181695 +0000 UTC m=+1.261659208
07b9a4515a09: root_test.go:512: after root.Chtimes("link", 2025-08-14 22:12:03.017181766 +0000 UTC m=+1.261659278, 0001-01-01 00:00:00 +0000 UTC): got atime=2025-08-14 22:12:03 +0000 UTC, want 2025-08-14 22:12:03.017181766 +0000 UTC m=+1.261659278
07b9a4515a09: --- FAIL: TestRootChtimes/symlink_ending_in_slash (0.00s)
07b9a4515a09: root_test.go:508: after root.Chtimes("link/target", 2025-08-14 22:11:03.017944538 +0000 UTC m=-58.737577926, 2025-08-14 22:11:03.017944755 +0000 UTC m=-58.737577732): got mtime=2025-08-14 22:11:03 +0000 UTC, want 2025-08-14 22:11:03.017944755 +0000 UTC m=-58.737577732
07b9a4515a09: root_test.go:512: after root.Chtimes("link/target", 2025-08-14 22:11:03.017944538 +0000 UTC m=-58.737577926, 2025-08-14 22:11:03.017944755 +0000 UTC m=-58.737577732): got atime=2025-08-14 22:11:03 +0000 UTC, want 2025-08-14 22:11:03.017944538 +0000 UTC m=-58.737577926
07b9a4515a09: root_test.go:508: after root.Chtimes("link/target", 2025-08-14 22:13:03.017944851 +0000 UTC m=+61.262422363, 2025-08-14 22:13:03.01794495 +0000 UTC m=+61.262422463): got mtime=2025-08-14 22:13:03 +0000 UTC, want 2025-08-14 22:13:03.01794495 +0000 UTC m=+61.262422463
07b9a4515a09: root_test.go:512: after root.Chtimes("link/target", 2025-08-14 22:13:03.017944851 +0000 UTC m=+61.262422363, 2025-08-14 22:13:03.01794495 +0000 UTC m=+61.262422463): got atime=2025-08-14 22:13:03 +0000 UTC, want 2025-08-14 22:13:03.017944851 +0000 UTC m=+61.262422363
07b9a4515a09: root_test.go:508: after root.Chtimes("link/target", 0001-01-01 00:00:00 +0000 UTC, 2025-08-14 22:12:03.017945031 +0000 UTC m=+1.262422544): got mtime=2025-08-14 22:12:03 +0000 UTC, want 2025-08-14 22:12:03.017945031 +0000 UTC m=+1.262422544
07b9a4515a09: root_test.go:512: after root.Chtimes("link/target", 2025-08-14 22:12:03.017945101 +0000 UTC m=+1.262422614, 0001-01-01 00:00:00 +0000 UTC): got atime=2025-08-14 22:12:03 +0000 UTC, want 2025-08-14 22:12:03.017945101 +0000 UTC m=+1.262422614
07b9a4515a09: --- FAIL: TestRootChtimes/symlink_chain (0.00s)
07b9a4515a09: root_test.go:508: after root.Chtimes("link", 2025-08-14 22:11:03.019220789 +0000 UTC m=-58.736301673, 2025-08-14 22:11:03.019221006 +0000 UTC m=-58.736301483): got mtime=2025-08-14 22:11:03 +0000 UTC, want 2025-08-14 22:11:03.019221006 +0000 UTC m=-58.736301483
07b9a4515a09: root_test.go:512: after root.Chtimes("link", 2025-08-14 22:11:03.019220789 +0000 UTC m=-58.736301673, 2025-08-14 22:11:03.019221006 +0000 UTC m=-58.736301483): got atime=2025-08-14 22:11:03 +0000 UTC, want 2025-08-14 22:11:03.019220789 +0000 UTC m=-58.736301673
07b9a4515a09: root_test.go:508: after root.Chtimes("link", 2025-08-14 22:13:03.01922111 +0000 UTC m=+61.263698622, 2025-08-14 22:13:03.019221205 +0000 UTC m=+61.263698718): got mtime=2025-08-14 22:13:03 +0000 UTC, want 2025-08-14 22:13:03.019221205 +0000 UTC m=+61.263698718
07b9a4515a09: root_test.go:512: after root.Chtimes("link", 2025-08-14 22:13:03.01922111 +0000 UTC m=+61.263698622, 2025-08-14 22:13:03.019221205 +0000 UTC m=+61.263698718): got atime=2025-08-14 22:13:03 +0000 UTC, want 2025-08-14 22:13:03.01922111 +0000 UTC m=+61.263698622
07b9a4515a09: root_test.go:508: after root.Chtimes("link", 0001-01-01 00:00:00 +0000 UTC, 2025-08-14 22:12:03.019221286 +0000 UTC m=+1.263698799): got mtime=2025-08-14 22:12:03 +0000 UTC, want 2025-08-14 22:12:03.019221286 +0000 UTC m=+1.263698799
07b9a4515a09: root_test.go:512: after root.Chtimes("link", 2025-08-14 22:12:03.019221356 +0000 UTC m=+1.263698868, 0001-01-01 00:00:00 +0000 UTC): got atime=2025-08-14 22:12:03 +0000 UTC, want 2025-08-14 22:12:03.019221356 +0000 UTC m=+1.263698868
07b9a4515a09: --- FAIL: TestRootChtimes/path_with_dot (0.00s)
07b9a4515a09: root_test.go:508: after root.Chtimes("./a/./b/./target", 2025-08-14 22:11:03.020090636 +0000 UTC m=-58.735431818, 2025-08-14 22:11:03.020090843 +0000 UTC m=-58.735431638): got mtime=2025-08-14 22:11:03 +0000 UTC, want 2025-08-14 22:11:03.020090843 +0000 UTC m=-58.735431638
07b9a4515a09: root_test.go:512: after root.Chtimes("./a/./b/./target", 2025-08-14 22:11:03.020090636 +0000 UTC m=-58.735431818, 2025-08-14 22:11:03.020090843 +0000 UTC m=-58.735431638): got atime=2025-08-14 22:11:03 +0000 UTC, want 2025-08-14 22:11:03.020090636 +0000 UTC m=-58.735431818
07b9a4515a09: root_test.go:508: after root.Chtimes("./a/./b/./target", 2025-08-14 22:13:03.020090954 +0000 UTC m=+61.264568466, 2025-08-14 22:13:03.020091043 +0000 UTC m=+61.264568554): got mtime=2025-08-14 22:13:03 +0000 UTC, want 2025-08-14 22:13:03.020091043 +0000 UTC m=+61.264568554
07b9a4515a09: root_test.go:512: after root.Chtimes("./a/./b/./target", 2025-08-14 22:13:03.020090954 +0000 UTC m=+61.264568466, 2025-08-14 22:13:03.020091043 +0000 UTC m=+61.264568554): got atime=2025-08-14 22:13:03 +0000 UTC, want 2025-08-14 22:13:03.020090954 +0000 UTC m=+61.264568466
07b9a4515a09: root_test.go:508: after root.Chtimes("./a/./b/./target", 0001-01-01 00:00:00 +0000 UTC, 2025-08-14 22:12:03.020091131 +0000 UTC m=+1.264568643): got mtime=2025-08-14 22:12:03 +0000 UTC, want 2025-08-14 22:12:03.020091131 +0000 UTC m=+1.264568643
07b9a4515a09: root_test.go:512: after root.Chtimes("./a/./b/./target", 2025-08-14 22:12:03.020091196 +0000 UTC m=+1.264568709, 0001-01-01 00:00:00 +0000 UTC): got atime=2025-08-14 22:12:03 +0000 UTC, want 2025-08-14 22:12:03.020091196 +0000 UTC m=+1.264568709
07b9a4515a09: --- FAIL: TestRootChtimes/path_with_dotdot (0.00s)
07b9a4515a09: root_test.go:508: after root.Chtimes("a/../a/b/../../a/b/../b/target", 2025-08-14 22:11:03.020720151 +0000 UTC m=-58.734802302, 2025-08-14 22:11:03.020720503 +0000 UTC m=-58.734801985): got mtime=2025-08-14 22:11:03 +0000 UTC, want 2025-08-14 22:11:03.020720503 +0000 UTC m=-58.734801985
07b9a4515a09: root_test.go:512: after root.Chtimes("a/../a/b/../../a/b/../b/target", 2025-08-14 22:11:03.020720151 +0000 UTC m=-58.734802302, 2025-08-14 22:11:03.020720503 +0000 UTC m=-58.734801985): got atime=2025-08-14 22:11:03 +0000 UTC, want 2025-08-14 22:11:03.020720151 +0000 UTC m=-58.734802302
07b9a4515a09: root_test.go:508: after root.Chtimes("a/../a/b/../../a/b/../b/target", 2025-08-14 22:13:03.02072061 +0000 UTC m=+61.265198121, 2025-08-14 22:13:03.020720706 +0000 UTC m=+61.265198218): got mtime=2025-08-14 22:13:03 +0000 UTC, want 2025-08-14 22:13:03.020720706 +0000 UTC m=+61.265198218
07b9a4515a09: root_test.go:512: after root.Chtimes("a/../a/b/../../a/b/../b/target", 2025-08-14 22:13:03.02072061 +0000 UTC m=+61.265198121, 2025-08-14 22:13:03.020720706 +0000 UTC m=+61.265198218): got atime=2025-08-14 22:13:03 +0000 UTC, want 2025-08-14 22:13:03.02072061 +0000 UTC m=+61.265198121
07b9a4515a09: root_test.go:508: after root.Chtimes("a/../a/b/../../a/b/../b/target", 0001-01-01 00:00:00 +0000 UTC, 2025-08-14 22:12:03.020720789 +0000 UTC m=+1.265198302): got mtime=2025-08-14 22:12:03 +0000 UTC, want 2025-08-14 22:12:03.020720789 +0000 UTC m=+1.265198302
07b9a4515a09: root_test.go:512: after root.Chtimes("a/../a/b/../../a/b/../b/target", 2025-08-14 22:12:03.020720859 +0000 UTC m=+1.265198371, 0001-01-01 00:00:00 +0000 UTC): got atime=2025-08-14 22:12:03 +0000 UTC, want 2025-08-14 22:12:03.020720859 +0000 UTC m=+1.265198371
07b9a4515a09: --- FAIL: TestRootChtimes/dotdot_no_symlink (0.00s)
07b9a4515a09: root_test.go:508: after root.Chtimes("a/../target", 2025-08-14 22:11:03.021901822 +0000 UTC m=-58.733620641, 2025-08-14 22:11:03.021901997 +0000 UTC m=-58.733620492): got mtime=2025-08-14 22:11:03 +0000 UTC, want 2025-08-14 22:11:03.021901997 +0000 UTC m=-58.733620492
07b9a4515a09: root_test.go:512: after root.Chtimes("a/../target", 2025-08-14 22:11:03.021901822 +0000 UTC m=-58.733620641, 2025-08-14 22:11:03.021901997 +0000 UTC m=-58.733620492): got atime=2025-08-14 22:11:03 +0000 UTC, want 2025-08-14 22:11:03.021901822 +0000 UTC m=-58.733620641
07b9a4515a09: root_test.go:508: after root.Chtimes("a/../target", 2025-08-14 22:13:03.021902077 +0000 UTC m=+61.266379590, 2025-08-14 22:13:03.021902169 +0000 UTC m=+61.266379681): got mtime=2025-08-14 22:13:03 +0000 UTC, want 2025-08-14 22:13:03.021902169 +0000 UTC m=+61.266379681
07b9a4515a09: root_test.go:512: after root.Chtimes("a/../target", 2025-08-14 22:13:03.021902077 +0000 UTC m=+61.266379590, 2025-08-14 22:13:03.021902169 +0000 UTC m=+61.266379681): got atime=2025-08-14 22:13:03 +0000 UTC, want 2025-08-14 22:13:03.021902077 +0000 UTC m=+61.266379590
07b9a4515a09: root_test.go:508: after root.Chtimes("a/../target", 0001-01-01 00:00:00 +0000 UTC, 2025-08-14 22:12:03.021902246 +0000 UTC m=+1.266379759): got mtime=2025-08-14 22:12:03 +0000 UTC, want 2025-08-14 22:12:03.021902246 +0000 UTC m=+1.266379759
07b9a4515a09: root_test.go:512: after root.Chtimes("a/../target", 2025-08-14 22:12:03.021902312 +0000 UTC m=+1.266379823, 0001-01-01 00:00:00 +0000 UTC): got atime=2025-08-14 22:12:03 +0000 UTC, want 2025-08-14 22:12:03.021902312 +0000 UTC m=+1.266379823
07b9a4515a09: --- FAIL: TestRootChtimes/dotdot_after_symlink (0.00s)
07b9a4515a09: root_test.go:508: after root.Chtimes("a/../target", 2025-08-14 22:11:03.022438673 +0000 UTC m=-58.733083785, 2025-08-14 22:11:03.022438848 +0000 UTC m=-58.733083635): got mtime=2025-08-14 22:11:03 +0000 UTC, want 2025-08-14 22:11:03.022438848 +0000 UTC m=-58.733083635
07b9a4515a09: root_test.go:512: after root.Chtimes("a/../target", 2025-08-14 22:11:03.022438673 +0000 UTC m=-58.733083785, 2025-08-14 22:11:03.022438848 +0000 UTC m=-58.733083635): got atime=2025-08-14 22:11:03 +0000 UTC, want 2025-08-14 22:11:03.022438673 +0000 UTC m=-58.733083785
07b9a4515a09: root_test.go:508: after root.Chtimes("a/../target", 2025-08-14 22:13:03.022438938 +0000 UTC m=+61.266916451, 2025-08-14 22:13:03.022439031 +0000 UTC m=+61.266916543): got mtime=2025-08-14 22:13:03 +0000 UTC, want 2025-08-14 22:13:03.022439031 +0000 UTC m=+61.266916543
07b9a4515a09: root_test.go:512: after root.Chtimes("a/../target", 2025-08-14 22:13:03.022438938 +0000 UTC m=+61.266916451, 2025-08-14 22:13:03.022439031 +0000 UTC m=+61.266916543): got atime=2025-08-14 22:13:03 +0000 UTC, want 2025-08-14 22:13:03.022438938 +0000 UTC m=+61.266916451
07b9a4515a09: root_test.go:508: after root.Chtimes("a/../target", 0001-01-01 00:00:00 +0000 UTC, 2025-08-14 22:12:03.022439107 +0000 UTC m=+1.266916620): got mtime=2025-08-14 22:12:03 +0000 UTC, want 2025-08-14 22:12:03.022439107 +0000 UTC m=+1.266916620
07b9a4515a09: root_test.go:512: after root.Chtimes("a/../target", 2025-08-14 22:12:03.022439173 +0000 UTC m=+1.266916686, 0001-01-01 00:00:00 +0000 UTC): got atime=2025-08-14 22:12:03 +0000 UTC, want 2025-08-14 22:12:03.022439173 +0000 UTC m=+1.266916686
07b9a4515a09: --- FAIL: TestRootChtimes/dotdot_before_symlink (0.00s)
07b9a4515a09: root_test.go:508: after root.Chtimes("b/../a/target", 2025-08-14 22:11:03.023071163 +0000 UTC m=-58.732451300, 2025-08-14 22:11:03.023071447 +0000 UTC m=-58.732451041): got mtime=2025-08-14 22:11:03 +0000 UTC, want 2025-08-14 22:11:03.023071447 +0000 UTC m=-58.732451041
07b9a4515a09: root_test.go:512: after root.Chtimes("b/../a/target", 2025-08-14 22:11:03.023071163 +0000 UTC m=-58.732451300, 2025-08-14 22:11:03.023071447 +0000 UTC m=-58.732451041): got atime=2025-08-14 22:11:03 +0000 UTC, want 2025-08-14 22:11:03.023071163 +0000 UTC m=-58.732451300
07b9a4515a09: root_test.go:508: after root.Chtimes("b/../a/target", 2025-08-14 22:13:03.023071539 +0000 UTC m=+61.267549052, 2025-08-14 22:13:03.023071624 +0000 UTC m=+61.267549136): got mtime=2025-08-14 22:13:03 +0000 UTC, want 2025-08-14 22:13:03.023071624 +0000 UTC m=+61.267549136
07b9a4515a09: root_test.go:512: after root.Chtimes("b/../a/target", 2025-08-14 22:13:03.023071539 +0000 UTC m=+61.267549052, 2025-08-14 22:13:03.023071624 +0000 UTC m=+61.267549136): got atime=2025-08-14 22:13:03 +0000 UTC, want 2025-08-14 22:13:03.023071539 +0000 UTC m=+61.267549052
07b9a4515a09: root_test.go:508: after root.Chtimes("b/../a/target", 0001-01-01 00:00:00 +0000 UTC, 2025-08-14 22:12:03.023071701 +0000 UTC m=+1.267549214): got mtime=2025-08-14 22:12:03 +0000 UTC, want 2025-08-14 22:12:03.023071701 +0000 UTC m=+1.267549214
07b9a4515a09: root_test.go:512: after root.Chtimes("b/../a/target", 2025-08-14 22:12:03.023071767 +0000 UTC m=+1.267549280, 0001-01-01 00:00:00 +0000 UTC): got atime=2025-08-14 22:12:03 +0000 UTC, want 2025-08-14 22:12:03.023071767 +0000 UTC m=+1.267549280
07b9a4515a09: --- FAIL: TestRootChtimes/symlink_ends_in_dot (0.00s)
07b9a4515a09: root_test.go:508: after root.Chtimes("a/target", 2025-08-14 22:11:03.023720788 +0000 UTC m=-58.731801666, 2025-08-14 22:11:03.023720981 +0000 UTC m=-58.731801500): got mtime=2025-08-14 22:11:03 +0000 UTC, want 2025-08-14 22:11:03.023720981 +0000 UTC m=-58.731801500
07b9a4515a09: root_test.go:512: after root.Chtimes("a/target", 2025-08-14 22:11:03.023720788 +0000 UTC m=-58.731801666, 2025-08-14 22:11:03.023720981 +0000 UTC m=-58.731801500): got atime=2025-08-14 22:11:03 +0000 UTC, want 2025-08-14 22:11:03.023720788 +0000 UTC m=-58.731801666
07b9a4515a09: root_test.go:508: after root.Chtimes("a/target", 2025-08-14 22:13:03.023721086 +0000 UTC m=+61.268198599, 2025-08-14 22:13:03.023721171 +0000 UTC m=+61.268198683): got mtime=2025-08-14 22:13:03 +0000 UTC, want 2025-08-14 22:13:03.023721171 +0000 UTC m=+61.268198683
07b9a4515a09: root_test.go:512: after root.Chtimes("a/target", 2025-08-14 22:13:03.023721086 +0000 UTC m=+61.268198599, 2025-08-14 22:13:03.023721171 +0000 UTC m=+61.268198683): got atime=2025-08-14 22:13:03 +0000 UTC, want 2025-08-14 22:13:03.023721086 +0000 UTC m=+61.268198599
07b9a4515a09: root_test.go:508: after root.Chtimes("a/target", 0001-01-01 00:00:00 +0000 UTC, 2025-08-14 22:12:03.023721249 +0000 UTC m=+1.268198761): got mtime=2025-08-14 22:12:03 +0000 UTC, want 2025-08-14 22:12:03.023721249 +0000 UTC m=+1.268198761
07b9a4515a09: root_test.go:512: after root.Chtimes("a/target", 2025-08-14 22:12:03.023721315 +0000 UTC m=+1.268198826, 0001-01-01 00:00:00 +0000 UTC): got atime=2025-08-14 22:12:03 +0000 UTC, want 2025-08-14 22:12:03.023721315 +0000 UTC m=+1.268198826
07b9a4515a09: FAIL
07b9a4515a09: FAIL	os	4.553s

and

07b9a4515a09: --- FAIL: TestPermissions (0.00s)
07b9a4515a09: gofmt_unix_test.go:57: {0xc0002e7180 [111 112 101 110 32 47 116 109 112 47 84 101 115 116 80 101 114 109 105 115 115 105 111 110 115 51 52 55 49 54 48 54 53 48 56 47 48 48 49 47 112 101 114 109 46 103 111 58 32 112 101 114 109 105 115 115 105 111 110 32 100 101 110 105 101 100 10]}
07b9a4515a09: gofmt_unix_test.go:65: after rewrite mod time is 2025-08-14 21:15:15 +0000 UTC, want 2025-08-14 21:15:15.857248663 +0000 UTC m=-3599.885723515
07b9a4515a09: FAIL
07b9a4515a09: FAIL	cmd/gofmt	0.138s

running on a filesystem with required precision appears to work fine.

i did not see these tests fail in previous versions.

will application behavior change based on filesystem configuration?

Metadata

Metadata

Assignees

Labels

BugReportIssues describing a possible bug in the Go implementation.FixPendingIssues that have a fix which has not yet been reviewed or submitted.NeedsFixThe path to resolution is known, but the work has not been done.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions