RFR: 8341310: Test containers/docker/TestJcmdWithSideCar.java fails after JDK-8327114 [v2]

Sebastian Lövdahl duke at openjdk.org
Thu Oct 3 05:30:40 UTC 2024


On Wed, 2 Oct 2024 19:01:19 GMT, Sebastian Lövdahl <duke at openjdk.org> wrote:

> > Filed https://bugs.openjdk.org/browse/JDK-8341436 to track this separate issue.
> 
> Do you intend to look into this yourself? If not, I would be happy to pick it up.

It finally occurred to my why `p.destroy()` doesn't seem to have any effect: the process the Java test sees is just a short-lived one that calls the Docker daemon. That is, it is _not_ a reference to the container process itself and it cannot stop the container. That needs to go through a `docker stop` call.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/21289#issuecomment-2390554034


More information about the serviceability-dev mailing list