Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-5889

tests.compatibility._Suite has AccessControlException errors on Windows

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.10.1.1
    • Fix Version/s: None
    • Component/s: Test
    • Environment:
      Windows Vista (possibly more variants)
    • Urgency:
      Normal
    • Bug behavior facts:
      Regression Test Failure

      Description

      The modernized compatibility test fails for certain combinations on Windows Vista.
      It is not clear to me why the failing combinations work on other platforms.

      Errors from http://dbtg.foundry.sun.com/derby/test/Daily/jvm1.7/testing/Limited/testSummary-1367634.html :
      1) combination(client 10.9.1.0 <> server 10.10.0.0)(org.apache.derbyTesting.functionTests.tests.compatibility.ClientCompatibilityRunControl)junit.framework.AssertionFailedError: client VM failed: :Spawned combination(client 10.9.1.0 <> server 10.10.0.0) exitCode=1
      1) JDBCDriverTest suitejava.security.AccessControlException: access denied ("java.net.SocketPermission" "127.0.0.1:1527" "connect,resolve")
      2) combination(client 10.8.2.2 <> server 10.10.0.0)(org.apache.derbyTesting.functionTests.tests.compatibility.ClientCompatibilityRunControl)junit.framework.AssertionFailedError: client VM failed: :Spawned combination(client 10.8.2.2 <> server 10.10.0.0) exitCode=1
      1) JDBCDriverTest suitejava.security.AccessControlException: access denied ("java.net.SocketPermission" "127.0.0.1:1527" "connect,resolve")
      3) combination(client 10.7.1.1 <> server 10.10.0.0)(org.apache.derbyTesting.functionTests.tests.compatibility.ClientCompatibilityRunControl)junit.framework.AssertionFailedError: client VM failed: :Spawned combination(client 10.7.1.1 <> server 10.10.0.0) exitCode=1
      1) JDBCDriverTest suitejava.security.AccessControlException: access denied ("java.net.SocketPermission" "127.0.0.1:1527" "connect,resolve")
      4) combination(client 10.6.2.1 <> server 10.10.0.0)(org.apache.derbyTesting.functionTests.tests.compatibility.ClientCompatibilityRunControl)junit.framework.AssertionFailedError: client VM failed: :Spawned combination(client 10.6.2.1 <> server 10.10.0.0) exitCode=1
      1) JDBCDriverTest suitejava.security.AccessControlException: access denied ("java.net.SocketPermission" "127.0.0.1:1527" "connect,resolve")
      5) combination(client 10.5.3.0 <> server 10.10.0.0)(org.apache.derbyTesting.functionTests.tests.compatibility.ClientCompatibilityRunControl)junit.framework.AssertionFailedError: client VM failed: :Spawned combination(client 10.5.3.0 <> server 10.10.0.0) exitCode=1
      1) JDBCDriverTest suitejava.security.AccessControlException: access denied ("java.net.SocketPermission" "127.0.0.1:1527" "connect,resolve")
      6) combination(client 10.4.2.1 <> server 10.10.0.0)(org.apache.derbyTesting.functionTests.tests.compatibility.ClientCompatibilityRunControl)junit.framework.AssertionFailedError: client VM failed: :Spawned combination(client 10.4.2.1 <> server 10.10.0.0) exitCode=1
      1) JDBCDriverTest suitejava.security.AccessControlException: access denied ("java.net.SocketPermission" "127.0.0.1:1527" "connect,resolve")
      7) combination(client 10.3.3.0 <> server 10.10.0.0)(org.apache.derbyTesting.functionTests.tests.compatibility.ClientCompatibilityRunControl)junit.framework.AssertionFailedError: client VM failed: :Spawned combination(client 10.3.3.0 <> server 10.10.0.0) exitCode=1
      1) JDBCDriverTest suitejava.security.AccessControlException: access denied ("java.net.SocketPermission" "127.0.0.1:1527" "connect,resolve")
      8) combination(client 10.2.2.1 <> server 10.10.0.0)(org.apache.derbyTesting.functionTests.tests.compatibility.ClientCompatibilityRunControl)junit.framework.AssertionFailedError: client VM failed: :Spawned combination(client 10.2.2.1 <> server 10.10.0.0) exitCode=1
      1) JDBCDriverTest suitejava.security.AccessControlException: access denied ("java.net.SocketPermission" "127.0.0.1:1527" "connect,resolve")
      9) combination(client 10.1.3.1 <> server 10.10.0.0)(org.apache.derbyTesting.functionTests.tests.compatibility.ClientCompatibilityRunControl)junit.framework.AssertionFailedError: client VM failed: :Spawned combination(client 10.1.3.1 <> server 10.10.0.0) exitCode=1
      1) JDBCDriverTest suitejava.security.AccessControlException: access denied ("java.net.SocketPermission" "127.0.0.1:1527" "connect,resolve")

        Attachments

        1. derby-5889-1a-disable_test.diff
          0.9 kB
          Kristian Waagan
        2. derby-5889-2a-windows_networkdrive_paths.diff
          6 kB
          Kristian Waagan
        3. derby-5889-2b-windows_networkdrive_paths.diff
          6 kB
          Kristian Waagan
        4. derby-5889-1b-disable_test_relaxed.diff
          2 kB
          Kristian Waagan

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                kristwaa Kristian Waagan
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: