Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 86214 invoked from network); 4 Dec 2009 03:54:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Dec 2009 03:54:47 -0000 Received: (qmail 87945 invoked by uid 500); 4 Dec 2009 03:54:47 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 87828 invoked by uid 500); 4 Dec 2009 03:54:45 -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 87820 invoked by uid 99); 4 Dec 2009 03:54:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Dec 2009 03:54:45 +0000 X-ASF-Spam-Status: No, hits=-10.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Dec 2009 03:54:40 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B3F60234C1F2 for ; Thu, 3 Dec 2009 19:54:20 -0800 (PST) Message-ID: <1487951904.1259898860736.JavaMail.jira@brutus> Date: Fri, 4 Dec 2009 03:54:20 +0000 (UTC) From: "Bryan Pendleton (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-4297) 'compilation time did not compute (0,0,0,0) expected:<16> but was:<0>' in testGroupBySortProps(....tests.lang.XplainStatisticsTest) In-Reply-To: <712911361.1246624127173.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-4297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12785735#action_12785735 ] Bryan Pendleton commented on DERBY-4297: ---------------------------------------- Hi Ole, I just noticed this, sorry I didn't pay attention to it before. Does this happen routinely? Or did it happen only once? The values "16" and "0" are interesting because on Windows, System.currentTimeMillis returns values from the 60 Hz timer which means that the values often appear to advance in "jumps" of 16 (sometimes 15). This might be a problem in the test, which is a relatively new test, or it might indicate a weakness in the compile_time measurement logic in the compilation code. > 'compilation time did not compute (0,0,0,0) expected:<16> but was:<0>' in testGroupBySortProps(....tests.lang.XplainStatisticsTest) > ----------------------------------------------------------------------------------------------------------------------------------- > > Key: DERBY-4297 > URL: https://issues.apache.org/jira/browse/DERBY-4297 > Project: Derby > Issue Type: Bug > Components: SQL, Test > Affects Versions: 10.6.0.0 > Environment: OS: > Microsoft Windows XP Professional - 5.1.2600 Service Pack 3 Build 2600 > CYGWIN_NT-5.1 1.5.25(0.156/4/2) 2008-06-12 19:34 Cygwin > JVM: > Sun Microsystems Inc. > java version "1.5.0_16" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16-b02) > Java HotSpot(TM) Client VM (build 1.5.0_16-b02, mixed mode, sharing) > Reporter: Ole Solberg > Priority: Minor > > Seen in > http://dbtg.thresher.com/derby/test/trunk15/jvm1.5/testing/testlog/CYGWIN_NT-5.1_i686-unknown/790694-org.apache.derbyTesting.functionTests.suites.All_diff.txt > There was 1 failure: > 1) testGroupBySortProps(org.apache.derbyTesting.functionTests.tests.lang.XplainStatisticsTest)junit.framework.AssertionFailedError: compilation time did not compute (0,0,0,0) expected:<16> but was:<0> > at org.apache.derbyTesting.functionTests.tests.lang.XplainStatisticsTest.verifySensibleStatementTimings(XplainStatisticsTest.java:707) > at org.apache.derbyTesting.functionTests.tests.lang.XplainStatisticsTest.testGroupBySortProps(XplainStatisticsTest.java:1011) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:109) > at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22) > at junit.extensions.TestSetup$1.protect(TestSetup.java:19) > at junit.extensions.TestSetup.run(TestSetup.java:23) > at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.