Skip to content

Fix StackOverflowError in CheckStyle for CRUDDocumentationIT#53840

Merged
original-brownbear merged 1 commit intoelastic:masterfrom
original-brownbear:37647
Mar 21, 2020
Merged

Fix StackOverflowError in CheckStyle for CRUDDocumentationIT#53840
original-brownbear merged 1 commit intoelastic:masterfrom
original-brownbear:37647

Conversation

@original-brownbear
Copy link
Copy Markdown
Contributor

This file seems to randomly cause a stack overflow like other HLRC ITs that
already have this check suppressed on them.

Closes #37647

This file seems to randomly cause a stack overflow like other HLRC ITs that
already have this check suppressed on them.

Closes #37647
@original-brownbear original-brownbear added >test Issues or PRs that are addressing/adding tests :Delivery/Build Build or test infrastructure v8.0.0 v7.7.0 labels Mar 20, 2020
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-core-infra (:Core/Infra/Build)

Copy link
Copy Markdown
Contributor

@mark-vieira mark-vieira left a comment

Choose a reason for hiding this comment

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

I'm a bit confused, are we really suppressing that snippet length check on basically al the high level rest client documentation tests? If so, what's the point of the check? It is specifically to ensure that docs snippets are not more than a certain length so they'll render correctly in the docs but we are turning this off everywhere?

@nik9000
Copy link
Copy Markdown
Member

nik9000 commented Mar 20, 2020

Wow. I uh, don't remember doing this before. I probably did do it because past me is pretty silly.

I think this regex was a mistake. I thought so when I wrote it but I figured it was an ok mistake. But, bleh.

@original-brownbear
Copy link
Copy Markdown
Contributor Author

@mark-vieira @nik9000 maybe we can still move ahead with this and fix it properly for all the excluded doc ITs separately? This is quite annoying for me locally :D

That said:
Another possible "fix" I found would be to move to -Xss4m for the Gradle daemons, that fixes it on my box as well.

Copy link
Copy Markdown
Contributor

@mark-vieira mark-vieira left a comment

Choose a reason for hiding this comment

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

I'm good with merging this for now to unblock folks so long as we open an issue to get this check working again.

@original-brownbear
Copy link
Copy Markdown
Contributor Author

Thanks Mark! I opened #53921 to track this.

@original-brownbear original-brownbear merged commit dc7e2ab into elastic:master Mar 21, 2020
@original-brownbear original-brownbear deleted the 37647 branch March 21, 2020 16:34
original-brownbear added a commit that referenced this pull request Mar 21, 2020
…#53922)

This file seems to randomly cause a stack overflow like other HLRC ITs that
already have this check suppressed on them.

Closes #37647
@mark-vieira mark-vieira added the Team:Delivery Meta label for Delivery team label Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Delivery/Build Build or test infrastructure Team:Delivery Meta label for Delivery team >test Issues or PRs that are addressing/adding tests v7.7.0 v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CI] checkstyle task failed with StackOverflowError

5 participants