Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 4896 invoked from network); 9 Dec 2010 19:33:36 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 Dec 2010 19:33:36 -0000 Received: (qmail 59248 invoked by uid 500); 9 Dec 2010 19:33:36 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 59203 invoked by uid 500); 9 Dec 2010 19:33:36 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 59196 invoked by uid 99); 9 Dec 2010 19:33:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Dec 2010 19:33:36 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of elecharny@gmail.com designates 209.85.160.178 as permitted sender) Received: from [209.85.160.178] (HELO mail-gy0-f178.google.com) (209.85.160.178) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Dec 2010 19:33:30 +0000 Received: by gyh4 with SMTP id 4so1973308gyh.37 for ; Thu, 09 Dec 2010 11:33:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=mlbvkG+S2ygSynRo9jyfjDWwwF4XyFQJ5k3msxAIoKQ=; b=ANqQZjyv0o4K8qR598XuQbslmXvySeFQHWy80iavycQPXWqkqepoaJiR5So6s61ief 6Koki3S4ZxGmarDj6JYe87vgzO4+UMlz+YjyZCIzAQBWXgjMBpVNjuB3Hw9OTgMhEa4y QAuhO/ayjevRuNgticTZyubaqllzByq2ZHrnE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; b=x11GA2WqHUeTKFi+VXhIMf36nWCsHewz6jMjsm9XU3TKZo8UtOiud1JRbgmLQme/AE TNgeAF7Z1nE7HN5fByUPlUNmMoJ6dY1D2nv2QjZo8SDiTuzIyKr7X9WULX6G8oSmP+yw dsyAVLcndO2GSXVT9NycudHFDZ7DaTaIACXjU= Received: by 10.151.79.11 with SMTP id g11mr6842769ybl.196.1291923189451; Thu, 09 Dec 2010 11:33:09 -0800 (PST) Received: from emmanuel-lecharnys-MacBook-Pro.local (ran75-1-78-192-106-184.fbxo.proxad.net [78.192.106.184]) by mx.google.com with ESMTPS id x53sm1339342yhc.31.2010.12.09.11.33.08 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 09 Dec 2010 11:33:08 -0800 (PST) Message-ID: <4D012EF2.7000709@gmail.com> Date: Thu, 09 Dec 2010 20:33:06 +0100 From: Emmanuel Lecharny Reply-To: elecharny@apache.org User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 To: Apache Directory Developers List Subject: Re: Latest trunk test failures on Windows XP References: <305_1291922898_oB9JSHs4001995_OF6475F3E7.4B16F517-ON852577F4.00657158-852577F4.006AF63D@gdls.com> In-Reply-To: <305_1291922898_oB9JSHs4001995_OF6475F3E7.4B16F517-ON852577F4.00657158-852577F4.006AF63D@gdls.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit On 12/9/10 8:28 PM, feezelr@gdls.com wrote: > I've just checked out trunk and I'm getting a couple of test failures. > > First ReplayCacheImplTest was failing until I changed line 100 to "Thread. > sleep( 1200 );" > Second org.apache.directory.server.config.LdapServerConfigReaderTest fails > with an error trying to delete the contents of the work directory: > > ------------------------------------------------------------------------------- > Test set: org.apache.directory.server.config.LdapServerConfigReaderTest > ------------------------------------------------------------------------------- > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.532 sec > <<< FAILURE! > org.apache.directory.server.config.LdapServerConfigReaderTest Time > elapsed: 0 sec<<< ERROR! > java.io.IOException: Unable to delete file: C:\DOCUME~1\feezelr\LOCALS~1\ > Temp\server-work\configReader\config.ldif > at > org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1390) > at > org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1044) > at > org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:977) > at > org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1381) > at > org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1044) > at > org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:977) > at > org.apache.directory.server.config.LdapServerConfigReaderTest.readConfig(LdapServerConfigReaderTest.java:66) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at > org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) > at > org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) > at > org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) > at > org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27) > at org.junit.runners.ParentRunner.run(ParentRunner.java:236) > at > org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59) > at > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:120) > at > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:103) > at org.apache.maven.surefire.Surefire.run(Surefire.java:169) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at > org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350) > at > org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021) > > > This looks to me like another instance of an attempt to delete a file > while it is still open. This type of problem seems to be unique to the > Windows environment. In this case, however, it's not obvious to my why > the file would be in use. Is this possibly a consequence of trying to run > tests concurrently? Probably. It's a serious issue we already faced lately and we have fixed some of them, but it seems there are some remaining failures. Sadly, none of us have a windows env to debug the code... -- Regards, Cordialement, Emmanuel L�charny www.iktek.com