Details
-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
3
-
9223372036854775807
Description
replay-single test_89() does not error out on wait_mds_ost_sync and
wait_delete_completed timeout and error handling in wait_delete_completed_mds and wait_delete_completed in t-f needs correction.
wait_delete_complete() depends on the return code from wait_delete_completed_mds(), however wait_delete_completed_mds() does not return error code (non-zero) in case it could not wait until delete to be completed for some reason. This could mislead to test failure of mismatched block and suppress actual root cause.
wait_delete_completed() { wait_delete_completed_mds $1 || return $? <<<<< problem: wait_delete_completed does not actually return error code wait_destroy_complete }
Ideally we need to know if wait_delete_completed_mds() failed.