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

conf-sanity test 20 fails in local setup

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.11.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      I just noticed that conf-sanity test 20 fails on local setup because of overly greedy grep match:

              MCNT=$(grep -c $MOUNT /etc/mtab)
              [ "$MCNT" -ne 1 ] && error "$MOUNT in /etc/mtab $MCNT times"
      

      for local setup where osts and mdt are mounted at /mnt/lustre-

      {ost,mdt}

      this returns 3:

       conf-sanity test_20: @@@@@@ FAIL: /mnt/lustre in /etc/mtab 3 times
      

      Attachments

        Activity

          [LU-10201] conf-sanity test 20 fails in local setup
          green Oleg Drokin added a comment -

          patch landed to master for 2.11

          green Oleg Drokin added a comment - patch landed to master for 2.11

          Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/29957/
          Subject: LU-10201 tests: Fix overly greedy grep in conf_sanity test 20
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: d649aad0adfc27d7a02ce62c91d35430177719c4

          gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/29957/ Subject: LU-10201 tests: Fix overly greedy grep in conf_sanity test 20 Project: fs/lustre-release Branch: master Current Patch Set: Commit: d649aad0adfc27d7a02ce62c91d35430177719c4

          Oleg Drokin (oleg.drokin@intel.com) uploaded a new patch: https://review.whamcloud.com/29957
          Subject: LU-10201 tests: Fix overly greedy grep in conf_sanity test 20
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: c30383037c9f20aba72f405a3dda8c6fdf256b4f

          gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) uploaded a new patch: https://review.whamcloud.com/29957 Subject: LU-10201 tests: Fix overly greedy grep in conf_sanity test 20 Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: c30383037c9f20aba72f405a3dda8c6fdf256b4f

          People

            green Oleg Drokin
            green Oleg Drokin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: