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 "Rick Hillegas (JIRA)" <ji...@apache.org> on 2016/01/24 00:08:39 UTC
[jira] [Comment Edited] (DERBY-6857) Deprecate support for building
Derby under JDKs 6 and 7
[ https://issues.apache.org/jira/browse/DERBY-6857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15114013#comment-15114013 ]
Rick Hillegas edited comment on DERBY-6857 at 1/23/16 11:08 PM:
----------------------------------------------------------------
Tests passed cleanly for me with the derby-6857-01-aa-remove6and7.diff patch after building an insane Derby on JDK8 and then running on Java 8, except for the following error in AutoloadTest. I re-ran AutoloadTest standalone and it ran cleanly:
<code>
There was 1 failure:
1) spawnProcess:JDBCDriversEmbeddedTest(wy)junit.framework.AssertionFailedError: subprocess run failed: exit code==143
[ (stdout subprocess) .......]
[ (stderr subprocess) ]
[Subprocess 17106 hanging, jstack result:2016-01-23 09:02:50
Full thread dump Java HotSpot(TM) 64-Bit Server VM (25.0-b70 mixed mode):
"Attach Listener" #18 daemon prio=9 os_prio=31 tid=0x00007fb5051a2000 nid=0x490b waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"Service Thread" #8 daemon prio=9 os_prio=31 tid=0x00007fb505006000 nid=0x5603 runnable [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"C1 CompilerThread2" #7 daemon prio=9 os_prio=31 tid=0x00007fb5040bb800 nid=0x5403 waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"C2 CompilerThread1" #6 daemon prio=9 os_prio=31 tid=0x00007fb5040bb000 nid=0x5203 waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"C2 CompilerThread0" #5 daemon prio=9 os_prio=31 tid=0x00007fb504078800 nid=0x5003 waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"Signal Dispatcher" #4 daemon prio=9 os_prio=31 tid=0x00007fb50407a000 nid=0x4e03 runnable [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"Finalizer" #3 daemon prio=8 os_prio=31 tid=0x00007fb5040a4000 nid=0x3e03 in Object.wait() [0x0000000195e90000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x000000011191d098> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:142)
- locked <0x000000011191d098> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:158)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:209)
"Reference Handler" #2 daemon prio=10 os_prio=31 tid=0x00007fb5040a3800 nid=0x3c03 in Object.wait() [0x0000000195d8d000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000001119265f8> (a java.lang.ref.Reference$Lock)
at java.lang.Object.wait(Object.java:502)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:157)
- locked <0x00000001119265f8> (a java.lang.ref.Reference$Lock)
"main" #1 prio=5 os_prio=31 tid=0x00007fb504041000 nid=0x1d03 waiting on condition [0x0000000102142000]
java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.sleep(Native Method)
at org.apache.derbyTesting.junit.NetworkServerTestSetup.waitForAvailablePort(NetworkServerTestSetup.java:276)
at org.apache.derbyTesting.junit.NetworkServerTestSetup.waitForAvailablePort(NetworkServerTestSetup.java:244)
at org.apache.derbyTesting.junit.NetworkServerTestSetup.setUp(NetworkServerTestSetup.java:203)
at junit.extensions.TestSetup$1.protect(TestSetup.java:20)
at junit.extensions.TestSetup.run(TestSetup.java:25)
at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:58)
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)
"VM Thread" os_prio=31 tid=0x00007fb50409f000 nid=0x3a03 runnable
"GC task thread#0 (ParallelGC)" os_prio=31 tid=0x00007fb504051800 nid=0x3203 runnable
"GC task thread#1 (ParallelGC)" os_prio=31 tid=0x00007fb504052800 nid=0x3403 runnable
"GC task thread#2 (ParallelGC)" os_prio=31 tid=0x00007fb504053000 nid=0x3603 runnable
"GC task thread#3 (ParallelGC)" os_prio=31 tid=0x00007fb504053800 nid=0x3803 runnable
"VM Periodic Task Thread" os_prio=31 tid=0x00007fb50480d800 nid=0x5803 waiting on condition
JNI global references: 65
End of jstack output]
at org.apache.derbyTesting.functionTests.tests.jdbcapi.AutoloadTest.spawnProcess(AutoloadTest.java:319)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:120)
at org.apache.derbyTesting.junit.BaseJDBCTestCase.runBareOverridable(BaseJDBCTestCase.java:443)
at org.apache.derbyTesting.junit.BaseJDBCTestCase.runBare(BaseJDBCTestCase.java:460)
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)
FAILURES!!!
Tests run: 13849, Failures: 1, Errors: 0
<code>
was (Author: rhillegas):
Tests passed cleanly for me with the derby-6857-01-aa-remove6and7.diff patch after building an insane Derby on JDK8 and then running on Java 8, except for the following error in AutoloadTest. I re-ran AutoloadTest standalone and it ran cleanly:
<noformat>
There was 1 failure:
1) spawnProcess:JDBCDriversEmbeddedTest(wy)junit.framework.AssertionFailedError: subprocess run failed: exit code==143
[ (stdout subprocess) .......]
[ (stderr subprocess) ]
[Subprocess 17106 hanging, jstack result:2016-01-23 09:02:50
Full thread dump Java HotSpot(TM) 64-Bit Server VM (25.0-b70 mixed mode):
"Attach Listener" #18 daemon prio=9 os_prio=31 tid=0x00007fb5051a2000 nid=0x490b waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"Service Thread" #8 daemon prio=9 os_prio=31 tid=0x00007fb505006000 nid=0x5603 runnable [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"C1 CompilerThread2" #7 daemon prio=9 os_prio=31 tid=0x00007fb5040bb800 nid=0x5403 waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"C2 CompilerThread1" #6 daemon prio=9 os_prio=31 tid=0x00007fb5040bb000 nid=0x5203 waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"C2 CompilerThread0" #5 daemon prio=9 os_prio=31 tid=0x00007fb504078800 nid=0x5003 waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"Signal Dispatcher" #4 daemon prio=9 os_prio=31 tid=0x00007fb50407a000 nid=0x4e03 runnable [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"Finalizer" #3 daemon prio=8 os_prio=31 tid=0x00007fb5040a4000 nid=0x3e03 in Object.wait() [0x0000000195e90000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x000000011191d098> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:142)
- locked <0x000000011191d098> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:158)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:209)
"Reference Handler" #2 daemon prio=10 os_prio=31 tid=0x00007fb5040a3800 nid=0x3c03 in Object.wait() [0x0000000195d8d000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000001119265f8> (a java.lang.ref.Reference$Lock)
at java.lang.Object.wait(Object.java:502)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:157)
- locked <0x00000001119265f8> (a java.lang.ref.Reference$Lock)
"main" #1 prio=5 os_prio=31 tid=0x00007fb504041000 nid=0x1d03 waiting on condition [0x0000000102142000]
java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.sleep(Native Method)
at org.apache.derbyTesting.junit.NetworkServerTestSetup.waitForAvailablePort(NetworkServerTestSetup.java:276)
at org.apache.derbyTesting.junit.NetworkServerTestSetup.waitForAvailablePort(NetworkServerTestSetup.java:244)
at org.apache.derbyTesting.junit.NetworkServerTestSetup.setUp(NetworkServerTestSetup.java:203)
at junit.extensions.TestSetup$1.protect(TestSetup.java:20)
at junit.extensions.TestSetup.run(TestSetup.java:25)
at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:58)
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)
"VM Thread" os_prio=31 tid=0x00007fb50409f000 nid=0x3a03 runnable
"GC task thread#0 (ParallelGC)" os_prio=31 tid=0x00007fb504051800 nid=0x3203 runnable
"GC task thread#1 (ParallelGC)" os_prio=31 tid=0x00007fb504052800 nid=0x3403 runnable
"GC task thread#2 (ParallelGC)" os_prio=31 tid=0x00007fb504053000 nid=0x3603 runnable
"GC task thread#3 (ParallelGC)" os_prio=31 tid=0x00007fb504053800 nid=0x3803 runnable
"VM Periodic Task Thread" os_prio=31 tid=0x00007fb50480d800 nid=0x5803 waiting on condition
JNI global references: 65
End of jstack output]
at org.apache.derbyTesting.functionTests.tests.jdbcapi.AutoloadTest.spawnProcess(AutoloadTest.java:319)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:120)
at org.apache.derbyTesting.junit.BaseJDBCTestCase.runBareOverridable(BaseJDBCTestCase.java:443)
at org.apache.derbyTesting.junit.BaseJDBCTestCase.runBare(BaseJDBCTestCase.java:460)
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)
FAILURES!!!
Tests run: 13849, Failures: 1, Errors: 0
<noformat>
> Deprecate support for building Derby under JDKs 6 and 7
> -------------------------------------------------------
>
> Key: DERBY-6857
> URL: https://issues.apache.org/jira/browse/DERBY-6857
> Project: Derby
> Issue Type: Bug
> Components: Build tools
> Affects Versions: 10.13.0.0
> Reporter: Rick Hillegas
> Attachments: derby-6857-01-aa-remove6and7.diff
>
>
> The community voted to stop supporting Java 6 and 7 as of release 10.13. See the 2015-09-12 entry here: http://wiki.apache.org/db-derby/VoteResults. We no longer need to support building Derby with those JDKs. This issue tracks changes needed to remove that support and simplify the build.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)