Derby
  1. Derby
  2. DERBY-4905

test failure in teardown (removeDir) in upgrade tests related to testSQLRoles

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 10.7.1.1
    • Fix Version/s: None
    • Component/s: Test
    • Environment:
      Windows XP, ibm 1.6 SR8
    • Urgency:
      Normal
    • Bug behavior facts:
      Regression Test Failure

      Description

      During the windows XP test run of the 10.7.1. release candidate (1035301) this failure popped up:

      1) Upgrade test for 10.5junit.framework.AssertionFailedError: extin
      at org.apache.derbyTesting.junit.DropDatabaseSetup.removeDir(DropDatabaseSetup.java:116)
      at org.apache.derbyTesting.junit.DropDatabaseSetup.access$000(DropDatabaseSetup.java:35)
      at org.apache.derbyTesting.junit.DropDatabaseSetup$1.run(DropDatabaseSetup.java:105)
      at java.security.AccessController.doPrivileged(AccessController.java:202)
      at org.apache.derbyTesting.junit.DropDatabaseSetup.removeDirectory(DropDatabaseSetup.java:102)
      at org.apache.derbyTesting.junit.DropDatabaseSetup.removeDirectory(DropDatabaseSetup.java:98)
      at org.apache.derbyTesting.junit.SupportFilesSetup.tearDown(SupportFilesSetup.java:127)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:20)
      at junit.extensions.TestSetup.run(TestSetup.java:16)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      at junit.extensions.TestSetup.run(TestSetup.java:16)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:51)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      at junit.extensions.TestSetup.run(TestSetup.java:16)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:51)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      at junit.extensions.TestSetup.run(TestSetup.java:16)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:51)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      at junit.extensions.TestSetup.run(TestSetup.java:16)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:51)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      at junit.extensions.TestSetup.run(TestSetup.java:16)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:51)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      at junit.extensions.TestSetup.run(TestSetup.java:16)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:51)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      at junit.extensions.TestSetup.run(TestSetup.java:16)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:51)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      at junit.extensions.TestSetup.run(TestSetup.java:16)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      at junit.extensions.TestSetup.run(TestSetup.java:16)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      at junit.extensions.TestSetup.run(TestSetup.java:16)

      The only test failed was testSQLRoles, but from comments in the test output, it looks like that's upgrade from 10.1
      -----------
      Test upgrade from: 10.1.1.0, phase: POST SOFT UPGRADE
      .
      testTriggerBasic used 47 ms .
      .......(edited)....
      testGenerationClauses used 0 ms .
      testSQLRolesBasic used 0 ms .
      -> testSQLRoles used 62 ms F.
      testSetXplainStyleProcedure used 0 ms .
      testCLOBGETSUBSTRING used 47 ms .
      ....(etc).
      -----------

      There is no "fail" directory, and no suggestion of this failure in any of the remaining log files.

      Tentatively marking this as test issue, but could be something else is hiding.

        Issue Links

          Activity

          Hide
          Myrna van Lunteren added a comment -

          This test has not failed referring to the removeDIR since 7/29/2011, which was in a 10.6 run.

          It's difficult to pin down which fix exactly corrected this, and not worth the time. Possible ones are: DERBY-4915, DERBY-5108.
          The hardware for the 10.6 runs, where this last failed has changed as well...

          Show
          Myrna van Lunteren added a comment - This test has not failed referring to the removeDIR since 7/29/2011, which was in a 10.6 run. It's difficult to pin down which fix exactly corrected this, and not worth the time. Possible ones are: DERBY-4915 , DERBY-5108 . The hardware for the 10.6 runs, where this last failed has changed as well...
          Hide
          Myrna van Lunteren added a comment -

          I saw similar failures with 10.7.1.1 run with ibm 1.6 SR8 - once on update from 10.2.1.6 (phase CREATE) and once from 10.2.2.0 (phase CREATE).

          Also in that run there was one removeDir test failure with ibm 1.5 during org.apache.derbyTesting.tests.store.OfflineBackupTest, fixture testCreateFromRestoreFrom (attempting to delete the log dir).

          I have tested 10.6.2 on this same machine and did not see this type of error then.

          Show
          Myrna van Lunteren added a comment - I saw similar failures with 10.7.1.1 run with ibm 1.6 SR8 - once on update from 10.2.1.6 (phase CREATE) and once from 10.2.2.0 (phase CREATE). Also in that run there was one removeDir test failure with ibm 1.5 during org.apache.derbyTesting.tests.store.OfflineBackupTest, fixture testCreateFromRestoreFrom (attempting to delete the log dir). I have tested 10.6.2 on this same machine and did not see this type of error then.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development