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

sanityn 77f test failed Lustre: DEBUG MARKER: sanityn test_77f: @@@@@@ FAIL: failed to operate on TBF rules

Details

    • Bug
    • Resolution: Fixed
    • Major
    • Lustre 2.8.0
    • Lustre 2.8.0
    • 3
    • 9223372036854775807

    Description

      stdout.log

      == sanityn test 77f: check TBF JobID nrs policy == 15:43:56 (1438011836)
      ost.OSS.ost_io.nrs_policies=tbf jobid
      ost.OSS.ost_io.nrs_policies=tbf jobid
      error: set_param: ost/OSS/ost_io/nrs_tbf_rule: Found no match
       sanityn test_77f: @@@@@@ FAIL: failed to operate on TBF rules 
        Trace dump:
        = /usr/lib64/lustre/tests/../tests/test-framework.sh:4732:error_noexit()
        = /usr/lib64/lustre/tests/../tests/test-framework.sh:4763:error()
        = /usr/lib64/lustre/tests/sanityn.sh:2943:tbf_rule_operate()
        = /usr/lib64/lustre/tests/sanityn.sh:3008:test_77f()
        = /usr/lib64/lustre/tests/../tests/test-framework.sh:5010:run_one()
        = /usr/lib64/lustre/tests/../tests/test-framework.sh:5047:run_one_logged()
        = /usr/lib64/lustre/tests/../tests/test-framework.sh:4864:run_test()
        = /usr/lib64/lustre/tests/sanityn.sh:3043:main()
      Dumping lctl log to /tmp/test_logs/1438011830/sanityn.test_77f.*.1438011837.log
      FAIL 77f (1s)
      sanityn: FAIL: test_77f failed to operate on TBF rules
      Stopping clients: fre0107,fre0108 /mnt/lustre2 (opts:)
      Stopping client fre0108 /mnt/lustre2 opts:
      

      Attachments

        Issue Links

          Activity

            [LU-6921] sanityn 77f test failed Lustre: DEBUG MARKER: sanityn test_77f: @@@@@@ FAIL: failed to operate on TBF rules

            I finally figured out why this test wasn't failing in our testing - in facet_host() it uses $ost_HOST for any facet named ostX if there isn't an explicit $ost0_HOST set in the configuration.

            In any case, the patch has been landed to master for 2.8.0.

            adilger Andreas Dilger added a comment - I finally figured out why this test wasn't failing in our testing - in facet_host() it uses $ost_HOST for any facet named ostX if there isn't an explicit $ost0_HOST set in the configuration. In any case, the patch has been landed to master for 2.8.0.

            Andreas Dilger (andreas.dilger@intel.com) merged in patch http://review.whamcloud.com/16305/
            Subject: LU-6921 test: failed to operate on TBF rules
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: abbef8759e93c31a2c88ba650a04ae9076600afa

            gerrit Gerrit Updater added a comment - Andreas Dilger (andreas.dilger@intel.com) merged in patch http://review.whamcloud.com/16305/ Subject: LU-6921 test: failed to operate on TBF rules Project: fs/lustre-release Branch: master Current Patch Set: Commit: abbef8759e93c31a2c88ba650a04ae9076600afa

            http://review.whamcloud.com/#/c/16305/ is ready to be merged - Andreas and Li have given positive reviews.

            kshah Kalpak Shah (Inactive) added a comment - http://review.whamcloud.com/#/c/16305/ is ready to be merged - Andreas and Li have given positive reviews.

            Hello Suarabh,

            Can you please try the patch http://review.whamcloud.com/#/c/16305/ and check if it fixes the problem.

            Thanks,

            vinayakh Vinayak (Inactive) added a comment - Hello Suarabh, Can you please try the patch http://review.whamcloud.com/#/c/16305/ and check if it fixes the problem. Thanks,

            Encountered same issue for sanity test_77g.

            20:26:40:CMD: onyx-38vm4 lctl set_param ost.OSS.ost_io.nrs_tbf_rule=start\ dd_runas\ {dd.500}\ 50
            20:26:40:onyx-38vm4: error: set_param: setting /proc/fs/lustre/ost/OSS/ost_io/nrs_tbf_rule=start dd_runas {dd.500} 50: Invalid argument
            20:26:41:ost.OSS.ost_io.nrs_tbf_rule=start dd_runas {dd.500} 50
            20:26:42: sanityn test_77g: @@@@@@ FAIL: failed to operate on TBF rules 
            
            standan Saurabh Tandan (Inactive) added a comment - Encountered same issue for sanity test_77g. 20:26:40:CMD: onyx-38vm4 lctl set_param ost.OSS.ost_io.nrs_tbf_rule=start\ dd_runas\ {dd.500}\ 50 20:26:40:onyx-38vm4: error: set_param: setting /proc/fs/lustre/ost/OSS/ost_io/nrs_tbf_rule=start dd_runas {dd.500} 50: Invalid argument 20:26:41:ost.OSS.ost_io.nrs_tbf_rule=start dd_runas {dd.500} 50 20:26:42: sanityn test_77g: @@@@@@ FAIL: failed to operate on TBF rules

            Hello Andreas,

            I have rebased the patch.

            http://review.whamcloud.com/#/c/16305/. Please let me know if anything else to be done.

            vinayakh Vinayak (Inactive) added a comment - Hello Andreas, I have rebased the patch. http://review.whamcloud.com/#/c/16305/ . Please let me know if anything else to be done.
            vinayakh Vinayak (Inactive) added a comment - - edited

            Can anyone please let me know what is the behavior of this part (type) of script in sanityn.sh, test_77e, 77f, 77g

                    tbf_rule_operate ost0 "start\ localhost\ {0@lo}\ 1000"
            

            It is failing with
            "error: set_param: ost/OSS/ost_io/nrs_tbf_rule: Found no match" on my local set up.

            Is this behavior same on your side also ? Looks like ost0 is not correctly interpreted on my side.

            If passes,
            do we need to specify anything explicitly to make test work for ost0 (any changes to frame work or any environment variable need to set etc).

            I am using 4 node set up (2 OSTs, 1 MDS, 2 clients)

            vinayakh Vinayak (Inactive) added a comment - - edited Can anyone please let me know what is the behavior of this part (type) of script in sanityn.sh, test_77e, 77f, 77g tbf_rule_operate ost0 "start\ localhost\ {0@lo}\ 1000" It is failing with "error: set_param: ost/OSS/ost_io/nrs_tbf_rule: Found no match" on my local set up. Is this behavior same on your side also ? Looks like ost0 is not correctly interpreted on my side. If passes, do we need to specify anything explicitly to make test work for ost0 (any changes to frame work or any environment variable need to set etc). I am using 4 node set up (2 OSTs, 1 MDS, 2 clients)

            People

              wc-triage WC Triage
              vinayakh Vinayak (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: