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

Make error_ignore accept a general string for bug number

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • Lustre 2.6.0
    • Lustre 2.4.1, Lustre 2.5.0, Lustre 2.6.0
    • None
    • 10063

    Description

      The error_ignore is a routine that allows a test to run and, if an error occurs, the error is ignored, but a message is printed. The message is composed of a bug number and user defined message. The bug number is assumed to be a bugzilla number:

      local TYPE="IGNORE (bz$1)"
      

      The error_ignore routine should be changed from assuming that the first parameter is a bugzilla number to just take the whole ticket number (bzXXX or LU-XXX or any string).

      There are 13 calls to error_ignore that will need to be modified:
      ost-pools.sh: error_ignore 23408 "Degradation with wide pool is $diff% > $max%"
      ost-pools.sh: error_ignore 23408 "Degradation with wide pool is $diff% > $max%"
      recovery-small.sh: [ $rc -eq 0 ] && error_ignore 5494 "multiop didn't fail fsync: rc $rc" || true
      recovery-small.sh: error_ignore 5494 "multiop didn't fail fsync: $rc1 or close: $rc2" ||
      recovery-small.sh: [ $rc -eq 0 ] || error_ignore 13652 "writemany returned rc $rc" || true
      recovery-small.sh: [ $rc -eq 0 ] || error_ignore 13652 "writemany returned rc $rc" || true
      recovery-small.sh: error_ignore 17935 $*
      replay-single.sh: [ $ATTEMPTS -gt 0 ] && error_ignore 13721 "AT should have prevented reconnect"
      sanity.sh: error_ignore "QOS imbalance criteria not met"
      sanity.sh: [ $MAXC -gt $MINC ] || error_ignore "stripe QOS didn't balance free space"
      sanity.sh: error_ignore 20762 "IN CACHE: before: $BEFORE, after: $AFTER"
      sanity.sh: error_ignore 20762 "IN CACHE: before: $BEFORE, after: $AFTER"
      sanity.sh: error_ignore 17935 $*

      Attachments

        Issue Links

          Activity

            People

              jamesanunez James Nunez (Inactive)
              jamesanunez James Nunez (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: