Merge ~alextu/plainbox-provider-pc-sanity:thermald_debug_tips into plainbox-provider-pc-sanity:master

Proposed by Alex Tu
Status: Merged
Merged at revision: 8b9dbf6f24010f71b315257040e1e90b549a4457
Proposed branch: ~alextu/plainbox-provider-pc-sanity:thermald_debug_tips
Merge into: plainbox-provider-pc-sanity:master
Diff against target: 18 lines (+6/-1)
1 file modified
units/pc-sanity/pc-sanity-thermal.pxu (+6/-1)
Reviewer Review Type Date Requested Status
Kai-Chuan Hsieh Pending
OEM Solutions Group: Engineers Pending
Review via email: mp+391030@code.launchpad.net

Commit message

update debug tips for bugs like LP: #1895776

To post a comment you must log in.
Revision history for this message
Kai-Chuan Hsieh (kchsieh) wrote :

For thermald part, LGTM.

Revision history for this message
Alex Tu (alextu) wrote :

cleaned up non-related changes.
Sorry for that miss commit.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
diff --git a/units/pc-sanity/pc-sanity-thermal.pxu b/units/pc-sanity/pc-sanity-thermal.pxu
index 264fe9a..5dc49ea 100644
--- a/units/pc-sanity/pc-sanity-thermal.pxu
+++ b/units/pc-sanity/pc-sanity-thermal.pxu
@@ -105,7 +105,12 @@ command:
105 RETVAL=$?105 RETVAL=$?
106 if [ $RETVAL -ne 0 ];106 if [ $RETVAL -ne 0 ];
107 then107 then
108 journalctl -b -u thermald108 journalctl -b -u thermald > $PLAINBOX_SESSION_SHARE/journalctl.log
109 echo "The log for thermald: $PLAINBOX_SESSION_SHARE/journalctl.log"
110 grep -q "Unsupported cpu model" < $PLAINBOX_SESSION_SHARE/journalctl.log && \
111 echo "Debugging Tips:"
112 echo "Please check the upstream code(https://github.com/intel/thermal_daemon/blob/master/src/thd_engine.cpp) for the target id in id_table[] " && \
113 echo "If the ID not there, then open a upstream bug like https://github.com/intel/thermal_daemon/issues/275 "
109 exit $RETVAL114 exit $RETVAL
110 fi115 fi
111_summary: Check if thermald is active116_summary: Check if thermald is active

Subscribers

People subscribed via source and target branches