Skip to content

Remove agents that fail to connect within the launch timeout#565

Open
jamesrobson-secondmind wants to merge 1 commit into
jenkinsci:developfrom
jamesrobson-secondmind:remove-dead-agents
Open

Remove agents that fail to connect within the launch timeout#565
jamesrobson-secondmind wants to merge 1 commit into
jenkinsci:developfrom
jamesrobson-secondmind:remove-dead-agents

Conversation

@jamesrobson-secondmind

Copy link
Copy Markdown

If an agent fails to connect within the configured launch timeout it is removed from the agent list. Fixes #564

Testing done

In addition to the unit tests this was tested manually by spawning agents with a gpu until the bug described in #564 is encountered, then confirming that the agents were now removed from the list in jenkins.

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests that demonstrate the feature works or the issue is fixed

@jamesrobson-secondmind
jamesrobson-secondmind requested a review from a team as a code owner July 17, 2026 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Agents which fail creation are sometime added to the node list and never removed

1 participant