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

Internal Exception: org.postgresql.util.PSQLException: ERROR: deadlock detected #6865

Closed
pdurbin opened this issue Apr 28, 2020 · 2 comments · Fixed by #7096 or #7105
Closed

Internal Exception: org.postgresql.util.PSQLException: ERROR: deadlock detected #6865

pdurbin opened this issue Apr 28, 2020 · 2 comments · Fixed by #7096 or #7105

Comments

@pdurbin
Copy link
Member

pdurbin commented Apr 28, 2020

Sometimes, but not all the time, when I run the API test suite on my laptop, some of the API tests fail with a 500 response and when I look at server.log I see errors like this:

Internal Exception: org.postgresql.util.PSQLException: ERROR: deadlock detected

Here's an example of a failing test but the tests vary:

[ERROR] FilesIT.testReplaceFileBadJson:898 Expected status code <200> doesn't match actual status code <500>.

Here are a couple more examples from last week, both from the same run:

[ERROR] FileMetadataIT.tearDownDataverse:96 Expected status code <200> doesn't match actual status code <500>.

[ERROR] FilesIT.testReplaceFileBadJson:898 Expected status code <200> doesn't match actual status code <500>.

In tech hours today we discussed how these local failures are probably related to failures we've seen on https://jenkins.dataverse.org

Here's my server.log (renamed so GitHub will take it) from today's run:
server.log.txt

@djbrooke djbrooke moved this from Up Next 🛎 to IQSS Team - In Progress 💻 in IQSS/dataverse (TO BE RETIRED / DELETED in favor of project 34) Jun 4, 2020
@scolapasta scolapasta self-assigned this Jun 4, 2020
@djbrooke djbrooke added this to the Dataverse 5 milestone Jun 22, 2020
pdurbin added a commit that referenced this issue Jun 26, 2020
pdurbin added a commit that referenced this issue Jun 26, 2020
IQSS/dataverse (TO BE RETIRED / DELETED in favor of project 34) automation moved this from IQSS Team - In Progress 💻 to Done 🚀 Jul 17, 2020
@scolapasta scolapasta reopened this Jul 20, 2020
@mheppler
Copy link
Contributor

Discussing Deadlocks Part Duex with the team today. More info will presumably make it here from those discussions. Hope to confirm with authors of the following issues that we can close and consolidate those into this one deadlock issue.

@kcondon
Copy link
Contributor

kcondon commented Jul 20, 2020

Don't we have a close newest dupe issue practice? I know curation of issues is informal and not an official part of the process so not sure how we do things now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment