-
Bug
-
Resolution: Fixed
-
P4
-
19
-
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.
[/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.
- relates to
-
JDK-8284614 on macOS "spindump" should be run from failure_handler as root
-
- Resolved
-