[LU-10254] version_code() error in racer/file_create.sh Created: 17/Nov/17  Updated: 30/Jul/18  Resolved: 30/Jul/18

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.11.0, Lustre 2.12.0
Fix Version/s: Lustre 2.12.0

Type: Bug Priority: Minor
Reporter: Jian Yu Assignee: Andreas Dilger
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-10481 parallel-scale-nfsv3 test racer_on_nf... Closed
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

In racer test output on master branch, there are some errors produced by version_code() in test framework as follows:

trevis-43vm1: CMD: trevis-43vm1.trevis.hpdd.intel.com  get_param -n version 2>/dev/null ||
trevis-43vm1: 				 lustre_build_version 2>/dev/null ||
trevis-43vm1: 				 --version 2>/dev/null | cut -d' ' -f2
trevis-43vm1: /usr/lib64/lustre/tests/test-framework.sh: line 407: ( << 16) | ( << 8) | : syntax error: operand expected (error token is "<< 16) | ( << 8) | ")
trevis-43vm2: /usr/lib64/lustre/tests/test-framework.sh: line 407: ( << 16) | ( << 8) | : syntax error: operand expected (error token is "<< 16) | ( << 8) | ")

The errors caused "pfl" layout was not tested.

Maloo report: https://testing.hpdd.intel.com/test_sets/5a78244c-ca59-11e7-9840-52540065bddc



 Comments   
Comment by Gerrit Updater [ 28/Nov/17 ]

Andreas Dilger (andreas.dilger@intel.com) uploaded a new patch: https://review.whamcloud.com/30307
Subject: LU-10254 tests: fix racer version checks
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: a27b28966b9288fbf8d021df1083a557b2429353

Comment by Gerrit Updater [ 30/Jul/18 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/30307/
Subject: LU-10254 tests: fix racer version checks
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 05a5ed7b89d6321ccc6f28b61a2ac2cdee108f1a

Comment by Peter Jones [ 30/Jul/18 ]

Landed for 2.12

Generated at Sat Feb 10 02:33:25 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.