db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kristian Waagan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-5297) noConnectionAfterHardUpgrade in upgrade test fails intermittently (file deletion)
Date Tue, 05 Jul 2011 15:46:16 GMT

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

Kristian Waagan commented on DERBY-5297:
----------------------------------------

I managed to reproduce this with the following command (running in a loop):
java -cp ..\classes;..\tools\java\junit.jar -DderbyTesting.oldReleasePath=. -DderbyTesting.oldVersionsPath=versions.txt
-Dderby.storage.indexStats.auto=false -Dderby.storage.indexStats.trace=stdout junit.textui.TestRunner
org.apache.derbyTesting.functionTests.tests.upgradeTests._Suite

I still see the istat-created message with tracing on (the daemon is created even though the
automatic update has been disabled). Does the command look sound?
I'll look a bit more into this.

> noConnectionAfterHardUpgrade in upgrade test fails intermittently (file deletion)
> ---------------------------------------------------------------------------------
>
>                 Key: DERBY-5297
>                 URL: https://issues.apache.org/jira/browse/DERBY-5297
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.9.0.0
>         Environment: Windows
>            Reporter: Kristian Waagan
>            Priority: Minor
>
> The test fixture noConnectionAfterHardUpgrade in the upgrade test fails intermittently
on Windows platforms. The symptom is that some of the database files cannot be deleted.
> Example failure (excerpt, shortened paths, formatted):
> 1) Upgrade Tests from 10.8.1.2junit.framework.AssertionFailedError: Failed to delete
3 files (root=singleUse\oneuseb2:
>     singleUse\oneuseb2\seg0\c790.dat   (isDir=false, canRead=true, canWrite=true, size=8192),
>     singleUse\oneuseb2\seg0                (isDir=true, canRead=true, canWrite=true,
size=65536),
>     singleUse\oneuseb2                        (isDir=true, canRead=true, canWrite=true,
size=0)
> Log:
> (2011-06-25) http://dbtg.foundry.sun.com/derby/test/Daily/jvm1.6/testing/testlog/vista/1139564-suitesAll_diff.txt
> I think I've seen this failure before, but couldn't find it in the test logs.

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

        

Mime
View raw message