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

NetworkInterface/UniqueMacAddressesTest: mac address uniqueness test failed

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b24
    • OS:
      os_x

      Backports

        Description

        The test java/net/NetworkInterface/UniqueMacAddressesTest.java fails with the following output:

        #section:main
        ----------messages:(4/157)----------
        command: main UniqueMacAddressesTest
        reason: Assumed action based on file name: run main UniqueMacAddressesTest
        Mode: othervm
        elapsed time (seconds): 0.143
        ----------configuration:(0/0)----------
        ----------System.out:(9/495)----------
        UniqueMacAddressesTest: start
        Adding NetworkInterface llw0 with mac address 32-1D-A3-02-C3-00
        Adding NetworkInterface awdl0 with mac address 32-1D-A3-02-C3-00
        Adding NetworkInterface vmnet8 with mac address 00-50-56-C0-00-08
        Adding NetworkInterface vmnet1 with mac address 00-50-56-C0-00-01
        Adding NetworkInterface en0 with mac address F4-5C-89-BF-30-53
        Comparing netif llw0 and netif llw0
        Comparing netif llw0 and netif awdl0
        compare hardware addresses 32-1D-A3-02-C3-00 and 32-1D-A3-02-C3-00
        ----------System.err:(14/929)----------
        java.lang.RuntimeException: mac address uniqueness test failed
        at UniqueMacAddressesTest.execute(UniqueMacAddressesTest.java:61)
        at UniqueMacAddressesTest.main(UniqueMacAddressesTest.java:42)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:564)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
        at java.base/java.lang.Thread.run(Thread.java:832)

        JavaTest Message: Test threw exception: java.lang.RuntimeException: mac address uniqueness test failed
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.RuntimeException: mac address uniqueness test failed

        The issue was observed on macOS with the build 15-ea+25-1229. The same failure was reproducible with 14+36-1461

        Reproducibility: 100%
        How to reproduce:

        $ jtreg -testjdk:<path_to_jdk> test/jdk/java/net/NetworkInterface/UniqueMacAddressesTest.java

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                ccleary Conor Cleary
                Reporter:
                vprovodin Vitaly Provodin
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: