runtime: Test failure System.Diagnostics.Tests.ProcessTests.TotalProcessorTime_PerformLoop_TotalProcessorTimeValid
Failed in: runtime-coreclr libraries-jitstress 20230524.1
Failed tests:
net8.0-linux-Release-arm64-CoreCLR_checked-jitstress1_tiered-(Ubuntu.1804.Arm64.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm64v8
- System.Diagnostics.Tests.ProcessTests.TotalProcessorTime_PerformLoop_TotalProcessorTimeValid
Error message:
Assert.InRange() Failure
Range: (0 - 1)
Actual: 1.0463972542536049
Stack trace:
at System.Diagnostics.Tests.ProcessTests.TotalProcessorTime_PerformLoop_TotalProcessorTimeValid() in /_/src/libraries/System.Diagnostics.Process/tests/ProcessTests.cs:line 910
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr) in /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodInvoker.cs:line 59
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 15 (15 by maintainers)
Commits related to this issue
- Use Stopwatch in TotalProcessorTime_PerformLoop_TotalProcessorTimeValid Also double the number of iterations (it was executing in about 80 ms before on an x86 CI run). Fix #86739 (presumably, it fai... — committed to jakobbotsch/runtime by jakobbotsch 8 months ago
- Use Stopwatch in TotalProcessorTime_PerformLoop_TotalProcessorTimeValid Also double the number of iterations (it was executing in about 80 ms before on an x86 CI run). Fix #86739 (presumably, it fai... — committed to jakobbotsch/runtime by jakobbotsch 8 months ago
- Use Stopwatch in TotalProcessorTime_PerformLoop_TotalProcessorTimeValid (#94254) Also double the number of iterations (it was executing in about 80 ms before on an x86 CI run). Fix #86739 (presu... — committed to dotnet/runtime by jakobbotsch 8 months ago
Nothing https://runfo.azurewebsites.net/search/tests/?q=started%3A~14+name%3ATotalProcessorTimeValid+result%3Afailed+targetBranch%3Amain
I will close and if it happens again we will know more.
We could also just assert that the time is more than
0?