pmdk icon indicating copy to clipboard operation
pmdk copied to clipboard

Test RAS Unsafe Shutdown Local: `TC_SYNC_LOCAL_REPLICA_phase_1/7` is failing

Open draghan opened this issue 5 years ago • 2 comments

ISSUE: Test RAS Unsafe Shutdown Local: TC_SYNC_LOCAL_REPLICA_phase_1/7 is failing

Environment Information

  • PMDK package version(s): PMDK revision f87b1899fb989144420b042acb75e0d40607161f
  • pmdk-tests revision: e6d4935aa9e95a05c37bb0e00cae25cd58470476
  • OS(es) version(s): Fedora 31, Windows Server 2019 v1809

Please provide a reproduction of the bug:

  1. Build and install PMDK from source.
  2. Build pmdk-tests.
  3. Run first phase: pmdk-test/build/UNSAFE_SHUTDOWN_LOCAL 1 inject all --gtest_output=xml:./phase1.xml

How often bug is revealed: (always, often, rare): always

Actual behavior:

Test UnsafeShutdown/SyncLocalReplica.TC_SYNC_LOCAL_REPLICA_phase_1/7 is failing with the following output:

"stdout_lines": [
             "Note: Google Test filter = *phase_1**", 
UnsafeShutdown/SyncLocalReplica.TC_SYNC_LOCAL_REPLICA_phase_1/7", 
             "/opt/rasUnsafeShutdown/pmdk-tests/src/tests/ras/unsafe_shutdown/local_replicas_tests.cc:76: Failure", 
             "Value of: pop_ != nullptr", 
             "  Actual: false", 
             "Expected: true", 
             "Error while creating the pool. Errno:2", 
             "Unsafe shutdown count is not supported for this source", 
             "[  FAILED  ] UnsafeShutdown/SyncLocalReplica.TC_SYNC_LOCAL_REPLICA_phase_1/7, where GetParam() = Master and secondary replica partially on non-pmem, partially on two unsafely shutdown dimms. (6 ms)", 
             "[----------] 9 tests from UnsafeShutdown/SyncLocalReplica (571 ms total)", 
             "[----------] Global test environment tear-down", 
             "[==========] 28 tests from 7 test cases ran. (1255 ms total)", 
             "[  PASSED  ] 27 tests.", 
             "[  FAILED  ] 1 test, listed below:", 
             "[  FAILED  ] UnsafeShutdown/SyncLocalReplica.TC_SYNC_LOCAL_REPLICA_phase_1/7, where GetParam() = Master and secondary replica partially on non-pmem, partially on two unsafely shutdown dimms.", 
             "", 
             " 1 FAILED TEST"
         ]

Expected behavior:

Tests are passing.

draghan avatar Sep 23 '20 08:09 draghan

This is likely the same issue as #4983, so I'll focus on that first.

pbalcer avatar Sep 23 '20 08:09 pbalcer

@draghan is this still an issue?

pbalcer avatar Feb 02 '21 09:02 pbalcer

This issue seems inactive now, if you still have some questions, please re-open it.

lukaszstolarczuk avatar Mar 13 '23 11:03 lukaszstolarczuk