← Back to team overview

bazel-team team mailing list archive

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

 

On Sun, Jan 29, 2023 at 11:54:44AM -0500, Olek Wojnar wrote:
> 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!

I am able to reproduce it and I tried for some time to understand what 
goes wrong, and I have to admit I am as puzzled as you are.

The only realistic option for bazel-bootstrap in bookworm would be an 
upload right now that only runs the autopkgtests that are not failing
so that it will be in bookworm by the by the 12th.

Fixing/Readding the Java tests will still be possible afterwards.

> -Olek
>...

cu
Adrian


References