[LU-5191] Parallel-scale has script error for ZFS Created: 13/Jun/14  Updated: 11/Jul/14  Resolved: 11/Jul/14

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

Type: Bug Priority: Major
Reporter: Cliff White (Inactive) Assignee: Cliff White (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Environment:

Hyperion


Severity: 3
Rank (Obsolete): 14509

 Description   

Appears to be a basic Bash error:
/usr/lib64/lustre/tests/parallel-scale.sh: line 138: [: missing `]'

Test returns garbage for summary (-nan) - not sure if the failure is related, as I shift to a different version of lustre/tests to complete my runs
Line is question is:
(code)
[ $(facet_fstype $SINGLEMDS) = zfs -o $(facet_fstype "ost1") = zfs] &&
SLOW=$ZFSSLOW

(code)



 Comments   
Comment by Richard Henwood (Inactive) [ 13/Jun/14 ]

I notice: In the example above, there isn't a space after zfs and ']' (bash needs a space around square brackets) - in the script on master, there is:

http://git.whamcloud.com/?p=fs/lustre-release.git;a=blob;f=lustre/tests/parallel-scale.sh;h=af4ad5d1bc2fecf1253be2bae6cf306f7c98356c;hb=HEAD#138

Comment by Cliff White (Inactive) [ 16/Jun/14 ]

This issue was already reported and fixed in 2013
http://git.whamcloud.com/?p=fs/lustre-release.git;a=commit;h=abd7b8c9e13681fd3baf463ccb9619f9bdf25e30

How did this miss 2.5 ? It appears that about half the commit is present in the 2.5.2 parallel-scale, the second portion of the commit is missing.

Comment by Cliff White (Inactive) [ 16/Jun/14 ]

Fix here: http://review.whamcloud.com/10731

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