New issue
Advanced search Search tips

Issue 764056 link

Starred by 1 user

Issue metadata

Status: Duplicate
Owner: ----
Closed: Sep 2017
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

webrtc_PausePlayPeerConnections.py test fails due to actual video resolution a little off from expected video resolution

Project Member Reported by mzhuo@google.com, Sep 11 2017

Issue description

Chrome Version       : <Copy from: 'about:version'>
Chrome OS:  R63-9930.0.0
Chrome:     63.0.3212.0

Autotest case/link: https://wmatrix.googleplex.com/failures/unfiltered?suites=hotrod&tests=webrtc_PausePlayPeerConnections.video&days_back=7&builds=R63-9930.0.0&releases=63&platforms=buddy

https://pantheon.corp.google.com/storage/browser/chromeos-autotest-results/141138496-chromeos-test/chromeos1-row3-rack4-host1/webrtc_PausePlayPeerConnections.video/debug/


What is the expected result?
Autotest passed


What happens instead?
autotest webrtc_PausePlayPeerConnections fails. Failure msg:
Expected video resolution 300x225 but got another resolution 17 consecutive times. Last resolution was: 300x226. 
Is this real failure? or just some hiccup due to calculation problem?>

Test fails at 70 //src/third_party/autotest/files/client/common_lib/cros/webrtc_scripts/loopback-peerconnection.js

if (this.badResolutionsSeen >= numSequentialBadResolutionsForFailure) {
      throw new Error(
          'Expected video resolution ' +
          resStr(expectedResolution.w, expectedResolution.h) +
          ' but got another resolution ' + this.badResolutionsSeen +
          ' consecutive times. Last resolution was: ' +
          resStr(this.remoteView.videoWidth, this.remoteView.videoHeight));
    }


Please provide any additional information below. Attach a screenshot if
possible.

Traceback (most recent call last):
  File "/usr/local/autotest/common_lib/test.py", line 606, 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
    return func(*args, **dargs)
  File "/usr/local/autotest/common_lib/test.py", line 470, in execute
    dargs)
  File "/usr/local/autotest/common_lib/test.py", line 347, in _call_run_once_with_retry
    postprocess_profiled_run, args, dargs)
  File "/usr/local/autotest/common_lib/test.py", line 380, in _call_run_once
    self.run_once(*args, **dargs)
  File "/usr/local/autotest/tests/webrtc_PausePlayPeerConnections/webrtc_PausePlayPeerConnections.py", line 26, in run_once
    test.run_test()
  File "/usr/local/autotest/cros/video/helper_logger.py", line 82, in call
    return func(*args, **kwargs)
  File "/usr/local/autotest/common_lib/cros/test_webrtc_peer_connection.py", line 148, in run_test
    self.wait_test_completed(self.timeout)
  File "/usr/local/autotest/common_lib/cros/test_webrtc_peer_connection.py", line 112, in wait_test_completed
    desc='test reports itself as finished')
  File "/usr/local/autotest/common_lib/utils.py", line 2733, in poll_for_condition
    value = condition()
  File "/usr/local/autotest/common_lib/cros/test_webrtc_peer_connection.py", line 106, in _test_done
    'Test status starts with failure, status is: ' + status)
TestFail: Test status starts with failure, status is: failure: Expected video resolution 300x225 but got another resolution 17 consecutive times. Last resolution was: 300x226  <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<,

09/11 02:17:46.397 DEBUG|              test:0617| Running cleanup for test.
09/11 02:17:46.397 DEBUG|   logging_manager:0627| Logging subprocess finished
09/11 02:17:46.401 DEBUG|   logging_manager:0627| Logging subprocess finished

 
Mergedinto: 763726
Status: Duplicate (was: Unconfirmed)

Sign in to add a comment