Integrated: 8259446: runtime/jni/checked/TestCheckedReleaseArrayElements.java fails with stderr not empty
David Holmes
dholmes at openjdk.java.net
Fri Jan 8 22:28:59 UTC 2021
On Fri, 8 Jan 2021 10:33:39 GMT, David Holmes <dholmes at openjdk.org> wrote:
> The test checks stderr is empty.
> The test is run in our tier3 CI testing.
> Tier3 (and some other tiers) has a configuration that includes the -showversion flag which outputs the version string to stderr.
>
> => ergo the test fails because stderr is not empty!
>
> Fix: exec the secondary VM without including the jtreg test VM arguments.
>
> I think this is really a bug in our test job definitions and we've been very lucky to not encounter problems with using `-showversion`, but as a quick fix this suffices, and we don't expect any other JVM flags to have any impact here.
>
> Tested by running jtreg with/without -showversion being passed to JVM under test.
> Tier3 test run in progress too.
> Thanks.
This pull request has now been integrated.
Changeset: 7e6677b5
Author: David Holmes <dholmes at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/7e6677b5
Stats: 7 lines in 1 file changed: 3 ins; 0 del; 4 mod
8259446: runtime/jni/checked/TestCheckedReleaseArrayElements.java fails with stderr not empty
Reviewed-by: dcubed
-------------
PR: https://git.openjdk.java.net/jdk/pull/2001
More information about the hotspot-runtime-dev
mailing list