Derby
  1. Derby
  2. DERBY-6155

testRAFWriteInterrupted(org.apache.derbyTesting.functionTests.tests.store.InterruptResilienceTest)java.sql.SQLException: The exception 'junit.framework.AssertionFailedError: interrupt flag lost' was thrown while evaluating an expression.

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 10.8.2.2, 10.9.2.2, 10.11.0.0, 10.10.2.0
    • Fix Version/s: None
    • Component/s: Test
    • Labels:
      None
    • Environment:
    • Bug behavior facts:
      Regression Test Failure

      Description

      Ran the InterruptResilienceTest 64 times and got 12 failures on windows 7, ibm16, sane classes
      1) testRAFWriteInterrupted(org.apache.derbyTesting.functionTests.tests.store.InterruptResilienceTest)java.sql.SQLException: The exception 'junit.fram
      ework.AssertionFailedError: interrupt flag lost' was thrown while evaluating an expression.
      at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(SQLExceptionFactory40.java:101)
      at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Util.java:148)
      at org.apache.derby.impl.jdbc.Util.seeNextException(Util.java:349)
      at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(TransactionResourceImpl.java:431)
      at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(TransactionResourceImpl.java:353)
      at org.apache.derby.impl.jdbc.EmbedConnection.handleException(EmbedConnection.java:2400)
      at org.apache.derby.impl.jdbc.ConnectionChild.handleException(ConnectionChild.java:85)
      at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(EmbedStatement.java:1436)
      at org.apache.derby.impl.jdbc.EmbedStatement.execute(EmbedStatement.java:711)
      at org.apache.derby.impl.jdbc.EmbedStatement.executeLargeUpdate(EmbedStatement.java:190)
      at org.apache.derby.impl.jdbc.EmbedStatement.executeUpdate(EmbedStatement.java:179)
      at org.apache.derbyTesting.functionTests.tests.store.InterruptResilienceTest.testRAFWriteInterrupted(InterruptResilienceTest.java:215)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
      at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:117)
      at org.apache.derbyTesting.junit.BaseJDBCTestCase.runBareOverridable(BaseJDBCTestCase.java:442)
      at org.apache.derbyTesting.junit.BaseJDBCTestCase.runBare(BaseJDBCTestCase.java:459)
      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)
      Caused by: java.sql.SQLException: The exception 'junit.framework.AssertionFailedError: interrupt flag lost' was thrown while evaluating an expression
      .
      at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:42)
      at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(SQLExceptionFactory40.java:125)
      at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(SQLExceptionFactory40.java:71)
      ... 44 more
      Caused by: java.sql.SQLException: Java exception: 'interrupt flag lost: junit.framework.AssertionFailedError'.
      at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:42)
      at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(SQLExceptionFactory40.java:125)
      at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(SQLExceptionFactory40.java:71)
      at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Util.java:148)
      at org.apache.derby.impl.jdbc.Util.javaException(Util.java:370)
      at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(TransactionResourceImpl.java:436)
      ... 42 more
      Caused by: junit.framework.AssertionFailedError: interrupt flag lost
      at org.apache.derbyTesting.functionTests.tests.store.InterruptResilienceTest.tstRAFwriteInterrupted(InterruptResilienceTest.java:190)
      at org.apache.derby.exe.ac4d3680a5x013dxeb8exd721xffffa49f59380.g0(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
      at org.apache.derby.impl.services.reflect.ReflectMethod.invoke(ReflectMethod.java:46)
      at org.apache.derby.impl.sql.execute.CallStatementResultSet.open(CallStatementResultSet.java:75)
      at org.apache.derby.impl.sql.GenericPreparedStatement.executeStmt(GenericPreparedStatement.java:452)
      at org.apache.derby.impl.sql.GenericPreparedStatement.execute(GenericPreparedStatement.java:333)
      at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(EmbedStatement.java:1344)
      ... 37 more

      FAILURES!!!
      Tests run: 12, Failures: 0, Errors: 1

        Issue Links

          Activity

          Hide
          Mike Matrigali added a comment - - edited

          Here is derby.log from one of the 12 failures out of 60 runs on trunk, windows 7, sane classes, ibm 16
          ----------------------------------------------------------------^M
          Mon Apr 08 14:30:39 PDT 2013:
          Booting Derby version The Apache Software Foundation - Apache Derby - 10.11.0.0 alpha - (1465743): instance a816c00e-013d-eb8e-d721-ffffa49f5938
          on database directory C:\derby\s1\newout\system\singleUse\oneuse0 with class loader sun.misc.Launcher$AppClassLoader@bf20bf2
          Loaded from Access denied (java.lang.RuntimePermission getProtectionDomain)^M
          java.vendor=IBM Corporation
          java.runtime.version=jvmwi3260sr10-20111207_96808
          java.fullversion=JRE 1.6.0 IBM J9 2.4 Windows 7 x86-32 jvmwi3260sr10-20111207_96808 (JIT enabled, AOT enabled)
          J9VM - 20111207_096808
          JIT - r9_20111107_21307ifx1
          GC - 20110519_AA
          user.dir=C:\derby\s1\newout^M
          os.name=Windows 7
          os.arch=x86
          os.version=6.1 build 7601 Service Pack 1^M
          derby.system.home=C:\derby\s1\newout\system^M
          Warning: The database is booted with derby.system.durability=test. In this mode, it is possible that database may not be able to recover, committed t
          ransactions may be lost, database may be in an inconsistent state. Please use this mode only when these consequences are acceptable
          ^M
          Database Class Loader started - derby.database.classpath=''^M
          Mon Apr 08 14:30:45 PDT 2013 Thread[main,5,main] (XID = 2038), (SESSIONID = 1), (DATABASE = singleUse/oneuse0), (DRDAID = null), Cleanup action start
          ing^M
          Mon Apr 08 14:30:45 PDT 2013 Thread[main,5,main] (XID = 2038), (SESSIONID = 1), (DATABASE = singleUse/oneuse0), (DRDAID = null), Failed Statement is:
          call tstRAFWriteInterrupted()^M
          ERROR 38000: The exception 'junit.framework.AssertionFailedError: interrupt flag lost' was thrown while evaluating an expression.^M
          at org.apache.derby.iapi.error.StandardException.newException(StandardException.java:288)^M
          at org.apache.derby.iapi.error.StandardException.unexpectedUserException(StandardException.java:575)^M
          at org.apache.derby.impl.services.reflect.ReflectMethod.invoke(ReflectMethod.java:63)^M
          at org.apache.derby.impl.sql.execute.CallStatementResultSet.open(CallStatementResultSet.java:75)^M
          at org.apache.derby.impl.sql.GenericPreparedStatement.executeStmt(GenericPreparedStatement.java:452)^M
          at org.apache.derby.impl.sql.GenericPreparedStatement.execute(GenericPreparedStatement.java:333)^M
          at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(EmbedStatement.java:1344)^M
          at org.apache.derby.impl.jdbc.EmbedStatement.execute(EmbedStatement.java:711)^M
          at org.apache.derby.impl.jdbc.EmbedStatement.executeLargeUpdate(EmbedStatement.java:190)^M
          at org.apache.derby.impl.jdbc.EmbedStatement.executeUpdate(EmbedStatement.java:179)^M
          at org.apache.derbyTesting.functionTests.tests.store.InterruptResilienceTest.testRAFWriteInterrupted(InterruptResilienceTest.java:215)^M
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)^M
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)^M
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)^M
          at java.lang.reflect.Method.invoke(Method.java:611)^M
          at junit.framework.TestCase.runTest(TestCase.java:164)^M
          at junit.framework.TestCase.runBare(TestCase.java:130)^M
          at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:117)^M
          at org.apache.derbyTesting.junit.BaseJDBCTestCase.runBareOverridable(BaseJDBCTestCase.java:442)^M
          at org.apache.derbyTesting.junit.BaseJDBCTestCase.runBare(BaseJDBCTestCase.java:459)^M
          at junit.framework.TestResult$1.protect(TestResult.java:106)^M
          at junit.framework.TestResult.runProtected(TestResult.java:124)^M
          at junit.framework.TestResult.run(TestResult.java:109)^M
          at junit.framework.TestCase.run(TestCase.java:120)^M
          at junit.framework.TestSuite.runTest(TestSuite.java:230)^M
          at junit.framework.TestSuite.run(TestSuite.java:225)^M
          at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)^M
          at junit.extensions.TestSetup$1.protect(TestSetup.java:21)^M
          at junit.framework.TestResult.runProtected(TestResult.java:124)^M
          at junit.extensions.TestSetup.run(TestSetup.java:25)^M
          at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)^M
          at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)^M
          at junit.extensions.TestSetup$1.protect(TestSetup.java:21)^M
          at junit.framework.TestResult.runProtected(TestResult.java:124)^M
          at junit.extensions.TestSetup.run(TestSetup.java:25)^M
          at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)^M
          at junit.extensions.TestSetup$1.protect(TestSetup.java:21)^M
          at junit.framework.TestResult.runProtected(TestResult.java:124)^M
          at junit.extensions.TestSetup.run(TestSetup.java:25)^M
          at junit.framework.TestSuite.runTest(TestSuite.java:230)^M
          at junit.framework.TestSuite.run(TestSuite.java:225)^M
          at junit.textui.TestRunner.doRun(TestRunner.java:121)^M
          at junit.textui.TestRunner.start(TestRunner.java:185)^M
          at junit.textui.TestRunner.main(TestRunner.java:143)^M
          Caused by: junit.framework.AssertionFailedError: interrupt flag lost^M
          at junit.framework.Assert.fail(Assert.java:47)^M
          at junit.framework.Assert.assertTrue(Assert.java:20)^M
          at org.apache.derbyTesting.functionTests.tests.store.InterruptResilienceTest.tstRAFwriteInterrupted(InterruptResilienceTest.java:190)^M
          at org.apache.derby.exe.ac4d3680a5x013dxeb8exd721xffffa49f59380.g0(Unknown Source)^M
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)^M
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)^M
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)^M
          at java.lang.reflect.Method.invoke(Method.java:611)^M
          at org.apache.derby.impl.services.reflect.ReflectMethod.invoke(ReflectMethod.java:46)^M
          ... 41 more^M
          ============= begin nested exception, level (1) ===========^M
          junit.framework.AssertionFailedError: interrupt flag lost^M
          at junit.framework.Assert.fail(Assert.java:47)^M
          at junit.framework.Assert.assertTrue(Assert.java:20)^M
          at org.apache.derbyTesting.functionTests.tests.store.InterruptResilienceTest.tstRAFwriteInterrupted(InterruptResilienceTest.java:190)^M
          at org.apache.derby.exe.ac4d3680a5x013dxeb8exd721xffffa49f59380.g0(Unknown Source)^M
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)^M
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)^M
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)^M
          at java.lang.reflect.Method.invoke(Method.java:611)^M
          at org.apache.derby.impl.services.reflect.ReflectMethod.invoke(ReflectMethod.java:46)^M
          at org.apache.derby.impl.sql.execute.CallStatementResultSet.open(CallStatementResultSet.java:75)^M
          at org.apache.derby.impl.sql.GenericPreparedStatement.executeStmt(GenericPreparedStatement.java:452)^M
          at org.apache.derby.impl.sql.GenericPreparedStatement.execute(GenericPreparedStatement.java:333)^M
          at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(EmbedStatement.java:1344)^M
          at org.apache.derby.impl.jdbc.EmbedStatement.execute(EmbedStatement.java:711)^M
          at org.apache.derby.impl.jdbc.EmbedStatement.executeLargeUpdate(EmbedStatement.java:190)^M
          at org.apache.derby.impl.jdbc.EmbedStatement.executeUpdate(EmbedStatement.java:179)^M
          at org.apache.derbyTesting.functionTests.tests.store.InterruptResilienceTest.testRAFWriteInterrupted(InterruptResilienceTest.java:215)^M
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)^M
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)^M
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)^M
          at java.lang.reflect.Method.invoke(Method.java:611)^M
          at junit.framework.TestCase.runTest(TestCase.java:164)^M
          at junit.framework.TestCase.runBare(TestCase.java:130)^M
          at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:117)^M
          at org.apache.derbyTesting.junit.BaseJDBCTestCase.runBareOverridable(BaseJDBCTestCase.java:442)^M
          at org.apache.derbyTesting.junit.BaseJDBCTestCase.runBare(BaseJDBCTestCase.java:459)^M
          at junit.framework.TestResult$1.protect(TestResult.java:106)^M
          at junit.framework.TestResult.runProtected(TestResult.java:124)^M
          at junit.framework.TestResult.run(TestResult.java:109)^M
          at junit.framework.TestCase.run(TestCase.java:120)^M
          at junit.framework.TestSuite.runTest(TestSuite.java:230)^M
          at junit.framework.TestSuite.run(TestSuite.java:225)^M
          at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)^M
          at junit.extensions.TestSetup$1.protect(TestSetup.java:21)^M
          at junit.framework.TestResult.runProtected(TestResult.java:124)^M
          at junit.extensions.TestSetup.run(TestSetup.java:25)^M
          at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)^M
          at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)^M
          at junit.extensions.TestSetup$1.protect(TestSetup.java:21)^M
          at junit.framework.TestResult.runProtected(TestResult.java:124)^M
          at junit.extensions.TestSetup.run(TestSetup.java:25)^M
          at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)^M
          at junit.extensions.TestSetup$1.protect(TestSetup.java:21)^M
          at junit.framework.TestResult.runProtected(TestResult.java:124)^M
          at junit.extensions.TestSetup.run(TestSetup.java:25)^M
          at junit.framework.TestSuite.runTest(TestSuite.java:230)^M
          at junit.framework.TestSuite.run(TestSuite.java:225)^M
          at junit.textui.TestRunner.doRun(TestRunner.java:121)^M
          at junit.textui.TestRunner.start(TestRunner.java:185)^M
          at junit.textui.TestRunner.main(TestRunner.java:143)^M
          ============= end nested exception, level (1) ===========^M
          Cleanup action completed^M

          Show
          Mike Matrigali added a comment - - edited Here is derby.log from one of the 12 failures out of 60 runs on trunk, windows 7, sane classes, ibm 16 ----------------------------------------------------------------^M Mon Apr 08 14:30:39 PDT 2013: Booting Derby version The Apache Software Foundation - Apache Derby - 10.11.0.0 alpha - (1465743): instance a816c00e-013d-eb8e-d721-ffffa49f5938 on database directory C:\derby\s1\newout\system\singleUse\oneuse0 with class loader sun.misc.Launcher$AppClassLoader@bf20bf2 Loaded from Access denied (java.lang.RuntimePermission getProtectionDomain)^M java.vendor=IBM Corporation java.runtime.version=jvmwi3260sr10-20111207_96808 java.fullversion=JRE 1.6.0 IBM J9 2.4 Windows 7 x86-32 jvmwi3260sr10-20111207_96808 (JIT enabled, AOT enabled) J9VM - 20111207_096808 JIT - r9_20111107_21307ifx1 GC - 20110519_AA user.dir=C:\derby\s1\newout^M os.name=Windows 7 os.arch=x86 os.version=6.1 build 7601 Service Pack 1^M derby.system.home=C:\derby\s1\newout\system^M Warning: The database is booted with derby.system.durability=test. In this mode, it is possible that database may not be able to recover, committed t ransactions may be lost, database may be in an inconsistent state. Please use this mode only when these consequences are acceptable ^M Database Class Loader started - derby.database.classpath=''^M Mon Apr 08 14:30:45 PDT 2013 Thread [main,5,main] (XID = 2038), (SESSIONID = 1), (DATABASE = singleUse/oneuse0), (DRDAID = null), Cleanup action start ing^M Mon Apr 08 14:30:45 PDT 2013 Thread [main,5,main] (XID = 2038), (SESSIONID = 1), (DATABASE = singleUse/oneuse0), (DRDAID = null), Failed Statement is: call tstRAFWriteInterrupted()^M ERROR 38000: The exception 'junit.framework.AssertionFailedError: interrupt flag lost' was thrown while evaluating an expression.^M at org.apache.derby.iapi.error.StandardException.newException(StandardException.java:288)^M at org.apache.derby.iapi.error.StandardException.unexpectedUserException(StandardException.java:575)^M at org.apache.derby.impl.services.reflect.ReflectMethod.invoke(ReflectMethod.java:63)^M at org.apache.derby.impl.sql.execute.CallStatementResultSet.open(CallStatementResultSet.java:75)^M at org.apache.derby.impl.sql.GenericPreparedStatement.executeStmt(GenericPreparedStatement.java:452)^M at org.apache.derby.impl.sql.GenericPreparedStatement.execute(GenericPreparedStatement.java:333)^M at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(EmbedStatement.java:1344)^M at org.apache.derby.impl.jdbc.EmbedStatement.execute(EmbedStatement.java:711)^M at org.apache.derby.impl.jdbc.EmbedStatement.executeLargeUpdate(EmbedStatement.java:190)^M at org.apache.derby.impl.jdbc.EmbedStatement.executeUpdate(EmbedStatement.java:179)^M at org.apache.derbyTesting.functionTests.tests.store.InterruptResilienceTest.testRAFWriteInterrupted(InterruptResilienceTest.java:215)^M at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)^M at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)^M at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)^M at java.lang.reflect.Method.invoke(Method.java:611)^M at junit.framework.TestCase.runTest(TestCase.java:164)^M at junit.framework.TestCase.runBare(TestCase.java:130)^M at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:117)^M at org.apache.derbyTesting.junit.BaseJDBCTestCase.runBareOverridable(BaseJDBCTestCase.java:442)^M at org.apache.derbyTesting.junit.BaseJDBCTestCase.runBare(BaseJDBCTestCase.java:459)^M at junit.framework.TestResult$1.protect(TestResult.java:106)^M at junit.framework.TestResult.runProtected(TestResult.java:124)^M at junit.framework.TestResult.run(TestResult.java:109)^M at junit.framework.TestCase.run(TestCase.java:120)^M at junit.framework.TestSuite.runTest(TestSuite.java:230)^M at junit.framework.TestSuite.run(TestSuite.java:225)^M at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)^M at junit.extensions.TestSetup$1.protect(TestSetup.java:21)^M at junit.framework.TestResult.runProtected(TestResult.java:124)^M at junit.extensions.TestSetup.run(TestSetup.java:25)^M at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)^M at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)^M at junit.extensions.TestSetup$1.protect(TestSetup.java:21)^M at junit.framework.TestResult.runProtected(TestResult.java:124)^M at junit.extensions.TestSetup.run(TestSetup.java:25)^M at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)^M at junit.extensions.TestSetup$1.protect(TestSetup.java:21)^M at junit.framework.TestResult.runProtected(TestResult.java:124)^M at junit.extensions.TestSetup.run(TestSetup.java:25)^M at junit.framework.TestSuite.runTest(TestSuite.java:230)^M at junit.framework.TestSuite.run(TestSuite.java:225)^M at junit.textui.TestRunner.doRun(TestRunner.java:121)^M at junit.textui.TestRunner.start(TestRunner.java:185)^M at junit.textui.TestRunner.main(TestRunner.java:143)^M Caused by: junit.framework.AssertionFailedError: interrupt flag lost^M at junit.framework.Assert.fail(Assert.java:47)^M at junit.framework.Assert.assertTrue(Assert.java:20)^M at org.apache.derbyTesting.functionTests.tests.store.InterruptResilienceTest.tstRAFwriteInterrupted(InterruptResilienceTest.java:190)^M at org.apache.derby.exe.ac4d3680a5x013dxeb8exd721xffffa49f59380.g0(Unknown Source)^M at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)^M at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)^M at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)^M at java.lang.reflect.Method.invoke(Method.java:611)^M at org.apache.derby.impl.services.reflect.ReflectMethod.invoke(ReflectMethod.java:46)^M ... 41 more^M ============= begin nested exception, level (1) ===========^M junit.framework.AssertionFailedError: interrupt flag lost^M at junit.framework.Assert.fail(Assert.java:47)^M at junit.framework.Assert.assertTrue(Assert.java:20)^M at org.apache.derbyTesting.functionTests.tests.store.InterruptResilienceTest.tstRAFwriteInterrupted(InterruptResilienceTest.java:190)^M at org.apache.derby.exe.ac4d3680a5x013dxeb8exd721xffffa49f59380.g0(Unknown Source)^M at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)^M at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)^M at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)^M at java.lang.reflect.Method.invoke(Method.java:611)^M at org.apache.derby.impl.services.reflect.ReflectMethod.invoke(ReflectMethod.java:46)^M at org.apache.derby.impl.sql.execute.CallStatementResultSet.open(CallStatementResultSet.java:75)^M at org.apache.derby.impl.sql.GenericPreparedStatement.executeStmt(GenericPreparedStatement.java:452)^M at org.apache.derby.impl.sql.GenericPreparedStatement.execute(GenericPreparedStatement.java:333)^M at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(EmbedStatement.java:1344)^M at org.apache.derby.impl.jdbc.EmbedStatement.execute(EmbedStatement.java:711)^M at org.apache.derby.impl.jdbc.EmbedStatement.executeLargeUpdate(EmbedStatement.java:190)^M at org.apache.derby.impl.jdbc.EmbedStatement.executeUpdate(EmbedStatement.java:179)^M at org.apache.derbyTesting.functionTests.tests.store.InterruptResilienceTest.testRAFWriteInterrupted(InterruptResilienceTest.java:215)^M at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)^M at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)^M at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)^M at java.lang.reflect.Method.invoke(Method.java:611)^M at junit.framework.TestCase.runTest(TestCase.java:164)^M at junit.framework.TestCase.runBare(TestCase.java:130)^M at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:117)^M at org.apache.derbyTesting.junit.BaseJDBCTestCase.runBareOverridable(BaseJDBCTestCase.java:442)^M at org.apache.derbyTesting.junit.BaseJDBCTestCase.runBare(BaseJDBCTestCase.java:459)^M at junit.framework.TestResult$1.protect(TestResult.java:106)^M at junit.framework.TestResult.runProtected(TestResult.java:124)^M at junit.framework.TestResult.run(TestResult.java:109)^M at junit.framework.TestCase.run(TestCase.java:120)^M at junit.framework.TestSuite.runTest(TestSuite.java:230)^M at junit.framework.TestSuite.run(TestSuite.java:225)^M at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)^M at junit.extensions.TestSetup$1.protect(TestSetup.java:21)^M at junit.framework.TestResult.runProtected(TestResult.java:124)^M at junit.extensions.TestSetup.run(TestSetup.java:25)^M at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)^M at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)^M at junit.extensions.TestSetup$1.protect(TestSetup.java:21)^M at junit.framework.TestResult.runProtected(TestResult.java:124)^M at junit.extensions.TestSetup.run(TestSetup.java:25)^M at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)^M at junit.extensions.TestSetup$1.protect(TestSetup.java:21)^M at junit.framework.TestResult.runProtected(TestResult.java:124)^M at junit.extensions.TestSetup.run(TestSetup.java:25)^M at junit.framework.TestSuite.runTest(TestSuite.java:230)^M at junit.framework.TestSuite.run(TestSuite.java:225)^M at junit.textui.TestRunner.doRun(TestRunner.java:121)^M at junit.textui.TestRunner.start(TestRunner.java:185)^M at junit.textui.TestRunner.main(TestRunner.java:143)^M ============= end nested exception, level (1) ===========^M Cleanup action completed^M
          Hide
          Mike Matrigali added a comment -

          failed 8 out of 39 times in top of 10.9 branch, sane, windows 7, ibm 16

          Show
          Mike Matrigali added a comment - failed 8 out of 39 times in top of 10.9 branch, sane, windows 7, ibm 16
          Hide
          Mike Matrigali added a comment -

          failed 5 out 24 times, windows 7, sane classes, top of 10.8 branch, ibm16

          Show
          Mike Matrigali added a comment - failed 5 out 24 times, windows 7, sane classes, top of 10.8 branch, ibm16
          Hide
          Mike Matrigali added a comment -

          ran 100 times with no failures on windows 7, sane classes, top of trunk, ibm17. This is newest version of this jvm at this time (released 3/25/13):
          s1_ibm17:2>java -version
          java version "1.7.0"
          Java(TM) SE Runtime Environment (build pwi3270sr4fp1-20130325_01(SR4 FP1))
          IBM J9 VM (build 2.6, JRE 1.7.0 Windows 7 x86-32 20130306_140761 (JIT enabled, AOT enabled)
          J9VM - R26_Java726_SR4_FP1_20130306_1011_B140761
          JIT - r11.b03_20130131_32403ifx1
          GC - R26_Java726_SR4_FP1_20130306_1011_B140761
          J9CL - 20130306_140761)
          JCL - 20130315_01 based on Oracle 7u13-b08

          Show
          Mike Matrigali added a comment - ran 100 times with no failures on windows 7, sane classes, top of trunk, ibm17. This is newest version of this jvm at this time (released 3/25/13): s1_ibm17:2>java -version java version "1.7.0" Java(TM) SE Runtime Environment (build pwi3270sr4fp1-20130325_01(SR4 FP1)) IBM J9 VM (build 2.6, JRE 1.7.0 Windows 7 x86-32 20130306_140761 (JIT enabled, AOT enabled) J9VM - R26_Java726_SR4_FP1_20130306_1011_B140761 JIT - r11.b03_20130131_32403ifx1 GC - R26_Java726_SR4_FP1_20130306_1011_B140761 J9CL - 20130306_140761) JCL - 20130315_01 based on Oracle 7u13-b08
          Hide
          Mike Matrigali added a comment - - edited

          failed 6 times out of 20 when run against latest ibm16, windows, sane classes, top of trunk. This is newest version of this jvm at this time (released 3/25/13).
          java version "1.6.0"
          Java(TM) SE Runtime Environment (build pwi3260sr13fp1-20130325_01(SR13 FP1))
          IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Windows 7 x86-32 jvmwi3260sr13-20130114_134867 (JIT enabled, AOT enabled)
          J9VM - 20130114_134867
          JIT - r9_20130108_31100
          GC - 20121212_AA)
          JCL - 20130315_01

          Show
          Mike Matrigali added a comment - - edited failed 6 times out of 20 when run against latest ibm16, windows, sane classes, top of trunk. This is newest version of this jvm at this time (released 3/25/13). java version "1.6.0" Java(TM) SE Runtime Environment (build pwi3260sr13fp1-20130325_01(SR13 FP1)) IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Windows 7 x86-32 jvmwi3260sr13-20130114_134867 (JIT enabled, AOT enabled) J9VM - 20130114_134867 JIT - r9_20130108_31100 GC - 20121212_AA) JCL - 20130315_01
          Hide
          Mike Matrigali added a comment -

          adding links to all currently open failures in InterruptResienceTest, the look different so not marking duplicate, but seem likely related.
          The open list includes:
          DERBY-5754
          DERBY-6122
          DERBY-6155
          DERBY-5140
          DERBY-5176

          Show
          Mike Matrigali added a comment - adding links to all currently open failures in InterruptResienceTest, the look different so not marking duplicate, but seem likely related. The open list includes: DERBY-5754 DERBY-6122 DERBY-6155 DERBY-5140 DERBY-5176
          Hide
          Mike Matrigali added a comment -

          adding links to all currently open failures in InterruptResienceTest, the look different so not marking duplicate, but seem likely related.
          The open list includes:
          DERBY-5754
          DERBY-6122
          DERBY-6155
          DERBY-5140
          DERBY-5176

          Show
          Mike Matrigali added a comment - adding links to all currently open failures in InterruptResienceTest, the look different so not marking duplicate, but seem likely related. The open list includes: DERBY-5754 DERBY-6122 DERBY-6155 DERBY-5140 DERBY-5176
          Hide
          Mike Matrigali added a comment -

          adding links to all currently open failures in InterruptResienceTest, the look different so not marking duplicate, but seem likely related.
          The open list includes:
          DERBY-5754
          DERBY-6122
          DERBY-6155
          DERBY-5140
          DERBY-5176

          Show
          Mike Matrigali added a comment - adding links to all currently open failures in InterruptResienceTest, the look different so not marking duplicate, but seem likely related. The open list includes: DERBY-5754 DERBY-6122 DERBY-6155 DERBY-5140 DERBY-5176
          Hide
          Dag H. Wanvik added a comment -

          One theory is this could be due to the IBM run-time swallowing interrupt flags in certain methods, so that Derby never sees them and thus can't re-establish the flag on our API exit (executeUpdate).

          Show
          Dag H. Wanvik added a comment - One theory is this could be due to the IBM run-time swallowing interrupt flags in certain methods, so that Derby never sees them and thus can't re-establish the flag on our API exit (executeUpdate).
          Hide
          Myrna van Lunteren added a comment -

          I tried this with a recent build off the 10.10 branch with ibm 1.7 sr7 and it did not show; but it failed (11 out of 40 runs) with ibm 1.6 sr 16.

          Show
          Myrna van Lunteren added a comment - I tried this with a recent build off the 10.10 branch with ibm 1.7 sr7 and it did not show; but it failed (11 out of 40 runs) with ibm 1.6 sr 16.

            People

            • Assignee:
              Unassigned
              Reporter:
              Mike Matrigali
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Development