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

replay-single test_85b: syntax error : unary operator expected

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • Lustre 2.9.0
    • Lustre 2.8.0
    • None
    • 3
    • 9223372036854775807

    Description

      This issue can be reproduce on single node setup.
      With "-" in FSNAME=lustre-2 in cfg/local.sh
      Server, Client: 2.7.58
      [keshava@MRPbld-c2 lustre-2782]$ head ./lustre/ChangeLog
      TBD Intel Corporation

      • version 2.8.0
      [root@MRPbld-c2 lustre-2782]# ./lustre/tests/replay-single.sh 
      Logging to shared log directory: /tmp/test_logs/1443075535
      excepting tests: 61d 53a 53d
      skipping tests SLOW=no: 1 2 3 4 6 12 16 44a 44b 65 66 67 68
      MRPbld-c2: Checking config lustre mounted on /mnt/lustre-2
      Checking servers environments
      Checking clients MRPbld-c2 environments
      Using TIMEOUT=20
      disable quota as required
      osd-ldiskfs.track_declares_assert=1
      Cleaning up AT ...
      
      
      == replay-single test 85b: check the cancellation of unused locks during recovery(EXTENT) == 11:48:56 (1443075536)
      Pool lustre-2.test_85b created
      OST lustre-2-OST0000_UUID added to pool lustre-2.test_85b
      error: setstripe: pool name 'lustre-2.test_85b' is too long (max is 15 characters)
      Create a new file with a specific striping pattern or
      set the default striping pattern on an existing directory or
      delete the default striping pattern from an existing directory
      usage: setstripe -d <directory>   (to delete default striping)
       or
      usage: setstripe [--stripe-count|-c <stripe_count>]
                       [--stripe-index|-i <start_ost_idx>]
                       [--stripe-size|-S <stripe_size>]
                       [--pool|-p <pool_name>]
                       [--ost-list|-o <ost_indices>]
                       <directory|filename>
      	stripe_size:  Number of bytes on each OST (0 filesystem default)
      	              Can be specified with k, m or g (in KB, MB and GB
      	              respectively)
      	start_ost_idx: OST index of first stripe (-1 default)
      	stripe_count: Number of OSTs to stripe over (0 default, -1 all)
      	pool_name:    Name of OST pool to use (default none)
      	ost_indices:  List of OST indices, can be repeated multiple times
      	              Indices be specified in a format of:
      	                -o <ost_1>,<ost_i>-<ost_j>,<ost_n>
      	              Or:
      	                -o <ost_1> -o <ost_i>-<ost_j> -o <ost_n>
      	              If --pool is set with --ost-list, then the OSTs
      	              must be the members of the pool.
      error: get_param: ldlm/namespaces/*OST0000*clilov/lock_unused_count: Found no match
      before recovery: unused locks count = 
      ./lustre/tests/replay-single.sh: line 2716: [: !=: unary operator expected
       replay-single test_85b: @@@@@@ FAIL: unused locks () should be zero 
        Trace dump:
        = /home/keshava/intel/code/lustre-2782/lustre/tests/test-framework.sh:4738:error_noexit()
        = /home/keshava/intel/code/lustre-2782/lustre/tests/test-framework.sh:4769:error()
        = ./lustre/tests/replay-single.sh:2716:test_85b()
        = /home/keshava/intel/code/lustre-2782/lustre/tests/test-framework.sh:5016:run_one()
        = /home/keshava/intel/code/lustre-2782/lustre/tests/test-framework.sh:5053:run_one_logged()
        = /home/keshava/intel/code/lustre-2782/lustre/tests/test-framework.sh:4870:run_test()
        = ./lustre/tests/replay-single.sh:2733:main()
      Dumping lctl log to /tmp/test_logs/1443075535/replay-single.test_85b.*.1443075556.log
      Dumping logs only on local client.
      FAIL 85b (20s)
      

      Attachments

        Issue Links

          Activity

            People

              yujian Jian Yu
              keshava Sundar Keshava (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: