JDK-8231811 : javax/net/ssl/ALPN/SSLEngineAlpnTest.java failed with "java.lang.Error: IP Helper Library GetAdaptersAddresses function failed with error == 1168"
  • Type: Bug
  • Component: security-libs
  • Sub-Component: javax.net.ssl
  • Affected Version: 14
  • Priority: P4
  • Status: Closed
  • Resolution: Cannot Reproduce
  • Submitted: 2019-10-03
  • Updated: 2024-05-08
  • Resolved: 2024-05-08
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdResolved
Related Reports
Relates :  
Description
Test:  javax/net/ssl/ALPN/SSLEngineAlpnTest.java

Log:
command: main SSLEngineAlpnTest EMPTY UNUSED h2,http/1.1 NONE
reason: User specified action: run main/othervm SSLEngineAlpnTest EMPTY UNUSED h2,http/1.1 NONE 
Mode: othervm [/othervm specified]
elapsed time (seconds): 0.532
----------configuration:(0/0)----------
----------System.out:(1/47)----------
Test args: [EMPTY, UNUSED, h2,http/1.1, NONE]
----------System.err:(33/2571)----------
java.lang.Error: IP Helper Library GetAdaptersAddresses function failed with error == 1168
	at java.base/java.net.NetworkInterface.getMacAddr0(Native Method)
	at java.base/java.net.NetworkInterface.getHardwareAddress(NetworkInterface.java:528)
	at java.base/sun.security.provider.SeedGenerator.addNetworkAdapterInfo(SeedGenerator.java:234)
	at java.base/sun.security.provider.SeedGenerator$1.run(SeedGenerator.java:179)
	at java.base/sun.security.provider.SeedGenerator$1.run(SeedGenerator.java:167)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:312)
	at java.base/sun.security.provider.SeedGenerator.getSystemEntropy(SeedGenerator.java:167)
	at java.base/sun.security.provider.AbstractDrbg$SeederHolder.<clinit>(AbstractDrbg.java:551)
	at java.base/sun.security.provider.AbstractDrbg.getEntropyInput(AbstractDrbg.java:505)
	at java.base/sun.security.provider.AbstractDrbg.getEntropyInput(AbstractDrbg.java:494)
	at java.base/sun.security.provider.AbstractDrbg.instantiateIfNecessary(AbstractDrbg.java:696)
	at java.base/sun.security.provider.AbstractDrbg.engineNextBytes(AbstractDrbg.java:378)
	at java.base/sun.security.provider.AbstractDrbg.engineNextBytes(AbstractDrbg.java:334)
	at java.base/sun.security.provider.DRBG.engineNextBytes(DRBG.java:234)
	at java.base/java.security.SecureRandom.nextBytes(SecureRandom.java:742)
	at java.base/java.security.SecureRandom.next(SecureRandom.java:799)
	at java.base/java.util.Random.nextInt(Random.java:330)
	at java.base/sun.security.ssl.SSLContextImpl.engineInit(SSLContextImpl.java:116)
	at java.base/javax.net.ssl.SSLContext.init(SSLContext.java:313)
	at SSLEngineAlpnTest.<init>(SSLEngineAlpnTest.java:249)
	at SSLEngineAlpnTest.main(SSLEngineAlpnTest.java:205)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	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:830)

JavaTest Message: Test threw exception: java.lang.Error: IP Helper Library GetAdaptersAddresses function failed with error == 1168
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.Error: IP Helper Library GetAdaptersAddresses function failed with error == 1168

It need to be investigated.
Comments
Closing it as Cannot Reproduce. Test is not in ProblemList and has passed every run in CI.
08-05-2024