jenkinsci / jenkinsci/workflow-durable-task-step-plugin

[JENKINS-71113] AgentErrorCondition should handle "missing workspace" error

Open
#595 0 comments 0 reactions 0 assignees View on GitHub
component:workflow-durable-task-step-plugin imported-jira-issue priority:minor resolution:unresolved
Dominant language
Java
Stars
46
Forks
110
PR merge metrics
No merged PRs in 30d

Description

AgentErrorCondition apparently does not handle

hudson.AbortException: missing workspace ... on ...

at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.getWorkspace(DurableTaskStep.java:396)
at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.check(DurableTaskStep.java:574)
at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.run(DurableTaskStep.java:557)
at ...

and so retry is not triggered. This can happen when disconnecting and reconnecting an agent, probably dependent on timing.

---
Originally reported by jglick, imported from: AgentErrorCondition should handle "missing workspace" error


  • status: Open
  • priority: Minor
  • component(s): workflow-durable-task-step-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 1
  • imported: 20251212-090250

Raw content of original issue

AgentErrorCondition apparently does not handle


hudson.AbortException: missing workspace ... on ...

at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.getWorkspace(DurableTaskStep.java:396)
at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.check(DurableTaskStep.java:574)
at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.run(DurableTaskStep.java:557)
at ...

and so retry is not triggered. This can happen when disconnecting and reconnecting an agent, probably dependent on timing.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.