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

intermittent test failure in testInvalidLDAPServerConnectionError

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 10.8.1.2
    • None
    • Test
    • Windows XP
    • Normal
    • Regression Test Failure

    Description

      I saw a test failure that other people have reported also (note: paths to the file names truncated)

      2) testInvalidLDAPServerConnectionError(org.apache.derbyTesting.functionTests.tests.jdbcapi.InvalidLDAPServerAuthenticationTest)junit.framework.AssertionFailedError
      at org.apache.derbyTesting.functionTests.tests.jdbcapi.InvalidLDAPServerAuthenticationTest.testInvalidLDAPServerConnectionError(InvalidLDAPServerAuthenticationTest.java:122)
      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:112)
      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 org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
      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)
      3) testInvalidLDAPServerConnectionErrorjunit.framework.AssertionFailedError: Failed to delete 8 files (root=[...]\system\singleUse\oneuse48: [...]\system\singleUse\oneuse48\db.lck (isDir=false, canRead=true, canWrite=true, size=38), [...]\system\singleUse\oneuse48\log\log1.dat (isDir=false, canRead=true, canWrite=true, size=1048576), [...]\system\singleUse\oneuse48\log (isDir=true, canRead=true, canWrite=true, size=0), [...]\system\singleUse\oneuse48\seg0\c10.dat (isDir=false, canRead=true, canWrite=true, size=8192), [...]\system\singleUse\oneuse48\seg0\cc0.dat (isDir=false, canRead=true, canWrite=true, size=8192), [...]\system\singleUse\oneuse48\seg0\cd1.dat (isDir=false, canRead=true, canWrite=true, size=8192), [...]\system\singleUse\oneuse48\seg0 (isDir=true, canRead=true, canWrite=true, size=0), [...]\system\singleUse\oneuse48 (isDir=true, canRead=true, canWrite=true, size=0)
      at org.apache.derbyTesting.junit.BaseJDBCTestCase.assertDirectoryDeleted(BaseJDBCTestCase.java:1526)
      at org.apache.derbyTesting.junit.DropDatabaseSetup.removeDir(DropDatabaseSetup.java:119)
      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.DropDatabaseSetup.removeDatabase(DropDatabaseSetup.java:91)
      at org.apache.derbyTesting.junit.TestConfiguration$3.tearDown(TestConfiguration.java:711)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:20)
      at junit.extensions.TestSetup.run(TestSetup.java:16)
      at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
      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)

      These failures have been encountered before, see for instance:

      Note that both reported these after seeing the testPing failure of DERBY-4762; the same was true in my case.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              myrna Myrna van Lunteren
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: