From: Patrick W. <pat...@ny...> - 2008-08-05 16:33:12
|
Paul, I think I fixed it. It's not as basic as you thought. Git add won't accept the absolute file path as argument. I think this came up in class that it will on Cygwin, but not on unix. Anyways, I've set the working directory of the process to the parent folder and use the bare filename as argument. The failure now is on publishing, which I've fixed as well. Shell.sourceforge.net is not in michelle's known hosts file, so I just added a trust all to the task. -- Patrick On Tue, 2008-08-05 at 11:03 -0400, Paul Munson Bethe wrote: > If everyone can look at line 87 of ui.test/.../DecoratorTest.java > > This is really basic stuff. I call git-add on a file, wait for the process to finish, and then assert that the status returned from GitStatusAdapter is ADDED. > > When run on my machine, this succeeds. When run on the build machine it fails. > I don't think it is a problem with my test. I don't have access to the build machine here - but someone needs to see what is happening. > > -Paul > > > ----- Original Message ----- > From: osp...@ny... > Date: Tuesday, August 5, 2008 10:35 am > Subject: [Gitclipse-build] [cc] gitclipse Build Failed > To: git...@li... > > > > View results here -> http://linserv3.cims.nyu.edu:33333?log=log20080805103230 > > > > > > BUILD FAILED > > > > > > Ant Error Message: > > /home/mso206/cruisecontrol/build_gitclipse.xml:18: The following > > error occurred while executing this line: /home/mso206/cruisecontrol/checkout/gitclipse/edu.nyu.cs.gitclipse.build/build.xml:118: > > Java returned: 13 > > > > > > > > Date of build: > > 08/05/2008 10:32:30 > > > > > > Time to build: > > 1 minute 51 seconds > > > > > > Last changed: > > 08/05/2008 10:31:01 > > > > > > Last log entry: > > pulled out the code which does not run on the build machine > > > > > > > > > > > > > > > > > > > > > > > > Errors/Warnings: (6) > > > > > > > > > > BUILD > > FAILED/home/mso206/eclipse/plugins/org.eclipse.pde.build_3.3.2.v20071019/scripts/build.xml:28: > > The following error occurred while executing this > > line:/home/mso206/eclipse/plugins/org.eclipse.pde.build_3.3.2.v20071019/scripts/build.xml:112: > > The following error occurred while executing this > > line:/home/mso206/cruisecontrol/checkout/gitclipse/edu.nyu.cs.gitclipse.build/customTargets.xml:140: > > The following error occurred while executing this > > line:/home/mso206/cruisecontrol/checkout/gitclipse/edu.nyu.cs.gitclipse.build/customTargets.xml:194: > > Java returned: 13Total time: 1 minute 38 seconds > > > > > > > > > > > > > > > > Unit Tests: (5) > > > > > > > > > > > > > > > > > > failure > > > > > > testRefresh > > AllTests > > > > > > > > > > > > > > > > > > > > > > Unit Test Error Details: (1) > > > > > > > > > > > > > > > > Test: > > testRefresh > > > > > > Class: > > AllTests > > > > > > > > > > > > > > > > > > > > > > junit.framework.AssertionFailedError: returned status is:UNTRACKED > > expected: ADDED > > > > > > > > > > > > at > > edu.nyu.cs.gitclipse.ui.DecoratorTest.statusAssert(Unknown Source) > > > > > > > > > > > > at > > edu.nyu.cs.gitclipse.ui.DecoratorTest.testRefresh(Unknown Source) > > > > > > > > > > > > at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:354) > > > > > > > > > > > > at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:206) > > > > > > > > > > > > at org.eclipse.test.UITestApplication$3.run(UITestApplication.java:195) > > > > > > > > > > > > at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) > > > > > > > > > > > > at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:129) > > > > > > > > > > > > at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3296) > > > > > > > > > > > > at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2974) > > > > > > > > > > > > at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389) > > > > > > > > > > > > at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353) > > > > > > > > > > > > at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219) > > > > > > > > > > > > at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466) > > > > > > > > > > > > at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289) > > > > > > > > > > > > at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461) > > > > > > > > > > > > at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) > > > > > > > > > > > > at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106) > > > > > > > > > > > > at org.eclipse.test.UITestApplication.runApplication(UITestApplication.java:138) > > > > > > > > > > > > at org.eclipse.test.UITestApplication.run(UITestApplication.java:60) > > > > > > > > > > > > at org.eclipse.test.UITestApplication.start(UITestApplication.java:210) > > > > > > > > > > > > at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169) > > > > > > > > > > > > at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106) > > > > > > > > > > > > at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76) > > > > > > > > > > > > at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363) > > > > > > > > > > > > at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176) > > > > > > > > > > > > at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508) > > > > > > > > > > > > at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447) > > > > > > > > > > > > at org.eclipse.equinox.launcher.Main.run(Main.java:1173) > > > > > > > > > > > > at org.eclipse.equinox.launcher.Main.main(Main.java:1148) > > > > > > > > > > > > at org.eclipse.core.launcher.Main.main(Main.java:30) > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Modifications since last successful build: > > (10) > > > > > > > > > > modified > > pmb309 > > /gitclipse/trunk/edu.nyu.cs.gitclipse.ui.test/src/edu/nyu/cs/gitclipse/ui/DecoratorTest.java > > 08/05/2008 10:31:01 > > pulled out the code which does not run on the build machine > > > > > > modified > > pmb309 > > /gitclipse/trunk/edu.nyu.cs.gitclipse.ui.test/src/edu/nyu/cs/gitclipse/ui/DecoratorTest.java > > 08/05/2008 10:23:40 > > put in a 'wait' section to allow other threads to initialize > > gitclipse > > > > > > modified > > pmb309 > > /gitclipse/trunk/edu.nyu.cs.gitclipse.ui.test/src/edu/nyu/cs/gitclipse/ui/DecoratorTest.java > > 08/05/2008 10:09:22 > > changed assertion to one which should not fail > > > > > > modified > > pmb309 > > /gitclipse/trunk/edu.nyu.cs.gitclipse.ui.test/src/edu/nyu/cs/gitclipse/ui/DecoratorTest.java > > 08/05/2008 09:55:07 > > Added failure strings to DecoratorTest trying to figure out > > where it fails on the server > > > > > > modified > > pcw216 > > /gitclipse/trunk/edu.nyu.cs.gitclipse.core.test/src/edu/nyu/cs/gitclipse/core/GitProviderPluginTest.java > > 08/05/2008 02:11:13 > > This was a terrible test, and would never happen in practice. > > > > > > modified > > pcw216 > > /gitclipse/trunk/edu.nyu.cs.gitclipse.core.test/src/edu/nyu/cs/gitclipse/core/GitProviderPluginTest.java > > 08/05/2008 02:08:53 > > Assertion messages should pinpoint the failure. > > > > > > modified > > pcw216 > > /gitclipse/trunk/edu.nyu.cs.gitclipse.core.test/src/edu/nyu/cs/gitclipse/core/GitProviderPluginTest.java > > 08/05/2008 01:48:04 > > Verified temporary folder creation and external project management. > > Renamed addProject to newProject. > > > > > > > > modified > > pcw216 > > /gitclipse/trunk/edu.nyu.cs.gitclipse.core.test/src/edu/nyu/cs/gitclipse/core/AbstractProjectTestCase.java > > 08/05/2008 01:48:04 > > Verified temporary folder creation and external project management. > > Renamed addProject to newProject. > > > > > > > > modified > > pcw216 > > /gitclipse/trunk/edu.nyu.cs.gitclipse.core.test/src/edu/nyu/cs/gitclipse/core/GitAutoAssociateTest.java > > 08/05/2008 01:48:04 > > Verified temporary folder creation and external project management. > > Renamed addProject to newProject. > > > > > > > > modified > > pcw216 > > /gitclipse/trunk/edu.nyu.cs.gitclipse.build/build.xml > > 08/04/2008 23:52:48 > > Rollback the java target to fail on error. > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > > Build the coolest Linux based applications with Moblin SDK & win great > > prizes > > Grand prize is a trip for two to an Open Source event anywhere in the > > world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > > Gitclipse-build mailing list > > Git...@li... > > https://lists.sourceforge.net/lists/listinf > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gitclipse-build mailing list > Git...@li... > https://lists.sourceforge.net/lists/listinfo/gitclipse-build |