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

sanity.sh test_81b failed with "dd should fail for -ENOSPC, but succeed"

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • Lustre 2.2.0, Lustre 2.1.1, Lustre 2.1.2
    • None
    • 3
    • 4249

    Description

      This issue was created by maloo for sarah <sarah@whamcloud.com>

      This issue relates to the following test suite run: https://maloo.whamcloud.com/test_sets/d3d44298-114c-11e1-ad46-52540025f9af.
      Found similar error in ORI-403

      Attachments

        1. 869.tar.gz
          1.25 MB
        2. LU-869-debug.patch
          0.6 kB

        Issue Links

          Activity

            [LU-869] sanity.sh test_81b failed with "dd should fail for -ENOSPC, but succeed"

            it looks like this issue can only be seen on suse clients. I don't know what's the difference between rhel and suse clients.

            jay Jinshan Xiong (Inactive) added a comment - it looks like this issue can only be seen on suse clients. I don't know what's the difference between rhel and suse clients.
            sarah Sarah Liu added a comment -

            Got this issue on 2.2-RC1 test, RHEL6 server/SUSE client:
            https://maloo.whamcloud.com/test_sets/5c52111e-70f6-11e1-a89e-5254004bbbd3

            sarah Sarah Liu added a comment - Got this issue on 2.2-RC1 test, RHEL6 server/SUSE client: https://maloo.whamcloud.com/test_sets/5c52111e-70f6-11e1-a89e-5254004bbbd3
            bobijam Zhenyu Xu added a comment -

            another hit for 2.2 https://maloo.whamcloud.com/test_sets/9d70bce8-6ed7-11e1-b737-5254004bbbd3

            == sanity test 81b: OST should return -ENOSPC when retry still fails ================================= 21:47:12 (1331786832)
            fail_loc=0x228
            write: Input/output error
             sanity test_81b: @@@@@@ FAIL: dd should fail for -ENOSPC, but succeed. 
            
            bobijam Zhenyu Xu added a comment - another hit for 2.2 https://maloo.whamcloud.com/test_sets/9d70bce8-6ed7-11e1-b737-5254004bbbd3 == sanity test 81b: OST should return -ENOSPC when retry still fails ================================= 21:47:12 (1331786832) fail_loc=0x228 write: Input/output error sanity test_81b: @@@@@@ FAIL: dd should fail for -ENOSPC, but succeed.

            Hi, Andreas, did your tests pass or not?

            I tried the tests locally, and they all passed, I think the EIO error messages are what we expected, since these tests are trying to create file after exhausting the precreation, and that should get EIO error from the server. (see qos_prep_create()->alloc_idx_array(), when we fail to create any stripe, -EIO will be returned the client)

            niu Niu Yawei (Inactive) added a comment - Hi, Andreas, did your tests pass or not? I tried the tests locally, and they all passed, I think the EIO error messages are what we expected, since these tests are trying to create file after exhausting the precreation, and that should get EIO error from the server. (see qos_prep_create()->alloc_idx_array(), when we fail to create any stripe, -EIO will be returned the client)

            Niu, could you please run this test locally to try and debug it. I'm repeatedly seeing IO errors running sanity.sh test_27[opqv] during file object creations running on a RHEL6 kernel.

            adilger Andreas Dilger added a comment - Niu, could you please run this test locally to try and debug it. I'm repeatedly seeing IO errors running sanity.sh test_27 [opqv] during file object creations running on a RHEL6 kernel.

            Thanks, Sarah. The log shows that AS_ENOSPC was set on the proper i_mapping, and I can't tell why it's not transfered to -ENOSPCE in wait_on_page_writeback_range() from the kernel code.

            niu Niu Yawei (Inactive) added a comment - Thanks, Sarah. The log shows that AS_ENOSPC was set on the proper i_mapping, and I can't tell why it's not transfered to -ENOSPCE in wait_on_page_writeback_range() from the kernel code.
            sarah Sarah Liu added a comment - https://maloo.whamcloud.com/test_sets/6e7dd01e-599d-11e1-a26b-5254004bbbd3 For server log please the attached.

            ok, I uploaded the diagnostic patch in the patchset 2 of http://review.whamcloud.com/#change,1748

            niu Niu Yawei (Inactive) added a comment - ok, I uploaded the diagnostic patch in the patchset 2 of http://review.whamcloud.com/#change,1748
            sarah Sarah Liu added a comment -

            Hi Niu, could you please just submit the patch to review and tell me the build number?

            Thanks.

            sarah Sarah Liu added a comment - Hi Niu, could you please just submit the patch to review and tell me the build number? Thanks.

            Hi Niu, do you mean this patch? http://review.whamcloud.com/#change,1748

            I meant the patch attached here: LU-869-debug.patch.

            niu Niu Yawei (Inactive) added a comment - Hi Niu, do you mean this patch? http://review.whamcloud.com/#change,1748 I meant the patch attached here: LU-869 -debug.patch.
            sarah Sarah Liu added a comment -

            Hi, Sarah
            Could you apply this debug patch to client and repeat the test with D_TRACE & D_PAGE enabled?

            Hi Niu, do you mean this patch? http://review.whamcloud.com/#change,1748

            sarah Sarah Liu added a comment - Hi, Sarah Could you apply this debug patch to client and repeat the test with D_TRACE & D_PAGE enabled? Hi Niu, do you mean this patch? http://review.whamcloud.com/#change,1748

            People

              niu Niu Yawei (Inactive)
              maloo Maloo
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: