adoptium / adoptium/aqa-tests

10 jdk_net tests failed with ` Can't assign requested address ` on jdk17 aix

Open
#3,292 4 comments 0 reactions 0 assignees View on GitHub
release triage
Dominant language
HTML
Stars
155
Forks
346
Avg merge
2d 9h
Merged PRs (30d)
36

Description

10 tests failed with Execution failed: `main' threw exception: java.net.BindException: Can't assign requested address on jdk17 aix.

It happened on test aix machine test-osuosl-aix715-ppc64-3

https://ci.adoptopenjdk.net/job/Test_openjdk17_hs_extended.openjdk_ppc64_aix_testList_0/20/#showFailuresLink

```
Stacktrace
Execution failed: `main' threw exception: java.net.BindException: Can't assign requested address
```

java/net/DatagramSocket/Send12k.java.Send12k
java/net/MulticastSocket/IPMulticastIF.java.IPMulticastIF
java/net/Socket/B6210227.java.B6210227
java/net/Socket/GetLocalAddress.java.GetLocalAddress
java/net/Socket/HttpProxy.java.HttpProxy
java/net/Socket/SetSoLinger.java.SetSoLinger
sun/net/www/protocol/http/B6299712.java.B6299712
sun/net/www/protocol/http/HttpOnly.java.HttpOnly
sun/net/www/protocol/https/HttpsURLConnection/PostThruProxyWithAuth.java.PostThruProxyWithAuth
java/net/DatagramSocket/SendReceiveMaxSize.java.SendReceiveMaxSize

Those tests also failed on build aix machine build-osuosl-aix71-ppc64-2 though with different error message.
https://ci.adoptopenjdk.net/job/Grinder/3282/
seven tests under java/net got error message like `Execution failed: `main' threw exception: java.net.NoRouteToHostException: A route to the remote host is not available.`
https://ci.adoptopenjdk.net/job/Grinder/3283/
three tests under sun/net got error message `java.net.BindException: The socket name is not available on this system. `

Contributor guide

Open the contributing guide

Research direction

Review the linked CI failures and the ten named Java networking tests first, comparing the JDK 17 AIX and Grinder runs on the listed machines. Done means the root cause is identified and the affected tests no longer fail with the reported address or route errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
networking, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.