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

sanityn test_33c: FAIL: Sync-Lock-Cancel not triggered

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.12.0, Lustre 2.10.6
    • Lustre 2.11.0, Lustre 2.12.0, Lustre 2.10.4
    • DNE
    • 3
    • 9223372036854775807

    Description

      sanityn test 33c failed as follows:

      == sanityn test 33c: Cancel cross-MDT lock should trigger Sync-Lock-Cancel == 13:45:22 (1461159922)
      CMD: trevis-18vm4 lctl set_param -n mdt.*.sync_count=0
      CMD: trevis-18vm4 lctl get_param -n mdt.*MDT0000.sync_count
       sanityn test_33c: @@@@@@ FAIL: Sync-Lock-Cancel not triggered 
      

      https://testing.hpdd.intel.com/test_sets/68b87826-0729-11e6-9e5d-5254006e85c2
      https://testing.hpdd.intel.com/test_sets/59057162-f7a8-11e5-a964-5254006e85c2

      Attachments

        Issue Links

          Activity

            [LU-8200] sanityn test_33c: FAIL: Sync-Lock-Cancel not triggered
            artem_blagodarenko Artem Blagodarenko (Inactive) added a comment - Looks like the same fail  https://testing.whamcloud.com/test_sets/6c09aaee-f804-11e8-bfe1-52540065bddc

            John L. Hammond (jhammond@whamcloud.com) merged in patch https://review.whamcloud.com/33057/
            Subject: LU-8200 test: improve sanityn.sh 33c
            Project: fs/lustre-release
            Branch: b2_10
            Current Patch Set:
            Commit: 1d570d64523cddb89683ea37acf2bab06ffc31be

            gerrit Gerrit Updater added a comment - John L. Hammond (jhammond@whamcloud.com) merged in patch https://review.whamcloud.com/33057/ Subject: LU-8200 test: improve sanityn.sh 33c Project: fs/lustre-release Branch: b2_10 Current Patch Set: Commit: 1d570d64523cddb89683ea37acf2bab06ffc31be
            yujian Jian Yu added a comment - The same failure also occurred on Lustre b2_10 branch: https://testing.whamcloud.com/test_sets/16e06700-a67a-11e8-8853-52540065bddc https://testing.whamcloud.com/test_sets/2f409660-a5b9-11e8-8853-52540065bddc

            Jian Yu (yujian@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/33057
            Subject: LU-8200 test: improve sanityn.sh 33c
            Project: fs/lustre-release
            Branch: b2_10
            Current Patch Set: 1
            Commit: 987f497ff0b593d550939c7f2d19dc0f0b3e750f

            gerrit Gerrit Updater added a comment - Jian Yu (yujian@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/33057 Subject: LU-8200 test: improve sanityn.sh 33c Project: fs/lustre-release Branch: b2_10 Current Patch Set: 1 Commit: 987f497ff0b593d550939c7f2d19dc0f0b3e750f
            pjones Peter Jones added a comment -

            Landed for 2.12

            pjones Peter Jones added a comment - Landed for 2.12

            Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/31673/
            Subject: LU-8200 test: improve sanityn.sh 33c
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 04c4b9c2a121e76881f8b387a4721069418c92f0

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/31673/ Subject: LU-8200 test: improve sanityn.sh 33c Project: fs/lustre-release Branch: master Current Patch Set: Commit: 04c4b9c2a121e76881f8b387a4721069418c92f0
            sarah Sarah Liu added a comment - +1 on master https://testing.hpdd.intel.com/test_sets/16cdb996-2dbe-11e8-b3c6-52540065bddc

            Lai Siyao (lai.siyao@intel.com) uploaded a new patch: https://review.whamcloud.com/31673
            Subject: LU-8200 test: improve sanityn.sh 33c
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: fa55e42097860d5f4e4f54fe3f9f112ce76234a2

            gerrit Gerrit Updater added a comment - Lai Siyao (lai.siyao@intel.com) uploaded a new patch: https://review.whamcloud.com/31673 Subject: LU-8200 test: improve sanityn.sh 33c Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: fa55e42097860d5f4e4f54fe3f9f112ce76234a2
            laisiyao Lai Siyao added a comment -
            00000004:00010000:1.0:1520923781.248558:0:27183:0:(mdt_handler.c:3061:mdt_save_lock()) ### save lock request ffff880057f29500 reply state ffff88004cc65400 transno 21474854652
             ns: mdt-lustre-MDT0001_UUID lock: ffff880056833440/0xe4e33dfd44c7d30a lrc: 3/0,1 mode: PW/PW res: [0x240002344:0x177d:0x0].0x0 bits 0x2/0x0 rrc: 2 type: IBT flags: 0x40210000000000 nid: local remote: 0x0 expref: -99 pid: 27183 timeout: 0 lvb_type: 0
            00000004:00080000:1.0:1520923781.248569:0:27183:0:(osp_object.c:1304:osp_invalidate()) Invalidate osp_object [0x200002b14:0x53:0x0]
            00010000:00010000:0.0:1520923781.358449:0:23490:0:(ldlm_request.c:1054:ldlm_cli_cancel_local()) ### client-side cancel ns: lustre-MDT0000-osp-MDT0001 lock: ffff88005906d8c0/0xe4e33dfd44c7d303 lrc: 3/0,0 mode: EX/EX res: [0x200002b14:0x53:0x0].0x0 bits 0x2/0x0 rrc: 2 type: IBT flags: 0x1008401000000 nid: local remote: 0xa40766a0045d15ef expref: -99 pid: 27183 timeout: 0 lvb_type: 0
            00000004:00010000:0.0:1520923781.358460:0:23490:0:(mdt_handler.c:2692:mdt_remote_blocking_ast()) ### Revoke remote lock
             ns: lustre-MDT0000-osp-MDT0001 lock: ffff88005906d8c0/0xe4e33dfd44c7d303 lrc: 3/0,0 mode: EX/EX res: [0x200002b14:0x53:0x0].0x0 bits 0x2/0x0 rrc: 2 type: IBT flags: 0x1009401000000 nid: local remote: 0xa40766a0045d15ef expref: -99 pid: 27183 timeout: 0 lvb_type: 0
            
            

            The log shows transaction was committed before unlock, so the remote lock is not saved, but put right away. That's why Sync-Lock-Cancel is not triggered.

            laisiyao Lai Siyao added a comment - 00000004:00010000:1.0:1520923781.248558:0:27183:0:(mdt_handler.c:3061:mdt_save_lock()) ### save lock request ffff880057f29500 reply state ffff88004cc65400 transno 21474854652 ns: mdt-lustre-MDT0001_UUID lock: ffff880056833440/0xe4e33dfd44c7d30a lrc: 3/0,1 mode: PW/PW res: [0x240002344:0x177d:0x0].0x0 bits 0x2/0x0 rrc: 2 type: IBT flags: 0x40210000000000 nid: local remote: 0x0 expref: -99 pid: 27183 timeout: 0 lvb_type: 0 00000004:00080000:1.0:1520923781.248569:0:27183:0:(osp_object.c:1304:osp_invalidate()) Invalidate osp_object [0x200002b14:0x53:0x0] 00010000:00010000:0.0:1520923781.358449:0:23490:0:(ldlm_request.c:1054:ldlm_cli_cancel_local()) ### client-side cancel ns: lustre-MDT0000-osp-MDT0001 lock: ffff88005906d8c0/0xe4e33dfd44c7d303 lrc: 3/0,0 mode: EX/EX res: [0x200002b14:0x53:0x0].0x0 bits 0x2/0x0 rrc: 2 type: IBT flags: 0x1008401000000 nid: local remote: 0xa40766a0045d15ef expref: -99 pid: 27183 timeout: 0 lvb_type: 0 00000004:00010000:0.0:1520923781.358460:0:23490:0:(mdt_handler.c:2692:mdt_remote_blocking_ast()) ### Revoke remote lock ns: lustre-MDT0000-osp-MDT0001 lock: ffff88005906d8c0/0xe4e33dfd44c7d303 lrc: 3/0,0 mode: EX/EX res: [0x200002b14:0x53:0x0].0x0 bits 0x2/0x0 rrc: 2 type: IBT flags: 0x1009401000000 nid: local remote: 0xa40766a0045d15ef expref: -99 pid: 27183 timeout: 0 lvb_type: 0 The log shows transaction was committed before unlock, so the remote lock is not saved, but put right away. That's why Sync-Lock-Cancel is not triggered.

            Lai Siyao (lai.siyao@intel.com) uploaded a new patch: https://review.whamcloud.com/31655
            Subject: LU-8200 test: improve sanityn.sh 33c
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 84d03889eb2a663d927936b443b84445cfdce35f

            gerrit Gerrit Updater added a comment - Lai Siyao (lai.siyao@intel.com) uploaded a new patch: https://review.whamcloud.com/31655 Subject: LU-8200 test: improve sanityn.sh 33c Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 84d03889eb2a663d927936b443b84445cfdce35f
            mdiep Minh Diep added a comment - +1 on b2_10: https://testing.hpdd.intel.com/test_sets/0252b3d4-0219-11e8-bd00-52540065bddc

            People

              laisiyao Lai Siyao
              yujian Jian Yu
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: