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

tests: fix bash expansion of FIDs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • Lustre 2.8.0
    • Lustre 2.7.0
    • 3
    • 17351

      When calling lfs path2fid, and FID is returned between bracket. When that fid variable is used, it is then expanded by the shell to something else. For instance when it is given to fid2path, it returns an error:

      $ ../utils/lfs fid2path lustre [0x200000be7:0xb:0x0]
      bad FID format [x], should be [0x1:0x2:0x0]

      fid2path: error on FID x: Invalid argument

      This will cause some tests, such as 154A or test_238 to fail under certain conditions, such as being called with:

      ONLY=154A PDSH=ssh AGTCOUNT=1 agt1_HOST=localhost \
      NAME=local sh ./sanity.sh

            wc-triage WC Triage
            fzago Frank Zago (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: