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

java/nio/channels/DatagramChannel/AdaptorMulticasting.java fails intermittently in network interface equality test

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: In Progress
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 18
    • Fix Version/s: tbd
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Understanding:
      Fix Understood
    • CPU:
      x86_64
    • OS:
      os_x

      Description

      log extract

      testSendNoReceive
      testSendReceive
      testSendNoReceive
      ----------System.err:(14/760)----------
      java.lang.RuntimeException
      at AdaptorMulticasting.assertTrue(AdaptorMulticasting.java:471)
      at AdaptorMulticasting.testNetworkInterface(AdaptorMulticasting.java:298)
      at AdaptorMulticasting.test(AdaptorMulticasting.java:103)
      at AdaptorMulticasting.main(AdaptorMulticasting.java:81)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:577)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:833)

      Network interfaces can be subject to intermittent reconfiguration, where the ad hoc IPv6 configured address expires and a new one allocated and bound. This transient condition can occur during a test such that an equality test on an networkinterface unexpectedly equates to false. NetworkConfiguration has been amended with isSameInterface, which can be used in this test to replace equality test.

        Attachments

          Activity

            People

            Assignee:
            msheppar Mark Sheppard
            Reporter:
            msheppar Mark Sheppard
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: