Closed radical closed 2 months ago
It looks like latest
in
got updated and the docker image we are pointing to no longer has a /app
directory. Which means when the command is trying to write a file to /app/static
the directory doesn't exist and an error occurs.
I'm not sure what the old version of mcr.microsoft.com/k8se/quickstart
looked like. From what I could tell, the latest
version is located at https://github.com/microsoft/k4apps/tree/main/samples/apps/quickstart (maybe?). At least when I pulled the current mcr.microsoft.com/k8se/quickstart:latest
, that's what app it looked like got pulled.
We are disabling these tests for now until a correct fix can be made for them. cc @mitchdenny
Fixed by https://github.com/dotnet/aspire/pull/4832 .
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=734641&view=ms.vss-test-web.build-test-results-tab
Failed Aspire.Hosting.Containers.Tests.WithDockerfileTests.AddDockerfileLaunchesContainerSuccessfully [3 m 1 s]
with:The dcp error in the log expands to:
/app
path does not exist, and that's whereRUN echo afa782d8-cc52-4c3d-8bee-79861e3aa4ea > /app/static/cachebuster.txt
fails.Aspire.Hosting.Containers.Tests.WithDockerfileTests.AddDockerfileLaunchesContainerSuccessfully
, andAspire.Hosting.Containers.Tests.WithDockerfileTests.WithDockerfileWithParameterLaunchesContainerSuccessfully
also fails the same way.cc @mitchdenny @eerhardt @karolz-ms
Error Message
Fill the error message using step by step known issues guidance.
Known issue validation
Build: :mag_right: https://dev.azure.com/dnceng-public/public/_build/results?buildId=734641 Error message validated:
[/bin/sh: line 1: /app/static/cachebuster.txt: No such file or directory
] Result validation: :x: Known issue did not match with the provided build. Validation performed at: 7/9/2024 9:48:59 PM UTCReport
Summary