You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Kristian Waagan (JIRA)" <ji...@apache.org> on 2011/06/27 08:34:50 UTC

[jira] [Created] (DERBY-5297) noConnectionAfterHardUpgrade in upgrade test fails intermittently (file deletion)

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

        

[jira] [Commented] (DERBY-5297) noConnectionAfterHardUpgrade in upgrade test fails intermittently (file deletion)

Posted by "Kristian Waagan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-5297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13086866#comment-13086866 ] 

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

Another occurrence (2011-08-16): http://dbtg.foundry.sun.com/derby/test/Daily/jvm1.6/testing/testlog/w2003/1158340-suitesAll_diff.txt


> 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
>         Attachments: derby-5297-1a-move_db_experiment.diff
>
>
> 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

        

[jira] [Commented] (DERBY-5297) noConnectionAfterHardUpgrade in upgrade test fails intermittently (file deletion)

Posted by "Kristian Waagan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-5297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13059406#comment-13059406 ] 

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

Yes, disabling istat for 10.8 in the upgrade tests sounds like a good idea. We can then monitor the test results and see if the failure still happens.
If that fixes the problem, we should investigate why istat fails to shut down properly. If the problem persists, I guess we have another problem to identify and fix.

> 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

        

[jira] [Updated] (DERBY-5297) noConnectionAfterHardUpgrade in upgrade test fails intermittently (file deletion)

Posted by "Myrna van Lunteren (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-5297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Myrna van Lunteren updated DERBY-5297:
--------------------------------------

    Urgency: Normal
     Labels: derby_triage10_10  (was: )
    
> 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.1.0
>         Environment: Windows
>            Reporter: Kristian Waagan
>            Priority: Minor
>              Labels: derby_triage10_10
>         Attachments: derby-5297-1a-move_db_experiment.diff
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (DERBY-5297) noConnectionAfterHardUpgrade in upgrade test fails intermittently (file deletion)

Posted by "Kristian Waagan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-5297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13470221#comment-13470221 ] 

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

I'm thinking this one can be resolved as Unable to reproduce, and then reopened if we see it happening again. We should probably trawl the logs for occurrences first, but I don't have the cycles to do that now.
                
> 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.1.0
>         Environment: Windows
>            Reporter: Kristian Waagan
>            Priority: Minor
>              Labels: derby_triage10_10
>         Attachments: derby-5297-1a-move_db_experiment.diff
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (DERBY-5297) noConnectionAfterHardUpgrade in upgrade test fails intermittently (file deletion)

Posted by "Kristian Waagan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-5297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kristian Waagan updated DERBY-5297:
-----------------------------------

    Attachment: derby-5297-1a-move_db_experiment.diff

Verified that a open file handle is present before the attempt to boot the upgraded database with the old version (see patch 1a), although I cannot say for sure if the database identified is the correct database.

> 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
>         Attachments: derby-5297-1a-move_db_experiment.diff
>
>
> 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

        

[jira] [Commented] (DERBY-5297) noConnectionAfterHardUpgrade in upgrade test fails intermittently (file deletion)

Posted by "Kristian Waagan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-5297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13065148#comment-13065148 ] 

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

Using BTrace and some custom helper code, I think I have been able to identify the following stack trace as the reason for why the file cannot be deleted:

org.apache.derby.impl.io.DirRandomAccessFile@1602bbc = test/system/singleUse/oneuse0/seg0/c10f0.dat -> org.apache.derby.impl.io.DirFile4.getRandomAccessFile(Unknown Source)
org.apache.derby.impl.store.raw.data.RAFContainer.run(Unknown Source)
java.security.AccessController.doPrivileged(Native Method)
org.apache.derby.impl.store.raw.data.RAFContainer.openContainerMinion(Unknown Source)
org.apache.derby.impl.store.raw.data.RAFContainer.reopenContainer(Unknown Source)
org.apache.derby.impl.store.raw.data.RAFContainer4.recoverContainerAfterInterrupt(Unknown Source)
org.apache.derby.impl.store.raw.data.RAFContainer4.readPage(Unknown Source)
org.apache.derby.impl.store.raw.data.RAFContainer4.getEmbryonicPage(Unknown Source)
org.apache.derby.impl.store.raw.data.RAFContainer.writeRAFHeader(Unknown Source)
org.apache.derby.impl.store.raw.data.RAFContainer.clean(Unknown Source)
org.apache.derby.impl.services.cache.ConcurrentCache.cleanAndUnkeepEntry(Unknown Source)
org.apache.derby.impl.services.cache.ClockPolicy.rotateClock(Unknown Source)
org.apache.derby.impl.services.cache.ClockPolicy.insertEntry(Unknown Source)
org.apache.derby.impl.services.cache.ConcurrentCache.insertIntoFreeSlot(Unknown Source)
org.apache.derby.impl.services.cache.ConcurrentCache.find(Unknown Source)
org.apache.derby.impl.store.raw.data.CachedPage.writePage(Unknown Source)
org.apache.derby.impl.store.raw.data.CachedPage.clean(Unknown Source)
org.apache.derby.impl.services.cache.ConcurrentCache.cleanAndUnkeepEntry(Unknown Source)
org.apache.derby.impl.services.cache.ConcurrentCache.cleanEntry(Unknown Source)
org.apache.derby.impl.services.cache.BackgroundCleaner.performWork(Unknown Source)
org.apache.derby.impl.services.daemon.BasicDaemon.serviceClient(Unknown Source)
org.apache.derby.impl.services.daemon.BasicDaemon.work(Unknown Source)
org.apache.derby.impl.services.daemon.BasicDaemon.run(Unknown Source)
java.lang.Thread.run(Thread.java:662)

This is 10.8.1.2 code. Note the call to RAFContainer4.recoverContainerAfterInterrupt. One theory could be that the background cleaner is interrupted during shutdown, but I have not been able to prove that using tracing.
Regarding a workaround, I talked a bit to Dag and Knut offline about this. Checkpointing the database just before shutdown may ensure that the background cleaner won't be running during shutdown.

> 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
>         Attachments: derby-5297-1a-move_db_experiment.diff
>
>
> 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

        

[jira] [Commented] (DERBY-5297) noConnectionAfterHardUpgrade in upgrade test fails intermittently (file deletion)

Posted by "Kristian Waagan (JIRA)" <ji...@apache.org>.
    [ 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

        

[jira] [Commented] (DERBY-5297) noConnectionAfterHardUpgrade in upgrade test fails intermittently (file deletion)

Posted by "Myrna van Lunteren (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-5297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13467273#comment-13467273 ] 

Myrna van Lunteren commented on DERBY-5297:
-------------------------------------------

>From the comments, it appears this is not a Test issue?
                
> 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.1.0
>         Environment: Windows
>            Reporter: Kristian Waagan
>            Priority: Minor
>         Attachments: derby-5297-1a-move_db_experiment.diff
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (DERBY-5297) noConnectionAfterHardUpgrade in upgrade test fails intermittently (file deletion)

Posted by "Myrna van Lunteren (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-5297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13055710#comment-13055710 ] 

Myrna van Lunteren commented on DERBY-5297:
-------------------------------------------

I saw a similar error, same fixture, from the same version, but the database name is different (system\singleUse\oneuseb4):

(for now, see: http://people.apache.org/~myrnavl/derby_test_results/main/windows/testSummary-1139477.html)

I searched in my old test results for this string:
'Upgrade Tests from 10.8.1.2junit.framework.AssertionFailedError' and this is the first time that specific test failed from that version.

There was DERBY-5108, which also showed problems deleting files, but that was a different fixture, and I've not seen that in trunk since the latest changes to that test.

> 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

        

[jira] [Commented] (DERBY-5297) noConnectionAfterHardUpgrade in upgrade test fails intermittently (file deletion)

Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-5297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13059028#comment-13059028 ] 

Knut Anders Hatlen commented on DERBY-5297:
-------------------------------------------

Assuming this has the same root cause as DERBY-5108, should we disable the istat daemon for the upgrade tests on 10.8.1.2?

> 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