New issue
Advanced search Search tips

Issue 814265 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Apr 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

cros power_LoadTest fails to post-process results

Project Member Reported by stephen....@arm.com, Feb 21 2018

Issue description

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

Components: OS>Kernel>Power Infra>Client>ChromeOS>Test
not quite the right component I'm afraid, but since it's power test related...
Owner: puthik@chromium.org
Status: Assigned (was: Untriaged)
See mention of power_dashboard in stack trace ... Opal can you have a look/comment.
Cc: puthik@chromium.org
Owner: stephen....@arm.com
Status: WontFix (was: Assigned)
This bug was open since Feb 21, and it probably fixed by now.

Mark as wontfix for now. 

Please reopen bug if it is still failed and also please attach power_log.json (from result dir) for debugging.

Sign in to add a comment