Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[9.0][osx] Assert test failure: Values differ in TestProviderTimer #107571

Open
carlossanlop opened this issue Sep 9, 2024 · 1 comment
Open
Labels
arch-x64 area-System.DateTime Known Build Error Use this to report build issues in the .NET Helix tab os-mac-os-x macOS aka OSX runtime-coreclr specific to the CoreCLR runtime
Milestone

Comments

@carlossanlop
Copy link
Member

carlossanlop commented Sep 9, 2024

Looks very similar to this one that was closed not too long ago: #103459

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=799911
Build error leg or test failing: Libraries Test Run release coreclr osx x64 Debug - Tests.System.TimeProviderTests.TestProviderTimer

Error Message

{
  "ErrorMessage" : [
    "Tests.System.TimeProviderTests.TestProviderTimer(provider: SystemTimeProvider",
    "Assert.Equal() Failure: Values differ",
    "TimeProviderTests.cs(146,0)"
  ],
  "BuildRetry" : false,
  "ExcludeConsoleLog" : false
}
    Tests.System.TimeProviderTests.TestProviderTimer(provider: SystemTimeProvider { LocalTimeZone = (UTC-05:00) Eastern Time (New York), TimestampFrequency = 1000000000 }, minMilliseconds: 1200) [FAIL]
      Assert.Equal() Failure: Values differ
      Expected: 4
      Actual:   5
      Stack Trace:
        /_/src/libraries/Common/tests/System/TimeProviderTests.cs(146,0): at Tests.System.TimeProviderTests.TestProviderTimer(TimeProvider provider, Int32 minMilliseconds)
           at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
        /_/src/coreclr/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.CoreCLR.cs(36,0): at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
        /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs(174,0): at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=799911
Error message validated: [Tests.System.TimeProviderTests.TestProviderTimer(provider: SystemTimeProvider Assert.Equal() Failure: Values differ TimeProviderTests.cs(146,0)]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 9/9/2024 9:04:40 PM UTC

Report

Build Definition Test Pull Request
882975 dotnet/runtime Tests.System.TimeProviderTests.TestProviderTimer

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 1
@carlossanlop carlossanlop added os-mac-os-x macOS aka OSX arch-x64 runtime-coreclr specific to the CoreCLR runtime Known Build Error Use this to report build issues in the .NET Helix tab area-System.DateTime labels Sep 9, 2024
@carlossanlop carlossanlop added this to the 9.0.0 milestone Sep 9, 2024
Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-system-datetime
See info in area-owners.md if you want to be subscribed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-x64 area-System.DateTime Known Build Error Use this to report build issues in the .NET Helix tab os-mac-os-x macOS aka OSX runtime-coreclr specific to the CoreCLR runtime
Projects
None yet
Development

No branches or pull requests

2 participants