← Back to team overview

bazel-team team mailing list archive

Bug#1029840: bazel-bootstrap: autopkgtest failure: Unrecognized VM option 'UseParallelOldGC'

 

Control: tag -1 confirmed help

Hi and thanks for the bug report.

On 1/28/23 12:01, Adrian Bunk wrote:
Source: bazel-bootstrap
Version: 4.2.3+ds-2
Severity: serious

https://ci.debian.net/data/autopkgtest/testing/amd64/b/bazel-bootstrap/30777521/log.gz
<snip>
OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.
Unrecognized VM option 'UseParallelOldGC'
Did you mean '(+/-)UseParallelGC'? Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
<snip>
autopkgtest [09:12:57]: @@@@@@@@@@@@@@@@@@@@ summary
bazel-generic        PASS
cpp-success          PASS
cpp-failure          PASS
java-1-hello         FAIL non-zero exit status 1
java-2-custom        FAIL non-zero exit status 1
java-3-test-class    FAIL non-zero exit status 1
java-4-fail          FAIL non-zero exit status 1
java-5-sleep0        FAIL non-zero exit status 1
java-6-sleep1        FAIL non-zero exit status 1
java-7-sleep2        FAIL non-zero exit status 1
java-8-sleep3        FAIL non-zero exit status 1
java-9-resource-fail FAIL non-zero exit status 1

I've been trying to fix this problem for a few months now and have asked upstream for help. No one has been able to figure out why "UseParallelOldGC" is being used even though it has been patched out [1] everywhere it occurs in the source code. If you, or anyone else, has any suggestions or recommendations I would definitely appreciate them!

-Olek

[1] https://salsa.debian.org/bazel-team/bazel-bootstrap/-/blob/master/debian/patches/fix_JDK-16_test_failures.patch

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


Follow ups

References