eclipse-openj9 / openj9

Eclipse OpenJ9: A Java Virtual Machine for OpenJDK that's optimized for small footprint, fast start-up, and high throughput. Builds on Eclipse OMR (https://github.com/eclipse/omr) and combines with the Extensions for OpenJDK for OpenJ9 repo.
Other
3.28k stars 721 forks source link

sanity.openjdk osx ivp6 network problems #8375

Open pshipton opened 4 years ago

pshipton commented 4 years ago

https://ci.eclipse.org/openj9/job/Test_openjdk8_j9_sanity.openjdk_x86-64_mac_Personal/1 osx1014-x86-3 Numerous ipv6 tests are failing.

smlambert commented 4 years ago

Do those machines have IPv6 enabled?

We have the case at AdoptOpenJDK where the osx machines in Azure Devops cloud do not. Ideally those upstream tests would be updated to check if ipv6 enabled, and skip if not. If that option is not available, we may have to handle in a different way.

(possibly related: https://github.com/AdoptOpenJDK/openjdk-tests/issues/1524)

pshipton commented 4 years ago

Do those machines have IPv6 enabled?

I'm guessing not, since the tests are failing. @AdamBrousseau @jdekonin ?

jdekonin commented 4 years ago

ipv6 appears to be enabled on these machines. https://ci.eclipse.org/openj9/job/Test_openjdk8_j9_sanity.openjdk_x86-64_mac_Personal/2/console jdk_net_0 and jdk_nio_0 fail.

multicast is disabled by default on osx, but using this as a guide. I have it working on osx1014-x86-3, at least from an os level u16 x86 to osx1014-x86-3 it appears to be working with tcpdump. A respin for just jdk_net_0 shows the tests fail in the same manner as before though. https://ci.eclipse.org/openj9/job/Test_openjdk8_j9_sanity.openjdk_x86-64_mac_Personal/4/console

The single failure in jdk_nio_0 appears to be ipv6 related and should likely be disabled too??

16:11:07 Test DatagramChannel to INET6 socket
16:11:07  join ff02:0:0:0:0:0:0:a @ en6
16:11:07  Send message from fe80:0:0:0:aede:48ff:fe00:1122%en6 -> group ff02:0:0:0:0:0:0:a (id=0x91e4e909)
16:11:07  STDERR:
16:11:07  java.net.NoRouteToHostException: No route to host
pshipton commented 4 years ago

sanity.openjdk has been reconfigured to remove network testing. I'll do a run to confirm, but I believe I can remove the "Blocking openjdk.sanity" from this issue.

https://ci.eclipse.org/openj9/view/Test/job/Grinder/740 - passed https://ci.eclipse.org/openj9/view/Test/job/Grinder/741 - see #9108

jdekonin commented 3 years ago

What level of testing is needed to reproduce this now? If this is no longer a problem can the issue be closed?

pshipton commented 3 years ago

As per https://github.com/eclipse/openj9/issues/8375#issuecomment-608424229 the ipv6 tests were moved out of the sanity bucket. This will only be an issue if we start running more testing, which may happen in the future. @llxia