Skip to content

[wasm] Tests failing with DirectoryNotFoundException trying to load test data #128293

@elinor-fung

Description

@elinor-fung

A whole bunch of different tests appear to be failing trying to load test data:

21:07:30] info: [FAIL] MonoTests.System.Data.DataTableExtensionsTest.AsEnumerable
[21:07:30] info: System.IO.DirectoryNotFoundException : Could not find a part of the path '/Mono/testdataset1.xml'.
[21:07:30] info:    at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
[21:07:30] info:    at Interop.CheckIo(Error error, String path, Boolean isDirError)
[21:07:30] info:    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException)
[21:07:31] info:    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, UnixFileMode openPermissions, Int64& fileLength, UnixFileMode& filePermissions, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException)
[21:07:31] info:    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode, Func`4 createOpenException)
[21:07:31] info:    at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
[21:07:31] info:    at System.IO.Strategies.UnixFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
[21:07:31] info:    at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
[21:07:31] info:    at System.IO.Strategies.FileStreamHelpers.ChooseStrategy(FileStream fileStream, String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
[21:07:31] info:    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize)
[21:07:31] info:    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
[21:07:31] info:    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync)
[21:07:31] info:    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
[21:07:31] info:    at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials, IWebProxy proxy)
[21:07:31] info:    at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)
[21:07:31] info:    at System.Xml.XmlTextReaderImpl.OpenUrl()
[21:07:31] info:    at System.Xml.XmlTextReaderImpl.Read()
[21:07:31] info:    at System.Xml.XmlTextReader.Read()
[21:07:31] info:    at System.Xml.XmlReader.MoveToContent()
[21:07:31] info:    at System.Data.DataSet.ReadXml(XmlReader reader, Boolean denyResolving)
[21:07:31] info:    at System.Data.DataSet.ReadXml(String fileName)
[21:07:31] info:    at MonoTests.System.Data.DataTableExtensionsTest.AsEnumerable()
[21:07:31] info:    at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
[21:07:31] info:    at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
[21:07:31] info:    at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
[21:07:31] info:    at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=1423495
Build error leg or test failing: MonoTests.System.Data.DataTableExtensionsTest.AsEnumerable
Pull request: #128243

Error Message

DO NOT USE JSON BELOW IF THIS IS A BUILD BREAK otherwise build analysis will allow pull requests to merge that break the build worse. For a build break, do not use this issue form. Make a regular new issue.

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": ["System.IO.DirectoryNotFoundException : Could not find a part of the path '/Mono/testdataset1.xml'"],
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1423495
Error message validated: [System.IO.DirectoryNotFoundException : Could not find a part of the path '/Mono/testdataset1.xml']
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 5/17/2026 2:26:40 AM UTC

Report

Build Definition Test Pull Request
1425411 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128337
1425331 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-15.WorkItemExecution #128318
1425321 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution
1425312 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128271
1425304 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128269
1423495 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128243
1425294 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-15.WorkItemExecution #128272
1425233 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128001
1425201 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128179
1425182 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128116
1425168 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #126226
1425148 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #122090
1422456 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-15.WorkItemExecution #128232
1425145 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128058
1425122 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128333
1425103 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128285
1422677 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #127536
1423454 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128278
1425073 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128303
1425062 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128245
1425070 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #127475
1425010 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128323
1424933 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128307
1424907 dotnet/runtime MonoTests.System.Data.DataTableExtensionsTest.AsEnumerable #127749
1424891 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128328
1424888 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128320
1424865 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #124770
1424868 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128149
1424847 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128068
1424824 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128327
1424802 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128326
1424748 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #125024
1424777 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128284
1424773 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128217
1424763 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128261
1424743 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128325
1424727 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128319
1424656 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128318
1424664 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128323
1424645 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-14.WorkItemExecution #128252
1424636 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #125729
1424618 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128320
1424615 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #126646
1424602 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128271
1424591 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #127520
1424562 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128315
1424569 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128250
1424525 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128317
1424492 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128316
1424427 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #126646
1424432 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #127838
1424387 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128315
1424364 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128024
1424353 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128296
1424298 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128049
1424352 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution
1424333 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128250
1424326 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #127690
1424321 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #126947
1424315 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128074
1424291 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128138
1424280 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128188
1424302 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128257
1424289 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128068
1424284 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128135
1424268 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128313
1424240 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128307
1424138 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #127133
1424085 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128307
1423971 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128304
1424035 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128309
1424021 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #126569
1423976 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128214
1423955 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128306
1423933 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution
1423886 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128296
1423870 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128303
1423443 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128271
1422469 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #127970
1423831 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #122056
1423811 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128300
1423798 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128270
1423803 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128301
1423776 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128200
1423729 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #127958
1423673 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution
1423679 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128296
1423654 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128279
1423646 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128295
1423632 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128001
1423640 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128294
1423634 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #122056
1423536 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128269
1423529 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128238
1423507 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #127932
1423397 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128242
1422963 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-19.WorkItemExecution #128222

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
73 97 97

Metadata

Metadata

Labels

Known Build ErrorUse this to report build issues in the .NET Helix tabarch-wasmWebAssembly architecturearea-System.Datablocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'untriagedNew issue has not been triaged by the area owner

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions