Skip to content

Issue #19234: Resolving Circle CI failures #19239

Merged
romani merged 1 commit into
checkstyle:masterfrom
aclfe:fix-ci
Mar 15, 2026
Merged

Issue #19234: Resolving Circle CI failures #19239
romani merged 1 commit into
checkstyle:masterfrom
aclfe:fix-ci

Conversation

@aclfe

@aclfe aclfe commented Mar 15, 2026

Copy link
Copy Markdown
Contributor

Issue #19234: Resolving Circle CI failures

@aclfe aclfe force-pushed the fix-ci branch 4 times, most recently from a911228 to b43da89 Compare March 15, 2026 09:23
@aclfe

aclfe commented Mar 15, 2026

Copy link
Copy Markdown
Contributor Author

@romani

@aclfe aclfe changed the title Issue #19234: investigating ci job Issue #19234: Resolving Circle CI failures Mar 15, 2026

@romani romani left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot, nice catch.

Items to improve:

Comment thread .ci/validation.sh Outdated
mkdir -p .ci-temp/spotbugs-and-pmd
CHECKSTYLE_DIR=$(pwd)
export MAVEN_OPTS='-Xmx2g'
export MAVEN_OPTS='-Xmx6g'

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we try 3 or 4g ?
Jump from 2 to 6 is crazy.

Comment thread .circleci/config.yml Outdated
- validate-with-maven-script:
name: no-error-pmd
image-name: *cs_img
resource_class: large

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we try medium+

Comment thread .circleci/config.yml Outdated
resource_class: large
command: |
export MAVEN_OPTS="-Xmx6g -XX:MaxRAMPercentage=75"
./.ci/validation.sh no-error-pmd

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please move all opts variables inside shell script.

@romani

romani commented Mar 15, 2026

Copy link
Copy Markdown
Member

Please enable job at place it was commented out.

And please restore sonarqube commented block.

@aclfe

aclfe commented Mar 15, 2026

Copy link
Copy Markdown
Contributor Author

Please enable job at place it was commented out.

And please restore sonarqube commented block.

I'll make all the changes

@aclfe aclfe force-pushed the fix-ci branch 2 times, most recently from 66feade to 6105a0b Compare March 15, 2026 18:27
@aclfe

aclfe commented Mar 15, 2026

Copy link
Copy Markdown
Contributor Author

@romani

Ci failure in circle CI jobs is happening due to the recent check merged: Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.12.1:site (default-site) on project sample: Error generating maven-checkstyle-plugin:3.1.1:checkstyle report: Failed during checkstyle configuration: cannot initialize module TreeWalker - cannot initialize module IllegalSymbol:

@romani

romani commented Mar 15, 2026

Copy link
Copy Markdown
Member

please rebase, I merged new modules 1 hour ago.

@romani romani left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question:

Comment thread .ci/validation.sh
;;

no-error-pmd)
export MAVEN_OPTS="-XX:MaxRAMPercentage=75"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will it help if we make 90% and stay on smaller ci instances ?
we do not run anything else on CI boxes, so 10% from 4GB, might be ok for linux kernel to run.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think it should be making a huge difference. before the hard coded memory of 6 gigs was working wonders, but that's not a good approach long term

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

but that was only because we put large as the resource class

@aclfe aclfe force-pushed the fix-ci branch 10 times, most recently from 4821177 to 3dfc43f Compare March 15, 2026 21:42
@romani

romani commented Mar 15, 2026

Copy link
Copy Markdown
Member

please apply spelling patch

@romani romani left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will merge with pleasure, after CI pass

@aclfe

aclfe commented Mar 15, 2026

Copy link
Copy Markdown
Contributor Author

will merge with pleasure, after CI pass

I pushed the whitelist words.
Thank you for iterating with me quickly

no-error-pgjdbc in particular is very flaky, but with the current settings it's stably green continuously so it should be addressed for a while

@romani

romani commented Mar 15, 2026

Copy link
Copy Markdown
Member

we will merge this awesome update, and will followup if required or some becomes annoying flacky.

@romani romani left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks a lot !!!!

@romani romani merged commit 9387f85 into checkstyle:master Mar 15, 2026
101 of 122 checks passed
@aclfe aclfe deleted the fix-ci branch March 15, 2026 23:04
@romani romani mentioned this pull request Mar 15, 2026
@aclfe aclfe restored the fix-ci branch March 18, 2026 13:22
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.

2 participants