Open
Description
I am trying to contribute to this repository but am encountering issues while running the tests.
Could you please provide some guidance?
Specifically, five tests are consistently failing due to the following error:
Failed to locate the inproc6 model host at C:~path to repo~\azure-functions-core-tools\test\Azure.Functions.Cli.Tests\bin\Debug\net8.0\in-proc6\func.exe
I tried to debug the start process, it appears that the tool expects the InProc Executable directory to be present in the build directory, but it is not.
Azurite installed, templates are in place, I followed all the contribution guidelines
I am uncertain whether this issue is related to my local machine environment or another factor.
Activity
saadalia commentedon Jan 29, 2025
Hello @liliankasem, @aishwaryabh, @kshyju
It seems we are using a specialized version of the core tools to run inproc-6 and inproc-8.
However, it's unclear how to include them in the debug folder.
The Azure Functions Artifact Assembler README states that these folders should be located under bin/debug/net8.0.
However, it is not clear which namespace is responsible for them. I checked the following but couldn't find them:
I also attempted to run the build console application using build.ps to generate artifacts, but they were not found in the artifacts folder.
Any guidance would be helpful.
aishwaryabh commentedon Jan 29, 2025
@saadalia the inproc6 and inproc8 artifacts should be placed under
azure-functions-core-tools\test\Azure.Functions.Cli.Tests\bin\Debug\net8.0
. The inproc artifacts are generated from a feature branch calledin-proc
. The ArtifactAssembler takes all the artifacts and consolidates them together into one package.Are you specifically making changes to inproc? If not, you could just copy and paste the latest inproc6 and inproc8 artifact folders from the latest release and move that into
azure-functions-core-tools\test\Azure.Functions.Cli.Tests\bin\Debug\net8.0
. That would allow the tests to run