-
Notifications
You must be signed in to change notification settings - Fork 485
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
edu.harvard.iq.dataverse.api.FilesIT.testForceReplaceAndUpdate Test Failing #6846
Comments
At first I could reproduce the
(I did this because I'm getting this Now I can't reproduce the original errors but when I run the whole API test suite (which I couldn't do with Glassfish 4.1 without it falling over) I get a seemingly random assortment of failing tests, just like we're seeing on Jenkins. When I look at my logs, I see many cases of I'm not sure what to do with this issue. |
Thanks @pdurbin for the details. @scolapasta can you get automated testing on the docket for a future tech hours? We've been picking off the failing tests one by one, but I saw on some recent runs that 4 new ones were failing so I'm not sure if we should re-evaluate. Generally I'm happy to spend sprint time in the automated test area. :) |
About the MetaspaceSize and MaxMetaspaceSize: I stumbeld over https://dzone.com/articles/permgen-and-metaspace and my attention was catched here:
Has anyone taken a look at this during startup? During playing a bit with container memory limits, I noticed a few times rising and sudden drops in memory use. I wonder if this is related to GC and if the metaspace is related to our very long deploy times, next to our massive amount of beans we are loading... |
@poikilotherm I sent the Metaspace settings along with https://blog.payara.fish/fine-tuning-payara-server-5-in-production to roll in as part of the switch to Payara 5: dataverse/scripts/installer/as-setup.sh Line 67 in 68bb656
In tinkering with Prometheus I did see a series of fairly steep memory reclamation during garbage collection; I can try again with some test Metaspace settings during deployment. |
|
@djbrooke @scolapasta now that #6865 is closed (🎉 ) should we close this issue as well? |
I am not sure if this was caused by deadlocks, but more importantly the past two jenkins builds (I'm not including the one that couldn't connect) passed. So unless we see this occur again, yes we can close. |
@pdurbin Sure, we can reopen if we start to see consistent failures from this test ! |
@djbrooke beat me to it, while I was typing my comment! (but I got the comment in first at least :)) |
We just noticed another case of testForceReplaceAndUpdate failing at https://jenkins.dataverse.org/blue/organizations/jenkins/IQSS-Dataverse-Develop-PR/detail/PR-8440/2/tests for pull request #8440. |
Another case of testForceReplaceAndUpdate failing at https://jenkins.dataverse.org/blue/organizations/jenkins/IQSS-Dataverse-Develop-PR/detail/PR-8486/2/tests for PR #8486. |
testForceReplaceAndUpdate just failed at https://jenkins.dataverse.org/blue/organizations/jenkins/IQSS-Dataverse-Develop-PR/detail/PR-8624/4/tests for #8624. That's it. Time to reopen this issue. 😄 |
testForceReplaceAndUpdate failure seen again at https://jenkins.dataverse.org/job/IQSS-Dataverse-Develop-PR/view/change-requests/job/PR-8689/1/consoleFull The Payara log doesn't seem particularly helpful, sorry. |
https://jenkins.dataverse.org/job/IQSS-Dataverse-Develop-PR/view/change-requests/job/PR-8689/1/testReport/edu.harvard.iq.dataverse.api/FilesIT/testForceReplaceAndUpdate/ is showing a 500 error on FilesIT.testForceReplaceAndUpdate(FilesIT.java:668) That's this line:
From server.log.txt we see that the metadata of the file couldn't be edited due to a dataset lock: [#|2022-05-11T13:30:47.039+0000|WARNING|Payara 5.2021.6|edu.harvard.iq.dataverse.api.Files|_ThreadID=69;_ThreadName=http-thread-pool::http-listener-1(2);_TimeMillis=1652275847039;_LevelValue=900;| So, I think we just need to add our normal |
sprint
|
Sprint:
|
add sleep in FilesIT, clean up assertions #6846
Expected status code <200> doesn't match actual status code <500>.
See build 425 on dataverse.org Jenkins for more info.
The text was updated successfully, but these errors were encountered: