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

racer cleanup

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.13.0
    • None
    • 3
    • 9223372036854775807

    Description

      racer has minor defects:
      1. Not setting LCTL in test/racer.sh in:

                      do_nodes $clients "DURATION=$DURATION \                                                                                                                              
                              MDSCOUNT=$MDSCOUNT \                                                                                                                                         
                              RACER_ENABLE_REMOTE_DIRS=$RACER_ENABLE_REMOTE_DIRS \                                                                                                         
                              RACER_ENABLE_STRIPED_DIRS=$RACER_ENABLE_STRIPED_DIRS \                                                                                                       
                              RACER_ENABLE_MIGRATION=$RACER_ENABLE_MIGRATION \                                                                                                             
                              RACER_ENABLE_DOM=$RACER_ENABLE_DOM \                                                                                                                         
                              LFS=$LFS \                                                                                                                                                   
                              $racer $rdir $NUM_RACER_THREADS" &
      

      leads to:

      sl751: /usr/lib/lustre/tests/test-framework.sh: line 411: ( << 16) | ( << 8) | : syntax error: operand expected (error token is "<< 16) | ( << 8) | ")
      sl751: /usr/lib/lustre/tests/test-framework.sh: line 411: ( << 16) | ( << 8) | : syntax error: operand expected (error token is "<< 16) | ( << 8) | ")
      

      caused by

      sl751: ++++ do_facet client ' get_param -n version 2>/dev/null ||
      

      2. ps

                              ps uww -C "${RACER_PROGS// /,}"
      

      does not work as expected, because RACER_PROGS lists tests without ".sh":

      RACER_PROGS="file_create dir_create file_rm file_rename file_link file_symlink \
      

      and ps -C does not see file_create, dir_create, etc because there are file_create.sh, dir_create.sh, etc.

      Attachments

        Activity

          People

            vsaveliev Vladimir Saveliev
            vsaveliev Vladimir Saveliev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: