[ 
https://issues.apache.org/jira/browse/DERBY-4463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Myrna van Lunteren updated DERBY-4463:
--------------------------------------

    Attachment: DERBY-4463_debugnot4commit.diff
                tmpstejdk16.out
                tmpsteibm16.out

Attaching svn diff that shows the changes I made to play with this.
In this version, I commented out the Thread.currentThread().interrupted() in 
the finally block, because when I ran the 2 tests like this, there were some 
possibly interesting differences between sun and ibm 1.6 jvms; I'm attaching 
the output of each (run with java -Dderby.tests.trace=true 
-Dderby.tests.debug=true junit.textui.TestRunner).

It seems to me that with the flag not cleared, the Sun jvm stops the running of 
the JMXTest a lot sooner than the IBM jvm. The IBM jvm gives the same result 
for the JMXTest whether the interrupted call is in the finally block of the 
Derby151Test or not (although in both cases, the Derby151Test fails if it's not 
there)

This is not for commit.

> JMX test in nightly test suite failed with:  
> JMXTest:clientjava.lang.InterruptedException:  
> --------------------------------------------------------------------------------------------
>
>                 Key: DERBY-4463
>                 URL: https://issues.apache.org/jira/browse/DERBY-4463
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.6.1.0
>         Environment: failed on windows with ibm15 and ibm16 jvms
>            Reporter: Mike Matrigali
>         Attachments: derby-4463-2.diff, derby-4463-except-non-sun-vm.diff, 
> derby-4463.diff, DERBY-4463_debugnot4commit.diff, tmpsteibm16.out, 
> tmpstejdk16.out
>
>
> 7) JMXTest:clientjava.lang.InterruptedException: 
>       at 
> org.apache.derbyTesting.junit.SpawnedProcess.complete(SpawnedProcess.java:137)
>       at 
> org.apache.derbyTesting.junit.NetworkServerTestSetup.tearDown(NetworkServerTestSetup.java:392)
>       at junit.extensions.TestSetup$1.protect(TestSetup.java:20)
>       at junit.extensions.TestSetup.run(TestSetup.java:23)
>       at 
> org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
>       at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
>       at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
>       at junit.extensions.TestSetup.run(TestSetup.java:23)
>       at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
>       at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
>       at junit.extensions.TestSetup.run(TestSetup.java:23)
> Started failing with build 887040.  Here are links for the errors the first 
> time it was encountered:
> http://people.apache.org/~myrnavl/derby_test_results/main/windows/testlog/ibm15/887040-suites.All_diff.txt
> http://people.apache.org/~myrnavl/derby_test_results/main/windows/testlog/ibm16/887040-suites.All_diff.txt
> And it still occurred in the next main build:
> http://people.apache.org/~myrnavl/derby_test_results/main/windows/testlog/ibm15/887483-suites.All_diff.txt
> http://people.apache.org/~myrnavl/derby_test_results/main/windows/testlog/ibm16/887483-suites.All_diff.txt

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to