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

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

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: