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

HugeResourceTest failing #9408

Closed
gregw opened this issue Feb 23, 2023 · 4 comments · Fixed by #9411
Closed

HugeResourceTest failing #9408

gregw opened this issue Feb 23, 2023 · 4 comments · Fixed by #9411
Assignees
Labels
Bug For general bugs on Jetty side

Comments

@gregw
Copy link
Contributor

gregw commented Feb 23, 2023

Jetty version(s)
12

Description
The HugeResourceTest was failing for me by never completing on the 1G size. I tried making a 100M size, but whilst that passed it actually failed.
However, the CI is green, so either this test is not run there or it is working.

For now, I have disabled the test as it is failing for me in 12 HEAD and delaying other work.

@gregw gregw added the Bug For general bugs on Jetty side label Feb 23, 2023
@olamy
Copy link
Member

olamy commented Feb 23, 2023

This test is tagged at class level as @Tag("large-disk-resource") so this doesn't run on CI.
tags excluded from the CI build are external, large-disk-resource, stress, slow, flaky

@gregw
Copy link
Contributor Author

gregw commented Feb 23, 2023

@olamy thanks for confirming that.
It feels like we've re-introduced something non-linear. Probably the buffer pool issue we are already looking at. @lorban can you try this test out with your latest pools.

@lorban
Copy link
Contributor

lorban commented Feb 23, 2023

(It is ee10 HugeResourceTest that is being discussed here.)

My investigation has shown this test suffers from two bugs:

@gregw
Copy link
Contributor Author

gregw commented Feb 23, 2023

Yes this is org.eclipse.jetty.ee10.webapp.HugeResourceTest
So you are already working on something for #9311, so let's not change anything in the test for that and we can use it to test the better pools.
As for the double buffer release, that sounds like a bug, so we should keep this open, even after #9311, until we fix that.

lorban added a commit that referenced this issue Feb 23, 2023
 - fixed double-release bug in MultiPartFormData
 - used ByteBufferPool.NonPooling pool to work around #9311

Signed-off-by: Ludovic Orban <[email protected]>
@lorban lorban linked a pull request Feb 23, 2023 that will close this issue
lorban added a commit that referenced this issue Feb 23, 2023
Signed-off-by: Ludovic Orban <[email protected]>
lorban added a commit that referenced this issue Feb 24, 2023
lorban added a commit that referenced this issue Feb 24, 2023
 - fixed double-release bug in MultiPartFormData
 - used ByteBufferPool.NonPooling pool to work around #9311

Signed-off-by: Ludovic Orban <[email protected]>
lorban added a commit that referenced this issue Feb 24, 2023
Signed-off-by: Ludovic Orban <[email protected]>
lorban added a commit that referenced this issue Feb 24, 2023
lorban added a commit that referenced this issue Feb 27, 2023
#9408: restored HugeResourceTest:
 - fixed double-release bug in MultiPartFormData
 - used ByteBufferPool.NonPooling pool to work around #9311

Signed-off-by: Ludovic Orban <[email protected]>
@lorban lorban closed this as completed Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For general bugs on Jetty side
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants