Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure DevOps Pipelines "Waiting for console output from an agent..."

I require something from the output of a running release task in order for it to complete (an authenticate code). But the console is now not updating. All I get is "Waiting for console output from an agent..."

enter image description here

This happens on both our self-hosted agents (Linux or Windows) and on the Hosted Ubuntu 1604 agent.

The step in question is the standard Kubernetes task: https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks/KubernetesV1

This was not always happening.

like image 983
Dave New Avatar asked Jan 02 '19 09:01

Dave New


People also ask

How do you trigger release pipeline in Azure DevOps?

Select trigger: Set the trigger that will start the deployment to this stage automatically. Select "Release" to deploy to the stage every time a new release is created. Use the "Stage" option to deploy after deployments to selected stages are successful. To allow only manual deployments, select "Manual".


1 Answers

To rule out the possibility of kubectl awaiting console input (as has been discussed above), you could try

kubectl apply --dry-run=client [other args]

or

kubectl apply --dry-run=server [other args]

This could give you guidance as to how to proceed, perhaps with --force or --overwrite flags if needed.

like image 63
WaitingForGuacamole Avatar answered Sep 20 '22 06:09

WaitingForGuacamole