← Back to team overview

bazel-team team mailing list archive

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

 

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

...
autopkgtest [09:12:31]: test java-1-hello: [-----------------------
Loading: 
Loading: 0 packages loaded
Analyzing: target //examples/java-native/src/test/java/com/example/myproject:hello (1 packages loaded, 0 targets configured)
INFO: Analyzed target //examples/java-native/src/test/java/com/example/myproject:hello (5 packages loaded, 90 targets configured).
INFO: Found 1 test target...
[0 / 4] [Prepa] BazelWorkspaceStatusAction stable-status.txt
[9 / 12] [Prepa] Compiling Java headers examples/java-native/src/main/java/com/example/myproject/libhello-lib-hjar.jar (1 source file)
ERROR: /tmp/autopkgtest-lxc.u4r5_89h/downtmp/build.JW0/src/examples/java-native/src/main/java/com/example/myproject/BUILD:11:13: Compiling Java headers examples/java-native/src/main/java/com/example/myproject/libhello-lib-hjar.jar (1 source file) failed: (Exit 1): java failed: error executing command 
  (cd /home/debci/.cache/bazel/_bazel_debci/ac30c69205f9922c4c1ba25e527d4570/sandbox/linux-sandbox/17/execroot/io_bazel && \
  exec env - \
    LC_CTYPE=en_US.UTF-8 \
    PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games \
  external/local_jdk/bin/java -Xverify:none -XX:+UseParallelOldGC -XX:-CompactStrings '--patch-module=java.compiler=external/remote_java_tools_linux/java_tools/java_compiler.jar' '--patch-module=jdk.compiler=external/remote_java_tools_linux/java_tools/jdk_compiler.jar' '--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED' '--add-exports=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED' '--add-exports=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED' '--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED' '--add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED' '--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED' '--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED' '--add-opens=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED' '--add-opens=java.base/java.nio=ALL-UNNAMED' '--add-opens=java.base/java.lang=ALL-UNNAMED' -jar external/remote_java_tools_linux/java_tools/turbine_direct_binary_deploy.jar --output bazel-out/k8-fastbuild/bin/examples/java-native/src/main/java/com/example/myproject/libhello-lib-hjar.jar --output_deps bazel-out/k8-fastbuild/bin/examples/java-native/src/main/java/com/example/myproject/libhello-lib-hjar.jdeps --bootclasspath bazel-out/k8-fastbuild/bin/external/bazel_tools/tools/jdk/platformclasspath.jar --sources examples/java-native/src/main/java/com/example/myproject/Greeter.java --javacopts -source 8 -target 8 '-XDskipDuplicateBridges=true' '-XDcompilePolicy=simple' -g -parameters -XX:+UseParallelGC -XX:+IgnoreUnrecognizedVMOptions -- --target_label //examples/java-native/src/main/java/com/example/myproject:hello-lib --reduce_classpath_mode NONE)
Execution platform: //:default_host_platform

Use --sandbox_debug to see verbose messages from the sandbox
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.
Target //examples/java-native/src/test/java/com/example/myproject:hello failed to build
ERROR: /tmp/autopkgtest-lxc.u4r5_89h/downtmp/build.JW0/src/examples/java-native/src/test/java/com/example/myproject/BUILD:3:10 Building examples/java-native/src/test/java/com/example/myproject/hello.jar (1 source file) failed: (Exit 1): java failed: error executing command 
  (cd /home/debci/.cache/bazel/_bazel_debci/ac30c69205f9922c4c1ba25e527d4570/sandbox/linux-sandbox/17/execroot/io_bazel && \
  exec env - \
    LC_CTYPE=en_US.UTF-8 \
    PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games \
  external/local_jdk/bin/java -Xverify:none -XX:+UseParallelOldGC -XX:-CompactStrings '--patch-module=java.compiler=external/remote_java_tools_linux/java_tools/java_compiler.jar' '--patch-module=jdk.compiler=external/remote_java_tools_linux/java_tools/jdk_compiler.jar' '--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED' '--add-exports=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED' '--add-exports=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED' '--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED' '--add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED' '--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED' '--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED' '--add-opens=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED' '--add-opens=java.base/java.nio=ALL-UNNAMED' '--add-opens=java.base/java.lang=ALL-UNNAMED' -jar external/remote_java_tools_linux/java_tools/turbine_direct_binary_deploy.jar --output bazel-out/k8-fastbuild/bin/examples/java-native/src/main/java/com/example/myproject/libhello-lib-hjar.jar --output_deps bazel-out/k8-fastbuild/bin/examples/java-native/src/main/java/com/example/myproject/libhello-lib-hjar.jdeps --bootclasspath bazel-out/k8-fastbuild/bin/external/bazel_tools/tools/jdk/platformclasspath.jar --sources examples/java-native/src/main/java/com/example/myproject/Greeter.java --javacopts -source 8 -target 8 '-XDskipDuplicateBridges=true' '-XDcompilePolicy=simple' -g -parameters -XX:+UseParallelGC -XX:+IgnoreUnrecognizedVMOptions -- --target_label //examples/java-native/src/main/java/com/example/myproject:hello-lib --reduce_classpath_mode NONE)
Execution platform: //:default_host_platform

Use --sandbox_debug to see verbose messages from the sandbox
INFO: Elapsed time: 1.905s, Critical Path: 1.59s
INFO: 11 processes: 6 internal, 5 linux-sandbox.
FAILED: Build did NOT complete successfully
//examples/java-native/src/test/java/com/example/myproject:hello FAILED TO BUILD

Executed 0 out of 1 test: 1 fails to build.
FAILED: Build did NOT complete successfully
autopkgtest [09:12:34]: test java-1-hello: -----------------------]
autopkgtest [09:12:34]: test java-1-hello:  - - - - - - - - - - results - - - - - - - - - -
java-1-hello         FAIL non-zero exit status 1
...
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


Follow ups