I altered the Gant build file, changing:
test {
options.systemProperties['buildFrameworkIdentifier'] = 'Gradle'
}
to be
test {
systemProperties['buildFrameworkIdentifier'] = 'Gradle'
}
as indicated by Hans via email a few days ago, and tried using a build
of Gradle Trunk as of late yesterday afternoon. This resulted in:
:gant:test
Test
testRunningAntFromShellSuccessful(org.codehaus.gant.ant.tests.Gant_Test) FAILED
Test
testBasedirInSubdirDefaultProjectForGant(org.codehaus.gant.ant.tests.Gant_Test)
FAILED
Test
testBasedirInSubdirExplicitProjectForGant(org.codehaus.gant.ant.tests.Gant_Test)
FAILED
Test testBasedirInSubdirGantTask(org.codehaus.gant.ant.tests.Gant_Test)
FAILED
Test test_GANT_80(org.codehaus.gant.ant.tests.Gant_Test) FAILED
Test testGantTaskErrorReturn(org.codehaus.gant.ant.tests.Gant_Test)
FAILED
Test testInheritAll(org.codehaus.gant.ant.tests.Gant_Test) FAILED
Test testGantTaskFaile(org.codehaus.gant.ant.tests.Gant_Test) FAILED
Could not dispatch message
org.gradle.messaging.dispatch.remotemethodinvocat...@1 to
org.gradle.messaging.dispatch.methodinvocationunmarshallingdispa...@7b30e03a.
Discarding message.
org.gradle.api.GradleException: org.gradle.api.GradleException:
org.gradle.api.GradleException: java.lang.IllegalArgumentException: Out of
order completion event received for test with id '1.1'.
at
org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:33)
at
org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:22)
at
org.gradle.messaging.dispatch.MethodInvocationUnmarshallingDispatch.dispatch(MethodInvocationUnmarshallingDispatch.java:45)
at
org.gradle.messaging.dispatch.MethodInvocationUnmarshallingDispatch.dispatch(MethodInvocationUnmarshallingDispatch.java:22)
at
org.gradle.messaging.dispatch.DiscardOnFailureDispatch.dispatch(DiscardOnFailureDispatch.java:31)
at
org.gradle.messaging.dispatch.AsyncDispatch.dispatchMessages(AsyncDispatch.java:194)
at
org.gradle.messaging.dispatch.AsyncDispatch.access$200(AsyncDispatch.java:34)
at
org.gradle.messaging.dispatch.AsyncDispatch$2.run(AsyncDispatch.java:84)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)
Caused by: org.gradle.api.GradleException:
org.gradle.api.GradleException: java.lang.IllegalArgumentException: Out of
order completion event received for test with id '1.1'.
at
org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:33)
at
org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:22)
at
org.gradle.messaging.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32)
at
org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:59)
at $Proxy2.endProcessing(Unknown Source)
at
org.gradle.api.testing.execution.fork.TestWorker.endProcessing(TestWorker.java:92)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at
org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:31)
... 10 common frames omitted
Caused by: org.gradle.api.GradleException:
java.lang.IllegalArgumentException: Out of order completion event received for
test with id '1.1'.
at
org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:33)
at
org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:22)
at
org.gradle.messaging.dispatch.ThreadSafeDispatch.dispatch(ThreadSafeDispatch.java:28)
at
org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:59)
at $Proxy3.completed(Unknown Source)
at
org.gradle.api.internal.tasks.testing.WorkerTestClassProcessor.endProcessing(WorkerTestClassProcessor.java:61)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at
org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:31)
... 20 common frames omitted
Caused by: java.lang.IllegalArgumentException: Out of order completion
event received for test with id '1.1'.
at
org.gradle.api.internal.tasks.testing.AttachParentTestResultProcessor.completed(AttachParentTestResultProcessor.java:49)
at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at
org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:31)
... 30 common frames omitted
FAILURE: Build failed with an exception.
* Where:
Empty build file
* What went wrong:
Execution failed for task ':gant:test'.
Cause: Out of order completion event received for test with id 'root'.
* Try:
Run with -s or -d option to get more details. Run with -S option to get
the full (very verbose) stacktrace.
BUILD FAILED
Total time: 1 mins 8.154 secs
The test fails are related to the Ant 1.8.0 / Ant 1.7.0 issue but are
seemingly different to those I get using the released Gradle Wrapper.
However this is a separate issue. The problem of the moment is that I
have no idea why the exceptional termination.
The problem is occurring after execution of all the tests but before
creation of the HTML reports.
And why is RMI being used?
--
Russel.
=============================================================================
Dr Russel Winder Partner
xmpp: [email protected]
Concertant LLP t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road, f: +44 8700 516 084 voip: sip:[email protected]
London SW11 1EN, UK m: +44 7770 465 077 skype: russel_winder
signature.asc
Description: This is a digitally signed message part
