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

strip extra / from $DIR in sanity.sh

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Minor
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      We hit that several tests fail when $DIR has extra "/".

      == sanity test 226a: call path2fid and fid2path on files of all type == 06:27:59 (1394692079)
       sanity test_226a: @@@@@@ FAIL: fid2path returned /mnt/fs1/d0.sanity/d226/fifo, expected /mnt/fs1//d0.sanity/d226/fifo
      
      == sanity test 162: path lookup sanity == 05:17:42 (1394687862)
      fid 0x200001be7:0x59:0x0 resolves to path d0.sanity/d162/d2/f.sanity.162 (expected d0.sanity/d162/d2/f.sanity.162)
      fid 0x200001be7:0x66:0x0 resolves to path d0.sanity/d162/d2/p/q/r/slink (expected d0.sanity/d162/d2/p/q/r/slink)
      fid 0x200001be7:0x67:0x0 resolves to path d0.sanity/d162/d2/p/q/r/slink.wrong (expected d0.sanity/d162/d2/p/q/r/slink.wrong)
      fid 0x200001be7:0x59:0x0 resolves to path d0.sanity/d162/d2/a/b/c/new_file (expected d0.sanity/d162/d2/a/b/c/new_file)
       sanity test_162: @@@@@@ FAIL: path looked up "/mnt/fs1/d0.sanity/d162/d2/p/q/r/hlink" instead of "/mnt/fs1//d0.sanity/d162/d2/p/q/r/hlink" 
      

      Attachments

        Issue Links

          Activity

            People

              wc-triage WC Triage
              scherementsev Sergey Cheremencev
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: