Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C44788949 for ; Fri, 9 Sep 2011 21:02:32 +0000 (UTC) Received: (qmail 55002 invoked by uid 500); 9 Sep 2011 21:02:32 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 54927 invoked by uid 500); 9 Sep 2011 21:02:31 -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 54906 invoked by uid 99); 9 Sep 2011 21:02:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Sep 2011 21:02:31 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,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, 09 Sep 2011 21:02:30 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 3C7C08BB8C for ; Fri, 9 Sep 2011 21:02:10 +0000 (UTC) Date: Fri, 9 Sep 2011 21:02:10 +0000 (UTC) From: "Myrna van Lunteren (JIRA)" To: derby-dev@db.apache.org Message-ID: <1760787452.9949.1315602130244.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1146931259.5459.1299606421122.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (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 [ https://issues.apache.org/jira/browse/DERBY-5108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Myrna van Lunteren updated DERBY-5108: -------------------------------------- Component/s: (was: Test) Services > 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: Services > Affects Versions: 10.8.1.2 > Environment: Windows platforms. > Reporter: Kristian Waagan > Assignee: Kristian Waagan > Priority: Blocker > Fix For: 10.8.1.6, 10.9.0.0 > > Attachments: derby-5108-1a-early_istats_shutdown.diff, derby-5108-2.diff, derby-5108-2a-early_istats_shutdown_broad.diff, derby-5108-3a-istat_log_abort.diff, javacore.20110309.125807.4048.0001.txt, waitOnShutdown.diff > > > 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