Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] 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?

Thanks,
Andrew


Back to the top