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

Some tests in the framework do not properly mark their beginning and end. For example test_27b in sanity.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.10.1, Lustre 2.11.0
    • Lustre 2.1.0, Lustre 1.8.6
    • None
    • 3
    • 6085

    Description

      Problem:
      Some tests in the framework do not correctly use run_test at the beginning meaning they are not logged.

      For example below test 27b is just calling log at the beginning.

      test_27a() {
      echo '== stripe sanity =============================================='
      mkdir -p $DIR/d27 || error "mkdir failed"
      $GETSTRIPE $DIR/d27
      $SETSTRIPE $DIR/d27/f0 -c 1 || error "lstripe failed"
      $CHECKSTAT -t file $DIR/d27/f0 || error "checkstat failed"
      pass
      log "== test 27b: write to one stripe file ========================="
      cp /etc/hosts $DIR/d27/f0 || error
      }
      run_test 27a "one stripe file =================================="

      These need to be fixed up.

      Solution:
      To find all the incorrect tests will prove dificult, if they take the format above then a grep can find them, this incorrect logs also cause misshapend names in the autotest logs. Once found they can easily be normalised. Changes made will need to apply to 2.1 and 1.8

      Attachments

        Activity

          People

            wc-triage WC Triage
            chris Chris Gearing (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: