Bug 536543 - PushTest is unstable
Summary: PushTest is unstable
Status: NEW
Alias: None
Product: EGit
Classification: Technology
Component: Releng (show other bugs)
Version: 5.1   Edit
Hardware: All All
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-30 13:58 EDT by Michael Keppler CLA
Modified: 2018-11-11 03:11 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Keppler CLA 2018-06-30 13:58:26 EDT
I regularly see PushTest fail on Gerrit changes, like over here: https://ci.eclipse.org/egit/job/egit.gerrit/10598/testReport/junit/org.eclipse.egit.ui.httpauth/PushTest/testPush/

Locally, that test works fine for me, even when run many times. Anyone with a good idea what we could change?

Such failing tests can be quite disturbing since I don't know a way to directly retrigger a Jenkins build (as a non committer). I can only rebase or add trivial changes to indirectly rebuild, but of course I want to avoid you having to do a review again just because of such nonsense changes of mine.
Comment 1 Michael Keppler CLA 2018-11-11 03:11:12 EST
A more recent error message from https://ci.eclipse.org/egit/job/egit.gerrit/11082/testReport/junit/org.eclipse.egit.ui.httpauth/PushTest/testPush/

java.io.IOException: Could not delete file /jobs/genie.egit/egit.gerrit/workspace/org.eclipse.egit.ui.test/target/trash/test1541923468717.git/gc.log.lock.133c3dd1641b42e3932c40d3bd636401
	at org.eclipse.egit.ui.httpauth.PushTest.tearDown(PushTest.java:114)

Who knows the details of that garbage collection locking?