Description
Run: runtime-coreclr libraries-jitstress 20220814.1
Failed test:
net7.0-windows-Release-arm64-CoreCLR_checked-no_tiered_compilation-Windows.10.Arm64v8.Open
- System.IO.Tests.RandomAccess_GetLength.ReturnsActualLengthForDevices(options: Asynchronous)
- System.IO.Tests.RandomAccess_GetLength.ReturnsActualLengthForDevices(options: None)
net7.0-windows-Release-arm64-CoreCLR_checked-jitstress1_tiered-Windows.10.Arm64v8.Open
- System.IO.Tests.RandomAccess_GetLength.ReturnsActualLengthForDevices(options: Asynchronous)
- System.IO.Tests.RandomAccess_GetLength.ReturnsActualLengthForDevices(options: None)
net7.0-windows-Release-arm64-CoreCLR_checked-jitminopts-Windows.10.Arm64v8.Open
- System.IO.Tests.RandomAccess_GetLength.ReturnsActualLengthForDevices(options: Asynchronous)
- System.IO.Tests.RandomAccess_GetLength.ReturnsActualLengthForDevices(options: None)
net7.0-windows-Release-arm64-CoreCLR_checked-jitstress1-Windows.10.Arm64v8.Open
- System.IO.Tests.RandomAccess_GetLength.ReturnsActualLengthForDevices(options: Asynchronous)
- System.IO.Tests.RandomAccess_GetLength.ReturnsActualLengthForDevices(options: None)
net7.0-windows-Release-arm64-CoreCLR_checked-jitstress2-Windows.10.Arm64v8.Open
- System.IO.Tests.RandomAccess_GetLength.ReturnsActualLengthForDevices(options: Asynchronous)
- System.IO.Tests.RandomAccess_GetLength.ReturnsActualLengthForDevices(options: None)
Error message:
System.IO.IOException : The process cannot access the file '\?\PhysicalDrive0' because it is being used by another process.
Stack trace
at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options) in /_/src/libraries/System.Private.CoreLib/src/Microsoft/Win32/SafeHandles/SafeFileHandle.Windows.cs:line 114
at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode) in /_/src/libraries/System.Private.CoreLib/src/Microsoft/Win32/SafeHandles/SafeFileHandle.Windows.cs:line 47
at System.IO.Tests.RandomAccess_GetLength.ReturnsActualLengthForDevices(FileOptions options) in /_/src/libraries/System.IO.FileSystem/tests/RandomAccess/GetLength.cs:line 48
at InvokeStub_RandomAccess_GetLength.ReturnsActualLengthForDevices(Object, Object, IntPtr*)
at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)