Closed v-jiaodi closed 2 years ago
@jongio @madebygps did we make any changes to other templates as part of #551? any changes in your PR could cause this?
Yes, I will investigate.
@jongio We do the manual test about template (todo-python-mongo
), also encountered the same error when Azure Dev Deploy finished. It is a probabilistic error.
Error:
Environment:
OS: Windows desktop
Templates:
https://github.com/Azure-Samples/todo-python-mongo
Branch: pr/892
Azd version: azd version 0.3.0-beta.3-daily.1921004 (commit e52ea013fede3560b90f4cf9d0a8e6d6ceac376a)
Please try again with main. If it fails, please leave it in failed state and provide me and @weikanglim with a link to the env.
@jongio - We have tried again with main, it is still unstable. When we execute the command bash ./test-templates.sh -c false -t todo-python-mongo -l eastus2
, the playwright test failed. At this point, when we click the api site, it reported Application Error
. After a period of time, the api service can be deployed successfully, and the error will not occur again when playwright test
is executed again.
In summary, the error was caused by the api service
is not deployed successfully yet, the playwright test is run first.
Can you try with a different region and see if you get the same error?
@jongio - We have tried with region East US
, and get the same error. This time it was due to a failed deployment, you can reach from this link.
Template: https://github.com/Azure-Samples/todo-python-mongo
Branch: main
azd version: 0.3.0-beta.3-daily.1937328 (commit d18003a6799b545e4050544f9fa05f1eaedb0948)
The detector was extremely helpful. I found the following errors related to the docker container crashing:
File "<frozen importlib._bootstrap>", line 973, in _find_and_load_unlocked
2022-10-24T03:24:54.032196245Z ModuleNotFoundError:
No module named 'uvicorn'2022-10-24T03:24:54.032199945Z ]
What do you mean by the detector?
Could be related: https://github.com/Azure/azure-dev/issues/932
Not seeing these template failures in the pipelines. Might be a temporary region issue. Reopen if you see again.
@rajeshkamal5050, @jongio - In today's test, the issue persists and occurs at a high rate.
OS: Windows desktop.
azd version: azd version 0.3.0-beta.6-pr.1947898 (commit a7b9ee6038c4ecbe8ddda4c0ba1acbd2ec208fc8)
branch: pr/996
templates:
https://github.com/azure-samples/todo-python-mongo
https://github.com/azure-samples/todo-csharp-cosmos-sql
https://github.com/Azure-Samples/todo-csharp-sql
https://github.com/Azure-Samples/todo-java-mongo
https://github.com/azure-samples/todo-nodejs-mongo
The latest error:
Fixed with #996
Describe the issue: Server error when Azure Dev Deploy finished.
Repro Steps: Run command:
bash ./test-templates.sh -c false -t <template_name> -b pr/551
.Error Message:
Through investigation, we found that it was caused by API service exception
Environment: OS: Windows desktop, Linux Desktop, WSL ,Mac ,Codesapce and DevContainer. Templates: https://github.com/Azure-Samples/todo-nodejs-mongo-swa-func https://github.com/Azure-Samples/todo-python-mongo-swa-func Branch: pr/551
Expected behavior: The api server is normal, and e2e test is pass.
@jongio for notification.