Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 70050 invoked from network); 11 Mar 2011 15:37:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Mar 2011 15:37:24 -0000 Received: (qmail 91019 invoked by uid 500); 11 Mar 2011 15:37:24 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 90994 invoked by uid 500); 11 Mar 2011 15:37:24 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 90987 invoked by uid 99); 11 Mar 2011 15:37:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Mar 2011 15:37:24 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Mar 2011 15:37:21 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 69EA63A42AE for ; Fri, 11 Mar 2011 15:36:59 +0000 (UTC) Date: Fri, 11 Mar 2011 15:36:59 +0000 (UTC) From: "Lily Wei (JIRA)" To: derby-dev@db.apache.org Message-ID: <1094346243.13596.1299857819430.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1146931259.5459.1299606421122.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Commented: (DERBY-5108) Intermittent failure in AutomaticIndexStatisticsTest.testShutdownWhileScanningThenDelete on Windows MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-5108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13005680#comment-13005680 ] Lily Wei commented on DERBY-5108: --------------------------------- +1 to making this a blocker for this application shuts down the database then delete the database is problematic on Windows. > Intermittent failure in AutomaticIndexStatisticsTest.testShutdownWhileScanningThenDelete on Windows > --------------------------------------------------------------------------------------------------- > > Key: DERBY-5108 > URL: https://issues.apache.org/jira/browse/DERBY-5108 > Project: Derby > Issue Type: Bug > Components: Test > Affects Versions: 10.8.0.0 > Environment: Windows platforms. > Reporter: Kristian Waagan > Assignee: Mike Matrigali > Priority: Blocker > Attachments: javacore.20110309.125807.4048.0001.txt > > > The test AutomaticIndexStatisticsTest.testShutdownWhileScanningThenDelete fails intermittently on Windows platforms because the test is unable to delete a database directory. > Even after several retries and sleeps (the formula should be (attempt -1) * 2000, resulting in a total sleep time of 12 seconds), the conglomerate system\singleUse\copyShutdown\seg0\c481.dat cannot be deleted. > For instance from http://dbtg.foundry.sun.com/derby/test/Daily/jvm1.6/testing/testlog/w2003/1078855-suitesAll_diff.txt : > (truncated paths) > testShutdownWhileScanningThenDelete attempt 1 left 3 files/dirs behind: 0=system\singleUse\copyShutdown\seg0\c481.dat 1=system\singleUse\copyShutdown\seg0 2=system\singleUse\copyShutdown > attempt 2 left 3 files/dirs behind: 0=system\singleUse\copyShutdown\seg0\c481.dat 1=system\singleUse\copyShutdown\seg0 2=system\singleUse\copyShutdown > attempt 3 left 3 files/dirs behind: 0=system\singleUse\copyShutdown\seg0\c481.dat 1=system\singleUse\copyShutdown\seg0 2=system\singleUse\copyShutdown > attempt 4 left 3 files/dirs behind: 0=system\singleUse\copyShutdown\seg0\c481.dat 1=system\singleUse\copyShutdown\seg0 2=system\singleUse\copyShutdown > used 205814 ms F. > Maybe the database isn't shut down, or some specific timing of events causes a file to be reopened when it shouldn't have been (i.e. after the database shutdown has been initiated). -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira