azd deploy fails part way through deployment in Azure DevOps pipeline, client assertion not in valid time range #3679
Labels
aspire
bug
Something isn't working
customer-reported
identify a customer issue
issue-addressed
pipelines
question
upstream deps
Output from
azd version
azd version 1.8.0 (commit 8246323)
Describe the bug
My CI/CD pipeline has been working, but recently this week has started failing ~80% of the time about 20m into the deployment.
My app is .NET Aspire and deploys two containers, an API and web, much like the starter template in visual studio 2022. The blazor web project takes a while to build, largely due to AOT I think.
The pipeline is setup much like the documentation specifies, with a build step to use az cli auth. It's failing during the Azure CLI deploy application step (that runs the inline script 'azd deploy --no-prompt'.
It deploys the API container fine, but now often fails on the longer build web project, this is what I see in the output on Azure DevOps:
To Reproduce
Not sure exactly what you could try, you need an aspire application structured like the starter template, that takes a while to build, with AOT compilation enabled (I have WasmStripILAfterAOT as false as it seems to cause issues).
Then setup a CI/CD pipeline and see if you get similar results on multiple build/releases.
Expected behavior
CI/CD pipeline builds and deploys successfully.
Environment
Information on your environment:
* .NET 8 Aspire preview 4
* Visual Studio 2022 Preview, Azure DevOps
Additional context
Only started recently in the last week or so.
The text was updated successfully, but these errors were encountered: