Repository: bazelbuild/bazel
Issue: Print successful test methods when running `bazel test --test_summary=detailed`
Labels: type: feature request
untriaged
team-Core

### Description of the feature request:


Print the results of each test method when running the test module.

e.g. 
zipalign_tests (6 Tests)
[1/6] Align#Unaligned: PASSED (0ms)
[2/6] Align#DoubleAligment: PASSED (0ms)
[3/6] Align#Holes: PASSED (0ms)
[4/6] Align#DifferenteOrders: PASSED (0ms)
[5/6] Align#DirectoryEntryDoNotRequireAlignment: PASSED (0ms)
[6/6] Align#DirectoryEntry: PASSED (0ms)


### What underlying problem are you trying to solve with this feature?


Currently, regardless of any options (--test_summary, --test_output), Bazel's output does not print the passed test methods.



### Which operating system are you running Bazel on?


Linux

### What is the output of `bazel info release`?


release 6.2.1


### If `bazel info release` returns `development version` or `(@non-git)`, tell us how you built Bazel.




### What's the output of `git remote get-url origin; git rev-parse master; git rev-parse HEAD` ?


```text
92619b01fa7bbaf14ea1ceab3c48033e58d83eb3
```


### Have you found anything relevant by searching the web?

No

### Any other information, logs, or outputs that you want to share?

Reproduce steps:
In https://github.com/bazelbuild/examples/tree/main/third-party-dependencies
Run bazel test :gtest_test
```
//:gtest_test                                                            PASSED in 0.0s
```
Cant not show any passed test methods.
expects:
```
//:gtest_test                                                            PASSED in 0.0s  
     [PASSED] SumbNegativeValues  (0.0s)
     [PASSED] SumPositiveValues  (0.0s)
```


Issue comments:
Additional context: this is necessary to help migrate existing AOSP users using a custom `atest` tool which prints the results of all test cases, even for passing tests, to use bazel as the test runner and results reporter. 


@lberki thoughts about printing passing test cases in `--test_summary=detailed`? The flag already prints failing tests, but I think we can expand it to also print passing test cases too.

Something like this:

<img width="717" alt="Screenshot 2023-06-14 at 8 30 22 PM" src="https://github.com/bazelbuild/bazel/assets/347918/a7554f59-97af-4623-9df4-f49f1cfab93e">




That sounds like a very reasonable approach.
@NelsonLi0701 do you want to try implementing this and contribute to Bazel? 
Sounds good to me.
Thanks, assigning it to you. When you have the pull request ready, send it to me and @lberki.

Let me know if you need pointers on setting up the Bazel project for development.
I tried to build bazel but it failed.
Could you help me to see how to fix it?
command: `bazel build //src:bazel`
```
bazel build //src:bazel
Starting local Bazel server and connecting to it...
INFO: Analyzed target //src:bazel (469 packages loaded, 10864 targets configured).
INFO: Found 1 target...
INFO: From Compiling src/google/protobuf/message_lite.cc [for tool]:
In file included from /usr/include/string.h:535,
                 from external/com_google_protobuf/src/google/protobuf/stubs/port.h:39,
                 from external/com_google_protobuf/src/google/protobuf/stubs/common.h:48,
                 from external/com_google_protobuf/src/google/protobuf/message_lite.h:46,
                 from external/com_google_protobuf/src/google/protobuf/message_lite.cc:36:
In function 'void* memcpy(void*, const void*, size_t)',
    inlined from 'uint8_t* google::protobuf::io::EpsCopyOutputStream::WriteRaw(const void*, int, uint8_t*)' at external/com_google_protobuf/src/google/protobuf/io/coded_stream.h:684:16,
    inlined from 'virtual uint8_t* google::protobuf::internal::ImplicitWeakMessage::_InternalSerialize(uint8_t*, google::protobuf::io::EpsCopyOutputStream*) const' at external/com_google_protobuf/src/google/protobuf/implicit_weak_message.h:103:28,
    inlined from 'bool google::protobuf::MessageLite::SerializePartialToZeroCopyStream(google::protobuf::io::ZeroCopyOutputStream*) const' at external/com_google_protobuf/src/google/protobuf/message_lite.cc:411:30:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:33: warning: 'void* __builtin___memcpy_chk(void*, const void*, long unsigned int, long unsigned int)' specified size between 18446744071562067968 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
   29 |   return __builtin___memcpy_chk (__dest, __src, __len,
      |          ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
   30 |                                  __glibc_objsize0 (__dest));
      |                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~
ERROR: /usr/local/google/home/nelsonli/.cache/bazel/_bazel_nelsonli/71aeaef0e77795df4c8339df20bc2a13/external/maven/BUILD:3552:11: Creating compile jar for @maven//:org_tukaani_xz failed: (Aborted): AddJarManifestEntry failed: error executing command (from target @maven//:org_tukaani_xz) bazel-out/k8-opt-exec-EDC14992/bin/external/rules_jvm_external/private/tools/java/com/github/bazelbuild/rules_jvm_external/jar/AddJarManifestEntry --source ... (remaining 6 arguments skipped)

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGBUS (0x7) at pc=0x00007fb964e21a39, pid=2, tid=6
#
# JRE version:  (11.0.15+10) (build )
# Java VM: OpenJDK 64-Bit Server VM (11.0.15+10-LTS, mixed mode, sharing, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# V  [libjvm.so+0xc21a39]  PerfMemory::alloc(unsigned long)+0x59
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /usr/local/google/home/nelsonli/.cache/bazel/_bazel_nelsonli/71aeaef0e77795df4c8339df20bc2a13/sandbox/linux-sandbox/1075/execroot/io_bazel/hs_err_pid2.log
#
#
Target //src:bazel failed to build
Use --verbose_failures to see the command lines of failed build steps.
ERROR: /usr/local/google/home/nelsonli/github_projects/bazel/src/main/java/com/google/devtools/build/lib/bazel/rules/BUILD:24:13 Building src/main/java/com/google/devtools/build/lib/bazel/rules/librules-class.jar (11 source files) and running annotation processors (OptionProcessor) failed: (Aborted): AddJarManifestEntry failed: error executing command (from target @maven//:org_tukaani_xz) bazel-out/k8-opt-exec-EDC14992/bin/external/rules_jvm_external/private/tools/java/com/github/bazelbuild/rules_jvm_external/jar/AddJarManifestEntry --source ... (remaining 6 arguments skipped)

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
INFO: Elapsed time: 57.065s, Critical Path: 19.22s
INFO: 1220 processes: 159 internal, 1009 linux-sandbox, 3 local, 49 worker.
FAILED: Build did NOT complete successfully
```
@meteorcloudy  have you seen this before?
Looks like an issue with JDK17 - passing `export JAVA_HOME=/path/to/jdk11/` works.
This is a known non-deterministic failure of Java compilation with (most) JDKs: https://github.com/bazelbuild/bazel/issues/3236

I will send a PR to flip the flag that fixes this for Bazel.
Thanks, I used JDK11 and the problem be solved.
command:
`export JAVA_HOME=/usr/local/buildtools/java/jdk11/` &&  bazel build //src:bazel
I tried to run the unitest for `TerminalTestResultNotifier`. 
But it failed without any modification.
Did I do something wrong?

command:
export JAVA_HOME=/usr/local/buildtools/java/jdk11/ &&   bazel test `//src/test/java/com/google/devtools/build/lib:runtime-tests` --test_summary=detailed

```
INFO: Analyzed target //src/test/java/com/google/devtools/build/lib:runtime-tests (0 packages loaded, 0 targets configured).
INFO: Found 1 test target...
FAIL: //src/test/java/com/google/devtools/build/lib:runtime-tests (see /usr/local/google/home/nelsonli/.cache/bazel/_bazel_nelsonli/71aeaef0e77795df4c8339df20bc2a13/execroot/io_bazel/bazel-out/k8-fastbuild/testlogs/src/test/java/com/google/devtools/build/lib/runtime-tests/test.log)
Target //src/test/java/com/google/devtools/build/lib:runtime-tests up-to-date:
  bazel-bin/src/test/java/com/google/devtools/build/lib/runtime-tests.jar
  bazel-bin/src/test/java/com/google/devtools/build/lib/runtime-tests
INFO: Elapsed time: 27.970s, Critical Path: 27.43s
INFO: 2 processes: 1 internal, 1 linux-sandbox.
INFO: Build completed, 1 test FAILED, 2 total actions
//src/test/java/com/google/devtools/build/lib:runtime-tests              FAILED in 27.2s
    FAILED  com.google.devtools.build.lib.runtime.ExecutionGraphModuleTest.spawnAndAction_withSameOutputs (0.1s)
    FAILED  com.google.devtools.build.lib.runtime.ExecutionGraphModuleTest.testOneSpawn (0.0s)
    FAILED  com.google.devtools.build.lib.runtime.ExecutionGraphModuleTest.testSpawnWithDiscoverInputs (0.0s)
    FAILED  com.google.devtools.build.lib.runtime.ExecutionGraphModuleTest.multipleSpawnsWithSameOutput_overlapping_ignoresSecondSpawnForDependencies (0.0s)
    FAILED  com.google.devtools.build.lib.runtime.ExecutionGraphModuleTest.multipleSpawnsWithSameOutput_recordsBothSpawnsWithRetry (0.0s)
    FAILED  com.google.devtools.build.lib.runtime.ExecutionGraphModuleTest.actionDepsWithThreeSpawns (0.0s)
    FAILED  com.google.devtools.build.lib.runtime.ExecutionGraphModuleTest.testSpawnWithNullOwnerLabel (0.0s)
    FAILED  com.google.devtools.build.lib.runtime.ExecutionGraphModuleTest.multipleSpawnsWithSameOutput_overlapping_recordsBothSpawnsWithoutRetry[LOCAL_LOCK_FREE_OUTPUT_ENABLED] (0.1s)
    FAILED  com.google.devtools.build.lib.runtime.ExecutionGraphModuleTest.multipleSpawnsWithSameOutput_overlapping_recordsBothSpawnsWithoutRetry[LOCAL_LOCK_FREE_OUTPUT_DISABLED] (0.0s)
    FAILED  com.google.devtools.build.lib.runtime.ExecutionGraphModuleTest.spawnAndAction_withDifferentOutputs (0.0s)
Test cases: finished with 510 passing and 10 failing out of 520 test cases
```
Can you also print the test logs with `--test_output=errors`?
Sure, this is the error message: 

Command: 
export JAVA_HOME=/usr/local/buildtools/java/jdk11/ && bazel test `//src/test/java/com/google/devtools/build/lib:runtime-tests` --test_summary=detailed `--test_output=errors`

Error Message:
```
==================== Test output for //src/test/java/com/google/devtools/build/lib:runtime-tests:
JUnit4 Test Runner
....Jul 18, 2023 7:25:19 AM com.google.devtools.build.lib.util.DebugLoggerConfigurator setupLogging
INFO: Log level: INFO
.......Jul 18, 2023 7:25:19 AM com.google.devtools.build.lib.runtime.BlazeRuntime cleanUpForCrash
INFO: Cleaning up in crash: DetailedExitCode{exitCode=OOM_ERROR, failureDetail=message: "crash oom message"
crash {
  code: CRASH_OOM
}
}
Jul 18, 2023 7:25:19 AM com.google.devtools.build.lib.runtime.BlazeRuntime shutDownModulesOnCrash
INFO: Shutting down modules on crash: [, , DummyMetricsModule]
Jul 18, 2023 7:25:19 AM com.google.devtools.build.lib.runtime.BlazeRuntime shutDownModulesOnCrash
INFO: Shutting down  on crash
Jul 18, 2023 7:25:19 AM com.google.devtools.build.lib.runtime.BlazeRuntime shutDownModulesOnCrash
INFO: Shutting down  on crash
Jul 18, 2023 7:25:19 AM com.google.devtools.build.lib.runtime.BlazeCommandDispatcher exec
INFO: Exit status was DetailedExitCode{exitCode=OOM_ERROR, failureDetail=message: "crash oom message"
crash {
  code: CRASH_OOM
}
}
Jul 18, 2023 7:25:19 AM com.google.devtools.build.lib.runtime.BlazeRuntime shutDownModulesOnCrash
INFO: Shutting down DummyMetricsModule on crash
......Jul 18, 2023 7:25:19 AM com.google.devtools.build.lib.runtime.BlazeCommandDispatcher exec
INFO: Exit status was DetailedExitCode{exitCode=BUILD_FAILURE, failureDetail=spawn {
  code: NON_ZERO_EXIT
}
}
...Jul 18, 2023 7:25:19 AM com.google.devtools.build.lib.runtime.BlazeCommandDispatcher exec
INFO: Exit status was DetailedExitCode{exitCode=BUILD_FAILURE, failureDetail=spawn {
  code: NON_ZERO_EXIT
}
}
..Jul 18, 2023 7:25:19 AM com.google.devtools.build.lib.runtime.BlazeCommandDispatcher execExclusively
SEVERE: Shutting down due to exception
java.lang.OutOfMemoryError: oom message
	at com.google.devtools.build.lib.runtime.BlazeCommandDispatcherTest.lambda$testExecReportsHardCrashStatus$0(BlazeCommandDispatcherTest.java:256)
	at com.google.devtools.build.lib.runtime.BlazeCommandDispatcherTest$CommandCompleteRecordingCommand.exec(BlazeCommandDispatcherTest.java:727)
	at com.google.devtools.build.lib.runtime.BlazeCommandDispatcher.execExclusively(BlazeCommandDispatcher.java:650)
	at com.google.devtools.build.lib.runtime.BlazeCommandDispatcher.exec(BlazeCommandDispatcher.java:245)
	at com.google.devtools.build.lib.runtime.BlazeCommandDispatcher.exec(BlazeCommandDispatcher.java:290)
	at com.google.devtools.build.lib.runtime.BlazeCommandDispatcherTest.testExecReportsHardCrashStatus(BlazeCommandDispatcherTest.java:263)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
	at org.junit.runners.Suite.runChild(Suite.java:128)
	at org.junit.runners.Suite.runChild(Suite.java:27)
	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
	at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:108)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
	at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:116)
	at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:145)
	at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:76)

Jul 18, 2023 7:25:19 AM com.google.devtools.build.lib.bugreport.BugReport handleCrash
SEVERE: Handling crash with CrashContext{haltJvm=false, args=[testcommand], sendBugReport=true, extraOomInfo=, eventHandler=com.google.devtools.build.lib.events.Reporter@27ea7c8f}
java.lang.OutOfMemoryError: oom message
	at com.google.devtools.build.lib.runtime.BlazeCommandDispatcherTest.lambda$testExecReportsHardCrashStatus$0(BlazeCommandDispatcherTest.java:256)
	at com.google.devtools.build.lib.runtime.BlazeCommandDispatcherTest$CommandCompleteRecordingCommand.exec(BlazeCommandDispatcherTest.java:727)
	at com.google.devtools.build.lib.runtime.BlazeCommandDispatcher.execExclusively(BlazeCommandDispatcher.java:650)
	at com.google.devtools.build.lib.runtime.BlazeCommandDispatcher.exec(BlazeCommandDispatcher.java:245)
	at com.google.devtools.build.lib.runtime.BlazeCommandDispatcher.exec(BlazeCommandDispatcher.java:290)
	at com.google.devtools.build.lib.runtime.BlazeCommandDispatcherTest.testExecReportsHardCrashStatus(BlazeCommandDispatcherTest.java:263)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
	at org.junit.runners.Suite.runChild(Suite.java:128)
	at org.junit.runners.Suite.runChild(Suite.java:27)
	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
	at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:108)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
	at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:116)
	at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:145)
	at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:76)

Jul 18, 2023 7:25:19 AM com.google.devtools.build.lib.bugreport.BugReport emitExitData
WARNING: Did not write failure detail file; check stderr for errors.
Jul 18, 2023 7:25:19 AM com.google.devtools.build.lib.runtime.BlazeRuntime cleanUpForCrash
INFO: Cleaning up in crash: DetailedExitCode{exitCode=OOM_ERROR, failureDetail=message: "Crashed: (java.lang.OutOfMemoryError) oom message"
crash {
  code: CRASH_OOM
  causes {
    throwable_class: "java.lang.OutOfMemoryError"
    message: "oom message"
    stack_trace: "com.google.devtools.build.lib.runtime.BlazeCommandDispatcherTest.lambda$testExecReportsHardCrashStatus$0(BlazeCommandDispatcherTest.java:256)"
    stack_trace: "com.google.devtools.build.lib.runtime.BlazeCommandDispatcherTest$CommandCompleteRecordingCommand.exec(BlazeCommandDispatcherTest.java:727)"
    stack_trace: "com.google.devtools.build.lib.runtime.BlazeCommandDispatcher.execExclusively(BlazeCommandDispatcher.java:650)"
    stack_trace: "com.google.devtools.build.lib.runtime.BlazeCommandDispatcher.exec(BlazeCommandDispatcher.java:245)"
    stack_trace: "com.google.devtools.build.lib.runtime.BlazeCommandDispatcher.exec(BlazeCommandDispatcher.java:290)"
    stack_trace: "com.google.devtools.build.lib.runtime.BlazeCommandDispatcherTest.testExecReportsHardCrashStatus(BlazeCommandDispatcherTest.java:263)"
    stack_trace: "java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)"
    stack_trace: "java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)"
    stack_trace: "java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)"
    stack_trace: "java.base/java.lang.reflect.Method.invoke(Method.java:566)"
    stack_trace: "org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)"
    stack_trace: "org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)"
    stack_trace: "org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)"
    stack_trace: "org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)"
    stack_trace: "org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)"
    stack_trace: "org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)"
    stack_trace: "org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)"
    stack_trace: "org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)"
    stack_trace: "org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)"
    stack_trace: "org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)"
    stack_trace: "org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)"
    stack_trace: "org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)"
    stack_trace: "org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)"
    stack_trace: "org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)"
    stack_trace: "org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)"
    stack_trace: "org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)"
    stack_trace: "org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)"
    stack_trace: "org.junit.runners.ParentRunner.run(ParentRunner.java:413)"
    stack_trace: "org.junit.runners.Suite.runChild(Suite.java:128)"
    stack_trace: "org.junit.runners.Suite.runChild(Suite.java:27)"
    stack_trace: "org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)"
    stack_trace: "org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)"
    stack_trace: "org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)"
    stack_trace: "org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)"
    stack_trace: "org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)"
    stack_trace: "org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)"
    stack_trace: "org.junit.runners.ParentRunner.run(ParentRunner.java:413)"
    stack_trace: "com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:108)"
    stack_trace: "org.junit.runner.JUnitCore.run(JUnitCore.java:137)"
    stack_trace: "org.junit.runner.JUnitCore.run(JUnitCore.java:115)"
    stack_trace: "com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:116)"
    stack_trace: "com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:145)"
    stack_trace: "com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:76)"
  }
}
}
Jul 18, 2023 7:25:19 AM com.google.devtools.build.lib.runtime.BlazeRuntime shutDownModulesOnCrash
INFO: Shutting down modules on crash: [, DummyMetricsModule]
Jul 18, 2023 7:25:19 AM com.google.devtools.build.lib.runtime.BlazeRuntime shutDownModulesOnCrash
INFO: Shutting down  on crash
Jul 18, 2023 7:25:19 AM com.google.devtools.build.lib.runtime.BlazeRuntime shutDownModulesOnCrash
INFO: Shutting down DummyMetricsModule on crash
Jul 18, 2023 7:25:19 AM com.google.devtools.build.lib.bugreport.BugReport emitExitData
INFO: Cleaned up runtime.
Jul 18, 2023 7:25:19 AM com.google.devtools.build.lib.runtime.BlazeCommandDispatcher exec
INFO: Exit status was DetailedExitCode{exitCode=OOM_ERROR, failureDetail=message: "Crashed: (java.lang.OutOfMemoryError) oom message"
crash {
  code: CRASH_OOM
  causes {
    throwable_class: "java.lang.OutOfMemoryError"
    message: "oom message"
    stack_trace: "com.google.devtools.build.lib.runtime.BlazeCommandDispatcherTest.lambda$testExecReportsHardCrashStatus$0(BlazeCommandDispatcherTest.java:256)"
    stack_trace: "com.google.devtools.build.lib.runtime.BlazeCommandDispatcherTest$CommandCompleteRecordingCommand.exec(BlazeCommandDispatcherTest.java:727)"
    stack_trace: "com.google.devtools.build.lib.runtime.BlazeCommandDispatcher.execExclusively(BlazeCommandDispatcher.java:650)"
    stack_trace: "com.google.devtools.build.lib.runtime.BlazeCommandDispatcher.exec(BlazeCommandDispatcher.java:245)"
    stack_trace: "com.google.devtools.build.lib.runtime.BlazeCommandDispatcher.exec(BlazeCommandDispatcher.java:290)"
    stack_trace: "com.google.devtools.build.lib.runtime.BlazeCommandDispatcherTest.testExecReportsHardCrashStatus(BlazeCommandDispatcherTest.java:263)"
    stack_trace: "java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)"
    stack_trace: "java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)"
    stack_trace: "java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)"
    stack_trace: "java.base/java.lang.reflect.Method.invoke(Method.java:566)"
    stack_trace: "org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)"
    stack_trace: "org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)"
    stack_trace: "org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)"
    stack_trace: "org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)"
    stack_trace: "org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)"
    stack_trace: "org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)"
    stack_trace: "org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)"
    stack_trace: "org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)"
    stack_trace: "org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)"
    stack_trace: "org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)"
    stack_trace: "org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)"
    stack_trace: "org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)"
    stack_trace: "org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)"
    stack_trace: "org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)"
    stack_trace: "org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)"
    stack_trace: "org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)"
    stack_trace: "org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)"
    stack_trace: "org.junit.runners.ParentRunner.run(ParentRunner.java:413)"
    stack_trace: "org.junit.runners.Suite.runChild(Suite.java:128)"
    stack_trace: "org.junit.runners.Suite.runChild(Suite.java:27)"
    stack_trace: "org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)"
    stack_trace: "org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)"
    stack_trace: "org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)"
    stack_trace: "org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)"
    stack_trace: "org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)"
    stack_trace: "org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)"
    stack_trace: "org.junit.runners.ParentRunner.run(ParentRunner.java:413)"
    stack_trace: "com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:108)"
    stack_trace: "org.junit.runner.JUnitCore.run(JUnitCore.java:137)"
    stack_trace: "org.junit.runner.JUnitCore.run(JUnitCore.java:115)"
    stack_trace: "com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:116)"
    stack_trace: "com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:145)"
    stack_trace: "com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:76)"
  }
}
}
.Jul 18, 2023 7:25:19 AM com.google.devtools.build.lib.runtime.BlazeRuntime afterCommand
WARNING: While running afterCommand() on 
com.google.devtools.build.lib.util.AbruptExitException: afterCommandError
	at com.google.devtools.build.lib.runtime.BlazeCommandDispatcherTest.testAfterCommandCanModifyExitStatus(BlazeCommandDispatcherTest.java:412)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
	at org.junit.runners.Suite.runChild(Suite.java:128)
	at org.junit.runners.Suite.runChild(Suite.java:27)
	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
	at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:108)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
	at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:116)
	at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:145)
	at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:76)

Jul 18, 2023 7:25:19 AM com.google.devtools.build.lib.runtime.BlazeCommandDispatcher exec
INFO: Exit status was DetailedExitCode{exitCode=PUBLISH_ERROR, failureDetail=message: "afterCommandError"
build_progress {
  code: BES_UPLOAD_LOCAL_FILE_ERROR
}
}
...Jul 18, 2023 7:25:20 AM com.google.devtools.build.lib.runtime.BlazeCommandDispatcher exec
INFO: Exit status was DetailedExitCode{exitCode=BUILD_FAILURE, failureDetail=spawn {
  code: NON_ZERO_EXIT
}
}
.Jul 18, 2023 7:25:20 AM com.google.devtools.build.lib.runtime.BlazeOptionHandler parseOptions
INFO: Error parsing options
com.google.devtools.common.options.OptionsParsingException: Unrecognized option: --not_a_valid_option
	at com.google.devtools.common.options.OptionsParserImpl.identifyOptionAndPossibleArgument(OptionsParserImpl.java:795)
	at com.google.devtools.common.options.OptionsParserImpl.parse(OptionsParserImpl.java:536)
	at com.google.devtools.common.options.OptionsParserImpl.parse(OptionsParserImpl.java:457)
	at com.google.devtools.common.options.OptionsParser.parseWithSourceFunction(OptionsParser.java:746)
	at com.google.devtools.build.lib.runtime.BlazeOptionHandler.parseArgsAndConfigs(BlazeOptionHandler.java:304)
	at com.google.devtools.build.lib.runtime.BlazeOptionHandler.parseOptions(BlazeOptionHandler.java:450)
	at com.google.devtools.build.lib.runtime.BlazeCommandDispatcher.execExclusively(BlazeCommandDispatcher.java:327)
	at com.google.devtools.build.lib.runtime.BlazeCommandDispatcher.exec(BlazeCommandDispatcher.java:245)
	at com.google.devtools.build.lib.runtime.BlazeCommandDispatcher.exec(BlazeCommandDispatcher.java:290)
	at com.google.devtools.build.lib.runtime.BlazeCommandDispatcherTest.testIllegalOptions(BlazeCommandDispatcherTest.java:575)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
	at org.junit.runners.Suite.runChild(Suite.java:128)
	at org.junit.runners.Suite.runChild(Suite.java:27)
	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
	at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:108)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
	at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:116)
	at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:145)
	at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:76)

Jul 18, 2023 7:25:20 AM com.google.devtools.build.lib.runtime.BlazeCommandDispatcher execExclusively
WARNING: afterCommand yielded different result: BlazeCommandResult{exitCode=COMMAND_LINE_ERROR, failureDetail=message: "Error parsing options: Unrecognized option: --not_a_valid_option"
command {
  code: OPTIONS_PARSE_FAILURE
}
, execDescription=null, shutdown=false} BlazeCommandResult{exitCode=COMMAND_LINE_ERROR, failureDetail=message: "Error parsing options: Unrecognized option: --not_a_valid_option"
command {
  code: OPTIONS_PARSE_FAILURE
}
, execDescription=null, shutdown=false}
Jul 18, 2023 7:25:20 AM com.google.devtools.build.lib.runtime.BlazeCommandDispatcher exec
INFO: Exit status was DetailedExitCode{exitCode=COMMAND_LINE_ERROR, failureDetail=message: "Error parsing options: Unrecognized option: --not_a_valid_option"
command {
  code: OPTIONS_PARSE_FAILURE
}
}
..Jul 18, 2023 7:25:20 AM com.google.devtools.build.lib.runtime.BlazeOptionHandler parseOptions
INFO: Error parsing options
com.google.devtools.common.options.OptionsParsingException: Unrecognized option: --invalid
	at com.google.devtools.common.options.OptionsParserImpl.identifyOptionAndPossibleArgument(OptionsParserImpl.java:795)
	at com.google.devtools.common.options.OptionsParserImpl.parse(OptionsParserImpl.java:536)
	at com.google.devtools.common.options.OptionsParserImpl.parse(OptionsParserImpl.java:457)
	at com.google.devtools.common.options.OptionsParser.parseWithSourceFunction(OptionsParser.java:746)
	at com.google.devtools.build.lib.runtime.BlazeOptionHandler.parseArgsAndConfigs(BlazeOptionHandler.java:304)
	at com.google.devtools.build.lib.runtime.BlazeOptionHandler.parseOptions(BlazeOptionHandler.java:450)
	at com.google.devtools.build.lib.runtime.BlazeCommandDispatcher.execExclusively(BlazeCommandDispatcher.java:327)
	at com.google.devtools.build.lib.runtime.BlazeCommandDispatcher.exec(BlazeCommandDispatcher.java:245)
	at com.google.devtools.build.lib.runtime.BlazeCommandDispatcher.exec(BlazeCommandDispatcher.java:290)
	at com.google.devtools.build.lib.runtime.BlazeCommandDispatcherTest.testDetectsInvalidCommandLineOptions(BlazeCommandDispatcherTest.java:507)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
	at org.junit.runners.Suite.runChild(Suite.java:128)
	at org.junit.runners.Suite.runChild(Suite.java:27)
	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
	at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:108)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
	at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:116)
	at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:145)
	at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:76)

Jul 18, 2023 7:25:20 AM com.google.devtools.build.lib.runtime.BlazeCommandDispatcher execExclusively
WARNING: afterCommand yielded different result: BlazeCommandResult{exitCode=COMMAND_LINE_ERROR, failureDetail=message: "Error parsing options: Unrecognized option: --invalid"
command {
  code: OPTIONS_PARSE_FAILURE
}
, execDescription=null, shutdown=false} BlazeCommandResult{exitCode=COMMAND_LINE_ERROR, failureDetail=message: "Error parsing options: Unrecognized option: --invalid"
command {
  code: OPTIONS_PARSE_FAILURE
}
, execDescription=null, shutdown=false}
Jul 18, 2023 7:25:20 AM com.google.devtools.build.lib.runtime.BlazeCommandDispatcher exec
INFO: Exit status was DetailedExitCode{exitCode=COMMAND_LINE_ERROR, failureDetail=message: "Error parsing options: Unrecognized option: --invalid"
command {
  code: OPTIONS_PARSE_FAILURE
}
}
......Jul 18, 2023 7:25:20 AM com.google.devtools.build.lib.runtime.BlazeOptionHandler parseOptions
INFO: Error parsing options
com.google.devtools.common.options.OptionsParsingException: In file /somewhere/.blazerc, the definition of config conf expands to another config that either has no value or is not in the form --config=value. For recursive config definitions, please do not provide the value in a separate token, such as in the form '--config value'.
	at com.google.devtools.build.lib.runtime.ConfigExpander.getExpansion(ConfigExpander.java:246)
	at com.google.devtools.build.lib.runtime.ConfigExpander.getExpansion(ConfigExpander.java:182)
	at com.google.devtools.build.lib.runtime.ConfigExpander.expandConfigOptions(ConfigExpander.java:112)
	at com.google.devtools.build.lib.runtime.BlazeOptionHandler.expandConfigOptions(BlazeOptionHandler.java:520)
	at com.google.devtools.build.lib.runtime.BlazeOptionHandler.parseArgsAndConfigs(BlazeOptionHandler.java:321)
	at com.google.devtools.build.lib.runtime.BlazeOptionHandler.parseOptions(BlazeOptionHandler.java:450)
	at com.google.devtools.build.lib.runtime.BlazeOptionHandlerTest.testParseOptions_recursiveConfigWithDifferentTokens(BlazeOptionHandlerTest.java:721)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
	at org.junit.runners.Suite.runChild(Suite.java:128)
	at org.junit.runners.Suite.runChild(Suite.java:27)
	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
	at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:108)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
	at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:116)
	at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:145)
	at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:76)

..........................Jul 18, 2023 7:25:20 AM com.google.devtools.build.lib.runtime.BlazeOptionHandler parseOptions
INFO: Error parsing options
com.google.devtools.common.options.OptionsParsingException: Config expansion has a cycle: config value foo expands to itself, see inheritance chain [foo]
	at com.google.devtools.build.lib.runtime.ConfigExpander.getExpansion(ConfigExpander.java:258)
	at com.google.devtools.build.lib.runtime.ConfigExpander.getExpansion(ConfigExpander.java:182)
	at com.google.devtools.build.lib.runtime.ConfigExpander.expandConfigOptions(ConfigExpander.java:112)
	at com.google.devtools.build.lib.runtime.BlazeOptionHandler.expandConfigOptions(BlazeOptionHandler.java:520)
	at com.google.devtools.build.lib.runtime.BlazeOptionHandler.parseArgsAndConfigs(BlazeOptionHandler.java:321)
	at com.google.devtools.build.lib.runtime.BlazeOptionHandler.parseOptions(BlazeOptionHandler.java:450)
	at com.google.devtools.build.lib.runtime.BlazeOptionHandlerTest.testParseOptions_configCycleLength1(BlazeOptionHandlerTest.java:884)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
	at org.junit.runners.Suite.runChild(Suite.java:128)
	at org.junit.runners.Suite.runChild(Suite.java:27)
	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
	at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:108)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
	at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:116)
	at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:145)
	at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:76)

.Jul 18, 2023 7:25:20 AM com.google.devtools.build.lib.runtime.BlazeOptionHandler parseOptions
INFO: Error parsing options
com.google.devtools.common.options.OptionsParsingException: Config expansion has a cycle: config value foo expands to itself, see inheritance chain [foo, bar]
	at com.google.devtools.build.lib.runtime.ConfigExpander.getExpansion(ConfigExpander.java:258)
	at com.google.devtools.build.lib.runtime.ConfigExpander.getExpansion(ConfigExpander.java:269)
	at com.google.devtools.build.lib.runtime.ConfigExpander.getExpansion(ConfigExpander.java:182)
	at com.google.devtools.build.lib.runtime.ConfigExpander.expandConfigOptions(ConfigExpander.java:112)
	at com.google.devtools.build.lib.runtime.BlazeOptionHandler.expandConfigOptions(BlazeOptionHandler.java:520)
	at com.google.devtools.build.lib.runtime.BlazeOptionHandler.parseArgsAndConfigs(BlazeOptionHandler.java:321)
	at com.google.devtools.build.lib.runtime.BlazeOptionHandler.parseOptions(BlazeOptionHandler.java:450)
	at com.google.devtools.build.lib.runtime.BlazeOptionHandlerTest.testParseOptions_configCycleLength2(BlazeOptionHandlerTest.java:903)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
	at org.junit.runners.Suite.runChild(Suite.java:128)
	at org.junit.runners.Suite.runChild(Suite.java:27)
	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
	at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:108)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
	at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:116)
	at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:145)
	at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:76)

..............OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended
..Jul 18, 2023 7:25:22 AM com.google.devtools.build.lib.runtime.BlazeRuntime cleanUpForCrash
INFO: Cleaning up in crash: DetailedExitCode{exitCode=OOM_ERROR, failureDetail=crash {
  code: CRASH_OOM
}
}
Jul 18, 2023 7:25:22 AM com.google.devtools.build.lib.runtime.BlazeRuntime shutDownModulesOnCrash
INFO: Shutting down modules on crash: [DummyMetricsModule]
Jul 18, 2023 7:25:22 AM com.google.devtools.build.lib.runtime.BlazeRuntime shutDownModulesOnCrash
INFO: Shutting down DummyMetricsModule on crash
.......................................................Jul 18, 2023 7:25:23 AM com.google.devtools.build.lib.runtime.BlazeCommandDispatcher exec
INFO: Exit status was DetailedExitCode{exitCode=NO_TESTS_FOUND, failureDetail=test_command {
  code: NO_TEST_TARGETS
}
}
.Jul 18, 2023 7:25:23 AM com.google.devtools.build.lib.runtime.BlazeCommandDispatcher exec
INFO: Exit status was DetailedExitCode{exitCode=NO_TESTS_FOUND, failureDetail=test_command {
  code: NO_TEST_TARGETS
}
}
...Jul 18, 2023 7:25:23 AM com.google.devtools.build.lib.runtime.BlazeCommandDispatcher exec
INFO: Exit status was DetailedExitCode{exitCode=INTERRUPTED, failureDetail=message: "unexpected interruption"
interrupted {
}
}
...Jul 18, 2023 7:25:23 AM com.google.devtools.build.lib.runtime.BlazeCommandDispatcher exec
INFO: Exit status was DetailedExitCode{exitCode=INTERRUPTED, failureDetail=message: "unexpected interruption"
interrupted {
}
}
.Jul 18, 2023 7:25:23 AM com.google.devtools.build.lib.runtime.BlazeCommandDispatcher exec
INFO: Exit status was DetailedExitCode{exitCode=BLAZE_INTERNAL_ERROR, failureDetail=message: "crash"
crash {
}
}
..........................Exception in thread "action-graph-writer" java.lang.UnsatisfiedLinkError: /usr/local/google/home/nelsonli/.cache/bazel/_bazel_nelsonli/71aeaef0e77795df4c8339df20bc2a13/sandbox/linux-sandbox/93/execroot/io_bazel/_tmp/53a941e5e8d4dac3443b57eddd867750/libzstd-jni-1.5.2-33248079624470795952.so: libstdc++.so.6: cannot open shared object file: No such file or directory
no zstd-jni-1.5.2-3 in java.library.path: [/usr/java/packages/lib, /usr/lib64, /lib64, /lib, /usr/lib]
Unsupported OS/arch, cannot find /linux/amd64/libzstd-jni-1.5.2-3.so or load zstd-jni-1.5.2-3 from system libraries. Please try building from source the jar or providing libzstd-jni-1.5.2-3 in your system.
	at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2675)
	at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:831)
	at java.base/java.lang.System.loadLibrary(System.java:1876)
	at com.github.luben.zstd.util.Native.load(Native.java:124)
	at com.github.luben.zstd.util.Native.load(Native.java:55)
	at com.github.luben.zstd.ZstdOutputStreamNoFinalizer.<clinit>(ZstdOutputStreamNoFinalizer.java:18)
	at com.github.luben.zstd.ZstdOutputStream.<init>(ZstdOutputStream.java:75)
	at com.github.luben.zstd.ZstdOutputStream.<init>(ZstdOutputStream.java:55)
	at com.google.devtools.build.lib.runtime.ExecutionGraphModule$ActionDumpWriter.createCompressingOutputStream(ExecutionGraphModule.java:774)
	at com.google.devtools.build.lib.runtime.ExecutionGraphModule$ActionDumpWriter.run(ExecutionGraphModule.java:787)
	at java.base/java.lang.Thread.run(Thread.java:830)
E.Exception in thread "action-graph-writer" java.lang.NoClassDefFoundError: Could not initialize class com.github.luben.zstd.ZstdOutputStreamNoFinalizer
	at com.github.luben.zstd.ZstdOutputStream.<init>(ZstdOutputStream.java:75)
	at com.github.luben.zstd.ZstdOutputStream.<init>(ZstdOutputStream.java:55)
	at com.google.devtools.build.lib.runtime.ExecutionGraphModuleTest$FailingOutputStreamFactory$1$1.<init>(ExecutionGraphModuleTest.java:272)
	at com.google.devtools.build.lib.runtime.ExecutionGraphModuleTest$FailingOutputStreamFactory$1.get(ExecutionGraphModuleTest.java:272)
	at com.google.devtools.build.lib.runtime.ExecutionGraphModuleTest$1.createCompressingOutputStream(ExecutionGraphModuleTest.java:315)
	at com.google.devtools.build.lib.runtime.ExecutionGraphModule$ActionDumpWriter.run(ExecutionGraphModule.java:787)
	at java.base/java.lang.Thread.run(Thread.java:830)
.Exception in thread "action-graph-writer" java.lang.NoClassDefFoundError: Could not initialize class com.github.luben.zstd.ZstdOutputStreamNoFinalizer
	at com.github.luben.zstd.ZstdOutputStream.<init>(ZstdOutputStream.java:75)
	at com.github.luben.zstd.ZstdOutputStream.<init>(ZstdOutputStream.java:55)
	at com.google.devtools.build.lib.runtime.ExecutionGraphModuleTest$FailingOutputStreamFactory$2$1.<init>(ExecutionGraphModuleTest.java:284)
	at com.google.devtools.build.lib.runtime.ExecutionGraphModuleTest$FailingOutputStreamFactory$2.get(ExecutionGraphModuleTest.java:284)
	at com.google.devtools.build.lib.runtime.ExecutionGraphModuleTest$1.createCompressingOutputStream(ExecutionGraphModuleTest.java:315)
	at com.google.devtools.build.lib.runtime.ExecutionGraphModule$ActionDumpWriter.run(ExecutionGraphModule.java:787)
	at java.base/java.lang.Thread.run(Thread.java:830)
.Exception in thread "action-graph-writer" java.lang.NoClassDefFoundError: Could not initialize class com.github.luben.zstd.ZstdOutputStreamNoFinalizer
	at com.github.luben.zstd.ZstdOutputStream.<init>(ZstdOutputStream.java:75)
	at com.github.luben.zstd.ZstdOutputStream.<init>(ZstdOutputStream.java:55)
	at com.google.devtools.build.lib.runtime.ExecutionGraphModule$ActionDumpWriter.createCompressingOutputStream(ExecutionGraphModule.java:774)
	at com.google.devtools.build.lib.runtime.ExecutionGraphModule$ActionDumpWriter.run(ExecutionGraphModule.java:787)
	at java.base/java.lang.Thread.run(Thread.java:830)
E.Exception in thread "action-graph-writer" java.lang.NoClassDefFoundError: Could not initialize class com.github.luben.zstd.ZstdOutputStreamNoFinalizer
	at com.github.luben.zstd.ZstdOutputStream.<init>(ZstdOutputStream.java:75)
	at com.github.luben.zstd.ZstdOutputStream.<init>(ZstdOutputStream.java:55)
	at com.google.devtools.build.lib.runtime.ExecutionGraphModule$ActionDumpWriter.createCompressingOutputStream(ExecutionGraphModule.java:774)
	at com.google.devtools.build.lib.runtime.ExecutionGraphModule$ActionDumpWriter.run(ExecutionGraphModule.java:787)
	at java.base/java.lang.Thread.run(Thread.java:830)
E.Exception in thread "action-graph-writer" java.lang.NoClassDefFoundError: Could not initialize class com.github.luben.zstd.ZstdOutputStreamNoFinalizer
	at com.github.luben.zstd.ZstdOutputStream.<init>(ZstdOutputStream.java:75)
	at com.github.luben.zstd.ZstdOutputStream.<init>(ZstdOutputStream.java:55)
	at com.google.devtools.build.lib.runtime.ExecutionGraphModule$ActionDumpWriter.createCompressingOutputStream(ExecutionGraphModule.java:774)
	at com.google.devtools.build.lib.runtime.ExecutionGraphModule$ActionDumpWriter.run(ExecutionGraphModule.java:787)
	at java.base/java.lang.Thread.run(Thread.java:830)
E.Exception in thread "action-graph-writer" java.lang.NoClassDefFoundError: Could not initialize class com.github.luben.zstd.ZstdOutputStreamNoFinalizer
	at com.github.luben.zstd.ZstdOutputStream.<init>(ZstdOutputStream.java:75)
	at com.github.luben.zstd.ZstdOutputStream.<init>(ZstdOutputStream.java:55)
	at com.google.devtools.build.lib.runtime.ExecutionGraphModule$ActionDumpWriter.createCompressingOutputStream(ExecutionGraphModule.java:774)
	at com.google.devtools.build.lib.runtime.ExecutionGraphModule$ActionDumpWriter.run(ExecutionGraphModule.java:787)
	at java.base/java.lang.Thread.run(Thread.java:830)
E.Exception in thread "action-graph-writer" java.lang.NoClassDefFoundError: Could not initialize class com.github.luben.zstd.ZstdOutputStreamNoFinalizer
	at com.github.luben.zstd.ZstdOutputStream.<init>(ZstdOutputStream.java:75)
	at com.github.luben.zstd.ZstdOutputStream.<init>(ZstdOutputStream.java:55)
	at com.google.devtools.build.lib.runtime.ExecutionGraphModule$ActionDumpWriter.createCompressingOutputStream(ExecutionGraphModule.java:774)
	at com.google.devtools.build.lib.runtime.ExecutionGraphModule$ActionDumpWriter.run(ExecutionGraphModule.java:787)
	at java.base/java.lang.Thread.run(Thread.java:830)
E.Exception in thread "action-graph-writer" java.lang.NoClassDefFoundError: Could not initialize class com.github.luben.zstd.ZstdOutputStreamNoFinalizer
	at com.github.luben.zstd.ZstdOutputStream.<init>(ZstdOutputStream.java:75)
	at com.github.luben.zstd.ZstdOutputStream.<init>(ZstdOutputStream.java:55)
	at com.google.devtools.build.lib.runtime.ExecutionGraphModule$ActionDumpWriter.createCompressingOutputStream(ExecutionGraphModule.java:774)
	at com.google.devtools.build.lib.runtime.ExecutionGraphModule$ActionDumpWriter.run(ExecutionGraphModule.java:787)
	at java.base/java.lang.Thread.run(Thread.java:830)
E..Exception in thread "action-graph-writer" java.lang.NoClassDefFoundError: Could not initialize class com.github.luben.zstd.ZstdOutputStreamNoFinalizer
	at com.github.luben.zstd.ZstdOutputStream.<init>(ZstdOutputStream.java:75)
	at com.github.luben.zstd.ZstdOutputStream.<init>(ZstdOutputStream.java:55)
	at com.google.devtools.build.lib.runtime.ExecutionGraphModule$ActionDumpWriter.createCompressingOutputStream(ExecutionGraphModule.java:774)
	at com.google.devtools.build.lib.runtime.ExecutionGraphModule$ActionDumpWriter.run(ExecutionGraphModule.java:787)
	at java.base/java.lang.Thread.run(Thread.java:830)
E.Exception in thread "action-graph-writer" java.lang.NoClassDefFoundError: Could not initialize class com.github.luben.zstd.ZstdOutputStreamNoFinalizer
	at com.github.luben.zstd.ZstdOutputStream.<init>(ZstdOutputStream.java:75)
	at com.github.luben.zstd.ZstdOutputStream.<init>(ZstdOutputStream.java:55)
	at com.google.devtools.build.lib.runtime.ExecutionGraphModule$ActionDumpWriter.createCompressingOutputStream(ExecutionGraphModule.java:774)
	at com.google.devtools.build.lib.runtime.ExecutionGraphModule$ActionDumpWriter.run(ExecutionGraphModule.java:787)
	at java.base/java.lang.Thread.run(Thread.java:830)
E.Exception in thread "action-graph-writer" java.lang.NoClassDefFoundError: Could not initialize class com.github.luben.zstd.ZstdOutputStreamNoFinalizer
	at com.github.luben.zstd.ZstdOutputStream.<init>(ZstdOutputStream.java:75)
	at com.github.luben.zstd.ZstdOutputStream.<init>(ZstdOutputStream.java:55)
	at com.google.devtools.build.lib.runtime.ExecutionGraphModule$ActionDumpWriter.createCompressingOutputStream(ExecutionGraphModule.java:774)
	at com.google.devtools.build.lib.runtime.ExecutionGraphModule$ActionDumpWriter.run(ExecutionGraphModule.java:787)
	at java.base/java.lang.Thread.run(Thread.java:830)
E.Jul 18, 2023 7:25:23 AM com.google.devtools.build.lib.runtime.BlazeOptionHandler parseOptions
INFO: Error parsing options
com.google.devtools.common.options.OptionsParsingException: While parsing option --flag_alias=foo=//bar=7: --flag_alias does not support flag value assignment.
	at com.google.devtools.common.options.ParsedOptionDescription.getConvertedValue(ParsedOptionDescription.java:185)
	at com.google.devtools.common.options.OptionValueDescription$RepeatableOptionValueDescription.addOptionInstance(OptionValueDescription.java:350)
	at com.google.devtools.common.options.OptionsParserImpl.setOptionValue(OptionsParserImpl.java:691)
	at com.google.devtools.common.options.OptionsParserImpl.handleNewParsedOption(OptionsParserImpl.java:651)
	at com.google.devtools.common.options.OptionsParserImpl.parse(OptionsParserImpl.java:548)
	at com.google.devtools.common.options.OptionsParserImpl.parse(OptionsParserImpl.java:457)
	at com.google.devtools.common.options.OptionsParser.parseWithSourceFunction(OptionsParser.java:746)
	at com.google.devtools.build.lib.runtime.BlazeOptionHandler.parseArgsAndConfigs(BlazeOptionHandler.java:304)
	at com.google.devtools.build.lib.runtime.BlazeOptionHandler.parseOptions(BlazeOptionHandler.java:450)
	at com.google.devtools.build.lib.runtime.FlagAliasTest.useAliasWithValueAssignment(FlagAliasTest.java:73)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
	at org.junit.runners.Suite.runChild(Suite.java:128)
	at org.junit.runners.Suite.runChild(Suite.java:27)
	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
	at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:108)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
	at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:116)
	at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:145)
	at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:76)
Caused by: com.google.devtools.common.options.OptionsParsingException: --flag_alias does not support flag value assignment.
	at com.google.devtools.common.options.Converters$FlagAliasConverter.convert(Converters.java:565)
	at com.google.devtools.common.options.Converters$FlagAliasConverter.convert(Converters.java:549)
	at com.google.devtools.common.options.Converter$Contextless.convert(Converter.java:49)
	at com.google.devtools.common.options.ParsedOptionDescription.getConvertedValue(ParsedOptionDescription.java:181)
	... 45 more

...Jul 18, 2023 7:25:23 AM com.google.devtools.build.lib.runtime.BlazeOptionHandler parseOptions
INFO: Error parsing options
com.google.devtools.common.options.OptionsParsingException: Unrecognized option: --foo=7
	at com.google.devtools.common.options.OptionsParserImpl.identifyOptionAndPossibleArgument(OptionsParserImpl.java:795)
	at com.google.devtools.common.options.OptionsParserImpl.parse(OptionsParserImpl.java:536)
	at com.google.devtools.common.options.OptionsParserImpl.parse(OptionsParserImpl.java:457)
	at com.google.devtools.common.options.OptionsParser.parseWithSourceFunction(OptionsParser.java:746)
	at com.google.devtools.build.lib.runtime.BlazeOptionHandler.parseArgsAndConfigs(BlazeOptionHandler.java:304)
	at com.google.devtools.build.lib.runtime.BlazeOptionHandler.parseOptions(BlazeOptionHandler.java:450)
	at com.google.devtools.build.lib.runtime.FlagAliasTest.useAliasBeforeSettingOnCommandLine(FlagAliasTest.java:213)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
	at org.junit.runners.Suite.runChild(Suite.java:128)
	at org.junit.runners.Suite.runChild(Suite.java:27)
	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
	at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:108)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
	at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:116)
	at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:145)
	at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:76)

..Jul 18, 2023 7:25:23 AM com.google.devtools.build.lib.runtime.BlazeOptionHandler parseOptions
INFO: Error parsing options
com.google.devtools.common.options.OptionsParsingException: Unrecognized option: -=
	at com.google.devtools.common.options.OptionsParserImpl.identifyOptionAndPossibleArgument(OptionsParserImpl.java:795)
	at com.google.devtools.common.options.OptionsParserImpl.parse(OptionsParserImpl.java:536)
	at com.google.devtools.common.options.OptionsParserImpl.parse(OptionsParserImpl.java:457)
	at com.google.devtools.common.options.OptionsParser.parseWithSourceFunction(OptionsParser.java:746)
	at com.google.devtools.build.lib.runtime.BlazeOptionHandler.parseArgsAndConfigs(BlazeOptionHandler.java:304)
	at com.google.devtools.build.lib.runtime.BlazeOptionHandler.parseOptions(BlazeOptionHandler.java:450)
	at com.google.devtools.build.lib.runtime.FlagAliasTest.aliasLogicSkipsNonDoubleDashArgs(FlagAliasTest.java:190)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
	at org.junit.runners.Suite.runChild(Suite.java:128)
	at org.junit.runners.Suite.runChild(Suite.java:27)
	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
	at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:108)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
	at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:116)
	at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:145)
	at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:76)

..Jul 18, 2023 7:25:24 AM com.google.devtools.build.lib.runtime.BlazeOptionHandler parseOptions
INFO: Error parsing options
com.google.devtools.common.options.OptionsParsingException: While parsing option --flag_alias=bad$foo=//bar: bad$foo should only consist of word characters to be a valid alias name.
	at com.google.devtools.common.options.ParsedOptionDescription.getConvertedValue(ParsedOptionDescription.java:185)
	at com.google.devtools.common.options.OptionValueDescription$RepeatableOptionValueDescription.addOptionInstance(OptionValueDescription.java:350)
	at com.google.devtools.common.options.OptionsParserImpl.setOptionValue(OptionsParserImpl.java:691)
	at com.google.devtools.common.options.OptionsParserImpl.handleNewParsedOption(OptionsParserImpl.java:651)
	at com.google.devtools.common.options.OptionsParserImpl.parse(OptionsParserImpl.java:548)
	at com.google.devtools.common.options.OptionsParserImpl.parse(OptionsParserImpl.java:457)
	at com.google.devtools.common.options.OptionsParser.parseWithSourceFunction(OptionsParser.java:746)
	at com.google.devtools.build.lib.runtime.BlazeOptionHandler.parseArgsAndConfigs(BlazeOptionHandler.java:304)
	at com.google.devtools.build.lib.runtime.BlazeOptionHandler.parseOptions(BlazeOptionHandler.java:450)
	at com.google.devtools.build.lib.runtime.FlagAliasTest.useAliasWithInvalidName(FlagAliasTest.java:85)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
	at org.junit.runners.Suite.runChild(Suite.java:128)
	at org.junit.runners.Suite.runChild(Suite.java:27)
	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
	at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:108)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
	at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:116)
	at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:145)
	at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:76)
Caused by: com.google.devtools.common.options.OptionsParsingException: bad$foo should only consist of word characters to be a valid alias name.
	at com.google.devtools.common.options.Converters$FlagAliasConverter.convert(Converters.java:560)
	at com.google.devtools.common.options.Converters$FlagAliasConverter.convert(Converters.java:549)
	at com.google.devtools.common.options.Converter$Contextless.convert(Converter.java:49)
	at com.google.devtools.common.options.ParsedOptionDescription.getConvertedValue(ParsedOptionDescription.java:181)
	... 45 more

.Jul 18, 2023 7:25:24 AM com.google.devtools.build.lib.runtime.BlazeOptionHandler parseOptions
INFO: Error parsing options
com.google.devtools.common.options.OptionsParsingException: While parsing option --flag_alias=foo: Variable definitions must be in the form of a 'name=value' assignment
	at com.google.devtools.common.options.ParsedOptionDescription.getConvertedValue(ParsedOptionDescription.java:185)
	at com.google.devtools.common.options.OptionValueDescription$RepeatableOptionValueDescription.addOptionInstance(OptionValueDescription.java:350)
	at com.google.devtools.common.options.OptionsParserImpl.setOptionValue(OptionsParserImpl.java:691)
	at com.google.devtools.common.options.OptionsParserImpl.handleNewParsedOption(OptionsParserImpl.java:651)
	at com.google.devtools.common.options.OptionsParserImpl.parse(OptionsParserImpl.java:548)
	at com.google.devtools.common.options.OptionsParserImpl.parse(OptionsParserImpl.java:457)
	at com.google.devtools.common.options.OptionsParser.parseWithSourceFunction(OptionsParser.java:746)
	at com.google.devtools.build.lib.runtime.BlazeOptionHandler.parseArgsAndConfigs(BlazeOptionHandler.java:304)
	at com.google.devtools.build.lib.runtime.BlazeOptionHandler.parseOptions(BlazeOptionHandler.java:450)
	at com.google.devtools.build.lib.runtime.FlagAliasTest.useAliasWithoutEqualsInValue(FlagAliasTest.java:97)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
	at org.junit.runners.Suite.runChild(Suite.java:128)
	at org.junit.runners.Suite.runChild(Suite.java:27)
	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
	at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:108)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
	at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:116)
	at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:145)
	at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:76)
Caused by: com.google.devtools.common.options.OptionsParsingException: Variable definitions must be in the form of a 'name=value' assignment
	at com.google.devtools.common.options.Converters$AssignmentConverter.convert(Converters.java:513)
	at com.google.devtools.common.options.Converters$FlagAliasConverter.convert(Converters.java:553)
	at com.google.devtools.common.options.Converters$FlagAliasConverter.convert(Converters.java:549)
	at com.google.devtools.common.options.Converter$Contextless.convert(Converter.java:49)
	at com.google.devtools.common.options.ParsedOptionDescription.getConvertedValue(ParsedOptionDescription.java:181)
	... 45 more

..Jul 18, 2023 7:25:24 AM com.google.devtools.build.lib.runtime.BlazeOptionHandler parseOptions
INFO: Error parsing options
com.google.devtools.common.options.OptionsParsingException: Unrecognized option: --nofoo
	at com.google.devtools.common.options.OptionsParserImpl.identifyOptionAndPossibleArgument(OptionsParserImpl.java:795)
	at com.google.devtools.common.options.OptionsParserImpl.parse(OptionsParserImpl.java:536)
	at com.google.devtools.common.options.OptionsParserImpl.parse(OptionsParserImpl.java:457)
	at com.google.devtools.common.options.OptionsParser.parseWithSourceFunction(OptionsParser.java:746)
	at com.google.devtools.build.lib.runtime.BlazeOptionHandler.parseArgsAndConfigs(BlazeOptionHandler.java:304)
	at com.google.devtools.build.lib.runtime.BlazeOptionHandler.parseOptions(BlazeOptionHandler.java:450)
	at com.google.devtools.build.lib.runtime.FlagAliasTest.useAliasWithNoBooleanSyntax(FlagAliasTest.java:130)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
	at org.junit.runners.Suite.runChild(Suite.java:128)
	at org.junit.runners.Suite.runChild(Suite.java:27)
	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
	at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:108)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
	at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:116)
	at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:145)
	at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:76)

..Jul 18, 2023 7:25:24 AM com.google.devtools.build.lib.runtime.BlazeOptionHandler parseOptions
INFO: Error parsing options
com.google.devtools.common.options.OptionsParsingException: While parsing option --flag_alias=foo=bar: --flag_alias only supports Starlark build settings.
	at com.google.devtools.common.options.ParsedOptionDescription.getConvertedValue(ParsedOptionDescription.java:185)
	at com.google.devtools.common.options.OptionValueDescription$RepeatableOptionValueDescription.addOptionInstance(OptionValueDescription.java:350)
	at com.google.devtools.common.options.OptionsParserImpl.setOptionValue(OptionsParserImpl.java:691)
	at com.google.devtools.common.options.OptionsParserImpl.handleNewParsedOption(OptionsParserImpl.java:651)
	at com.google.devtools.common.options.OptionsParserImpl.parse(OptionsParserImpl.java:548)
	at com.google.devtools.common.options.OptionsParserImpl.parse(OptionsParserImpl.java:457)
	at com.google.devtools.common.options.OptionsParser.parseWithSourceFunction(OptionsParser.java:746)
	at com.google.devtools.build.lib.runtime.BlazeOptionHandler.parseArgsAndConfigs(BlazeOptionHandler.java:304)
	at com.google.devtools.build.lib.runtime.BlazeOptionHandler.parseOptions(BlazeOptionHandler.java:450)
	at com.google.devtools.build.lib.runtime.FlagAliasTest.useAliasWithNonStarlarkFlag(FlagAliasTest.java:61)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
	at org.junit.runners.Suite.runChild(Suite.java:128)
	at org.junit.runners.Suite.runChild(Suite.java:27)
	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
	at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:108)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
	at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:116)
	at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:145)
	at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:76)
Caused by: com.google.devtools.common.options.OptionsParsingException: --flag_alias only supports Starlark build settings.
	at com.google.devtools.common.options.Converters$FlagAliasConverter.convert(Converters.java:572)
	at com.google.devtools.common.options.Converters$FlagAliasConverter.convert(Converters.java:549)
	at com.google.devtools.common.options.Converter$Contextless.convert(Converter.java:49)
	at com.google.devtools.common.options.ParsedOptionDescription.getConvertedValue(ParsedOptionDescription.java:181)
	... 45 more

.Jul 18, 2023 7:25:24 AM com.google.devtools.build.lib.runtime.BlazeOptionHandler parseOptions
INFO: Error parsing options
com.google.devtools.common.options.OptionsParsingException: Unrecognized option: --foo=7
	at com.google.devtools.common.options.OptionsParserImpl.identifyOptionAndPossibleArgument(OptionsParserImpl.java:795)
	at com.google.devtools.common.options.OptionsParserImpl.parse(OptionsParserImpl.java:536)
	at com.google.devtools.common.options.OptionsParserImpl.parse(OptionsParserImpl.java:457)
	at com.google.devtools.common.options.OptionsParser.parseWithSourceFunction(OptionsParser.java:746)
	at com.google.devtools.common.options.OptionsParser.parse(OptionsParser.java:712)
	at com.google.devtools.build.lib.runtime.BlazeOptionHandler.parseRcOptions(BlazeOptionHandler.java:253)
	at com.google.devtools.build.lib.runtime.BlazeOptionHandler.parseArgsAndConfigs(BlazeOptionHandler.java:301)
	at com.google.devtools.build.lib.runtime.BlazeOptionHandler.parseOptions(BlazeOptionHandler.java:450)
	at com.google.devtools.build.lib.runtime.FlagAliasTest.setAliasOnCommandLine_useInRcFile(FlagAliasTest.java:203)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
	at org.junit.runners.Suite.runChild(Suite.java:128)
	at org.junit.runners.Suite.runChild(Suite.java:27)
	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
	at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:108)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
	at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:116)
	at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:145)
	at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:76)

.Jul 18, 2023 7:25:24 AM com.google.devtools.build.lib.runtime.GcThrashingDetector$SingleLimitTracker overThresholdGc
INFO: Calling handleCrash
.Jul 18, 2023 7:25:24 AM com.google.devtools.build.lib.runtime.GcThrashingDetector$SingleLimitTracker overThresholdGc
INFO: Calling handleCrash
....Jul 18, 2023 7:25:24 AM com.google.devtools.build.lib.runtime.GcThrashingDetector$SingleLimitTracker overThresholdGc
INFO: Calling handleCrash
.Jul 18, 2023 7:25:24 AM com.google.devtools.build.lib.runtime.GcThrashingDetector$SingleLimitTracker overThresholdGc
INFO: Calling handleCrash
........Jul 18, 2023 7:25:24 AM com.google.devtools.build.lib.runtime.LoadingPhaseThreadsOption$LoadingPhaseThreadCountConverter checkAndLimit
INFO: Running under a test; loading_phase_threads capped at 20
.Jul 18, 2023 7:25:24 AM com.google.devtools.build.lib.runtime.LoadingPhaseThreadsOption$LoadingPhaseThreadCountConverter checkAndLimit
INFO: Running under a test; loading_phase_threads capped at 0
.Jul 18, 2023 7:25:24 AM com.google.devtools.build.lib.runtime.LoadingPhaseThreadsOption$LoadingPhaseThreadCountConverter checkAndLimit
INFO: Running under a test; loading_phase_threads capped at 20
.Jul 18, 2023 7:25:24 AM com.google.devtools.build.lib.runtime.LoadingPhaseThreadsOption$LoadingPhaseThreadCountConverter checkAndLimit
INFO: Running under a test; loading_phase_threads capped at 7
.........Jul 18, 2023 7:25:24 AM com.google.devtools.build.lib.runtime.RetainedHeapLimiter handle
INFO: Ignoring manual GC from other source
....Jul 18, 2023 7:25:24 AM com.google.devtools.build.lib.runtime.RetainedHeapLimiter handle
INFO: Triggering a full GC (99% of tenured space after minor GC)
Jul 18, 2023 7:25:24 AM com.google.devtools.build.lib.runtime.RetainedHeapLimiter handle
INFO: Calling handleCrash
....Jul 18, 2023 7:25:24 AM com.google.devtools.build.lib.runtime.RetainedHeapLimiter handle
INFO: Triggering a full GC (91% of tenured space after full GC)
Jul 18, 2023 7:25:24 AM com.google.devtools.build.lib.runtime.RetainedHeapLimiter handle
INFO: Calling handleCrash
.Jul 18, 2023 7:25:24 AM com.google.devtools.build.lib.runtime.RetainedHeapLimiter handle
INFO: Triggering a full GC (91% of tenured space after full GC)
Jul 18, 2023 7:25:25 AM com.google.devtools.build.lib.runtime.RetainedHeapLimiter handle
INFO: Back under threshold (89% of tenured space)
Jul 18, 2023 7:25:25 AM com.google.devtools.build.lib.runtime.RetainedHeapLimiter handle
WARNING: Ignoring possible GC thrashing x1 (91% of tenured space after full GC) because of recently triggered GC
Jul 18, 2023 7:25:25 AM com.google.devtools.build.lib.runtime.RetainedHeapLimiter handle
WARNING: Ignoring possible GC thrashing x2 (91% of tenured space after full GC) because of recently triggered GC
Jul 18, 2023 7:25:25 AM com.google.devtools.build.lib.runtime.RetainedHeapLimiter handle
WARNING: Ignoring possible GC thrashing x3 (91% of tenured space after full GC) because of recently triggered GC
Jul 18, 2023 7:25:25 AM com.google.devtools.build.lib.runtime.RetainedHeapLimiter handle
WARNING: Ignoring possible GC thrashing x4 (91% of tenured space after full GC) because of recently triggered GC
Jul 18, 2023 7:25:25 AM com.google.devtools.build.lib.runtime.RetainedHeapLimiter handle
WARNING: Ignoring possible GC thrashing x5 (91% of tenured space after full GC) because of recently triggered GC
Jul 18, 2023 7:25:25 AM com.google.devtools.build.lib.runtime.RetainedHeapLimiter handle
WARNING: Ignoring possible GC thrashing x6 (91% of tenured space after full GC) because of recently triggered GC
Jul 18, 2023 7:25:25 AM com.google.devtools.build.lib.runtime.RetainedHeapLimiter handle
INFO: Triggering a full GC (91% of tenured space after full GC)
Jul 18, 2023 7:25:25 AM com.google.devtools.build.lib.runtime.RetainedHeapLimiter handle
INFO: Back under threshold (89% of tenured space)
Jul 18, 2023 7:25:25 AM com.google.devtools.build.lib.runtime.RetainedHeapLimiter handle
WARNING: Ignoring possible GC thrashing x1 (91% of tenured space after full GC) because of recently triggered GC
Jul 18, 2023 7:25:25 AM com.google.devtools.build.lib.runtime.RetainedHeapLimiter handle
WARNING: Ignoring possible GC thrashing x2 (91% of tenured space after full GC) because of recently triggered GC
Jul 18, 2023 7:25:25 AM com.google.devtools.build.lib.runtime.RetainedHeapLimiter handle
WARNING: Ignoring possible GC thrashing x3 (91% of tenured space after full GC) because of recently triggered GC
Jul 18, 2023 7:25:25 AM com.google.devtools.build.lib.runtime.RetainedHeapLimiter handle
WARNING: Ignoring possible GC thrashing x4 (91% of tenured space after full GC) because of recently triggered GC
Jul 18, 2023 7:25:25 AM com.google.devtools.build.lib.runtime.RetainedHeapLimiter handle
WARNING: Ignoring possible GC thrashing x5 (91% of tenured space after full GC) because of recently triggered GC
Jul 18, 2023 7:25:25 AM com.google.devtools.build.lib.runtime.RetainedHeapLimiter handle
WARNING: Ignoring possible GC thrashing x6 (91% of tenured space after full GC) because of recently triggered GC
Jul 18, 2023 7:25:25 AM com.google.devtools.build.lib.runtime.RetainedHeapLimiter handle
WARNING: Ignoring possible GC thrashing x7 (91% of tenured space after full GC) because of recently triggered GC
Jul 18, 2023 7:25:25 AM com.google.devtools.build.lib.runtime.RetainedHeapLimiter handle
WARNING: Ignoring possible GC thrashing x8 (91% of tenured space after full GC) because of recently triggered GC
Jul 18, 2023 7:25:25 AM com.google.devtools.build.lib.runtime.RetainedHeapLimiter handle
WARNING: Ignoring possible GC thrashing x1 (91% of tenured space after full GC) because of recently triggered GC
Jul 18, 2023 7:25:25 AM com.google.devtools.build.lib.runtime.RetainedHeapLimiter handle
INFO: Triggering a full GC (91% of tenured space after full GC)
Jul 18, 2023 7:25:25 AM com.google.devtools.build.lib.runtime.RetainedHeapLimiter handle
WARNING: Ignoring possible GC thrashing x1 (91% of tenured space after full GC) because of recently triggered GC
Jul 18, 2023 7:25:25 AM com.google.devtools.build.lib.runtime.RetainedHeapLimiter handle
WARNING: Ignoring possible GC thrashing x2 (91% of tenured space after full GC) because of recently triggered GC
Jul 18, 2023 7:25:25 AM com.google.devtools.build.lib.runtime.RetainedHeapLimiter handle
WARNING: Ignoring possible GC thrashing x3 (91% of tenured space after full GC) because of recently triggered GC
Jul 18, 2023 7:25:25 AM com.google.devtools.build.lib.runtime.RetainedHeapLimiter handle
WARNING: Ignoring possible GC thrashing x4 (91% of tenured space after full GC) because of recently triggered GC
Jul 18, 2023 7:25:25 AM com.google.devtools.build.lib.runtime.RetainedHeapLimiter handle
WARNING: Ignoring possible GC thrashing x5 (91% of tenured space after full GC) because of recently triggered GC
Jul 18, 2023 7:25:25 AM com.google.devtools.build.lib.runtime.RetainedHeapLimiter handle
WARNING: Ignoring possible GC thrashing x6 (91% of tenured space after full GC) because of recently triggered GC
Jul 18, 2023 7:25:25 AM com.google.devtools.build.lib.runtime.RetainedHeapLimiter handle
WARNING: Ignoring possible GC thrashing x7 (91% of tenured space after full GC) because of recently triggered GC
.Jul 18, 2023 7:25:25 AM com.google.devtools.build.lib.runtime.RetainedHeapLimiter handle
INFO: Triggering a full GC (91% of tenured space after full GC)
Jul 18, 2023 7:25:25 AM com.google.devtools.build.lib.runtime.RetainedHeapLimiter handle
WARNING: Ignoring possible GC thrashing x1 (91% of tenured space after full GC) because of recently triggered GC
Jul 18, 2023 7:25:25 AM com.google.devtools.build.lib.runtime.RetainedHeapLimiter handle
INFO: Calling handleCrash
.Jul 18, 2023 7:25:25 AM com.google.devtools.build.lib.runtime.RetainedHeapLimiter handle
INFO: Ignoring manual GC from other source
Jul 18, 2023 7:25:25 AM com.google.devtools.build.lib.runtime.RetainedHeapLimiter handle
INFO: Ignoring manual GC from other source
.Jul 18, 2023 7:25:25 AM com.google.devtools.build.lib.runtime.RetainedHeapLimiter handle
INFO: Triggering a full GC (91% of tenured space after full GC)
Jul 18, 2023 7:25:25 AM com.google.devtools.build.lib.runtime.RetainedHeapLimiter handle
INFO: Back under threshold (89% of tenured space)
Jul 18, 2023 7:25:25 AM com.google.devtools.build.lib.runtime.RetainedHeapLimiter handle
WARNING: Ignoring possible GC thrashing (91% of tenured space after minor GC) because of recently triggered GC
..Jul 18, 2023 7:25:25 AM com.google.devtools.build.lib.runtime.RetainedHeapLimiter handle
INFO: Triggering a full GC (91% of tenured space after full GC)
Jul 18, 2023 7:25:25 AM com.google.devtools.build.lib.runtime.RetainedHeapLimiter handle
INFO: Calling handleCrash
..Jul 18, 2023 7:25:25 AM com.google.devtools.build.lib.runtime.RetainedHeapLimiter handle
INFO: Triggering a full GC (91% of tenured space after full GC)
Jul 18, 2023 7:25:25 AM com.google.devtools.build.lib.runtime.RetainedHeapLimiter handle
INFO: Back under threshold (89% of tenured space)
Jul 18, 2023 7:25:25 AM com.google.devtools.build.lib.runtime.RetainedHeapLimiter handle
WARNING: Ignoring possible GC thrashing x1 (91% of tenured space after full GC) because of recently triggered GC
.Jul 18, 2023 7:25:25 AM com.google.devtools.build.lib.runtime.RetainedHeapLimiter handle
INFO: Triggering a full GC (91% of tenured space after full GC)
.Jul 18, 2023 7:25:26 AM com.google.devtools.build.lib.runtime.RetainedHeapLimiter handle
INFO: Triggering a full GC (91% of tenured space after full GC)
Jul 18, 2023 7:25:26 AM com.google.devtools.build.lib.runtime.RetainedHeapLimiter handle
INFO: Back under threshold (89% of tenured space)
Jul 18, 2023 7:25:26 AM com.google.devtools.build.lib.runtime.RetainedHeapLimiter handle
INFO: Ignoring manual GC from other source
.Jul 18, 2023 7:25:26 AM com.google.devtools.build.lib.runtime.RetainedHeapLimiter handle
INFO: Triggering a full GC (91% of tenured space after full GC)
Jul 18, 2023 7:25:26 AM com.google.devtools.build.lib.runtime.RetainedHeapLimiter handle
WARNING: Observed a GCLocker initiated GC without observing a manual GC since the last call to System.gc(), cancelling timeout to permit a retry
Jul 18, 2023 7:25:26 AM com.google.devtools.build.lib.runtime.RetainedHeapLimiter handle
INFO: Triggering a full GC (91% of tenured space after minor GC)
.Jul 18, 2023 7:25:26 AM com.google.devtools.build.lib.runtime.RetainedHeapLimiter handle
INFO: Triggering a full GC (100% of tenured space after full GC)
Jul 18, 2023 7:25:26 AM com.google.devtools.build.lib.runtime.RetainedHeapLimiter handle
INFO: Back under threshold (89% of tenured space)
.Jul 18, 2023 7:25:26 AM com.google.devtools.build.lib.runtime.RetainedHeapLimiter handle
INFO: Triggering a full GC (99% of tenured space after full GC)
..Jul 18, 2023 7:25:26 AM com.google.devtools.build.lib.runtime.RetainedHeapLimiter handle
INFO: Triggering a full GC (91% of tenured space after full GC)
Jul 18, 2023 7:25:26 AM com.google.devtools.build.lib.runtime.RetainedHeapLimiter handle
INFO: Back under threshold (89% of tenured space)
Jul 18, 2023 7:25:26 AM com.google.devtools.build.lib.runtime.RetainedHeapLimiter handle
INFO: Triggering a full GC (91% of tenured space after full GC)
.................................Jul 18, 2023 7:25:27 AM com.google.devtools.build.skyframe.InvalidatingNodeVisitor run
INFO: Spent 12 milliseconds doing invalidation of 13 nodes
Jul 18, 2023 7:25:27 AM com.google.devtools.build.skyframe.InvalidatingNodeVisitor run
INFO: Spent 10 milliseconds doing invalidation of 13 nodes
Jul 18, 2023 7:25:27 AM com.google.devtools.build.lib.skyframe.SkyframeExecutor handleAnalysisInvalidatingChange
INFO: Dropping configured target data
Jul 18, 2023 7:25:27 AM com.google.devtools.build.skyframe.InvalidatingNodeVisitor run
INFO: Spent 15 milliseconds doing invalidation of 2 nodes
.Jul 18, 2023 7:25:28 AM com.google.devtools.build.lib.skyframe.SkyframeExecutor handleAnalysisInvalidatingChange
INFO: Dropping configured target data
.Jul 18, 2023 7:25:28 AM com.google.devtools.build.lib.skyframe.SkyframeExecutor handleAnalysisInvalidatingChange
INFO: Dropping configured target data
.Jul 18, 2023 7:25:28 AM com.google.devtools.build.lib.skyframe.SkyframeExecutor handleAnalysisInvalidatingChange
INFO: Dropping configured target data
.Jul 18, 2023 7:25:28 AM com.google.devtools.build.lib.skyframe.SkyframeExecutor handleAnalysisInvalidatingChange
INFO: Dropping configured target data
..I.......................................................................................................................................................................................................................Jul 18, 2023 7:25:33 AM com.google.devtools.build.skyframe.InvalidatingNodeVisitor runInternal
INFO: Spent 10 milliseconds doing invalidation enqueuing
Jul 18, 2023 7:25:33 AM com.google.devtools.build.skyframe.InvalidatingNodeVisitor run
INFO: Spent 12 milliseconds doing invalidation of 13 nodes
Jul 18, 2023 7:25:33 AM com.google.devtools.build.lib.skyframe.SkyframeExecutor handleAnalysisInvalidatingChange
INFO: Dropping configured target data
Jul 18, 2023 7:25:33 AM com.google.devtools.build.skyframe.InvalidatingNodeVisitor runInternal
INFO: Spent 11 milliseconds doing invalidation enqueuing
Jul 18, 2023 7:25:33 AM com.google.devtools.build.skyframe.InvalidatingNodeVisitor run
INFO: Spent 12 milliseconds doing invalidation of 13 nodes
.Jul 18, 2023 7:25:34 AM com.google.devtools.build.skyframe.InvalidatingNodeVisitor run
INFO: Spent 10 milliseconds doing invalidation of 13 nodes
Jul 18, 2023 7:25:34 AM com.google.devtools.build.lib.skyframe.SkyframeExecutor handleAnalysisInvalidatingChange
INFO: Dropping configured target data
Jul 18, 2023 7:25:34 AM com.google.devtools.build.skyframe.InvalidatingNodeVisitor run
INFO: Spent 10 milliseconds doing invalidation of 13 nodes
.Jul 18, 2023 7:25:34 AM com.google.devtools.build.lib.skyframe.SkyframeExecutor handleAnalysisInvalidatingChange
INFO: Dropping configured target data
.Jul 18, 2023 7:25:34 AM com.google.devtools.build.skyframe.InvalidatingNodeVisitor runInternal
INFO: Spent 16 milliseconds doing invalidation enqueuing
Jul 18, 2023 7:25:34 AM com.google.devtools.build.skyframe.InvalidatingNodeVisitor run
INFO: Spent 17 milliseconds doing invalidation of 13 nodes
Jul 18, 2023 7:25:34 AM com.google.devtools.build.lib.skyframe.SkyframeExecutor handleAnalysisInvalidatingChange
INFO: Dropping configured target data
.Jul 18, 2023 7:25:34 AM com.google.devtools.build.lib.skyframe.SkyframeExecutor handleAnalysisInvalidatingChange
INFO: Dropping configured target data
.Jul 18, 2023 7:25:34 AM com.google.devtools.build.lib.skyframe.SkyframeExecutor handleAnalysisInvalidatingChange
INFO: Dropping configured target data
.Jul 18, 2023 7:25:34 AM com.google.devtools.build.lib.skyframe.SkyframeExecutor handleAnalysisInvalidatingChange
INFO: Dropping configured target data
.Jul 18, 2023 7:25:34 AM com.google.devtools.build.lib.skyframe.SkyframeExecutor handleAnalysisInvalidatingChange
INFO: Dropping configured target data
.Jul 18, 2023 7:25:35 AM com.google.devtools.build.lib.skyframe.SkyframeExecutor handleAnalysisInvalidatingChange
INFO: Dropping configured target data
.Jul 18, 2023 7:25:35 AM com.google.devtools.build.lib.skyframe.SkyframeExecutor handleAnalysisInvalidatingChange
INFO: Dropping configured target data
.Jul 18, 2023 7:25:35 AM com.google.devtools.build.lib.skyframe.SkyframeExecutor handleAnalysisInvalidatingChange
INFO: Dropping configured target data
.Jul 18, 2023 7:25:35 AM com.google.devtools.build.lib.skyframe.SkyframeExecutor handleAnalysisInvalidatingChange
INFO: Dropping configured target data
...........
Time: 17.413
There were 10 failures:
1) spawnAndAction_withSameOutputs(com.google.devtools.build.lib.runtime.ExecutionGraphModuleTest)
java.lang.UnsatisfiedLinkError: /usr/local/google/home/nelsonli/.cache/bazel/_bazel_nelsonli/71aeaef0e77795df4c8339df20bc2a13/sandbox/linux-sandbox/93/execroot/io_bazel/_tmp/53a941e5e8d4dac3443b57eddd867750/libzstd-jni-1.5.2-34505731243935472564.so: libstdc++.so.6: cannot open shared object file: No such file or directory
no zstd-jni-1.5.2-3 in java.library.path: [/usr/java/packages/lib, /usr/lib64, /lib64, /lib, /usr/lib]
Unsupported OS/arch, cannot find /linux/amd64/libzstd-jni-1.5.2-3.so or load zstd-jni-1.5.2-3 from system libraries. Please try building from source the jar or providing libzstd-jni-1.5.2-3 in your system.
	at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2675)
	at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:831)
	at java.base/java.lang.System.loadLibrary(System.java:1876)
	at com.github.luben.zstd.util.Native.load(Native.java:124)
	at com.github.luben.zstd.util.Native.load(Native.java:55)
	at com.github.luben.zstd.ZstdInputStreamNoFinalizer.<clinit>(ZstdInputStreamNoFinalizer.java:23)
	at com.github.luben.zstd.ZstdInputStream.<init>(ZstdInputStream.java:24)
	at com.google.devtools.build.lib.runtime.ExecutionGraphModuleTest.parse(ExecutionGraphModuleTest.java:93)
	at com.google.devtools.build.lib.runtime.ExecutionGraphModuleTest.spawnAndAction_withSameOutputs(ExecutionGraphModuleTest.java:423)
2) testOneSpawn(com.google.devtools.build.lib.runtime.ExecutionGraphModuleTest)
java.lang.NoClassDefFoundError: Could not initialize class com.github.luben.zstd.ZstdInputStreamNoFinalizer
	at com.github.luben.zstd.ZstdInputStream.<init>(ZstdInputStream.java:24)
	at com.google.devtools.build.lib.runtime.ExecutionGraphModuleTest.parse(ExecutionGraphModuleTest.java:93)
	at com.google.devtools.build.lib.runtime.ExecutionGraphModuleTest.testOneSpawn(ExecutionGraphModuleTest.java:135)
3) testSpawnWithDiscoverInputs(com.google.devtools.build.lib.runtime.ExecutionGraphModuleTest)
java.lang.NoClassDefFoundError: Could not initialize class com.github.luben.zstd.ZstdInputStreamNoFinalizer
	at com.github.luben.zstd.ZstdInputStream.<init>(ZstdInputStream.java:24)
	at com.google.devtools.build.lib.runtime.ExecutionGraphModuleTest.parse(ExecutionGraphModuleTest.java:93)
	at com.google.devtools.build.lib.runtime.ExecutionGraphModuleTest.testSpawnWithDiscoverInputs(ExecutionGraphModuleTest.java:186)
4) multipleSpawnsWithSameOutput_overlapping_ignoresSecondSpawnForDependencies(com.google.devtools.build.lib.runtime.ExecutionGraphModuleTest)
java.lang.NoClassDefFoundError: Could not initialize class com.github.luben.zstd.ZstdInputStreamNoFinalizer
	at com.github.luben.zstd.ZstdInputStream.<init>(ZstdInputStream.java:24)
	at com.google.devtools.build.lib.runtime.ExecutionGraphModuleTest.parse(ExecutionGraphModuleTest.java:93)
	at com.google.devtools.build.lib.runtime.ExecutionGraphModuleTest.multipleSpawnsWithSameOutput_overlapping_ignoresSecondSpawnForDependencies(ExecutionGraphModuleTest.java:615)
5) multipleSpawnsWithSameOutput_recordsBothSpawnsWithRetry(com.google.devtools.build.lib.runtime.ExecutionGraphModuleTest)
java.lang.NoClassDefFoundError: Could not initialize class com.github.luben.zstd.ZstdInputStreamNoFinalizer
	at com.github.luben.zstd.ZstdInputStream.<init>(ZstdInputStream.java:24)
	at com.google.devtools.build.lib.runtime.ExecutionGraphModuleTest.parse(ExecutionGraphModuleTest.java:93)
	at com.google.devtools.build.lib.runtime.ExecutionGraphModuleTest.multipleSpawnsWithSameOutput_recordsBothSpawnsWithRetry(ExecutionGraphModuleTest.java:487)
6) actionDepsWithThreeSpawns(com.google.devtools.build.lib.runtime.ExecutionGraphModuleTest)
java.lang.NoClassDefFoundError: Could not initialize class com.github.luben.zstd.ZstdInputStreamNoFinalizer
	at com.github.luben.zstd.ZstdInputStream.<init>(ZstdInputStream.java:24)
	at com.google.devtools.build.lib.runtime.ExecutionGraphModuleTest.parse(ExecutionGraphModuleTest.java:93)
	at com.google.devtools.build.lib.runtime.ExecutionGraphModuleTest.actionDepsWithThreeSpawns(ExecutionGraphModuleTest.java:255)
7) testSpawnWithNullOwnerLabel(com.google.devtools.build.lib.runtime.ExecutionGraphModuleTest)
java.lang.NoClassDefFoundError: Could not initialize class com.github.luben.zstd.ZstdInputStreamNoFinalizer
	at com.github.luben.zstd.ZstdInputStream.<init>(ZstdInputStream.java:24)
	at com.google.devtools.build.lib.runtime.ExecutionGraphModuleTest.parse(ExecutionGraphModuleTest.java:93)
	at com.google.devtools.build.lib.runtime.ExecutionGraphModuleTest.testSpawnWithNullOwnerLabel(ExecutionGraphModuleTest.java:400)
8) multipleSpawnsWithSameOutput_overlapping_recordsBothSpawnsWithoutRetry[LOCAL_LOCK_FREE_OUTPUT_ENABLED](com.google.devtools.build.lib.runtime.ExecutionGraphModuleTest)
java.lang.NoClassDefFoundError: Could not initialize class com.github.luben.zstd.ZstdInputStreamNoFinalizer
	at com.github.luben.zstd.ZstdInputStream.<init>(ZstdInputStream.java:24)
	at com.google.devtools.build.lib.runtime.ExecutionGraphModuleTest.parse(ExecutionGraphModuleTest.java:93)
	at com.google.devtools.build.lib.runtime.ExecutionGraphModuleTest.multipleSpawnsWithSameOutput_overlapping_recordsBothSpawnsWithoutRetry(ExecutionGraphModuleTest.java:561)
9) multipleSpawnsWithSameOutput_overlapping_recordsBothSpawnsWithoutRetry[LOCAL_LOCK_FREE_OUTPUT_DISABLED](com.google.devtools.build.lib.runtime.ExecutionGraphModuleTest)
java.lang.NoClassDefFoundError: Could not initialize class com.github.luben.zstd.ZstdInputStreamNoFinalizer
	at com.github.luben.zstd.ZstdInputStream.<init>(ZstdInputStream.java:24)
	at com.google.devtools.build.lib.runtime.ExecutionGraphModuleTest.parse(ExecutionGraphModuleTest.java:93)
	at com.google.devtools.build.lib.runtime.ExecutionGraphModuleTest.multipleSpawnsWithSameOutput_overlapping_recordsBothSpawnsWithoutRetry(ExecutionGraphModuleTest.java:561)
10) spawnAndAction_withDifferentOutputs(com.google.devtools.build.lib.runtime.ExecutionGraphModuleTest)
java.lang.NoClassDefFoundError: Could not initialize class com.github.luben.zstd.ZstdInputStreamNoFinalizer
	at com.github.luben.zstd.ZstdInputStream.<init>(ZstdInputStream.java:24)
	at com.google.devtools.build.lib.runtime.ExecutionGraphModuleTest.parse(ExecutionGraphModuleTest.java:93)
	at com.google.devtools.build.lib.runtime.ExecutionGraphModuleTest.spawnAndAction_withDifferentOutputs(ExecutionGraphModuleTest.java:455)

FAILURES!!!
Tests run: 519,  Failures: 10


BazelTestRunner exiting with a return value of 1
JVM shutdown hooks (if any) will run now.
The JVM will exit once they complete.

-- JVM shutdown starting at 2023-07-18 07:25:36 --

================================================================================
Target //src/test/java/com/google/devtools/build/lib:runtime-tests up-to-date:
  bazel-bin/src/test/java/com/google/devtools/build/lib/runtime-tests.jar
  bazel-bin/src/test/java/com/google/devtools/build/lib/runtime-tests
INFO: Elapsed time: 21.257s, Critical Path: 20.97s
INFO: 2 processes: 1 internal, 1 linux-sandbox.
INFO: Build completed, 1 test FAILED, 2 total actions
//src/test/java/com/google/devtools/build/lib:runtime-tests              FAILED in 20.8s
    FAILED  com.google.devtools.build.lib.runtime.ExecutionGraphModuleTest.spawnAndAction_withSameOutputs (0.1s)
    FAILED  com.google.devtools.build.lib.runtime.ExecutionGraphModuleTest.testOneSpawn (0.0s)
    FAILED  com.google.devtools.build.lib.runtime.ExecutionGraphModuleTest.testSpawnWithDiscoverInputs (0.0s)
    FAILED  com.google.devtools.build.lib.runtime.ExecutionGraphModuleTest.multipleSpawnsWithSameOutput_overlapping_ignoresSecondSpawnForDependencies (0.0s)
    FAILED  com.google.devtools.build.lib.runtime.ExecutionGraphModuleTest.multipleSpawnsWithSameOutput_recordsBothSpawnsWithRetry (0.0s)
    FAILED  com.google.devtools.build.lib.runtime.ExecutionGraphModuleTest.actionDepsWithThreeSpawns (0.0s)
    FAILED  com.google.devtools.build.lib.runtime.ExecutionGraphModuleTest.testSpawnWithNullOwnerLabel (0.0s)
    FAILED  com.google.devtools.build.lib.runtime.ExecutionGraphModuleTest.multipleSpawnsWithSameOutput_overlapping_recordsBothSpawnsWithoutRetry[LOCAL_LOCK_FREE_OUTPUT_ENABLED] (0.1s)
    FAILED  com.google.devtools.build.lib.runtime.ExecutionGraphModuleTest.multipleSpawnsWithSameOutput_overlapping_recordsBothSpawnsWithoutRetry[LOCAL_LOCK_FREE_OUTPUT_DISABLED] (0.0s)
    FAILED  com.google.devtools.build.lib.runtime.ExecutionGraphModuleTest.spawnAndAction_withDifferentOutputs (0.0s)
Test cases: finished with 510 passing and 10 failing out of 520 test cases

Executed 1 out of 1 test: 1 fails locally.
```
A fix for this issue has been included in [Bazel 6.4.0 RC1](https://releases.bazel.build/6.4.0/rc1/index.html). Please test out the release candidate and report any issues as soon as possible. Thanks!

Pull request review comments:

Patch that resolved the issue:
diff --git a/src/main/java/com/google/devtools/build/lib/runtime/TerminalTestResultNotifier.java b/src/main/java/com/google/devtools/build/lib/runtime/TerminalTestResultNotifier.java
index add22ee33df4f6..4445624970cf42 100644
--- a/src/main/java/com/google/devtools/build/lib/runtime/TerminalTestResultNotifier.java
+++ b/src/main/java/com/google/devtools/build/lib/runtime/TerminalTestResultNotifier.java
@@ -142,13 +142,13 @@ private boolean duplicateLabels(Set<TestSummary> summaries) {
    * @param summaries summaries of tests {@link TestSummary}
    * @param showAllTests if true, print information about each test regardless of its status
    * @param showNoStatusTests if true, print information about not executed tests (no status tests)
-   * @param printFailedTestCases if true, print details about which test cases in a test failed
+   * @param showAllTestCases if true, print all test cases status and detailed information
    */
   private void printSummary(
       Set<TestSummary> summaries,
       boolean showAllTests,
       boolean showNoStatusTests,
-      boolean printFailedTestCases) {
+      boolean showAllTestCases) {
     boolean withConfig = duplicateLabels(summaries);
     int numFailedToBuildReported = 0;
     for (TestSummary summary : summaries) {
@@ -171,7 +171,7 @@ private void printSummary(
           printer,
           testLogPathFormatter,
           summaryOptions.verboseSummary,
-          printFailedTestCases,
+          showAllTestCases,
           withConfig);
     }
   }
@@ -243,9 +243,9 @@ public void notify(Set<TestSummary> summaries, int numberOfExecutedTargets) {
       case DETAILED:
         printSummary(
             summaries,
-            /* showAllTests= */ false,
+            /* showAllTests= */ true,
             /* showNoStatusTests= */ true,
-            /* printFailedTestCases= */ true);
+            /* showAllTestCases= */ true);
         break;
 
       case SHORT:
@@ -253,7 +253,7 @@ public void notify(Set<TestSummary> summaries, int numberOfExecutedTargets) {
             summaries,
             /* showAllTests= */ true,
             /* showNoStatusTests= */ false,
-            /* printFailedTestCases= */ false);
+            /* showAllTestCases= */ false);
         break;
 
       case TERSE:
@@ -261,7 +261,7 @@ public void notify(Set<TestSummary> summaries, int numberOfExecutedTargets) {
             summaries,
             /* showAllTests= */ false,
             /* showNoStatusTests= */ false,
-            /* printFailedTestCases= */ false);
+            /* showAllTestCases= */ false);
         break;
 
       case TESTCASE:
diff --git a/src/main/java/com/google/devtools/build/lib/runtime/TestSummary.java b/src/main/java/com/google/devtools/build/lib/runtime/TestSummary.java
index 2ddd38e349c164..baf19688611c89 100644
--- a/src/main/java/com/google/devtools/build/lib/runtime/TestSummary.java
+++ b/src/main/java/com/google/devtools/build/lib/runtime/TestSummary.java
@@ -41,6 +41,7 @@
 import com.google.devtools.build.lib.view.test.TestStatus.BlazeTestStatus;
 import com.google.devtools.build.lib.view.test.TestStatus.FailedTestCasesStatus;
 import com.google.devtools.build.lib.view.test.TestStatus.TestCase;
+import com.google.devtools.build.lib.view.test.TestStatus.TestCase.Status;
 import com.google.errorprone.annotations.CanIgnoreReturnValue;
 import com.google.protobuf.util.Durations;
 import com.google.protobuf.util.Timestamps;
@@ -218,9 +219,20 @@ private int traverseTestCases(TestCase testCase) {
       if (testCase.getStatus() != TestCase.Status.PASSED) {
         this.summary.failedTestCases.add(testCase);
       }
+
+      if (testCase.getStatus() == Status.PASSED) {
+        this.summary.passedTestCases.add(testCase);
+      }
+
       return 1;
     }
 
+    public Builder addPassedTestCases(List<TestCase> testCases) {
+      checkMutation(testCases);
+      summary.passedTestCases.addAll(testCases);
+      return this;
+    }
+
     @CanIgnoreReturnValue
     public Builder addFailedTestCases(List<TestCase> testCases, FailedTestCasesStatus status) {
       checkMutation(status);
@@ -396,6 +408,7 @@ private void makeSummaryImmutable() {
   private boolean ranRemotely;
   private boolean wasUnreportedWrongSize;
   private List<TestCase> failedTestCases = new ArrayList<>();
+  private final List<TestCase> passedTestCases = new ArrayList<>();
   private List<Path> passedLogs = new ArrayList<>();
   private List<Path> failedLogs = new ArrayList<>();
   private List<String> warnings = new ArrayList<>();
@@ -507,6 +520,10 @@ public List<TestCase> getFailedTestCases() {
     return failedTestCases;
   }
 
+  public List<TestCase> getPassedTestCases() {
+    return passedTestCases;
+  }
+
   public List<Path> getCoverageFiles() {
     return coverageFiles;
   }
diff --git a/src/main/java/com/google/devtools/build/lib/runtime/TestSummaryPrinter.java b/src/main/java/com/google/devtools/build/lib/runtime/TestSummaryPrinter.java
index eb76c11b951c75..8ee42143bd0ef1 100644
--- a/src/main/java/com/google/devtools/build/lib/runtime/TestSummaryPrinter.java
+++ b/src/main/java/com/google/devtools/build/lib/runtime/TestSummaryPrinter.java
@@ -24,6 +24,7 @@
 import com.google.devtools.build.lib.view.test.TestStatus.BlazeTestStatus;
 import com.google.devtools.build.lib.view.test.TestStatus.FailedTestCasesStatus;
 import com.google.devtools.build.lib.view.test.TestStatus.TestCase;
+import com.google.devtools.build.lib.view.test.TestStatus.TestCase.Status;
 import java.io.IOException;
 import java.util.ArrayList;
 import java.util.List;
@@ -117,18 +118,13 @@ public static void print(
       AnsiTerminalPrinter terminalPrinter,
       TestLogPathFormatter testLogPathFormatter,
       boolean verboseSummary,
-      boolean printFailedTestCases) {
-    print(
-        summary,
-        terminalPrinter,
-        testLogPathFormatter,
-        verboseSummary,
-        printFailedTestCases,
-        false);
+      boolean showAllTestCases) {
+    print(summary, terminalPrinter, testLogPathFormatter, verboseSummary, showAllTestCases, false);
   }
 
   /**
    * Prints summary status for a single test.
+   *
    * @param terminalPrinter The printer to print to
    */
   public static void print(
@@ -136,7 +132,7 @@ public static void print(
       AnsiTerminalPrinter terminalPrinter,
       TestLogPathFormatter testLogPathFormatter,
       boolean verboseSummary,
-      boolean printFailedTestCases,
+      boolean showAllTestCases,
       boolean withConfigurationName) {
     BlazeTestStatus status = summary.getStatus();
     // Skip output for tests that failed to build.
@@ -158,29 +154,35 @@ public static void print(
             + (verboseSummary ? getAttemptSummary(summary) + getTimeSummary(summary) : "")
             + "\n");
 
-    if (printFailedTestCases && summary.getStatus() == BlazeTestStatus.FAILED) {
-      if (summary.getFailedTestCasesStatus() == FailedTestCasesStatus.NOT_AVAILABLE) {
-        terminalPrinter.print(
-            Mode.WARNING + "    (individual test case information not available) "
-            + Mode.DEFAULT + "\n");
-      } else {
-        for (TestCase testCase : summary.getFailedTestCases()) {
-          if (testCase.getStatus() != TestCase.Status.PASSED) {
-            TestSummaryPrinter.printTestCase(terminalPrinter, testCase);
-          }
-        }
+    if (showAllTestCases) {
+      for (TestCase testCase : summary.getPassedTestCases()) {
+        TestSummaryPrinter.printTestCase(terminalPrinter, testCase);
+      }
 
-        if (summary.getFailedTestCasesStatus() != FailedTestCasesStatus.FULL) {
+      if (summary.getStatus() == BlazeTestStatus.FAILED) {
+        if (summary.getFailedTestCasesStatus() == FailedTestCasesStatus.NOT_AVAILABLE) {
           terminalPrinter.print(
               Mode.WARNING
-              + "    (some shards did not report details, list of failed test"
-              + " cases incomplete)\n"
-              + Mode.DEFAULT);
+                  + "    (individual test case information not available) "
+                  + Mode.DEFAULT
+                  + "\n");
+        } else {
+          for (TestCase testCase : summary.getFailedTestCases()) {
+            if (testCase.getStatus() != TestCase.Status.PASSED) {
+              TestSummaryPrinter.printTestCase(terminalPrinter, testCase);
+            }
+          }
+
+          if (summary.getFailedTestCasesStatus() != FailedTestCasesStatus.FULL) {
+            terminalPrinter.print(
+                Mode.WARNING
+                    + "    (some shards did not report details, list of failed test"
+                    + " cases incomplete)\n"
+                    + Mode.DEFAULT);
+          }
         }
       }
-    }
-
-    if (!printFailedTestCases) {
+    } else {
       for (String warning : summary.getWarnings()) {
         terminalPrinter.print("  " + AnsiTerminalPrinter.Mode.WARNING + "WARNING: "
             + AnsiTerminalPrinter.Mode.DEFAULT + warning + "\n");
@@ -205,12 +207,8 @@ public static void print(
     }
   }
 
-  /**
-   * Prints the result of an individual test case. It is assumed not to have
-   * passed, since passed test cases are not reported.
-   */
-  static void printTestCase(
-      AnsiTerminalPrinter terminalPrinter, TestCase testCase) {
+  /** Prints the result of an individual test case. */
+  static void printTestCase(AnsiTerminalPrinter terminalPrinter, TestCase testCase) {
     String timeSummary;
     if (testCase.hasRunDurationMillis()) {
       timeSummary = " ("
@@ -220,16 +218,17 @@ static void printTestCase(
       timeSummary = "";
     }
 
+    Mode mode = (testCase.getStatus() == Status.PASSED) ? Mode.INFO : Mode.ERROR;
     terminalPrinter.print(
         "    "
-        + Mode.ERROR
-        + Strings.padEnd(testCase.getStatus().toString(), 8, ' ')
-        + Mode.DEFAULT
-        + testCase.getClassName()
-        + "."
-        + testCase.getName()
-        + timeSummary
-        + "\n");
+            + mode
+            + Strings.padEnd(testCase.getStatus().toString(), 8, ' ')
+            + Mode.DEFAULT
+            + testCase.getClassName()
+            + "."
+            + testCase.getName()
+            + timeSummary
+            + "\n");
   }
 
   /**


Test patch:
diff --git a/src/test/java/com/google/devtools/build/lib/runtime/TestSummaryTest.java b/src/test/java/com/google/devtools/build/lib/runtime/TestSummaryTest.java
index 2bb030773ab723..a82242ae56bb29 100644
--- a/src/test/java/com/google/devtools/build/lib/runtime/TestSummaryTest.java
+++ b/src/test/java/com/google/devtools/build/lib/runtime/TestSummaryTest.java
@@ -445,6 +445,30 @@ public void testTestCaseNamesShownWhenNeeded() throws Exception {
     verify(printerFailed).print(find("FAILED.*orange *\\(1\\.5"));
   }
 
+  @Test
+  public void testShowTestCaseNames() throws Exception {
+    TestCase detailPassed = newDetail("strawberry", TestCase.Status.PASSED, 1000L);
+    TestCase detailFailed = newDetail("orange", TestCase.Status.FAILED, 1500L);
+
+    TestSummary summaryPassed =
+        createPassedTestSummary(BlazeTestStatus.PASSED, Arrays.asList(detailPassed));
+
+    TestSummary summaryFailed =
+        createTestSummaryWithDetails(
+            BlazeTestStatus.FAILED, Arrays.asList(detailPassed, detailFailed));
+    assertThat(summaryFailed.getStatus()).isEqualTo(BlazeTestStatus.FAILED);
+
+    AnsiTerminalPrinter printerPassed = Mockito.mock(AnsiTerminalPrinter.class);
+    TestSummaryPrinter.print(summaryPassed, printerPassed, Path::getPathString, true, true);
+    verify(printerPassed).print(contains("//package:name"));
+    verify(printerPassed).print(find("PASSED.*strawberry *\\(1\\.0"));
+
+    AnsiTerminalPrinter printerFailed = Mockito.mock(AnsiTerminalPrinter.class);
+    TestSummaryPrinter.print(summaryFailed, printerFailed, Path::getPathString, true, true);
+    verify(printerFailed).print(contains("//package:name"));
+    verify(printerFailed).print(find("FAILED.*orange *\\(1\\.5"));
+  }
+
   @Test
   public void testTestCaseNamesOrdered() throws Exception {
     TestCase[] details = {
@@ -500,13 +524,13 @@ public void testCachedResultsFirstInSort() throws Exception {
 
   @Test
   public void testCollectingFailedDetails() throws Exception {
-    TestCase rootCase = TestCase.newBuilder()
-        .setName("tests")
-        .setRunDurationMillis(5000L)
-        .addChild(newDetail("apple", TestCase.Status.FAILED, 1000L))
-        .addChild(newDetail("banana", TestCase.Status.PASSED, 1000L))
-        .addChild(newDetail("cherry", TestCase.Status.ERROR, 1000L))
-        .build();
+    TestCase rootCase =
+        TestCase.newBuilder()
+            .setName("tests")
+            .setRunDurationMillis(5000L)
+            .addChild(newDetail("apple", TestCase.Status.FAILED, 1000L))
+            .addChild(newDetail("cherry", TestCase.Status.ERROR, 1000L))
+            .build();
 
     TestSummary summary =
         getTemplateBuilder().collectTestCases(rootCase).setStatus(BlazeTestStatus.FAILED).build();
@@ -518,6 +542,46 @@ public void testCollectingFailedDetails() throws Exception {
     verify(printer).print(find("ERROR.*cherry"));
   }
 
+  @Test
+  public void testCollectingAllDetails() throws Exception {
+    TestCase rootCase =
+        TestCase.newBuilder()
+            .setName("tests")
+            .setRunDurationMillis(5000L)
+            .addChild(newDetail("apple", TestCase.Status.FAILED, 1000L))
+            .addChild(newDetail("banana", TestCase.Status.PASSED, 1000L))
+            .addChild(newDetail("cherry", TestCase.Status.ERROR, 1000L))
+            .build();
+
+    TestSummary summary =
+        getTemplateBuilder().collectTestCases(rootCase).setStatus(BlazeTestStatus.FAILED).build();
+
+    AnsiTerminalPrinter printer = Mockito.mock(AnsiTerminalPrinter.class);
+    TestSummaryPrinter.print(summary, printer, Path::getPathString, true, true);
+    verify(printer).print(contains("//package:name"));
+    verify(printer).print(find("FAILED.*apple"));
+    verify(printer).print(find("PASSED.*banana"));
+    verify(printer).print(find("ERROR.*cherry"));
+  }
+
+  @Test
+  public void testCollectingPassedDetails() throws Exception {
+    TestCase rootCase =
+        TestCase.newBuilder()
+            .setName("tests")
+            .setRunDurationMillis(5000L)
+            .addChild(newDetail("apple", TestCase.Status.PASSED, 1000L))
+            .build();
+
+    TestSummary summary =
+        getTemplateBuilder().collectTestCases(rootCase).setStatus(BlazeTestStatus.PASSED).build();
+
+    AnsiTerminalPrinter printer = Mockito.mock(AnsiTerminalPrinter.class);
+    TestSummaryPrinter.print(summary, printer, Path::getPathString, true, true);
+    verify(printer).print(contains("//package:name"));
+    verify(printer).print(find("PASSED.*apple"));
+  }
+
   @Test
   public void countTotalTestCases() throws Exception {
     TestCase rootCase =
@@ -605,6 +669,10 @@ private ConfiguredTarget stubTarget() throws Exception {
     return target(PATH, TARGET_NAME);
   }
 
+  private TestSummary createPassedTestSummary(BlazeTestStatus status, List<TestCase> details) {
+    return getTemplateBuilder().setStatus(status).addPassedTestCases(details).build();
+  }
+
   private TestSummary createTestSummaryWithDetails(BlazeTestStatus status,
       List<TestCase> details) {
     TestSummary summary = getTemplateBuilder()
diff --git a/src/test/shell/bazel/bazel_test_test.sh b/src/test/shell/bazel/bazel_test_test.sh
index 4bee9e4a4178c4..b87b0a3f9f6457 100755
--- a/src/test/shell/bazel/bazel_test_test.sh
+++ b/src/test/shell/bazel/bazel_test_test.sh
@@ -645,7 +645,7 @@ EOF
   expect_log "name=\"dir/fail\""
 }
 
-function test_detailed_test_summary() {
+function test_detailed_test_summary_for_failed_test() {
   copy_examples
   create_workspace_with_default_repos WORKSPACE
   setup_javatest_support
@@ -658,6 +658,19 @@ function test_detailed_test_summary() {
   expect_log 'FAILED.*com\.example\.myproject\.Fail\.testFail'
 }
 
+function test_detailed_test_summary_for_passed_test() {
+  copy_examples
+  create_workspace_with_default_repos WORKSPACE
+  setup_javatest_support
+
+  local java_native_tests=//examples/java-native/src/test/java/com/example/myproject
+
+  bazel test --test_summary=detailed "${java_native_tests}:hello" >& $TEST_log \
+    || fail "expected success"
+  expect_log 'PASSED.*com\.example\.myproject\.TestHello\.testNoArgument'
+  expect_log 'PASSED.*com\.example\.myproject\.TestHello\.testWithArgument'
+}
+
 # This test uses "--ignore_all_rc_files" since outside .bazelrc files can pollute
 # this environment. Just "--bazelrc=/dev/null" is not sufficient to fix.
 function test_flaky_test() {