-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
[macOS-arm64] System.Diagnostics.Tests.ProcessTests.TestVirtualMemorySize64 [FAIL] on CoreCLR #49107
Comments
Tagging subscribers to this area: Issue DetailsSee https://dev.azure.com/dnceng/public/_build/results?buildId=1021947 ----- start Wed Mar 3 17:35:59 PST 2021 =============== To repro directly: =====================================================
pushd .
/tmp/helix/working/C24F0A5F/p/dotnet exec --runtimeconfig System.Diagnostics.Process.Tests.runtimeconfig.json --depsfile System.Diagnostics.Process.Tests.deps.json xunit.console.dll System.Diagnostics.Process.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=failing
popd
===========================================================================================================
/private/tmp/helix/working/C24F0A5F/w/A42D099B/e /private/tmp/helix/working/C24F0A5F/w/A42D099B/e
Discovering: System.Diagnostics.Process.Tests (method display = ClassAndMethod, method display options = None)
Discovered: System.Diagnostics.Process.Tests (found 247 of 310 test cases)
Starting: System.Diagnostics.Process.Tests (parallel test collections = on, max threads = 8)
System.Diagnostics.Tests.ProcessStartInfoTests.ShellExecute_Nano_Fails_Start [SKIP]
Condition(s) not met: "IsWindowsNanoServer"
System.Diagnostics.Tests.ProcessTests.ProcessStart_UseShellExecute_OnWindows_OpenMissingFile_Throws [SKIP]
Condition(s) not met: "HasWindowsShell"
Darwin
System.Diagnostics.Tests.ProcessTests.ProcessStart_UseShellExecute_OnWindows_DoesNotThrow [SKIP]
Condition(s) not met: "HasWindowsShell"
System.Diagnostics.Tests.ProcessTests.TestProcessRecycledPid [SKIP]
Condition(s) not met: "IsStressModeEnabledAndRemoteExecutorSupported"
Usage: dotnet [options]
Usage: dotnet [path-to-application]
Options:
-h|--help Display help.
--info Display .NET information.
--list-sdks Display the installed SDKs.
--list-runtimes Display the installed runtimes.
path-to-application:
The path to an application .dll file to execute.
System.Diagnostics.Tests.ProcessTests.TestVirtualMemorySize64 [FAIL]
Assert.InRange() Failure
Range: (1 - 9223372036854775807)
Actual: 0
Stack Trace:
/_/src/libraries/System.Diagnostics.Process/tests/ProcessTests.cs(742,0): at System.Diagnostics.Tests.ProcessTests.TestVirtualMemorySize64()
in OSX, programToOpenWith is /usr/bin/open, while ProcessName is dotnet.
in OSX, programToOpenWith is /usr/bin/nano, while ProcessName is dotnet.
Finished: System.Diagnostics.Process.Tests
=== TEST EXECUTION SUMMARY ===
System.Diagnostics.Process.Tests Total: 307, Errors: 0, Failed: 1, Skipped: 4, Time: 17.581s
/private/tmp/helix/working/C24F0A5F/w/A42D099B/e
----- end Wed Mar 3 17:36:17 PST 2021 ----- exit code 1 ---------------------------------------------------------- /cc @sandreenko Might be an ABI issue ???
|
Seems to be possibly an intermittent failure. It didn't fail in one of my runs, but it did fail again in https://dev.azure.com/dnceng/public/_build/results?buildId=1028375 |
@sdmaclea I think it is the same intermittent failure that you are fighting with not related to JitStress but happening there oftener because of the longer runs. Feel free to assign it back if it stays after your fix. |
I left it running for a night yesterday (just the single test) and it shows some errors:
looks like it still exists and my initial testing was not lucky to catch it. I will return the exclusion. It is suspicious that the failures happened one after each other and showed this |
this means libproc.GetProcessInfoById(pid).Value.ptinfo.pti_virtual_size was 0. The simplest explanation is that the API just occasionally returning 0 on Apple Silicon. |
Can we take a closer look at this in 7.0? We'd like to remove test exceptions on Apple Silicon. |
See https://dev.azure.com/dnceng/public/_build/results?buildId=1021947
/cc @sandreenko Might be an ABI issue ???
The text was updated successfully, but these errors were encountered: