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

sanity.sh subtest test_133d failed with "samedir_rename_size count error"

Details

    • Bug
    • Resolution: Fixed
    • Major
    • Lustre 2.3.0
    • Lustre 2.4.1, Lustre 2.6.0
    • 3
    • 4079

    Description

      This issue was created by maloo for Andreas Dilger <adilger@whamcloud.com>

      This issue relates to the following test suite run: https://maloo.whamcloud.com/test_sets/025d7aac-6ce3-11e1-9174-5254004bbbd3.

      This subtest is reporting 14% failure over the past 100 runs, so there must be some race or unexpected result causing the failure.

      The sub-test test_133d failed with the following error:

      samedir_rename_size count error

      Info required for matching: sanity 133d

      Attachments

        Issue Links

          Activity

            [LU-1209] sanity.sh subtest test_133d failed with "samedir_rename_size count error"
            jamesanunez James Nunez (Inactive) added a comment - Hit this on review-ldiskfs https://maloo.whamcloud.com/test_sets/ecfe391a-c41c-11e3-a793-52540035b04c
            utopiabound Nathaniel Clark added a comment - Hit issue on review-zfs on master (pre 2.6): https://maloo.whamcloud.com/test_sets/d1c63508-a095-11e3-aa36-52540035b04c
            yujian Jian Yu added a comment -

            Here is the fix http://review.whamcloud.com/#change,3298

            The above patch exists on Lustre b2_4 branch build #67. However, the test still failed:
            https://maloo.whamcloud.com/test_sets/596be6ba-6351-11e3-8c76-52540035b04c

            yujian Jian Yu added a comment - Here is the fix http://review.whamcloud.com/#change,3298 The above patch exists on Lustre b2_4 branch build #67. However, the test still failed: https://maloo.whamcloud.com/test_sets/596be6ba-6351-11e3-8c76-52540035b04c
            liwei Li Wei (Inactive) added a comment - https://maloo.whamcloud.com/test_sets/ecc68362-a14f-11e2-b1c3-52540035b04c
            sarah Sarah Liu added a comment -

            Hit this issue again when upgrade from 1.8.9 to 2.4 and then add one new MDT:

            https://maloo.whamcloud.com/test_sets/a02cc9b2-9ec5-11e2-975f-52540035b04c

            sarah Sarah Liu added a comment - Hit this issue again when upgrade from 1.8.9 to 2.4 and then add one new MDT: https://maloo.whamcloud.com/test_sets/a02cc9b2-9ec5-11e2-975f-52540035b04c

            Please reopen ticket if additional work is needed.

            jlevi Jodi Levi (Inactive) added a comment - Please reopen ticket if additional work is needed.

            Ah, we should get dir size after rename, since rename will change the dir size. Here is the fix http://review.whamcloud.com/#change,3298

            di.wang Di Wang (Inactive) added a comment - Ah, we should get dir size after rename, since rename will change the dir size. Here is the fix http://review.whamcloud.com/#change,3298
            di.wang Di Wang (Inactive) added a comment - - edited

            Hmm, the dir size is 32K, but somehow it record rename under 64K size. it seems dir size is not consistency during the whole process.

            di.wang Di Wang (Inactive) added a comment - - edited Hmm, the dir size is 32K, but somehow it record rename under 64K size. it seems dir size is not consistency during the whole process.
            == sanity test 133d: Verifying rename_stats ====== 19:02:48 (1341626568)
            mdt.lustre-MDT0000.rename_stats
            mdt.lustre-MDT0000.rename_stats=clear
            total: 512 creates in 0.91 seconds: 565.37 creates/second
            source rename dir size: 32K
            target rename dir size: 4K
            mdt.lustre-MDT0000.rename_stats=
            rename_stats:
            - snapshot_time:  1341626570.213120
            - same_dir       
                  64KB: { sample:   1, pct: 100, cum_pct: 100 }
            /usr/lib64/lustre/tests/sanity.sh: line 7552: [: : integer expression expected
             sanity test_133d: @@@@@@ FAIL: samedir_rename_size error
            
            adilger Andreas Dilger added a comment - == sanity test 133d: Verifying rename_stats ====== 19:02:48 (1341626568) mdt.lustre-MDT0000.rename_stats mdt.lustre-MDT0000.rename_stats=clear total: 512 creates in 0.91 seconds: 565.37 creates/second source rename dir size: 32K target rename dir size: 4K mdt.lustre-MDT0000.rename_stats= rename_stats: - snapshot_time: 1341626570.213120 - same_dir 64KB: { sample: 1, pct: 100, cum_pct: 100 } /usr/lib64/lustre/tests/sanity.sh: line 7552: [: : integer expression expected sanity test_133d: @@@@@@ FAIL: samedir_rename_size error

            Again: https://maloo.whamcloud.com/test_sets/2d51efd8-c7fe-11e1-ba35-52540035b04c

            It is currently reporting a 29% failure rate in Maloo.

            adilger Andreas Dilger added a comment - Again: https://maloo.whamcloud.com/test_sets/2d51efd8-c7fe-11e1-ba35-52540035b04c It is currently reporting a 29% failure rate in Maloo.
            ian Ian Colle (Inactive) added a comment - Happened again: https://maloo.whamcloud.com/test_sets/63204c18-c4d4-11e1-af06-52540035b04c

            People

              di.wang Di Wang (Inactive)
              maloo Maloo
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: