Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-8672

missing error handling in replay-single test_89

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.11.0
    • 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.

      Attachments

        Issue Links

          Activity

            People

              jamesanunez James Nunez (Inactive)
              maximus Ashish Purkar (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: