Skip to content

Conversation

@sxa
Copy link
Contributor

@sxa sxa commented Nov 19, 2025

Backport of openjdk/jdk11u-dev#1377
Eclipse Temurin has seen this failure on some systems and this backport resolves them.

Sample failure when trying 100 iterations: https://ci.adoptium.net/job/Grinder/15544/testReport/ (82/100 failed)
Sample pass with this branch: https://ci.adoptium.net/job/Grinder/15551/testReport (zero failures)

Ref: https://bugs.openjdk.org/browse/JDK-8285836

Testing tier 1:


Progress

  • Change must be properly reviewed (1 review required, with at least 1 Reviewer)
  • Change must not contain extraneous whitespace
  • JDK-8285836 needs maintainer approval
  • Commit message must refer to an issue

Issue

  • JDK-8285836: sun/net/www/http/KeepAliveCache/KeepAliveProperty.java failed with "RuntimeException: Failed in server" (Bug - P3 - Requested)

Reviewers

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk8u-dev.git pull/721/head:pull/721
$ git checkout pull/721

Update a local copy of the PR:
$ git checkout pull/721
$ git pull https://git.openjdk.org/jdk8u-dev.git pull/721/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 721

View PR using the GUI difftool:
$ git pr show -t 721

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk8u-dev/pull/721.diff

Using Webrev

Link to Webrev Comment

@bridgekeeper
Copy link

bridgekeeper bot commented Nov 19, 2025

👋 Welcome back sxa! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

@openjdk
Copy link

openjdk bot commented Nov 19, 2025

❗ This change is not yet ready to be integrated.
See the Progress checklist in the description for automated requirements.

@openjdk openjdk bot added rfr Pull request is ready for review approval Requires approval; will be removed when approval is received labels Nov 19, 2025
@sxa sxa changed the title 8285836: sun/net/www/http/KeepAliveCache/KeepAliveProperty.java failed with "RuntimeException: Failed in server" Backport af529be069b651808310c3c37e2167d216979f69 Nov 19, 2025
@mlbridge
Copy link

mlbridge bot commented Nov 19, 2025

Webrevs

@openjdk openjdk bot changed the title Backport af529be069b651808310c3c37e2167d216979f69 8285836: sun/net/www/http/KeepAliveCache/KeepAliveProperty.java failed with "RuntimeException: Failed in server" Nov 19, 2025
@openjdk
Copy link

openjdk bot commented Nov 19, 2025

This backport pull request has now been updated with issue from the original commit.

@openjdk openjdk bot added the backport Port of a pull request already in a different code base label Nov 19, 2025
@sxa
Copy link
Contributor Author

sxa commented Nov 19, 2025

runtime/containers/docker/TestCPUAwareness.java failure in the Pre-submit tests - Linux x64 - Test (tier1) (and the 32-bit version) in GHA are failing on other PRs so is not related to this change and can therefore be ignored.

@jmtd
Copy link
Contributor

jmtd commented Nov 19, 2025

I am not a Reviewer in jdk8u but to gain experience of doing so I've reviewed this change.

The PR is not labelled "clean" but I'm not sure why, the patch is identical to that in 11u and applies with no fuzz.

As @sxa notes the pre-submit failure is an issue in the main 8u tree at the moment and is not specific to this change.

Test-only change. I've run it and it passes for me after this patch, although I haven't done a battery of runs to aggregate the results, like the backporter has.

@jerboaa
Copy link
Contributor

jerboaa commented Nov 19, 2025

runtime/containers/docker/TestCPUAwareness.java failure

That is https://bugs.openjdk.org/browse/JDK-8370492 and a combination that --cpu-shares=1023 back-mapping to the default 100 with the new mapping function. So a value of --cpu-shares=1000 (mapping to 99) should be chosen for the test.

@jerboaa
Copy link
Contributor

jerboaa commented Nov 19, 2025

The PR is not labelled "clean" but I'm not sure why, the patch is identical to that in 11u and applies with no fuzz.

Path in JDK 11 is test/jdk/sun/net/www/http/KeepAliveCache/KeepAliveProperty.java. JDK 8 path is jdk/test/sun/net/www/http/KeepAliveCache/KeepAliveProperty.java. I.e. test/jdk vs. jdk/test.

@jmtd
Copy link
Contributor

jmtd commented Nov 19, 2025

Path in JDK 11 is test/jdk/sun/net/www/http/KeepAliveCache/KeepAliveProperty.java. JDK 8 path is jdk/test/sun/net/www/http/KeepAliveCache/KeepAliveProperty.java. I.e. test/jdk vs. jdk/test.

Thanks... I had to read your comment twice to see the difference!

@sxa
Copy link
Contributor Author

sxa commented Nov 19, 2025

Is there anything else I need to do because it's not considered clean, or is that up to the reviewers?

Copy link
Contributor

@jerboaa jerboaa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Clean after path unshuffeling.

@sxa
Copy link
Contributor Author

sxa commented Nov 20, 2025

/approval request test-only backport, clean after path unshuffling, tests pass

@openjdk
Copy link

openjdk bot commented Nov 20, 2025

@sxa
8285836: The approval request has been created successfully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approval Requires approval; will be removed when approval is received backport Port of a pull request already in a different code base rfr Pull request is ready for review

Development

Successfully merging this pull request may close these issues.

4 participants