-
Notifications
You must be signed in to change notification settings - Fork 440
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
Integration tests failed with exception "The Functions Host Runtime did not start properly after 180 seconds" #4190
Comments
@aishwaryabh could this be related to the other ADO issue you were looking at? #4156 (comment) |
@liliankasem , thank you for reference. Btw, I just verified with the latest release version 4.0.6610, unfortunately it looks the same issue. |
We have same issue, integration tests fail as
It seems that func start now requires the following as part of local.setting.json |
We have the exact the same issue here where integration tests will fail with runtime not being able to start with the timeout. Both in 4.0.6594 and 4.0.6610. Running 4.0.6543 resolves this. Any news on this issue? |
It looks like there was a regression where environment variables were no longer being checked, this has been fixed in this PR. We're working on a hotfix to get this released asap. |
Hot fix is out (v4.6821) - closing this issue. If you are still experiencing the issue, please open a new ticket for us to triage and investigate, thanks! |
Version
Dotnet Version: 8.0.403/8.0.404
Azure Function Core Tools Version: 4.0.6594
Description
Hit below exception in Onebranch pipeline, we don't meet this error before, and reverting to version 4.0.6543 seems mitigate the issue:
[xUnit.net 00:03:02.80] Learn.VectorSearch.API.IntegrationTests.RelevanceApiTest.TestGetRelevantItemByText(category: QnA, input: "What is the best programming language", count: 0, expectedItemId: "", score: "") [FAIL]
Failed Learn.VectorSearch.API.IntegrationTests.ItemSpecApiTest.TestGetItemSpecByItemId_NotExistingItem(category: QnA, contentId: "invalidId") [1 ms]
Error Message:
System.Exception : The Functions Host Runtime did not start properly after 180 seconds.
Stack Trace:
at Microsoft.Learn.AzureFunctionsTesting.FunctionFixture
1.InitializeAsync() at Microsoft.Docs.FunctionsIntegrationTesting.DocsFunctionFixture
1.InitializeAsync()Steps to reproduce
The text was updated successfully, but these errors were encountered: