New issue
Advanced search Search tips

Issue 917752 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug-Regression



Sign in to add a comment

video_PowerConsumption.hw_hangout.vp8 failed on peach_pit: 'BatteryStat' object has no attribute 'remaining_time'

Project Member Reported by deanliao@chromium.org, Dec 25

Issue description

The test failed 8 times starting from R70-11021.92.0 [1]

It is similar to https://crbug.com/774940


Log sample [2]:
12/23 12:22:04.823 WARNI|              test:0606| The test failed with the following exception
Traceback (most recent call last):
  File "/usr/local/autotest/common_lib/test.py", line 600, in _exec
    _call_test_function(self.execute, *p_args, **p_dargs)
  File "/usr/local/autotest/common_lib/test.py", line 806, in _call_test_function
    raise error.UnhandledTestFail(e)
UnhandledTestFail: Unhandled AttributeError: 'BatteryStat' object has no attribute 'remaining_time'
Traceback (most recent call last):
  File "/usr/local/autotest/common_lib/test.py", line 800, in _call_test_function
    return func(*args, **dargs)
  File "/usr/local/autotest/common_lib/test.py", line 464, in execute
    postprocess_profiled_run, args, dargs)
  File "/usr/local/autotest/common_lib/test.py", line 371, in _call_run_once
    self.run_once(*args, **dargs)
  File "/usr/local/autotest/cros/video/helper_logger.py", line 82, in call
    return func(*args, **kwargs)
  File "/usr/local/autotest/cros/chrome_binary_test.py", line 182, in wrapper
    return func(*args, **kargs)
  File "/usr/local/autotest/tests/video_HangoutHardwarePerf/video_HangoutHardwarePerf.py", line 281, in run_once
    with PowerMeasurer() as measurer:
  File "/usr/local/autotest/tests/video_HangoutHardwarePerf/video_HangoutHardwarePerf.py", line 115, in __enter__
    status = power_status.get_status()
  File "/usr/local/autotest/cros/power/power_status.py", line 553, in get_status
    status.refresh()
  File "/usr/local/autotest/cros/power/power_status.py", line 456, in refresh
    self.battery = [ BatteryStat(self.battery_path) ]
  File "/usr/local/autotest/cros/power/power_status.py", line 278, in __init__
    self.update()
  File "/usr/local/autotest/cros/power/power_status.py", line 289, in update
    logging.warn(field + ': ' + repr(getattr(self, field)))
AttributeError: 'BatteryStat' object has no attribute 'remaining_time'

[1]
https://stainless.corp.google.com/search?view=list&first_date=2018-11-27&last_date=2018-12-25&test=video_PowerConsumption.hw_hangout.vp8&build=R70&board=%5Epeach_pi%24&status=WARN&status=FAIL&status=ERROR&exclude_cts=false&exclude_not_run=false&exclude_non_release=true&exclude_au=true&exclude_acts=true&exclude_retried=true&exclude_non_production=false

[2] https://00e9e64bac3c697876442cd5d832beedeb9efa66f1f7a7f0fa-apidata.googleusercontent.com/download/storage/v1/b/chromeos-autotest-results/o/269963727-chromeos-test%2Fchromeos6-row2-rack9-host16%2Fdebug%2Fclient.0.DEBUG?qk=AD5uMEt8GUgfSK29IVFwkrajeXltoZx2uDko2inorRAFjrL4MVDX6Q63fmBSbAMNzR7MPjgF7JhZFyfL2MgtmSwH9Pu-t7sQNTZ8DEVVV61_7G9fENJ2jc-CQ-c06JIxFUzKB9tj0_jduTwSOHtlIQw1uQT2Db6-PZ9uIwwJQfhs7QJ5lD4FVxAOLb67wDVwiYnB_wZipo_cuX51zEE8v9B8g1ctxS1vder7MF4XrHnsu4SvPDcsQUWwjhLc27go-PPXSkplvD9Vq-hQ-K0cxwLqF4_FBUpaITiMkeOn44MRRWGL39DII4t0L4F6o84T6rVVEkZhVLeV0KCPKg1-NzkW0z3thG0cO6TRu71LbkxsXoZMmhqFiFd57pLuYiYuNQJ4OoVsKhmSHtsuEh92z1znADNWgWJK-ClVpQG2RzRwFpBC-2mxn1zGOFD54K6WWcaleEvjqjtYiai0etxaUELmEe32bPXPdOaWbJ_VgirqP8thnhNNY_DbFrW9RulU__ibxln8baZuNuK7uJtpihrqLcnnza3zYH9OMZge4_Rf7LAi5uRH7ewjcis5Y9ICUOZGhX23MsKkwE76ojwwIoSY7-wX2xEJ3UZfwfwel-1opJidsG2ro0PVeX8WyHqxO1ax2nN-bxTQurP9DNifpyrnHQx-VPTHqHFEbwZzz-aOp1zxwS14WqDDxbPx1kwkKIHmcqWIhTkAGh_L3oWnQcdMtQQXqzYO2oxebwjrlvCJdoFpaTU8DKhFRggUnaDZiHl4V7q8fTy7UtW4dlRPgjqb_7Iznk879xJYD46yg0mpJnjtGdkCvYtmoosLg2GJoHsbE0x07mKUf0LzHHL2oeT9zso3Vpo4_wyCBy_37ux56z7x9gimXzs
 
Labels: cros-media-sheriff

Sign in to add a comment