Skip to content

Assertion failure: DriveInfo.PropertiesOfValidDrive reports DriveType 'Unknown' on Android (arm/arm64/x64/x86) #123549

@matouskozak

Description

@matouskozak

Note: This issue was automatically generated by AI-Test-Triage. Please review and triage accordingly.

Build Information

Build: 20260122.4

Build error leg or test failing: System.IO.FileSystem.Tests.DriveInfoUnixTests.PropertiesOfValidDrive, System.IO.FileSystem.DriveInfo.Tests.WorkItemExecution

Affected CI jobs: android_arm64_Release_AllSubsets_Mono, android_arm64_Release_NativeAOT, android_arm64_Release_AllSubsets_CoreCLR, android_arm_Release_AllSubsets_Mono, android_x64_Release_AllSubsets_CoreCLR, android_x64_Release_AllSubsets_Mono, android_x86_Release_AllSubsets_Mono, android_x64_Release_NativeAOT

Causing Commit Range Information

Commit range: View Changes

Summary

  • Assert.Equal failure in DriveInfoUnixTests.PropertiesOfValidDrive: expected DriveType 'Fixed' but actual 'Unknown'.
  • Reproduced across Android architectures (arm, arm64, x64, x86) and runtimes (Mono, CoreCLR, NativeAOT), indicating a platform-wide issue.
  • CanGetTempPathDriveFormat fails Assert.NotEmpty (collection empty), indicating missing drive discovery data.
  • SELinux AVC denials (search/getattr on vendor/metadata/firmware) appear before failures, suggesting permissioning/infrastructure blockage.
  • Test assembly exits non-zero and multiple DriveInfo tests fail, indicating an environment-level failure of drive discovery APIs.

Failure Statistics

Note: These statistics are based on the configured time range and do not contain full test history.

  • Occurrence Count: 8
  • First Failure: 2026-01-22 21:00:00 UTC
  • Last Failure: 2026-01-22 21:00:00 UTC

Work Items

Work Item Console Log Build Job Name
System.IO.FileSystem.DriveInfo.Tests
View Extract
01-22 14:05:33.284  4604  4895 D DOTNET  : assembly_preload_hook: TestUtilities  /data/user/0/net.dot.System.IO.FileSystem.DriveInfo.Tests/files
01-22 14:05:33.293 4604 4895 I DOTNET : [PASS] System.IO.FileSystem.Tests.DriveInfoUnixTests.TestConstructor
01-22 14:05:33.359 4604 4895 I DOTNET : [FAIL] System.IO.FileSystem.Tests.DriveInfoUnixTests.PropertiesOfValidDrive
01-22 14:05:33.359 4604 4895 I DOTNET : Assert.Equal() Failure: Values differ
01-22 14:05:33.359 4604 4895 I DOTNET : Expected: Fixed
01-22 14:05:33.359 4604 4895 I DOTNET : Actual: Unknown
01-22 14:05:33.359 4604 4895 I DOTNET : at System.IO.FileSystem.Tests.DriveInfoUnixTests.PropertiesOfValidDrive()
01-22 14:05:33.367 4604 4895 I DOTNET : [PASS] System.IO.FileSystem.Tests.DriveInfoUnixTests.PropertiesOfInvalidDrive
01-22 14:05:33.370 4604 4895 I DOTNET : [FAIL] System.IO.FileSystem.Tests.DriveInfoUnixTests.CanGetTempPathDriveFormat
...
01-22 14:05:33.446 4604 4895 I DOTNET : Failed tests:
01-22 14:05:33.447 4604 4895 I DOTNET : 1) [FAIL] System.IO.FileSystem.Tests.DriveInfoUnixTests.PropertiesOfValidDrive Test name: System.IO.FileSystem.Tests.DriveInfoUnixTests.PropertiesOfValidDrive
01-22 14:05:33.447 4604 4895 I DOTNET : Exception messages: Assert.Equal() Failure: Values differ
01-22 14:05:33.447 4604 4895 I DOTNET : Expected: Fixed
01-22 14:05:33.447 4604 4895 I DOTNET : Actual: Unknown
01-22 14:05:33.447 4604 4895 I DOTNET : 2) [FAIL] System.IO.FileSystem.Tests.DriveInfoUnixTests.CanGetTempPathDriveFormat
01-22 14:05:33.447 4604 4895 I DOTNET : Exception messages: Assert.NotEmpty() Failure: Collection was empty
01-22 14:05:33.447 4604 4895 I DOTNET : Execution time: 0.0353195
Full Log
20260122.4 android_arm64_Release_AllSubsets_Mono
System.IO.FileSystem.DriveInfo.Tests
View Extract
01-22 14:59:33.516 19193 19219 I DOTNET  : [FAIL] System.IO.FileSystem.Tests.DriveInfoUnixTests.PropertiesOfValidDrive
01-22 14:59:33.516 19193 19219 I DOTNET : Assert.Equal() Failure: Values differ
01-22 14:59:33.516 19193 19219 I DOTNET : Expected: Fixed
01-22 14:59:33.516 19193 19219 I DOTNET : Actual: Unknown
01-22 14:59:33.517 19193 19219 I DOTNET : [FAIL] System.IO.FileSystem.Tests.DriveInfoUnixTests.CanGetTempPathDriveFormat
01-22 14:59:33.517 19193 19219 I DOTNET : Assert.NotEmpty() Failure: Collection was empty
01-22 14:59:33.518 19193 19219 I DOTNET : Finished System.IO.FileSystem.DriveInfo.Tests, Version=11.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
01-22 14:59:33.518 19193 19219 I DOTNET : Tests run: 6, Errors: 0, Failures: 2, Skipped: 0. Time: 0.008432s
INSTRUMENTATION_RESULT: return-code=1
[14:59:36] fail: Non-success instrumentation exit code: 1, expected: 0
XHarness exit code: 1 (TESTS_FAILED)
Full Log
20260122.4 android_arm64_Release_NativeAOT
System.IO.FileSystem.DriveInfo.Tests
View Extract
01-22 14:14:08.866 20046 20046 W net.dot.System.IO.FileSystem.DriveInfo.Tests: type=1400 audit(0.0:147902): avc:  denied  { search } for  comm=2E4E455420545020576F726B6572 name="vendor" dev="tmpfs" ino=2 scontext=u:r:untrusted_app_30:s0:c238,c281,c512,c768 tcontext=u:object_r:mnt_vendor_file:s0 tclass=dir permissive=0 app=net.dot.System.IO.FileSystem.DriveInfo.Tests
01-22 14:14:08.866 20046 20046 W net.dot.System.IO.FileSystem.DriveInfo.Tests: type=1400 audit(0.0:147903): avc: denied { search } for comm=2E4E455420545020576F726B6572 name="vendor" dev="tmpfs" ino=2 scontext=u:r:untrusted_app_30:s0:c238,c281,c512,c768 tcontext=u:object_r:mnt_vendor_file:s0 tclass=dir permissive=0 app=net.dot.System.IO.FileSystem.DriveInfo.Tests
01-22 14:14:08.879 20046 20238 I DOTNET : [PASS] System.IO.FileSystem.Tests.DriveInfoUnixTests.TestGetDrives
01-22 14:14:08.892 20046 20238 I DOTNET : [PASS] System.IO.FileSystem.Tests.DriveInfoUnixTests.TestConstructor
01-22 14:14:08.969 20046 20238 I DOTNET : [FAIL] System.IO.FileSystem.Tests.DriveInfoUnixTests.PropertiesOfValidDrive
01-22 14:14:08.969 20046 20238 I DOTNET : Assert.Equal() Failure: Values differ
01-22 14:14:08.969 20046 20238 I DOTNET : Expected: Fixed
01-22 14:14:08.969 20046 20238 I DOTNET : Actual: Unknown
01-22 14:14:08.969 20046 20238 I DOTNET : at System.IO.FileSystem.Tests.DriveInfoUnixTests.PropertiesOfValidDrive()
01-22 14:14:08.973 20046 20238 I DOTNET : [PASS] System.IO.FileSystem.Tests.DriveInfoUnixTests.PropertiesOfInvalidDrive
01-22 14:14:08.974 20046 20238 I DOTNET : [FAIL] System.IO.FileSystem.Tests.DriveInfoUnixTests.CanGetTempPathDriveFormat
01-22 14:14:08.974 20046 20238 I DOTNET : Assert.NotEmpty() Failure: Collection was empty
01-22 14:14:08.993 20046 20238 I DOTNET : Failed tests:
01-22 14:14:08.993 20046 20238 I DOTNET : 1) [FAIL] System.IO.FileSystem.Tests.DriveInfoUnixTests.PropertiesOfValidDrive Test name: System.IO.FileSystem.Tests.DriveInfoUnixTests.PropertiesOfValidDrive
01-22 14:14:08.993 20046 20238 I DOTNET : Exception messages: Assert.Equal() Failure: Values differ
01-22 14:14:08.993 20046 20238 I DOTNET : Expected: Fixed
01-22 14:14:08.993 20046 20238 I DOTNET : Actual: Unknown
Full Log
20260122.4 android_arm64_Release_AllSubsets_CoreCLR
System.IO.FileSystem.DriveInfo.Tests
View Extract
01-22 13:53:58.254 18503 18503 W net.dot.System.IO.FileSystem.DriveInfo.Tests: type=1400 audit(0.0:329468): avc: denied { search } for comm=2E4E455420545020576F726B6572 name="vendor" dev="tmpfs" ino=20954 scontext=u:r:untrusted_app_30:s0:c57,c266,c512,c768 tcontext=u:object_r:mnt_vendor_file:s0 tclass=dir permissive=0 app=net.dot.System.IO.FileSystem.DriveInfo.Tests
01-22 13:53:58.254 18503 18503 W net.dot.System.IO.FileSystem.DriveInfo.Tests: type=1400 audit(0.0:329470): avc: denied { getattr } for comm=2E4E455420545020576F726B6572 path="/metadata" dev="sda11" ino=2 scontext=u:r:untrusted_app_30:s0:c57,c266,c512,c768 tcontext=u:object_r:metadata_file:s0 tclass=dir permissive=0 app=net.dot.System.IO.FileSystem.DriveInfo.Tests
01-22 13:53:58.270 18503 18590 I DOTNET : [PASS] System.IO.FileSystem.Tests.DriveInfoUnixTests.TestGetDrives
01-22 13:53:58.300 18503 18590 I DOTNET : [PASS] System.IO.FileSystem.Tests.DriveInfoUnixTests.TestConstructor
01-22 13:53:58.350 18503 18590 I DOTNET : [FAIL] System.IO.FileSystem.Tests.DriveInfoUnixTests.PropertiesOfValidDrive
01-22 13:53:58.350 18503 18590 I DOTNET : Assert.Equal() Failure: Values differ
01-22 13:53:58.350 18503 18590 I DOTNET : Expected: Fixed
01-22 13:53:58.350 18503 18590 I DOTNET : Actual: Unknown
01-22 13:53:58.358 18503 18590 I DOTNET : [FAIL] System.IO.FileSystem.Tests.DriveInfoUnixTests.CanGetTempPathDriveFormat
01-22 13:53:58.358 18503 18590 I DOTNET : Assert.NotEmpty() Failure: Collection was empty
01-22 13:53:58.393 18503 18590 I DOTNET : Failed tests:
01-22 13:53:58.393 18503 18590 I DOTNET : 1) [FAIL] System.IO.FileSystem.Tests.DriveInfoUnixTests.PropertiesOfValidDrive Test name: System.IO.FileSystem.Tests.DriveInfoUnixTests.PropertiesOfValidDrive
01-22 13:53:58.394 18503 18590 I DOTNET : 2) [FAIL] System.IO.FileSystem.Tests.DriveInfoUnixTests.CanGetTempPathDriveFormat Test name: System.IO.FileSystem.Tests.DriveInfoUnixTests.CanGetTempPathDriveFormat
Full Log
20260122.4 android_arm_Release_AllSubsets_Mono
System.IO.FileSystem.DriveInfo.Tests
View Extract
01-22 22:26:37.721  7280  7298 D DOTNET  : Mapped System.Collections.Immutable.dll -> /data/user/0/net.dot.System.IO.FileSystem.DriveInfo.Tests/files/System.Collections.Immutable.dll
01-22 22:26:37.754 7280 7298 D DOTNET : Mapped System.IO.Compression.dll -> /data/user/0/net.dot.System.IO.FileSystem.DriveInfo.Tests/files/System.IO.Compression.dll
01-22 22:26:37.842 7280 7298 I DOTNET : [FAIL] System.IO.FileSystem.Tests.DriveInfoUnixTests.PropertiesOfValidDrive
01-22 22:26:37.842 7280 7298 I DOTNET : Assert.Equal() Failure: Values differ
01-22 22:26:37.842 7280 7298 I DOTNET : Expected: Fixed
01-22 22:26:37.842 7280 7298 I DOTNET : Actual: Unknown
01-22 22:26:37.842 7280 7298 I DOTNET : at System.IO.FileSystem.Tests.DriveInfoUnixTests.PropertiesOfValidDrive()
01-22 22:26:37.850 7280 7298 I DOTNET : [PASS] System.IO.FileSystem.Tests.DriveInfoUnixTests.PropertiesOfInvalidDrive

