JDK-8264385 : two java/nio/channels/DatagramChannel tests failed
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.nio
  • Affected Version: 17,18,21,22
  • Priority: P4
  • Status: In Progress
  • Resolution: Unresolved
  • OS: os_x_10.15
  • CPU: x86_64,aarch64
  • Submitted: 2021-03-29
  • Updated: 2023-11-08
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Related Reports
Relates :  
Relates :  
Sub Tasks
JDK-8279529 :  
Description
The following two tests failed in the JDK17 CI:

java/nio/channels/DatagramChannel/ManySourcesAndTargets.java
java/nio/channels/DatagramChannel/InterruptibleOrNot.java

I'm filing a single bug for these two failures because the test
executions overlapped in this sighting.

DatagramChannel/ManySourcesAndTargets.java failed due to a
timeout and here's a snippet from the log file:

#section:main
----------messages:(8/233)----------
command: main ManySourcesAndTargets
reason: User specified action: run main ManySourcesAndTargets 
Mode: agentvm
Agent id: 10
Timeout refired 480 times
Timeout information:
--- Timeout information end.
elapsed time (seconds): 493.26
----------configuration:(11/1341)----------
Boot Layer
  class path: /Volumes/Mesos/mesos/work_dir/jib-master/install/jtreg/5.1/b01/bundles/jtreg_bin-5.1.zip/jtreg/lib/javatest.jar 
              /Volumes/Mesos/mesos/work_dir/jib-master/install/jtreg/5.1/b01/bundles/jtreg_bin-5.1.zip/jtreg/lib/jtreg.jar 
              /Volumes/Mesos/mesos/work_dir/jib-master/install/jtreg/5.1/b01/bundles/jtreg_bin-5.1.zip/jtreg/lib/junit.jar 
              /Volumes/Mesos/mesos/work_dir/jib-master/install/jtreg/5.1/b01/bundles/jtreg_bin-5.1.zip/jtreg/lib/testng.jar 
  patch:      java.base /Volumes/Mesos/mesos/work_dir/slaves/28992c6d-c35d-42fa-8099-898223bf183b-S46754/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/65971c20-9e15-4e9b-8872-4febc7de64ed/runs/229b9715-25f2-48c9-ab82-b51da9801be5/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/patches/java.base

Test Layer
  class path: /Volumes/Mesos/mesos/work_dir/slaves/28992c6d-c35d-42fa-8099-898223bf183b-S46754/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/65971c20-9e15-4e9b-8872-4febc7de64ed/runs/229b9715-25f2-48c9-ab82-b51da9801be5/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/classes/1/java/nio/channels/DatagramChannel/ManySourcesAndTargets.d
              /Volumes/Mesos/mesos/work_dir/jib-master/install/jdk-17+16-1275/src.full/open/test/jdk/java/nio/channels/DatagramChannel

----------rerun:(30/5101)*----------

<snip>

----------System.out:(71/5120)----------

-- 2606:b400:418:3240:84ba:88c8:33c5:f9b9%en0 --
send /[2606:b400:418:3240:84ba:88c8:33c5:f9b9]:50139 -> /[2606:b400:418:3240:84ba:88c8:33c5:f9b9%en0]:50138
received datagram from /[2606:b400:418:3240:84ba:88c8:33c5:f9b9]:50139
send /[2606:b400:418:3240:84ba:88c8:33c5:f9b9]:50139 -> /[2606:b400:418:3240:84ba:88c8:33c5:f9b9%en0]:50138
received datagram from /[2606:b400:418:3240:84ba:88c8:33c5:f9b9]:50139
send /[2606:b400:418:3240:84ba:88c8:33c5:f9b9]:50139 -> /[2606:b400:418:3240:84ba:88c8:33c5:f9b9%en0]:50138
received datagram from /[2606:b400:418:3240:84ba:88c8:33c5:f9b9]:50139

<snip>

-- fe80:0:0:0:1097:6f27:df0d:95e8%en0 --
send /[fe80:0:0:0:1097:6f27:df0d:95e8%4]:50148 -> /[fe80:0:0:0:1097:6f27:df0d:95e8%en0]:50138
received datagram from /[fe80:0:0:0:1097:6f27:df0d:95e8%4]:50148
send /[fe80:0:0:0:1097:6f27:df0d:95e8%4]:50148 -> /[fe80:0:0:0:1097:6f27:df0d:95e8%en0]:50138
received datagram from /[fe80:0:0:0:1097:6f27:df0d:95e8%4]:50148
send /[fe80:0:0:0:1097:6f27:df0d:95e8%4]:50148 -> /[fe80:0:0:0:1097:6f27:df0d:95e8%e
result: Error. Agent error: java.lang.Exception: Agent 10 timed out with a timeout of 480 seconds; check console log for any additional details


DatagramChannel/InterruptibleOrNot.java failed because an
exception wasn't thrown as quickly as expected. Here's a snippet
from the log file:

#section:testng
----------messages:(6/228)----------
command: testng InterruptibleOrNot
reason: User specified action: run testng InterruptibleOrNot 
Mode: agentvm
Agent id: 16
Additional exports to unnamed modules from @modules: java.base/sun.nio.ch
elapsed time (seconds): 7.714
----------configuration:(12/1390)----------
Boot Layer
  class path: /Volumes/Mesos/mesos/work_dir/jib-master/install/jtreg/5.1/b01/bundles/jtreg_bin-5.1.zip/jtreg/lib/javatest.jar 
              /Volumes/Mesos/mesos/work_dir/jib-master/install/jtreg/5.1/b01/bundles/jtreg_bin-5.1.zip/jtreg/lib/jtreg.jar 
              /Volumes/Mesos/mesos/work_dir/jib-master/install/jtreg/5.1/b01/bundles/jtreg_bin-5.1.zip/jtreg/lib/junit.jar 
              /Volumes/Mesos/mesos/work_dir/jib-master/install/jtreg/5.1/b01/bundles/jtreg_bin-5.1.zip/jtreg/lib/testng.jar 
  patch:      java.base /Volumes/Mesos/mesos/work_dir/slaves/28992c6d-c35d-42fa-8099-898223bf183b-S46754/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/65971c20-9e15-4e9b-8872-4febc7de64ed/runs/229b9715-25f2-48c9-ab82-b51da9801be5/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/patches/java.base

Test Layer
  add exports: java.base/sun.nio.ch ALL-UNNAMED
  class path:  /Volumes/Mesos/mesos/work_dir/slaves/28992c6d-c35d-42fa-8099-898223bf183b-S46754/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/65971c20-9e15-4e9b-8872-4febc7de64ed/runs/229b9715-25f2-48c9-ab82-b51da9801be5/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/classes/0/java/nio/channels/DatagramChannel/InterruptibleOrNot.d 
               /Volumes/Mesos/mesos/work_dir/jib-master/install/jdk-17+16-1275/src.full/open/test/jdk/java/nio/channels/DatagramChannel 

----------rerun:(31/5345)*----------

<snip>

----------System.out:(48/3129)----------
[TestNG] Running:
  java/nio/channels/DatagramChannel/InterruptibleOrNot.java

test InterruptibleOrNot.testInterruptBeforeInterruptibleReceive(): success
test InterruptibleOrNot.testInterruptBeforeInterruptibleSend(): success
test InterruptibleOrNot.testInterruptBeforeUninterruptibleReceive(): failure
java.lang.AssertionError: Expected AsynchronousCloseException to be thrown, but nothing was thrown
	at org.testng.Assert.expectThrows(Assert.java:1018)
	at org.testng.Assert.assertThrows(Assert.java:989)
	at InterruptibleOrNot.testInterruptBeforeReceive(InterruptibleOrNot.java:91)
	at InterruptibleOrNot.testInterruptBeforeUninterruptibleReceive(InterruptibleOrNot.java:64)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:639)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:821)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1131)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
	at org.testng.TestRunner.privateRun(TestRunner.java:773)
	at org.testng.TestRunner.run(TestRunner.java:623)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
	at org.testng.SuiteRunner.run(SuiteRunner.java:259)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1185)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1110)
	at org.testng.TestNG.run(TestNG.java:1018)
	at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:94)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
	at java.base/java.lang.Thread.run(Thread.java:831)
test InterruptibleOrNot.testInterruptBeforeUninterruptibleSend(): success
test InterruptibleOrNot.testInterruptDuringInterruptibleReceive(): success
test InterruptibleOrNot.testInterruptDuringUninterruptibleReceive(): success

===============================================
java/nio/channels/DatagramChannel/InterruptibleOrNot.java
Total tests run: 6, Failures: 1, Skips: 0
===============================================

----------System.err:(12/714)----------
java.lang.Exception: failures: 1
	at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:96)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
	at java.base/java.lang.Thread.run(Thread.java:831)

JavaTest Message: Test threw exception: java.lang.Exception
JavaTest Message: shutting down test

result: Failed. Execution failed: `main' threw exception: java.lang.Exception: failures: 1
Comments
Here's a log file snippet from the jdk-22+4-212-tier2 sighting: java/nio/channels/DatagramChannel/InterruptibleOrNot.java #section:testng ----------messages:(8/306)---------- command: testng InterruptibleOrNot reason: User specified action: run testng InterruptibleOrNot started: Fri Jun 23 22:11:25 UTC 2023 Mode: agentvm Agent id: 13 Additional exports to unnamed modules from @modules: java.base/sun.nio.ch finished: Fri Jun 23 22:11:39 UTC 2023 elapsed time (seconds): 13.758 ----------configuration:(13/1511)---------- <snip> ----------System.out:(52/3487)---------- test InterruptibleOrNot.testInterruptBeforeInterruptibleReceive(): failure java.lang.AssertionError: Expected ClosedByInterruptException to be thrown, but AsynchronousCloseException was thrown at org.testng.Assert.expectThrows(Assert.java:1724) at org.testng.Assert.assertThrows(Assert.java:1695) at InterruptibleOrNot.testInterruptBeforeReceive(InterruptibleOrNot.java:91) at InterruptibleOrNot.testInterruptBeforeInterruptibleReceive(InterruptibleOrNot.java:56) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132) at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:599) at org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:174) at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46) at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:822) at org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:147) at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128) at java.base/java.util.ArrayList.forEach(ArrayList.java:1593) at org.testng.TestRunner.privateRun(TestRunner.java:764) at org.testng.TestRunner.run(TestRunner.java:585) at org.testng.SuiteRunner.runTest(SuiteRunner.java:384) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:378) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:337) at org.testng.SuiteRunner.run(SuiteRunner.java:286) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1218) at org.testng.TestNG.runSuitesLocally(TestNG.java:1140) at org.testng.TestNG.runSuites(TestNG.java:1069) at org.testng.TestNG.run(TestNG.java:1037) at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:102) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333) at java.base/java.lang.Thread.run(Thread.java:1570) Caused by: java.nio.channels.AsynchronousCloseException at java.base/java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:203) at java.base/sun.nio.ch.DatagramChannelImpl.endRead(DatagramChannelImpl.java:562) at java.base/sun.nio.ch.DatagramChannelImpl.receive(DatagramChannelImpl.java:602) at InterruptibleOrNot.lambda$testInterruptBeforeReceive$0(InterruptibleOrNot.java:91) at org.testng.Assert.expectThrows(Assert.java:1714) ... 31 more test InterruptibleOrNot.testInterruptBeforeInterruptibleSend(): success test InterruptibleOrNot.testInterruptBeforeUninterruptibleReceive(): success test InterruptibleOrNot.testInterruptBeforeUninterruptibleSend(): success test InterruptibleOrNot.testInterruptDuringInterruptibleReceive(): success test InterruptibleOrNot.testInterruptDuringUninterruptibleReceive(): success =============================================== java/nio/channels/DatagramChannel/InterruptibleOrNot.java Total tests run: 6, Passes: 5, Failures: 1, Skips: 0 =============================================== ----------System.err:(10/529)---------- java.lang.Exception: failures: 1 at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:104) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333) at java.base/java.lang.Thread.run(Thread.java:1570) JavaTest Message: Test threw exception: java.lang.Exception JavaTest Message: shutting down test result: Failed. Execution failed: `main' threw exception: java.lang.Exception: failures: 1
24-06-2023

Here's a log file snippet from the jdk-21+28-2346-tier2 sighting: java/nio/channels/DatagramChannel/InterruptibleOrNot.java #section:testng ----------messages:(8/306)---------- command: testng InterruptibleOrNot reason: User specified action: run testng InterruptibleOrNot started: Thu Jun 15 13:10:01 UTC 2023 Mode: agentvm Agent id: 13 Additional exports to unnamed modules from @modules: java.base/sun.nio.ch finished: Thu Jun 15 13:10:15 UTC 2023 elapsed time (seconds): 13.226 ----------configuration:(13/1515)---------- <snip> ----------System.out:(52/3487)---------- test InterruptibleOrNot.testInterruptBeforeInterruptibleReceive(): failure java.lang.AssertionError: Expected ClosedByInterruptException to be thrown, but AsynchronousCloseException was thrown at org.testng.Assert.expectThrows(Assert.java:1724) at org.testng.Assert.assertThrows(Assert.java:1695) at InterruptibleOrNot.testInterruptBeforeReceive(InterruptibleOrNot.java:91) at InterruptibleOrNot.testInterruptBeforeInterruptibleReceive(InterruptibleOrNot.java:56) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132) at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:599) at org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:174) at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46) at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:822) at org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:147) at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128) at java.base/java.util.ArrayList.forEach(ArrayList.java:1593) at org.testng.TestRunner.privateRun(TestRunner.java:764) at org.testng.TestRunner.run(TestRunner.java:585) at org.testng.SuiteRunner.runTest(SuiteRunner.java:384) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:378) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:337) at org.testng.SuiteRunner.run(SuiteRunner.java:286) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1218) at org.testng.TestNG.runSuitesLocally(TestNG.java:1140) at org.testng.TestNG.runSuites(TestNG.java:1069) at org.testng.TestNG.run(TestNG.java:1037) at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:102) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333) at java.base/java.lang.Thread.run(Thread.java:1583) Caused by: java.nio.channels.AsynchronousCloseException at java.base/java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:203) at java.base/sun.nio.ch.DatagramChannelImpl.endRead(DatagramChannelImpl.java:562) at java.base/sun.nio.ch.DatagramChannelImpl.receive(DatagramChannelImpl.java:602) at InterruptibleOrNot.lambda$testInterruptBeforeReceive$0(InterruptibleOrNot.java:91) at org.testng.Assert.expectThrows(Assert.java:1714) ... 31 more test InterruptibleOrNot.testInterruptBeforeInterruptibleSend(): success test InterruptibleOrNot.testInterruptBeforeUninterruptibleReceive(): success test InterruptibleOrNot.testInterruptBeforeUninterruptibleSend(): success test InterruptibleOrNot.testInterruptDuringInterruptibleReceive(): success test InterruptibleOrNot.testInterruptDuringUninterruptibleReceive(): success =============================================== java/nio/channels/DatagramChannel/InterruptibleOrNot.java Total tests run: 6, Passes: 5, Failures: 1, Skips: 0 =============================================== ----------System.err:(10/529)---------- java.lang.Exception: failures: 1 at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:104) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333) at java.base/java.lang.Thread.run(Thread.java:1583) JavaTest Message: Test threw exception: java.lang.Exception JavaTest Message: shutting down test result: Failed. Execution failed: `main' threw exception: java.lang.Exception: failures: 1
15-06-2023

Another sighting on JDK 17 CI: https://mach5.us.oracle.com/mdash/jobs/mach5-one-jdk-17-0-4+1-54-tier2-20220206-1535-28854748/results?search=status%3Afailed+AND+-state%3Ainvalid macosx-aarch64: jpg-mac-arm-38.oraclecorp.com
07-02-2022

There are currently 21 failure sightings for: java/nio/channels/DatagramChannel/ManySourcesAndTargets.java in the JDK17 and JDK18 CIs. The only sighting of: java/nio/channels/DatagramChannel/InterruptibleOrNot.java is the original 2021.03.29. 20 of the ManySourcesAndTargets.java sightings are on macosx-aarch64. In order to reduce the noise in the JDK18 CI, I'm looking at ProblemListing ManySourcesAndTargets.java.
05-01-2022

[~msheppar] I don't think we should change test to use a Selector and non-blocking I/O. That is just working around an underlying issue. It's okay to exclude this test on macos-aarch64 while the issue is being investigated. The DatagramSocket.setSoTimeout method should set the timeout for DatagramSocket.receive. The socket adaptor does support it. Nothing to do with DatagramChannel.receive of course.
22-09-2021

It's impossible to tell if there firewall, configuration, or other tests running concurrently that are leading to the scenario where the IPv6 datagrams are being discarded. In the case of ManySourcesAndTargets, I think we should at least change it to run in /othervm mode to improve the changes that the trace messages will be in the .jtr file. Also change testReceive to replace reader.send(..) with sender(..) to avoid confusing readers.
16-08-2021

[~msheppar] Well spotted, it should be sender.send(..). The sender is bound to the wildcard address as it needs to send to all addresses so I don't think it's really an issue but we should change it anyway. The test logging is in the .jtr and maybe changing the IIPv6 enabled run to /othervm might help there.
10-08-2021

Slack notes on these failures with [~alanb]: Alan Bateman:spiral_calendar_pad: 8 hours ago DatagramChannel/InterruptibleOrNot.java also failed on jpg-mac-x64-023 in this run. If this machine was super slow at this time then it would explain both failures. Daniel Daugherty 21 minutes ago DatagramChannel/InterruptibleOrNot.java ran for 8 seconds and failed. DatagramChannel/ManySourcesAndTargets.java ran for 8+ minutes and timed out... Alan Bateman:spiral_calendar_pad: 17 minutes ago InterruptibleOrNot will fail in this wait if the system hangs for 2 seconds, we could increase the wait time but it would of course increase the duration of the test Daniel Daugherty 16 minutes ago DatagramChannel/InterruptibleOrNot.java started at Mon Mar 29 07\:00\:58 GMT 2021 and ended at Mon Mar 29 07\:09\:12 GMT 2021. DatagramChannel/ManySourcesAndTargets.java started at Mon Mar 29 07\:00\:57 GMT 2021 and ended at Mon Mar 29 07\:01\:04 GMT 2021. So there's about a 6 second overlap between the two tests execution windows. Daniel Daugherty 14 minutes ago According to "top": 2021/03/29 07:09:17 Load Avg: 18.33, 15.30, 9.02 CPU usage: 71.62% user, 15.67% sys, 12.70% idle so the machine was fairly loaded when DatagramChannel/InterruptibleOrNot.java executed. Daniel Daugherty 12 minutes ago For both tests, this is the only failure sighting in Mach5. Daniel Daugherty 10 minutes ago InterruptibleOrNot will fail in this wait if the system hangs for 2 seconds, we could increase the wait time but it would of course increase the duration of the test 2 seconds? Wow that's a tight tolerance. Alan Bateman:spiral_calendar_pad: 3 minutes ago Okay although I’m 99% sure this is infrastructure. We can increase the tolerant on one of the tests Daniel Daugherty < 1 minute ago The test task ran with a concurrency of 6. Perhaps DatagramChannel/ManySourcesAndTargets.java needs a timeout slightly longer than the default two minutes. With a timeout of 180 and a a default timeoutFactor of 4, it will have 12 minutes to execute when it happens to run with other tests in parallel.
29-03-2021