Skip to content

System.IO.Tests.File_GetSetTimes.SetDateTimeMax fails on Ubuntu 18.04 in the CI #43166

@janvorli

Description

@janvorli

In two of my unrelated CIs, the System.IO.Tests.File_GetSetTimes.SetDateTimeMax test keeps failing on Ubuntu 18.04 with the following error:

Assert.Equal() Failure\nExpected: 9999-04-11T23:47:17.0210000Z\nActual:   2446-05-10T22:38:55.0000000Z

There was a notice from the engineering team that they have updated Ubuntu 18.04 image to the latest version, so I wonder if it is related. Setting the file time calls utimes or utimensat glibc functions, so their implementation w.r.t. clipping the max time could have possibly changed.

Runfo Tracking Issue: System.IO.Tests.File_GetSetTimes.SetDateTimeMax fails on Ubuntu 18.04 in the CI

Build Definition Kind Run Name

Build Result Summary

Day Hit Count Week Hit Count Month Hit Count
0 0 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-System.IOdisabled-testThe test is disabled in source code against the issuetest-bugProblem in test source code (most likely)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions