Uploaded image for project: 'RHEL Testing'
  1. RHEL Testing
  2. RHELTEST-2390

[9.2] packages/perf/internal-testsuite: perf-stat-json and perf-stat-tests fails, slots event not available on VM

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • rhel-se-kernel

      https://beaker.engineering.redhat.com/recipes/20190177#task208026675

      ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
      ::   TEST #90 : perf stat JSON output linter
      ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
      
      :: [ 09:04:28 ] :: [   LOG    ] ::  90: perf stat JSON output linter                                    :
      --- start ---
      Checking json output: no args Test failed for input:
      Error:
      
      Invalid event (slots) in per-thread mode, enable system wide with '-a'.
      
      Traceback (most recent call last):
        File "/usr/libexec/perf-core/tests/shell/lib/perf_json_output_lint.py", line 93, in <module>
          check_json_output(expected_items)
        File "/usr/libexec/perf-core/tests/shell/lib/perf_json_output_lint.py", line 54, in check_json_output
          raise RuntimeError(f'wrong number of fields. counted {count} expected {expected_items}'
      RuntimeError: wrong number of fields. counted 0 expected 6 in 'Error:
      '
      ---- end ----
      perf stat JSON output linter: FAILED!
      ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
      ::   TEST #92 : perf stat tests
      ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
      
      :: [ 09:04:42 ] :: [   LOG    ] ::  92: perf stat tests                                                 :
      --- start ---
      Basic stat command test
      Basic stat command test [Failed]
      stat record and report test
      Error:
      Invalid event (slots) in per-thread mode, enable system wide with '-a'.
      stat record and report test [Failed]
      stat repeat weak groups test
      stat repeat weak groups test [Success]
      Topdown event group test
      Topdown event group test [Skipped event parsing failed]
      Topdown weak groups test
      Topdown weak groups test [Skipped event parsing failed]
      ---- end ----
      perf stat tests: FAILED!

      Appears slots event is not exposed to the KVM VM, its not 100% reproducible so look this is depends on what host VM are created, not a real bug.

              Unassigned Unassigned
              rhn-support-rbergant Roberto Bergantinos Corpas
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: