Hi Rene,
Because the log is long I trimmed it to parts I think of main interests.
Tell me if that is not enough, I would send the whole log to you directly
then due to the sensitive nature of those data.
This is a single project build.
To enforce task execution the following command was used:
gradle -C rebuild -d test
09:37:15.225 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - testRuntime
is loaded and no conf to load. Skip loading
...
09:37:15.231 [main] DEBUG o.g.a.i.a.i.DefaultIvyDependencyResolver - Timing:
Ivy resolve took 0.055 secs
09:37:15.234 [main] DEBUG o.g.a.i.a.i.DefaultIvyReportConverter - Timing:
Translating report for configuration configuration ':testRuntime' took 0.003
secs
09:37:15.234 [main] DEBUG org.gradle.logging.IvyLoggingAdaper -
clientModule: no namespace defined: using system
...
No history is available for task ':test'.
09:37:15.298 [main] DEBUG o.g.a.i.p.t.ExecutionShortCircuitTaskExecuter -
task ':test' is not up-to-date
09:37:15.298 [main] DEBUG o.g.a.i.tasks.DefaultTaskExecuter - Executing
actions for task ':test'.
09:37:15.307 [main] DEBUG org.gradle.api.tasks.testing.Test - Started tests
09:37:15.307 [main] INFO o.g.logging.ProgressLoggingBridge -
09:37:15.347 [main] DEBUG o.g.a.i.t.t.testng.TestNGDetector -
test-class-scan : failed to scan parent class java/lang/Object, could not
find the class file
09:37:15.360 [Dispatch
org.gradle.api.internal.tasks.testing.processors.restarteveryntestclassproces...@57240e]
DEBUG o.g.m.r.i.TcpIncomingConnector - Listening on tcp://localhost:56663.
09:37:15.361 [main] DEBUG o.g.a.i.t.t.testng.TestNGDetector -
test-class-scan : failed to scan parent class java/lang/Object, could not
find the class file
09:37:15.361 [main] DEBUG o.g.a.i.t.t.testng.TestNGDetector -
test-class-scan : failed to scan parent class java/lang/Object, could not
find the class file
09:37:15.362 [main] DEBUG o.g.a.i.t.t.testng.TestNGDetector -
test-class-scan : failed to scan parent class java/lang/Object, could not
find the class file
09:37:15.362 [main] DEBUG o.g.a.i.t.t.testng.TestNGDetector -
test-class-scan : failed to scan parent class java/lang/Object, could not
find the class file
09:37:15.371 [main] DEBUG o.g.a.i.t.t.d.ClassFileExtractionManager -
extracted class org/apache/mina/core/service/IoHandlerAdapter from
mina-2.0.0-RC1-core-2.0.0-RC1.jar
09:37:15.371 [main] DEBUG o.g.a.i.t.t.testng.TestNGDetector -
test-class-scan : failed to scan parent class java/lang/Object, could not
find the class file
09:37:15.371 [main] DEBUG o.g.a.i.t.t.testng.TestNGDetector -
test-class-scan : failed to scan parent class java/lang/Object, could not
find the class file
09:37:15.383 [main] DEBUG o.g.a.i.t.t.d.ClassFileExtractionManager -
extracted class org/apache/mina/filter/codec/ProtocolEncoderAdapter from
mina-2.0.0-RC1-core-2.0.0-RC1.jar
09:37:15.384 [main] DEBUG o.g.a.i.t.t.testng.TestNGDetector -
test-class-scan : failed to scan parent class java/lang/Object, could not
find the class file
09:37:15.394 [main] DEBUG o.g.a.i.t.t.d.ClassFileExtractionManager -
extracted class org/apache/mina/filter/codec/CumulativeProtocolDecoder from
mina-2.0.0-RC1-core-2.0.0-RC1.jar
09:37:15.403 [Dispatch
org.gradle.api.internal.tasks.testing.processors.restarteveryntestclassproces...@57240e]
DEBUG o.g.p.i.DefaultWorkerProcessFactory - Creating Gradle Worker 1
(***** the above pattern is repeated several times for other classes)
09:37:16.879 [Dispatch
org.gradle.api.internal.tasks.testing.results.attachparenttestresultproces...@5332ca]
DEBUG org.gradle.api.tasks.testing.Test - Started test 'Gradle test'
09:37:19.820 [Dispatch
org.gradle.api.internal.tasks.testing.results.attachparenttestresultproces...@5332ca]
DEBUG org.gradle.api.tasks.testing.Test - Started test method
setUp(hu.prolan.smc.center.service.DefaultPsmcSchedulerTest)
09:37:19.845 [Dispatch
org.gradle.api.internal.tasks.testing.results.attachparenttestresultproces...@5332ca]
INFO org.gradle.api.tasks.testing.Test - Test method
setUp(hu.prolan.smc.center.service.DefaultPsmcSchedulerTest) FAILED:
org.gradle.messaging.remote.internal.PlaceholderException:
org.rioproject.core.JSBInstantiationException: ServiceBean [Db4oManager]
instantiation failed
09:37:19.845 [Dispatch
org.gradle.api.internal.tasks.testing.results.attachparenttestresultproces...@5332ca]
INFO o.g.logging.ProgressLoggingBridge - 1 test completed, 1 failure
09:37:19.845 [Dispatch
org.gradle.api.internal.tasks.testing.results.attachparenttestresultproces...@5332ca]
DEBUG org.gradle.api.tasks.testing.Test - Started test method
addJob(hu.prolan.smc.center.service.DefaultPsmcSchedulerTest)
09:37:19.845 [Dispatch
org.gradle.api.internal.tasks.testing.results.attachparenttestresultproces...@5332ca]
INFO org.gradle.api.tasks.testing.Test - Test method
addJob(hu.prolan.smc.center.service.DefaultPsmcSchedulerTest) SKIPPED
09:37:19.845 [Dispatch
org.gradle.api.internal.tasks.testing.results.attachparenttestresultproces...@5332ca]
INFO o.g.logging.ProgressLoggingBridge - 2 tests completed, 1 failure
09:37:19.845 [Dispatch
org.gradle.api.internal.tasks.testing.results.attachparenttestresultproces...@5332ca]
DEBUG org.gradle.api.tasks.testing.Test - Started test method
integrationDataCreated(hu.prolan.smc.center.service.DbTestData)
09:37:20.036 [Dispatch
org.gradle.api.internal.tasks.testing.results.attachparenttestresultproces...@5332ca]
INFO org.gradle.api.tasks.testing.Test - Test method
integrationDataCreated(hu.prolan.smc.center.service.DbTestData) PASSED
09:37:20.036 [Dispatch
org.gradle.api.internal.tasks.testing.results.attachparenttestresultproces...@5332ca]
INFO o.g.logging.ProgressLoggingBridge - 3 tests completed, 1 failure
09:37:20.036 [Dispatch
org.gradle.api.internal.tasks.testing.results.attachparenttestresultproces...@5332ca]
DEBUG org.gradle.api.tasks.testing.Test - Started test method
allDataDeleted(hu.prolan.smc.center.service.DbTestData)
09:37:20.073 [Run Gradle Worker 1 Thread 4] INFO system.out - 09:37:20.073
[main] INFO o.g.a.i.t.testing.worker.TestWorker - Gradle Worker 1 finished
executing tests.
09:37:20.074 [Run Gradle Worker 1 Thread 4] INFO system.out - 09:37:20.073
[main] DEBUG o.g.p.i.child.ActionExecutionWorker - Completed Gradle Worker
1.
09:37:20.074 [Run Gradle Worker 1 Thread 4] INFO system.out - 09:37:20.073
[main] DEBUG o.g.p.i.child.ActionExecutionWorker - Stopping client
connection.
09:37:20.079 [Dispatch
org.gradle.api.internal.tasks.testing.results.attachparenttestresultproces...@5332ca]
INFO org.gradle.api.tasks.testing.Test - Test method
allDataDeleted(hu.prolan.smc.center.service.DbTestData) PASSED
09:37:20.079 [Dispatch
org.gradle.api.internal.tasks.testing.results.attachparenttestresultproces...@5332ca]
INFO o.g.logging.ProgressLoggingBridge - 4 tests completed, 1 failure
09:37:20.082 [Dispatch
org.gradle.api.internal.tasks.testing.results.attachparenttestresultproces...@5332ca]
DEBUG org.gradle.api.tasks.testing.Test - Started test method
testMeterDataCreated(hu.prolan.smc.center.service.DbTestData)
09:37:20.082 [Dispatch
org.gradle.api.internal.tasks.testing.results.attachparenttestresultproces...@5332ca]
INFO org.gradle.api.tasks.testing.Test - Test method
testMeterDataCreated(hu.prolan.smc.center.service.DbTestData) PASSED
09:37:20.082 [Dispatch
org.gradle.api.internal.tasks.testing.results.attachparenttestresultproces...@5332ca]
INFO o.g.logging.ProgressLoggingBridge - 5 tests completed, 1 failure
09:37:20.082 [Dispatch
org.gradle.api.internal.tasks.testing.results.attachparenttestresultproces...@5332ca]
DEBUG org.gradle.api.tasks.testing.Test - Finished test 'Gradle test'
09:37:20.558 [Run Gradle Worker 1 Thread 2] DEBUG
o.g.p.internal.DefaultExecHandle - Process finished for Gradle Worker 1.
09:37:20.570 [main] DEBUG org.gradle.api.tasks.testing.Test - Finished tests
09:37:20.570 [main] INFO o.g.logging.ProgressLoggingBridge - 5 tests
completed, 1 failure
10:17:34.637 [Dispatch
org.gradle.api.internal.tasks.testing.results.attachparenttestresultproces...@f5517f]
DEBUG org.gradle.api.tasks.testing.Test - Finished test 'Gradle test'
10:17:34.637 [Run Gradle Worker 1 Thread 4] INFO system.out - 10:17:34.622
[main] INFO o.g.a.i.t.testing.worker.TestWorker - Gradle Worker 1 finished
executing tests.
10:17:34.637 [Run Gradle Worker 1 Thread 4] INFO system.out - 10:17:34.623
[main] DEBUG o.g.p.i.child.ActionExecutionWorker - Completed Gradle Worker
1.
10:17:34.637 [Run Gradle Worker 1 Thread 4] INFO system.out - 10:17:34.623
[main] DEBUG o.g.p.i.child.ActionExecutionWorker - Stopping client
connection.
10:17:34.740 [Run Gradle Worker 1 Thread 5] ERROR system.err - 10:17:34.739
[Thread-4] ERROR system.err - [db4o 7.12.132.14217 2010-09-03 10:17:34]
10:17:34.740 [Run Gradle Worker 1 Thread 5] ERROR system.err - 10:17:34.739
[Thread-4] ERROR system.err - '/home/kuti/psmc-db' closed by ShutdownHook.
10:17:34.741 [Dispatch
org.gradle.api.internal.tasks.testing.results.attachparenttestresultproces...@f5517f]
ERROR org.gradle.api.tasks.testing.Test - Execution for Test process 'Gradle
Worker 1' FAILED
org.gradle.api.internal.tasks.testing.TestSuiteExecutionException: Could not
complete execution for test process 'Gradle Worker 1'.
at
org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:60)
(****** here comes the exception already quoted)
10:17:35.135 [Run Gradle Worker 1 Thread 2] DEBUG
o.g.p.internal.DefaultExecHandle - Process finished for Gradle Worker 1.
10:17:35.145 [main] DEBUG org.gradle.api.tasks.testing.Test - Finished tests
10:17:35.145 [main] INFO o.g.logging.ProgressLoggingBridge - 5 tests
completed, 1 failure
10:17:35.154 [main] DEBUG o.g.a.i.tasks.SkipTaskExecuter - Finished
executing task ':test'
10:17:35.154 [main] INFO o.g.logging.ProgressLoggingBridge -
10:17:35.154 [main] DEBUG o.g.e.DefaultTaskGraphExecuter - Timing: Executing
the DAG took 9.065 secs
10:17:35.154 [main] INFO org.gradle.launcher.Main -
BUILD SUCCESSFUL
It looks one of the tests fails (in Thread's ) in a way that stops test task
execution. (I would not expect it in the presence of ignoreFailures=true,
though). As I mentioned these tests can be run from IDE. Perhaps that can
handle this situation, while gradle can not.
Thank you for looking at the problem!
--
View this message in context:
http://gradle.1045684.n5.nabble.com/Execution-for-Test-process-Gradle-Worker-1-FAILED-tp2800625p2801889.html
Sent from the gradle-user mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email