CVS build errors

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

CVS build errors

Russel Winder
Just thought I would report that on Ubuntu 5.10 CVS HEAD 2006-03-12
19:15 has the following problems:

    [junit] Running UberTestCase
    [junit] Tests run: 643, Failures: 0, Errors: 1, Time elapsed: 12.284
sec
    [junit] [ERROR] TEST UberTestCase FAILED
    [junit] Running UberTestCase2
    [junit] Tests run: 169, Failures: 0, Errors: 0, Time elapsed: 5.583
sec
    [junit] Running UberTestCase3
    [junit] Tests run: 149, Failures: 2, Errors: 2, Time elapsed: 14.472
sec
    [junit] [ERROR] TEST UberTestCase3 FAILED
    [junit] Running UberTestCase4
    [junit] Tests run: 90, Failures: 0, Errors: 0, Time elapsed: 13.405
sec
    [junit] Running UberTestCaseLongRunningTests
    [junit] Tests run: 223, Failures: 0, Errors: 0, Time elapsed: 8.393
sec
    [junit] Running UberTestCaseTCK
    [junit] Tests run: 26, Failures: 0, Errors: 0, Time elapsed: 1.005
sec

ÜberTestCase:

Testcase:
testExecuteCommandLineProcessAndUseWaitForOrKill_FAILS_UNLESS_MAC(GroovyMethodsTest): Caused an ERROR
failed to invoke method: groovy.lang.MetaMethod@ad40a0[name: exitValue
params: {} returns: int owner: class java.lang.Process] on:
java.lang.UNIXProcess@6dd60e with arguments: {}reason:
java.lang.IllegalThreadStateException: process hasn't exited
groovy.lang.GroovyRuntimeException: failed to invoke method:
groovy.lang.MetaMethod@ad40a0[name: exitValue params: {} returns: int
owner: class java.lang.Process] on: java.lang.UNIXProcess@6dd60e with
arguments: {}reason: java.lang.IllegalThreadStateException: process
hasn't exited
        at
org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:667)
        at
groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:343)
        at
org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:144)
        at
org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:104)
        at
org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethod(ScriptBytecodeAdapter.java:85)
        at
org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeNoArgumentsMethod(ScriptBytecodeAdapter.java:175)
        at
GroovyMethodsTest.testExecuteCommandLineProcessAndUseWaitForOrKill_FAILS_UNLESS_MAC(GroovyMethodsTest.groovy:202)


ÜbertestCase3

Testcase: testRealoding(groovy.lang.ClassReloadingTest):        Caused
an ERROR
Expression: (goodbye == object.hello)
java.lang.AssertionError: Expression: (goodbye == object.hello)
        at
org.codehaus.groovy.runtime.InvokerHelper.assertFailed(InvokerHelper.java:506)
        at
org.codehaus.groovy.runtime.ScriptBytecodeAdapter.assertFailed(ScriptBytecodeAdapter.java:554)
        at
groovy.lang.ClassReloadingTest.testRealoding(ClassReloadingTest.groovy:35)


Testcase: testSample(CliBuilderTest):   FAILED
expected:<false> but was:<ASCII>
junit.framework.AssertionFailedError: expected:<false> but was:<ASCII>
        at gjdk.CliBuilderTest_GroovyReflector.invoke(Unknown Source)
        at groovy.lang.MetaMethod.invoke(MetaMethod.java:111)
        at
org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:652)
        at
groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:343)
        at
org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:156)
        at
org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:104)
        at
org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethod(ScriptBytecodeAdapter.java:85)
        at CliBuilderTest.testSample(CliBuilderTest.groovy:34)


Testcase: testMultipleArgs(CliBuilderTest):     FAILED
expected:<false> but was:<1>
junit.framework.AssertionFailedError: expected:<false> but was:<1>
        at gjdk.CliBuilderTest_GroovyReflector.invoke(Unknown Source)
        at groovy.lang.MetaMethod.invoke(MetaMethod.java:111)
        at
org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:652)
        at
groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:343)
        at
org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:156)
        at
org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:104)
        at
org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethod(ScriptBytecodeAdapter.java:85)
        at CliBuilderTest.testMultipleArgs(CliBuilderTest.groovy:46)


Testcase: testFailedParsePrintsUsage(CliBuilderTest):   Caused an ERROR
Expression: (writer.toString().tokenize(
).join(
) == error: -x
usage: groovy
 -x   message)
