You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Kathey Marsden (Created) (JIRA)" <ji...@apache.org> on 2011/09/29 02:20:45 UTC
[jira] [Created] (DERBY-5434) On linux with IBM JDK 1.7 suites.All
does not run at all failing with
java.lang.reflect.InvocationTargetException
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"
Java(TM) SE Runtime Environment (build pwi3270-20110906_01)
IBM J9 VM (build 2.6, JRE 1.7.0 Windows XP x86-32 20110810_88604 (JIT enabled
J9VM - R26_Java726_GA_20110810_1208_B88592
JIT - r11_20110810_20466
GC - R26_Java726_GA_20110810_1208_B88592
J9CL - 20110810_88604)
JCL - 20110809_01 based on Oracle 7b147
Reporter: Kathey Marsden
Priority: Critical
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
[jira] [Updated] (DERBY-5434) On linux with IBM JDK 1.7 suites.All
does not run at all failing with
java.lang.reflect.InvocationTargetException
Posted by "Kathey Marsden (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-5434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kathey Marsden updated DERBY-5434:
----------------------------------
Priority: Major (was: Critical)
Bug behavior facts: Crash,Regression Test Failure (was: Regression,Crash)
Lowering the severity now that we are skipping the test.
> 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: 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
[jira] [Updated] (DERBY-5434) On linux with IBM JDK 1.7 suites.All
does not run at all failing with
java.lang.reflect.InvocationTargetException
Posted by "Kathey Marsden (Updated) (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Commented] (DERBY-5434) On linux with IBM JDK 1.7
suites.All does not run at all failing with
java.lang.reflect.InvocationTargetException
Posted by "Dag H. Wanvik (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-5434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13116982#comment-13116982 ]
Dag H. Wanvik commented on DERBY-5434:
--------------------------------------
Apparently java.nio.Files.getFileAttributeView returns null for that platform, perhaps it is not implemented for Linux (yet?).
The test expected FileAttributeView to be available with Java 7. The engine implementation has similar code as the test. The engine, though, falls back on the Java 6 approach *to set the permissions* if it does not successfully execute java.nio.Files.getFileAttributeView, cf line 876 in FileUtil:
if (view == null) {
// ACLs not supported on this platform
return false;
}
The test can't use that approach as the JDK 6 API doesn't support *reading the permissions*, so I guess the best solution here is to skip the test on the IBM JDK if not on Windows.
> 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
[jira] [Updated] (DERBY-5434) On linux with IBM JDK 1.7 suites.All
does not run at all failing with
java.lang.reflect.InvocationTargetException
Posted by "Kathey Marsden (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-5434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kathey Marsden updated DERBY-5434:
----------------------------------
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>
was:
Suse linux
java version "1.7.0"
Java(TM) SE Runtime Environment (build pwi3270-20110906_01)
IBM J9 VM (build 2.6, JRE 1.7.0 Windows XP x86-32 20110810_88604 (JIT enabled
J9VM - R26_Java726_GA_20110810_1208_B88592
JIT - r11_20110810_20466
GC - R26_Java726_GA_20110810_1208_B88592
J9CL - 20110810_88604)
JCL - 20110809_01 based on Oracle 7b147
> 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
> Priority: Critical
>
> 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
[jira] [Resolved] (DERBY-5434) On linux with IBM JDK 1.7
suites.All does not run at all failing with
java.lang.reflect.InvocationTargetException
Posted by "Kathey Marsden (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-5434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kathey Marsden resolved DERBY-5434.
-----------------------------------
Resolution: Fixed
The test uses a method not available on IBM JDK 1.7. Added a change to skip the test in for this JDK.
> 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
> Assignee: 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
[jira] [Assigned] (DERBY-5434) On linux with IBM JDK 1.7
suites.All does not run at all failing with
java.lang.reflect.InvocationTargetException
Posted by "Kathey Marsden (Assigned) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-5434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kathey Marsden reassigned DERBY-5434:
-------------------------------------
Assignee: Kathey Marsden
> 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
> Assignee: 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
[jira] [Reopened] (DERBY-5434) On linux with IBM JDK 1.7
suites.All does not run at all failing with
java.lang.reflect.InvocationTargetException
Posted by "Kathey Marsden (Reopened) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-5434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kathey Marsden reopened DERBY-5434:
-----------------------------------
> 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
> Assignee: 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
[jira] [Resolved] (DERBY-5434) On linux with IBM JDK 1.7
suites.All does not run at all failing with
java.lang.reflect.InvocationTargetException
Posted by "Kathey Marsden (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-5434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kathey Marsden resolved DERBY-5434.
-----------------------------------
Resolution: Fixed
Fix Version/s: 10.9.0.0
> 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
> Assignee: Kathey Marsden
> Fix For: 10.9.0.0
>
> 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
[jira] [Updated] (DERBY-5434) On linux with IBM JDK 1.7 suites.All
does not run at all failing with
java.lang.reflect.InvocationTargetException
Posted by "Kathey Marsden (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-5434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kathey Marsden updated DERBY-5434:
----------------------------------
Attachment: derby-5434_disable_restrictedtest_diff.txt
This patch removes the offending test engine.RestrictiveFilePermissiionsTest from the suite so tests will run with IBM 1.7.
You can reproduce the problem after the patch by running just the one test.
> 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
> Priority: Critical
> Attachments: 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