Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 369078 - Intermittent test failures
Summary: Intermittent test failures
Status: RESOLVED DUPLICATE of bug 369034
Alias: None
Product: Orion
Classification: ECD
Component: Git (show other bugs)
Version: 0.4   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-19 09:08 EST by John Arthorne CLA
Modified: 2012-03-09 10:23 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Arthorne CLA 2012-01-19 09:08:04 EST
I am opening this bug to record each time we see an intermittent Git test failure. Hopefully this will help us detect a pattern that will help us track down the cause.
Comment 1 John Arthorne CLA 2012-01-19 09:09:17 EST
I20120118-2230 - testPushFromLog

Could not delete file /tmp/626865235402/.git/objects

java.io.IOException: Could not delete file /tmp/626865235402/.git/objects
at org.eclipse.jgit.util.FileUtils.delete(FileUtils.java:134)
at org.eclipse.jgit.util.FileUtils.delete(FileUtils.java:119)
at org.eclipse.jgit.util.FileUtils.delete(FileUtils.java:119)
at org.eclipse.orion.server.tests.servlets.git.GitTest.tearDown(GitTest.java:169)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:501)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:259)
at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:36)
at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:32)
at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:352)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:624)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:579)
at org.eclipse.equinox.launcher.Main.run(Main.java:1433)
at org.eclipse.equinox.launcher.Main.main(Main.java:1409)
at org.eclipse.core.launcher.Main.main(Main.java:34)
Comment 2 Ken Walker CLA 2012-01-19 09:35:24 EST
This is the second time I've seen the following although both Szymon and Simon said it passed locally for them:

I201201182230  testLogAllBranches
AND
I201201172230 testLogAllBranches

expected:<[commit1]> but was:<[Initial commit]>
at org.eclipse.orion.server.tests.servlets.git.GitLogTest.testLogAllBranches(GitLogTest.java:414)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:501)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:259)
at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:36)
at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:32)
at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:352)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:624)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:579)
at org.eclipse.equinox.launcher.Main.run(Main.java:1433)
at org.eclipse.equinox.launcher.Main.main(Main.java:1409)
at org.eclipse.core.launcher.Main.main(Main.java:34)
Comment 3 Malgorzata Janczarska CLA 2012-01-19 09:53:52 EST
(In reply to comment #2)
> This is the second time I've seen the following although both Szymon and Simon
> said it passed locally for them:
> 
> I201201182230  testLogAllBranches
> AND
> I201201172230 testLogAllBranches
> 
> expected:<[commit1]> but was:<[Initial commit]>

This is tracked in Bug 369034. It passes locally for me as well.
Comment 4 John Arthorne CLA 2012-01-20 09:08:22 EST
testLogAllBranches failed again in I201201191647.

expected:<[commit1]> but was:<[Initial commit]>

at org.eclipse.orion.server.tests.servlets.git.GitLogTest.testLogAllBranches(GitLogTest.java:416)
Comment 5 Tomasz Zarna CLA 2012-03-09 10:23:40 EST
Gosia found a workaround for the testLogAllBranches failure, see bug 369034.

*** This bug has been marked as a duplicate of bug 369034 ***