Skip to content

8278102: containers/docker/TestJcmd.java failed with "RuntimeException: Could not find specified process"#4507

Open
rm-gh-8 wants to merge 1 commit into
openjdk:masterfrom
rm-gh-8:JDK-8278102-V17
Open

8278102: containers/docker/TestJcmd.java failed with "RuntimeException: Could not find specified process"#4507
rm-gh-8 wants to merge 1 commit into
openjdk:masterfrom
rm-gh-8:JDK-8278102-V17

Conversation

@rm-gh-8

@rm-gh-8 rm-gh-8 commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Backporting JDK-8278102: containers/docker/TestJcmd.java failed with "RuntimeException: Could not find specified process".

This PR re-enables the TestJcmd.java Docker container test (previously disabled via ProblemList for bug 8278102) by fixing its reliability issues.

This PR is not clean due to a conflict in the problem list (no change needed) and a trivial difference (root user check) in a section that was deleted as part of this PR.

For parity with Oracle JDK. Already backported to 21.

Ran related test on linux-x64:

sudo ../jtreg/build/images/jtreg/bin/jtreg -jdk:build/linux-x86_64-server-release/images/jdk -Drequires.container.support=true test/hotspot/jtreg/containers/docker/TestJcmd.java

Results:

test result: Passed. Execution successful

TestJcmd.jtr.txt



Progress

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

Issue

  • JDK-8278102: containers/docker/TestJcmd.java failed with "RuntimeException: Could not find specified process" (Bug - P4)

Reviewing

Using git

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

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

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 4507

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

Using diff file

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

Using Webrev

Link to Webrev Comment

@bridgekeeper

bridgekeeper Bot commented Jun 9, 2026

Copy link
Copy Markdown

👋 Welcome back rmesde! 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.

@rm-gh-8 rm-gh-8 marked this pull request as ready for review June 9, 2026 15:29
@openjdk

openjdk Bot commented Jun 9, 2026

Copy link
Copy Markdown

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

@openjdk openjdk Bot changed the title Backport 331958b1fc26e459ef5e6684c4b74189403d469a 8278102: containers/docker/TestJcmd.java failed with "RuntimeException: Could not find specified process" Jun 9, 2026
@openjdk

openjdk Bot commented Jun 9, 2026

Copy link
Copy Markdown

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

@openjdk openjdk Bot added backport Port of a pull request already in a different code base rfr Pull request is ready for review labels Jun 9, 2026
@mlbridge

mlbridge Bot commented Jun 9, 2026

Copy link
Copy Markdown

Webrevs

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

Labels

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.

1 participant