[LU-10505] sanity test_56w: '/usr/bin/lfs getstripe -c /mnt/lustre/d56w.sanityw/file1 wrong: found 7, expected 6 Created: 12/Jan/18  Updated: 07/Jan/19  Resolved: 25/Jan/18

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

Type: Bug Priority: Minor
Reporter: Maloo Assignee: Bob Glossman (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

sanity test_56w - /usr/bin/lfs getstripe -c /mnt/lustre/d56w.sanityw/file1 wrong: found 7, expected 6
^^^^^^^^^^^^^ DO NOT REMOVE LINE ABOVE ^^^^^^^^^^^^^

This issue was created by maloo for Bob Glossman <bob.glossman@intel.com>

This issue relates to the following test suite run:

test_56w failed with the following error:

/usr/bin/lfs getstripe -c /mnt/lustre/d56w.sanityw/file1 wrong: found 7, expected 6

https://testing.hpdd.intel.com/test_sets/8711735c-f739-11e7-a6ad-52540065bddc



 Comments   
Comment by Bob Glossman (Inactive) [ 12/Jan/18 ]

another on master:
https://testing.hpdd.intel.com/test_sets/cc76b10c-f7b9-11e7-a7cd-52540065bddc

Comment by Bob Glossman (Inactive) [ 12/Jan/18 ]

suspect this problem may have been introduced in the very recent landing on master:

commit 60c5bc2502591f46260e11db540c0ec2adbc8db8
LU-8235 scripts: pass unrecognized options to lfs migrate

I note that this made major changes to the lfs_migrate script.
I speculate these changes may not function correctly on el6.

Comment by Bob Glossman (Inactive) [ 12/Jan/18 ]

errors like this seen on test log:

/usr/bin/lfs_migrate -y -c 6 /mnt/lustre/d56w.sanityw/file1
/usr/bin/lfs_migrate: line 150: OPTS: bad array subscript
/usr/bin/lfs_migrate: line 152: OPTS: bad array subscript
/usr/bin/lfs_migrate: line 154: OPTS: bad array subscript
/mnt/lustre/d56w.sanityw/file1: done migrate

Suggests problems with the lfs_migrate script, or calls to it in sanity tests.

Comment by Peter Jones [ 12/Jan/18 ]

Bob

RHEL 6.x is no longer officially supported on master but I think that some people still find it useful. Discussion on the triage call today suggested it should be fairly straightforward to add an additional patch to get this working for RHEL 6. 

Can you give it a try?

Thanks

Peter

Comment by Bob Glossman (Inactive) [ 12/Jan/18 ]

Peter,
Happy to try out a possible fix. what is the patch?

Bob

Comment by Gerrit Updater [ 12/Jan/18 ]

Bob Glossman (bob.glossman@intel.com) uploaded a new patch: https://review.whamcloud.com/30860
Subject: LU-10505 scripts: avoid version dependent shell script syntax
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: fb383670d39d7e43ca1a0e6b44cc182f3784e04a

Comment by Gerrit Updater [ 25/Jan/18 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/30860/
Subject: LU-10505 scripts: avoid version dependent shell script syntax
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 1bbd4f4bbe7bd98b7624d8757f3f775e81e9b994

Comment by Peter Jones [ 25/Jan/18 ]

Landed for 2.11

Comment by Gerrit Updater [ 30/Jan/18 ]

Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/31093
Subject: LU-10505 scripts: avoid version dependent shell script syntax
Project: fs/lustre-release
Branch: b2_10
Current Patch Set: 1
Commit: f3c524bc777293c948de9288f111ced9494200b2

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