Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » SWTBot Ant Build Time out
SWTBot Ant Build Time out [message #525387] Tue, 06 April 2010 04:00
Ralf Ebert is currently offline Ralf Ebert
Messages: 168
Registered: July 2009
Senior Member
Hi,

I just tried to setup a working build of SWTBot again so I can execute the tests on
Carbon. The materialize workspace and build step works fine, but after the first tests are
ran, the build gets stuck and runs in a timeout after 5 minutes or so:

[java] test:
[java] [mkdir] Created dir:
/Users/ralf/jobs/re_external/eclipse/swtbot/org.eclipse.swtb ot.releng/artifacts/tests/org.eclipse.swtbot.swt.finder.test /junit/xml
[java] [junit] Running org.eclipse.swtbot.swt.finder.ReferenceByTest
[java] [junit] Testsuite: org.eclipse.swtbot.swt.finder.ReferenceByTest
[java] [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0,316 sec
[java] [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0,316 sec
[java] [junit]
[java] [junit] Testcase: methodArguments took 0,1 sec
[java] [junit] Testcase: methodNameSuffix took 0 sec
[java] [junit] Testcase: matcherMethod took 0,001 sec
[java] [junit] Testcase: compatibilityWithOtherReferences took 0 sec
[java] [junit] Testcase: generatesCombinations took 0,054 sec
[java] [junit] Running org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeTest
[java] [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
[java] [junit] Tests FAILED (timeout)
[java] [mkdir] Created dir:
/Users/ralf/jobs/re_external/eclipse/swtbot/org.eclipse.swtb ot.releng/artifacts/tests/org.eclipse.swtbot.swt.finder.test /junit/html
[java] [junitreport] the file
/Users/ralf/jobs/re_external/eclipse/swtbot/org.eclipse.swtb ot.releng/artifacts/tests/org.eclipse.swtbot.swt.finder.test /junit/xml/TEST-org.eclipse.swtbot.swt.finder.SWTBot2Test.xm l
is empty.
[java] [junitreport] This can be caused by the test JVM exiting unexpectedly
[java] [junitreport] Processing
/Users/ralf/jobs/re_external/eclipse/swtbot/org.eclipse.swtb ot.releng/artifacts/tests/org.eclipse.swtbot.swt.finder.test /junit/xml/TESTS-TestSuites.xml
to /var/folders/bw/bwIGPQD-GZq-Mu3ehgTnDU+++TI/-Tmp-/null190395 0261
[java] [junitreport] Loading stylesheet
jar:file:/Users/ralf/jobs/re_external/eclipse/swtbot/eclipse /plugins/org.apache.ant_1.7.1.v20090120-1145/lib/ant-junit.j ar!/org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-f rames.xsl
[java] [junitreport] Transform time: 668ms
[java] [junitreport] Deleting:
/var/folders/bw/bwIGPQD-GZq-Mu3ehgTnDU+++TI/-Tmp-/null190395 0261
[java] [echo] Test reports available at:
/Users/ralf/jobs/re_external/eclipse/swtbot/org.eclipse.swtb ot.releng/artifacts/tests/org.eclipse.swtbot.swt.finder.test /junit/html/index.html
[java]
[java] BUILD FAILED
[java]
/Users/ralf/jobs/re_external/eclipse/swtbot/org.eclipse.swtb ot.releng/test-sandbox/test.xml:306:
The following error occurred while executing this line:
[java]
/Users/ralf/jobs/re_external/eclipse/swtbot/org.eclipse.swtb ot.releng/test-sandbox/test.xml:293:
The following error occurred while executing this line:
[java]
/Users/ralf/jobs/re_external/eclipse/swtbot/org.eclipse.swtb ot.releng/test-sandbox/org.eclipse.swtbot.swt.finder.test.xm l:103:
Tests failed: check test reports.
[java]
[java] Total time: 20 minutes 49 seconds

BUILD FAILED
/Users/ralf/jobs/re_external/eclipse/swtbot/org.eclipse.swtb ot.releng/build.xml:300: Java
returned: 13

Total time: 22 minutes 19 seconds


---

Environment:

printjvm:
[exec] The command attribute is deprecated.
[exec] Please use the executable attribute and nested arg elements.
[exec] java version "1.6.0_17"
[exec] Java(TM) SE Runtime Environment (build 1.6.0_17-b04-248-10M3025)
[exec] Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01-101, mixed mode)
[echoproperties] #Ant properties
[echoproperties] #Mon Apr 05 18:33:16 CEST 2010
[echoproperties] java.awt.graphicsenv=apple.awt.CGraphicsEnvironment
[echoproperties] java.awt.printerjob=apple.awt.CPrinterJob
[echoproperties]
java.class.path=/usr/share/ant/lib/ant-launcher.jar\:/usr/sh are/ant/lib/ant-antlr.jar\:/usr/share/ant/lib/ant-jai.jar\:/ usr/share/ant/lib/ant-jmf.jar\:/usr/share/ant/lib/ant-junit. jar\:/usr/share/ant/lib/ant-launcher.jar\:/usr/share/ant/lib /ant-nodeps.jar\:/usr/share/ant/lib/ant-swing.jar\:/usr/shar e/ant/lib/ant-testutil.jar\:/usr/share/ant/lib/ant-trax.jar\ :/usr/share/ant/lib/ant.jar\:/usr/share/ant/lib/xercesImpl.j ar\:/usr/share/ant/lib/xml-apis.jar
[echoproperties] java.class.version=50.0
[echoproperties]
java.endorsed.dirs=/System/Library/Frameworks/JavaVM.framewo rk/Versions/1.6.0/Home/lib/endorsed
[echoproperties]
java.ext.dirs=/Library/Java/Extensions\:/System/Library/Java /Extensions\:/System/Library/Frameworks/JavaVM.framework/Ver sions/1.6.0/Home/lib/ext
[echoproperties] java.home=/System/Library/Frameworks/JavaVM.framework/Versio ns/1.6.0/Home
[echoproperties] java.io.tmpdir=/var/folders/bw/bwIGPQD-GZq-Mu3ehgTnDU+++TI/- Tmp-/
[echoproperties]
java.library.path=.\:/Library/Java/Extensions\:/System/Libra ry/Java/Extensions\:/usr/lib/java
[echoproperties] java.runtime.name=Java(TM) SE Runtime Environment
[echoproperties] java.runtime.version=1.6.0_17-b04-248-10M3025
[echoproperties] java.specification.name=Java Platform API Specification
[echoproperties] java.specification.vendor=Sun Microsystems Inc.
[echoproperties] java.specification.version=1.6
[echoproperties] java.vendor=Apple Inc.
[echoproperties] java.vendor.url=http\://www.apple.com/
[echoproperties] java.vendor.url.bug=http\://bugreport.apple.com/
[echoproperties] java.version=1.6.0_17
[echoproperties] java.vm.info=mixed mode
[echoproperties] java.vm.name=Java HotSpot(TM) 64-Bit Server VM
[echoproperties] java.vm.specification.name=Java Virtual Machine Specification
[echoproperties] java.vm.specification.vendor=Sun Microsystems Inc.
[echoproperties] java.vm.specification.version=1.0
[echoproperties] java.vm.vendor=Apple Inc.
[echoproperties] java.vm.version=14.3-b01-101


Any ideas what could be the cause for this?

Greetings,

Ralf


--
http://www.ralfebert.de/blog/
http://twitter.com/ralfebert/
Previous Topic:Tabbing between the cells
Next Topic:How to access TestData from headless build
Goto Forum:
  


Current Time: Fri Apr 18 14:11:57 EDT 2014

Powered by FUDForum. Page generated in 0.01570 seconds