Derby
  1. Derby
  2. DERBY-5333

Intermittent assert failure in testInterruptShutdown: thread's interrupted flag lost after shutdown

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.8.2.2, 10.9.1.0
    • Component/s: JDBC
    • Labels:
      None

      Description

      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)

      1. derby-5333a.diff
        0.9 kB
        Dag H. Wanvik
      2. derby-5333-repro.diff
        0.7 kB
        Dag H. Wanvik

        Issue Links

          Activity

          Dag H. Wanvik created issue -
          Dag H. Wanvik made changes -
          Field Original Value New Value
          Description Saw this while running InterruptResilienceTest 800 times back-to-back with JDK1.7 b147 looking foir DERBY-5312.

          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)

          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)

          Dag H. Wanvik made changes -
          Attachment derby-5333-repro.diff [ 12487048 ]
          Dag H. Wanvik made changes -
          Assignee Dag H. Wanvik [ dagw ]
          Dag H. Wanvik made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Dag H. Wanvik made changes -
          Attachment derby-5333a.diff [ 12487096 ]
          Dag H. Wanvik made changes -
          Issue & fix info [Patch Available]
          Dag H. Wanvik made changes -
          Attachment derby-5333a.diff [ 12487096 ]
          Dag H. Wanvik made changes -
          Attachment derby-5333a.diff [ 12487097 ]
          Dag H. Wanvik made changes -
          Fix Version/s 10.8.1.6 [ 12316676 ]
          Fix Version/s 10.9.0.0 [ 12316344 ]
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Resolved [ 5 ]
          Issue & fix info [Patch Available]
          Dag H. Wanvik made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Dag H. Wanvik made changes -
          Link This issue is part of DERBY-4741 [ DERBY-4741 ]
          Myrna van Lunteren made changes -
          Fix Version/s 10.8.2.0 [ 12317955 ]
          Fix Version/s 10.8.1.6 [ 12316676 ]
          Myrna van Lunteren made changes -
          Fix Version/s 10.8.2.2 [ 12317968 ]
          Fix Version/s 10.8.2.0 [ 12317955 ]
          Knut Anders Hatlen made changes -
          Link This issue is duplicated by DERBY-5175 [ DERBY-5175 ]
          Gavin made changes -
          Workflow jira [ 12620393 ] Default workflow, editable Closed status [ 12797109 ]

            People

            • Assignee:
              Dag H. Wanvik
              Reporter:
              Dag H. Wanvik
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development