From dev-return-40917-apmail-directory-dev-archive=directory.apache.org@directory.apache.org Sat May 5 10:20:39 2012 Return-Path: X-Original-To: apmail-directory-dev-archive@www.apache.org Delivered-To: apmail-directory-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 75815C27C for ; Sat, 5 May 2012 10:20:39 +0000 (UTC) Received: (qmail 70702 invoked by uid 500); 5 May 2012 10:20:39 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 70661 invoked by uid 500); 5 May 2012 10:20:39 -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 70652 invoked by uid 99); 5 May 2012 10:20:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 May 2012 10:20:39 +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 (nike.apache.org: domain of akarasulu@gmail.com designates 209.85.212.178 as permitted sender) Received: from [209.85.212.178] (HELO mail-wi0-f178.google.com) (209.85.212.178) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 May 2012 10:20:31 +0000 Received: by wibhr7 with SMTP id hr7so2088538wib.1 for ; Sat, 05 May 2012 03:20:11 -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:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=nlu4avrky+nA8aQhqrOKaMR1n2G0ryGZjEvvyU1B9qU=; b=wtUqNCMI249mB4PAqNwpxGIZOShOgElI5dLIiUPmjRzxMdNzKkegZBAzAcjrI1jz6c CMLjir3DP8sfA61djqvsRpvGZ4F6N9bLIrWmZKW0hyj8myxIvEJs4C6ADqF7yrzGNtAX fFjZvsm9SHMpR+nY36mNKbh8ZJHytuOJBA3Gxlyfu9nmWb35k0xS+m0VOKXu0+B9mb8q E2F1SSeTsMkAUpt6fO3+aU0CcCNQOi2EfhAUQpNCJTe40by0ZOcmWdfw/0WXZBXgwGoy 3xx7y6VJK5eensoURBSLPgEdlCPJHLXJiVZ0/VGzNeE5V5P50Uy1+6zg3W36tIOmmwTF 29qg== MIME-Version: 1.0 Received: by 10.180.94.7 with SMTP id cy7mr23172479wib.3.1336213211513; Sat, 05 May 2012 03:20:11 -0700 (PDT) Sender: akarasulu@gmail.com Received: by 10.180.126.97 with HTTP; Sat, 5 May 2012 03:20:11 -0700 (PDT) In-Reply-To: <4FA4FDBE.9010901@gmail.com> References: <4FA4FDBE.9010901@gmail.com> Date: Sat, 5 May 2012 13:20:11 +0300 X-Google-Sender-Auth: yGQoNYIYK5RiTtnwFcYSboJjzGk Message-ID: Subject: Re: Release troubles and failing tests From: Alex Karasulu To: Apache Directory Developers List , elecharny@apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Sat, May 5, 2012 at 1:15 PM, Emmanuel L=E9charny w= rote: > Hi guys, > > I'm trying to get ADS 2.0.0-M7 release done today, but I'm having hard > time... Appart a bug in maven release plugin (mvn release:rollback does n= ot > remove the tags, which leads to some very tricky issues with the rat > plugin...), we stll have some random failures in server-integ and > client-api-tests. > > Those failures are well known : timeout in the LRUCache, most certainly d= ue > to some cursors not being closed. One way in which we can approach this for the sake of debugging for unclosed cursors is to use bytecode splicing just for testing purposes (not for production or normal development use). If we use something like aspectj to add logging statements to cursor operations and regions of the code where operations occur we can run your tests and then do the accounting on the log output. We should be able to find mismatched opened/closed cursors this way. --=20 Best Regards, -- Alex