[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-dev] Hudson build problem related to gdb tests
|
> -----Original Message-----
> From: Andrew Gvozdev [mailto:angvoz.dev@xxxxxxxxx]
> Sent: Monday, January 21, 2013 1:02 PM
> To: Marc Khouzam
> Cc: CDT General developers list.
> Subject: Hudson build problem related to gdb tests
>
> Hi Marc,
> I have a Hudson job on eclipse.org which builds CDT for branch sd90.
> After a merge with master today there is a build failure related to
> gdb tests. I am getting following in the log:
>
> [INFO] Command line:
> /bin/sh -c cd
> /opt/users/hudsonbuild/workspace/cdt-sd90/dsf-gdb/org.eclipse.
> cdt.tests.dsf.gdb
> && /opt/public/common/sun-jdk1.6.0_21_x64/jre/bin/java
> -Dosgi.noShutdown=false -Dosgi.os=linux -Dosgi.ws=gtk
> -Dosgi.arch=x86_64 -Xms256m -Xmx512m -XX:MaxPermSize=256M
> '${gdbPathOption}' -jar
> /opt/users/hudsonbuild/workspace/cdt-sd90/.repository/p2/osgi/
bundle/org.eclipse.equinox.launcher/1.3.0.v20120522-1813/org.eclipse.equinox.launcher-1.3.0.v20120522-1813.jar
> -data
> /opt/users/hudsonbuild/workspace/cdt-sd90/dsf-gdb/org.eclipse.
> cdt.tests.dsf.gdb/target/work/data
> -install
> /opt/users/hudsonbuild/workspace/cdt-sd90/dsf-gdb/org.eclipse.
> cdt.tests.dsf.gdb/target/work
> -configuration
> /opt/users/hudsonbuild/workspace/cdt-sd90/dsf-gdb/org.eclipse.
> cdt.tests.dsf.gdb/target/work/configuration
> -application org.eclipse.tycho.surefire.osgibooter.uitest
> -testproperties
> /opt/users/hudsonbuild/workspace/cdt-sd90/dsf-gdb/org.eclipse.
> cdt.tests.dsf.gdb/target/surefire.properties
> Exception in thread "main" java.lang.NoClassDefFoundError:
> ${gdbPathOption}
> Caused by: java.lang.ClassNotFoundException: ${gdbPathOption}
> at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
> Could not find the main class: ${gdbPathOption}. Program will exit.
>
>
> Could you advise what tweaks are necessary to get through the build?
> The problem is that it flat fails the build rather than just report
> test failure and pass further. I compared my Hudson job with
> cdt-nightly and did not see where ${gdbPathOption} is defined. Is it
> possible to disable gdb testing for the build?
${gdbPathOption} was added in:
org.eclipse.cdt/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/pom.xml
It was added as part of commit:
http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=9e6ee807a9eb89a255ac60ecfd513b5bba84fdfa
I'm surprised it fails, since it works for master and cdt-maint.