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

test-framework does not cleanup the env for failed tests

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • Lustre 2.8.0
    • Lustre 2.5.3, Lustre 2.8.0
    • None
    • 3
    • Test Infrastructure
    • 17420

    Description

      if a test fails with an error, we just exit:

      error() {
      	error_noexit "$@"
      	exit 1
      }
      

      and therefore the end of run_one() does not execute, what means we do not cleanup the env settings (e.g. fail_loc) before running the next test.

      Attachments

        Issue Links

          Activity

            People

              wc-triage WC Triage
              gaurav_mahajan gaurav mahajan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: