-
Bug
-
Resolution: Fixed
-
P4
-
8, 14, 15
-
b24
-
os_x
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8300952 | 11.0.19-oracle | kiran kumar J | P4 | Resolved | Fixed | b04 |
JDK-8283106 | 11.0.16 | Goetz Lindenmaier | P4 | Resolved | Fixed | b01 |
JDK-8324728 | 8u421 | Vanitha B P | P4 | Resolved | Fixed | b01 |
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
#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
- backported by
-
JDK-8283106 NetworkInterface/UniqueMacAddressesTest: mac address uniqueness test failed
- Resolved
-
JDK-8300952 NetworkInterface/UniqueMacAddressesTest: mac address uniqueness test failed
- Resolved
-
JDK-8324728 NetworkInterface/UniqueMacAddressesTest: mac address uniqueness test failed
- Resolved
- links to
-
Commit openjdk/jdk11u-dev/ed275bab
-
Commit openjdk/jdk/f5d36e6c
-
Review openjdk/jdk11u-dev/885
-
Review openjdk/jdk/1076
(2 links to)