Seems like power_LoadTest is failing to finish processing results after collection in my version of platform/crostestutils at the moment (6b10c01 - "check_ethernet: try each recovery method only once").
I've been running it as follows:
cd platform/crostestutils && ./test_that ${IP} power_LoadTest --results_dir ${RESULTS_DIR}.
A stacktrace detailing the problem can be found in results-1-power_LoadTest/power_LoadTest/status:
START power_LoadTest power_LoadTest timestamp=1518691214 localtime=Feb 15 10:40:14
FAIL power_LoadTest power_LoadTest timestamp=1518726066 localtime=Feb 15 20:21:06 Unhandled HTTPError: HTTP Error 500: Internal Server Error
Traceback (most recent call last):
File "/usr/local/autotest/common_lib/test.py", line 831, in _call_test_function
return func(*args, **dargs)
File "/usr/local/autotest/common_lib/test.py", line 495, in execute
dargs)
File "/usr/local/autotest/common_lib/test.py", line 362, in _call_run_once_with_retry
postprocess_profiled_run, args, dargs)
File "/usr/local/autotest/common_lib/test.py", line 404, in _call_run_once
self.postprocess_iteration()
File "/usr/local/autotest/tests/power_LoadTest/power_LoadTest.py", line 474, in postprocess_iteration
pdash.upload()
File "/usr/local/autotest/cros/power/power_dashboard.py", line 114, in upload
self._upload(powerlog_dict, self._uploadurl)
File "/usr/local/autotest/cros/power/power_dashboard.py", line 92, in _upload
urllib2.urlopen(req)
File "/usr/local/lib/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/usr/local/lib/python2.7/urllib2.py", line 437, in open
response = meth(req, response)
File "/usr/local/lib/python2.7/urllib2.py", line 550, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/local/lib/python2.7/urllib2.py", line 475, in error
return self._call_chain(*args)
File "/usr/local/lib/python2.7/urllib2.py", line 409, in _call_chain
result = func(*args)
File "/usr/local/lib/python2.7/urllib2.py", line 558, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 500: Internal Server Error
END FAIL power_LoadTest power_LoadTest timestamp=1518726066 localtime=Feb 15 20:21:06
Comment 1 by pbe...@chromium.org
, Mar 30 2018