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
checker-framework.yml should be able to fail execution if report generation is failed #14396
Comments
Already on it !! |
…f report generation failed
This comment was marked as off-topic.
This comment was marked as off-topic.
…f report generation failed
…f report generation failed
…f report generation failed
I didn't see any PR for 2 days after you had mentioned 'you were on it'. And, given my experience with checkstyle, i went on to contribute on it. |
This comment was marked as off-topic.
This comment was marked as off-topic.
No worries. It's all good. Good luck. |
…f report generation failed
…f report generation failed
…f report generation failed
…f report generation failed
…f report generation failed
…f report generation failed
…f report generation failed
…f report generation failed
…f report generation failed
…f report generation failed
…f report generation failed
…f report generation failed
…f report generation failed
…f report generation failed
…f report generation failed
… changing plugin config
… changing plugin config
… changing plugin config
… changing plugin config
… changing plugin config
… changing plugin config
… changing plugin config
… changing plugin config Issue checkstyle#14396: checker-framework.yml should fail execution if report generation failed
The below is the commit to simulate an OOM. I made the following changes:
|
…roper error handling
…o ensure a proper error handling
…o ensure a proper error handling
…o ensure a proper error handling Issue checkstyle#14396: Disabling CI for Testing OOM failure Issue checkstyle#14396: Changes made to simulate OOM
…f report generation fails
…f report generation fails
…f report generation fails
….groovy to fail execution if report generation fails
….groovy to fail execution if report generation fails
….groovy to fail execution if report generation fails
….groovy to fail execution if report generation fails
….groovy to fail execution if report generation fails
… fail execution if report generation fails
Issue checkstyle#14396: Made changes to pom.xml and checker-framework.groovy to fail execution if report generation fails Issue checkstyle#14344: Fix GenericWhitespace Check ignoring exception to the '>' rule for succeeding whitespaces Pull checkstyle#14503: improve text block grammar Issue checkstyle#13213: Remove '//ok' comments from input files Issue checkstyle#13213: Remove '//ok' comments from input files Issue checkstyle#13213: Remove '//ok' comments from input files
….groovy to fail execution if report generation fails
detected at https://github.com/checkstyle/checkstyle/actions/runs/7594309984/job/20685718210?pr=14314
According to commit list , https://github.com/checkstyle/checkstyle/commits/master , failure in master started with c403a9a which is completely unrelated. Looking at the PR's CI list, the CI did run and said it passed. #14311 . The commit before that in master, half the CI ran and checker wasn't one of them.
However, looking at the actual run in #14311 you can see that checker throw an error and died. The exception was never reported and made us believe everything was fine.
https://github.com/checkstyle/checkstyle/actions/runs/7593228559/job/20683478761#step:6:470
We need to update the checker CI to detect a OOM exception and mark it as a failure if it occurs.
Edit:
CI runs checker groovy. https://github.com/checkstyle/checkstyle/blob/master/.github/workflows/checker-framework.yml#L54C14-L54C81
Groovy script scans entire maven run, so we should be able to just be able to add a check for the exception. https://github.com/checkstyle/checkstyle/blob/master/.ci/checker-framework.groovy
The text was updated successfully, but these errors were encountered: