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

sanity-lfsck tests 9a and 9b skipped due to uninitialized server version

Details

    • Bug
    • Resolution: Fixed
    • Major
    • Lustre 2.11.0
    • Lustre 2.9.0, Lustre 2.10.0
    • 3
    • 9223372036854775807

    Description

      sanity-lfsck test_9a and test_9b are being skipped due to the following code:

      1019 test_9a() {
      1020         if [ -z "$(grep "processor.*: 1" /proc/cpuinfo)" ]; then
      1021                 skip "Testing on UP system, the speed may be inaccurate."
      1022                 return 0
      1023         fi
      1024 
      1025         [[ $server_version -ge $(version_code 2.7.50) ]] ||
      1026                 { skip "Need MDS version >= 2.7.50"; return; }
      

      The lustre_version_code function is never called to get the server version.

      Attachments

        Issue Links

          Activity

            [LU-9295] sanity-lfsck tests 9a and 9b skipped due to uninitialized server version

            Landed to master; future 2.11.0

            jamesanunez James Nunez (Inactive) added a comment - Landed to master; future 2.11.0

            Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/26403/
            Subject: LU-9295 test: skip sanity-lfsck 9 less than 2.8
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 7a3fa849bb96b8fb7faec8e5973e15265938a5c1

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/26403/ Subject: LU-9295 test: skip sanity-lfsck 9 less than 2.8 Project: fs/lustre-release Branch: master Current Patch Set: Commit: 7a3fa849bb96b8fb7faec8e5973e15265938a5c1

            James Nunez (james.a.nunez@intel.com) uploaded a new patch: https://review.whamcloud.com/26403
            Subject: LU-9295 test: sanity-lfsck 9a,b needs server version
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: d59c01970c4c8262bb26d3f20ba7bdb6e6bf4918

            gerrit Gerrit Updater added a comment - James Nunez (james.a.nunez@intel.com) uploaded a new patch: https://review.whamcloud.com/26403 Subject: LU-9295 test: sanity-lfsck 9a,b needs server version Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: d59c01970c4c8262bb26d3f20ba7bdb6e6bf4918

            People

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

              Dates

                Created:
                Updated:
                Resolved: