Azure / Azure/azure-functions-core-tools
Reenable Start_Dotnet_WithUserSecrets_SuccessfulFunctionExecution - dotnet-isolated
- Dominant language
- C#
- Stars
- 1.5k
- Forks
- 498
- Avg merge
- 4d 20h
- Merged PRs (30d)
- 14
Description
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
Contributor guide
Research direction
Start by locating and running Start_Dotnet_WithUserSecrets_SuccessfulFunctionExecution for the dotnet-isolated runtime in the Windows test environment. Compare its current platform with the win x64 configuration; done means the test is reenabled and completes successfully without the x86 dotnet hostpolicy.dll failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- cli, testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100