> Hi all, > > The test log from java/net/InetAddress/ptr/Lookup.java shows that > `lookupWithIPv4Prefer` and `reverseWithIPv4Prefer` both print > "192.0.43.7:192.0.43.7" when this test fails intermittently. And the output > should be "192.0.43.7:icann.org" when this test run passed. The intermittent > fails seems that `InetAddress.getHostFromNameService` can not resolve the > fully qualified domain name for the given IP address, and it return the > textual representation of the IP address, especially the network in unstable. > > This intermittemt failure is not trigger by a JVM bug, so this PR throw > jtreg.SkippedException rather than report test failure. Change has been > verified locally both on linux-x64 and linux-aarch64. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai).
Sendao Yan has updated the pull request incrementally with one additional commit since the last revision: 8380124: Test java/net/InetAddress/ptr/Lookup.java fails intermittently due to reverse lookup failed ------------- Changes: - all: https://git.openjdk.org/jdk/pull/30259/files - new: https://git.openjdk.org/jdk/pull/30259/files/8af153f6..02121218 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=30259&range=08 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=30259&range=07-08 Stats: 10 lines in 1 file changed: 10 ins; 0 del; 0 mod Patch: https://git.openjdk.org/jdk/pull/30259.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/30259/head:pull/30259 PR: https://git.openjdk.org/jdk/pull/30259
