From dev-return-39016-apmail-directory-dev-archive=directory.apache.org@directory.apache.org Fri Sep 2 00:32:26 2011 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 09133828D for ; Fri, 2 Sep 2011 00:32:26 +0000 (UTC) Received: (qmail 48745 invoked by uid 500); 2 Sep 2011 00:32:25 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 48658 invoked by uid 500); 2 Sep 2011 00:32:25 -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 48650 invoked by uid 99); 2 Sep 2011 00:32:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Sep 2011 00:32:24 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of elecharny@gmail.com designates 209.85.215.50 as permitted sender) Received: from [209.85.215.50] (HELO mail-ew0-f50.google.com) (209.85.215.50) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Sep 2011 00:32:16 +0000 Received: by ewy10 with SMTP id 10so1438633ewy.37 for ; Thu, 01 Sep 2011 17:31:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=RNr+uMkGAcbG3zgXEOS2KxNSHDzR18fbNTbovGodQB0=; b=Rv9JCk5UjEXlO/A4Eg2HJF69Cs4RXVdxDLqmzyuiBI99Zvi4RKDt9TV4vf4A6u1OIY LelqN3QpFdFNCUIasv1OfLxW/B0u2KNdbLJ2tCkVRnHZhkHO1HKNeygHmqTkpZG/W68h fKoU7QUlcoyoFkISIULiRYIRv78TVunKgZb88= Received: by 10.14.11.206 with SMTP id 54mr133136eex.132.1314923516417; Thu, 01 Sep 2011 17:31:56 -0700 (PDT) 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 p16sm242778eef.2.2011.09.01.17.31.55 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 01 Sep 2011 17:31:55 -0700 (PDT) Message-ID: <4E6023F9.3030009@gmail.com> Date: Fri, 02 Sep 2011 02:31:53 +0200 From: Emmanuel Lecharny Reply-To: elecharny@apache.org User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:6.0) Gecko/20110812 Thunderbird/6.0 MIME-Version: 1.0 To: Apache Directory Developers List Subject: Replication reboot test failure : headsup Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Hi guys, finally, I found the reason why this test was failing : the SyncInfoValue is not a control, but a part of the IntermediateMessage. It's value is stored into the IntermediateMessage value, and should be decoded locally. It was the case a while back (http://svn.apache.org/viewvc/directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/SyncReplConsumer.java?r1=1151533&r2=1152183&pathrev=1153306&diff_format=h), but it was replaced by some code assuming the SyncInfoValue was a control. There was also another problem: the ads-repl ookie AT is an operatioanl attribute, and the lookup we did was'nt returning it. This has been fixed. I have added a CONSUMER_LOG logger to help the analysis of replication. We now have PROUCER_LOG for the producer and the same for the consumer. Understanding what's going on at both side should be easier. (even f right now, we don't have enough logs). Sadly, the reboot test seems to fail randomly. In Eclipse, I have it working but it fails from time to time. It seems that we have some timing issue, somewhere. If I set the logs, it does not fail anymore. I will crash, after having committed the fixes. The test will be @Ignored. I'll work o this issue tomorrow. FYI, I also injected Selcuk's branch (apacheds-jdbm) into trunks. -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com