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

sanityn test_51c doesn't check lfs getstripe rc

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Minor
    • None
    • Lustre 2.4.1
    • None
    • 3
    • 13262

    Description

      test_51c fails fith FAIL: "layout wrong" message if getstripe cannot return valid stripecount

      + test_51c
      + mcreate /mnt/lustre/f.sanityn.51c
      + /usr/sbin/lctl set_param fail_loc=0x172
      fail_loc=0x172
      + echo 'Setting layout ...'
      Setting layout ...
      + pid=18818
      + sleep 1
      + /usr/bin/lfs setstripe -c 2 /mnt/lustre/f.sanityn.51c
      ++ /usr/bin/lfs getstripe -c /mnt/lustre2/f.sanityn.51c
      + local 'stripecnt=/mnt/lustre2/f.sanityn.51c has no stripe info'
                                                 ^^^^^^^^^^^^^^^^^^
      
      + '[' /mnt/lustre2/f.sanityn.51c has no stripe info -eq 2 ']'
      sanityn.sh: line 2345: [: too many arguments
      
      + error 'layout wrong'
      + error_noexit 'layout wrong'
      + local TYPE=FAIL
      + local dump=true
      + '[' 'xlayout wrong' = xfalse ']'
      + log ' sanityn test_51c: @@@@@@ FAIL: layout wrong '
      

      Attachments

        Activity

          People

            wc-triage WC Triage
            diff Alexander Lezhoev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: