This job is build #[2885] on the remote server.
Triggering remote job now.
Remote Jenkins server returned empty response or invalid JSON - but we can still proceed with the remote build.
Blocking local job until remote job completes
Connection to remote server failed, waiting for to retry - 60 seconds until next attempt.
Retry attempt #1 out of 5
Connection to remote server failed, waiting for to retry - 60 seconds until next attempt.
Retry attempt #2 out of 5
Connection to remote server failed, waiting for to retry - 60 seconds until next attempt.
Retry attempt #3 out of 5
Connection to remote server failed, waiting for to retry - 60 seconds until next attempt.
Retry attempt #4 out of 5
Connection to remote server failed, waiting for to retry - 60 seconds until next attempt.
Retry attempt #5 out of 5
ERROR: Remote build failed for the following reason, but the build will continue:
ERROR: Max number of connection retries have been exeeded.
Waiting for remote build to start.
Waiting for 60 seconds until next poll.
Connection to remote server failed, waiting for to retry - 60 seconds until next attempt.
Retry attempt #1 out of 5
Connection to remote server failed, waiting for to retry - 60 seconds until next attempt.
Retry attempt #2 out of 5
Connection to remote server failed, waiting for to retry - 60 seconds until next attempt.
Retry attempt #3 out of 5
Connection to remote server failed, waiting for to retry - 60 seconds until next attempt.
Retry attempt #4 out of 5
Connection to remote server failed, waiting for to retry - 60 seconds until next attempt.
Retry attempt #5 out of 5
ERROR: Remote build failed for the following reason, but the build will continue:
ERROR: Max number of connection retries have been exeeded.
Waiting for remote build to start.
Waiting for 60 seconds until next poll.
Connection to remote server failed, waiting for to retry - 60 seconds until next attempt.
Retry attempt #1 out of 5
Connection to remote server failed, waiting for to retry - 60 seconds until next attempt.
Retry attempt #2 out of 5
Connection to remote server failed, waiting for to retry - 60 seconds until next attempt.
Retry attempt #3 out of 5
Connection to remote server failed, waiting for to retry - 60 seconds until next attempt.
Retry attempt #4 out of 5
Connection to remote server failed, waiting for to retry - 60 seconds until next attempt.
Retry attempt #5 out of 5
ERROR: Remote build failed for the following reason, but the build will continue:
ERROR: Max number of connection retries have been exeeded.
Waiting for remote build to start.
Waiting for 60 seconds until next poll.
Connection to remote server failed, waiting for to retry - 60 seconds until next attempt.
Retry attempt #1 out of 5
Connection to remote server failed, waiting for to retry - 60 seconds until next attempt.
Retry attempt #2 out of 5
Connection to remote server failed, waiting for to retry - 60 seconds until next attempt.
Retry attempt #3 out of 5
Connection to remote server failed, waiting for to retry - 60 seconds until next attempt.
Retry attempt #4 out of 5
Connection to remote server failed, waiting for to retry - 60 seconds until next attempt.
Retry attempt #5 out of 5
ERROR: Remote build failed for the following reason, but the build will continue:
ERROR: Max number of connection retries have been exeeded.
Waiting for remote build to start.
Waiting for 60 seconds until next poll.
Connection to remote server failed, waiting for to retry - 60 seconds until next attempt.
Retry attempt #1 out of 5
Connection to remote server failed, waiting for to retry - 60 seconds until next attempt.
Retry attempt #2 out of 5
Connection to remote server failed, waiting for to retry - 60 seconds until next attempt.
Retry attempt #3 out of 5
Connection to remote server failed, waiting for to retry - 60 seconds until next attempt.
Retry attempt #4 out of 5
Connection to remote server failed, waiting for to retry - 60 seconds until next attempt.
Retry attempt #5 out of 5
ERROR: Remote build failed for the following reason, but the build will continue:
ERROR: Max number of connection retries have been exeeded.
..... <repeated until job is killed from script console> ...
I see this issue occassionally when a remote node is down.
Attempts to cancel the job are ignored.
The workaround I use is to find out the executor thread and kill it by name (from the Jenkins script console)
and kill the thread with