Skip to main content

[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 [] 
> 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 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.arch=x86_64 -Xms256m -Xmx512m -XX:MaxPermSize=256M
> '${gdbPathOption}' -jar
> /opt/users/hudsonbuild/workspace/cdt-sd90/.repository/p2/osgi/
> -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/
> Exception in thread "main" java.lang.NoClassDefFoundError: 
> ${gdbPathOption}
> Caused by: java.lang.ClassNotFoundException: ${gdbPathOption}
> 	at$
> 	at Method)
> 	at
> 	at java.lang.ClassLoader.loadClass(
> 	at sun.misc.Launcher$AppClassLoader.loadClass(
> 	at java.lang.ClassLoader.loadClass(
> 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:

It was added as part of commit:

I'm surprised it fails, since it works for master and cdt-maint.

Back to the top