Derby
  1. Derby
  2. DERBY-6079

100's of errors in nightly test run on weme after jacoco property/priviledges checkin

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 10.10.1.1
    • Fix Version/s: 10.10.1.1
    • Component/s: Test
    • Labels:
      None
    • Environment:
      weme6.2
      Windows XP - x86 - 5.1 build 2600 Service Pack 3
    • Bug behavior facts:
      Regression Test Failure

      Description

      100's of errors in nightly test, all seem to be a null pointer while processing policy files during setup.
      problem is in jvm code, and it seems specific to the weme6.2 jvm.

      The only change being tested in this run was
      For instance:
      330) testAll(org.apache.derbyTesting.functionTests.tests.lang.NativeAuthenticationServiceTest)java.lang.NullPointerException
      at com.ibm.oti.util.DefaultPolicy.addGrant(DefaultPolicy.java:619)
      at com.ibm.oti.util.DefaultPolicy.readPolicy(DefaultPolicy.java:608)
      at com.ibm.oti.util.DefaultPolicy.getSystemPolicy(DefaultPolicy.java:922)
      at com.ibm.oti.util.DefaultPolicy.getPermissionsImpl(DefaultPolicy.java:114)
      at com.ibm.oti.util.DefaultPolicy$1.run(DefaultPolicy.java:67)
      at java.security.AccessController.doPrivileged(AccessController.java:204)
      at com.ibm.oti.util.DefaultPolicy.privateGetPermissions(DefaultPolicy.java:65)
      at com.ibm.oti.util.DefaultPolicy.getPermissions(DefaultPolicy.java:53)
      at java.security.Policy.getPermissions(Policy.java:131)
      at java.security.ProtectionDomain.implies(ProtectionDomain.java:177)
      at java.security.AccessController.checkPermission(AccessController.java:99)
      at java.lang.SecurityManager.checkPermission(SecurityManager.java:534)
      at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:331)
      at java.lang.System.getProperty(System.java:384)
      at java.lang.System.getProperty(System.java:366)
      at org.apache.derbyTesting.junit.BaseTestCase$3.run(BaseTestCase.java:292)
      at java.security.AccessController.doPrivileged(AccessController.java:204)
      at org.apache.derbyTesting.junit.BaseTestCase.getSystemProperty(BaseTestCase.java:288)
      at org.apache.derbyTesting.junit.DropDatabaseSetup.removeDatabase(DropDatabaseSetup.java:86)
      at org.apache.derbyTesting.junit.TestConfiguration$5.tearDown(TestConfiguration.java:868)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:22)
      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)
      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 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)

      Here is link to all errors:
      http://people.apache.org/~myrnavl/derby_test_results/main/windows/testlog/weme6.2/1447575-suites.All_diff.txt
      http://people.apache.org/~myrnavl/derby_test_results/main/windows/testlog/weme6.2/1447575-derbyall_diff.txt

      1. derby-6079-2a-set_props_j9.diff
        2 kB
        Kristian Waagan
      2. derby-6079-1a-propagate_jacocoactive_j9.diff
        0.9 kB
        Kristian Waagan

        Issue Links

          Activity

          Mike Matrigali created issue -
          Mike Matrigali made changes -
          Field Original Value New Value
          Bug behavior facts Regression Test Failure [ 10369 ]
          Component/s Test [ 11413 ]
          Component/s Services [ 11415 ]
          Mike Matrigali made changes -
          Link This issue is related to DERBY-6067 [ DERBY-6067 ]
          Kristian Waagan made changes -
          Kristian Waagan made changes -
          Attachment derby-6079-2a-set_props_j9.diff [ 12570147 ]
          Mike Matrigali made changes -
          Assignee Mike Matrigali [ mikem ]
          Mike Matrigali made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 10.10.0.0 [ 12321550 ]
          Resolution Fixed [ 1 ]
          Mike Matrigali made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Gavin made changes -
          Workflow jira [ 12762046 ] Default workflow, editable Closed status [ 12796951 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development