[LU-16434] sanity test_230j: lfs: unrecognized option '0' Created: 27/Dec/22  Updated: 03/Jan/23  Resolved: 03/Jan/23

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

Type: Bug Priority: Blocker
Reporter: Maloo Assignee: Jian Yu
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-11508 DoM file data missing after doing DNE... Resolved
is related to LU-16367 update default ldiskfs features Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

This issue was created by maloo for Elena <elena.gryaznova@hpe.com>

This issue relates to the following test suite run: https://testing.whamcloud.com/test_sets/538f7a9e-16c7-44cc-af5b-eefc9aab1a1a

test_230j failed with the following error:

== sanity test 230j: DoM file data not changed after dir migration ========================================================== 20:23:57 (1671913437)
lfs: unrecognized option '0'
Create striped directory on specified MDT, same as setdirstripe.
usage: mkdir [OPTION] 
		[--mdt-count|-c stripe_count>
		[--help|-h] [--mdt-hash|-H mdt_hash]
		[--mdt-index|-i mdt_index[,mdt_index,...]
		[--default|-D] [--mode|-o mode]
		[--max-inherit|-X max_inherit]
		[--max-inherit-rr max_inherit_rr] 
To create dir with a foreign (free format) layout :
setdirstripe|mkdir --foreign[=FOREIGN_TYPE] -x|-xattr STRING 		[--mode|-o MODE] [--flags HEX] DIRECTORY

 sanity test_230j: @@@@@@ FAIL: mkdir d230j.sanity failed 

VVVVVVV DO NOT REMOVE LINES BELOW, Added by Maloo for auto-association VVVVVVV
sanity test_230j - mkdir d230j.sanity failed



 Comments   
Comment by Jian Yu [ 28/Dec/22 ]

This is blocking patch review testing on master branch.

Comment by Jian Yu [ 28/Dec/22 ]

After master branch was tagged as 2.15.53, the test started failing. It passed before as follows:

== sanity test 230j: DoM file data not changed after dir migration ========================================================== 19:12:15 (1672168335)
warning: '-m' is deprecated, use '--mode' or '-o' instead
lfs_setdirstripe()
#if LUSTRE_VERSION_CODE < OBD_OCD_VERSION(2, 15, 53, 0)
                case 'm':
                        fprintf(stderr,
                                "warning: '-m' is deprecated, use '--mode' or '-o' instead\n");
#endif
Comment by Gerrit Updater [ 28/Dec/22 ]

"Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/49523
Subject: LU-16434 tests: replace '-m' with '-i' in sanity test 230j
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 6cc857105aebb11f6ef09c276d6853b943a265fc

Comment by Gerrit Updater [ 30/Dec/22 ]

"Andreas Dilger <adilger@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/49523/
Subject: LU-16434 tests: replace '-m' with '-i' in sanity/230j
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: ab115a8ec9827b9593bf2d78f77fd856083abbef

Comment by Peter Jones [ 03/Jan/23 ]

Landed for 2.16

Generated at Sat Feb 10 03:26:59 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.