Investigate / provide more info for "DUT rebooted during the test run" |
||||
Issue descriptionThere are a lot of failing issues with the symptom "DUT rebooted during the test run". Investigating these issues is challenging. We should investigate some of these and see if we can provide more information.
,
Apr 12 2016
,
Apr 16 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/third_party/autotest/+/f07ff67f5ff9714d7b085154ee8eac007af6ee3e commit f07ff67f5ff9714d7b085154ee8eac007af6ee3e Author: Ilja H. Friedel <ihf@chromium.org> Date: Fri Apr 15 03:47:53 2016 autotest: improve readability of logs. This change prepends all ssh_run commands to a DUT with a preamble that spews the run command to /var/log/messages on the DUT. That will provide more context in case of a DUT hang, reboot or other system failure what autotest was up to. BUG=chromium:598517, chromium:602780 TEST=test_that, watch /var/log/messages for lines like 2016-04-14T19:05:03.320160-07:00 NOTICE ag[25966]: autotest server[stack::_get_board_from_host|get_board|parse_cmd_output] -> ssh_run(cat /etc/lsb-release) Change-Id: I6ebc32a2c5c5703ef388a8c84376a56f5d7a52c4 Reviewed-on: https://chromium-review.googlesource.com/339120 Commit-Ready: Ilja Friedel <ihf@chromium.org> Tested-by: Ilja Friedel <ihf@chromium.org> Reviewed-by: Haixia Shi <hshi@chromium.org> [modify] https://crrev.com/f07ff67f5ff9714d7b085154ee8eac007af6ee3e/server/hosts/ssh_host.py
,
Apr 20 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/third_party/autotest/+/05bcd7973513dc868a5479f5df8165874a71947e commit 05bcd7973513dc868a5479f5df8165874a71947e Author: Ilja H. Friedel <ihf@chromium.org> Date: Fri Apr 15 04:51:05 2016 autotest: improve readability of logs (2). This change overrides logging.*() autotest output on the client, which normally is diverted to a file (like in this instance /usr/local/autotest/results/default/debug/client.0.WARNING) to also be appended to /var/log/messages using the "logger" command. This change is purely client/DUT side. Also a tiny bit of pylint cleanup. BUG=chromium:598517, chromium:602780 TEST=test_that, grep /var/log/messages for "autotest" like 2016-04-14T22:10:22.089065-07:00 NOTICE autotest[18004]: 22:10:22.084 WARNI| test:0606| Autotest caught exception when running test:#012Traceback (most recent call last):#012 File "/usr/local/autotest/common_lib/test.py", line 600, in _exec#012 _call_test_function(self.execute, *p_args, **p_dargs)#012 File "/usr/local/autotest/common_lib/test.py", line 804, in _call_test_function#012 return func(*args, **dargs)#012 File "/usr/local/autotest/common_lib/test.py", line 461, in execute#012 dargs)#012 File "/usr/local/autotest/common_lib/test.py", line 347, in _call_run_once_with_retry#012 postprocess_profiled_run, args, dargs)#012 File "/usr/local/autotest/common_lib/test.py", line 376, in _call_run_once#012 self.run_once(*args, **dargs)#012 File "/usr/local/autotest/tests/graphics_dEQP/graphics_dEQP.py", line 538, in run_once#012 self._filter)#012TestNAError: No test cases found for filter: dEQP-EGL.info! 2016-04-14T22:10:23.220747-07:00 NOTICE autotest[18316]: 22:10:23.208 ERROR| parallel:0026| child process failed Change-Id: Ic141b10536807fd2c7af18d212620571d2da7944 Reviewed-on: https://chromium-review.googlesource.com/339013 Commit-Ready: Ilja Friedel <ihf@chromium.org> Tested-by: Ilja Friedel <ihf@chromium.org> Reviewed-by: Aviv Keshet <akeshet@chromium.org> [modify] https://crrev.com/05bcd7973513dc868a5479f5df8165874a71947e/client/common_lib/logging_config.py
,
Jun 10 2016
,
Apr 22 2017
Obsolete.
,
Apr 22 2017
Obsolete. |
||||
►
Sign in to add a comment |
||||
Comment 1 by steve...@chromium.org
, Apr 12 2016