Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-16434

sanity test_230j: lfs: unrecognized option '0'

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • Lustre 2.16.0
    • Lustre 2.16.0
    • None
    • 3
    • 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

      Attachments

        Issue Links

          Activity

            [LU-16434] sanity test_230j: lfs: unrecognized option '0'
            pjones Peter Jones made changes -
            Fix Version/s New: Lustre 2.16.0 [ 15190 ]
            Resolution New: Fixed [ 1 ]
            Status Original: Open [ 1 ] New: Resolved [ 5 ]
            pjones Peter Jones added a comment -

            Landed for 2.16

            pjones Peter Jones added a comment - Landed for 2.16

            "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

            gerrit Gerrit Updater added a comment - "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
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-11508 [ LU-11508 ]
            adilger Andreas Dilger made changes -
            Link Original: This issue is related to LU-11518 [ LU-11518 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-16367 [ LU-16367 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-11518 [ LU-11518 ]

            "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

            gerrit Gerrit Updater added a comment - "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
            yujian Jian Yu added a comment -

            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
            
            yujian Jian Yu added a comment - 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
            yujian Jian Yu made changes -
            Assignee Original: WC Triage [ wc-triage ] New: Jian Yu [ yujian ]

            People

              yujian Jian Yu
              maloo Maloo
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: