Async UL gtests do not check which asynchronous mode it's operating in, leading to test failures such as the one below:
gtest/AsyncLogGtest shows now this error, is this related (example from Linux aarch64 but we see errors on multiple platforms) :
[ OK ] AsyncLogTest.droppingMessage_vm (0 ms)
[ RUN ] AsyncLogTest.StallingModePreventsDroppedMessages_vm
/priv/jenkins/client-home/workspace/openjdk-jdk-linux_aarch64-dbg/jdk/test/hotspot/gtest/logging/test_asynclog.cpp:264: Failure
Value of: file_contains_substring(TestLogFileName, "messages dropped due to async logging")
Actual: true
Expected: false
[ FAILED ] AsyncLogTest.StallingModePreventsDroppedMessages_vm (0 ms)
[ RUN ] AsyncLogTest.stdoutOutput_vm
[ OK ] AsyncLogTest.stdoutOutput_vm (0 ms)
[ RUN ] AsyncLogTest.stderrOutput_vm
[ OK ] AsyncLogTest.stderrOutput_vm (1 ms)
[----------] 7 tests from AsyncLogTest (522 ms total)
[----------] Global test environment tear-down
[==========] 7 tests from 1 test suite ran. (522 ms total)
[ PASSED ] 6 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] AsyncLogTest.StallingModePreventsDroppedMessages_vm
gtest/AsyncLogGtest shows now this error, is this related (example from Linux aarch64 but we see errors on multiple platforms) :
[ OK ] AsyncLogTest.droppingMessage_vm (0 ms)
[ RUN ] AsyncLogTest.StallingModePreventsDroppedMessages_vm
/priv/jenkins/client-home/workspace/openjdk-jdk-linux_aarch64-dbg/jdk/test/hotspot/gtest/logging/test_asynclog.cpp:264: Failure
Value of: file_contains_substring(TestLogFileName, "messages dropped due to async logging")
Actual: true
Expected: false
[ FAILED ] AsyncLogTest.StallingModePreventsDroppedMessages_vm (0 ms)
[ RUN ] AsyncLogTest.stdoutOutput_vm
[ OK ] AsyncLogTest.stdoutOutput_vm (0 ms)
[ RUN ] AsyncLogTest.stderrOutput_vm
[ OK ] AsyncLogTest.stderrOutput_vm (1 ms)
[----------] 7 tests from AsyncLogTest (522 ms total)
[----------] Global test environment tear-down
[==========] 7 tests from 1 test suite ran. (522 ms total)
[ PASSED ] 6 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] AsyncLogTest.StallingModePreventsDroppedMessages_vm
- duplicates
-
JDK-8350824 New async logging gtest StallingModePreventsDroppedMessages fails
-
- Resolved
-