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: cdt-dev-bounces@xxxxxxxxxxx 
> [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Marc Khouzam
> Sent: Tuesday, January 22, 2013 9:08 AM
> To: 'Andrew Gvozdev'
> Cc: 'CDT General developers list.'
> Subject: Re: [cdt-dev] Hudson build problem related to gdb tests
> 
> Thanks Andrew.
> 
> I'll look into that.

I am able to reproduce the problem on my machine.
It is not the debug tests that hang, but a dialog
that pops up and waits forever for "someone" to press
OK.  I hadn't noticed this before because I usually run
the Debug tests in headless mode.
I'll keep digging to see why this is happening.

I hope to have the tests back to normal soon.

Thanks for your patience.

> 
> > -----Original Message-----
> > From: Andrew Gvozdev [mailto:angvoz.dev@xxxxxxxxx] 
> > Sent: Tuesday, January 22, 2013 9:00 AM
> > To: Marc Khouzam
> > Cc: CDT General developers list.
> > Subject: Re: Hudson build problem related to gdb tests
> > 
> > I figured out ${gdbPathOption}.That property was set for 
> "production"
> > profile only. I made it visible for other profiles as well.
> > 
> > Now build for my branch runs gdb tests. However, the tests get hung,
> > both for my branch and for master builds. 3 last builds of 
> cdt-nightly
> > got aborted due to hanging tests.
> > 
> > Thanks,
> > Andrew
> > 
> > On Mon, Jan 21, 2013 at 2:08 PM, Marc Khouzam 
> > <marc.khouzam@xxxxxxxxxxxx> wrote:
> > >> -----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.e
> > clipse.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=9e
> 6ee807a9eb89a255ac60ecfd513b5bba84fdfa
> > >
> > > I'm surprised it fails, since it works for master and cdt-maint.
> > 
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
> 

Back to the top