db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Myrna van Lunteren (JIRA)" <j...@apache.org>
Subject [jira] Created: (DERBY-5110) intermittent test failure in testInvalidLDAPServerConnectionError
Date Tue, 08 Mar 2011 18:53:59 GMT
intermittent test failure in testInvalidLDAPServerConnectionError
-----------------------------------------------------------------

                 Key: DERBY-5110
                 URL: https://issues.apache.org/jira/browse/DERBY-5110
             Project: Derby
          Issue Type: Bug
          Components: Test
    Affects Versions: 10.8.0.0
         Environment: Windows XP
            Reporter: Myrna van Lunteren


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:
- Mamta's comment re DERBY-3644:
https://issues.apache.org/jira/browse/DERBY-3644?focusedCommentId=12904239&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-12904239
- Rick's comment re DERBY-4869, who only saw the first ("2)" failure, perhaps because he wasn't
running this on windows:
https://issues.apache.org/jira/browse/DERBY-4869?focusedCommentId=12984755&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-12984755

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


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message