Derby
  1. Derby
  2. DERBY-5812

test failure in org.apache.derbyTesting.functionTests.tests.multi.StressMultiTestjava.security.AccessControlException: Access denied (java.lang.RuntimePermission modifyThread)

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: 10.9.1.0
    • Fix Version/s: None
    • Component/s: Test
    • Environment:
      IBM iseries V6R1, ibm 1.6 (build pap3260sr9ifix-20110211_02(SR9+IZ94423))
    • Urgency:
      Low

      Description

      This test failure happened once after the failures of DERBY-5811, and seems related as it's also a java.security.AccessControlException. However, this test failure occurred only once, and did not reproduce when running the test nor when rerunning suites.All.
      But after this failure, the default test database 'wombat' became unavailable, the derby system shutdown, other singleuse dbs also became unavailable, resulting in 40 failures and 667 errors.

      org.apache.derbyTesting.functionTests.tests.multi.StressMultiTestjava.security.AccessControlException: Access denied (java.lang.RuntimePermission modifyThread)
      at java.lang.Throwable.<init>(Throwable.java:67)
      at java.security.AccessControlException.<init>(AccessControlException.java:62)
      at java.security.AccessController.checkPermission(AccessController.java:68)
      at java.lang.SecurityManager.checkPermission(SecurityManager.java:544)
      at java.lang.SecurityManager.checkAccess(SecurityManager.java:671)
      at java.lang.Thread.checkAccess(Thread.java:378)
      at java.lang.Thread.interrupt(Thread.java:506)
      at org.apache.derby.iapi.services.context.ContextService$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(AccessController.java:202)
      at org.apache.derby.iapi.services.context.ContextService.notifyAllActiveThreads(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.shutdown(Unknown Source)
      at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
      at org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown Source)
      at java.sql.DriverManager.getConnection(DriverManager.java:322)
      at java.sql.DriverManager.getConnection(DriverManager.java:297)
      at org.apache.derbyTesting.junit.DriverManagerConnector.getConnectionByAttributes(DriverManagerConnector.java:163)
      at org.apache.derbyTesting.junit.DriverManagerConnector.shutEngine(DriverManagerConnector.java:140)
      at org.apache.derbyTesting.junit.TestConfiguration.shutdownEngine(TestConfiguration.java:1742)
      at org.apache.derbyTesting.junit.SystemPropertyTestSetup.tearDown(SystemPropertyTestSetup.java:115)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:22)
      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)
      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 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 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)
      at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)

      There is no fail directory saved, no derby.log for this.

        Issue Links

          Activity

          Myrna van Lunteren created issue -
          Myrna van Lunteren made changes -
          Field Original Value New Value
          Link This issue is related to DERBY-5811 [ DERBY-5811 ]
          Myrna van Lunteren made changes -
          Labels derby_triage10_10
          Urgency Low [ 10053 ]
          Gavin made changes -
          Workflow jira [ 12673095 ] Default workflow, editable Closed status [ 12801973 ]
          Myrna van Lunteren made changes -
          Link This issue relates to DERBY-6352 [ DERBY-6352 ]
          Myrna van Lunteren made changes -
          Link This issue duplicates DERBY-6352 [ DERBY-6352 ]
          Myrna van Lunteren made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Duplicate [ 3 ]
          Hide
          Myrna van Lunteren added a comment -

          closing all resolved issues reported by me.

          Show
          Myrna van Lunteren added a comment - closing all resolved issues reported by me.
          Myrna van Lunteren made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Resolved Resolved
          686d 8m 1 Myrna van Lunteren 29/Apr/14 16:54
          Resolved Resolved Closed Closed
          176d 2h 28m 1 Myrna van Lunteren 22/Oct/14 19:23

            People

            • Assignee:
              Unassigned
              Reporter:
              Myrna van Lunteren
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development