java.lang.AssertionError: Expression: (writer.toString().tokenize(
).join(
) == error: -x
usage: groovy
 -x   message)
        at
org.codehaus.groovy.runtime.InvokerHelper.assertFailed(InvokerHelper.java:506)
        at
org.codehaus.groovy.runtime.ScriptBytecodeAdapter.assertFailed(ScriptBytecodeAdapter.java:554)
        at
CliBuilderTest.testFailedParsePrintsUsage(CliBuilderTest.groovy:64)



--
Russel.
====================================================
Dr Russel Winder                +44 20 7585 2200
41 Buckmaster Road              +44 7770 465 077
London SW11 1EN, UK             [hidden email]

signature.asc (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: CVS build errors

Russel Winder
Then of course I remembered about the
commons-cli/jars/commons-cli-1.0.jar problem so I deleted the file and
re-ran:

    [junit] Running UberTestCase
    [junit] Tests run: 643, Failures: 0, Errors: 1, Time elapsed: 12.116
sec
    [junit] [ERROR] TEST UberTestCase FAILED
    [junit] Running UberTestCase2
    [junit] Tests run: 169, Failures: 0, Errors: 0, Time elapsed: 5.238
sec
    [junit] Running UberTestCase3
    [junit] Tests run: 149, Failures: 0, Errors: 1, Time elapsed: 15.396
sec
    [junit] [ERROR] TEST UberTestCase3 FAILED
    [junit] Running UberTestCase4
    [junit] Tests run: 90, Failures: 0, Errors: 0, Time elapsed: 13.113
sec
    [junit] Running UberTestCaseLongRunningTests
    [junit] Tests run: 223, Failures: 0, Errors: 0, Time elapsed: 7.785
sec
    [junit] Running UberTestCaseTCK
    [junit] Tests run: 26, Failures: 0, Errors: 0, Time elapsed: 1.085
sec


ÜberTestCase


Testcase:
testExecuteCommandLineProcessAndUseWaitForOrKill_FAILS_UNLESS_MAC(GroovyMethodsTest): Caused an ERROR
failed to invoke method: groovy.lang.MetaMethod@ad40a0[name: exitValue
params: {} returns: int owner: class java.lang.Process] on:
java.lang.UNIXProcess@6dd60e with arguments: {}reason:
java.lang.IllegalThreadStateException: process hasn't exited
groovy.lang.GroovyRuntimeException: failed to invoke method:
groovy.lang.MetaMethod@ad40a0[name: exitValue params: {} returns: int
owner: class java.lang.Process] on: java.lang.UNIXProcess@6dd60e with
arguments: {}reason: java.lang.IllegalThreadStateException: process
hasn't exited
        at
org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:667)
        at
groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:343)
        at
org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:144)
        at
org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:104)
        at
org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethod(ScriptBytecodeAdapter.java:85)
        at
org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeNoArgumentsMethod(ScriptBytecodeAdapter.java:175)
        at
GroovyMethodsTest.testExecuteCommandLineProcessAndUseWaitForOrKill_FAILS_UNLESS_MAC(GroovyMethodsTest.groovy:202)


ÜberTestCase3


Testcase: testRealoding(groovy.lang.ClassReloadingTest):        Caused
an ERROR
Expression: (goodbye == object.hello)
java.lang.AssertionError: Expression: (goodbye == object.hello)
        at
org.codehaus.groovy.runtime.InvokerHelper.assertFailed(InvokerHelper.java:506)
        at
org.codehaus.groovy.runtime.ScriptBytecodeAdapter.assertFailed(ScriptBytecodeAdapter.java:554)
        at
groovy.lang.ClassReloadingTest.testRealoding(ClassReloadingTest.groovy:35)


--
Russel.
====================================================
Dr Russel Winder                +44 20 7585 2200
41 Buckmaster Road              +44 7770 465 077
London SW11 1EN, UK             [hidden email]

signature.asc (196 bytes) Download Attachment
tog
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: CVS build errors

tog
Hi,

I have the same problem here on UTC but on my machine (Windows XP/jdk1.5.0_06) the second problem does not show up.

Jochen, Is the new pb in UTC related to the letest commits on Processes handling ?

cheers
tog

On 3/12/06, Russel Winder <[hidden email]> wrote:
Then of course I remembered about the
commons-cli/jars/commons-cli-1.0.jar problem so I deleted the file and
re-ran:

    [junit] Running UberTestCase
    [junit] Tests run: 643, Failures: 0, Errors: 1, Time elapsed: 12.116
sec
    [junit] [ERROR] TEST UberTestCase FAILED
    [junit] Running UberTestCase2
    [junit] Tests run: 169, Failures: 0, Errors: 0, Time elapsed: 5.238
sec
    [junit] Running UberTestCase3
    [junit] Tests run: 149, Failures: 0, Errors: 1, Time elapsed: 15.396
sec
    [junit] [ERROR] TEST UberTestCase3 FAILED
    [junit] Running UberTestCase4
    [junit] Tests run: 90, Failures: 0, Errors: 0, Time elapsed: 13.113
sec
    [junit] Running UberTestCaseLongRunningTests
    [junit] Tests run: 223, Failures: 0, Errors: 0, Time elapsed: 7.785
sec
    [junit] Running UberTestCaseTCK
    [junit] Tests run: 26, Failures: 0, Errors: 0, Time elapsed: 1.085
sec


ÜberTestCase


Testcase:
testExecuteCommandLineProcessAndUseWaitForOrKill_FAILS_UNLESS_MAC(GroovyMethodsTest): Caused an ERROR
failed to invoke method: groovy.lang.MetaMethod@ad40a0[name: exitValue
params: {} returns: int owner: class java.lang.Process] on:
java.lang.UNIXProcess@6dd60e with arguments: {}reason:
java.lang.IllegalThreadStateException: process hasn't exited
groovy.lang.GroovyRuntimeException : failed to invoke method:
groovy.lang.MetaMethod@ad40a0[name: exitValue params: {} returns: int
owner: class java.lang.Process] on: java.lang.UNIXProcess@6dd60e with
arguments: {}reason: java.lang.IllegalThreadStateException : process
hasn't exited
        at
org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:667)
        at
groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:343)
        at
org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:144)
        at
org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:104)
        at
org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethod (ScriptBytecodeAdapter.java:85)
        at
org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeNoArgumentsMethod(ScriptBytecodeAdapter.java:175)
        at
GroovyMethodsTest.testExecuteCommandLineProcessAndUseWaitForOrKill_FAILS_UNLESS_MAC (GroovyMethodsTest.groovy:202)


ÜberTestCase3


Testcase: testRealoding(groovy.lang.ClassReloadingTest):        Caused
an ERROR
Expression: (goodbye == object.hello)
java.lang.AssertionError: Expression: (goodbye == object.hello)
        at
org.codehaus.groovy.runtime.InvokerHelper.assertFailed(InvokerHelper.java:506)
        at
org.codehaus.groovy.runtime.ScriptBytecodeAdapter.assertFailed(ScriptBytecodeAdapter.java:554)
        at
groovy.lang.ClassReloadingTest.testRealoding(ClassReloadingTest.groovy:35)


--
Russel.
====================================================
Dr Russel Winder                +44 20 7585 2200
41 Buckmaster Road              +44 7770 465 077
London SW11 1EN, UK             [hidden email]


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBEFHbzr2EGkixYSboRAuvaAJ9h8czPUjIkovfCGOhyqVez3IviwgCcCXAo
Shg92X+HMjn8OJ20SwCVQQ8=
=jljO
-----END PGP SIGNATURE-----



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: CVS build errors

Jochen Theodorou
tog schrieb:
> Hi,
>
> I have the same problem here on UTC but on my machine (Windows
> XP/jdk1.5.0_06) the second problem does not show up.

ok, you are on Windows, that means
testExecuteCommandLineProcessAndUseWaitForOrKill_FAILS_UNLESS_MAC(GroovyMethodsTest)
is expected to fail. So what is the problem? I think the problem is that
it does not fail, it causes an error and the "notYetImplemented()"
mechanism doesn't catch this. Dirk, right?

> Jochen, Is the new pb in UTC related to the letest commits on Processes
> handling ?

I learned that this problems is rather nondeterministic. activating some
tests somehwere does cause a commandline problem somewhere else. A sign
we are not doing this right at all. The processes should be unrelated,
but somehow I get the feeling they are not.


[...]
>     Testcase: testRealoding(groovy.lang.ClassReloadingTest):        Caused
>     an ERROR
>     Expression: (goodbye == object.hello)
>     java.lang.AssertionError: Expression: (goodbye == object.hello)

this one is especially annoying me. I don't really know why it fails. It
does work when not executed as part of the testsuite. Grails does test
this and it works there... So basically it can't be wrong, but in the
special enviroment something is not as it should be... but I can't lay
my finger on it... it must have to do with the different classloaders.

bye blackdrag
Loading...