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

sanity test_60g: usleep: command not found

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
    • Severity:
      3
    • Rank (Obsolete):
      9223372036854775807

      Description

      This issue was created by maloo for Andreas Dilger <adilger@whamcloud.com>

      This issue relates to the following test suite run: https://testing.whamcloud.com/test_sets/cbeb78f8-0978-11ea-bbc3-52540065bddc

      test_60g failed with the following error:

      usleep: command not found
      

      It seems that "usleep" is a command specific to RHEL and does not exist in any package in Ubuntu. It is instead possible to replace "usleep 100" with "sleep 0.0001" (which is available in Ubuntu) to get the same effect (note overhead in calling sleep times this short is the same for both commands):

      $ time for i in {0..1000}; do usleep 5000; done
      
      real	0m7.732s
      user	0m0.776s
      sys	0m1.766s
      
      $ time for i in {0..1000}; do sleep 0.005; done
      
      real	0m7.888s
      user	0m0.841s
      sys	0m1.937s
      

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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                wc-triage WC Triage
                Reporter:
                maloo Maloo
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: