-
Notifications
You must be signed in to change notification settings - Fork 907
Description
###Immediate Fail on Agent Disconnect on Azure Devops Pipeline
While executing azure pipeline, I'm occasionally getting this error
Dec 02, 2025 5:43:05 PM io.jenkins.cli.shaded.org.glassfish.tyrus.container.jdk.client.ClientFilter processError
SEVERE: Connection error has occurred
java.io.IOException: The I/O operation has been aborted because of either a thread exit or an application request
at java.base/sun.nio.ch.Iocp.translateErrorToIOException(Iocp.java:299)
at java.base/sun.nio.ch.Iocp$EventHandlerTask.run(Iocp.java:389)
at java.base/java.lang.Thread.run(Thread.java:1583)
Due to this, the pipeline run infinitely, and it only fails after a specific timeout.
Instead I want the pipeline to fail immediately.
Reference :
https://developercommunity.visualstudio.com/t/Azure-Devops-pipeline-Job-running-infini/11006520
https://developercommunity.visualstudio.com/t/Immediate-Fail-on-Agent-Disconnect-on-Az/11008341
Versions
Agent Version - 4.264.2
Windows 11 OS
Environment type (Please select at least one enviroment where you face this issue)
- Self-Hosted
- Microsoft Hosted
- VMSS Pool
- Container
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Operation system
Windows 11
Version controll system
No response
Azure DevOps Server Version (if applicable)
No response