01-22 22:26:37.852 7280 7298 I DOTNET : Assert.NotEmpty() Failure: Collection was empty
01-22 22:26:37.852 7280 7298 I DOTNET : at System.IO.FileSystem.Tests.DriveInfoUnixTests.CanGetTempPathDriveFormat()

01-22 22:26:37.921 7280 7298 I DOTNET : Failed tests:
01-22 22:26:37.922 7280 7298 I DOTNET : 1) [FAIL] System.IO.FileSystem.Tests.DriveInfoUnixTests.PropertiesOfValidDrive Test name: System.IO.FileSystem.Tests.DriveInfoUnixTests.PropertiesOfValidDrive
01-22 22:26:37.922 7280 7298 I DOTNET : Exception messages: Assert.Equal() Failure: Values differ
01-22 22:26:37.922 7280 7298 I DOTNET : Expected: Fixed
01-22 22:26:37.922 7280 7298 I DOTNET : Actual: Unknown
01-22 22:26:37.922 7280 7298 I DOTNET : at System.IO.FileSystem.Tests.DriveInfoUnixTests.PropertiesOfValidDrive()
01-22 22:26:37.922 7280 7298 I DOTNET : Execution time: 0.020562
Full Log
20260122.4 android_x64_Release_AllSubsets_CoreCLR
System.IO.FileSystem.DriveInfo.Tests
View Extract
01-22 22:16:25.806  4008  4028 D DOTNET  : assembly_preload_hook: System.IO.FileSystem.DriveInfo  /data/user/0/net.dot.System.IO.FileSystem.DriveInfo.Tests/files
01-22 22:16:26.033 4008 4028 I DOTNET : [PASS] System.IO.FileSystem.Tests.DriveInfoUnixTests.TestGetDrives
01-22 22:16:26.261 4008 4028 I DOTNET : [PASS] System.IO.FileSystem.Tests.DriveInfoUnixTests.TestConstructor
01-22 22:16:26.519 4008 4028 I DOTNET : [FAIL] System.IO.FileSystem.Tests.DriveInfoUnixTests.PropertiesOfValidDrive
01-22 22:16:26.519 4008 4028 I DOTNET : Assert.Equal() Failure: Values differ
01-22 22:16:26.519 4008 4028 I DOTNET : Expected: Fixed
01-22 22:16:26.519 4008 4028 I DOTNET : Actual: Unknown
01-22 22:16:26.519 4008 4028 I DOTNET : at System.IO.FileSystem.Tests.DriveInfoUnixTests.PropertiesOfValidDrive()
01-22 22:16:26.557 4008 4028 I DOTNET : [PASS] System.IO.FileSystem.Tests.DriveInfoUnixTests.PropertiesOfInvalidDrive
01-22 22:16:26.568 4008 4028 I DOTNET : [FAIL] System.IO.FileSystem.Tests.DriveInfoUnixTests.CanGetTempPathDriveFormat
01-22 22:16:26.568 4008 4028 I DOTNET : Assert.NotEmpty() Failure: Collection was empty
01-22 22:16:26.826 4008 4028 I DOTNET : Failed tests:
01-22 22:16:26.826 4008 4028 I DOTNET : 1) [FAIL] System.IO.FileSystem.Tests.DriveInfoUnixTests.PropertiesOfValidDrive Test name: System.IO.FileSystem.Tests.DriveInfoUnixTests.PropertiesOfValidDrive
01-22 22:16:26.826 4008 4028 I DOTNET : Exception messages: Assert.Equal() Failure: Values differ
01-22 22:16:26.826 4008 4028 I DOTNET : Expected: Fixed
01-22 22:16:26.826 4008 4028 I DOTNET : Actual: Unknown
01-22 22:16:26.826 4008 4028 I DOTNET : 2) [FAIL] System.IO.FileSystem.Tests.DriveInfoUnixTests.CanGetTempPathDriveFormat Test name: System.IO.FileSystem.Tests.DriveInfoUnixTests.CanGetTempPathDriveFormat
01-22 22:16:26.826 4008 4028 I DOTNET : Exception messages: Assert.NotEmpty() Failure: Collection was empty
Full Log
20260122.4 android_x64_Release_AllSubsets_Mono
System.IO.FileSystem.DriveInfo.Tests
View Extract
01-22 22:08:04.905  4224  4244 D DOTNET  : assembly_preload_hook: System.Diagnostics.Tracing  /data/user/0/net.dot.System.IO.FileSystem.DriveInfo.Tests/files
01-22 22:08:05.195 4224 4244 I DOTNET : [PASS] System.IO.FileSystem.Tests.DriveInfoUnixTests.TestGetDrives
01-22 22:08:05.404 4224 4244 I DOTNET : [PASS] System.IO.FileSystem.Tests.DriveInfoUnixTests.TestConstructor
01-22 22:08:05.685 4224 4244 I DOTNET : [FAIL] System.IO.FileSystem.Tests.DriveInfoUnixTests.PropertiesOfValidDrive
01-22 22:08:05.685 4224 4244 I DOTNET : Assert.Equal() Failure: Values differ
01-22 22:08:05.685 4224 4244 I DOTNET : Expected: Fixed
01-22 22:08:05.685 4224 4244 I DOTNET : Actual: Unknown
01-22 22:08:05.685 4224 4244 I DOTNET : at System.IO.FileSystem.Tests.DriveInfoUnixTests.PropertiesOfValidDrive()
01-22 22:08:05.734 4224 4244 I DOTNET : [PASS] System.IO.FileSystem.Tests.DriveInfoUnixTests.PropertiesOfInvalidDrive
01-22 22:08:05.744 4224 4244 I DOTNET : [FAIL] System.IO.FileSystem.Tests.DriveInfoUnixTests.CanGetTempPathDriveFormat
01-22 22:08:05.744 4224 4244 I DOTNET : Assert.NotEmpty() Failure: Collection was empty
01-22 22:08:06.014 4224 4244 I DOTNET : Failed tests:
01-22 22:08:06.016 4224 4244 I DOTNET : 1) [FAIL] System.IO.FileSystem.Tests.DriveInfoUnixTests.PropertiesOfValidDrive Test name: System.IO.FileSystem.Tests.DriveInfoUnixTests.PropertiesOfValidDrive
01-22 22:08:06.018 4224 4244 I DOTNET : Exception messages: Assert.Equal() Failure: Values differ
01-22 22:08:06.018 4224 4244 I DOTNET : Expected: Fixed
01-22 22:08:06.018 4224 4244 I DOTNET : Actual: Unknown
01-22 22:08:06.019 4224 4244 I DOTNET : 2) [FAIL] System.IO.FileSystem.Tests.DriveInfoUnixTests.CanGetTempPathDriveFormat Test name: System.IO.FileSystem.Tests.DriveInfoUnixTests.CanGetTempPathDriveFormat
01-22 22:08:06.019 4224 4244 I DOTNET : Exception messages: Assert.NotEmpty() Failure: Collection was empty
Full Log
20260122.4 android_x86_Release_AllSubsets_Mono
System.IO.FileSystem.DriveInfo.Tests
View Extract
01-22 23:07:43.490  3980  4002 I DOTNET  : [FAIL] System.IO.FileSystem.Tests.DriveInfoUnixTests.PropertiesOfValidDrive
01-22 23:07:43.490 3980 4002 I DOTNET : Assert.Equal() Failure: Values differ
01-22 23:07:43.490 3980 4002 I DOTNET : Expected: Fixed
01-22 23:07:43.490 3980 4002 I DOTNET : Actual: Unknown
01-22 23:07:43.493 3980 4002 I DOTNET : [FAIL] System.IO.FileSystem.Tests.DriveInfoUnixTests.CanGetTempPathDriveFormat
01-22 23:07:43.493 3980 4002 I DOTNET : Assert.NotEmpty() Failure: Collection was empty
01-22 23:07:43.494 3980 4002 I DOTNET : Finished System.IO.FileSystem.DriveInfo.Tests, Version=11.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
01-22 23:07:43.495 3980 4002 I DOTNET : Tests run: 6, Errors: 0, Failures: 2, Skipped: 0. Time: 0.0166214s
01-22 23:07:43.495 3980 3999 I DOTNET : MonoRunner finished, return-code=1
01-22 23:07:43.539 1670 1670 I Zygote : Process 3980 exited due to signal 9 (Killed)
INSTRUMENTATION_RESULT: return-code=1
INSTRUMENTATION_CODE: 1
[23:07:47] info: Instrumentation finished normally with exit code 1
XHarness exit code: 1 (TESTS_FAILED)
Full Log
20260122.4 android_x64_Release_NativeAOT

