Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-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 04C4FD438 for ; Sat, 8 Sep 2012 12:52:00 +0000 (UTC) Received: (qmail 17922 invoked by uid 500); 8 Sep 2012 12:51:58 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 17421 invoked by uid 500); 8 Sep 2012 12:51:53 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 17355 invoked by uid 99); 8 Sep 2012 12:51:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Sep 2012 12:51:50 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of dawid.weiss@gmail.com designates 209.85.210.48 as permitted sender) Received: from [209.85.210.48] (HELO mail-pz0-f48.google.com) (209.85.210.48) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Sep 2012 12:51:44 +0000 Received: by dadz8 with SMTP id z8so486359dad.35 for ; Sat, 08 Sep 2012 05:51:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type :content-transfer-encoding; bh=KxjUcKy9ydhCgippE0ww/rD8KyY2OAjni1TjUhdTzcc=; b=jRyqTXLtgmmanLd6E7p+cxpkTT7D11E1Gsip7N2/gc+eaHu57gmJo3Q7iV0x218jpS ogUXahdXIyzeadjKl8+/TLykHfSeb4nSV29Kp//LWZctpi3DG9eTxuoFuJYZRBUUK2zN bGiKXyXuxKVj4eObiKlLgEbPXldPz7MFBI+pnaYPcTRjDii7nrSLe3htoBtP99RYah0w VBZmI4pq8ckn5FllR2ZeLOlXrrio/QNpjobGnBF560d7d8ljHQPh1m/uVRL41J7JTNZr MgBFp4YB0SFkEiHSiHPDQ6qK7XC8djyoCxCp+LR8Mh6XTFq4ikBvDGOJhgTrF+MzKoIs r/HQ== Received: by 10.68.138.166 with SMTP id qr6mr15573073pbb.69.1347108684352; Sat, 08 Sep 2012 05:51:24 -0700 (PDT) MIME-Version: 1.0 Sender: dawid.weiss@gmail.com Received: by 10.66.144.166 with HTTP; Sat, 8 Sep 2012 05:51:04 -0700 (PDT) In-Reply-To: <005b01cd8db8$58fc96e0$0af5c4a0$@thetaphi.de> References: <1135949755.3.1347099722015.JavaMail.jenkins@serv1.sd-datasolutions.de> <005b01cd8db8$58fc96e0$0af5c4a0$@thetaphi.de> From: Dawid Weiss Date: Sat, 8 Sep 2012 14:51:04 +0200 X-Google-Sender-Auth: ivRu5Tmtn1z4WwsPmfxH1cQgJ8A Message-ID: Subject: Re: [JENKINS] Lucene-Solr-trunk-Windows (64bit/jdk1.7.0_07) - Build # 673 - Failure! To: dev@lucene.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org > I don=E2=80=99t understand the stack trace, so I have no idea. Test looks= OK. There is an infrastructural support for adding "close resource after all the hooks and everything" thingies. It's called closeAfterTest and closeAfterSuite (methods on LuceneTestCase). This was meant to be an easy facility to close/ remove resources; much like a finally but for tests and suites. If such a resource throws an exception on close the stack trace tells you why it failed to close but also where it was "registered" for closing which should help you find out the code fragment that was responsible for the resource. So: [junit4:junit4] > Throwable #1: com.carrotsearch.randomizedtesting.ResourceDisposalError: Resource in scope SUITE failed to close. Resource was registered from thread Thread[id=3D695, name=3DTEST-TestMultiMMap.testSeekSliceEnd-seed#[AA4F04524= D760878], state=3DRUNNABLE, group=3DTGRP-TestMultiMMap], registration stack trace below. [junit4:junit4] > at java.lang.Thread.getStackTrace(Thread.java:1567) [junit4:junit4] > at com.carrotsearch.randomizedtesting.RandomizedContext.closeAtEnd(RandomizedC= ontext.java:150) [junit4:junit4] > at org.apache.lucene.util.LuceneTestCase.closeAfterSuite(LuceneTestCase.java:4= 85) [junit4:junit4] > at org.apache.lucene.util._TestUtil.getTempDir(_TestUtil.java:97) [junit4:junit4] > at org.apache.lucene.store.TestMultiMMap.testSeekSliceEnd(TestMultiMMap.java:1= 64) tells you it was registered in TestMultiMMap.testSeekSliceEnd (line 164) and on close threw: Caused by: java.io.IOException: Could not remove: C:\Jenkins\workspace\Lucene-Solr-trunk-Windows\lucene\build\core\test\J0\.\= testSeekSliceEnd4659546750tmp [junit4:junit4] > at org.apache.lucene.util.CloseableFile.close(CloseableFile.java:47) ... Dawid --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org