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

test-framework does not cleanup the env for failed tests

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

            [LU-6225] test-framework does not cleanup the env for failed tests
            adilger Andreas Dilger made changes -
            Link New: This issue is duplicated by LU-2312 [ LU-2312 ]
            jgmitter Joseph Gmitter (Inactive) made changes -
            Fix Version/s New: Lustre 2.8.0 [ 11113 ]
            Resolution New: Fixed [ 1 ]
            Status Original: Open [ 1 ] New: Resolved [ 5 ]
            standan Saurabh Tandan (Inactive) made changes -
            Remote Link New: This issue links to "Page (HPDD Community Wiki)" [ 16452 ]
            standan Saurabh Tandan (Inactive) made changes -
            Remote Link New: This issue links to "Page (HPDD Community Wiki)" [ 16360 ]
            standan Saurabh Tandan (Inactive) made changes -
            Remote Link New: This issue links to "Page (HPDD Community Wiki)" [ 16095 ]
            sarah Sarah Liu made changes -
            Affects Version/s New: Lustre 2.8.0 [ 11113 ]
            standan Saurabh Tandan (Inactive) made changes -
            Remote Link New: This issue links to "Page (HPDD Community Wiki)" [ 15983 ]
            standan Saurabh Tandan (Inactive) made changes -
            Remote Link New: This issue links to "Page (HPDD Community Wiki)" [ 15776 ]
            standan Saurabh Tandan (Inactive) made changes -
            Remote Link New: This issue links to "Page (HPDD Community Wiki)" [ 15707 ]
            standan Saurabh Tandan (Inactive) made changes -
            Remote Link Original: This issue links to "Page (HPDD Community Wiki)" [ 15514 ] New: This issue links to "Page (HPDD Community Wiki)" [ 15514 ]

            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: