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

sanity test_160b test_160c tests defect: changelog user is not deregistered on test failure

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • Lustre 2.9.0
    • Lustre 2.5.0
    • single node, 4-node
    • 3
    • 9223372036854775807

    Description

      The test 160b and 160c of sanity does not deregister the changelog users that they have registered so if tests which run "changelog_register" fails before "changelog_deregister $USER", then "changelog_deregister $USER" never gets executed and all changes (such as file creation, deletion, etc.) are still recorded. This can be the reason why tests stdouts are huge, they contain "lfs changelog lustre-MDT0000" results.

      Example :

      test_160b () {
      ...
          USER=$(do_facet $SINGLEMDS $LCTL --device $MDT0 changelog_register -n)
      ...
          touch $LONGNAME1 || error "create of $LONGNAME1 failed"
      ...
          echo "deregistering $USER"
          do_facet $SINGLEMDS $LCTL --device $MDT0 changelog_deregister $USER
      ...
      }
      

      Attachments

        Activity

          People

            wc-triage WC Triage
            kirtan Kirtan Shetty (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: