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

Never print warnings from CpsStepContext.completed, but use addSuppressed #535

Merged
merged 3 commits into from
Jun 3, 2022

Conversation

jglick
Copy link
Member

@jglick jglick commented May 11, 2022

Amending #490, and a string of earlier attempts to log repeated attempts to mark a step as failed, all of which had problems. Most recently, in jenkinsci/workflow-durable-task-step-plugin#180 I find a case where first a node block is marked failed by FlowInterruptedException, and then a nested sh step throws MissingContextVariableException as well. Harmless; can use addSuppressed to at least track everything.

@jglick jglick added the bug label May 11, 2022
@jglick jglick requested review from dwnusbaum and car-roll May 11, 2022 21:28
@jglick
Copy link
Member Author

jglick commented May 18, 2022

Lots of test flakes in this plugin recently. Not sure if there has been some infrastructure change or what.

@jglick jglick marked this pull request as draft May 19, 2022 20:59
@jglick
Copy link
Member Author

jglick commented May 19, 2022

Can cause a stack overflow error.

@jglick jglick marked this pull request as ready for review May 19, 2022 21:08
@jglick jglick requested a review from car-roll June 1, 2022 19:27
@jglick
Copy link
Member Author

jglick commented Jun 2, 2022

I believe this is safe to release at any time.

@jglick jglick merged commit cd48bb9 into jenkinsci:master Jun 3, 2022
@jglick jglick deleted the CpsStepContext.completed branch June 3, 2022 00:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants