RFR: JDK-8325862: set -XX:+ErrorFileToStderr when executing java in containers for some container related jtreg tests

Severin Gehwolf sgehwolf at openjdk.org
Fri Feb 16 12:42:56 UTC 2024


On Thu, 15 Feb 2024 15:07:38 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> To get easier access to the hserr file content, -XX:+ErrorFileToStderr should be set when executing test parts in a container.
> Examples are the docker/container tests starting (docker) containers with java processes inside the container and not on the host.

Marked as reviewed by sgehwolf (Reviewer).

> > However, if the stderr value gets truncated, then you'd be back at square one.
> 
> I saw this when testing the change, however 1) the most part of the stack/backtrace was still visible in stderr so this was good 2) test rest of the truncated hserr was in a separate file but on the _**host**_, which was good for me.

Good, thanks.

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

PR Review: https://git.openjdk.org/jdk/pull/17874#pullrequestreview-1885032699
PR Comment: https://git.openjdk.org/jdk/pull/17874#issuecomment-1948318946


More information about the hotspot-runtime-dev mailing list