Repository navigation
[ci-scan] Test failure: System.Globalization.Tests.IdnMappingGetUnicodeTests DllNotFoundException 'libSystem.Globalization.Native' on browser-wasm CoreCLR #130479
Description
Activity
- addedblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'Known Build ErrorUse this to report build issues in the .NET Helix tabUse this to report build issues in the .NET Helix tab
on Jul 10, 2026 - addeduntriagedNew issue has not been triaged by the area ownerNew issue has not been triaged by the area owner
on Jul 10, 2026 dotnet-policy-service commented
on Jul 10, 2026 ContributorMore actionsTagging subscribers to this area: @dotnet/area-system-globalization
See info in area-owners.md if you want to be subscribed.- removeduntriagedNew issue has not been triaged by the area ownerNew issue has not been triaged by the area owner
on Jul 10, 2026 I'm a bot. Here is a possible related and/or duplicate issue (I may be wrong):
dotnet-policy-service commented
on Jul 10, 2026 ContributorMore actionsTagging subscribers to 'arch-wasm': @lewing, @pavelsavara
See info in area-owners.md if you want to be subscribed.github-actions commented
on Jul 10, 2026 on Jul 10, 2026 – with GitHub ActionsContributorMore actionsCaution
agentic threat detected
Threat detection flagged this output in warn mode. Manual review is REQUIRED before any follow-up automation.Workflow artifact: ci-fix
Artifact kind: handoff
Linked KBE: #130479Note
AI/Copilot-generated root-cause hand-off (
ci-failure-fix). No automated code change was produced: the failure is a browser-wasm CoreCLR build/link configuration gap, and the only in-bounds test-side option would be to exclude/skip the globalization tests on that leg (muting), which this workflow must not do. Looping in owners to fix forward.Root cause (read-only analysis)
On the new browser-wasm CoreCLR library-test leg,
System.Globalizationtests fail because the ICU shim native library cannot be loaded:System.DllNotFoundException: Unable to load shared library 'libSystem.Globalization.Native' ...Every
Interop.Globalization.*P/Invoke throwsDllNotFoundExceptionbecause dynamic native linking is not enabled in the CoreCLR-on-WASM single-threaded test host, solibSystem.Globalization.Nativeis never resolvable at runtime. This is not a test defect and not a globalization-library bug — the managed interop is correct; the failure is that the browser-wasm CoreCLR test configuration does not make the globalization native shim available (it is neither statically linked into the runtime nor dlopen-able because dynamic linking is disabled on that leg).Both conceivable changes are out of scope for this workflow:
- Excluding or skipping the globalization tests on the browser-wasm CoreCLR leg would mute them — not allowed here.
- Statically linking (or otherwise enabling loading of)
System.Globalization.Nativeinto the browser-wasm CoreCLR test host is a runtime/build configuration change well outside small-fix bounds, and cannot be built/validated in this environment.
Whether this leg should statically link the globalization shim, enable dynamic linking, or run with invariant globalization is a maintainer judgement, so I am handing off rather than editing build config blindly.
Evidence
- Failing leg: browser-wasm CoreCLR
System.Globalization/System.Globalization.Extensionstest assembly (per the KBEBuild error leg or test failing:line). - Error signature:
DllNotFoundExceptionloadinglibSystem.Globalization.Native(dynamic linking disabled on this leg). - This browser-wasm CoreCLR path was being enabled around [mobile] Disable NativeAOT-specific test failures on Apple mobile #130168 (referenced by the KBE).
- Possible related history: [wasm] Missing support for building native libraries as part of tests #64127 (globalization native availability under wasm), surfaced as a possible duplicate by MihuBot on this issue.
Suggested reviewers / area contacts
arch-wasm(browser-wasm CoreCLR build/link config):@lewing- Area owners (
area-System.Globalization):@dotnet/area-system-globalization
Please verify before acting; the native-link decision for the browser-wasm CoreCLR test host is the key call here.
Generated by CI Outer-Loop Failure Fixer · 301.9 AIC · ⊞ 18K · ◷
- marked [wasm] Unable to load shared library 'libSystem.Globalization.Native' or one of its dependencie #130486 as a duplicate of this issue
on Jul 10, 2026 - added a commit that references this issue
on Jul 11, 2026 - added a commit that references this issue
on Jul 15, 2026 This should be fixed by #130543
- locked and limited conversation to collaborators
on Sep 14, 2026
Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1502921
Build error leg or test failing: browser-wasm linux Release LibraryTestsCoreCLR - WasmTestOnChrome-CLR-ST-Batch-4 - System.Globalization.Extensions.Tests
Pull request: #130168
Error Details
On the browser-wasm CoreCLR library test leg (
WasmTestOnChrome-CLR-ST), the wholeSystem.Globalization.Extensions.Testswork item fails becauselibSystem.Globalization.Nativecannot be loaded. The build has dynamic linking disabled, so everyInterop.Globalization.*P/Invoke throwsSystem.DllNotFoundException. All 156 failing cases areSystem.Globalization.Tests.IdnMappingGetUnicodeTests(plusIdnMappingIdnaConformanceTests) and share the same stack throughInterop.Globalization.ToUnicode.Error Message
{ "ErrorMessage": [ "Unable to load shared library 'libSystem.Globalization.Native'", "dynamic linking not enabled" ], "ErrorPattern": "", "BuildRetry": false, "ExcludeConsoleLog": true }Failure details:
System.DllNotFoundException : Unable to load shared library 'libSystem.Globalization.Native'followed bydynamic linking not enabled.System.Globalization.Tests.IdnMappingGetUnicodeTestsandSystem.Globalization.Tests.IdnMappingIdnaConformanceTests.grep -Fcagainst the work itemwasm-console.log: 1133 hits for each element, 0 hits on[PASS]/[SKIP]lines.Affected legs:
runtime/ browser-wasm linux Release LibraryTestsCoreCLR, work itemWasmTestOnChrome-CLR-ST-Batch-4.(Ubuntu.2604.Amd64.Open)with theubuntu-26.04-helix-webassembly-amd64image.Console Log:
Known issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1502921
Error message validated:
[Unable to load shared library 'libSystem.Globalization.Native' dynamic linking not enabled]Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 7/10/2026 11:41:39 AM UTC
Report
Summary