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

sanity test_255a: dmidecode: command not found

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • Lustre 2.15.0
    • None
    • SLES15 SP2
    • 3
    • 9223372036854775807

    Description

      This issue was created by maloo for jianyu <yujian@whamcloud.com>

      This issue relates to the following test suite run: https://testing.whamcloud.com/test_sets/4c203f3a-8cc4-4cea-b56e-a9d46c8222ec

      test_255a failed with the following error:

      /usr/lib64/lustre/tests/sanity.sh: line 21421: [: -lt: unary operator expected
      /usr/lib64/lustre/tests/test-framework.sh: line 1385: dmidecode: command not found
       sanity test_255a: @@@@@@ FAIL: Speedup with willread is less than  .29%, got .58% 
      

      VVVVVVV DO NOT REMOVE LINES BELOW, Added by Maloo for auto-association VVVVVVV
      sanity test_255a - Speedup with willread is less than .29%, got .58%

      Attachments

        Issue Links

          Activity

            [LU-15316] sanity test_255a: dmidecode: command not found

            There likely also needs to be a "dmidecode" package installed on some of the test nodes/images to solve this completely, but it is worthwhile to fix the actual test cases first if this isn't too disruptive.

            adilger Andreas Dilger added a comment - There likely also needs to be a " dmidecode " package installed on some of the test nodes/images to solve this completely, but it is worthwhile to fix the actual test cases first if this isn't too disruptive.

            "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/46350/
            Subject: LU-15316 tests: use integers in sanity test_255a
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: c185410b0007f841962979f8d6c367db9c48c2a3

            gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/46350/ Subject: LU-15316 tests: use integers in sanity test_255a Project: fs/lustre-release Branch: master Current Patch Set: Commit: c185410b0007f841962979f8d6c367db9c48c2a3

            "Andreas Dilger <adilger@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/46350
            Subject: LU-15316 tests: use integers in sanity test_255a
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: a96a4a5894bef714b19086fa09918080f05a7674

            gerrit Gerrit Updater added a comment - "Andreas Dilger <adilger@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/46350 Subject: LU-15316 tests: use integers in sanity test_255a Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: a96a4a5894bef714b19086fa09918080f05a7674

            +1 https://testing.whamcloud.com/test_sets/2a1d1b6b-9cd7-4b69-8360-c38c83b162de

            Average uncached read: 23.47
            Average speedup with OSS cached read:  30.55 = +30.16%
            Average speedup with ladvise willread:  30.92 = +31.74%
            /usr/lib64/lustre/tests/sanity.sh: line 19619: [: 15.27: integer expression expected
            /usr/lib64/lustre/tests/test-framework.sh: line 1349: dmidecode: command not found
             sanity test_255a: @@@@@@ FAIL: Speedup with willread is less than  15.27%, got 30.92% 
            

            It looks like the math is failing because of the use of decimal numbers, even though the test itself is passing.

            The test is then trying to use either "virt-what" or "dmidecode" to decide if this is a VM or not. Either or both of the virt-what or dmidecode RPMs needs to be installed for that, but this is secondary to the actual failure.

            Not sure why this started failing now. It looks like it has always been failing, but "dmidecode" or "virt-what" were causing the error to be ignored:

            Average uncached read: 15.93
            Average speedup with OSS cached read:  22.10 = +38.73%
            Average speedup with ladvise willread:  21.49 = +34.90%
            /usr/lib64/lustre/tests/sanity.sh: line 19613: [: 11.05: integer expression expected
            running in VM 'kvm', ignore error
             sanity test_255a: @@@@@@ IGNORE (env=kvm): Speedup with willread is less than  11.05%, got 21.49% 
            
            adilger Andreas Dilger added a comment - +1 https://testing.whamcloud.com/test_sets/2a1d1b6b-9cd7-4b69-8360-c38c83b162de Average uncached read: 23.47 Average speedup with OSS cached read: 30.55 = +30.16% Average speedup with ladvise willread: 30.92 = +31.74% /usr/lib64/lustre/tests/sanity.sh: line 19619: [: 15.27: integer expression expected /usr/lib64/lustre/tests/test-framework.sh: line 1349: dmidecode: command not found sanity test_255a: @@@@@@ FAIL: Speedup with willread is less than 15.27%, got 30.92% It looks like the math is failing because of the use of decimal numbers, even though the test itself is passing. The test is then trying to use either " virt-what " or " dmidecode " to decide if this is a VM or not. Either or both of the virt-what or dmidecode RPMs needs to be installed for that, but this is secondary to the actual failure. Not sure why this started failing now. It looks like it has always been failing, but "dmidecode" or "virt-what" were causing the error to be ignored: Average uncached read: 15.93 Average speedup with OSS cached read: 22.10 = +38.73% Average speedup with ladvise willread: 21.49 = +34.90% /usr/lib64/lustre/tests/sanity.sh: line 19613: [: 11.05: integer expression expected running in VM 'kvm', ignore error sanity test_255a: @@@@@@ IGNORE (env=kvm): Speedup with willread is less than 11.05%, got 21.49%

            People

              wc-triage WC Triage
              maloo Maloo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: