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

strip extra / from $DIR in sanity.sh

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

            [LU-6614] strip extra / from $DIR in sanity.sh
            pjones Peter Jones added a comment -

            ok

            pjones Peter Jones added a comment - ok

            It is a dup of LU-7130. We can close it.

            scherementsev Sergey Cheremencev added a comment - It is a dup of LU-7130 . We can close it.

            Sergey Cheremencev (sergey_cheremencev@xyratex.com) uploaded a new patch: http://review.whamcloud.com/14849
            Subject: LU-6614 tests: handle $DIR extra slashes in sanity
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: ddfea4d76534717fa0d5883a926555cb3caa052a

            gerrit Gerrit Updater added a comment - Sergey Cheremencev (sergey_cheremencev@xyratex.com) uploaded a new patch: http://review.whamcloud.com/14849 Subject: LU-6614 tests: handle $DIR extra slashes in sanity Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: ddfea4d76534717fa0d5883a926555cb3caa052a

            People

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

              Dates

                Created:
                Updated:
                Resolved: