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

[JENKINS-25406] Downgrade ISE to log warning #40

Merged
merged 3 commits into from
Apr 20, 2015

Conversation

jglick
Copy link
Member

@jglick jglick commented Apr 10, 2015

JENKINS-25406

Under circumstances yet to be identified, the Maven plugin sometimes tries to set the build result after the build is COMPLETED, which is illegal. Until 1.586 Jenkins core silently let it do so unless you happened to be running with -ea. As of 1.587 this becomes an IllegalStateException, which alerted us to the problem but might be breaking more important things (unclear what the impact is). Downgrading this to a warning in the log and just ignore the attempt to change the build result.

@reviewbybees

…the log until it can be diagnosed and fixed properly.
@KostyaSha
Copy link
Member

Shouldn't break anything, so 👍

@jglick
Copy link
Member Author

jglick commented Apr 10, 2015

Could break something, in case the Maven plugin was really relying on being able to change build status after completion.

Build timed out on CI. I will set the project to use a faster machine class and will file a separate PR for an unrelated test failure.

@KostyaSha
Copy link
Member

@jglick then lets comment return and grab logging results first?

@jglick
Copy link
Member Author

jglick commented Apr 10, 2015

(now subsumes #41)

@jglick
Copy link
Member Author

jglick commented Apr 10, 2015

lets comment return and grab logging results first

I am not sure what that would tell us. We already have the stack traces, and they do not point to a clear culprit. Need a way to reproduce the problem.

@jglick
Copy link
Member Author

jglick commented Apr 10, 2015

Hmm, for some reason PR builds do not seem to be being triggered at all ATM.

@KostyaSha
Copy link
Member

@jglick push slowly 😆

@tfennelly
Copy link
Member

👍 looks fine to me

@jenkinsadmin
Copy link
Member

Thank you for a pull request! Please check this document for how the Jenkins project handles pull requests

jglick added a commit that referenced this pull request Apr 20, 2015
[JENKINS-25406] Downgrade ISE to log warning
@jglick jglick merged commit f32d192 into jenkinsci:master Apr 20, 2015
@jglick jglick deleted the setResult-JENKINS-25406 branch April 20, 2015 11:05
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.

4 participants