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

sanity test 317 uses uninitialized variable $facet

    XMLWordPrintable

Details

    • 3
    • 9223372036854775807

    Description

      sanity test 317 checks the file system type of $facet to determine if the test should be skipped. Unfortunately, facet is not initialized/defined in the test.

      19369 test_317() {
      19370         [ $MDS1_VERSION -lt $(version_code 2.11.53) ] &&
      19371                 skip "Need MDS version at least 2.11.53"
      19372         local trunc_sz
      19373         local grant_blk_size
      19374 
      19375         if [ "$(facet_fstype $facet)" == "zfs" ]; then
      19376                 skip "LU-10370: no implementation for ZFS" && return
      19377         fi
      ...
      

      We need to replace $facet with the correct server.

      Test 317 was added to sanity with patch https://review.whamcloud.com/31073 .

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: