Skip to content

os: spurious TestDirFS failures due to directory mtime skew on Windows #42637

@bcmills

Description

@bcmills

https://storage.googleapis.com/go-build-log/f31194a9/windows-386-2008_061172ea.log:

--- FAIL: TestDirFS (0.35s)
    os_test.go:2690: TestFS found errors:
        testdata/simple: mismatch:
        	entry.Info() = simple IsDir=true Mode=drwxrwxrwx Size=0 ModTime=2020-11-16 02:32:02.0111083 +0000 GMT
        	file.Stat() = simple IsDir=true Mode=drwxrwxrwx Size=0 ModTime=2020-11-16 02:32:02.012085 +0000 GMT
        
FAIL
FAIL	os	2.635s

Marking as release-blocker for Go 1.16 because DirFS is a new API.

CC @rsc @robpike @alexbrainman @networkimprov @zx2c4

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.OS-WindowsTestingAn issue that has been verified to require only test changes, not just a test failure.release-blocker

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions