[jira] [Commented] (DERBY-4915) test failure in OSReadOnlyTest in assertDirectoryDeleted
[ https://issues.apache.org/jira/browse/DERBY-4915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13066582#comment-13066582 ] Mamta A. Satoor commented on DERBY-4915: I saw the failure on 10.7.1.4 codeline with ibm15. Is that because this jira has not been backported to 10.7? > test failure in OSReadOnlyTest in assertDirectoryDeleted > > > Key: DERBY-4915 > URL: https://issues.apache.org/jira/browse/DERBY-4915 > Project: Derby > Issue Type: Bug > Components: Test >Affects Versions: 10.7.1.1 > Environment: windows XP, ibm 1.6 >Reporter: Myrna van Lunteren >Assignee: Kristian Waagan > Labels: derby_triage10_8 > Fix For: 10.8.1.2 > > Attachments: derby-4915-1a-more_persistent_delete.diff, > derby-4915-1b-more_persistent_delete.diff, derby-4915-2a-increased_sleep.diff > > > I've seen the assert flag a failure for deleteing a log file last night, and > a seg0 file the night before. > This is one stack trace: > 1) > testOSReadOnly(org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest)junit.framework.AssertionFailedError: > Failed to delete 2 files > (root=F:\test\JarResults.2010-11-23\ibm16_suites.All\system\singleUse\readWrite: > > F:\test\JarResults.2010-11-23\ibm16_suites.All\system\singleUse\readWrite\log > (isDir=true, canRead=true, canWrite=true, size=0), > F:\jartest\JarResults.2010-11-23\ibm16_suites.All\system\singleUse\readWrite > (isDir=true, canRead=true, canWrite=true, size=0) > at > org.apache.derbyTesting.junit.BaseJDBCTestCase.assertDirectoryDeleted(BaseJDBCTestCase.java:1421) > at > org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest.moveDatabaseOnOS(OSReadOnlyTest.java:295) > at > org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest.testOSReadOnly(OSReadOnlyTest.java:160) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at > org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:109) > 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 > 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) > 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) > This is another: > 1) > testOSReadOnly(org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest)junit.framework.AssertionFailedError: > Failed to delete 2 files > (root=F:\test\JarResults.2010-11-22\ibm16_suites.All\system\singleUse\readOnly: > > F:\test\JarResults.2010-11-22\ibm16_suites.All\system\singleUse\readOnly\seg0 > (isDir=true, canRead=true, canWrite=true, size=0), > F:\jartest\JarResults.2010-11-22\ibm16_suites.All\system\singleUse\readOnly > (isDir=true, canRead=true, canWrite=true, size=0) > at > org.apache.derbyTesting.junit.BaseJDBCTestCase.assertDirectoryDeleted(BaseJDBCTestCase.java:1421) > at > org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest.moveDatabaseOnOS(OSReadOnlyTest.java:295) > at > org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest.testOSReadOnly(OSReadOnlyTest.java:152) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at > org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:109) > at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22) > at junit.e
[jira] Commented: (DERBY-4915) test failure in OSReadOnlyTest in assertDirectoryDeleted
[ https://issues.apache.org/jira/browse/DERBY-4915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13003218#comment-13003218 ] Kristian Waagan commented on DERBY-4915: I was unable to attach the patch (permission issue in JIRA according to the error message), but I committed it to trunk with revision 1078608 nonetheless. I will upload the patch later. The patch makes the sleep time longer, and it also makes the method try to delete remaining files one additional time. If the failures persists, there is likely that a Derby bug is keeping a handle open (timing dependent?). > test failure in OSReadOnlyTest in assertDirectoryDeleted > > > Key: DERBY-4915 > URL: https://issues.apache.org/jira/browse/DERBY-4915 > Project: Derby > Issue Type: Bug > Components: Test >Affects Versions: 10.7.1.1 > Environment: windows XP, ibm 1.6 >Reporter: Myrna van Lunteren >Assignee: Kristian Waagan > Labels: derby_triage10_8 > Fix For: 10.8.0.0 > > Attachments: derby-4915-1a-more_persistent_delete.diff, > derby-4915-1b-more_persistent_delete.diff > > > I've seen the assert flag a failure for deleteing a log file last night, and > a seg0 file the night before. > This is one stack trace: > 1) > testOSReadOnly(org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest)junit.framework.AssertionFailedError: > Failed to delete 2 files > (root=F:\test\JarResults.2010-11-23\ibm16_suites.All\system\singleUse\readWrite: > > F:\test\JarResults.2010-11-23\ibm16_suites.All\system\singleUse\readWrite\log > (isDir=true, canRead=true, canWrite=true, size=0), > F:\jartest\JarResults.2010-11-23\ibm16_suites.All\system\singleUse\readWrite > (isDir=true, canRead=true, canWrite=true, size=0) > at > org.apache.derbyTesting.junit.BaseJDBCTestCase.assertDirectoryDeleted(BaseJDBCTestCase.java:1421) > at > org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest.moveDatabaseOnOS(OSReadOnlyTest.java:295) > at > org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest.testOSReadOnly(OSReadOnlyTest.java:160) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at > org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:109) > 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 > 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) > 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) > This is another: > 1) > testOSReadOnly(org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest)junit.framework.AssertionFailedError: > Failed to delete 2 files > (root=F:\test\JarResults.2010-11-22\ibm16_suites.All\system\singleUse\readOnly: > > F:\test\JarResults.2010-11-22\ibm16_suites.All\system\singleUse\readOnly\seg0 > (isDir=true, canRead=true, canWrite=true, size=0), > F:\jartest\JarResults.2010-11-22\ibm16_suites.All\system\singleUse\readOnly > (isDir=true, canRead=true, canWrite=true, size=0) > at > org.apache.derbyTesting.junit.BaseJDBCTestCase.assertDirectoryDeleted(BaseJDBCTestCase.java:1421) > at > org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest.moveDatabaseOnOS(OSReadOnlyTest.java:295) > at > org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest.testOSReadOnly(OSReadOnlyTest.java:152) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48) > at >
[jira] Commented: (DERBY-4915) test failure in OSReadOnlyTest in assertDirectoryDeleted
[ https://issues.apache.org/jira/browse/DERBY-4915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13002265#comment-13002265 ] Myrna van Lunteren commented on DERBY-4915: --- OK...Thx... > test failure in OSReadOnlyTest in assertDirectoryDeleted > > > Key: DERBY-4915 > URL: https://issues.apache.org/jira/browse/DERBY-4915 > Project: Derby > Issue Type: Bug > Components: Test >Affects Versions: 10.7.1.1 > Environment: windows XP, ibm 1.6 >Reporter: Myrna van Lunteren >Assignee: Kristian Waagan > Labels: derby_triage10_8 > Fix For: 10.8.0.0 > > Attachments: derby-4915-1a-more_persistent_delete.diff, > derby-4915-1b-more_persistent_delete.diff > > > I've seen the assert flag a failure for deleteing a log file last night, and > a seg0 file the night before. > This is one stack trace: > 1) > testOSReadOnly(org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest)junit.framework.AssertionFailedError: > Failed to delete 2 files > (root=F:\test\JarResults.2010-11-23\ibm16_suites.All\system\singleUse\readWrite: > > F:\test\JarResults.2010-11-23\ibm16_suites.All\system\singleUse\readWrite\log > (isDir=true, canRead=true, canWrite=true, size=0), > F:\jartest\JarResults.2010-11-23\ibm16_suites.All\system\singleUse\readWrite > (isDir=true, canRead=true, canWrite=true, size=0) > at > org.apache.derbyTesting.junit.BaseJDBCTestCase.assertDirectoryDeleted(BaseJDBCTestCase.java:1421) > at > org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest.moveDatabaseOnOS(OSReadOnlyTest.java:295) > at > org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest.testOSReadOnly(OSReadOnlyTest.java:160) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at > org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:109) > 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 > 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) > 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) > This is another: > 1) > testOSReadOnly(org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest)junit.framework.AssertionFailedError: > Failed to delete 2 files > (root=F:\test\JarResults.2010-11-22\ibm16_suites.All\system\singleUse\readOnly: > > F:\test\JarResults.2010-11-22\ibm16_suites.All\system\singleUse\readOnly\seg0 > (isDir=true, canRead=true, canWrite=true, size=0), > F:\jartest\JarResults.2010-11-22\ibm16_suites.All\system\singleUse\readOnly > (isDir=true, canRead=true, canWrite=true, size=0) > at > org.apache.derbyTesting.junit.BaseJDBCTestCase.assertDirectoryDeleted(BaseJDBCTestCase.java:1421) > at > org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest.moveDatabaseOnOS(OSReadOnlyTest.java:295) > at > org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest.testOSReadOnly(OSReadOnlyTest.java:152) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at > org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:109) > 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.a
[jira] Commented: (DERBY-4915) test failure in OSReadOnlyTest in assertDirectoryDeleted
[ https://issues.apache.org/jira/browse/DERBY-4915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13002256#comment-13002256 ] Kristian Waagan commented on DERBY-4915: I'll see if it can be easily backported once we're a bit more confident that it fixes the problem - maybe after the RC has been tested? > test failure in OSReadOnlyTest in assertDirectoryDeleted > > > Key: DERBY-4915 > URL: https://issues.apache.org/jira/browse/DERBY-4915 > Project: Derby > Issue Type: Bug > Components: Test >Affects Versions: 10.7.1.1 > Environment: windows XP, ibm 1.6 >Reporter: Myrna van Lunteren >Assignee: Kristian Waagan > Labels: derby_triage10_8 > Fix For: 10.8.0.0 > > Attachments: derby-4915-1a-more_persistent_delete.diff, > derby-4915-1b-more_persistent_delete.diff > > > I've seen the assert flag a failure for deleteing a log file last night, and > a seg0 file the night before. > This is one stack trace: > 1) > testOSReadOnly(org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest)junit.framework.AssertionFailedError: > Failed to delete 2 files > (root=F:\test\JarResults.2010-11-23\ibm16_suites.All\system\singleUse\readWrite: > > F:\test\JarResults.2010-11-23\ibm16_suites.All\system\singleUse\readWrite\log > (isDir=true, canRead=true, canWrite=true, size=0), > F:\jartest\JarResults.2010-11-23\ibm16_suites.All\system\singleUse\readWrite > (isDir=true, canRead=true, canWrite=true, size=0) > at > org.apache.derbyTesting.junit.BaseJDBCTestCase.assertDirectoryDeleted(BaseJDBCTestCase.java:1421) > at > org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest.moveDatabaseOnOS(OSReadOnlyTest.java:295) > at > org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest.testOSReadOnly(OSReadOnlyTest.java:160) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at > org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:109) > 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 > 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) > 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) > This is another: > 1) > testOSReadOnly(org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest)junit.framework.AssertionFailedError: > Failed to delete 2 files > (root=F:\test\JarResults.2010-11-22\ibm16_suites.All\system\singleUse\readOnly: > > F:\test\JarResults.2010-11-22\ibm16_suites.All\system\singleUse\readOnly\seg0 > (isDir=true, canRead=true, canWrite=true, size=0), > F:\jartest\JarResults.2010-11-22\ibm16_suites.All\system\singleUse\readOnly > (isDir=true, canRead=true, canWrite=true, size=0) > at > org.apache.derbyTesting.junit.BaseJDBCTestCase.assertDirectoryDeleted(BaseJDBCTestCase.java:1421) > at > org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest.moveDatabaseOnOS(OSReadOnlyTest.java:295) > at > org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest.testOSReadOnly(OSReadOnlyTest.java:152) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at > org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:109) > at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22) > at junit.extensions.
[jira] Commented: (DERBY-4915) test failure in OSReadOnlyTest in assertDirectoryDeleted
[ https://issues.apache.org/jira/browse/DERBY-4915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13001893#comment-13001893 ] Myrna van Lunteren commented on DERBY-4915: --- Thanks Kristian! We'll assume it's fixed - unless it shows up again, I don't intend to run the test x00 times now. I hadn't seen the failure for a while on trunk, but coincidentally it happened on 10.7 just a day before you checked in: 10.7.1.3 - (1076096) (see: http://people.apache.org/~myrnavl/derby_test_results/v10_7/windows/testSummary-1076096.html). At least - looks like the same issue to me. Did you plan to backport this to 10.7? > test failure in OSReadOnlyTest in assertDirectoryDeleted > > > Key: DERBY-4915 > URL: https://issues.apache.org/jira/browse/DERBY-4915 > Project: Derby > Issue Type: Bug > Components: Test >Affects Versions: 10.7.1.1 > Environment: windows XP, ibm 1.6 >Reporter: Myrna van Lunteren >Assignee: Kristian Waagan > Labels: derby_triage10_8 > Fix For: 10.8.0.0 > > Attachments: derby-4915-1a-more_persistent_delete.diff, > derby-4915-1b-more_persistent_delete.diff > > > I've seen the assert flag a failure for deleteing a log file last night, and > a seg0 file the night before. > This is one stack trace: > 1) > testOSReadOnly(org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest)junit.framework.AssertionFailedError: > Failed to delete 2 files > (root=F:\test\JarResults.2010-11-23\ibm16_suites.All\system\singleUse\readWrite: > > F:\test\JarResults.2010-11-23\ibm16_suites.All\system\singleUse\readWrite\log > (isDir=true, canRead=true, canWrite=true, size=0), > F:\jartest\JarResults.2010-11-23\ibm16_suites.All\system\singleUse\readWrite > (isDir=true, canRead=true, canWrite=true, size=0) > at > org.apache.derbyTesting.junit.BaseJDBCTestCase.assertDirectoryDeleted(BaseJDBCTestCase.java:1421) > at > org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest.moveDatabaseOnOS(OSReadOnlyTest.java:295) > at > org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest.testOSReadOnly(OSReadOnlyTest.java:160) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at > org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:109) > 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 > 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) > 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) > This is another: > 1) > testOSReadOnly(org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest)junit.framework.AssertionFailedError: > Failed to delete 2 files > (root=F:\test\JarResults.2010-11-22\ibm16_suites.All\system\singleUse\readOnly: > > F:\test\JarResults.2010-11-22\ibm16_suites.All\system\singleUse\readOnly\seg0 > (isDir=true, canRead=true, canWrite=true, size=0), > F:\jartest\JarResults.2010-11-22\ibm16_suites.All\system\singleUse\readOnly > (isDir=true, canRead=true, canWrite=true, size=0) > at > org.apache.derbyTesting.junit.BaseJDBCTestCase.assertDirectoryDeleted(BaseJDBCTestCase.java:1421) > at > org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest.moveDatabaseOnOS(OSReadOnlyTest.java:295) > at > org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest.testOSReadOnly(OSReadOnlyTest.java:152) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMeth
[jira] Commented: (DERBY-4915) test failure in OSReadOnlyTest in assertDirectoryDeleted
[ https://issues.apache.org/jira/browse/DERBY-4915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12996563#comment-12996563 ] Mike Matrigali commented on DERBY-4915: --- The OSReadOnly test is a single use database test, which explains why it is having trouble with cleanup more often than other tests. It also does some file manupulation of the database files itself. I think the patch looks good and would be fine with it being checked in. I agree with the comments that a real derby bug would more likely just keep the file open forevery than just a little while after closing. A reasonable derby explanation of current behavior would be that a "shutdown=true" actually does not wait for a complete shutdown before returning - so a shutdown could be happening while the cleanup is happening. Or it could be a delayed write thing on windows. I am not sure why this is happening recently and not in older code lines - but maybe the tests have changed. It might be reasonable to put in a slight wait in harness after any attempt to shutdown a database, as I think this is what we tell customers. > test failure in OSReadOnlyTest in assertDirectoryDeleted > > > Key: DERBY-4915 > URL: https://issues.apache.org/jira/browse/DERBY-4915 > Project: Derby > Issue Type: Bug > Components: Test >Affects Versions: 10.7.1.1 > Environment: windows XP, ibm 1.6 >Reporter: Myrna van Lunteren > Attachments: derby-4915-1a-more_persistent_delete.diff > > > I've seen the assert flag a failure for deleteing a log file last night, and > a seg0 file the night before. > This is one stack trace: > 1) > testOSReadOnly(org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest)junit.framework.AssertionFailedError: > Failed to delete 2 files > (root=F:\test\JarResults.2010-11-23\ibm16_suites.All\system\singleUse\readWrite: > > F:\test\JarResults.2010-11-23\ibm16_suites.All\system\singleUse\readWrite\log > (isDir=true, canRead=true, canWrite=true, size=0), > F:\jartest\JarResults.2010-11-23\ibm16_suites.All\system\singleUse\readWrite > (isDir=true, canRead=true, canWrite=true, size=0) > at > org.apache.derbyTesting.junit.BaseJDBCTestCase.assertDirectoryDeleted(BaseJDBCTestCase.java:1421) > at > org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest.moveDatabaseOnOS(OSReadOnlyTest.java:295) > at > org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest.testOSReadOnly(OSReadOnlyTest.java:160) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at > org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:109) > 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 > 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) > 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) > This is another: > 1) > testOSReadOnly(org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest)junit.framework.AssertionFailedError: > Failed to delete 2 files > (root=F:\test\JarResults.2010-11-22\ibm16_suites.All\system\singleUse\readOnly: > > F:\test\JarResults.2010-11-22\ibm16_suites.All\system\singleUse\readOnly\seg0 > (isDir=true, canRead=true, canWrite=true, size=0), > F:\jartest\JarResults.2010-11-22\ibm16_suites.All\system\singleUse\readOnly > (isDir=true, canRead=true, canWrite=true, size=0) > at > org.apache.derbyTesting.junit.BaseJDBCTestCase.assertDirectoryDeleted(BaseJDBCTestCase.java:1421) > at > org.apache.derbyTesting.function
[jira] Commented: (DERBY-4915) test failure in OSReadOnlyTest in assertDirectoryDeleted
[ https://issues.apache.org/jira/browse/DERBY-4915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12996565#comment-12996565 ] Kathey Marsden commented on DERBY-4915: --- Would it cause problems with the nightly output parsing if we always printed out a list of the remaining files when we have to retry. It would be interesting over time to see if it is always the same ones and since we don't really understand the root cause it might help in future diagnostics. I seem to recall user cases where we had to tell them to sleep before rapidly rebooting a database after shutdown. It would be nice to have something to call to see if the shutdown is really complete or better prevent shutdown from returning until we are really shutdown. > test failure in OSReadOnlyTest in assertDirectoryDeleted > > > Key: DERBY-4915 > URL: https://issues.apache.org/jira/browse/DERBY-4915 > Project: Derby > Issue Type: Bug > Components: Test >Affects Versions: 10.7.1.1 > Environment: windows XP, ibm 1.6 >Reporter: Myrna van Lunteren > Attachments: derby-4915-1a-more_persistent_delete.diff > > > I've seen the assert flag a failure for deleteing a log file last night, and > a seg0 file the night before. > This is one stack trace: > 1) > testOSReadOnly(org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest)junit.framework.AssertionFailedError: > Failed to delete 2 files > (root=F:\test\JarResults.2010-11-23\ibm16_suites.All\system\singleUse\readWrite: > > F:\test\JarResults.2010-11-23\ibm16_suites.All\system\singleUse\readWrite\log > (isDir=true, canRead=true, canWrite=true, size=0), > F:\jartest\JarResults.2010-11-23\ibm16_suites.All\system\singleUse\readWrite > (isDir=true, canRead=true, canWrite=true, size=0) > at > org.apache.derbyTesting.junit.BaseJDBCTestCase.assertDirectoryDeleted(BaseJDBCTestCase.java:1421) > at > org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest.moveDatabaseOnOS(OSReadOnlyTest.java:295) > at > org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest.testOSReadOnly(OSReadOnlyTest.java:160) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at > org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:109) > 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 > 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) > 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) > This is another: > 1) > testOSReadOnly(org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest)junit.framework.AssertionFailedError: > Failed to delete 2 files > (root=F:\test\JarResults.2010-11-22\ibm16_suites.All\system\singleUse\readOnly: > > F:\test\JarResults.2010-11-22\ibm16_suites.All\system\singleUse\readOnly\seg0 > (isDir=true, canRead=true, canWrite=true, size=0), > F:\jartest\JarResults.2010-11-22\ibm16_suites.All\system\singleUse\readOnly > (isDir=true, canRead=true, canWrite=true, size=0) > at > org.apache.derbyTesting.junit.BaseJDBCTestCase.assertDirectoryDeleted(BaseJDBCTestCase.java:1421) > at > org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest.moveDatabaseOnOS(OSReadOnlyTest.java:295) > at > org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest.testOSReadOnly(OSReadOnlyTest.java:152) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48) > a
[jira] Commented: (DERBY-4915) test failure in OSReadOnlyTest in assertDirectoryDeleted
[ https://issues.apache.org/jira/browse/DERBY-4915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12996132#comment-12996132 ] Mike Matrigali commented on DERBY-4915: --- Continues to be an intermittent problem. Here is a example in the ibm15 run on 2/15/2011 against build 1071131 of the 10.7 branch http://people.apache.org/~myrnavl/derby_test_results/v10_7/windows/testlog/ibm15/1071131-suites.All_diff.txt There was 1 failure: 1) testOSReadOnly(org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest)junit.framework.AssertionFailedError: Failed to delete 1 files (root=F:\jartest\JarResults.2011-02-15\ibm15_suites.All\system\singleUse\readOnly: F:\jartest\JarResults.2011-02-15\ibm15_suites.All\system\singleUse\readOnly (isDir=true, canRead=true, canWrite=true, size=0) at org.apache.derbyTesting.junit.BaseJDBCTestCase.assertDirectoryDeleted(BaseJDBCTestCase.java:1421) at org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest.moveDatabaseOnOS(OSReadOnlyTest.java:295) at org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest.testOSReadOnly(OSReadOnlyTest.java:152) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:109) 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: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:23) 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:23) > test failure in OSReadOnlyTest in assertDirectoryDeleted > > > Key: DERBY-4915 > URL: https://issues.apache.org/jira/browse/DERBY-4915 > Project: Derby > Issue Type: Bug > Components: Test >Affects Versions: 10.7.1.1 > Environment: windows XP, ibm 1.6 >Reporter: Myrna van Lunteren > > I've seen the assert flag a failure for deleteing a log file last night, and > a seg0 file the night before. > This is one stack trace: > 1) > testOSReadOnly(org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest)junit.framework.AssertionFailedError: > Failed to delete 2 files > (root=F:\test\JarResults.2010-11-23\ibm16_suites.All\system\singleUse\readWrite: > > F:\test\JarResults.2010-11-23\ibm16_suites.All\system\singleUse\readWrite\log > (isDir=true, canRead=true, canWrite=true, size=0), > F:\jartest\JarResults.2010-11-23\ibm16_suites.All\system\singleUse\readWrite > (isDir=true, canRead=true, canWrite=true, size=0) > at > org.apache.derbyTesting.junit.BaseJDBCTestCase.assertDirectoryDeleted(BaseJDBCTestCase.java:1421) > at > org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest.moveDatabaseOnOS(OSReadOnlyTest.java:295) > at > org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest.testOSReadOnly(OSReadOnlyTest.java:160) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at > org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:109) > 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 > 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.exten
[jira] Commented: (DERBY-4915) test failure in OSReadOnlyTest in assertDirectoryDeleted
[ https://issues.apache.org/jira/browse/DERBY-4915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12967247#action_12967247 ] Rick Hillegas commented on DERBY-4915: -- I looked through the bug fixes which made it into the 10.7 branch but not into 10.6.2. Only one fix seemed relevant, based on it description: DERBY-4804. May be a red herring, but it might be worthwhile to try backing out that fix and see if the problem goes away. > test failure in OSReadOnlyTest in assertDirectoryDeleted > > > Key: DERBY-4915 > URL: https://issues.apache.org/jira/browse/DERBY-4915 > Project: Derby > Issue Type: Bug > Components: Test >Affects Versions: 10.7.1.1 > Environment: windows XP, ibm 1.6 >Reporter: Myrna van Lunteren > > I've seen the assert flag a failure for deleteing a log file last night, and > a seg0 file the night before. > This is one stack trace: > 1) > testOSReadOnly(org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest)junit.framework.AssertionFailedError: > Failed to delete 2 files > (root=F:\test\JarResults.2010-11-23\ibm16_suites.All\system\singleUse\readWrite: > > F:\test\JarResults.2010-11-23\ibm16_suites.All\system\singleUse\readWrite\log > (isDir=true, canRead=true, canWrite=true, size=0), > F:\jartest\JarResults.2010-11-23\ibm16_suites.All\system\singleUse\readWrite > (isDir=true, canRead=true, canWrite=true, size=0) > at > org.apache.derbyTesting.junit.BaseJDBCTestCase.assertDirectoryDeleted(BaseJDBCTestCase.java:1421) > at > org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest.moveDatabaseOnOS(OSReadOnlyTest.java:295) > at > org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest.testOSReadOnly(OSReadOnlyTest.java:160) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at > org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:109) > 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 > 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) > 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) > This is another: > 1) > testOSReadOnly(org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest)junit.framework.AssertionFailedError: > Failed to delete 2 files > (root=F:\test\JarResults.2010-11-22\ibm16_suites.All\system\singleUse\readOnly: > > F:\test\JarResults.2010-11-22\ibm16_suites.All\system\singleUse\readOnly\seg0 > (isDir=true, canRead=true, canWrite=true, size=0), > F:\jartest\JarResults.2010-11-22\ibm16_suites.All\system\singleUse\readOnly > (isDir=true, canRead=true, canWrite=true, size=0) > at > org.apache.derbyTesting.junit.BaseJDBCTestCase.assertDirectoryDeleted(BaseJDBCTestCase.java:1421) > at > org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest.moveDatabaseOnOS(OSReadOnlyTest.java:295) > at > org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest.testOSReadOnly(OSReadOnlyTest.java:152) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at > org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:109) > 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)
[jira] Commented: (DERBY-4915) test failure in OSReadOnlyTest in assertDirectoryDeleted
[ https://issues.apache.org/jira/browse/DERBY-4915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12965469#action_12965469 ] Myrna van Lunteren commented on DERBY-4915: --- I saw this also in a nightly run with 10.7.1.2 - synced to revision 1040394, with ibm 1.5 (sr11); failing to delete the dir system\singleUse\readOnly: at org.apache.derbyTesting.junit.BaseJDBCTestCase.assertDirectoryDeleted(BaseJDBCTestCase.java:1421) at org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest.moveDatabaseOnOS(OSReadOnlyTest.java:295) at org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest.testOSReadOnly(OSReadOnlyTest.java:152) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:109) 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: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:23) 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:23) > test failure in OSReadOnlyTest in assertDirectoryDeleted > > > Key: DERBY-4915 > URL: https://issues.apache.org/jira/browse/DERBY-4915 > Project: Derby > Issue Type: Bug > Components: Test >Affects Versions: 10.7.1.1 > Environment: windows XP, ibm 1.6 >Reporter: Myrna van Lunteren > > I've seen the assert flag a failure for deleteing a log file last night, and > a seg0 file the night before. > This is one stack trace: > 1) > testOSReadOnly(org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest)junit.framework.AssertionFailedError: > Failed to delete 2 files > (root=F:\test\JarResults.2010-11-23\ibm16_suites.All\system\singleUse\readWrite: > > F:\test\JarResults.2010-11-23\ibm16_suites.All\system\singleUse\readWrite\log > (isDir=true, canRead=true, canWrite=true, size=0), > F:\jartest\JarResults.2010-11-23\ibm16_suites.All\system\singleUse\readWrite > (isDir=true, canRead=true, canWrite=true, size=0) > at > org.apache.derbyTesting.junit.BaseJDBCTestCase.assertDirectoryDeleted(BaseJDBCTestCase.java:1421) > at > org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest.moveDatabaseOnOS(OSReadOnlyTest.java:295) > at > org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest.testOSReadOnly(OSReadOnlyTest.java:160) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at > org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:109) > 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 > 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) > 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) > This is another: > 1) > testOSReadOnly(org.apache.derbyTesting.functionTest
[jira] Commented: (DERBY-4915) test failure in OSReadOnlyTest in assertDirectoryDeleted
[ https://issues.apache.org/jira/browse/DERBY-4915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12935473#action_12935473 ] Kristian Waagan commented on DERBY-4915: Hi Myrna, The delete method returns a list of files it couldn't delete. Should be easy to try to delete them again (maybe even multiple times or with added sleep time etc). Would be good to know if this happens with JDKs from other vendors as well. I'm debugging a similar issue, but in another test (see DERBY-4916). Here the delete problem happens in another delete method and another JDK. > test failure in OSReadOnlyTest in assertDirectoryDeleted > > > Key: DERBY-4915 > URL: https://issues.apache.org/jira/browse/DERBY-4915 > Project: Derby > Issue Type: Bug > Components: Test >Affects Versions: 10.7.1.1 > Environment: windows XP, ibm 1.6 >Reporter: Myrna van Lunteren > > I've seen the assert flag a failure for deleteing a log file last night, and > a seg0 file the night before. > This is one stack trace: > 1) > testOSReadOnly(org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest)junit.framework.AssertionFailedError: > Failed to delete 2 files > (root=F:\test\JarResults.2010-11-23\ibm16_suites.All\system\singleUse\readWrite: > > F:\test\JarResults.2010-11-23\ibm16_suites.All\system\singleUse\readWrite\log > (isDir=true, canRead=true, canWrite=true, size=0), > F:\jartest\JarResults.2010-11-23\ibm16_suites.All\system\singleUse\readWrite > (isDir=true, canRead=true, canWrite=true, size=0) > at > org.apache.derbyTesting.junit.BaseJDBCTestCase.assertDirectoryDeleted(BaseJDBCTestCase.java:1421) > at > org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest.moveDatabaseOnOS(OSReadOnlyTest.java:295) > at > org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest.testOSReadOnly(OSReadOnlyTest.java:160) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at > org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:109) > 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 > 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) > 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) > This is another: > 1) > testOSReadOnly(org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest)junit.framework.AssertionFailedError: > Failed to delete 2 files > (root=F:\test\JarResults.2010-11-22\ibm16_suites.All\system\singleUse\readOnly: > > F:\test\JarResults.2010-11-22\ibm16_suites.All\system\singleUse\readOnly\seg0 > (isDir=true, canRead=true, canWrite=true, size=0), > F:\jartest\JarResults.2010-11-22\ibm16_suites.All\system\singleUse\readOnly > (isDir=true, canRead=true, canWrite=true, size=0) > at > org.apache.derbyTesting.junit.BaseJDBCTestCase.assertDirectoryDeleted(BaseJDBCTestCase.java:1421) > at > org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest.moveDatabaseOnOS(OSReadOnlyTest.java:295) > at > org.apache.derbyTesting.functionTests.tests.store.OSReadOnlyTest.testOSReadOnly(OSReadOnlyTest.java:152) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at > org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:109) > at junit.extensions.TestDecorator.basicRun(TestDecorator.jav
