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

interop: sanity test 311 fails with 'create_count is zero'

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.13.0
    • Lustre 2.13.0
    • 2.10.6 servers with master (>= 2.12.50) clients and 2.12.0 servers with master clients
    • 3
    • 9223372036854775807

    Description

      sanity test_311 is failing with the error 'create_count is zero' in interop testing. Test 311 was recently modified by a patch for LU-11605; https://review.whamcloud.com/#/c/33559/

             unlinkmany $DIR/$tdir/$tfile. 1000
       
      -       for idx in $(seq $MDSCOUNT); do
      -               do_facet mds$idx "lctl set_param -n \
      -                       osp.*OST0000*MDT000?.max_create_count=$max_count"
      -               do_facet mds$idx "lctl set_param -n \
      -                       osp.*OST0000*MDT000?.create_count=$count"
      -       done
      +       do_nodes $mdts "$LCTL set_param -n \
      +                       osp.*OST0000*.max_create_count=$max_count"
      +       [ $(lustre_version_code $facet) -lt $(version_code 2.11.56) ] &&
      +               do_nodes $mdts "$LCTL set_param -n \
      +                               osp.*OST0000*.create_count=$count"
      +       do_nodes $mdts "$LCTL get_param osp.*OST0000*.create_count" |
      +                       grep "=0" && error "create_count is zero"
       
              local new_iused
              for i in $(seq 120); do
      

      There’s at least one issue with this patch; $facet is never defined for this test and, if test 311 is run alone, $facet is not defined. It looks like we are checking the server version of the client. We should be checking the Lustre version of mds1. This may not be the only issue with the test.

      This test is failing for 2.10.6 servers with master (>= 2.12.50) clients and 2.12.0 servers with master clients. Logs for these failures are at:
      https://testing.whamcloud.com/test_sets/bc9b2380-2ea4-11e9-9b3a-52540065bddc
      https://testing.whamcloud.com/test_sets/fd4cd52a-2e56-11e9-9b3a-52540065bddc
      https://testing.whamcloud.com/test_sets/0f4dfb86-2b38-11e9-90fb-52540065bddc
      https://testing.whamcloud.com/test_sets/abd76ad6-292c-11e9-b901-52540065bddc
      https://testing.whamcloud.com/test_sets/002d2f4c-26e6-11e9-8486-52540065bddc

      Attachments

        Issue Links

          Activity

            [LU-11965] interop: sanity test 311 fails with 'create_count is zero'

            Patch to add version check landed to 2.13.

            jamesanunez James Nunez (Inactive) added a comment - Patch to add version check landed to 2.13.

            Hello James,
            Agree with Andreas - $MDS1_VERSION should help with sanity_311.

            scherementsev Sergey Cheremencev added a comment - Hello James, Agree with Andreas - $MDS1_VERSION should help with sanity_311.

            I've modified the patch for LU-11208, https://review.whamcloud.com/#/c/33420/ , to fix this issue. Please review the patch and see if you agree with the fix.

            jamesanunez James Nunez (Inactive) added a comment - I've modified the patch for LU-11208 , https://review.whamcloud.com/#/c/33420/ , to fix this issue. Please review the patch and see if you agree with the fix.

            Since this patch landed to master, I think the version check should be against 2.12.50.

            jamesanunez James Nunez (Inactive) added a comment - Since this patch landed to master, I think the version check should be against 2.12.50.
            adilger Andreas Dilger added a comment - - edited

            It might just need the use of "$MDS1_VERSION" instead of "$(lustre_version_code $facet)". $MDS1_VERSION is new for test scripts since v2_12_50-84-g4eb4479b0e.

            adilger Andreas Dilger added a comment - - edited It might just need the use of " $MDS1_VERSION " instead of " $(lustre_version_code $facet) ". $MDS1_VERSION is new for test scripts since v2_12_50-84-g4eb4479b0e .

            Sergey -
            Would you please look into this failure; I know that $facet needs to be defined/changed, but is there any other reason this test now fails in interop testing?

            Thank you

            jamesanunez James Nunez (Inactive) added a comment - Sergey - Would you please look into this failure; I know that $facet needs to be defined/changed, but is there any other reason this test now fails in interop testing? Thank you

            People

              jamesanunez James Nunez (Inactive)
              jamesanunez James Nunez (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: