microsoft / azure-pipelines-agent

Azure Pipelines Agent 🚀
MIT License
1.72k stars 864 forks source link

[Question]: Azure DevOps YAML Pipelines are failing at default checkout task #4902

Closed PhanindraReddyP closed 1 month ago

PhanindraReddyP commented 1 month ago

Describe your question

Azure Pipelines are failing at default checkout task in all the agents in one of our self hosted agent machines with error "fatal: Cannot prompt because terminal prompts have been disabled."

Versions

Version Dev19.M233.1 (AzureDevOps_M233_20240212.1)

Environment type (Please select at least one enviroment where you face this issue)

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Operation system

Windows

Version controll system

GIT

Azure DevOps Server Version (if applicable)

No response

vmapetr commented 1 month ago

Hi @PhanindraReddyP, thank you for your question! Could you please run the pipeline with the enabled debug logs (https://learn.microsoft.com/en-us/azure/devops/pipelines/troubleshooting/review-logs?view=azure-devops&tabs=windows-agent#configure-verbose-logs) to provide more information about the issue?

vmapetr commented 1 month ago

@PhanindraReddyP could you please mentioned logs?

vmapetr commented 1 month ago

Hi @PhanindraReddyP closing this one as external - feel free to ask any other questions or let us know if it's still relevant for you.