Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 47288 invoked from network); 6 Jul 2009 15:20:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Jul 2009 15:20:27 -0000 Received: (qmail 42970 invoked by uid 500); 6 Jul 2009 15:20:37 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 42930 invoked by uid 500); 6 Jul 2009 15:20:36 -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 42922 invoked by uid 99); 6 Jul 2009 15:20:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jul 2009 15:20:36 +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; Mon, 06 Jul 2009 15:20:34 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D4BD4234C004 for ; Mon, 6 Jul 2009 08:20:14 -0700 (PDT) Message-ID: <133105819.1246893614857.JavaMail.jira@brutus> Date: Mon, 6 Jul 2009 08:20:14 -0700 (PDT) From: "Kathey Marsden (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-3201) test SysinfoAPITest fails with weme6.1 In-Reply-To: <3059720.1194917390978.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-3201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kathey Marsden updated DERBY-3201: ---------------------------------- Urgency: Normal Triaged for 10.5.2. Set urgency to normal. > test SysinfoAPITest fails with weme6.1 > -------------------------------------- > > Key: DERBY-3201 > URL: https://issues.apache.org/jira/browse/DERBY-3201 > Project: Derby > Issue Type: Bug > Components: Test, Tools > Environment: weme6.1 (CDC Foundation 1.1 with JSR169 support) > Reporter: Myrna van Lunteren > Priority: Minor > > Running the junit test tools.SysinfoAPITest with weme6.1 results in a failure: > 1) testGetInfo(org.apache.derbyTesting.functionTests.tests.tools.SysinfoAPITest)junit.framework.ComparisonFailure: expected:<------------------ Java Information ------------------> but was: > at org.apache.derbyTesting.functionTests.tests.tools.SysinfoAPITest.testGetInfo(SysinfoAPITest.java:159) > at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:205) > at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:95) > This has been aggravated by my change for DERBY-2903; after revision 593635 this failure is now followed by: > java.lang.IllegalStateException: File is closed > at java.util.zip.ZipFile.getEntry(ZipFile.java:172) > at java.util.jar.JarFile.getEntry(JarFile.java:309) > at java.net.URLClassLoader.findResourceImpl(URLClassLoader.java:670) > at java.net.URLClassLoader$5.run(URLClassLoader.java:604) > at java.security.AccessController.doPrivileged(AccessController.java:213) > at java.net.URLClassLoader.findResource(URLClassLoader.java:602) > at java.lang.ClassLoader.getResource(ClassLoader.java:389) > at java.lang.ClassLoader.getResource(ClassLoader.java:386) > at java.lang.Class.getResource(Class.java:1086) > at org.apache.derby.impl.tools.sysinfo.Main$5.run(Main.java:851) > at java.security.AccessController.doPrivileged(AccessController.java:191) > at org.apache.derby.impl.tools.sysinfo.Main.loadZipFromResource(Main.java:848) > at org.apache.derby.impl.tools.sysinfo.Main.getAllInfo(Main.java:760) > at org.apache.derby.impl.tools.sysinfo.Main.reportDerby(Main.java:220) > at org.apache.derby.impl.tools.sysinfo.Main.getMainInfo(Main.java:120) > at org.apache.derby.tools.sysinfo.getInfo(sysinfo.java:213) > at org.apache.derbyTesting.functionTests.tests.tools.sysinfo_api_helper.run(SysinfoAPITest.java:188) > However, the SysinfoAPITest is currently not running because of DERBY-2343, so I am not going to undo the change for DERBY-2903 at this time. > Still, some further research into this test, and the sysinfo API behavior is needed. > Also, note that the test currently prints out a version number in testBuildNumber(). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.