Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android content-shell failure on html/canvasrenderingcontext2d_test/drawImage_video_element_dataUrl #20524

Closed
whesse opened this issue Aug 14, 2014 · 1 comment
Labels
os-android P2 A bug or feature request we're likely to work on type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)

Comments

@whesse
Copy link
Member

whesse commented Aug 14, 2014

This test fails locally and on the FYI dartium-android builder, but not on the main dartium-android builder.

Here is a log from http://chromegw.corp.google.com/i/client.dart.fyi/builders/dartium-android-release-be/builds/436/steps/dartium_test/logs/stdio

FAILED: none-ContentShellOnAndroid release_arm html/canvasrenderingcontext2d_test/drawImage_video_element_dataUrl
Expected: Pass
Actual: RuntimeError
CommandOutput[ContentShellOnAndroid]:

stdout:
events:
  [
        {
              type: debug
              value: test_controller.js started
              timestamp: 0
        },
        {
              type: debug
              value: Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)
              timestamp: 0.003
        },
        {
              type: print
              value: dart-calling-main
              timestamp: 0.183
        },
        {
              type: print
              value: dart-main-done
              timestamp: 0.437
        },
        {
              type: message_received
              value: dart-calling-main
              timestamp: 0.538
        },
        {
              type: message_received
              value: unittest-suite-wait-for-done
              timestamp: 0.541
        },
        {
              type: message_received
              value: dart-main-done
              timestamp: 0.541
        },
        {
              type: message_received
              value: unittest-suite-done
              timestamp: 0.963
        },
        {
              type: debug
              value: Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)
              timestamp: 0.966
        },
        {
              type: dom
              value: <head>
                      <meta http-equiv="X-UA-Compatible" content="IE=edge">
                      <meta name="dart.unittest" content="full-stack-traces">
                      <title> Test /b/build/slave/dartium-android-release-be/build/src/dart/tests/html/canvasrenderingcontext2d_test.dart </title>
                      <style>
                         .unittest-table { font-family:monospace; border:1px; }
                         .unittest-pass { background: #­6b3;}
                         .unittest-fail { background: #d55;}
                         .unittest-error { background: #a11;}
                      </style>
                    </head>
                    <body><table class="unittest-table"><tbody><tr><td colspan="3" class="unittest-fail">FAIL</td></tr> <tr>
                            <td>23</td>
                            <td class="unittest-fail">FAIL</td>
                            <td>Expectation: <a href="#testFilter=drawImage_video_element_dataUrl with 9 params">drawImage_video_element_dataUrl with 9 params</a>. Expected: &lt;true&gt;
                      Actual: &lt;false&gt;
                    Pixel at (50, 50) was expected to be: &lt;filled&gt; but was: &lt;unfilled&gt; with data: [0, 0, 0, 0]
                    </td>
                          </tr><tr><td></td><td colspan="2"><pre>package:unittest/src/simple_configuration.dart 119:7 SimpleConfiguration.onExpectFailure
                    package:unittest/src/simple_configuration.dart 15:28 _ExpectFailureHandler.fail
                    package:matcher/src/expect.dart 118:9 DefaultFailureHandler.failMatch
                    package:matcher/src/expect.dart 92:29 expect
                    http://localhost:8083/root_dart/tests/html/canvasrenderingcontext2d_test.dart 73:9 expectPixelFilled
                    http://localhost:8083/root_dart/tests/html/canvasrenderingcontext2d_test.dart 576:26 main.&lt;fn&gt;.&lt;fn&gt;.&lt;fn&gt;
                    dart:core-patch/function_patch.dart 28 Function.apply
                    package:unittest/src/spread_args_helper.dart 140:34 _SpreadArgsHelper._max6.&lt;fn&gt;
                    package:unittest/src/spread_args_helper.dart 149:21 _SpreadArgsHelper._guardAsync
                    package:unittest/src/spread_args_helper.dart 137:23 _SpreadArgsHelper._max6
                    package:unittest/src/spread_args_helper.dart 119:39 _max1
                    dart:async/zone.dart 840 _rootRunUnary
                    dart:async/zone.dart 748 _CustomZone.runUnary
                    dart:async/zone.dart 656 _CustomZone.runUnaryGuarded
                    dart:async/zone.dart 682 _CustomZone.bindUnaryCallback.&lt;fn&gt;
                    </pre></td></tr> <tr><td colspan="3">Total
                                <span class="unittest-pass">0 passed</span>,
                                <span class="unittest-fail">1 failed</span>
                                <span class="unittest-error">
                                0 errors</span>
                              </td></tr></tbody></table></body>
              timestamp: 0.966
        },
  ]

@whesse
Copy link
Member Author

whesse commented Aug 14, 2014

This may be the same problem as issue #11834 (https://code.google.com/p/dart/issues/detail?id=11834), or may be different. I suspect it is different, because it is not flaky (on a single machine).

@kevmoo kevmoo added P2 A bug or feature request we're likely to work on type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) and removed triaged labels Mar 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
os-android P2 A bug or feature request we're likely to work on type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)
Projects
None yet
Development

No branches or pull requests

3 participants