[LU-3664] sanityn 23: syntax error in expression Created: 30/Jul/13  Updated: 27/Sep/13  Resolved: 27/Sep/13

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.5.0
Fix Version/s: Lustre 2.5.0

Type: Bug Priority: Major
Reporter: Maloo Assignee: James Nunez (Inactive)
Resolution: Fixed Votes: 0
Labels: dne

Severity: 3
Rank (Obsolete): 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")



 Comments   
Comment by Li Wei (Inactive) [ 30/Jul/13 ]

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")
Comment by Andreas Dilger [ 24/Sep/13 ]

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...

Comment by James Nunez (Inactive) [ 24/Sep/13 ]

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

Comment by James Nunez (Inactive) [ 24/Sep/13 ]

Proposed patch at: http://review.whamcloud.com/#/c/7750

Comment by Jodi Levi (Inactive) [ 27/Sep/13 ]

Patch landed to Master.

Generated at Sat Feb 10 01:35:51 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.