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 287669B3E for ; Thu, 29 Sep 2011 03:03:11 +0000 (UTC) Received: (qmail 49506 invoked by uid 500); 29 Sep 2011 03:03:11 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 49461 invoked by uid 500); 29 Sep 2011 03:03:10 -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 49404 invoked by uid 99); 29 Sep 2011 03:03:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Sep 2011 03:03:07 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Sep 2011 03:03:06 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 9CC5A28EC67 for ; Thu, 29 Sep 2011 03:02:45 +0000 (UTC) Date: Thu, 29 Sep 2011 03:02:45 +0000 (UTC) From: "Kathey Marsden (Updated) (JIRA)" To: derby-dev@db.apache.org Message-ID: <648908259.6185.1317265365644.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <298133057.5909.1317255645452.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (DERBY-5434) On linux with IBM JDK 1.7 suites.All does not run at all failing with java.lang.reflect.InvocationTargetException 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-5434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kathey Marsden updated DERBY-5434: ---------------------------------- Attachment: CheckAccessToOwner.java Attaching CheckAccessToOwner, a scaled down junit test without Derby. It passes on Windows butfails on Linux with: 1) testCheckAccessToOwner(CheckAccessToOwner)junit.framework.AssertionFailedError at CheckAccessToOwner$2.run(CheckAccessToOwner.java:172) at java.security.AccessController.doPrivileged(AccessController.java:254) at CheckAccessToOwner.checkAccessToOwner(CheckAccessToOwner.java:97) at CheckAccessToOwner.testCheckAccessToOwner(CheckAccessToOwner.java:42) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:76) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) FAILURES!!! Tests run: 1, Failures: 1, Errors: 0 I'll take a closer look tomorrow, but am not yet familiar with the new methods. Any insight is welcome. > On linux with IBM JDK 1.7 suites.All does not run at all failing with java.lang.reflect.InvocationTargetException > ------------------------------------------------------------------------------------------------------------------ > > Key: DERBY-5434 > URL: https://issues.apache.org/jira/browse/DERBY-5434 > Project: Derby > Issue Type: Bug > Components: Test > Affects Versions: 10.9.0.0 > Environment: SuSE linux > java version "1.7.0-ea" > Java(TM) SE Runtime Environment (build pxi3270-20110508_04) > IBM J9 VM (build 2.6, JRE 1.7.0 Linux x86-32 20110507_81834 (JIT enabled, AOT enabled) > J9VM - R26_head_20110506_1737_B81772 > JIT - r11_20110506_19491 > GC - R26_head_20110506_1718_B81770 > J9CL - 20110507_81834) > JCL - 20110506_04 based on Oracle 7b135 > kmarsden@kmarsden-lt2:~/ibm17/bin> > Reporter: Kathey Marsden > Attachments: CheckAccessToOwner.java, derby-5434_disable_restrictedtest_diff.txt > > > On IBM 1.7, presumably after the checkin of DERBY-5363 suites.All fails to run with the exception: > Failed to invoke class org.apache.derbyTesting.functionTests.tests.engine._Suite > java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55) > at java.lang.reflect.Method.invoke(Method.java:613) > at org.apache.derbyTesting.functionTests.suites.AllPackages.invokeSuite(AllPackages.java:176) > at org.apache.derbyTesting.functionTests.suites.AllPackages.suite(AllPackages.java:63) > at org.apache.derbyTesting.functionTests.suites.All.suite(All.java:51) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55) > at java.lang.reflect.Method.invoke(Method.java:613) > at junit.runner.BaseTestRunner.getTest(BaseTestRunner.java:126) > at junit.textui.TestRunner.start(TestRunner.java:184) > at junit.textui.TestRunner.main(TestRunner.java:143) > Caused by: junit.framework.AssertionFailedError > at junit.framework.Assert.fail(Assert.java:47) > at junit.framework.Assert.fail(Assert.java:53) > at org.apache.derbyTesting.functionTests.tests.engine.RestrictiveFilePermissionsTest$2.run(RestrictiveFilePermissionsTest.java:673) > at java.security.AccessController.doPrivileged(AccessController.java:254) > at org.apache.derbyTesting.functionTests.tests.engine.RestrictiveFilePermissionsTest.checkAccessToOwner(RestrictiveFilePermissionsTest.java:590) > at org.apache.derbyTesting.functionTests.tests.engine.RestrictiveFilePermissionsTest.suite(RestrictiveFilePermissionsTest.java:92) > at org.apache.derbyTesting.functionTests.tests.engine._Suite.suite(_Suite.java:51) > ... 14 more > Failed to invoke suite():java.lang.reflect.InvocationTargetException > This JDK was just released recently and I am not sure where to get it publicly. I am not sure if this is a JVM bug. I will take a look and if it is not something that can be fixed quickly, will skip this test on IBM 1.7 until we can figure it out so the other tests can run. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira