RFR: 8259446: runtime/jni/checked/TestCheckedReleaseArrayElements.java fails with stderr not empty [v2]
David Holmes
dholmes at openjdk.java.net
Fri Jan 8 22:18:13 UTC 2021
> 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.
David Holmes has updated the pull request incrementally with one additional commit since the last revision:
Add comment as requested by Dan
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/2001/files
- new: https://git.openjdk.java.net/jdk/pull/2001/files/0ac51463..93b6f548
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=2001&range=01
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=2001&range=00-01
Stats: 2 lines in 1 file changed: 2 ins; 0 del; 0 mod
Patch: https://git.openjdk.java.net/jdk/pull/2001.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/2001/head:pull/2001
PR: https://git.openjdk.java.net/jdk/pull/2001
More information about the hotspot-runtime-dev
mailing list