On Fri, 3 Sep 2021 20:32:20 GMT, Mark Sheppard <[email protected]> wrote:
> A number of nio DatagramChannel tests are intermittently failing on > macosx-aarch64. > In some instances this is a receive call blocking indefinitely waiting on > data which has > already been sent, and should be available immediately to the receive method > call. > Other test failure scenarios are problems during the test compilation phase > with a SocketException being thrown and the message: > "test result: Error. Agent communication error: java.net.SocketException: No > buffer space available; check console log for any additional details" > > The ManySourcesAndTargets and other tests execute in agentvm mode. This > results in certain test diagnostic > Output being lost during the test failure handling capture process. To > mitigate this lost diagnostics, the > ManySourcesAndTargets test has been amended to execute in othervm mode. > > Additionally, to assist in the buffer allocation issue, the netstat command > executed by the test > failure_handler has an extra argument added to obtain additional details on > mbuf usage. > The failure handler will now execute with netstat -mm This pull request has now been integrated. Changeset: d6d6c069 Author: Mark Sheppard <[email protected]> URL: https://git.openjdk.java.net/jdk/commit/d6d6c0692bff77bd18127ed61455aac39370a089 Stats: 4 lines in 2 files changed: 0 ins; 0 del; 4 mod 8273246: Amend the test java/nio/channels/DatagramChannel/ManySourcesAndTargets.java to execute in othervm mode Reviewed-by: alanb ------------- PR: https://git.openjdk.java.net/jdk/pull/5366
