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 C6778157E for ; Tue, 19 Apr 2011 22:38:43 +0000 (UTC) Received: (qmail 64476 invoked by uid 500); 19 Apr 2011 22:38:43 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 64451 invoked by uid 500); 19 Apr 2011 22:38:43 -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 64444 invoked by uid 99); 19 Apr 2011 22:38:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Apr 2011 22:38:43 +0000 X-ASF-Spam-Status: No, hits=-1.6 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [148.87.113.121] (HELO rcsinet10.oracle.com) (148.87.113.121) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Apr 2011 22:38:33 +0000 Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id p3JMcA9A031098 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 19 Apr 2011 22:38:11 GMT Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p3JMc94S005971 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 19 Apr 2011 22:38:10 GMT Received: from abhmt009.oracle.com (abhmt009.oracle.com [141.146.116.18]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p3JMb4cD032536 for ; Tue, 19 Apr 2011 17:37:04 -0500 Received: from [192.168.0.198] (/84.215.146.148) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 19 Apr 2011 15:37:03 -0700 Message-ID: <4DAE0037.9060304@apache.org> Date: Tue, 19 Apr 2011 23:35:51 +0200 From: Kristian Waagan User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9.2.15) Gecko/20110313 Thunderbird/3.1.9 MIME-Version: 1.0 To: derby-dev@db.apache.org Subject: Re: junit failures References: <20110414155540.24777.qmail@njord-qa> <4DAB0ACD.9000802@apache.org> <4DADD6FF.8050004@sbcglobal.net> <4DAE03C5.3050106@mebigfatguy.com> In-Reply-To: <4DAE03C5.3050106@mebigfatguy.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 19.04.11 23:51, Dave Brosius wrote: > On 04/19/2011 02:39 PM, Kathey Marsden wrote: >> On 4/19/2011 8:37 AM, Lily Wei wrote: >>> Hi David: >>> I tried with an empty directory for the same test with your fix. >>> It also failed for me with the patch. >>> >> So it sounds specifically related to the patch. I wonder if at >> whatever point these objects are supposed to be dropped, there are >> open result sets so it doesn't actually get dropped. Is there >> anything in the derby.log about maybe not being able to drop the >> Phase table because of open result sets? >> >> >> >> > Only thing of interest is this, nothing related to the Phase table: > > Sun Apr 17 04:57:15 EST 2011 : Execution failed because of Permanent > Agent Error: SVRCOD = 40; RDBNAM = srvdscreateshutdowndb1;create=true; > diagnostic msg = ASSERT FAILED pbsd is not expected to be null > org.apache.derby.impl.drda.DRDAProtocolException: Execution failed > because of Permanent Agent Error: SVRCOD = 40; RDBNAM = > srvdscreateshutdowndb1;create=true; diagnostic msg = ASSERT FAILED > pbsd is not expected to be null > at > org.apache.derby.impl.drda.DRDAProtocolException.newAgentError(DRDAProtocolException.java:339) > at > org.apache.derby.impl.drda.DRDAConnThread.sendUnexpectedException(DRDAConnThread.java:8378) > at > org.apache.derby.impl.drda.DRDAConnThread.handleException(DRDAConnThread.java:8329) > at > org.apache.derby.impl.drda.DRDAConnThread.run(DRDAConnThread.java:319) > Sun Apr 17 04:57:15 EST 2011 : ASSERT FAILED pbsd is not expected to > be null > org.apache.derby.shared.common.sanity.AssertFailure: ASSERT FAILED > pbsd is not expected to be null > at > org.apache.derby.shared.common.sanity.SanityManager.ASSERT(SanityManager.java:120) > at > org.apache.derby.impl.drda.DRDAConnThread.writePBSD(DRDAConnThread.java:2726) > at > org.apache.derby.impl.drda.DRDAConnThread.processCommands(DRDAConnThread.java:1044) > at > org.apache.derby.impl.drda.DRDAConnThread.run(DRDAConnThread.java:294) Looking at the stack trace, the assert is related to the piggy-backing of session state data. This was added as DERBY-3192, and I also made minor some changes as part of DERBY-3596. I haven't looked at your patch, so I have no idea what causes the assert to trigger. Things start looking at may be whether protocol flows have been changed, or if a deferred reset is taking place. Out of curiosity, do all the tests pass when you run with an insane build? [*] Regards, -- Kristian * Even if they pass, a performance regression for the client driver may have been introduced (typically one extra round-trip to get the session data).