failure_handler: dmesg command on macos fails to collect data due to permission issues

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 19
    • Affects Version/s: 19
    • Component/s: infrastructure
    • None
    • b23
    • os_x

      One of the commands we run as part of test failure handlers is the "dmesg" command. This command fails on macOS with permission error:

      [/sbin/dmesg] timeout=20000
      ----------------------------------------
      Unable to obtain kernel buffer: Operation not permitted
      usage: sudo dmesg


      As noted in that error message as well as the man pages of the dmesg command which states:

      "Dmesg displays the contents of the system message buffer. This command needs to be run as root."

      The failure handler command should be changed to use sudo.

            Assignee:
            Jaikiran Pai
            Reporter:
            Jaikiran Pai
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: