|
From: Michelle S O. <ms...@ny...> - 2008-08-03 00:39:43
|
It seems like it could be the arch, because I also noticed this:
!MESSAGE Platform filter did not match: (& (osgi.ws=gtk) (osgi.os=linux) (osgi.arch=x86_64))
The description of that error seems to be 'a bundle could not be resolved because a platform filter did not match the runtime environment.'
I set the arch property in customTargets to be x86_64 (directly on the build machine for now) and got this different stacktrace:
Total time: 1 minute 14 seconds
[linserv3] ~/cruisecontrol $ vi /home/mso206/cruisecontrol/gitclipse-test/eclipse/results/edu.nyu.cs.gitclipse.test.AllTests.txt
Framework arguments: -application org.eclipse.test.uitestapplication formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,/home/mso206/cruisecontrol/gitclipse-test/eclipse/edu.nyu.cs.gitclipse.test.AllTests.xml -testPluginName edu.nyu.cs.gitclipse.test -className edu.nyu.cs.gitclipse.test.AllTests
Command-line arguments: -application org.eclipse.test.uitestapplication -data /home/mso206/cruisecontrol/gitclipse-test formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,/home/mso206/cruisecontrol/gitclipse-test/eclipse/edu.nyu.cs.gitclipse.test.AllTests.xml -testPluginName edu.nyu.cs.gitclipse.test -className edu.nyu.cs.gitclipse.test.AllTests -os linux -ws gtk -arch x86_64 -consolelog
!ENTRY org.eclipse.osgi 4 0 2008-08-02 20:37:11.017
!MESSAGE Application error
!STACK 1
org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed]
at org.eclipse.swt.SWT.error(SWT.java:3589)
at org.eclipse.swt.widgets.Display.createDisplay(Display.java:836)
at org.eclipse.swt.widgets.Display.create(Display.java:824)
at org.eclipse.swt.graphics.Device.<init>(Device.java:152)
at org.eclipse.swt.widgets.Display.<init>(Display.java:472)
at org.eclipse.swt.widgets.Display.<init>(Display.java:463)
at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:498)
at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
at org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(IDEApplication.java:133)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:86)
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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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)
================================================================
----- Original Message -----
From: Patrick Winters <pat...@ny...>
Date: Saturday, August 2, 2008 7:19 pm
Subject: RE: RE: Testing and Publishing to Update Site
To: 'Michelle S Osborne' <ms...@ny...>
Cc: git...@li...
> K. This isn't exactly the relevant part though. In CC, if you look
> at the
> AllTests.log artifact you see it's failing to load the UI. I'm not sure
> why. Look down at the bottom, it's not getting SWT for some reason, which
> is a platform specific JAR. Something is screwy here with the architecture
> and the platform specific bundle loaders.
>
> This is from CC at the top... Look here it seems to be running with x86
> arch.
>
> !SESSION 2008-08-02 17:47:35.325
> -----------------------------------------------
> eclipse.buildId=M20080221-1800
> java.version=1.6.0_05
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
>
> And this is one of a couple entries at the bottom that aren't resolving.
>
> !ENTRY org.eclipse.osgi 2 0 2008-08-02 17:47:39.742
> !MESSAGE The following is a complete list of bundles which are not resolved,
> see the prior log entry for the root cause if it exists:
> !SUBENTRY 1 org.eclipse.osgi 2 0 2008-08-02 17:47:39.743
> !MESSAGE Bundle
> update@plugins/org.eclipse.core.filesystem.linux.x86_64_1.0.100.v20070510.ja
> r [15] was not resolved.
> !SUBENTRY 2 org.eclipse.core.filesystem.linux.x86_64 2 0 2008-08-02
> 17:47:39.743
>
> Is there a problem with the $ECLIPSE_HOME variable? Or do we need to
> specifically set the ARCH to be x86_64?
>
>
> > -----Original Message-----
> > From: Michelle S Osborne [mailto:ms...@ny...]
> > Sent: Saturday, August 02, 2008 6:20 PM
> > To: Patrick Winters
> > Cc: git...@li...
> > Subject: Re: RE: Testing and Publishing to Update Site
> >
> > It's failing at the command line too, here's the relevant part of the
> > output:
> >
> > [java] [java] java-test:
> > [java] [java] [echo] Running
> > edu.nyu.cs.gitclipse.test.AllTests. Result file:
> > /home/mso206/cruisecontrol/gitclipse-
> > test/eclipse/results/edu.nyu.cs.gitclipse.test.AllTests.xml.
> > [java] [java] [java] Java Result: 13
> > [java] [java]
> > [java] [java] collect-results:
> > [java] [java] [style] Warning: the task name <style> is
> > deprecated. Use <xslt> instead.
> > [java] [java] [style] Transforming into
> > /home/mso206/cruisecontrol/gitclipse-test/eclipse/results
> > [java] [java]
> > [java] [java] BUILD FAILED
> > [java] [java] /home/mso206/cruisecontrol/gitclipse-
> > build/plugins/edu.nyu.cs.gitclipse.test/test.xml:23: The following
> > error occurred while executing this line:
> > [java] [java] /home/mso206/cruisecontrol/gitclipse-
> > test/eclipse/plugins/org.eclipse.test_3.2.0/library.xml:56: The
> > following error occurred while executing this line:
> > [java] [java] /home/mso206/cruisecontrol/gitclipse-
> > test/eclipse/plugins/org.eclipse.test_3.2.0/library.xml:97: Test
> > Failure: edu.nyu.cs.gitclipse.test.AllTests
> > [java] [java]
> > [java] [java] Total time: 6 seconds
> >
> > [java] BUILD FAILED
> > [java]
> > /home/mso206/eclipse/plugins/org.eclipse.pde.build_3.3.2.v20071019/scri
> > pts/build.xml:28: The following error occurred while executing this
> > line:
> > [java]
> > /home/mso206/eclipse/plugins/org.eclipse.pde.build_3.3.2.v20071019/scri
> > pts/build.xml:112: The following error occurred while executing this
> > line:
> > [java]
> > /home/mso206/cruisecontrol/checkout/gitclipse/edu.nyu.cs.gitclipse.buil
> > d/customTargets.xml:140: The following error occurred while executing
> > this line:
> > [java]
> > /home/mso206/cruisecontrol/checkout/gitclipse/edu.nyu.cs.gitclipse.buil
> > d/customTargets.xml:194: Java returned: 13
> >
> > ----- Original Message -----
> > From: Patrick Winters <pat...@ny...>
> > Date: Saturday, August 2, 2008 6:11 pm
> > Subject: RE: Testing and Publishing to Update Site
> > To: 'Michelle S Osborne' <ms...@ny...>
> > Cc: git...@li...
> >
> > > BTW. I noticed the build is failing due to tests runner failure.
> > I'm
> > > not
> > > sure what's going on there, but I wonder if it's related to the
> > annoying
> > > headless eclipse problem I had awhile back and never resolved.
> > >
> > > Try opening a shell to linserv and running the build manually. I
> > > wonder if
> > > it's a DISPLAY related problem.
> > >
> > > > -----Original Message-----
> > > > From: Michelle S Osborne [mailto:ms...@ny...]
> > > > Sent: Saturday, August 02, 2008 5:56 PM
> > > > To: pat...@ny...
> > > > Cc: git...@li...
> > > > Subject: Re: Testing and Publishing to Update Site
> > > >
> > > > Patrick,
> > > >
> > > > The ant jar is added and the test framework plugin is up-to-date.
> > > >
> > > > Right now build.local.properties is under version control - all
> of
> > the
> > > > CC files are at https://subversive.cims.nyu.edu/osp/cruisecontrol/.
> > > If
> > > > there has to be a password in the file, should we make a new
> > > > sourceforge user just for this purpose? Does the updateUser need
> > any
> > > > kind of privilege that we wouldn't want anyone who checks our build
> > > > scripts out of version control to be able to access? If so then
> > I'll
> > > > take the properties file out of svn and use my sourceforge info.
> > > >
> > > > Michelle
> > > >
> > > > ----- Original Message -----
> > > > From: Patrick Winters <pat...@ny...>
> > > > Date: Saturday, August 2, 2008 4:47 pm
> > > > Subject: Testing and Publishing to Update Site
> > > > To: Michelle S Osborne <ms...@ny...>
> > > > Cc: git...@li...
> > > >
> > > > > Okay,
> > > > > It took awhile but this should all be working now.
> > > > >
> > > > > You need to add that jar for the optional SCP task somewhere
> in
> > > > your
> > > > > ant lib. Again, you should add it to ~/.ant/lib/
> > > > > http://prdownloads.sourceforge.net/jsch/jsch-0.1.39.jar?download
> > > > > Build.local.properties has three more entries if you want it
> to
> > > > > publish. If you have any entry for "publish" it will think you
> > want
> > > > to,
> > > > > because it only checks that the property is set.
> > > > >
> > > > > updateUser=sourceforgeUser
> > > > > updatePassword=yourPassword
> > > > > publish=true
> > > > >
> > > > > Testing should also work now, and fail the build with a junit
> > xml
> > > > > report in the usual place.
> > > > > --
> > > > > Patrick
> > > > >
> > > > > On Sat, 2008-08-02 at 14:52 -0400, Michelle S Osborne wrote:
> > > > > > i noticed this line in the build log:
> > > > > >
> > > > > > [java]
> > > > > /home/mso206/cruisecontrol/gitclipse-
> > > > build/plugins/edu.nyu.cs.gitclipse.test/test.xml:11:
> > > > > Basedir
> > > > > /home/mso206/cruisecontrol/gitclipse-
> > > > build/plugins/edu.nyu.cs.gitclipse.test/${eclipse-test-home}
> > > > > does not exist
> > > > > >
> > > > > > That doesn't make sense for a couple of reasons. One is that
> > > > > eclipse-test-home definitely is defined in test.local.properties,
> > > and
> > > > > the second is that eclipse-test-home is the directory that the
> > > > version
> > > > > of eclipse we're running tests against gets expanded to. That
> > should
> > > > > be completely separate from the gitclipse-build directory, which
> > is
> > > > > where the project gets built.
> > > > > >
> > > > > > Michelle
> > > > > >
> > > > > > ----- Original Message -----
> > > > > > From: osp...@ny...
> > > > > > Date: Saturday, August 2, 2008 2:09 pm
> > > > > > Subject: [Gitclipse-build] [cc] gitclipse Build Failed
> > > > > > To: git...@li...
> > > > > >
> > > > > > > View results here ->
> > > > http://linserv3.cims.nyu.edu:33333?log=log20080802140739
> > > > > > >
> > > > > > >
> > > > > > > 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.buil
> > > > d/build.xml:106:
> > > > > > > Java returned: 13
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Date of build:
> > > > > > > 08/02/2008 14:07:39
> > > > > > >
> > > > > > >
> > > > > > > Time to build:
> > > > > > > 1 minute 19 seconds
> > > > > > >
> > > > > > >
> > > > > > > Last changed:
> > > > > > > 08/02/2008 14:04:22
> > > > > > >
> > > > > > >
> > > > > > > Last log entry:
> > > > > > > Added publishing for update site.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Errors/Warnings: (6)
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > BUILD
> > > > > > >
> > > > >
> > > >
> > FAILED/home/mso206/eclipse/plugins/org.eclipse.pde.build_3.3.2.v2007101
> > > > 9/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:139:
> > > > >
> > > > > > > The following error occurred while executing this
> > > > > > >
> > > > >
> > > >
> > line:/home/mso206/cruisecontrol/checkout/gitclipse/edu.nyu.cs.gitclipse
> > > > .build/customTargets.xml:186:
> > > > >
> > > > > > > Java returned: 13Total time: 1 minute 5 seconds
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Unit Tests: (0)
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > No Tests Run
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > This project doesn't have any tests
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Modifications since last successful build:
> > > > > > > (4)
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > modified
> > > > > > > pcw216
> > > > > > >
> > > > /gitclipse/trunk/edu.nyu.cs.gitclipse.build/customTargets.xml
> > > > > > > 08/02/2008 14:04:22
> > > > > > > Added publishing for update site.
> > > > > > >
> > > > > > >
> > > > > > > modified
> > > > > > > pcw216
> > > > > > >
> > > > /gitclipse/trunk/edu.nyu.cs.gitclipse.feature/feature.xml
> > > > > > > 08/02/2008 14:04:20
> > > > > > > Added publishing for update site.
> > > > > > >
> > > > > > >
> > > > > > > modified
> > > > > > > pcw216
> > > > > > > /gitclipse/trunk/edu.nyu.cs.gitclipse.test/test.xml
> > > > > > > 08/02/2008 14:04:19
> > > > > > > Added publishing for update site.
> > > > > > >
> > > > > > >
> > > > > > > modified
> > > > > > > pcw216
> > > > > > > /gitclipse/trunk/edu.nyu.cs.gitclipse.test/test.xml
> > > > > > > 08/02/2008 02:44:25
> > > > > > > Fail the test runner after all tests have run.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > -------------------------------------------------------------
> > ----
> > > > --------
> > > > > > > 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
> > > > > >
> > > > > > ---------------------------------------------------------------
> > ----
> > > > ------
> > > > > > 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
> > > > >
> > >
>
|