Repository navigation
Closed
Description
Build information
- Public PR: Merging internal commits for release/8.0 #135733
- Build: 1638347
- Build Analysis check
- Branch:
release/8.0
Failing tests and configurations
System.Threading.Tests.MutexTests.NamedMutex_UserScopedSharedMemoryPathAndPermissionsSystem.Threading.Tests.MutexTests.NamedMutex_SharedMemoryDirectoryReplacementDoesNotRedirectFileAccess
| Runtime configuration | Helix configuration | Permissions test result | Directory-replacement test result |
|---|---|---|---|
| Linux ARM64, Debug libraries, release Mono | AzureLinux.3.ArmArch.Open |
Result | Result |
| Linux x64, Debug libraries, release Mono interpreter | Ubuntu.2204.Amd64.Open |
Result | Result |
| Linux x64, Debug libraries, release Mono | Debian.12.Amd64.Open |
Result | Result |
Console logs
Exceptions
Excerpts from the linked ARM64 Mono log.
NamedMutex_UserScopedSharedMemoryPathAndPermissions
Microsoft.DotNet.RemoteExecutor.RemoteExecutionException : Remote process failed with an unhandled exception.
Child exception:
Xunit.Sdk.TrueException: Assert.True() Failure
Expected: True
Actual: False
at System.Threading.Tests.MutexTests.<>c.<NamedMutex_UserScopedSharedMemoryPathAndPermissions>b__10_0(String homeDirectory) in /_/src/libraries/System.Threading/tests/MutexTests.cs:line 307
NamedMutex_SharedMemoryDirectoryReplacementDoesNotRedirectFileAccess
Microsoft.DotNet.RemoteExecutor.RemoteExecutionException : Remote process failed with an unhandled exception.
Child exception:
System.IO.DirectoryNotFoundException: Could not find a part of the path '/tmp/#MutexTests_ulplgbvm.vvv/NamedMutex_SharedMemoryDirectoryReplacementDoesNotRedirectFileAccess_330_ffjhpjti/.dotnet/shm'.
at System.IO.FileSystem.MoveDirectory(String sourceFullPath, String destFullPath, Boolean isCaseSensitiveRename) in /_/src/libraries/System.Private.CoreLib/src/System/IO/FileSystem.Unix.cs:line 459
at System.IO.Directory.Move(String sourceDirName, String destDirName) in /_/src/libraries/System.Private.CoreLib/src/System/IO/Directory.cs:line 273
at System.Threading.Tests.MutexTests.<>c.<NamedMutex_SharedMemoryDirectoryReplacementDoesNotRedirectFileAccess>b__11_0(String userRuntimeDirectory) in /_/src/libraries/System.Threading/tests/MutexTests.cs:line 345
Observed behavior
Both tests fail in the three listed Linux Mono configurations, including the x64 interpreter:
NamedMutex_UserScopedSharedMemoryPathAndPermissionsfails at the backing-file existence assertion, line 307.NamedMutex_SharedMemoryDirectoryReplacementDoesNotRedirectFileAccessthrowsDirectoryNotFoundExceptionat the attempt to rename.dotnet/shm, line 345. It fails before reaching the assertions about where the second mutex's file is created.
Activity
dotnet-policy-service commentedon Oct 19, 2026
Tagging subscribers to this area: @dotnet/area-system-io
See info in area-owners.md if you want to be subscribed.
[release/8.0] Skip file-backed named mutex tests on Mono (#136170)
ViveliDuCh commentedon Oct 21, 2026
Fixed by #136170