Error Message

{
  "ErrorMessage": [
    "Assert.Equal() Failure: Values differ",
    "Expected: Fixed",
    "Actual:   Unknown"
  ],
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1263525
Error message validated: [Assert.Equal() Failure: Values differ Expected: Fixed Actual: Unknown]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 1/23/2026 3:36:10 PM UTC

Report

Build Definition Test Pull Request
1270185 dotnet/runtime System.IO.FileSystem.DriveInfo.Tests.WorkItemExecution
1269569 dotnet/runtime System.IO.FileSystem.DriveInfo.Tests.WorkItemExecution
1268695 dotnet/runtime System.IO.FileSystem.Tests.DriveInfoUnixTests.PropertiesOfValidDrive
1268014 dotnet/runtime System.IO.FileSystem.DriveInfo.Tests.WorkItemExecution
1267156 dotnet/runtime System.IO.FileSystem.DriveInfo.Tests.WorkItemExecution
1266509 dotnet/runtime System.IO.FileSystem.DriveInfo.Tests.WorkItemExecution
1266257 dotnet/runtime System.IO.FileSystem.DriveInfo.Tests.WorkItemExecution
1265954 dotnet/runtime System.IO.FileSystem.DriveInfo.Tests.WorkItemExecution
1265645 dotnet/runtime System.IO.FileSystem.Tests.DriveInfoUnixTests.PropertiesOfValidDrive
1265579 dotnet/runtime System.IO.FileSystem.DriveInfo.Tests.WorkItemExecution #123248
1264989 dotnet/runtime System.IO.FileSystem.DriveInfo.Tests.WorkItemExecution
1264235 dotnet/runtime System.IO.FileSystem.DriveInfo.Tests.WorkItemExecution
1263525 dotnet/runtime System.IO.FileSystem.DriveInfo.Tests.WorkItemExecution

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
2 13 13

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions