dart-lang / sdk

The Dart SDK, including the VM, JS and Wasm compilers, analysis, core libraries, and more.
https://dart.dev
BSD 3-Clause "New" or "Revised" License
10.22k stars 1.57k forks source link

co19/LibTest/html/Element/mouseEnterEvent_A01_t01 seems flaky on dart2js-firefox-linux #30396

Open karlklose opened 7 years ago

karlklose commented 7 years ago

At least the following builds failed that test on dart2js-linux-chromeff-2-4-be: 5535, 5533, 5521

anders-sandholm commented 7 years ago

adding "area-test" for this issue to not interfere with the "needs to be triaged" list of issues.

eernstg commented 6 years ago

Additional failures with the same test and the same configuration were noted on Feb 5th, 2018 (cf. this log file):

FAILED: dart2js-firefox release_x64 co19/LibTest/html/Element/mouseEnterEvent_A01_t01
Expected: Pass
Actual: RuntimeError
--- Command "dart2js" (took 04.000238s):
DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --generate-code-with-compile-time-errors --test-mode --packages=/b/build/slave/dart2js-linux-chromeff-2-4-be/build/sdk/.packages --out=/b/build/slave/dart2js-linux-chromeff-2-4-be/build/sdk/out/ReleaseX64/generated_compilations/dart2js-sdk/tests_co19_src_LibTest_html_Element_mouseEnterEvent_A01_t01/test.js /b/build/slave/dart2js-linux-chromeff-2-4-be/build/sdk/tests/co19/src/LibTest/html/Element/mouseEnterEvent_A01_t01.dart
exit code:
0
stdout:
Compiled 3,885,774 characters Dart to 240,605 characters JavaScript in 4.24 seconds
Dart file (/b/build/slave/dart2js-linux-chromeff-2-4-be/build/sdk/tests/co19/src/LibTest/html/Element/mouseEnterEvent_A01_t01.dart) compiled to JavaScript: out/ReleaseX64/generated_compilations/dart2js-sdk/tests_co19_src_LibTest_html_Element_mouseEnterEvent_A01_t01/test.js
--- Command "firefox" (took 218ms):
/b/build/slave/dart2js-linux-chromeff-2-4-be/build/sdk/tools/sdks/linux/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart firefox http://127.0.0.1:48959/root_build/generated_tests/dart2js-firefox-sdk/tests_co19_src_LibTest_html_Element_mouseEnterEvent_A01_t01/test.html?crossOriginPort=46390
Runtime window.onerror:
window.onerror called: 
http://127.0.0.1:48959/root_build/generated_compilations/dart2js-sdk/tests_co19_src_LibTest_html_Element_mouseEnterEvent_A01_t01/test.js:2139:
Error:
Events:
- debug "test_controller.js started"
- debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)"
- print "dart-calling-main"
- print "unittest-suite-wait-for-done"
- print "unittest-suite-success"
- print "dart-main-done"
- window.onerror called: 

  http://127.0.0.1:48959/root_build/generated_compilations/dart2js-sdk/tests_co19_src_LibTest_html_Element_mouseEnterEvent_A01_t01/test.js:2139:
  Error:
- debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)"
- dom
  <head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="dart.unittest" content="full-stack-traces">
    <title> Test /b/build/slave/dart2js-linux-chromeff-2-4-be/build/sdk/tests/co19/src/LibTest/html/Element/mouseEnterEvent_A01_t01.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>
    <h1> Running /b/build/slave/dart2js-linux-chromeff-2-4-be/build/sdk/tests/co19/src/LibTest/html/Element/mouseEnterEvent_A01_t01.dart </h1>
    <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js">
    </script>
    <script type="text/javascript" src="/root_build/generated_compilations/dart2js-sdk/tests_co19_src_LibTest_html_Element_mouseEnterEvent_A01_t01/test.js" onerror="scriptTagOnErrorCallback(null)" defer="">
    </script>
    <script type="text/javascript" src="/root_dart/pkg/browser/lib/dart.js"></script>

  </body>
exit code:
0

Another occurrence was on Oct 26, 2017 (check this log).

12 local executions of

> tools/test.py -m release -c dart2js -r ff --use-sdk --dart2js-batch --reset-browser-configuration co19/LibTest/html/Element/mouseEnterEvent_A01_t01

produced only successful outcomes, which supports the assumption that this is a rather infrequent flake.