New issue
Advanced search Search tips

Issue 824613 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 827500
Owner:
Closed: Jun 2018
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug



Sign in to add a comment

video_ChromeHWDecodeUsed sometimes failed due to JS Timeout

Project Member Reported by hiroh@chromium.org, Mar 22 2018

Issue description

Timeout exception is thrown while waiting for video end.
https://chromium.googlesource.com/chromiumos/third_party/autotest/+/master/client/site_tests/video_ChromeHWDecodeUsed/video_ChromeHWDecodeUsed.py#90

The occurrence rate is about 5%.

Test Log:
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 400, 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/tests/video_ChromeHWDecodeUsed/video_ChromeHWDecodeUsed.py", line 90, in run_once
    player.wait_ended_or_error()
  File "/usr/local/autotest/cros/video/native_html5_player.py", line 175, in wait_ended_or_error
    timeout=(self.duration() + 10))
  File "/usr/local/telemetry/src/third_party/catapult/common/py_trace_event/py_trace_event/trace_event_impl/decorators.py", line 52, in traced_function
    return func(*args, **kwargs)
  File "/usr/local/telemetry/src/third_party/catapult/telemetry/telemetry/internal/browser/web_contents.py", line 239, in WaitForJavaScriptCondition
    return self._inspector_backend.WaitForJavaScriptCondition(*args, **kwargs)
  File "/usr/local/telemetry/src/third_party/catapult/common/py_trace_event/py_trace_event/trace_event_impl/decorators.py", line 52, in traced_function
    return func(*args, **kwargs)
  File "/usr/local/telemetry/src/third_party/catapult/telemetry/telemetry/internal/backends/chrome_inspector/inspector_backend.py", line 302, in WaitForJavaScriptCondition
    e.message + '\n' + debug_message)
TimeoutException: Timed out while waiting 30s for IsJavaScriptExpressionTrue.
 
Project Member

Comment 1 by bugdroid1@chromium.org, Mar 29 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/autotest/+/e8a1db173db8fdb767c9ef99a2b41d0470edaf49

commit e8a1db173db8fdb767c9ef99a2b41d0470edaf49
Author: Hirokazu Honda <hiroh@chromium.org>
Date: Thu Mar 29 17:25:15 2018

native_html5_player: Lengthen timeout for wait_ended_or_error()

video_ChromeHWDecodeUsed sometimes fails due to the timeout during waiting for
end of video. This might be because the timeout is too short.
This lengthens the timeout by 20 seconds.

BUG= chromium:824613 
TEST=video_ChromeHWDecodeUsed.h264

Change-Id: I94c5f3613fae3991a5215ed0f19b1230db7775e7
Reviewed-on: https://chromium-review.googlesource.com/979884
Commit-Ready: Hirokazu Honda <hiroh@chromium.org>
Tested-by: Hirokazu Honda <hiroh@chromium.org>
Reviewed-by: Kuang-che Wu <kcwu@chromium.org>

[modify] https://crrev.com/e8a1db173db8fdb767c9ef99a2b41d0470edaf49/client/cros/video/native_html5_player.py

Comment 2 by hiroh@chromium.org, Apr 7 2018

Even after the above CL, the same error still happened.
From the log, I cannot know what exactly happens.
I will investigate locally examining.

Comment 3 by hiroh@chromium.org, Jun 27 2018

Mergedinto: 827500
Status: Duplicate (was: Assigned)

Sign in to add a comment