Skip to content

Conversation

@SimaTian
Copy link
Member

One of the customers run into an issue with insufficient logging:
While I think the logging was since improved, this is my attempt to increase the granularity from a generic fail for download/upload repository interaction to a separate error for download and upload.

@ghost ghost added Area-Containers Related to dotnet SDK containers functionality untriaged Request triage from a team member labels Nov 19, 2024
@SimaTian SimaTian requested a review from surayya-MS November 19, 2024 16:04
@SimaTian
Copy link
Member Author

Previously there was already an url mentioned, so I believe this issue was already resolved before I started.
image
Note: the error is one I artificially threw to reproduce. The relevant part is the "D:\sdk\artifacts\bin\redist\Debug\dotnet\sdk\10.0.100-dev\Containers\build\Microsoft.NET.Build.Containers.targets(242,5): error CONTAINER1013: Failed to push to the output registry: " part of the original log.

That being said, the error message didn't differentiate between upload and fetch failures which I remedied:
The updated logging in case of pull failure:
image

@SimaTian SimaTian force-pushed the containers-595-url-when-connection-closed branch from 2074cbc to 4f1ab28 Compare November 26, 2024 11:52
@SimaTian SimaTian requested a review from a team as a code owner November 26, 2024 12:41
Copy link
Member

@surayya-MS surayya-MS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@SimaTian SimaTian force-pushed the containers-595-url-when-connection-closed branch from af292b4 to cc5e418 Compare January 28, 2025 08:49
@SimaTian SimaTian force-pushed the containers-595-url-when-connection-closed branch from 8609778 to a11bb4a Compare January 29, 2025 10:19
@SimaTian SimaTian merged commit 488ba70 into main Feb 10, 2025
38 checks passed
@SimaTian SimaTian deleted the containers-595-url-when-connection-closed branch February 10, 2025 14:08
surayya-MS added a commit to surayya-MS/sdk that referenced this pull request May 15, 2025
surayya-MS added a commit that referenced this pull request Jun 24, 2025
… closed" pr by #48987 "Containers - Retry on download blob"
surayya-MS added a commit that referenced this pull request Jun 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-Containers Related to dotnet SDK containers functionality untriaged Request triage from a team member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants