Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fine logging with stack trace when queue item cancelled #353

Merged
merged 1 commit into from
Jan 24, 2024

Conversation

jglick
Copy link
Member

@jglick jglick commented Jan 23, 2024

Hoping to track down a test failure in @cloudbees which shows a build being aborted with QueueTaskCancelled but not why. The other plausible path is

} catch (CancellationException x) {
LOGGER.log(Level.FINE, "ceased to wait for " + node, x);
throw new FlowInterruptedException(Result.ABORTED, /* TODO false probably more appropriate */true, new ExecutorStepExecution.QueueTaskCancelled());
which already does fine logging.

@jglick jglick requested a review from a team as a code owner January 23, 2024 21:23
@jglick jglick merged commit 5337e0c into jenkinsci:master Jan 24, 2024
14 checks passed
@jglick jglick deleted the QueueTaskCancelled branch January 24, 2024 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants