Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-6652

Perf version not correctly parsed on Fedora 24 (and probably others)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.1.0
    • 1.2.0
    • test
    • None
    • Fedora 24

    Description

      Happened on a current Fedora 24 machine, when trying to run tests.

      $ perf --version
      perf version 4.8.10.200.fc24.x86_64.gc23c
      

      doesn't seem to be parsed correctly by perf::supported(), because when running ./bin/mesos-tests.sh it reads

      -------------------------------------------------------------
      Could not find the 'perf' command or its version lower that 2.6.39 so tests using it to sample the 'cpu-cycles' hardware event will not be run.
      -------------------------------------------------------------
      -------------------------------------------------------------
      require 'perf' version >= 2.6.39 so no 'perf' tests will be run
      -------------------------------------------------------------
      

      Attachments

        Issue Links

          Activity

            People

              jamespeach James Peach
              nfnt Jan Schlicht
              Yan Xu Yan Xu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: