JDK-8262072 : gtest/MetaspaceGtests.java#reclaim-aggressive-debug failed metaspace.test_overwriter_vm_assert
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 17
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux
  • CPU: x86_64
  • Submitted: 2021-02-20
  • Updated: 2021-03-08
  • Resolved: 2021-03-08
Related Reports
Duplicate :  
Description
The following test failed in the JDK17 CI:

gtest/MetaspaceGtests.java#reclaim-aggressive-debug

Here's a snippet from the log file:

----------System.out:(275/17633)----------
Command line: [/opt/mach5/mesos/work_dir/jib-master/install/jdk-17+11-779/linux-x64-debug.test/hotspot/gtest/server/gtestLauncher -jdk /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+11-779/linux-x64-debug.jdk/jdk-17/fastdebug --gtest_output=xml:test_result.xml --gtest_catch_exceptions=0test_result.xml --gtest_filter=metaspace* -XX:MetaspaceReclaimPolicy=aggressive -XX:+UnlockDiagnosticVMOptions -XX:VerifyMetaspaceInterval=3]
[2021-02-20T02:14:23.714699363Z] Gathering output for process 25552
[2021-02-20T02:15:06.518172167Z] Waiting for completion for process 25552
[2021-02-20T02:15:06.518512940Z] Waiting for completion finished for process 25552
Output and diagnostic info for process 25552 was saved into 'pid-25552-output.log'
Note: Google Test filter = metaspace*
[==========] Running 117 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 117 tests from metaspace
[ RUN      ] metaspace.test_overwriter_vm_assert
/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S15017/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4a38b701-bf75-4a24-ba62-1d58cd535725/runs/f891cbeb-c1bc-4743-8840-4dac3d8aec0f/workspace/open/test/hotspot/gtest/metaspace/test_allocationGuard.cpp:47: Failure
Death test: child_metaspace_test_overwriter_()
    Result: died but not with expected exit code:
            Terminated by signal 6 (core dumped)
Actual msg:
[  DEATH   ] assert failed: assert(false) failed: Corrupt block fake message to satisfy tests
[  DEATH   ] [ FATAL ] /opt/mach5/mesos/work_dir/jib-master/install/jpg/infra/builddeps/gtest/1.8.1/gtest-1.8.1.tar.gz/googletest-release-1.8.1/googletest/include/gtest/internal/gtest-port.h:2182:: pthread_key_delete(key_)failed with error 22
[  DEATH   ] 
[  FAILED  ] metaspace.test_overwriter_vm_assert (6547 ms)
Comments
This is the same problem as JDK-8261916 with the gtest vm_assert tests.
08-03-2021

ILW = MMM = P3
23-02-2021