pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: How is apache-ant supposed to work?
Hi,
Jonathan Perkin <jperkin%joyent.com@localhost> writes:
> * On 2021-03-12 at 10:09 GMT, Ryo ONODERA wrote:
>
>> My apache-ant-1.10.9 and openjdk11-1.11.0.10.9 under
>> NetBSD/amd64-current works for test suites from
>> https://github.com/AdoptOpenJDK/openjdk-systemtest .
>>
>> However it requires two patches to start the tests at least.
>> And some tests fail under NetBSD/amd64-current.
>> It seems that the other tests require more patches to start or finish the tests.
>> And Some tests failed with class file version mismatches.
>> I have no idea about how to fix these mismatches.
>
> I'm running into an issue where a bunch of the tests won't start because
> --enable-preview isn't passed, but that shouldn't be set for openjdk11
> anyway as far as I can see.
>
> For the tests that do run, they seem to work fine, e.g.:
>
> LockingLoadTest
> 12:59:48.221 - Ran : 49621
> 12:59:48.222 - Passed : 49621
> 12:59:48.222 - Failed : 0
> 12:59:48.222 - Result : PASSED
>
> MathLoadTest
> 12:59:56.330 - Load test completed
> 12:59:56.331 - Ran : 160000
> 12:59:56.331 - Passed : 160000
> 12:59:56.331 - Failed : 0
> 12:59:56.331 - Result : PASSED
>
> LangLoadTest
> 13:07:11.392 - Load test completed
> 13:07:11.392 - Ran : 3100
> 13:07:11.392 - Passed : 3100
> 13:07:11.392 - Failed : 0
> 13:07:11.393 - Result : PASSED
>
> Are there any tests in particular that are failing for you?
test.DirectByteBufferLoadTest and test.NioLoadTest test suites fails
for NetBSD/amd64 9.99.81.
This failures are reproducible for me.
openjdk11's nio part may be not good.
As far as I remember correctly, apache-tomcat9's log has some
nio-related messages.
$ cd openjdk-systemtest/openjdk.build
$ gmake test.DirectByteBufferLoadTest
22:29:29.666 - Load test parameters
22:29:29.669 - Time limited = false
22:29:29.669 - abortIfOutOfMemory = true
22:29:29.669 - reportFailureLimit = 1
22:29:29.669 - abortAtFailureLimit = 10
22:29:29.672 - maxTotalLogFileSpace = 209715200
22:29:29.672 - maxSingleLogSize = 8388608
22:29:29.673 - Parameters for suite 0
22:29:29.673 - Suite name = DirectByteBuffer
22:29:29.673 - Number threads = 7
22:29:29.673 - Supplied seed = -1
22:29:29.673 - Inventory file = /tmp/stf/20210312-222927-DirectByteBufferLoadTest/results/1.DBLT.inventory/openjdk.test.load/config/inventories/gc/directByteBuffer.xml
22:29:29.673 - Exclude file = none
22:29:29.674 - Number tests = 16
22:29:29.674 - Repeat count = 1
22:29:29.674 - Thinking time = 1ms..1ms
22:29:29.674 - Selection mode = random
22:29:29.675 - Actual seed = 1616769539556
22:29:29.692 - Parsing inventory file. Root=/tmp/stf/20210312-222927-DirectByteBufferLoadTest/results/1.DBLT.inventory File=openjdk.test.load/config/inventories/gc/directByteBuffer.xml
22:29:29.694 - Found included inventory. File=/openjdk.test.load/config/inventories/nio/nio.xml
22:29:29.694 - Parsing inventory file. Root=/tmp/stf/20210312-222927-DirectByteBufferLoadTest/results/1.DBLT.inventory File=/openjdk.test.load/config/inventories/nio/nio.xml
22:29:29.701 - Final test list:
22:29:29.712 - 0 ArbitraryJava[net.adoptopenjdk.test.nio.WordCount run] Weighting=1
22:29:29.712 - 1 ArbitraryJava[net.adoptopenjdk.test.nio.NioApp run] Weighting=1
22:29:29.713 - 2 ArbitraryJava[net.adoptopenjdk.test.nio.NioBuffers run] Weighting=1
22:29:29.713 - 3 ArbitraryJava[net.adoptopenjdk.test.nio.NioBuffersTest run] Weighting=1
22:29:29.713 - 4 JUnit[net.adoptopenjdk.test.nio2.asyncio.client.MultipleConnectFutureTest] Weighting=1
22:29:29.713 - 5 JUnit[net.adoptopenjdk.test.nio2.asyncio.client.MultipleConnectAsyncTest] Weighting=1
22:29:29.713 - 6 JUnit[net.adoptopenjdk.test.nio2.asyncio.client.MultipleReadWriteAsyncTest] Weighting=1
22:29:29.713 - 7 JUnit[net.adoptopenjdk.test.nio2.asyncio.client.MultipleReadWriteFutureTest] Weighting=1
22:29:29.713 - 8 JUnit[net.adoptopenjdk.test.nio2.asyncio.file.AsynchronousFileChannelTest] Weighting=1
22:29:29.713 - 9 JUnit[net.adoptopenjdk.test.nio2.mxbean.ByteBufferMXBeanTest] Weighting=1
22:29:29.713 - 10 JUnit[net.adoptopenjdk.test.nio2.filesystem.FileSystemsTest] Weighting=1
22:29:29.713 - 11 JUnit[net.adoptopenjdk.test.nio2.path.PathDeleteDirectoryTest] Weighting=1
22:29:29.713 - 12 JUnit[net.adoptopenjdk.test.nio2.path.PathDirectoryStreamTest] Weighting=1
22:29:29.713 - 13 JUnit[net.adoptopenjdk.test.nio2.path.ScannerTest] Weighting=1
22:29:29.714 - 14 JUnit[net.adoptopenjdk.test.nio2.path.WalkFileTreeTest] Weighting=1
22:29:29.714 - 15 JUnit[net.adoptopenjdk.test.gc.directbytebuffer.DirectMemoryTest] Weighting=1
22:29:29.783 - Starting thread. Suite=0 thread=0
22:29:29.785 - Starting thread. Suite=0 thread=1
22:29:29.785 - Starting thread. Suite=0 thread=2
22:29:29.786 - Starting thread. Suite=0 thread=3
22:29:29.786 - Starting thread. Suite=0 thread=4
22:29:29.787 - Starting thread. Suite=0 thread=5
22:29:29.787 - Starting thread. Suite=0 thread=6
22:29:30.806 - First failure detected by thread: load-0. Not creating dumps as no dump generation is requested for this load test
22:29:30.811 - suite.getInventory().getInventoryFileRef(): openjdk.test.load/config/inventories/gc/directByteBuffer.xml
22:29:30.812 - suite.isCreateDump() : false
22:29:30.822 - Test failed
Failure num. = 1
Test number = 4
Test details = 'JUnit[net.adoptopenjdk.test.nio2.asyncio.client.MultipleConnectFutureTest]'
Suite number = 0
Thread number = 5
>>> Captured test output >>>
testStarted : testMultipleConnectSequential(net.adoptopenjdk.test.nio2.asyncio.client.MultipleConnectFutureTest)
MultipleConnectFutureTest.testMultipleConnectSequential() creating 6 connections
testFailure: testMultipleConnectSequential(net.adoptopenjdk.test.nio2.asyncio.client.MultipleConnectFutureTest): java.io.IOException: java.lang.InternalError: kevent failed: 22
java.util.concurrent.ExecutionException: java.io.IOException: java.lang.InternalError: kevent failed: 22
at java.base/sun.nio.ch.CompletedFuture.get(CompletedFuture.java:78)
at net.adoptopenjdk.test.nio2.asyncio.client.MultipleConnectFutureTest.testMultipleConnectSequential(MultipleConnectFutureTest.java:83)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at junit.framework.TestCase.runTest(TestCase.java:176)
at junit.framework.TestCase.runBare(TestCase.java:141)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at junit.framework.TestSuite.runTest(TestSuite.java:252)
at junit.framework.TestSuite.run(TestSuite.java:247)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
at net.adoptopenjdk.loadTest.adaptors.JUnitAdaptor.executeTest(JUnitAdaptor.java:130)
at net.adoptopenjdk.loadTest.LoadTestRunner$2.run(LoadTestRunner.java:182)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.io.IOException: java.lang.InternalError: kevent failed: 22
at java.base/sun.nio.ch.CompletedFuture.withFailure(CompletedFuture.java:54)
at java.base/sun.nio.ch.CompletedFuture.withResult(CompletedFuture.java:62)
at java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.implConnect(UnixAsynchronousSocketChannelImpl.java:369)
at java.base/sun.nio.ch.AsynchronousSocketChannelImpl.connect(AsynchronousSocketChannelImpl.java:200)
at net.adoptopenjdk.test.nio2.asyncio.client.MultipleConnectFutureTest.testMultipleConnectSequential(MultipleConnectFutureTest.java:82)
... 28 more
Caused by: java.lang.InternalError: kevent failed: 22
at java.base/sun.nio.ch.KQueuePort.startPoll(KQueuePort.java:182)
at java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.updateEvents(UnixAsynchronousSocketChannelImpl.java:149)
at java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.implConnect(UnixAsynchronousSocketChannelImpl.java:344)
... 30 more
testFinished: testMultipleConnectSequential(net.adoptopenjdk.test.nio2.asyncio.client.MultipleConnectFutureTest)
testStarted : testSingleConnect(net.adoptopenjdk.test.nio2.asyncio.client.MultipleConnectFutureTest)
testFailure: testSingleConnect(net.adoptopenjdk.test.nio2.asyncio.client.MultipleConnectFutureTest): java.io.IOException: java.lang.InternalError: kevent failed: 22
java.util.concurrent.ExecutionException: java.io.IOException: java.lang.InternalError: kevent failed: 22
at java.base/sun.nio.ch.CompletedFuture.get(CompletedFuture.java:78)
at net.adoptopenjdk.test.nio2.asyncio.client.MultipleConnectFutureTest.testSingleConnect(MultipleConnectFutureTest.java:123)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at junit.framework.TestCase.runTest(TestCase.java:176)
at junit.framework.TestCase.runBare(TestCase.java:141)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at junit.framework.TestSuite.runTest(TestSuite.java:252)
at junit.framework.TestSuite.run(TestSuite.java:247)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
at net.adoptopenjdk.loadTest.adaptors.JUnitAdaptor.executeTest(JUnitAdaptor.java:130)
at net.adoptopenjdk.loadTest.LoadTestRunner$2.run(LoadTestRunner.java:182)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.io.IOException: java.lang.InternalError: kevent failed: 22
at java.base/sun.nio.ch.CompletedFuture.withFailure(CompletedFuture.java:54)
at java.base/sun.nio.ch.CompletedFuture.withResult(CompletedFuture.java:62)
at java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.implConnect(UnixAsynchronousSocketChannelImpl.java:369)
at java.base/sun.nio.ch.AsynchronousSocketChannelImpl.connect(AsynchronousSocketChannelImpl.java:200)
at net.adoptopenjdk.test.nio2.asyncio.client.MultipleConnectFutureTest.testSingleConnect(MultipleConnectFutureTest.java:122)
... 28 more
Caused by: java.lang.InternalError: kevent failed: 22
at java.base/sun.nio.ch.KQueuePort.startPoll(KQueuePort.java:182)
at java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.updateEvents(UnixAsynchronousSocketChannelImpl.java:149)
at java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.implConnect(UnixAsynchronousSocketChannelImpl.java:344)
... 30 more
testFinished: testSingleConnect(net.adoptopenjdk.test.nio2.asyncio.client.MultipleConnectFutureTest)
JUnit Test Results for: net.adoptopenjdk.test.nio2.asyncio.client.MultipleConnectFutureTest
Ran : 2
Passed : 0
Failed : 2
Ignored: 0
Result : FAILED
<<<
22:29:30.823 - suite.getInventory().getInventoryFileRef(): openjdk.test.load/config/inventories/gc/directByteBuffer.xml
22:29:30.823 - suite.isCreateDump() : false
22:29:30.823 - Test failed. Details recorded in execution log.
22:29:30.859 - Thread completed. Suite=0 thread=5
22:29:30.866 - Thread completed. Suite=0 thread=4
22:29:31.098 - Thread completed. Suite=0 thread=2
22:29:31.104 - Thread completed. Suite=0 thread=3
22:29:35.811 - suite.getInventory().getInventoryFileRef(): openjdk.test.load/config/inventories/gc/directByteBuffer.xml
22:29:35.811 - suite.isCreateDump() : false
22:29:35.811 - Test failed. Details recorded in execution log.
22:29:35.831 - Thread completed. Suite=0 thread=0
22:29:35.913 - suite.getInventory().getInventoryFileRef(): openjdk.test.load/config/inventories/gc/directByteBuffer.xml
22:29:35.914 - suite.isCreateDump() : false
22:29:35.914 - Test failed. Details recorded in execution log.
22:29:35.931 - Thread completed. Suite=0 thread=6
22:29:40.836 - Thread completed. Suite=0 thread=1
22:29:40.841 - Load test completed
22:29:40.841 - Ran : 16
22:29:40.841 - Passed : 12
22:29:40.841 - Failed : 4
22:29:40.842 - Result : FAILED
22:29:40.842 - Note that only the first 1 failures have been reported
test.NioLoadTest test suites fails
for NetBSD/amd64 9.99.81.
This failures are reproducible for me.
I have no idea about the relation with apache-tomcat9 failure,
however openjdk11's nio part is not good.
$ cd openjdk-systemtest/openjdk.build
$ gmake test.DirectByteBufferLoadTest
22:29:29.666 - Load test parameters
22:29:29.669 - Time limited = false
22:29:29.669 - abortIfOutOfMemory = true
22:29:29.669 - reportFailureLimit = 1
22:29:29.669 - abortAtFailureLimit = 10
22:29:29.672 - maxTotalLogFileSpace = 209715200
22:29:29.672 - maxSingleLogSize = 8388608
22:29:29.673 - Parameters for suite 0
22:29:29.673 - Suite name = DirectByteBuffer
22:29:29.673 - Number threads = 7
22:29:29.673 - Supplied seed = -1
22:29:29.673 - Inventory file = /tmp/stf/20210312-222927-DirectByteBufferLoadTest/results/1.DBLT.inventory/openjdk.test.load/config/inventories/gc/directByteBuffer.xml
22:29:29.673 - Exclude file = none
22:29:29.674 - Number tests = 16
22:29:29.674 - Repeat count = 1
22:29:29.674 - Thinking time = 1ms..1ms
22:29:29.674 - Selection mode = random
22:29:29.675 - Actual seed = 1616769539556
22:29:29.692 - Parsing inventory file. Root=/tmp/stf/20210312-222927-DirectByteBufferLoadTest/results/1.DBLT.inventory File=openjdk.test.load/config/inventories/gc/directByteBuffer.xml
22:29:29.694 - Found included inventory. File=/openjdk.test.load/config/inventories/nio/nio.xml
22:29:29.694 - Parsing inventory file. Root=/tmp/stf/20210312-222927-DirectByteBufferLoadTest/results/1.DBLT.inventory File=/openjdk.test.load/config/inventories/nio/nio.xml
22:29:29.701 - Final test list:
22:29:29.712 - 0 ArbitraryJava[net.adoptopenjdk.test.nio.WordCount run] Weighting=1
22:29:29.712 - 1 ArbitraryJava[net.adoptopenjdk.test.nio.NioApp run] Weighting=1
22:29:29.713 - 2 ArbitraryJava[net.adoptopenjdk.test.nio.NioBuffers run] Weighting=1
22:29:29.713 - 3 ArbitraryJava[net.adoptopenjdk.test.nio.NioBuffersTest run] Weighting=1
22:29:29.713 - 4 JUnit[net.adoptopenjdk.test.nio2.asyncio.client.MultipleConnectFutureTest] Weighting=1
22:29:29.713 - 5 JUnit[net.adoptopenjdk.test.nio2.asyncio.client.MultipleConnectAsyncTest] Weighting=1
22:29:29.713 - 6 JUnit[net.adoptopenjdk.test.nio2.asyncio.client.MultipleReadWriteAsyncTest] Weighting=1
22:29:29.713 - 7 JUnit[net.adoptopenjdk.test.nio2.asyncio.client.MultipleReadWriteFutureTest] Weighting=1
22:29:29.713 - 8 JUnit[net.adoptopenjdk.test.nio2.asyncio.file.AsynchronousFileChannelTest] Weighting=1
22:29:29.713 - 9 JUnit[net.adoptopenjdk.test.nio2.mxbean.ByteBufferMXBeanTest] Weighting=1
22:29:29.713 - 10 JUnit[net.adoptopenjdk.test.nio2.filesystem.FileSystemsTest] Weighting=1
22:29:29.713 - 11 JUnit[net.adoptopenjdk.test.nio2.path.PathDeleteDirectoryTest] Weighting=1
22:29:29.713 - 12 JUnit[net.adoptopenjdk.test.nio2.path.PathDirectoryStreamTest] Weighting=1
22:29:29.713 - 13 JUnit[net.adoptopenjdk.test.nio2.path.ScannerTest] Weighting=1
22:29:29.714 - 14 JUnit[net.adoptopenjdk.test.nio2.path.WalkFileTreeTest] Weighting=1
22:29:29.714 - 15 JUnit[net.adoptopenjdk.test.gc.directbytebuffer.DirectMemoryTest] Weighting=1
22:29:29.783 - Starting thread. Suite=0 thread=0
22:29:29.785 - Starting thread. Suite=0 thread=1
22:29:29.785 - Starting thread. Suite=0 thread=2
22:29:29.786 - Starting thread. Suite=0 thread=3
22:29:29.786 - Starting thread. Suite=0 thread=4
22:29:29.787 - Starting thread. Suite=0 thread=5
22:29:29.787 - Starting thread. Suite=0 thread=6
22:29:30.806 - First failure detected by thread: load-0. Not creating dumps as no dump generation is requested for this load test
22:29:30.811 - suite.getInventory().getInventoryFileRef(): openjdk.test.load/config/inventories/gc/directByteBuffer.xml
22:29:30.812 - suite.isCreateDump() : false
22:29:30.822 - Test failed
Failure num. = 1
Test number = 4
Test details = 'JUnit[net.adoptopenjdk.test.nio2.asyncio.client.MultipleConnectFutureTest]'
Suite number = 0
Thread number = 5
>>> Captured test output >>>
testStarted : testMultipleConnectSequential(net.adoptopenjdk.test.nio2.asyncio.client.MultipleConnectFutureTest)
MultipleConnectFutureTest.testMultipleConnectSequential() creating 6 connections
testFailure: testMultipleConnectSequential(net.adoptopenjdk.test.nio2.asyncio.client.MultipleConnectFutureTest): java.io.IOException: java.lang.InternalError: kevent failed: 22
java.util.concurrent.ExecutionException: java.io.IOException: java.lang.InternalError: kevent failed: 22
at java.base/sun.nio.ch.CompletedFuture.get(CompletedFuture.java:78)
at net.adoptopenjdk.test.nio2.asyncio.client.MultipleConnectFutureTest.testMultipleConnectSequential(MultipleConnectFutureTest.java:83)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at junit.framework.TestCase.runTest(TestCase.java:176)
at junit.framework.TestCase.runBare(TestCase.java:141)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at junit.framework.TestSuite.runTest(TestSuite.java:252)
at junit.framework.TestSuite.run(TestSuite.java:247)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
at net.adoptopenjdk.loadTest.adaptors.JUnitAdaptor.executeTest(JUnitAdaptor.java:130)
at net.adoptopenjdk.loadTest.LoadTestRunner$2.run(LoadTestRunner.java:182)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.io.IOException: java.lang.InternalError: kevent failed: 22
at java.base/sun.nio.ch.CompletedFuture.withFailure(CompletedFuture.java:54)
at java.base/sun.nio.ch.CompletedFuture.withResult(CompletedFuture.java:62)
at java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.implConnect(UnixAsynchronousSocketChannelImpl.java:369)
at java.base/sun.nio.ch.AsynchronousSocketChannelImpl.connect(AsynchronousSocketChannelImpl.java:200)
at net.adoptopenjdk.test.nio2.asyncio.client.MultipleConnectFutureTest.testMultipleConnectSequential(MultipleConnectFutureTest.java:82)
... 28 more
Caused by: java.lang.InternalError: kevent failed: 22
at java.base/sun.nio.ch.KQueuePort.startPoll(KQueuePort.java:182)
at java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.updateEvents(UnixAsynchronousSocketChannelImpl.java:149)
at java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.implConnect(UnixAsynchronousSocketChannelImpl.java:344)
... 30 more
testFinished: testMultipleConnectSequential(net.adoptopenjdk.test.nio2.asyncio.client.MultipleConnectFutureTest)
testStarted : testSingleConnect(net.adoptopenjdk.test.nio2.asyncio.client.MultipleConnectFutureTest)
testFailure: testSingleConnect(net.adoptopenjdk.test.nio2.asyncio.client.MultipleConnectFutureTest): java.io.IOException: java.lang.InternalError: kevent failed: 22
java.util.concurrent.ExecutionException: java.io.IOException: java.lang.InternalError: kevent failed: 22
at java.base/sun.nio.ch.CompletedFuture.get(CompletedFuture.java:78)
at net.adoptopenjdk.test.nio2.asyncio.client.MultipleConnectFutureTest.testSingleConnect(MultipleConnectFutureTest.java:123)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at junit.framework.TestCase.runTest(TestCase.java:176)
at junit.framework.TestCase.runBare(TestCase.java:141)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at junit.framework.TestSuite.runTest(TestSuite.java:252)
at junit.framework.TestSuite.run(TestSuite.java:247)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
at net.adoptopenjdk.loadTest.adaptors.JUnitAdaptor.executeTest(JUnitAdaptor.java:130)
at net.adoptopenjdk.loadTest.LoadTestRunner$2.run(LoadTestRunner.java:182)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.io.IOException: java.lang.InternalError: kevent failed: 22
at java.base/sun.nio.ch.CompletedFuture.withFailure(CompletedFuture.java:54)
at java.base/sun.nio.ch.CompletedFuture.withResult(CompletedFuture.java:62)
at java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.implConnect(UnixAsynchronousSocketChannelImpl.java:369)
at java.base/sun.nio.ch.AsynchronousSocketChannelImpl.connect(AsynchronousSocketChannelImpl.java:200)
at net.adoptopenjdk.test.nio2.asyncio.client.MultipleConnectFutureTest.testSingleConnect(MultipleConnectFutureTest.java:122)
... 28 more
Caused by: java.lang.InternalError: kevent failed: 22
at java.base/sun.nio.ch.KQueuePort.startPoll(KQueuePort.java:182)
at java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.updateEvents(UnixAsynchronousSocketChannelImpl.java:149)
at java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.implConnect(UnixAsynchronousSocketChannelImpl.java:344)
... 30 more
testFinished: testSingleConnect(net.adoptopenjdk.test.nio2.asyncio.client.MultipleConnectFutureTest)
JUnit Test Results for: net.adoptopenjdk.test.nio2.asyncio.client.MultipleConnectFutureTest
Ran : 2
Passed : 0
Failed : 2
Ignored: 0
Result : FAILED
<<<
22:29:30.823 - suite.getInventory().getInventoryFileRef(): openjdk.test.load/config/inventories/gc/directByteBuffer.xml
22:29:30.823 - suite.isCreateDump() : false
22:29:30.823 - Test failed. Details recorded in execution log.
22:29:30.859 - Thread completed. Suite=0 thread=5
22:29:30.866 - Thread completed. Suite=0 thread=4
22:29:31.098 - Thread completed. Suite=0 thread=2
22:29:31.104 - Thread completed. Suite=0 thread=3
22:29:35.811 - suite.getInventory().getInventoryFileRef(): openjdk.test.load/config/inventories/gc/directByteBuffer.xml
22:29:35.811 - suite.isCreateDump() : false
22:29:35.811 - Test failed. Details recorded in execution log.
22:29:35.831 - Thread completed. Suite=0 thread=0
22:29:35.913 - suite.getInventory().getInventoryFileRef(): openjdk.test.load/config/inventories/gc/directByteBuffer.xml
22:29:35.914 - suite.isCreateDump() : false
22:29:35.914 - Test failed. Details recorded in execution log.
22:29:35.931 - Thread completed. Suite=0 thread=6
22:29:40.836 - Thread completed. Suite=0 thread=1
22:29:40.841 - Load test completed
22:29:40.841 - Ran : 16
22:29:40.841 - Passed : 12
22:29:40.841 - Failed : 4
22:29:40.842 - Result : FAILED
22:29:40.842 - Note that only the first 1 failures have been reported
$ gmake test.NioLoadTest
22:36:16.219 - Load test parameters
22:36:16.221 - Time limited = false
22:36:16.222 - abortIfOutOfMemory = false
22:36:16.222 - reportFailureLimit = 1
22:36:16.222 - abortAtFailureLimit = 10
22:36:16.225 - maxTotalLogFileSpace = 209715200
22:36:16.226 - maxSingleLogSize = 8388608
22:36:16.226 - Parameters for suite 0
22:36:16.226 - Suite name = nio
22:36:16.226 - Number threads = 6
22:36:16.227 - Supplied seed = -1
22:36:16.227 - Inventory file = /tmp/stf/20210312-223614-NioLoadTest/results/1.NLT.inventory/openjdk.test.load/config/inventories/nio/nio.xml
22:36:16.227 - Exclude file = none
22:36:16.227 - Number tests = 150
22:36:16.227 - Repeat count = 1
22:36:16.228 - Thinking time = 0ms..0ms
22:36:16.228 - Selection mode = random
22:36:16.229 - Actual seed = 1614340767721
22:36:16.242 - Parsing inventory file. Root=/tmp/stf/20210312-223614-NioLoadTest/results/1.NLT.inventory File=openjdk.test.load/config/inventories/nio/nio.xml
22:36:16.247 - Final test list:
22:36:16.258 - 0 ArbitraryJava[net.adoptopenjdk.test.nio.WordCount run] Weighting=1
22:36:16.258 - 1 ArbitraryJava[net.adoptopenjdk.test.nio.NioApp run] Weighting=1
22:36:16.258 - 2 ArbitraryJava[net.adoptopenjdk.test.nio.NioBuffers run] Weighting=1
22:36:16.258 - 3 ArbitraryJava[net.adoptopenjdk.test.nio.NioBuffersTest run] Weighting=1
22:36:16.259 - 4 JUnit[net.adoptopenjdk.test.nio2.asyncio.client.MultipleConnectFutureTest] Weighting=1
22:36:16.259 - 5 JUnit[net.adoptopenjdk.test.nio2.asyncio.client.MultipleConnectAsyncTest] Weighting=1
22:36:16.259 - 6 JUnit[net.adoptopenjdk.test.nio2.asyncio.client.MultipleReadWriteAsyncTest] Weighting=1
22:36:16.259 - 7 JUnit[net.adoptopenjdk.test.nio2.asyncio.client.MultipleReadWriteFutureTest] Weighting=1
22:36:16.259 - 8 JUnit[net.adoptopenjdk.test.nio2.asyncio.file.AsynchronousFileChannelTest] Weighting=1
22:36:16.259 - 9 JUnit[net.adoptopenjdk.test.nio2.mxbean.ByteBufferMXBeanTest] Weighting=1
22:36:16.259 - 10 JUnit[net.adoptopenjdk.test.nio2.filesystem.FileSystemsTest] Weighting=1
22:36:16.259 - 11 JUnit[net.adoptopenjdk.test.nio2.path.PathDeleteDirectoryTest] Weighting=1
22:36:16.259 - 12 JUnit[net.adoptopenjdk.test.nio2.path.PathDirectoryStreamTest] Weighting=1
22:36:16.259 - 13 JUnit[net.adoptopenjdk.test.nio2.path.ScannerTest] Weighting=1
22:36:16.259 - 14 JUnit[net.adoptopenjdk.test.nio2.path.WalkFileTreeTest] Weighting=1
22:36:16.316 - Starting thread. Suite=0 thread=0
22:36:16.317 - Starting thread. Suite=0 thread=1
22:36:16.318 - Starting thread. Suite=0 thread=2
22:36:16.318 - Starting thread. Suite=0 thread=3
22:36:16.324 - Starting thread. Suite=0 thread=4
22:36:16.324 - Starting thread. Suite=0 thread=5
22:36:16.786 - First failure detected by thread: load-5. Not creating dumps as no dump generation is requested for this load test
22:36:16.839 - suite.getInventory().getInventoryFileRef(): openjdk.test.load/config/inventories/nio/nio.xml
22:36:16.840 - suite.isCreateDump() : false
22:36:16.854 - Test failed
Failure num. = 1
Test number = 4
Test details = 'JUnit[net.adoptopenjdk.test.nio2.asyncio.client.MultipleConnectFutureTest]'
Suite number = 0
Thread number = 2
>>> Captured test output >>>
testStarted : testMultipleConnectSequential(net.adoptopenjdk.test.nio2.asyncio.client.MultipleConnectFutureTest)
MultipleConnectFutureTest.testMultipleConnectSequential() creating 9 connections
testFailure: testMultipleConnectSequential(net.adoptopenjdk.test.nio2.asyncio.client.MultipleConnectFutureTest): java.io.IOException: java.lang.InternalError: kevent failed: 22
java.util.concurrent.ExecutionException: java.io.IOException: java.lang.InternalError: kevent failed: 22
at java.base/sun.nio.ch.CompletedFuture.get(CompletedFuture.java:78)
at net.adoptopenjdk.test.nio2.asyncio.client.MultipleConnectFutureTest.testMultipleConnectSequential(MultipleConnectFutureTest.java:83)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at junit.framework.TestCase.runTest(TestCase.java:176)
at junit.framework.TestCase.runBare(TestCase.java:141)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at junit.framework.TestSuite.runTest(TestSuite.java:252)
at junit.framework.TestSuite.run(TestSuite.java:247)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
at net.adoptopenjdk.loadTest.adaptors.JUnitAdaptor.executeTest(JUnitAdaptor.java:130)
at net.adoptopenjdk.loadTest.LoadTestRunner$2.run(LoadTestRunner.java:182)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.io.IOException: java.lang.InternalError: kevent failed: 22
at java.base/sun.nio.ch.CompletedFuture.withFailure(CompletedFuture.java:54)
at java.base/sun.nio.ch.CompletedFuture.withResult(CompletedFuture.java:62)
at java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.implConnect(UnixAsynchronousSocketChannelImpl.java:369)
at java.base/sun.nio.ch.AsynchronousSocketChannelImpl.connect(AsynchronousSocketChannelImpl.java:200)
at net.adoptopenjdk.test.nio2.asyncio.client.MultipleConnectFutureTest.testMultipleConnectSequential(MultipleConnectFutureTest.java:82)
... 28 more
Caused by: java.lang.InternalError: kevent failed: 22
at java.base/sun.nio.ch.KQueuePort.startPoll(KQueuePort.java:182)
at java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.updateEvents(UnixAsynchronousSocketChannelImpl.java:149)
at java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.implConnect(UnixAsynchronousSocketChannelImpl.java:344)
... 30 more
testFinished: testMultipleConnectSequential(net.adoptopenjdk.test.nio2.asyncio.client.MultipleConnectFutureTest)
testStarted : testSingleConnect(net.adoptopenjdk.test.nio2.asyncio.client.MultipleConnectFutureTest)
testFailure: testSingleConnect(net.adoptopenjdk.test.nio2.asyncio.client.MultipleConnectFutureTest): java.io.IOException: java.lang.InternalError: kevent failed: 22
java.util.concurrent.ExecutionException: java.io.IOException: java.lang.InternalError: kevent failed: 22
at java.base/sun.nio.ch.CompletedFuture.get(CompletedFuture.java:78)
at net.adoptopenjdk.test.nio2.asyncio.client.MultipleConnectFutureTest.testSingleConnect(MultipleConnectFutureTest.java:123)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at junit.framework.TestCase.runTest(TestCase.java:176)
at junit.framework.TestCase.runBare(TestCase.java:141)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at junit.framework.TestSuite.runTest(TestSuite.java:252)
at junit.framework.TestSuite.run(TestSuite.java:247)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
at net.adoptopenjdk.loadTest.adaptors.JUnitAdaptor.executeTest(JUnitAdaptor.java:130)
at net.adoptopenjdk.loadTest.LoadTestRunner$2.run(LoadTestRunner.java:182)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.io.IOException: java.lang.InternalError: kevent failed: 22
at java.base/sun.nio.ch.CompletedFuture.withFailure(CompletedFuture.java:54)
at java.base/sun.nio.ch.CompletedFuture.withResult(CompletedFuture.java:62)
at java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.implConnect(UnixAsynchronousSocketChannelImpl.java:369)
at java.base/sun.nio.ch.AsynchronousSocketChannelImpl.connect(AsynchronousSocketChannelImpl.java:200)
at net.adoptopenjdk.test.nio2.asyncio.client.MultipleConnectFutureTest.testSingleConnect(MultipleConnectFutureTest.java:122)
... 28 more
Caused by: java.lang.InternalError: kevent failed: 22
at java.base/sun.nio.ch.KQueuePort.startPoll(KQueuePort.java:182)
at java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.updateEvents(UnixAsynchronousSocketChannelImpl.java:149)
at java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.implConnect(UnixAsynchronousSocketChannelImpl.java:344)
... 30 more
testFinished: testSingleConnect(net.adoptopenjdk.test.nio2.asyncio.client.MultipleConnectFutureTest)
JUnit Test Results for: net.adoptopenjdk.test.nio2.asyncio.client.MultipleConnectFutureTest
Ran : 2
Passed : 0
Failed : 2
Ignored: 0
Result : FAILED
<<<
22:36:17.179 - suite.getInventory().getInventoryFileRef(): openjdk.test.load/config/inventories/nio/nio.xml
22:36:17.180 - suite.isCreateDump() : false
22:36:17.180 - Test failed. Details recorded in execution log.
22:36:20.172 - suite.getInventory().getInventoryFileRef(): openjdk.test.load/config/inventories/nio/nio.xml
22:36:20.172 - suite.isCreateDump() : false
22:36:20.172 - Test failed. Details recorded in execution log.
22:36:20.419 - suite.getInventory().getInventoryFileRef(): openjdk.test.load/config/inventories/nio/nio.xml
22:36:20.419 - suite.isCreateDump() : false
22:36:20.419 - Test failed. Details recorded in execution log.
22:36:21.816 - suite.getInventory().getInventoryFileRef(): openjdk.test.load/config/inventories/nio/nio.xml
22:36:21.816 - suite.isCreateDump() : false
22:36:21.816 - Test failed. Details recorded in execution log.
22:36:21.989 - suite.getInventory().getInventoryFileRef(): openjdk.test.load/config/inventories/nio/nio.xml
22:36:21.989 - suite.isCreateDump() : false
22:36:21.989 - Test failed. Details recorded in execution log.
22:36:22.459 - suite.getInventory().getInventoryFileRef(): openjdk.test.load/config/inventories/nio/nio.xml
22:36:22.460 - suite.isCreateDump() : false
22:36:22.460 - Test failed. Details recorded in execution log.
22:36:24.520 - suite.getInventory().getInventoryFileRef(): openjdk.test.load/config/inventories/nio/nio.xml
22:36:24.520 - suite.isCreateDump() : false
22:36:24.520 - Test failed. Details recorded in execution log.
22:36:26.094 - suite.getInventory().getInventoryFileRef(): openjdk.test.load/config/inventories/nio/nio.xml
22:36:26.094 - suite.isCreateDump() : false
22:36:26.094 - Test failed. Details recorded in execution log.
22:36:27.097 - suite.getInventory().getInventoryFileRef(): openjdk.test.load/config/inventories/nio/nio.xml
22:36:27.097 - suite.isCreateDump() : false
22:36:27.097 - Test failed. Details recorded in execution log.
22:36:27.098 - Number of test failures has reached 'AbortAtFailureLimit' (10). Terminating load test
22:36:27.098 - Thread completed. Suite=0 thread=2
22:36:27.371 - Thread completed. Suite=0 thread=0
22:36:30.228 - Thread completed. Suite=0 thread=3
22:36:32.065 - Thread completed. Suite=0 thread=5
22:36:34.538 - Thread completed. Suite=0 thread=1
22:36:36.109 - Thread completed. Suite=0 thread=4
22:36:36.185 - Load test completed
22:36:36.186 - Ran : 69
22:36:36.186 - Passed : 59
22:36:36.186 - Failed : 10
22:36:36.186 - Result : FAILED
22:36:36.186 - Note that only the first 1 failures have been reported
Thank you.
> --
> Jonathan Perkin - Joyent, Inc. - www.joyent.com
--
Ryo ONODERA // ryo%tetera.org@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB FD1B F404 27FA C7D1 15F3
Home |
Main Index |
Thread Index |
Old Index