Skip to content

[JENKINS-33704] Multiple calls to the CloudRetentionStrategy when removing a node #16892

@jenkins-infra-bot

Description

@jenkins-infra-bot

If a node has a cloud retention strategy, calling removeNode will execute the cloud retention strategy. This could cause further node removal and further loops in the call chain.

Since the queue is locked, if node removal is expensive, then Jenkins can potentially appear down while the node removal is happening.

Version 1.642.1


Originally reported by mmitche, imported from: Multiple calls to the CloudRetentionStrategy when removing a node
  • assignee: vlatombe
  • status: Closed
  • priority: Major
  • component(s): core
  • label(s): 2.504.1-fixed
  • resolution: Fixed
  • resolved: 2025-04-08T14:38:50+00:00
  • votes: 0
  • watchers: 5
  • imported: 2025-11-24
Raw content of original issue

If a node has a cloud retention strategy, calling removeNode will execute the cloud retention strategy. This could cause further node removal and further loops in the call chain.

Since the queue is locked, if node removal is expensive, then Jenkins can potentially appear down while the node removal is happening.

Version 1.642.1

1 attachment

Metadata

Metadata

Assignees

No one assigned

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions