Whamcloud - gitweb
LU-15846 tests: don't use comma-separated debug flags 08/47308/7
authorAndreas Dilger <adilger@whamcloud.com>
Thu, 12 May 2022 04:45:45 +0000 (22:45 -0600)
committerOleg Drokin <green@whamcloud.com>
Thu, 4 Aug 2022 04:44:30 +0000 (04:44 +0000)
To avoid test interop issues between 2.15 clients and 2.12/2.14
servers, don't use comma-separated debug flags in sanity-quota.sh
quota_init() and quota_fini().

Test-Parameters: trivial testlist=sanity-quota.sh env=ONLY=0 serverversion=2.14.0
Fixes: 6b6fde1026 ("LU-13055 libcfs: allow comma-separated masks")
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: Ifca39054d14292bca8bcff9b8e03ae58fd5cc3a8
Reviewed-on: https://review.whamcloud.com/47308
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Patrick Farrell <pfarrell@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Wei Liu <sarah@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/sanity-quota.sh

index b38f191..dd3e94e 100755 (executable)
@@ -496,7 +496,7 @@ reset_quota_settings() {
 # enable quota debug
 quota_init() {
        do_nodes $(comma_list $(nodes_list)) \
 # enable quota debug
 quota_init() {
        do_nodes $(comma_list $(nodes_list)) \
-               "$LCTL set_param -n debug=+quota,trace"
+               "$LCTL set_param -n debug=+quota+trace"
 }
 quota_init
 reset_quota_settings
 }
 quota_init
 reset_quota_settings
@@ -5560,7 +5560,7 @@ run_test 82 "verify more than 8 qids for single operation"
 quota_fini()
 {
        do_nodes $(comma_list $(nodes_list)) \
 quota_fini()
 {
        do_nodes $(comma_list $(nodes_list)) \
-               "lctl set_param -n debug=-quota,trace"
+               "lctl set_param -n debug=-quota-trace"
        if $PQ_CLEANUP; then
                disable_project_quota
        fi
        if $PQ_CLEANUP; then
                disable_project_quota
        fi