Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8265866

java/net/InetAddress/ptr/Lookup.java failed with "doesn't match expected=icann.org"

XMLWordPrintable

    • Cause Known
    • aarch64
    • linux

      The following test failed in the JDK17 CI:

      java/net/InetAddress/ptr/Lookup.java

      Here's a snippet from the log file:

      ----------System.err:(15/897)----------
      name=192.0.43.7 doesn't match expected=icann.org
      Listing all adresses:
      [icann.org/2001:500:88:200:0:0:0:7] address=2001:500:88:200:0:0:0:7, host=icann.org
      java.lang.RuntimeException: Mismatch between default and java.net.preferIPv4Stack=true results
      at Lookup.main(Lookup.java:132)
      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.RuntimeException
      JavaTest Message: shutting down test

      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Mismatch between default and java.net.preferIPv4Stack=true results

            msheppar Mark Sheppard
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: