--- FAIL: TestRootConsistencyOpen (0.45s)
--- FAIL: TestRootConsistencyOpen/file_slash (0.01s)
root_test.go:1320: with root: res=
root_test.go:1321: err=openat target/: not a directory
root_test.go:1322: without root: res=target
root_test.go:1323: err=<nil>
root_test.go:1324: want consistent results, got mismatch
--- FAIL: TestRootConsistencyOpen/symlink_to_file_ends_in_slash (0.04s)
root_test.go:1320: with root: res=
root_test.go:1321: err=openat link: not a directory
root_test.go:1322: without root: res=file
root_test.go:1323: err=<nil>
root_test.go:1324: want consistent results, got mismatch
--- FAIL: TestRootConsistencyCreate (0.31s)
--- FAIL: TestRootConsistencyCreate/file_slash (0.02s)
root_test.go:1320: with root: res=
root_test.go:1321: err=openat target/: not a directory
root_test.go:1322: without root: res=
root_test.go:1323: err=<nil>
root_test.go:1324: want consistent results, got mismatch
--- FAIL: TestRootConsistencyCreate/symlink_to_file_ends_in_slash (0.01s)
root_test.go:1320: with root: res=
root_test.go:1321: err=openat link: not a directory
root_test.go:1322: without root: res=
root_test.go:1323: err=<nil>
root_test.go:1324: want consistent results, got mismatch
--- FAIL: TestRootConsistencyChmod (0.23s)
--- FAIL: TestRootConsistencyChmod/file_slash (0.01s)
root_test.go:1320: with root: res=chmod 0o555
root_test.go:1321: err=chmodat target/: not a directory
root_test.go:1322: without root: res=-r-xr-xr-x -rwxrwxrwx
root_test.go:1323: err=<nil>
root_test.go:1324: want consistent results, got mismatch
--- FAIL: TestRootConsistencyChmod/symlink_to_file_ends_in_slash (0.01s)
root_test.go:1320: with root: res=chmod 0o555
root_test.go:1321: err=chmodat link: not a directory
root_test.go:1322: without root: res=Lrwxrwxrwx Lrwxrwxrwx
root_test.go:1323: err=<nil>
root_test.go:1324: want consistent results, got mismatch
--- FAIL: TestRootConsistencyRemove (0.71s)
.........
.........
This is seen after the CL https://go-review.googlesource.com/c/go/+/797880