Bug 349295 - [server] testCheckoutFileOutsideCurrentFolder - AssertionError: expected:<2> but was:<1>
Summary: [server] testCheckoutFileOutsideCurrentFolder - AssertionError: expected:<2> ...
Status: RESOLVED INVALID
Alias: None
Product: Orion (Archived)
Classification: ECD
Component: Git (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P4 normal (vote)
Target Milestone: 0.3   Edit
Assignee: Tomasz Zarna CLA
QA Contact:
URL: http://download.eclipse.org/e4/orion/...
Whiteboard:
Keywords: investigate, test
Depends on:
Blocks:
 
Reported: 2011-06-14 05:20 EDT by Tomasz Zarna CLA
Modified: 2011-08-23 12:38 EDT (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 Tomasz Zarna CLA 2011-06-14 05:20:42 EDT
Error in I201106132225:

expected:<2> but was:<1> 

java.lang.AssertionError: expected:<2> but was:<1>
at org.eclipse.orion.server.tests.servlets.git.GitCheckoutTest.testCheckoutFileOutsideCurrentFolder(GitCheckoutTest.java:386)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:416)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:249)
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:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
at org.eclipse.core.launcher.Main.main(Main.java:34)
Comment 1 Tomasz Zarna CLA 2011-06-14 05:22:53 EDT
All tests pass when ran locally, on Windows and Linux.
Comment 3 John Arthorne CLA 2011-06-15 09:51:19 EDT
This failed again today. Clearly there is an intermittent bug in here somewhere.

	expected:<2> but was:<1>

java.lang.AssertionError: expected:<2> but was:<1>
at org.eclipse.orion.server.tests.servlets.git.GitCheckoutTest.testCheckoutFileOutsideCurrentFolder(GitCheckoutTest.java:386)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:416)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:249)
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:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
at org.eclipse.core.launcher.Main.main(Main.java:34)
Comment 4 Tomasz Zarna CLA 2011-06-20 05:27:50 EDT
Haven't seen it since the build John mentioned in the comment above. Passed in the last 5 builds. Reducing priority.
Comment 5 Tomasz Zarna CLA 2011-07-12 14:23:32 EDT
I've just pushed a change that cleans up the test a little bit[1]. Hopefully, it will shed some light on that case. If not, I'm planning to dig deeper, it started to fail quite regularly :|

[1] http://git.eclipse.org/c/e4/org.eclipse.orion.server.git/commit/?id=c5d2cf64d4f77bb1e8dd087d5a5e4d59ba8ba90d
Comment 7 Tomasz Zarna CLA 2011-08-04 07:15:07 EDT
Haven't seen it in over a month. I don't think my changes from comment 5 or comment 6 made a difference, but it's a good reason to reduce the priority.
Comment 8 Tomasz Zarna CLA 2011-08-23 12:38:20 EDT
Haven't seen it for a long time. Marking as INVALID. I will reopen it if I see the failure again.