Skip to content

Fix error message when publishing logs in Restore internal tools step - #56307

Merged
akoeplinger merged 1 commit into
dotnet:mainfrom
akoeplinger:restore-log
Jul 26, 2021
Merged

Fix error message when publishing logs in Restore internal tools step#56307
akoeplinger merged 1 commit into
dotnet:mainfrom
akoeplinger:restore-log

Conversation

@akoeplinger

Copy link
Copy Markdown
Member

In https://dev.azure.com/dnceng/internal/_build/results?buildId=1250178&view=results we hit an issue where the 'Restore internal tools' step failed, but AzDO only highlights the failure in the 'Publish Logs' step because the directory didn't exist.

This happens because the restore step was not passing along the build configuration so it defaults to Debug instead of Release, leading to the log directory we try to publish not existing.

In https://dev.azure.com/dnceng/internal/_build/results?buildId=1250178&view=results we hit an issue where the 'Restore internal tools' step failed, but AzDO only highlights the failure in the 'Publish Logs' step because the directory didn't exist.
This happens because the restore step was not passing along the build configuration so it defaults to Debug instead of Release, leading to the log directory we try to publish not existing.
@ghost

ghost commented Jul 26, 2021

Copy link
Copy Markdown

Tagging subscribers to this area: @dotnet/runtime-infrastructure
See info in area-owners.md if you want to be subscribed.

Issue Details

In https://dev.azure.com/dnceng/internal/_build/results?buildId=1250178&view=results we hit an issue where the 'Restore internal tools' step failed, but AzDO only highlights the failure in the 'Publish Logs' step because the directory didn't exist.

This happens because the restore step was not passing along the build configuration so it defaults to Debug instead of Release, leading to the log directory we try to publish not existing.

Author: akoeplinger
Assignees: -
Labels:

area-Infrastructure

Milestone: -

@steveisok
steveisok self-requested a review July 26, 2021 15:50

@ViktorHofer ViktorHofer left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Great find 👍

@akoeplinger
akoeplinger merged commit eec3122 into dotnet:main Jul 26, 2021
@akoeplinger
akoeplinger deleted the restore-log branch July 26, 2021 17:33

@safern safern left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@ghost ghost locked as resolved and limited conversation to collaborators Aug 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants