Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8286744

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 19
    • 19
    • infrastructure
    • None
    • b23
    • os_x

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: