Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[7.0] Globalization IcuAppLocalTests .TestIcuAppLocal test failure #88742

Closed
carlossanlop opened this issue Jul 12, 2023 · 9 comments
Closed
Labels
area-VM-meta-mono blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab runtime-mono specific to the Mono runtime
Milestone

Comments

@carlossanlop
Copy link
Member

carlossanlop commented Jul 12, 2023

Error Blob

{
  "ErrorMessage": "Failed to load app-local ICU",
  "BuildRetry": false,
  "ErrorPattern": "",
  "ExcludeConsoleLog": false
}

Reproduction Steps

I only found this failure in a mono runtime config.

C:\h\w\9E650856\w\AF0A095B\e>"C:\h\w\9E650856\p\dotnet.exe" exec --runtimeconfig IcuAppLocal.Tests.runtimeconfig.json --depsfile IcuAppLocal.Tests.deps.json xunit.console.dll IcuAppLocal.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing  
  Discovering: IcuAppLocal.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  IcuAppLocal.Tests (found 1 test case)
  Starting:    IcuAppLocal.Tests (parallel test collections = on, max threads = 2)
Process terminated.
Failed to load app-local ICU: icuuc68.2.0.9.dll
    System.Globalization.Tests.IcuAppLocalTests.TestIcuAppLocal [FAIL]
      Exit code was -1073740791 but it should have been 42
      Expected: True
      Actual:   False
      Stack Trace:
        /_/src/Microsoft.DotNet.RemoteExecutor/src/RemoteInvokeHandle.cs(239,0): at Microsoft.DotNet.RemoteExecutor.RemoteInvokeHandle.Dispose(Boolean disposing)
        /_/src/Microsoft.DotNet.RemoteExecutor/src/RemoteInvokeHandle.cs(57,0): at Microsoft.DotNet.RemoteExecutor.RemoteInvokeHandle.Dispose()
        /_/src/libraries/System.Globalization/tests/IcuAppLocal/IcuAppLocal.cs(32,0): at System.Globalization.Tests.IcuAppLocalTests.TestIcuAppLocal()
        /_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodInvoker.Mono.cs(33,0): at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
  Finished:    IcuAppLocal.Tests
=== TEST EXECUTION SUMMARY ===
   IcuAppLocal.Tests  Total: 1, Errors: 0, Failed: 1, Skipped: 0, Time: 7.563s
----- end Wed 07/12/2023  3:56:03.52 ----- exit code 1 ----------------------------------------------------------

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=336356
Error message validated: Failed to load app-local ICU
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 7/12/2023 11:54:50 PM UTC

Report

Build Definition Test Pull Request
681837 dotnet/runtime System.Globalization.Tests.IcuAppLocalTests.TestIcuAppLocal
679420 dotnet/runtime System.Globalization.Tests.IcuAppLocalTests.TestIcuAppLocal
678355 dotnet/runtime System.Globalization.Tests.IcuAppLocalTests.TestIcuAppLocal
659984 dotnet/runtime System.Globalization.Tests.IcuAppLocalTests.TestIcuAppLocal

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 1 4
@carlossanlop carlossanlop added area-System.Globalization blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' untriaged New issue has not been triaged by the area owner runtime-mono specific to the Mono runtime Known Build Error Use this to report build issues in the .NET Helix tab labels Jul 12, 2023
@carlossanlop carlossanlop added this to the 7.0.x milestone Jul 12, 2023
@ghost
Copy link

ghost commented Jul 12, 2023

Tagging subscribers to this area: @dotnet/area-system-globalization
See info in area-owners.md if you want to be subscribed.

Issue Details

Error Blob

{
  "ErrorMessage": "Failed to load app-local ICU: icuuc68.2.0.9.dll",
  "BuildRetry": false,
  "ErrorPattern": "",
  "ExcludeConsoleLog": true
}

Reproduction Steps

I only found this failure in a mono runtime config.

C:\h\w\9E650856\w\AF0A095B\e>"C:\h\w\9E650856\p\dotnet.exe" exec --runtimeconfig IcuAppLocal.Tests.runtimeconfig.json --depsfile IcuAppLocal.Tests.deps.json xunit.console.dll IcuAppLocal.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing  
  Discovering: IcuAppLocal.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  IcuAppLocal.Tests (found 1 test case)
  Starting:    IcuAppLocal.Tests (parallel test collections = on, max threads = 2)
Process terminated.
Failed to load app-local ICU: icuuc68.2.0.9.dll
    System.Globalization.Tests.IcuAppLocalTests.TestIcuAppLocal [FAIL]
      Exit code was -1073740791 but it should have been 42
      Expected: True
      Actual:   False
      Stack Trace:
        /_/src/Microsoft.DotNet.RemoteExecutor/src/RemoteInvokeHandle.cs(239,0): at Microsoft.DotNet.RemoteExecutor.RemoteInvokeHandle.Dispose(Boolean disposing)
        /_/src/Microsoft.DotNet.RemoteExecutor/src/RemoteInvokeHandle.cs(57,0): at Microsoft.DotNet.RemoteExecutor.RemoteInvokeHandle.Dispose()
        /_/src/libraries/System.Globalization/tests/IcuAppLocal/IcuAppLocal.cs(32,0): at System.Globalization.Tests.IcuAppLocalTests.TestIcuAppLocal()
        /_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodInvoker.Mono.cs(33,0): at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
  Finished:    IcuAppLocal.Tests
=== TEST EXECUTION SUMMARY ===
   IcuAppLocal.Tests  Total: 1, Errors: 0, Failed: 1, Skipped: 0, Time: 7.563s
----- end Wed 07/12/2023  3:56:03.52 ----- exit code 1 ----------------------------------------------------------
Author: carlossanlop
Assignees: -
Labels:

area-System.Globalization, blocking-clean-ci, untriaged, runtime-mono, Known Build Error

Milestone: 7.0.x

@ghost ghost removed the untriaged New issue has not been triaged by the area owner label Jul 12, 2023
@carlossanlop carlossanlop added Known Build Error Use this to report build issues in the .NET Helix tab and removed Known Build Error Use this to report build issues in the .NET Helix tab labels Jul 12, 2023
@carlossanlop
Copy link
Member Author

I'm having trouble getting the Known Build Error feature to capture the hits. But I linked the run and log file where I found the hit. Tagging @tarekgh since there was a recent globalization servicing change and it might be related to this failure.

@tarekgh
Copy link
Member

tarekgh commented Jul 12, 2023

@carlossanlop I'll look. Do you have a pointer to the linked failures that are not mentioned here? I just want to see if all failures are on Windows-2012ServerR2-6.3.9600-SP0

@carlossanlop
Copy link
Member Author

According to the run: https://dev.azure.com/dnceng-public/public/_build/results?buildId=336356&view=logs&j=585f1246-0618-5d47-ff3e-08c83309e2d2&t=5e10daf8-cc46-5bd4-2ab7-d28eafd857b5

These are the queues being used: Windows.81.Amd64.Open+Windows.Amd64.Server2022.Open+Windows.11.Amd64.Client.Open

@tarekgh
Copy link
Member

tarekgh commented Jul 14, 2023

@marek-safar could you get someone from Mono side to look at as this is a mono specific issue.

@akoeplinger

@tarekgh
Copy link
Member

tarekgh commented Jul 17, 2023

The Mono runtime failed to load the ICU native library. Looks NativeLibrary.TryLoad is failing on Mono.

icuucLib = LoadLibrary(CreateLibraryName(icuucBase, suffix, extension, version), failOnLoadFailure: true);

So far, I am seeing it on Windows only with Mono runtime.

@tarekgh tarekgh added area-VM-meta-mono untriaged New issue has not been triaged by the area owner and removed area-System.Globalization labels Jul 17, 2023
@marek-safar marek-safar removed the untriaged New issue has not been triaged by the area owner label Jul 24, 2023
@carlossanlop
Copy link
Member Author

New hit:

===========================================================================================================

C:\h\w\B00D09D5\w\A667089E\e>"C:\h\w\B00D09D5\p\dotnet.exe" exec --runtimeconfig IcuAppLocal.Tests.runtimeconfig.json --depsfile IcuAppLocal.Tests.deps.json xunit.console.dll IcuAppLocal.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing  
  Discovering: IcuAppLocal.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  IcuAppLocal.Tests (found 1 test case)
  Starting:    IcuAppLocal.Tests (parallel test collections = on, max threads = 2)
Process terminated.
Failed to load app-local ICU: icuuc68.2.0.9.dll
    System.Globalization.Tests.IcuAppLocalTests.TestIcuAppLocal [FAIL]
      Exit code was -1073740791 but it should have been 42
      Expected: True
      Actual:   False
      Stack Trace:
        /_/src/Microsoft.DotNet.RemoteExecutor/src/RemoteInvokeHandle.cs(239,0): at Microsoft.DotNet.RemoteExecutor.RemoteInvokeHandle.Dispose(Boolean disposing)
        /_/src/Microsoft.DotNet.RemoteExecutor/src/RemoteInvokeHandle.cs(57,0): at Microsoft.DotNet.RemoteExecutor.RemoteInvokeHandle.Dispose()
        /_/src/libraries/System.Globalization/tests/IcuAppLocal/IcuAppLocal.cs(32,0): at System.Globalization.Tests.IcuAppLocalTests.TestIcuAppLocal()
        /_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodInvoker.Mono.cs(33,0): at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
  Finished:    IcuAppLocal.Tests
=== TEST EXECUTION SUMMARY ===
   IcuAppLocal.Tests  Total: 1, Errors: 0, Failed: 1, Skipped: 0, Time: 29.869s
----- end Tue 09/19/2023 18:21:30.71 ----- exit code 1 ----------------------------------------------------------
2023-09-19T18:21:31.336Z	INFO   	run.py	run(48)	main	Beginning reading of test results.
2023-09-19T18:21:31.336Z	INFO   	run.py	__init__(42)	read_results	Searching 'C:\h\w\B00D09D5\w\A667089E\e' for test results files
2023-09-19T18:21:31.336Z	INFO   	run.py	__init__(48)	read_results	Found results file C:\h\w\B00D09D5\w\A667089E\e\testResults.xml with format xunit
2023-09-19T18:21:31.336Z	INFO   	run.py	__init__(42)	read_results	Searching 'C:\h\w\B00D09D5\w\A667089E\uploads' for test results files
2023-09-19T18:21:31.336Z	INFO   	run.py	packing_test_reporter(30)	report_results	Packing 1 test reports to 'C:\h\w\B00D09D5\w\A667089E\e\__test_report.json'
2023-09-19T18:21:31.336Z	INFO   	run.py	packing_test_reporter(33)	report_results	Packed 2641 bytes
['IcuAppLocal.Tests' END OF WORK ITEM LOG: Command exited with 0]

@build-analysis build-analysis bot removed this from the 7.0.x milestone Nov 15, 2023
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Nov 15, 2023
@akoeplinger akoeplinger added this to the 7.0.x milestone Nov 24, 2023
@ghost ghost removed the untriaged New issue has not been triaged by the area owner label Nov 24, 2023
@vitek-karas
Copy link
Member

@steveisok - this is on Windows which is weird. Not sure who "owns" this. Also it's 7.0, so maybe we should close it if it's nowhere else.

@akoeplinger
Copy link
Member

Build Analysis says this only happened on release/7.0 which isn't a thing anymore, closing.

@github-actions github-actions bot locked and limited conversation to collaborators Jun 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-VM-meta-mono blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab runtime-mono specific to the Mono runtime
Projects
None yet
Development

No branches or pull requests

5 participants