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

sanity-sec test 17 fails with 'test_17 returned 1': syntax error: operand expected (error token is "[0]")

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • Lustre 2.12.0, Lustre 2.13.0
    • None
    • 3
    • 9223372036854775807

    Description

      sanity-sec test_17 fails with no obvious failure and with no error message. For the failure at https://testing.whamcloud.com/test_sets/feedbaca-e388-11e8-bfe1-52540065bddc , the only obvous issue is the following in the client test_log

      /usr/lib64/lustre/tests/sanity-sec.sh: line 1273: [0]: syntax error: operand expected (error token is "[0]")
      

      Looking at sanity-sec.sh, we see this error takes place in the do_fops_quota_test() routine

      1272         qused_new=$(nodemap_check_quota "$run_u")
      1273         [ $((qused_new)) -lt $((qused_low)) \
      1274                 -o $((qused_new)) -gt $((qused_high)) ] &&
      1275                 error "quota not reclaimed, expect $qused_orig, " \
      1276                       "got $qused_new, fuzz $quota_fuzz"
      

      Attachments

        Issue Links

          Activity

            People

              wc-triage WC Triage
              jamesanunez James Nunez (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: