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

Reenable Start_Dotnet_WithUserSecrets_SuccessfulFunctionExecution - dotnet-isolated #3873

Open
liliankasem opened this issue Oct 9, 2024 · 0 comments

Comments

@liliankasem
Copy link
Member

Currently this test fails because of this error:

"C:\Program Files (x86)\dotnet\dotnet.exe exited with code -2147450750 "

This is because of x86, can we change the platform the tests run on to x64?

  [xUnit.net 00:08:54.31]         stdout: Azure Functions Core Tools
  [xUnit.net 00:08:54.31]         stdout: Core Tools Version:       4.0.2362 Commit hash: N/A +596c2416fe6146326570b985171ba7577f673da0 (32-bit)
  [xUnit.net 00:08:54.31]         stdout: Function Runtime Version: 4.35.4.23179
  [xUnit.net 00:08:54.31]         stdout: 
  [xUnit.net 00:08:54.31]         stdout: [2024-10-09T18:56:47.944Z] Found C:\Users\cloudtest\AppData\Local\Temp\mn2tucdf.ney\mn2tucdf_ney.csproj. Using for user secrets file configuration.
  [xUnit.net 00:08:54.31]         stdout: [2024-10-09T18:56:49.345Z] Language Worker Process exited. Pid=1832.
  [xUnit.net 00:08:54.31]         stdout: [2024-10-09T18:56:49.345Z] C:\Program Files (x86)\dotnet\dotnet.exe exited with code -2147450750 (0x80008082). Failed to load the dll from [C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App\8.0.8\hostpolicy.dll], HRESULT: 0x800700C1,An error occurred while loading required library hostpolicy.dll from [C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App\8.0.8].
  [xUnit.net 00:08:54.31]         stdout: [2024-10-09T18:56:49.354Z] Exceeded language worker restart retry count for runtime:dotnet-isolated. Shutting down and proactively recycling the Functions Host to recover

The test passes locally and when running in win x64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant