[jira] [Commented] (DERBY-5333) Intermittent assert failure in testInterruptShutdown: thread's interrupted flag lost after shutdown

2011-07-26 Thread Dag H. Wanvik (JIRA)

[ 
https://issues.apache.org/jira/browse/DERBY-5333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13071126#comment-13071126
 ] 

Dag H. Wanvik commented on DERBY-5333:
--

Backported to 10.8 branch at 1151118, closing.

> Intermittent assert failure in testInterruptShutdown: thread's interrupted 
> flag lost after shutdown
> ---
>
> Key: DERBY-5333
> URL: https://issues.apache.org/jira/browse/DERBY-5333
> Project: Derby
>  Issue Type: Bug
>  Components: JDBC
>Reporter: Dag H. Wanvik
>Assignee: Dag H. Wanvik
>Priority: Minor
> Fix For: 10.8.1.6, 10.9.0.0
>
> Attachments: derby-5333-repro.diff, derby-5333a.diff
>
>
> Saw this while running trunk's InterruptResilienceTest 800 times back-to-back 
> with JDK1.7 b147 looking for DERBY-5312. It is independent of that issue, 
> though: I saw it with both proposed patches for that issue also.
> 1) 
> testInterruptShutdown(org.apache.derbyTesting.functionTests.tests.store.InterruptResilienceTest)junit.f\
> ramework.AssertionFailedError
> at 
> org.apache.derbyTesting.functionTests.tests.store.InterruptResilienceTest.testInterruptShutdown\
> (InterruptResilienceTest.java:667)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at 
> org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:112)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
> at junit.extensions.TestSetup.run(TestSetup.java:25)
> at 
> org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
> at junit.extensions.TestSetup.run(TestSetup.java:25)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
> at junit.extensions.TestSetup.run(TestSetup.java:25)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (DERBY-5333) Intermittent assert failure in testInterruptShutdown: thread's interrupted flag lost after shutdown

2011-07-26 Thread Dag H. Wanvik (JIRA)

[ 
https://issues.apache.org/jira/browse/DERBY-5333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13071110#comment-13071110
 ] 

Dag H. Wanvik commented on DERBY-5333:
--

Committed patch derby-5333a at svn 1151101.

> Intermittent assert failure in testInterruptShutdown: thread's interrupted 
> flag lost after shutdown
> ---
>
> Key: DERBY-5333
> URL: https://issues.apache.org/jira/browse/DERBY-5333
> Project: Derby
>  Issue Type: Bug
>  Components: JDBC
>Reporter: Dag H. Wanvik
>Assignee: Dag H. Wanvik
>Priority: Minor
> Attachments: derby-5333-repro.diff, derby-5333a.diff
>
>
> Saw this while running trunk's InterruptResilienceTest 800 times back-to-back 
> with JDK1.7 b147 looking for DERBY-5312. It is independent of that issue, 
> though: I saw it with both proposed patches for that issue also.
> 1) 
> testInterruptShutdown(org.apache.derbyTesting.functionTests.tests.store.InterruptResilienceTest)junit.f\
> ramework.AssertionFailedError
> at 
> org.apache.derbyTesting.functionTests.tests.store.InterruptResilienceTest.testInterruptShutdown\
> (InterruptResilienceTest.java:667)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at 
> org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:112)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
> at junit.extensions.TestSetup.run(TestSetup.java:25)
> at 
> org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
> at junit.extensions.TestSetup.run(TestSetup.java:25)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
> at junit.extensions.TestSetup.run(TestSetup.java:25)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (DERBY-5333) Intermittent assert failure in testInterruptShutdown: thread's interrupted flag lost after shutdown

2011-07-26 Thread Dag H. Wanvik (JIRA)

[ 
https://issues.apache.org/jira/browse/DERBY-5333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13071074#comment-13071074
 ] 

Dag H. Wanvik commented on DERBY-5333:
--

Regressions ran ok, modulo errors in LobLimitsTest, which I believe are 
unrelated.

> Intermittent assert failure in testInterruptShutdown: thread's interrupted 
> flag lost after shutdown
> ---
>
> Key: DERBY-5333
> URL: https://issues.apache.org/jira/browse/DERBY-5333
> Project: Derby
>  Issue Type: Bug
>  Components: JDBC
>Reporter: Dag H. Wanvik
>Assignee: Dag H. Wanvik
>Priority: Minor
> Attachments: derby-5333-repro.diff, derby-5333a.diff
>
>
> Saw this while running trunk's InterruptResilienceTest 800 times back-to-back 
> with JDK1.7 b147 looking for DERBY-5312. It is independent of that issue, 
> though: I saw it with both proposed patches for that issue also.
> 1) 
> testInterruptShutdown(org.apache.derbyTesting.functionTests.tests.store.InterruptResilienceTest)junit.f\
> ramework.AssertionFailedError
> at 
> org.apache.derbyTesting.functionTests.tests.store.InterruptResilienceTest.testInterruptShutdown\
> (InterruptResilienceTest.java:667)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at 
> org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:112)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
> at junit.extensions.TestSetup.run(TestSetup.java:25)
> at 
> org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
> at junit.extensions.TestSetup.run(TestSetup.java:25)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
> at junit.extensions.TestSetup.run(TestSetup.java:25)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (DERBY-5333) Intermittent assert failure in testInterruptShutdown: thread's interrupted flag lost after shutdown

2011-07-20 Thread Knut Anders Hatlen (JIRA)

[ 
https://issues.apache.org/jira/browse/DERBY-5333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13068471#comment-13068471
 ] 

Knut Anders Hatlen commented on DERBY-5333:
---

The patch looks correct to me. +1 to commit.

> Intermittent assert failure in testInterruptShutdown: thread's interrupted 
> flag lost after shutdown
> ---
>
> Key: DERBY-5333
> URL: https://issues.apache.org/jira/browse/DERBY-5333
> Project: Derby
>  Issue Type: Bug
>  Components: JDBC
>Reporter: Dag H. Wanvik
>Assignee: Dag H. Wanvik
>Priority: Minor
> Attachments: derby-5333-repro.diff, derby-5333a.diff
>
>
> Saw this while running trunk's InterruptResilienceTest 800 times back-to-back 
> with JDK1.7 b147 looking for DERBY-5312. It is independent of that issue, 
> though: I saw it with both proposed patches for that issue also.
> 1) 
> testInterruptShutdown(org.apache.derbyTesting.functionTests.tests.store.InterruptResilienceTest)junit.f\
> ramework.AssertionFailedError
> at 
> org.apache.derbyTesting.functionTests.tests.store.InterruptResilienceTest.testInterruptShutdown\
> (InterruptResilienceTest.java:667)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at 
> org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:112)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
> at junit.extensions.TestSetup.run(TestSetup.java:25)
> at 
> org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
> at junit.extensions.TestSetup.run(TestSetup.java:25)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
> at junit.extensions.TestSetup.run(TestSetup.java:25)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (DERBY-5333) Intermittent assert failure in testInterruptShutdown: thread's interrupted flag lost after shutdown

2011-07-19 Thread Dag H. Wanvik (JIRA)

[ 
https://issues.apache.org/jira/browse/DERBY-5333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13067854#comment-13067854
 ] 

Dag H. Wanvik commented on DERBY-5333:
--

I was able to see this in the debugger by holding back the background daemon 
doing checkpointing a bit, so there is a bug here.



> Intermittent assert failure in testInterruptShutdown: thread's interrupted 
> flag lost after shutdown
> ---
>
> Key: DERBY-5333
> URL: https://issues.apache.org/jira/browse/DERBY-5333
> Project: Derby
>  Issue Type: Bug
>  Components: JDBC
>Reporter: Dag H. Wanvik
>Priority: Minor
>
> Saw this while running trunk's InterruptResilienceTest 800 times back-to-back 
> with JDK1.7 b147 looking for DERBY-5312. It is independent of that issue, 
> though: I saw it with both proposed patches for that issue also.
> 1) 
> testInterruptShutdown(org.apache.derbyTesting.functionTests.tests.store.InterruptResilienceTest)junit.f\
> ramework.AssertionFailedError
> at 
> org.apache.derbyTesting.functionTests.tests.store.InterruptResilienceTest.testInterruptShutdown\
> (InterruptResilienceTest.java:667)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at 
> org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:112)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
> at junit.extensions.TestSetup.run(TestSetup.java:25)
> at 
> org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
> at junit.extensions.TestSetup.run(TestSetup.java:25)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
> at junit.extensions.TestSetup.run(TestSetup.java:25)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (DERBY-5333) Intermittent assert failure in testInterruptShutdown: thread's interrupted flag lost after shutdown

2011-07-19 Thread Dag H. Wanvik (JIRA)

[ 
https://issues.apache.org/jira/browse/DERBY-5333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13067803#comment-13067803
 ] 

Dag H. Wanvik commented on DERBY-5333:
--

Data point: I did *not* see this when running 2000 iterations with patches for 
DERBY-5312 and DERBY-5325, but it could be just timing changes, too early to 
say.

> Intermittent assert failure in testInterruptShutdown: thread's interrupted 
> flag lost after shutdown
> ---
>
> Key: DERBY-5333
> URL: https://issues.apache.org/jira/browse/DERBY-5333
> Project: Derby
>  Issue Type: Bug
>  Components: JDBC
>Reporter: Dag H. Wanvik
>Priority: Minor
>
> Saw this while running trunk's InterruptResilienceTest 800 times back-to-back 
> with JDK1.7 b147 looking for DERBY-5312. It is independent of that issue, 
> though: I saw it with both proposed patches for that issue also.
> 1) 
> testInterruptShutdown(org.apache.derbyTesting.functionTests.tests.store.InterruptResilienceTest)junit.f\
> ramework.AssertionFailedError
> at 
> org.apache.derbyTesting.functionTests.tests.store.InterruptResilienceTest.testInterruptShutdown\
> (InterruptResilienceTest.java:667)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at 
> org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:112)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
> at junit.extensions.TestSetup.run(TestSetup.java:25)
> at 
> org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
> at junit.extensions.TestSetup.run(TestSetup.java:25)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
> at junit.extensions.TestSetup.run(TestSetup.java:25)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira