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

sanity test_60g: usleep: command not found

Details

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

            [LU-13019] sanity test_60g: usleep: command not found
            pjones Peter Jones added a comment -

            Landed for 2.14

            pjones Peter Jones added a comment - Landed for 2.14

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/39889/
            Subject: LU-13019 tests: replace usleep in test scripts
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: ca754ec8b43416d41bbd401bad7d9f93746fb867

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/39889/ Subject: LU-13019 tests: replace usleep in test scripts Project: fs/lustre-release Branch: master Current Patch Set: Commit: ca754ec8b43416d41bbd401bad7d9f93746fb867

            Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/39889
            Subject: LU-13019 tests: replace usleep in test scripts
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 2f6eddf2d6d854ef0d659e5eb7132c501869260f

            gerrit Gerrit Updater added a comment - Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/39889 Subject: LU-13019 tests: replace usleep in test scripts Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 2f6eddf2d6d854ef0d659e5eb7132c501869260f

            People

              adilger Andreas Dilger
              maloo Maloo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: