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

sanityn 23: syntax error in expression

Details

    • Bug
    • Resolution: Fixed
    • Major
    • Lustre 2.5.0
    • Lustre 2.5.0
    • 3
    • 9450

    Description

      This issue was created by maloo for Li Wei <liwei@whamcloud.com>

      This issue relates to the following test suite run: http://maloo.whamcloud.com/test_sets/293ec06c-f62c-11e2-97d2-52540035b04c.

      The sub-test test_23 failed with the following error:

      test_23 returned 1

      Info required for matching: sanityn 23

      == sanityn test 23: others should see updated atime while another read====== 04:57:57 (1374839877)
      CMD: client-16vm3 /usr/sbin/lctl get_param -n mdd.*.atime_diff
      now is 1374839877
      /usr/lib64/lustre/tests/sanityn.sh: line 499: 60
      60: syntax error in expression (error token is "60")

      Attachments

        Activity

          [LU-3664] sanityn 23: syntax error in expression

          Patch landed to Master.

          jlevi Jodi Levi (Inactive) added a comment - Patch landed to Master.
          jamesanunez James Nunez (Inactive) added a comment - Proposed patch at: http://review.whamcloud.com/#/c/7750

          Yes, I'll upload a patch in just a little while.

          jamesanunez James Nunez (Inactive) added a comment - Yes, I'll upload a patch in just a little while.

          James, any chance to whip up a quick patch for this? Feel free to make a best-effort patch and submit it to Gerrit for testing, rather than waiting days until you have time to do local testing...

          adilger Andreas Dilger added a comment - James, any chance to whip up a quick patch for this? Feel free to make a best-effort patch and submit it to Gerrit for testing, rather than waiting days until you have time to do local testing...

          The failure happened with a configuration where two MDTs shared the same MDS. atime_diff must have two lines in it. For example,

          [root@linux ~]# v=$(printf '60\n60')
          [root@linux ~]# w=$((v + 1))
          -bash: 60
          60: syntax error in expression (error token is "60")
          
          liwei Li Wei (Inactive) added a comment - The failure happened with a configuration where two MDTs shared the same MDS. atime_diff must have two lines in it. For example, [root@linux ~]# v=$(printf '60\n60') [root@linux ~]# w=$((v + 1)) -bash: 60 60: syntax error in expression (error token is "60")

          People

            jamesanunez James Nunez (Inactive)
            maloo Maloo
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: