db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mamta A. Satoor (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-4916) Upgrade tests fail in DropDatabaseSetup.tearDown unable to delete a directory
Date Fri, 31 Jan 2014 01:23:06 GMT

    [ https://issues.apache.org/jira/browse/DERBY-4916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13887346#comment-13887346
] 

Mamta A. Satoor commented on DERBY-4916:
----------------------------------------

Unfortunately, the failure has popped up again. This time it is on IBM jdk 1.6, on trunk(10.11.0.0
alpha - (1561927))http://people.apache.org/~myrnavl/derby_test_results/main/windows/testlog/ibm16/1561927-suites.All_diff.txt
Stack trace is as follows
1) Upgrade Tests from 10.2.1.6junit.framework.AssertionFailedError: Failed to delete 3 files
(root=C:\jartest\JarResults.2014-01-27\ibm16_suites.All\system\singleUse\oneuse12e): C:\jartest\JarResults.2014-01-27\ibm16_suites.All\system\singleUse\oneuse12e\seg0\c1d1.dat
(isDir=false, canRead=true, canWrite=true, size=8192), C:\jartest\JarResults.2014-01-27\ibm16_suites.All\system\singleUse\oneuse12e\seg0
(isDir=true, canRead=true, canWrite=true, size=131072), C:\jartest\JarResults.2014-01-27\ibm16_suites.All\system\singleUse\oneuse12e
(isDir=true, canRead=true, canWrite=true, size=4096)
	at org.apache.derbyTesting.junit.BaseTestCase.assertDirectoryDeleted(BaseTestCase.java:1116)
	at org.apache.derbyTesting.junit.DropDatabaseSetup.removeDirectory(DropDatabaseSetup.java:114)
	at org.apache.derbyTesting.junit.DropDatabaseSetup.removeDirectory(DropDatabaseSetup.java:104)
	at org.apache.derbyTesting.junit.DropDatabaseSetup.removeDatabase(DropDatabaseSetup.java:90)
	at org.apache.derbyTesting.junit.DropDatabaseSetup.tearDown(DropDatabaseSetup.java:76)
	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 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 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)

> Upgrade tests fail in DropDatabaseSetup.tearDown unable to delete a directory
> -----------------------------------------------------------------------------
>
>                 Key: DERBY-4916
>                 URL: https://issues.apache.org/jira/browse/DERBY-4916
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.7.1.1
>         Environment: o 1.Oracle JRockit(R) (build R28.0.1-21-133393-1.5.0_24-20100512-2132-windows-ia32,
compiled mode)
>   2. Sun JDK 1.6.0_20, Java HotSpot(TM) Client VM (build 17.1-b03, mixed mode, sharing)
> o OS:
>    Windows Vista Home Premium SP2
>            Reporter: Kristian Waagan
>              Labels: derby_triage10_8
>         Attachments: example1.txt, example2.txt
>
>
> The upgrade test fails in the teardown phase because a database directory cannot be deleted.
> Happens for a varying number of version combinations, I've seen from one to five failed
tests (out of 2496 tests) so far. See attached files for some examples.
> The error is reproducible running the upgrade suite standalone.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message