Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release Pipeline pulling DownloadBuildArtifact Task v1.188.0 | Failing #14902

Closed
codytipton-hpg opened this issue May 27, 2021 · 5 comments
Closed
Assignees
Labels
Area: ABTT Akvelon Build Tasks Team area of work question task: DownloadBuildArtifacts

Comments

@codytipton-hpg
Copy link

codytipton-hpg commented May 27, 2021

Question, Bug, or Feature?
Type: Question, potentially bug

Enter Task Name: DownloadBuildArtifact

Environment

Azure Pipelines

Issue Description

image

Our release pipelines began failing today and the logs are marked by a new version of the download build artifact task, specifically v1.188.0. Prior to today we were pulling, most recently, v0.186.3 and deploying successfully.

I'm not sure how we're picking up this version on the backend, since the task version is not configurable for Release pipelines, at least as far as I can see.

Task logs

I'm unsure how to enable debug logging for Release pipelines.

Other observations

I noticed this Open PR #14560 defining a version 1.188.0 and suspect it may be relevant, though I'm unsure how we're pulling this (or similarly versioned) task.

@anatolybolshakov
Copy link
Contributor

Hi @codytipton-hpg I can't reproduce it at the moment using yaml and release pipelines - do you still see this issue?

@anatolybolshakov anatolybolshakov self-assigned this May 28, 2021
@anatolybolshakov anatolybolshakov added Area: ABTT Akvelon Build Tasks Team area of work task: DownloadBuildArtifacts and removed Area: Release bug labels May 28, 2021
@codytipton-hpg
Copy link
Author

codytipton-hpg commented May 28, 2021

Hi @anatolybolshakov,

Yes, we are still facing the issue. I also updated the target agents (2.177.1).

When you test, is your DownloadBuildArtifacts Task for the release pulling version 1.188.0 as well?

As a note, for the associated builds producing the artifacts, we're using PublishBuildArtifacts Task v1

@codytipton-hpg
Copy link
Author

@anatolybolshakov

Update: I found a workaround by using the PublishPipelineArtifact Task in my builds. Releases will thus use the DownloadPipelineArtifact task over the DownloadBuildArtifact Task, avoiding the issue.

Looking at this issue comment I see that the task is intended to replace PublishBuildArtifacts anyway, so I will begin opening PR's to update the publish step. Still, this does seem like breakage of functionality. I'll defer to you for whether or not the issue should remain open.

@alex-peck
Copy link
Contributor

This is caused by an out of date agent. When the new task is used, it should request your agents to automatically update. Is your system configured to block agent updates?

@codytipton-hpg
Copy link
Author

This is caused by an out of date agent. When the new task is used, it should request your agents to automatically update. Is your system configured to block agent updates?

At the time of the issue, updating the agent on both build server and the deployment target did not resolve. Though I'm prepared to believe a later agent update resolves this issue, we've moved to PublishPipelineArtifact tasks and don't have a need to revert and retest PublishBuildArtifacts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: ABTT Akvelon Build Tasks Team area of work question task: DownloadBuildArtifacts
Projects
None yet
Development

No branches or pull requests

5 participants