Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 87282 invoked from network); 17 Apr 2009 11:48:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Apr 2009 11:48:43 -0000 Received: (qmail 12110 invoked by uid 500); 17 Apr 2009 11:48:42 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 12035 invoked by uid 500); 17 Apr 2009 11:48:42 -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 12025 invoked by uid 99); 17 Apr 2009 11:48:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Apr 2009 11:48:42 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED 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, 17 Apr 2009 11:48:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D5CDC234C004 for ; Fri, 17 Apr 2009 04:48:14 -0700 (PDT) Message-ID: <974597621.1239968894860.JavaMail.jira@brutus> Date: Fri, 17 Apr 2009 04:48:14 -0700 (PDT) From: "Knut Anders Hatlen (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-4118) ComparisonFailure in 'testSysinfo(org.apache.derbyTesting.functionTests.tests.derbynet.SysinfoTest)' on Derby 10.5 / Linux In-Reply-To: <873826120.1238010713987.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-4118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Knut Anders Hatlen updated DERBY-4118: -------------------------------------- Attachment: permission.diff Kathey's guess was close, but SysinfoTest has its own policy file, so the extra permission must go into SysinfoTest.policy instead of derby_tests.policy. See attached patch. > ComparisonFailure in 'testSysinfo(org.apache.derbyTesting.functionTests.tests.derbynet.SysinfoTest)' on Derby 10.5 / Linux > -------------------------------------------------------------------------------------------------------------------------- > > Key: DERBY-4118 > URL: https://issues.apache.org/jira/browse/DERBY-4118 > Project: Derby > Issue Type: Bug > Components: Regression Test Failure > Affects Versions: 10.5.1.0 > Environment: OS: > Red Hat Enterprise Linux Server release 5.1 (Tikanga) 64bits > Linux 2.6.18-53.1.14.el5 #1 SMP Tue Feb 19 07:18:46 EST 2008 GNU/Linux > JVM: > Sun Microsystems Inc. > java version "1.6.0_06" > Java(TM) SE Runtime Environment (build 1.6.0_06-b02) > Java HotSpot(TM) Server VM (build 10.0-b22 mixed mode 32-bit) > Sun Microsystems Inc. > java version "1.5.0_14" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_14-b03) > Java HotSpot(TM) Server VM (build 1.5.0_14-b03 mixed mode 32-bit) > Sun Microsystems Inc. > java version "1.4.2_02" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_02-b03) > Java HotSpot(TM) Client VM (build 1.4.2_02-b03 mixed mode 32-bit) > Reporter: Ole Solberg > Assignee: Knut Anders Hatlen > Attachments: permission.diff > > > See e.g. > http://dbtg.thresher.com/derby/test/10.5Branch/jvm1.6/testing/testlog/lin/757918-suitesAll_diff.txt > 1) testSysinfo(org.apache.derbyTesting.functionTests.tests.derbynet.SysinfoTest)junit.framework.ComparisonFailure: expected:<...nformation -------- > []--------------------...> but was:<...nformation -------- > [Unable to analyze class path: access denied (java.util.PropertyPermission java.class.path read) > ]--------------------...> > at org.apache.derbyTesting.functionTests.tests.derbynet.SysinfoTest.testSysinfo(SysinfoTest.java:214) > 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:105) > at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24) > at junit.extensions.TestSetup$1.protect(TestSetup.java:21) > at junit.extensions.TestSetup.run(TestSetup.java:25) > at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57) > at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24) > at junit.extensions.TestSetup$1.protect(TestSetup.java:21) > at junit.extensions.TestSetup.run(TestSetup.java:25) > at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24) > at junit.extensions.TestSetup$1.protect(TestSetup.java:21) > at junit.extensions.TestSetup.run(TestSetup.java:25) > at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24) > at junit.extensions.TestSetup$1.protect(TestSetup.java:21) > at junit.extensions.TestSetup.run(TestSetup.java:25) > at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57) > at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24) > at junit.extensions.TestSetup$1.protect(TestSetup.java:21) > at junit.extensions.TestSetup.run(TestSetup.java:25) > at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24) > at junit.extensions.TestSetup$1.protect(TestSetup.java:21) > at junit.extensions.TestSetup.run(TestSetup.java:25) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.