Back to build
Raw log | Switch to full mode | Login

/usr/bin/xvfb-run -a '--server-args=-screen 0 1024x768x24' python -u /b/s/w/ir/cache/builder/sdk/tools/test.py '--progress=status' --report --time --write-debug-log --write-results --write-logs --clean-exit -ndartdevk-checked-linux-release-chrome language_2 corelib_2 lib_2 --copy-coredumps '--chrome=browsers/chrome/google-chrome' --output_directory /b/s/w/ir/tmp/t/tmp6oxkjq in dir /b/s/w/ir/cache/builder/sdk: allow_subannotations: False cmd: ['/usr/bin/xvfb-run', '-a', '--server-args=-screen 0 1024x768x24', 'python', '-u', '/b/s/w/ir/cache/builder/sdk/tools/test.py', '--progress=status', '--report', '--time', '--write-debug-log', '--write-results', '--write-logs', '--clean-exit', '-ndartdevk-checked-linux-release-chrome', 'language_2', 'corelib_2', 'lib_2', '--copy-coredumps', '--chrome=browsers/chrome/google-chrome', '--output_directory', '/b/s/w/ir/tmp/t/tmp6oxkjq'] cwd: '/b/s/w/ir/cache/builder/sdk' env: {'BUILDBOT_BUILDERNAME': 'ddc-linux-release-chrome-be'} env_prefixes: {} env_suffixes: {'PATH': '/b/s/w/ir/kitchen-checkout/depot_tools'} infra_step: False name_tokens: ('ddc kernel tests',) ok_ret: frozenset([0]) trigger_specs: () full environment: BOTO_CONFIG: /b/s/w/ir/tmp/gsutil_task/.boto BUILDBOT_BUILDERNAME: ddc-linux-release-chrome-be BUILDBUCKET_EXPERIMENTAL: FALSE CIPD_CACHE_DIR: /b/s/cipd_cache/cache CIPD_PROTOCOL: v2 DEVSHELL_CLIENT_PORT: 32999 DOCKER_CONFIG: /b/s/w/ir/tmp/docker_cfg_task DOCKER_TMPDIR: /b/s/w/ir/tmp/docker_tmp_task GIT_CONFIG_NOSYSTEM: 1 GIT_TERMINAL_PROMPT: 0 HOME: /home/chrome-bot INFRA_GIT_WRAPPER_HOME: /b/s/w/ir/tmp/git_home_task LANG: en_US.UTF-8 LOGDOG_COORDINATOR_HOST: logs.chromium.org LOGDOG_STREAM_PREFIX: buildbucket/cr-buildbucket.appspot.com/8915721321549185616 LOGDOG_STREAM_PROJECT: dart LOGDOG_STREAM_SERVER_PATH: unix:/b/s/w/ir/tmp/ld.sock LOGNAME: chrome-bot LUCI_CONTEXT: /b/s/w/itBmMDF2/luci_context.371374269 MAC_CHROMIUM_TMPDIR: /b/s/w/ir/tmp/t NO_GCE_CHECK: False PATH: /b/s/w/ir/cipd_bin_packages:/b/s/w/ir/cipd_bin_packages/bin:/b/s/cipd_cache/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/b/s/w/ir/kitchen-checkout/depot_tools PWD: /b/s/w/ir/k PYTHONIOENCODING: UTF-8 PYTHONUNBUFFERED: 1 SHELL: /bin/bash SHLVL: 1 SWARMING_BOT_ID: luci-dart-try-xenial-27-9rpq SWARMING_EXTERNAL_BOT_SETUP: 1 SWARMING_HEADLESS: 1 SWARMING_SERVER: https://chromium-swarm.appspot.com SWARMING_TASK_ID: 444feb239213b011 TEMP: /b/s/w/ir/tmp/t TEMPDIR: /b/s/w/ir/tmp/t TMP: /b/s/w/ir/tmp/t TMPDIR: /b/s/w/ir/tmp/t USER: chrome-bot VPYTHON_VIRTUALENV_ROOT: /b/s/w/ir/cache/vpython _: /b/s/w/ir/cipd_bin_packages/vpython INFO: Core dump archiving is activated tools/testing/dart/main.dart:1: Warning: Interpreting this as package URI, 'package:test_dart/main.dart'. Test configuration: dartdevk-checked-linux-release-chrome(architecture: x64, compiler: dartdevk, mode: release, runtime: chrome, system: linux, vm-options: [], dart2js-options: [], timeout: null, checked, preview-dart-2, use-sdk) Suites tested: language_2, corelib_2, lib_2 Total: 9394 tests * 971 tests will be skipped (669 skipped by design) * 17 tests are expected to be flaky but not crash * 0 tests are expected to flaky crash * 7953 tests are expected to pass * 78 tests are expected to fail that we won't fix * 371 tests are expected to fail that we should fix * 1 tests are expected to crash that we should fix * 0 tests are allowed to timeout * 3 could not be categorized or are in multiple categories FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/results-cache_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 108ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_results-cache_test/results-cache_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/results-cache_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 441ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_results-cache_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.38 } - { type: message_received value: dart-main-done timestamp: 0.38 } - 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 results-cache_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="results-cache_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_results-cache_test/results-cache_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running results-cache_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_results-cache_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["results-cache_test", "dart_sdk", "async_helper"], function(results$45cache_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = results$45cache_test.results$45cache_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/results-cache_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/repeat-match-waldemar_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 196ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_repeat-match-waldemar_test/repeat-match-waldemar_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/repeat-match-waldemar_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 402ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_repeat-match-waldemar_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.363 } - { type: message_received value: dart-main-done timestamp: 0.363 } - 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 repeat-match-waldemar_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="repeat-match-waldemar_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_repeat-match-waldemar_test/repeat-match-waldemar_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running repeat-match-waldemar_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_repeat-match-waldemar_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["repeat-match-waldemar_test", "dart_sdk", "async_helper"], function(repeat$45match$45waldemar_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = repeat$45match$45waldemar_test.repeat$45match$45waldemar_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/repeat-match-waldemar_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/range-out-of-order_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 126ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_range-out-of-order_test/range-out-of-order_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/range-out-of-order_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 383ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_range-out-of-order_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.341 } - { type: message_received value: dart-main-done timestamp: 0.343 } - 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 range-out-of-order_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="range-out-of-order_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_range-out-of-order_test/range-out-of-order_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running range-out-of-order_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_range-out-of-order_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["range-out-of-order_test", "dart_sdk", "async_helper"], function(range$45out$45of$45order_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = range$45out$45of$45order_test.range$45out$45of$45order_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/range-out-of-order_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/character-match-out-of-order_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 116ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_character-match-out-of-order_test/character-match-out-of-order_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/character-match-out-of-order_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 367ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_character-match-out-of-order_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.334 } - { type: message_received value: dart-main-done timestamp: 0.334 } - 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 character-match-out-of-order_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="character-match-out-of-order_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_character-match-out-of-order_test/character-match-out-of-order_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running character-match-out-of-order_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_character-match-out-of-order_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["character-match-out-of-order_test", "dart_sdk", "async_helper"], function(character$45match$45out$45of$45order_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = character$45match$45out$45of$45order_test.character$45match$45out$45of$45order_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/character-match-out-of-order_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/char-insensitive_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 116ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_char-insensitive_test/char-insensitive_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/char-insensitive_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 484ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_char-insensitive_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.448 } - { type: message_received value: dart-main-done timestamp: 0.448 } - 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 char-insensitive_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="char-insensitive_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_char-insensitive_test/char-insensitive_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running char-insensitive_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_char-insensitive_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["char-insensitive_test", "dart_sdk", "async_helper"], function(char$45insensitive_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = char$45insensitive_test.char$45insensitive_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/char-insensitive_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/invalid-range-in-class_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 141ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_invalid-range-in-class_test/invalid-range-in-class_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/invalid-range-in-class_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 388ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_invalid-range-in-class_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.346 } - { type: message_received value: dart-main-done timestamp: 0.346 } - 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 invalid-range-in-class_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="invalid-range-in-class_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_invalid-range-in-class_test/invalid-range-in-class_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running invalid-range-in-class_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_invalid-range-in-class_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["invalid-range-in-class_test", "dart_sdk", "async_helper"], function(invalid$45range$45in$45class_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = invalid$45range$45in$45class_test.invalid$45range$45in$45class_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/invalid-range-in-class_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/non-bmp_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 96ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_non-bmp_test/non-bmp_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/non-bmp_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 573ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_non-bmp_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.528 } - { type: message_received value: dart-main-done timestamp: 0.529 } - 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 non-bmp_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="non-bmp_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_non-bmp_test/non-bmp_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running non-bmp_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_non-bmp_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["non-bmp_test", "dart_sdk", "async_helper"], function(non$45bmp_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = non$45bmp_test.non$45bmp_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/non-bmp_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/malformed-escapes_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 218ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_malformed-escapes_test/malformed-escapes_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/malformed-escapes_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 380ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_malformed-escapes_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.322 } - { type: message_received value: dart-main-done timestamp: 0.322 } - 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 malformed-escapes_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="malformed-escapes_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_malformed-escapes_test/malformed-escapes_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running malformed-escapes_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_malformed-escapes_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["malformed-escapes_test", "dart_sdk", "async_helper"], function(malformed$45escapes_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = malformed$45escapes_test.malformed$45escapes_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/malformed-escapes_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/early-acid3-86_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 179ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_early-acid3-86_test/early-acid3-86_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/early-acid3-86_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 506ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_early-acid3-86_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.458 } - { type: message_received value: dart-main-done timestamp: 0.458 } - 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 early-acid3-86_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="early-acid3-86_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_early-acid3-86_test/early-acid3-86_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running early-acid3-86_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_early-acid3-86_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["early-acid3-86_test", "dart_sdk", "async_helper"], function(early$45acid3$4586_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = early$45acid3$4586_test.early$45acid3$4586_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/early-acid3-86_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/quantified-assertions_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 67ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_quantified-assertions_test/quantified-assertions_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/quantified-assertions_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 448ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_quantified-assertions_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.388 } - { type: message_received value: dart-main-done timestamp: 0.388 } - 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 quantified-assertions_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="quantified-assertions_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_quantified-assertions_test/quantified-assertions_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running quantified-assertions_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_quantified-assertions_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["quantified-assertions_test", "dart_sdk", "async_helper"], function(quantified$45assertions_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = quantified$45assertions_test.quantified$45assertions_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/quantified-assertions_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/alternative-length-miscalculation_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 83ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_alternative-length-miscalculation_test/alternative-length-miscalculation_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/alternative-length-miscalculation_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 639ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_alternative-length-miscalculation_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.534 } - { type: message_received value: dart-main-done timestamp: 0.534 } - 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 alternative-length-miscalculation_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="alternative-length-miscalculation_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_alternative-length-miscalculation_test/alternative-length-miscalculation_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running alternative-length-miscalculation_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_alternative-length-miscalculation_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["alternative-length-miscalculation_test", "dart_sdk", "async_helper"], function(alternative$45length$45miscalculation_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = alternative$45length$45miscalculation_test.alternative$45length$45miscalculation_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/alternative-length-miscalculation_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/pcre-test-4_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 258ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_pcre-test-4_test/pcre-test-4_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/pcre-test-4_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 450ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_pcre-test-4_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.376 } - { type: message_received value: dart-main-done timestamp: 0.376 } - 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 pcre-test-4_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="pcre-test-4_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_pcre-test-4_test/pcre-test-4_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running pcre-test-4_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_pcre-test-4_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["pcre-test-4_test", "dart_sdk", "async_helper"], function(pcre$45test$454_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = pcre$45test$454_test.pcre$45test$454_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/pcre-test-4_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/no-extensions_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 112ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_no-extensions_test/no-extensions_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/no-extensions_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 382ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_no-extensions_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.313 } - { type: message_received value: dart-main-done timestamp: 0.313 } - 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 no-extensions_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="no-extensions_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_no-extensions_test/no-extensions_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running no-extensions_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_no-extensions_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["no-extensions_test", "dart_sdk", "async_helper"], function(no$45extensions_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = no$45extensions_test.no$45extensions_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/no-extensions_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/ascii-regexp-subject_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 128ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_ascii-regexp-subject_test/ascii-regexp-subject_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/ascii-regexp-subject_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 642ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_ascii-regexp-subject_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.595 } - { type: message_received value: dart-main-done timestamp: 0.595 } - 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 ascii-regexp-subject_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="ascii-regexp-subject_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_ascii-regexp-subject_test/ascii-regexp-subject_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running ascii-regexp-subject_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_ascii-regexp-subject_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["ascii-regexp-subject_test", "dart_sdk", "async_helper"], function(ascii$45regexp$45subject_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = ascii$45regexp$45subject_test.ascii$45regexp$45subject_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/ascii-regexp-subject_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/many-brackets_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 138ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_many-brackets_test/many-brackets_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/many-brackets_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 545ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_many-brackets_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.491 } - { type: message_received value: dart-main-done timestamp: 0.491 } - 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 many-brackets_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="many-brackets_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_many-brackets_test/many-brackets_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running many-brackets_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_many-brackets_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["many-brackets_test", "dart_sdk", "async_helper"], function(many$45brackets_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = many$45brackets_test.many$45brackets_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/many-brackets_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/zero-length-alternatives_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 139ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_zero-length-alternatives_test/zero-length-alternatives_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/zero-length-alternatives_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 531ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_zero-length-alternatives_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.494 } - { type: message_received value: dart-main-done timestamp: 0.495 } - 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 zero-length-alternatives_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="zero-length-alternatives_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_zero-length-alternatives_test/zero-length-alternatives_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running zero-length-alternatives_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_zero-length-alternatives_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["zero-length-alternatives_test", "dart_sdk", "async_helper"], function(zero$45length$45alternatives_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = zero$45length$45alternatives_test.zero$45length$45alternatives_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/zero-length-alternatives_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/regress-6-9-regexp_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 90ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_regress-6-9-regexp_test/regress-6-9-regexp_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/regress-6-9-regexp_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 562ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_regress-6-9-regexp_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.501 } - { type: message_received value: dart-main-done timestamp: 0.501 } - 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 regress-6-9-regexp_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="regress-6-9-regexp_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_regress-6-9-regexp_test/regress-6-9-regexp_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running regress-6-9-regexp_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_regress-6-9-regexp_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["regress-6-9-regexp_test", "dart_sdk", "async_helper"], function(regress$456$459$45regexp_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = regress$456$459$45regexp_test.regress$456$459$45regexp_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/regress-6-9-regexp_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/stack-overflow_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 139ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_stack-overflow_test/stack-overflow_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/stack-overflow_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 493ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_stack-overflow_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.438 } - { type: message_received value: dart-main-done timestamp: 0.438 } - 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 stack-overflow_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="stack-overflow_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_stack-overflow_test/stack-overflow_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running stack-overflow_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_stack-overflow_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["stack-overflow_test", "dart_sdk", "async_helper"], function(stack$45overflow_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = stack$45overflow_test.stack$45overflow_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/stack-overflow_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/find-first-asserted_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 117ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_find-first-asserted_test/find-first-asserted_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/find-first-asserted_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 422ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_find-first-asserted_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.369 } - { type: message_received value: dart-main-done timestamp: 0.369 } - 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 find-first-asserted_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="find-first-asserted_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_find-first-asserted_test/find-first-asserted_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running find-first-asserted_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_find-first-asserted_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["find-first-asserted_test", "dart_sdk", "async_helper"], function(find$45first$45asserted_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = find$45first$45asserted_test.find$45first$45asserted_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/find-first-asserted_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/ranges-and-escaped-hyphens_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 134ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_ranges-and-escaped-hyphens_test/ranges-and-escaped-hyphens_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/ranges-and-escaped-hyphens_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 417ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_ranges-and-escaped-hyphens_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.352 } - { type: message_received value: dart-main-done timestamp: 0.352 } - 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 ranges-and-escaped-hyphens_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="ranges-and-escaped-hyphens_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_ranges-and-escaped-hyphens_test/ranges-and-escaped-hyphens_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running ranges-and-escaped-hyphens_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_ranges-and-escaped-hyphens_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["ranges-and-escaped-hyphens_test", "dart_sdk", "async_helper"], function(ranges$45and$45escaped$45hyphens_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = ranges$45and$45escaped$45hyphens_test.ranges$45and$45escaped$45hyphens_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/ranges-and-escaped-hyphens_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/ecma-regex-examples_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 86ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_ecma-regex-examples_test/ecma-regex-examples_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/ecma-regex-examples_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 351ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_ecma-regex-examples_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.293 } - { type: message_received value: dart-main-done timestamp: 0.293 } - 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 ecma-regex-examples_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="ecma-regex-examples_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_ecma-regex-examples_test/ecma-regex-examples_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running ecma-regex-examples_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_ecma-regex-examples_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["ecma-regex-examples_test", "dart_sdk", "async_helper"], function(ecma$45regex$45examples_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = ecma$45regex$45examples_test.ecma$45regex$45examples_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/ecma-regex-examples_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/unicode-handling_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 79ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_unicode-handling_test/unicode-handling_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/unicode-handling_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 384ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_unicode-handling_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.328 } - { type: message_received value: dart-main-done timestamp: 0.328 } - 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 unicode-handling_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="unicode-handling_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_unicode-handling_test/unicode-handling_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running unicode-handling_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_unicode-handling_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["unicode-handling_test", "dart_sdk", "async_helper"], function(unicode$45handling_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = unicode$45handling_test.unicode$45handling_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/unicode-handling_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/non-character_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 110ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_non-character_test/non-character_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/non-character_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 319ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_non-character_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.281 } - { type: message_received value: dart-main-done timestamp: 0.281 } - 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 non-character_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="non-character_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_non-character_test/non-character_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running non-character_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_non-character_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["non-character_test", "dart_sdk", "async_helper"], function(non$45character_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = non$45character_test.non$45character_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/non-character_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/non-greedy-parentheses_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 114ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_non-greedy-parentheses_test/non-greedy-parentheses_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/non-greedy-parentheses_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 402ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_non-greedy-parentheses_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.328 } - { type: message_received value: dart-main-done timestamp: 0.328 } - 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 non-greedy-parentheses_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="non-greedy-parentheses_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_non-greedy-parentheses_test/non-greedy-parentheses_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running non-greedy-parentheses_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_non-greedy-parentheses_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["non-greedy-parentheses_test", "dart_sdk", "async_helper"], function(non$45greedy$45parentheses_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = non$45greedy$45parentheses_test.non$45greedy$45parentheses_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/non-greedy-parentheses_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/non-capturing-backtracking_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 112ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_non-capturing-backtracking_test/non-capturing-backtracking_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/non-capturing-backtracking_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 408ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_non-capturing-backtracking_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.358 } - { type: message_received value: dart-main-done timestamp: 0.358 } - 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 non-capturing-backtracking_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="non-capturing-backtracking_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_non-capturing-backtracking_test/non-capturing-backtracking_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running non-capturing-backtracking_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_non-capturing-backtracking_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["non-capturing-backtracking_test", "dart_sdk", "async_helper"], function(non$45capturing$45backtracking_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = non$45capturing$45backtracking_test.non$45capturing$45backtracking_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/non-capturing-backtracking_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/regress-regexp-codeflush_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 132ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_regress-regexp-codeflush_test/regress-regexp-codeflush_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/regress-regexp-codeflush_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 641ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_regress-regexp-codeflush_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.597 } - { type: message_received value: dart-main-done timestamp: 0.597 } - 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 regress-regexp-codeflush_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="regress-regexp-codeflush_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_regress-regexp-codeflush_test/regress-regexp-codeflush_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running regress-regexp-codeflush_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_regress-regexp-codeflush_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["regress-regexp-codeflush_test", "dart_sdk", "async_helper"], function(regress$45regexp$45codeflush_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = regress$45regexp$45codeflush_test.regress$45regexp$45codeflush_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/regress-regexp-codeflush_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/regress-regexp-construct-result_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 143ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_regress-regexp-construct-result_test/regress-regexp-construct-result_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/regress-regexp-construct-result_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 528ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_regress-regexp-construct-result_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.477 } - { type: message_received value: dart-main-done timestamp: 0.48 } - 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 regress-regexp-construct-result_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="regress-regexp-construct-result_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_regress-regexp-construct-result_test/regress-regexp-construct-result_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running regress-regexp-construct-result_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_regress-regexp-construct-result_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["regress-regexp-construct-result_test", "dart_sdk", "async_helper"], function(regress$45regexp$45construct$45result_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = regress$45regexp$45construct$45result_test.regress$45regexp$45construct$45result_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/regress-regexp-construct-result_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/compile-crash_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 196ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_compile-crash_test/compile-crash_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/compile-crash_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 522ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_compile-crash_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.477 } - { type: message_received value: dart-main-done timestamp: 0.477 } - 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 compile-crash_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="compile-crash_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_compile-crash_test/compile-crash_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running compile-crash_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_compile-crash_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["compile-crash_test", "dart_sdk", "async_helper"], function(compile$45crash_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = compile$45crash_test.compile$45crash_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/compile-crash_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/extended-characters-match_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 112ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_extended-characters-match_test/extended-characters-match_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/extended-characters-match_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 385ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_extended-characters-match_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.337 } - { type: message_received value: dart-main-done timestamp: 0.337 } - 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 extended-characters-match_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="extended-characters-match_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_extended-characters-match_test/extended-characters-match_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running extended-characters-match_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_extended-characters-match_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["extended-characters-match_test", "dart_sdk", "async_helper"], function(extended$45characters$45match_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = extended$45characters$45match_test.extended$45characters$45match_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/extended-characters-match_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/negative-special-characters_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 199ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_negative-special-characters_test/negative-special-characters_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/negative-special-characters_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 580ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_negative-special-characters_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.529 } - { type: message_received value: dart-main-done timestamp: 0.529 } - 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 negative-special-characters_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="negative-special-characters_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_negative-special-characters_test/negative-special-characters_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running negative-special-characters_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_negative-special-characters_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["negative-special-characters_test", "dart_sdk", "async_helper"], function(negative$45special$45characters_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = negative$45special$45characters_test.negative$45special$45characters_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/negative-special-characters_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/loop-capture_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 154ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_loop-capture_test/loop-capture_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/loop-capture_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 415ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_loop-capture_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.354 } - { type: message_received value: dart-main-done timestamp: 0.354 } - 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 loop-capture_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="loop-capture_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_loop-capture_test/loop-capture_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running loop-capture_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_loop-capture_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["loop-capture_test", "dart_sdk", "async_helper"], function(loop$45capture_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = loop$45capture_test.loop$45capture_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/loop-capture_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/bol-with-multiline_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 116ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_bol-with-multiline_test/bol-with-multiline_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/bol-with-multiline_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 321ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_bol-with-multiline_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.276 } - { type: message_received value: dart-main-done timestamp: 0.276 } - 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 bol-with-multiline_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="bol-with-multiline_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_bol-with-multiline_test/bol-with-multiline_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running bol-with-multiline_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_bol-with-multiline_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["bol-with-multiline_test", "dart_sdk", "async_helper"], function(bol$45with$45multiline_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = bol$45with$45multiline_test.bol$45with$45multiline_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/bol-with-multiline_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/stack-overflow2_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 115ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_stack-overflow2_test/stack-overflow2_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/stack-overflow2_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 374ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_stack-overflow2_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.314 } - { type: message_received value: dart-main-done timestamp: 0.315 } - 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 stack-overflow2_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="stack-overflow2_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_stack-overflow2_test/stack-overflow2_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running stack-overflow2_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_stack-overflow2_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["stack-overflow2_test", "dart_sdk", "async_helper"], function(stack$45overflow2_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = stack$45overflow2_test.stack$45overflow2_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/stack-overflow2_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/look-ahead_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 100ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_look-ahead_test/look-ahead_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/look-ahead_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 444ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_look-ahead_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.343 } - { type: message_received value: dart-main-done timestamp: 0.343 } - 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 look-ahead_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="look-ahead_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_look-ahead_test/look-ahead_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running look-ahead_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_look-ahead_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["look-ahead_test", "dart_sdk", "async_helper"], function(look$45ahead_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = look$45ahead_test.look$45ahead_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/look-ahead_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/range-bound-ffff_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 143ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_range-bound-ffff_test/range-bound-ffff_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/range-bound-ffff_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 449ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_range-bound-ffff_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.407 } - { type: message_received value: dart-main-done timestamp: 0.408 } - 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 range-bound-ffff_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="range-bound-ffff_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_range-bound-ffff_test/range-bound-ffff_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running range-bound-ffff_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_range-bound-ffff_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["range-bound-ffff_test", "dart_sdk", "async_helper"], function(range$45bound$45ffff_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = range$45bound$45ffff_test.range$45bound$45ffff_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/range-bound-ffff_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/extended-characters-more_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 113ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_extended-characters-more_test/extended-characters-more_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/extended-characters-more_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 382ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_extended-characters-more_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.343 } - { type: message_received value: dart-main-done timestamp: 0.343 } - 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 extended-characters-more_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="extended-characters-more_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_extended-characters-more_test/extended-characters-more_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running extended-characters-more_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_extended-characters-more_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["extended-characters-more_test", "dart_sdk", "async_helper"], function(extended$45characters$45more_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = extended$45characters$45more_test.extended$45characters$45more_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/extended-characters-more_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/non-capturing-groups_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 103ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_non-capturing-groups_test/non-capturing-groups_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/non-capturing-groups_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 466ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_non-capturing-groups_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.42 } - { type: message_received value: dart-main-done timestamp: 0.42 } - 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 non-capturing-groups_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="non-capturing-groups_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_non-capturing-groups_test/non-capturing-groups_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running non-capturing-groups_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_non-capturing-groups_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["non-capturing-groups_test", "dart_sdk", "async_helper"], function(non$45capturing$45groups_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = non$45capturing$45groups_test.non$45capturing$45groups_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/non-capturing-groups_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/capture-3_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 75ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_capture-3_test/capture-3_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/capture-3_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 548ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_capture-3_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.447 } - { type: message_received value: dart-main-done timestamp: 0.447 } - 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 capture-3_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="capture-3_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_capture-3_test/capture-3_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running capture-3_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_capture-3_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["capture-3_test", "dart_sdk", "async_helper"], function(capture$453_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = capture$453_test.capture$453_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/capture-3_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/error_stack_trace_test/nullThrown Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 129ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_corelib_2_error_stack_trace_test_nullThrown/error_stack_trace_test_nullThrown.js /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_tests/corelib_2/error_stack_trace_test_nullThrown.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_tests/corelib_2) exit code: 0 --- Command "chrome" (took 512ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_corelib_2_error_stack_trace_test_nullThrown/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.451 } - { type: message_received value: dart-main-done timestamp: 0.451 } - 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 error_stack_trace_test_nullThrown</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="error_stack_trace_test_nullThrown" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_corelib_2_error_stack_trace_test_nullThrown/error_stack_trace_test_nullThrown.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running error_stack_trace_test_nullThrown</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_corelib_2_error_stack_trace_test_nullThrown", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["error_stack_trace_test_nullThrown", "dart_sdk", "async_helper"], function(error_stack_trace_test_nullThrown, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = error_stack_trace_test_nullThrown.error_stack_trace_test_nullThrown.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/error_stack_trace_test/nullThrown FAILED: dartdevk-chrome-checked release_x64 language_2/mixin_declaration/mixin_declaration_subtype_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 83ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_mixin_declaration_mixin_declaration_subtype_test/mixin_declaration_subtype_test.js /b/s/w/ir/cache/builder/sdk/tests/language_2/mixin_declaration/mixin_declaration_subtype_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2/mixin_declaration) exit code: 0 --- Command "chrome" (took 532ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_mixin_declaration_mixin_declaration_subtype_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.452 } - { type: message_received value: dart-main-done timestamp: 0.454 } - 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 mixin_declaration_subtype_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="mixin_declaration_subtype_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_mixin_declaration_mixin_declaration_subtype_test/mixin_declaration_subtype_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running mixin_declaration_subtype_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_mixin_declaration_mixin_declaration_subtype_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["mixin_declaration_subtype_test", "dart_sdk", "async_helper"], function(mixin_declaration_subtype_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = mixin_declaration_subtype_test.mixin_declaration_subtype_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/mixin_declaration/mixin_declaration_subtype_test FAILED: dartdevk-chrome-checked release_x64 language_2/regress_16640_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 108ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_regress_16640_test/regress_16640_test.js /b/s/w/ir/cache/builder/sdk/tests/language_2/regress_16640_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 450ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_regress_16640_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.422 } - { type: message_received value: dart-main-done timestamp: 0.422 } - 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 regress_16640_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="regress_16640_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_regress_16640_test/regress_16640_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running regress_16640_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_regress_16640_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["regress_16640_test", "dart_sdk", "async_helper"], function(regress_16640_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = regress_16640_test.regress_16640_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/regress_16640_test FAILED: dartdevk-chrome-checked release_x64 language_2/function_subtype_inline2_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 89ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_function_subtype_inline2_test/function_subtype_inline2_test.js /b/s/w/ir/cache/builder/sdk/tests/language_2/function_subtype_inline2_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 01.000174s): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_function_subtype_inline2_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 1.131 } - { type: message_received value: dart-main-done timestamp: 1.132 } - 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 function_subtype_inline2_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="function_subtype_inline2_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_function_subtype_inline2_test/function_subtype_inline2_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running function_subtype_inline2_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_function_subtype_inline2_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["function_subtype_inline2_test", "dart_sdk", "async_helper"], function(function_subtype_inline2_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = function_subtype_inline2_test.function_subtype_inline2_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/function_subtype_inline2_test FAILED: dartdevk-chrome-checked release_x64 language_2/control_flow_collections/await_for_null_test Expected: Pass Actual: RuntimeError --- Command "dartdevk" (took 01.000099s): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --enable-experiment=control-flow-collections,spread-collections --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_control_flow_collections_await_for_null_test/await_for_null_test.js /b/s/w/ir/cache/builder/sdk/tests/language_2/control_flow_collections/await_for_null_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2/control_flow_collections) exit code: 0 --- Command "chrome" (took 551ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_control_flow_collections_await_for_null_test/test.html?crossOriginPort=44439 Runtime window.onerror: window.onunhandledrejection called: Error: asyncExpectThrows<NoSuchMethodError>(): Did not throw. at Object.dart.throw (http://127.0.0.1:33905/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:3870:11) at result.then.dart.fn._ (http://127.0.0.1:33905/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js:90:17) at async._RootZone.new.runUnary (http://127.0.0.1:33905/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:28123:58) at _FutureListener.then.handleValue (http://127.0.0.1:33905/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24123:29) at handleValueCallback (http://127.0.0.1:33905/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24589:49) at Function._propagateToListeners (http://127.0.0.1:33905/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24621:17) at async._AsyncCallbackEntry.new.(anonymous function).scheduleMicrotask.dart.fn [as callback] (http://127.0.0.1:33905/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24375:27) at Object.async._microtaskLoop (http://127.0.0.1:33905/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:28333:13) at async._startMicrotaskLoop (http://127.0.0.1:33905/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:28339:13) at dart.global.Promise.resolve.then (http://127.0.0.1:33905/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24821:9) exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/control_flow_collections/await_for_null_test FAILED: dartdevk-chrome-checked release_x64 language_2/syncstar_covariant_type_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 126ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_syncstar_covariant_type_test/syncstar_covariant_type_test.js /b/s/w/ir/cache/builder/sdk/tests/language_2/syncstar_covariant_type_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 469ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_syncstar_covariant_type_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.413 } - { type: message_received value: dart-main-done timestamp: 0.413 } - 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 syncstar_covariant_type_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="syncstar_covariant_type_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_syncstar_covariant_type_test/syncstar_covariant_type_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running syncstar_covariant_type_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_syncstar_covariant_type_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["syncstar_covariant_type_test", "dart_sdk", "async_helper"], function(syncstar_covariant_type_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = syncstar_covariant_type_test.syncstar_covariant_type_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/syncstar_covariant_type_test FAILED: dartdevk-chrome-checked release_x64 language_2/asyncstar_covariant_type_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 93ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_asyncstar_covariant_type_test/asyncstar_covariant_type_test.js /b/s/w/ir/cache/builder/sdk/tests/language_2/asyncstar_covariant_type_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 386ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_asyncstar_covariant_type_test/test.html?crossOriginPort=44439 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 "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.329 } - { type: message_received value: unittest-suite-wait-for-done timestamp: 0.329 } - { type: message_received value: dart-main-done timestamp: 0.329 } - print "unittest-suite-done" - { type: message_received value: unittest-suite-done timestamp: 0.33 } - 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 asyncstar_covariant_type_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="asyncstar_covariant_type_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_asyncstar_covariant_type_test/asyncstar_covariant_type_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running asyncstar_covariant_type_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_asyncstar_covariant_type_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["asyncstar_covariant_type_test", "dart_sdk", "async_helper"], function(asyncstar_covariant_type_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = asyncstar_covariant_type_test.asyncstar_covariant_type_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/asyncstar_covariant_type_test FAILED: dartdevk-chrome-checked release_x64 language_2/built_in_identifier_type_annotation_test/dynamic-list Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 139ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_language_2_built_in_identifier_type_annotation_test_dynamic-list/built_in_identifier_type_annotation_test_dynamic-list.js /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_tests/language_2/built_in_identifier_type_annotation_test_dynamic-list.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_tests/language_2) exit code: 0 --- Command "chrome" (took 408ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_built_in_identifier_type_annotation_test_dynamic-list/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.364 } - { type: message_received value: dart-main-done timestamp: 0.364 } - 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 built_in_identifier_type_annotation_test_dynamic-list</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="built_in_identifier_type_annotation_test_dynamic-list" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_language_2_built_in_identifier_type_annotation_test_dynamic-list/built_in_identifier_type_annotation_test_dynamic-list.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running built_in_identifier_type_annotation_test_dynamic-list</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_language_2_built_in_identifier_type_annotation_test_dynamic-list", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["built_in_identifier_type_annotation_test_dynamic-list", "dart_sdk", "async_helper"], function(built_in_identifier_type_annotation_test_dynamic$45list, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = built_in_identifier_type_annotation_test_dynamic$45list.built_in_identifier_type_annotation_test_dynamic$45list.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/built_in_identifier_type_annotation_test/dynamic-list FAILED: dartdevk-chrome-checked release_x64 language_2/built_in_identifier_type_annotation_test/dynamic-funarg Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 78ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_language_2_built_in_identifier_type_annotation_test_dynamic-funarg/built_in_identifier_type_annotation_test_dynamic-funarg.js /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_tests/language_2/built_in_identifier_type_annotation_test_dynamic-funarg.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_tests/language_2) exit code: 0 --- Command "chrome" (took 483ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_built_in_identifier_type_annotation_test_dynamic-funarg/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.434 } - { type: message_received value: dart-main-done timestamp: 0.436 } - 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 built_in_identifier_type_annotation_test_dynamic-funarg</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="built_in_identifier_type_annotation_test_dynamic-funarg" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_language_2_built_in_identifier_type_annotation_test_dynamic-funarg/built_in_identifier_type_annotation_test_dynamic-funarg.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running built_in_identifier_type_annotation_test_dynamic-funarg</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_language_2_built_in_identifier_type_annotation_test_dynamic-funarg", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["built_in_identifier_type_annotation_test_dynamic-funarg", "dart_sdk", "async_helper"], function(built_in_identifier_type_annotation_test_dynamic$45funarg, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = built_in_identifier_type_annotation_test_dynamic$45funarg.built_in_identifier_type_annotation_test_dynamic$45funarg.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/built_in_identifier_type_annotation_test/dynamic-funarg FAILED: dartdevk-chrome-checked release_x64 language_2/built_in_identifier_type_annotation_test/dynamic-funret Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 78ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_language_2_built_in_identifier_type_annotation_test_dynamic-funret/built_in_identifier_type_annotation_test_dynamic-funret.js /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_tests/language_2/built_in_identifier_type_annotation_test_dynamic-funret.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_tests/language_2) exit code: 0 --- Command "chrome" (took 417ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_built_in_identifier_type_annotation_test_dynamic-funret/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.377 } - { type: message_received value: dart-main-done timestamp: 0.377 } - 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 built_in_identifier_type_annotation_test_dynamic-funret</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="built_in_identifier_type_annotation_test_dynamic-funret" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_language_2_built_in_identifier_type_annotation_test_dynamic-funret/built_in_identifier_type_annotation_test_dynamic-funret.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running built_in_identifier_type_annotation_test_dynamic-funret</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_language_2_built_in_identifier_type_annotation_test_dynamic-funret", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["built_in_identifier_type_annotation_test_dynamic-funret", "dart_sdk", "async_helper"], function(built_in_identifier_type_annotation_test_dynamic$45funret, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = built_in_identifier_type_annotation_test_dynamic$45funret.built_in_identifier_type_annotation_test_dynamic$45funret.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/built_in_identifier_type_annotation_test/dynamic-funret FAILED: dartdevk-chrome-checked release_x64 language_2/string_literals_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 141ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_string_literals_test/string_literals_test.js /b/s/w/ir/cache/builder/sdk/tests/language_2/string_literals_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 465ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_string_literals_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.39 } - { type: message_received value: dart-main-done timestamp: 0.39 } - 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 string_literals_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="string_literals_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_string_literals_test/string_literals_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running string_literals_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_string_literals_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["string_literals_test", "dart_sdk", "async_helper"], function(string_literals_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = string_literals_test.string_literals_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/string_literals_test FAILED: dartdevk-chrome-checked release_x64 language_2/mixin_super_use_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 131ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_mixin_super_use_test/mixin_super_use_test.js /b/s/w/ir/cache/builder/sdk/tests/language_2/mixin_super_use_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 549ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_mixin_super_use_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.479 } - { type: message_received value: dart-main-done timestamp: 0.479 } - 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 mixin_super_use_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="mixin_super_use_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_mixin_super_use_test/mixin_super_use_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running mixin_super_use_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_mixin_super_use_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["mixin_super_use_test", "dart_sdk", "async_helper"], function(mixin_super_use_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = mixin_super_use_test.mixin_super_use_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/mixin_super_use_test FAILED: dartdevk-chrome-checked release_x64 language_2/syncstar_yield_test/copyParameters Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 114ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_language_2_syncstar_yield_test_copyParameters/syncstar_yield_test_copyParameters.js /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_tests/language_2/syncstar_yield_test_copyParameters.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_tests/language_2) exit code: 0 --- Command "chrome" (took 391ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_syncstar_yield_test_copyParameters/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.337 } - { type: message_received value: dart-main-done timestamp: 0.338 } - 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 syncstar_yield_test_copyParameters</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="syncstar_yield_test_copyParameters" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_language_2_syncstar_yield_test_copyParameters/syncstar_yield_test_copyParameters.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running syncstar_yield_test_copyParameters</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_language_2_syncstar_yield_test_copyParameters", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["syncstar_yield_test_copyParameters", "dart_sdk", "async_helper"], function(syncstar_yield_test_copyParameters, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = syncstar_yield_test_copyParameters.syncstar_yield_test_copyParameters.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/syncstar_yield_test/copyParameters FAILED: dartdevk-chrome-checked release_x64 language_2/syncstar_yield_test/capturing Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 118ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_language_2_syncstar_yield_test_capturing/syncstar_yield_test_capturing.js /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_tests/language_2/syncstar_yield_test_capturing.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_tests/language_2) exit code: 0 --- Command "chrome" (took 490ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_syncstar_yield_test_capturing/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.434 } - { type: message_received value: dart-main-done timestamp: 0.434 } - 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 syncstar_yield_test_capturing</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="syncstar_yield_test_capturing" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_language_2_syncstar_yield_test_capturing/syncstar_yield_test_capturing.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running syncstar_yield_test_capturing</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_language_2_syncstar_yield_test_capturing", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["syncstar_yield_test_capturing", "dart_sdk", "async_helper"], function(syncstar_yield_test_capturing, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = syncstar_yield_test_capturing.syncstar_yield_test_capturing.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/syncstar_yield_test/capturing 4984 out of 8423 completed Tests running for 5 minutes FAILED: dartdevk-chrome-checked release_x64 language_2/private_method_tearoff_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 228ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_private_method_tearoff_test/private_method_tearoff_test.js /b/s/w/ir/cache/builder/sdk/tests/language_2/private_method_tearoff_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 420ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_private_method_tearoff_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.371 } - { type: message_received value: dart-main-done timestamp: 0.371 } - 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 private_method_tearoff_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="private_method_tearoff_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_private_method_tearoff_test/private_method_tearoff_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running private_method_tearoff_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_private_method_tearoff_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["private_method_tearoff_test", "dart_sdk", "async_helper"], function(private_method_tearoff_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = private_method_tearoff_test.private_method_tearoff_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/private_method_tearoff_test FAILED: dartdevk-chrome-checked release_x64 language_2/exception_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 92ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_exception_test/exception_test.js /b/s/w/ir/cache/builder/sdk/tests/language_2/exception_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 430ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_exception_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "Hello" - print "bye" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.393 } - { type: message_received value: dart-main-done timestamp: 0.393 } - 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 exception_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="exception_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_exception_test/exception_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running exception_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_exception_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["exception_test", "dart_sdk", "async_helper"], function(exception_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = exception_test.exception_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/exception_test FAILED: dartdevk-chrome-checked release_x64 language_2/async_covariant_type_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 84ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_async_covariant_type_test/async_covariant_type_test.js /b/s/w/ir/cache/builder/sdk/tests/language_2/async_covariant_type_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 473ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_async_covariant_type_test/test.html?crossOriginPort=44439 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 "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.423 } - { type: message_received value: unittest-suite-wait-for-done timestamp: 0.423 } - { type: message_received value: dart-main-done timestamp: 0.424 } - print "unittest-suite-done" - { type: message_received value: unittest-suite-done timestamp: 0.424 } - 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 async_covariant_type_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_covariant_type_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_async_covariant_type_test/async_covariant_type_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running async_covariant_type_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_async_covariant_type_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["async_covariant_type_test", "dart_sdk", "async_helper"], function(async_covariant_type_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = async_covariant_type_test.async_covariant_type_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/async_covariant_type_test FAILED: dartdevk-chrome-checked release_x64 language_2/f_bounded_quantification3_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 125ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_f_bounded_quantification3_test/f_bounded_quantification3_test.js /b/s/w/ir/cache/builder/sdk/tests/language_2/f_bounded_quantification3_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 529ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_f_bounded_quantification3_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.479 } - { type: message_received value: dart-main-done timestamp: 0.48 } - 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 f_bounded_quantification3_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="f_bounded_quantification3_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_f_bounded_quantification3_test/f_bounded_quantification3_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running f_bounded_quantification3_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_f_bounded_quantification3_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["f_bounded_quantification3_test", "dart_sdk", "async_helper"], function(f_bounded_quantification3_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = f_bounded_quantification3_test.f_bounded_quantification3_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/f_bounded_quantification3_test FAILED: dartdevk-chrome-checked release_x64 language_2/const_list_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 74ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_const_list_test/const_list_test.js /b/s/w/ir/cache/builder/sdk/tests/language_2/const_list_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 442ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_const_list_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.397 } - { type: message_received value: dart-main-done timestamp: 0.397 } - 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 const_list_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="const_list_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_const_list_test/const_list_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running const_list_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_const_list_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["const_list_test", "dart_sdk", "async_helper"], function(const_list_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = const_list_test.const_list_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/const_list_test FAILED: dartdevk-chrome-checked release_x64 language_2/function_propagation_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 166ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_function_propagation_test/function_propagation_test.js /b/s/w/ir/cache/builder/sdk/tests/language_2/function_propagation_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 423ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_function_propagation_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.345 } - { type: message_received value: dart-main-done timestamp: 0.345 } - 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 function_propagation_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="function_propagation_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_function_propagation_test/function_propagation_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running function_propagation_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_function_propagation_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["function_propagation_test", "dart_sdk", "async_helper"], function(function_propagation_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = function_propagation_test.function_propagation_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/function_propagation_test FAILED: dartdevk-chrome-checked release_x64 language_2/super_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 92ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_super_test/super_test.js /b/s/w/ir/cache/builder/sdk/tests/language_2/super_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 404ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_super_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.345 } - { type: message_received value: dart-main-done timestamp: 0.345 } - 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 super_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="super_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_super_test/super_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running super_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_super_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["super_test", "dart_sdk", "async_helper"], function(super_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = super_test.super_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/super_test Double reporting tests http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_stacktrace_fromstring_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_deferred_redirecting_factory_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_async_continue_label_test_none/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_async_continue_label_test_await_in_condition/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_async_continue_label_test_await_in_init/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_async_continue_label_test_await_in_body/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_async_continue_label_test_await_in_update/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_async_await_foreign_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_await_postfix_expr_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_async_star_async_star_await_for_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_async_star_async_star_cancel_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_async_star_async_star_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_async_star_async_star_invalid_test_none/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_async_star_async_star_invalid_test_03/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_await_started_immediately_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_yieldstar_pause_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_async_star_test_01/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_async_star_test_03/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_async_star_test_02/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_async_star_test_05/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_async_star_test_none/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_async_star_test_04/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_await_future_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_deferred_no_such_method_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_control_flow_collections_await_for_null_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_control_flow_collections_await_for_inference_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_control_flow_collections_if_await_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_control_flow_collections_for_await_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_control_flow_collections_await_for_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_deferred_mixin_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_async_star_no_cancel_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_deferred_global_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_issue28498_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_async_return_types_test_none/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_await_nonfuture_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_async_switch_test_withDefault/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_async_switch_test_none/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_await_for_cancel_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_deferred_shared_and_unshared_classes_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_deferred_constraints_type_annotation_test_type_annotation_non_deferred/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_deferred_constraints_type_annotation_test_none/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_deferred_constraints_type_annotation_test_new/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_deferred_constraints_type_annotation_test_new_generic1/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_deferred_constraints_type_annotation_test_static_method/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_regress_22443_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_asyncstar_yieldstar_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_conditional_import_string_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_async_star_regression_2238_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_asyncstar_yield_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_async_star_no_cancel2_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_spread_collections_await_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_async_star_take_reyield_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_async_star_error_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_async_star_stream_take_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_async_star_regression_23116_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_async_star_pause_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_regress_22777_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_asyncstar_concat_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_flatten_test_01/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_flatten_test_04/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_async_star_cancel_while_paused_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_async_throw_in_catch_test_forceAwait/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_async_throw_in_catch_test_none/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_issue23244_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_async_this_bound_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_conditional_import_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_async_regression_23058_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_deferred_shadow_load_library_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_await_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_deferred_closurize_load_library_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_await_for_use_local_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_regress_24935_test_01/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_assert_message_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_async_await_catch_regression_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_async_star_regression_fisk_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_await_for_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_async_star_await_pauses_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_regress_26175_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_deferred_constant_list_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_async_error_timing_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_await_exceptions_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_async_await_test_none/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_async_await_test_03/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_async_await_test_02/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_async_call_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_async_break_in_finally_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_async_star_cancel_and_throw_in_finally_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_regress_23996_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_async_and_or_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_convert_streamed_conversion_json_encode1_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_convert_encoding_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_convert_streamed_conversion_json_utf8_encode_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_convert_streamed_conversion_json_decode1_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stack_trace02_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_convert_streamed_conversion_json_utf8_decode_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_async_await_sync_completer_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_schedule_microtask2_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_zone_create_timer_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stack_trace14_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_catch_errors15_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_catch_errors7_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stack_trace05_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_lib_2_async_stream_last_where_test_none/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_convert_streamed_conversion_utf8_encode_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stack_trace06_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_future_microtask_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_catch_errors12_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stream_from_iterable_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_run_zoned8_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stream_single_to_multi_subscriber_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stack_trace17_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_catch_errors28_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_future_delayed_error_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_future_value_chain4_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stream_empty_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_zone_bind_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_convert_streamed_conversion_utf8_decode_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stack_trace21_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_future_value_chain_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stack_trace03_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_intercept_schedule_microtask5_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stream_subscription_cancel_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_catch_errors26_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_schedule_microtask3_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_catch_errors3_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stack_trace23_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stream_periodic3_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_intercept_schedule_microtask6_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_catch_errors_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_catch_errors11_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_intercept_schedule_microtask4_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_slow_consumer3_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stack_trace18_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stream_periodic2_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_future_value_chain3_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_catch_errors18_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_zone_run_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stream_transformer_from_bind_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_zone_create_timer2_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_catch_errors20_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_schedule_microtask_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_catch_errors27_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_intercept_schedule_microtask3_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stream_transformer_from_handlers_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stack_trace22_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stream_join_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stream_single_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stream_from_futures_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stream_state_nonzero_timer_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_timer_cancel1_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_future_value_chain2_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_zone_run_unary_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stream_periodic_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stack_trace15_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_async_await_zones_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_timer_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_catch_errors5_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stream_controller_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stream_controller_async_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stream_iterator_double_cancel_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stream_subscription_as_future_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_zone_run_guarded_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stream_distinct_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_catch_errors14_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_run_zoned7_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_catch_errors16_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stack_trace07_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_zone_debug_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_zone_empty_description2_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_zone_future_schedule_microtask_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_timer_not_available_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stack_trace09_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stack_trace01_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stream_periodic6_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_catch_errors6_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stream_periodic5_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stack_trace19_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_catch_errors13_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stack_trace12_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stack_trace24_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stream_listen_zone_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stack_trace13_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stream_view_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stack_trace11_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stack_trace25_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_catch_errors22_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_wait_for_cancel_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_catch_errors2_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_catch_errors21_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_zone_error_callback_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stream_state_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stack_trace16_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_catch_errors17_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_zone_empty_description_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_periodic_timer2_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stream_transformation_broadcast_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_catch_errors4_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_zone_create_periodic_timer_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stack_trace08_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_lib_2_async_stream_first_where_test_none/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_catch_errors24_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_periodic_timer3_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_catch_errors23_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_futures_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_null_future_zone_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_async_no_await_zones_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stack_trace20_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stream_transform_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stream_iterator_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_future_constructor2_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_catch_errors8_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_future_foreach_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_schedule_microtask5_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_timer_isActive_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_catch_errors19_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stream_zones_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stack_trace10_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_catch_errors25_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stack_trace04_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_slow_consumer_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_periodic_timer4_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_multiple_timer_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_form_data_test/test.html?crossOriginPort=44439&group=functional http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_form_data_test/test.html?crossOriginPort=44439&group=supported http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_worker_api_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_cssstyledeclaration_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_fileapi_directory_reader_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_gamepad_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_history_test/test.html?crossOriginPort=44439&group=supported_HashChangeEvent http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_history_test/test.html?crossOriginPort=44439&group=supported_state http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_history_test/test.html?crossOriginPort=44439&group=history http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_indexeddb_5_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_file_sample_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_js_dart_to_string_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_xhr_cross_origin_test/test.html?crossOriginPort=44439&group=functional http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_events_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_xhr_cross_origin_test/test.html?crossOriginPort=44439&group=supported http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_fileapi_file_entry_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_filereader_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_css_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_fileapi_directory_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_indexeddb_3_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_fileapi_supported_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_fileapi_file_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_indexeddb_4_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_storage_promise_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_canvasrenderingcontext2d_test/test.html?crossOriginPort=44439&group=fillText http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_canvasrenderingcontext2d_test/test.html?crossOriginPort=44439&group=drawImage_canvas_element http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_canvasrenderingcontext2d_test/test.html?crossOriginPort=44439&group=drawImage_image_element http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_canvasrenderingcontext2d_test/test.html?crossOriginPort=44439&group=drawImage_video_element_dataUrl http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_canvasrenderingcontext2d_test/test.html?crossOriginPort=44439&group=drawImage_video_element http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_canvasrenderingcontext2d_test/test.html?crossOriginPort=44439&group=arc http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_canvasrenderingcontext2d_test/test.html?crossOriginPort=44439&group=pixel_manipulation http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_websocket_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_element_animate_test/test.html?crossOriginPort=44439&group=simple_timing http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_element_animate_test/test.html?crossOriginPort=44439&group=omit_timing http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_element_animate_test/test.html?crossOriginPort=44439&group=animate_supported http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_async_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_element_animate_test/test.html?crossOriginPort=44439&group=timing_dict http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_js_array_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_indexeddb_2_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_indexeddb_1_test/test.html?crossOriginPort=44439&group=dynamic http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_indexeddb_1_test/test.html?crossOriginPort=44439&group=typed http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_indexeddb_1_test/test.html?crossOriginPort=44439&group=supported http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_touchevent_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_interactive_test/test.html?crossOriginPort=44439&group=KeyEvent http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_element_test/test.html?crossOriginPort=44439&group=eventDelegation http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_indexeddb_1_test/test.html?crossOriginPort=44439&group=functional http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_element_test/test.html?crossOriginPort=44439&group=_ElementList http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_element_test/test.html?crossOriginPort=44439&group=functional http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_element_test/test.html?crossOriginPort=44439&group=querySelectorAll http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_element_test/test.html?crossOriginPort=44439&group=ElementList http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_element_test/test.html?crossOriginPort=44439&group=matches http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_element_test/test.html?crossOriginPort=44439&group=attributes http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_element_test/test.html?crossOriginPort=44439&group=children http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_element_test/test.html?crossOriginPort=44439&group=click http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_element_test/test.html?crossOriginPort=44439&group=eventListening http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_element_test/test.html?crossOriginPort=44439&group=position http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_worker_test/test.html?crossOriginPort=44439&group=supported http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_worker_test/test.html?crossOriginPort=44439&group=functional http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_element_test/test.html?crossOriginPort=44439&group=constructors http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_async_spawnuri_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_fileapi_entry_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_interactive_media_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_xhr_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_event_customevent_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_canvas_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_websql_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_fontface_loaded_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_isolates_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_js_interop_1_test/test.html?crossOriginPort=44439 http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_fileapi_supported_throws_test/test.html?crossOriginPort=44439 === Failure summary: FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/results-cache_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 108ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_results-cache_test/results-cache_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/results-cache_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 441ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_results-cache_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.38 } - { type: message_received value: dart-main-done timestamp: 0.38 } - 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 results-cache_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="results-cache_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_results-cache_test/results-cache_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running results-cache_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_results-cache_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["results-cache_test", "dart_sdk", "async_helper"], function(results$45cache_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = results$45cache_test.results$45cache_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/results-cache_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/repeat-match-waldemar_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 196ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_repeat-match-waldemar_test/repeat-match-waldemar_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/repeat-match-waldemar_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 402ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_repeat-match-waldemar_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.363 } - { type: message_received value: dart-main-done timestamp: 0.363 } - 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 repeat-match-waldemar_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="repeat-match-waldemar_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_repeat-match-waldemar_test/repeat-match-waldemar_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running repeat-match-waldemar_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_repeat-match-waldemar_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["repeat-match-waldemar_test", "dart_sdk", "async_helper"], function(repeat$45match$45waldemar_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = repeat$45match$45waldemar_test.repeat$45match$45waldemar_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/repeat-match-waldemar_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/range-out-of-order_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 126ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_range-out-of-order_test/range-out-of-order_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/range-out-of-order_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 383ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_range-out-of-order_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.341 } - { type: message_received value: dart-main-done timestamp: 0.343 } - 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 range-out-of-order_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="range-out-of-order_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_range-out-of-order_test/range-out-of-order_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running range-out-of-order_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_range-out-of-order_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["range-out-of-order_test", "dart_sdk", "async_helper"], function(range$45out$45of$45order_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = range$45out$45of$45order_test.range$45out$45of$45order_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/range-out-of-order_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/character-match-out-of-order_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 116ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_character-match-out-of-order_test/character-match-out-of-order_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/character-match-out-of-order_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 367ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_character-match-out-of-order_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.334 } - { type: message_received value: dart-main-done timestamp: 0.334 } - 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 character-match-out-of-order_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="character-match-out-of-order_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_character-match-out-of-order_test/character-match-out-of-order_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running character-match-out-of-order_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_character-match-out-of-order_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["character-match-out-of-order_test", "dart_sdk", "async_helper"], function(character$45match$45out$45of$45order_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = character$45match$45out$45of$45order_test.character$45match$45out$45of$45order_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/character-match-out-of-order_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/char-insensitive_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 116ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_char-insensitive_test/char-insensitive_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/char-insensitive_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 484ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_char-insensitive_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.448 } - { type: message_received value: dart-main-done timestamp: 0.448 } - 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 char-insensitive_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="char-insensitive_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_char-insensitive_test/char-insensitive_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running char-insensitive_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_char-insensitive_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["char-insensitive_test", "dart_sdk", "async_helper"], function(char$45insensitive_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = char$45insensitive_test.char$45insensitive_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/char-insensitive_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/invalid-range-in-class_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 141ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_invalid-range-in-class_test/invalid-range-in-class_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/invalid-range-in-class_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 388ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_invalid-range-in-class_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.346 } - { type: message_received value: dart-main-done timestamp: 0.346 } - 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 invalid-range-in-class_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="invalid-range-in-class_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_invalid-range-in-class_test/invalid-range-in-class_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running invalid-range-in-class_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_invalid-range-in-class_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["invalid-range-in-class_test", "dart_sdk", "async_helper"], function(invalid$45range$45in$45class_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = invalid$45range$45in$45class_test.invalid$45range$45in$45class_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/invalid-range-in-class_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/non-bmp_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 96ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_non-bmp_test/non-bmp_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/non-bmp_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 573ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_non-bmp_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.528 } - { type: message_received value: dart-main-done timestamp: 0.529 } - 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 non-bmp_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="non-bmp_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_non-bmp_test/non-bmp_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running non-bmp_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_non-bmp_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["non-bmp_test", "dart_sdk", "async_helper"], function(non$45bmp_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = non$45bmp_test.non$45bmp_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/non-bmp_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/malformed-escapes_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 218ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_malformed-escapes_test/malformed-escapes_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/malformed-escapes_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 380ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_malformed-escapes_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.322 } - { type: message_received value: dart-main-done timestamp: 0.322 } - 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 malformed-escapes_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="malformed-escapes_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_malformed-escapes_test/malformed-escapes_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running malformed-escapes_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_malformed-escapes_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["malformed-escapes_test", "dart_sdk", "async_helper"], function(malformed$45escapes_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = malformed$45escapes_test.malformed$45escapes_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/malformed-escapes_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/early-acid3-86_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 179ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_early-acid3-86_test/early-acid3-86_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/early-acid3-86_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 506ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_early-acid3-86_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.458 } - { type: message_received value: dart-main-done timestamp: 0.458 } - 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 early-acid3-86_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="early-acid3-86_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_early-acid3-86_test/early-acid3-86_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running early-acid3-86_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_early-acid3-86_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["early-acid3-86_test", "dart_sdk", "async_helper"], function(early$45acid3$4586_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = early$45acid3$4586_test.early$45acid3$4586_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/early-acid3-86_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/quantified-assertions_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 67ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_quantified-assertions_test/quantified-assertions_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/quantified-assertions_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 448ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_quantified-assertions_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.388 } - { type: message_received value: dart-main-done timestamp: 0.388 } - 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 quantified-assertions_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="quantified-assertions_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_quantified-assertions_test/quantified-assertions_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running quantified-assertions_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_quantified-assertions_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["quantified-assertions_test", "dart_sdk", "async_helper"], function(quantified$45assertions_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = quantified$45assertions_test.quantified$45assertions_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/quantified-assertions_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/alternative-length-miscalculation_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 83ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_alternative-length-miscalculation_test/alternative-length-miscalculation_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/alternative-length-miscalculation_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 639ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_alternative-length-miscalculation_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.534 } - { type: message_received value: dart-main-done timestamp: 0.534 } - 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 alternative-length-miscalculation_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="alternative-length-miscalculation_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_alternative-length-miscalculation_test/alternative-length-miscalculation_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running alternative-length-miscalculation_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_alternative-length-miscalculation_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["alternative-length-miscalculation_test", "dart_sdk", "async_helper"], function(alternative$45length$45miscalculation_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = alternative$45length$45miscalculation_test.alternative$45length$45miscalculation_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/alternative-length-miscalculation_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/pcre-test-4_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 258ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_pcre-test-4_test/pcre-test-4_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/pcre-test-4_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 450ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_pcre-test-4_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.376 } - { type: message_received value: dart-main-done timestamp: 0.376 } - 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 pcre-test-4_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="pcre-test-4_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_pcre-test-4_test/pcre-test-4_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running pcre-test-4_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_pcre-test-4_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["pcre-test-4_test", "dart_sdk", "async_helper"], function(pcre$45test$454_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = pcre$45test$454_test.pcre$45test$454_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/pcre-test-4_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/no-extensions_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 112ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_no-extensions_test/no-extensions_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/no-extensions_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 382ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_no-extensions_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.313 } - { type: message_received value: dart-main-done timestamp: 0.313 } - 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 no-extensions_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="no-extensions_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_no-extensions_test/no-extensions_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running no-extensions_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_no-extensions_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["no-extensions_test", "dart_sdk", "async_helper"], function(no$45extensions_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = no$45extensions_test.no$45extensions_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/no-extensions_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/ascii-regexp-subject_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 128ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_ascii-regexp-subject_test/ascii-regexp-subject_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/ascii-regexp-subject_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 642ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_ascii-regexp-subject_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.595 } - { type: message_received value: dart-main-done timestamp: 0.595 } - 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 ascii-regexp-subject_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="ascii-regexp-subject_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_ascii-regexp-subject_test/ascii-regexp-subject_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running ascii-regexp-subject_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_ascii-regexp-subject_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["ascii-regexp-subject_test", "dart_sdk", "async_helper"], function(ascii$45regexp$45subject_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = ascii$45regexp$45subject_test.ascii$45regexp$45subject_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/ascii-regexp-subject_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/many-brackets_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 138ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_many-brackets_test/many-brackets_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/many-brackets_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 545ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_many-brackets_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.491 } - { type: message_received value: dart-main-done timestamp: 0.491 } - 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 many-brackets_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="many-brackets_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_many-brackets_test/many-brackets_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running many-brackets_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_many-brackets_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["many-brackets_test", "dart_sdk", "async_helper"], function(many$45brackets_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = many$45brackets_test.many$45brackets_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/many-brackets_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/zero-length-alternatives_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 139ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_zero-length-alternatives_test/zero-length-alternatives_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/zero-length-alternatives_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 531ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_zero-length-alternatives_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.494 } - { type: message_received value: dart-main-done timestamp: 0.495 } - 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 zero-length-alternatives_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="zero-length-alternatives_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_zero-length-alternatives_test/zero-length-alternatives_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running zero-length-alternatives_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_zero-length-alternatives_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["zero-length-alternatives_test", "dart_sdk", "async_helper"], function(zero$45length$45alternatives_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = zero$45length$45alternatives_test.zero$45length$45alternatives_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/zero-length-alternatives_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/regress-6-9-regexp_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 90ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_regress-6-9-regexp_test/regress-6-9-regexp_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/regress-6-9-regexp_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 562ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_regress-6-9-regexp_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.501 } - { type: message_received value: dart-main-done timestamp: 0.501 } - 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 regress-6-9-regexp_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="regress-6-9-regexp_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_regress-6-9-regexp_test/regress-6-9-regexp_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running regress-6-9-regexp_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_regress-6-9-regexp_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["regress-6-9-regexp_test", "dart_sdk", "async_helper"], function(regress$456$459$45regexp_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = regress$456$459$45regexp_test.regress$456$459$45regexp_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/regress-6-9-regexp_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/stack-overflow_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 139ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_stack-overflow_test/stack-overflow_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/stack-overflow_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 493ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_stack-overflow_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.438 } - { type: message_received value: dart-main-done timestamp: 0.438 } - 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 stack-overflow_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="stack-overflow_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_stack-overflow_test/stack-overflow_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running stack-overflow_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_stack-overflow_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["stack-overflow_test", "dart_sdk", "async_helper"], function(stack$45overflow_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = stack$45overflow_test.stack$45overflow_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/stack-overflow_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/find-first-asserted_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 117ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_find-first-asserted_test/find-first-asserted_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/find-first-asserted_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 422ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_find-first-asserted_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.369 } - { type: message_received value: dart-main-done timestamp: 0.369 } - 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 find-first-asserted_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="find-first-asserted_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_find-first-asserted_test/find-first-asserted_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running find-first-asserted_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_find-first-asserted_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["find-first-asserted_test", "dart_sdk", "async_helper"], function(find$45first$45asserted_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = find$45first$45asserted_test.find$45first$45asserted_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/find-first-asserted_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/ranges-and-escaped-hyphens_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 134ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_ranges-and-escaped-hyphens_test/ranges-and-escaped-hyphens_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/ranges-and-escaped-hyphens_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 417ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_ranges-and-escaped-hyphens_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.352 } - { type: message_received value: dart-main-done timestamp: 0.352 } - 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 ranges-and-escaped-hyphens_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="ranges-and-escaped-hyphens_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_ranges-and-escaped-hyphens_test/ranges-and-escaped-hyphens_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running ranges-and-escaped-hyphens_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_ranges-and-escaped-hyphens_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["ranges-and-escaped-hyphens_test", "dart_sdk", "async_helper"], function(ranges$45and$45escaped$45hyphens_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = ranges$45and$45escaped$45hyphens_test.ranges$45and$45escaped$45hyphens_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/ranges-and-escaped-hyphens_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/ecma-regex-examples_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 86ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_ecma-regex-examples_test/ecma-regex-examples_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/ecma-regex-examples_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 351ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_ecma-regex-examples_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.293 } - { type: message_received value: dart-main-done timestamp: 0.293 } - 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 ecma-regex-examples_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="ecma-regex-examples_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_ecma-regex-examples_test/ecma-regex-examples_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running ecma-regex-examples_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_ecma-regex-examples_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["ecma-regex-examples_test", "dart_sdk", "async_helper"], function(ecma$45regex$45examples_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = ecma$45regex$45examples_test.ecma$45regex$45examples_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/ecma-regex-examples_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/unicode-handling_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 79ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_unicode-handling_test/unicode-handling_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/unicode-handling_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 384ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_unicode-handling_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.328 } - { type: message_received value: dart-main-done timestamp: 0.328 } - 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 unicode-handling_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="unicode-handling_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_unicode-handling_test/unicode-handling_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running unicode-handling_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_unicode-handling_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["unicode-handling_test", "dart_sdk", "async_helper"], function(unicode$45handling_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = unicode$45handling_test.unicode$45handling_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/unicode-handling_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/non-character_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 110ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_non-character_test/non-character_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/non-character_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 319ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_non-character_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.281 } - { type: message_received value: dart-main-done timestamp: 0.281 } - 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 non-character_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="non-character_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_non-character_test/non-character_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running non-character_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_non-character_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["non-character_test", "dart_sdk", "async_helper"], function(non$45character_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = non$45character_test.non$45character_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/non-character_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/non-greedy-parentheses_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 114ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_non-greedy-parentheses_test/non-greedy-parentheses_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/non-greedy-parentheses_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 402ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_non-greedy-parentheses_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.328 } - { type: message_received value: dart-main-done timestamp: 0.328 } - 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 non-greedy-parentheses_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="non-greedy-parentheses_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_non-greedy-parentheses_test/non-greedy-parentheses_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running non-greedy-parentheses_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_non-greedy-parentheses_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["non-greedy-parentheses_test", "dart_sdk", "async_helper"], function(non$45greedy$45parentheses_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = non$45greedy$45parentheses_test.non$45greedy$45parentheses_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/non-greedy-parentheses_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/non-capturing-backtracking_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 112ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_non-capturing-backtracking_test/non-capturing-backtracking_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/non-capturing-backtracking_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 408ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_non-capturing-backtracking_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.358 } - { type: message_received value: dart-main-done timestamp: 0.358 } - 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 non-capturing-backtracking_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="non-capturing-backtracking_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_non-capturing-backtracking_test/non-capturing-backtracking_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running non-capturing-backtracking_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_non-capturing-backtracking_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["non-capturing-backtracking_test", "dart_sdk", "async_helper"], function(non$45capturing$45backtracking_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = non$45capturing$45backtracking_test.non$45capturing$45backtracking_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/non-capturing-backtracking_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/regress-regexp-codeflush_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 132ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_regress-regexp-codeflush_test/regress-regexp-codeflush_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/regress-regexp-codeflush_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 641ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_regress-regexp-codeflush_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.597 } - { type: message_received value: dart-main-done timestamp: 0.597 } - 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 regress-regexp-codeflush_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="regress-regexp-codeflush_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_regress-regexp-codeflush_test/regress-regexp-codeflush_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running regress-regexp-codeflush_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_regress-regexp-codeflush_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["regress-regexp-codeflush_test", "dart_sdk", "async_helper"], function(regress$45regexp$45codeflush_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = regress$45regexp$45codeflush_test.regress$45regexp$45codeflush_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/regress-regexp-codeflush_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/regress-regexp-construct-result_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 143ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_regress-regexp-construct-result_test/regress-regexp-construct-result_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/regress-regexp-construct-result_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 528ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_regress-regexp-construct-result_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.477 } - { type: message_received value: dart-main-done timestamp: 0.48 } - 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 regress-regexp-construct-result_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="regress-regexp-construct-result_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_regress-regexp-construct-result_test/regress-regexp-construct-result_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running regress-regexp-construct-result_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_regress-regexp-construct-result_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["regress-regexp-construct-result_test", "dart_sdk", "async_helper"], function(regress$45regexp$45construct$45result_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = regress$45regexp$45construct$45result_test.regress$45regexp$45construct$45result_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/regress-regexp-construct-result_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/compile-crash_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 196ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_compile-crash_test/compile-crash_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/compile-crash_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 522ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_compile-crash_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.477 } - { type: message_received value: dart-main-done timestamp: 0.477 } - 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 compile-crash_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="compile-crash_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_compile-crash_test/compile-crash_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running compile-crash_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_compile-crash_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["compile-crash_test", "dart_sdk", "async_helper"], function(compile$45crash_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = compile$45crash_test.compile$45crash_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/compile-crash_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/extended-characters-match_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 112ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_extended-characters-match_test/extended-characters-match_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/extended-characters-match_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 385ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_extended-characters-match_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.337 } - { type: message_received value: dart-main-done timestamp: 0.337 } - 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 extended-characters-match_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="extended-characters-match_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_extended-characters-match_test/extended-characters-match_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running extended-characters-match_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_extended-characters-match_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["extended-characters-match_test", "dart_sdk", "async_helper"], function(extended$45characters$45match_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = extended$45characters$45match_test.extended$45characters$45match_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/extended-characters-match_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/negative-special-characters_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 199ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_negative-special-characters_test/negative-special-characters_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/negative-special-characters_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 580ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_negative-special-characters_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.529 } - { type: message_received value: dart-main-done timestamp: 0.529 } - 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 negative-special-characters_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="negative-special-characters_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_negative-special-characters_test/negative-special-characters_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running negative-special-characters_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_negative-special-characters_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["negative-special-characters_test", "dart_sdk", "async_helper"], function(negative$45special$45characters_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = negative$45special$45characters_test.negative$45special$45characters_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/negative-special-characters_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/loop-capture_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 154ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_loop-capture_test/loop-capture_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/loop-capture_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 415ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_loop-capture_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.354 } - { type: message_received value: dart-main-done timestamp: 0.354 } - 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 loop-capture_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="loop-capture_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_loop-capture_test/loop-capture_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running loop-capture_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_loop-capture_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["loop-capture_test", "dart_sdk", "async_helper"], function(loop$45capture_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = loop$45capture_test.loop$45capture_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/loop-capture_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/bol-with-multiline_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 116ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_bol-with-multiline_test/bol-with-multiline_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/bol-with-multiline_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 321ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_bol-with-multiline_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.276 } - { type: message_received value: dart-main-done timestamp: 0.276 } - 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 bol-with-multiline_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="bol-with-multiline_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_bol-with-multiline_test/bol-with-multiline_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running bol-with-multiline_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_bol-with-multiline_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["bol-with-multiline_test", "dart_sdk", "async_helper"], function(bol$45with$45multiline_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = bol$45with$45multiline_test.bol$45with$45multiline_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/bol-with-multiline_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/stack-overflow2_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 115ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_stack-overflow2_test/stack-overflow2_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/stack-overflow2_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 374ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_stack-overflow2_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.314 } - { type: message_received value: dart-main-done timestamp: 0.315 } - 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 stack-overflow2_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="stack-overflow2_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_stack-overflow2_test/stack-overflow2_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running stack-overflow2_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_stack-overflow2_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["stack-overflow2_test", "dart_sdk", "async_helper"], function(stack$45overflow2_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = stack$45overflow2_test.stack$45overflow2_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/stack-overflow2_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/look-ahead_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 100ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_look-ahead_test/look-ahead_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/look-ahead_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 444ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_look-ahead_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.343 } - { type: message_received value: dart-main-done timestamp: 0.343 } - 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 look-ahead_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="look-ahead_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_look-ahead_test/look-ahead_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running look-ahead_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_look-ahead_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["look-ahead_test", "dart_sdk", "async_helper"], function(look$45ahead_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = look$45ahead_test.look$45ahead_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/look-ahead_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/range-bound-ffff_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 143ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_range-bound-ffff_test/range-bound-ffff_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/range-bound-ffff_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 449ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_range-bound-ffff_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.407 } - { type: message_received value: dart-main-done timestamp: 0.408 } - 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 range-bound-ffff_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="range-bound-ffff_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_range-bound-ffff_test/range-bound-ffff_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running range-bound-ffff_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_range-bound-ffff_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["range-bound-ffff_test", "dart_sdk", "async_helper"], function(range$45bound$45ffff_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = range$45bound$45ffff_test.range$45bound$45ffff_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/range-bound-ffff_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/extended-characters-more_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 113ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_extended-characters-more_test/extended-characters-more_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/extended-characters-more_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 382ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_extended-characters-more_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.343 } - { type: message_received value: dart-main-done timestamp: 0.343 } - 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 extended-characters-more_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="extended-characters-more_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_extended-characters-more_test/extended-characters-more_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running extended-characters-more_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_extended-characters-more_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["extended-characters-more_test", "dart_sdk", "async_helper"], function(extended$45characters$45more_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = extended$45characters$45more_test.extended$45characters$45more_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/extended-characters-more_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/non-capturing-groups_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 103ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_non-capturing-groups_test/non-capturing-groups_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/non-capturing-groups_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 466ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_non-capturing-groups_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.42 } - { type: message_received value: dart-main-done timestamp: 0.42 } - 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 non-capturing-groups_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="non-capturing-groups_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_non-capturing-groups_test/non-capturing-groups_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running non-capturing-groups_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_non-capturing-groups_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["non-capturing-groups_test", "dart_sdk", "async_helper"], function(non$45capturing$45groups_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = non$45capturing$45groups_test.non$45capturing$45groups_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/non-capturing-groups_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/capture-3_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 75ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_capture-3_test/capture-3_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/capture-3_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 548ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_capture-3_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.447 } - { type: message_received value: dart-main-done timestamp: 0.447 } - 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 capture-3_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="capture-3_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_capture-3_test/capture-3_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running capture-3_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_capture-3_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["capture-3_test", "dart_sdk", "async_helper"], function(capture$453_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = capture$453_test.capture$453_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/capture-3_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/error_stack_trace_test/nullThrown Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 129ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_corelib_2_error_stack_trace_test_nullThrown/error_stack_trace_test_nullThrown.js /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_tests/corelib_2/error_stack_trace_test_nullThrown.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_tests/corelib_2) exit code: 0 --- Command "chrome" (took 512ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_corelib_2_error_stack_trace_test_nullThrown/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.451 } - { type: message_received value: dart-main-done timestamp: 0.451 } - 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 error_stack_trace_test_nullThrown</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="error_stack_trace_test_nullThrown" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_corelib_2_error_stack_trace_test_nullThrown/error_stack_trace_test_nullThrown.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running error_stack_trace_test_nullThrown</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_corelib_2_error_stack_trace_test_nullThrown", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["error_stack_trace_test_nullThrown", "dart_sdk", "async_helper"], function(error_stack_trace_test_nullThrown, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = error_stack_trace_test_nullThrown.error_stack_trace_test_nullThrown.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/error_stack_trace_test/nullThrown FAILED: dartdevk-chrome-checked release_x64 language_2/mixin_declaration/mixin_declaration_subtype_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 83ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_mixin_declaration_mixin_declaration_subtype_test/mixin_declaration_subtype_test.js /b/s/w/ir/cache/builder/sdk/tests/language_2/mixin_declaration/mixin_declaration_subtype_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2/mixin_declaration) exit code: 0 --- Command "chrome" (took 532ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_mixin_declaration_mixin_declaration_subtype_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.452 } - { type: message_received value: dart-main-done timestamp: 0.454 } - 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 mixin_declaration_subtype_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="mixin_declaration_subtype_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_mixin_declaration_mixin_declaration_subtype_test/mixin_declaration_subtype_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running mixin_declaration_subtype_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_mixin_declaration_mixin_declaration_subtype_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["mixin_declaration_subtype_test", "dart_sdk", "async_helper"], function(mixin_declaration_subtype_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = mixin_declaration_subtype_test.mixin_declaration_subtype_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/mixin_declaration/mixin_declaration_subtype_test FAILED: dartdevk-chrome-checked release_x64 language_2/regress_16640_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 108ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_regress_16640_test/regress_16640_test.js /b/s/w/ir/cache/builder/sdk/tests/language_2/regress_16640_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 450ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_regress_16640_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.422 } - { type: message_received value: dart-main-done timestamp: 0.422 } - 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 regress_16640_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="regress_16640_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_regress_16640_test/regress_16640_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running regress_16640_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_regress_16640_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["regress_16640_test", "dart_sdk", "async_helper"], function(regress_16640_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = regress_16640_test.regress_16640_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/regress_16640_test FAILED: dartdevk-chrome-checked release_x64 language_2/function_subtype_inline2_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 89ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_function_subtype_inline2_test/function_subtype_inline2_test.js /b/s/w/ir/cache/builder/sdk/tests/language_2/function_subtype_inline2_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 01.000174s): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_function_subtype_inline2_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 1.131 } - { type: message_received value: dart-main-done timestamp: 1.132 } - 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 function_subtype_inline2_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="function_subtype_inline2_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_function_subtype_inline2_test/function_subtype_inline2_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running function_subtype_inline2_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_function_subtype_inline2_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["function_subtype_inline2_test", "dart_sdk", "async_helper"], function(function_subtype_inline2_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = function_subtype_inline2_test.function_subtype_inline2_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/function_subtype_inline2_test FAILED: dartdevk-chrome-checked release_x64 language_2/control_flow_collections/await_for_null_test Expected: Pass Actual: RuntimeError --- Command "dartdevk" (took 01.000099s): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --enable-experiment=control-flow-collections,spread-collections --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_control_flow_collections_await_for_null_test/await_for_null_test.js /b/s/w/ir/cache/builder/sdk/tests/language_2/control_flow_collections/await_for_null_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2/control_flow_collections) exit code: 0 --- Command "chrome" (took 551ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_control_flow_collections_await_for_null_test/test.html?crossOriginPort=44439 Runtime window.onerror: window.onunhandledrejection called: Error: asyncExpectThrows<NoSuchMethodError>(): Did not throw. at Object.dart.throw (http://127.0.0.1:33905/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:3870:11) at result.then.dart.fn._ (http://127.0.0.1:33905/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js:90:17) at async._RootZone.new.runUnary (http://127.0.0.1:33905/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:28123:58) at _FutureListener.then.handleValue (http://127.0.0.1:33905/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24123:29) at handleValueCallback (http://127.0.0.1:33905/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24589:49) at Function._propagateToListeners (http://127.0.0.1:33905/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24621:17) at async._AsyncCallbackEntry.new.(anonymous function).scheduleMicrotask.dart.fn [as callback] (http://127.0.0.1:33905/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24375:27) at Object.async._microtaskLoop (http://127.0.0.1:33905/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:28333:13) at async._startMicrotaskLoop (http://127.0.0.1:33905/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:28339:13) at dart.global.Promise.resolve.then (http://127.0.0.1:33905/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24821:9) exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/control_flow_collections/await_for_null_test FAILED: dartdevk-chrome-checked release_x64 language_2/syncstar_covariant_type_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 126ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_syncstar_covariant_type_test/syncstar_covariant_type_test.js /b/s/w/ir/cache/builder/sdk/tests/language_2/syncstar_covariant_type_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 469ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_syncstar_covariant_type_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.413 } - { type: message_received value: dart-main-done timestamp: 0.413 } - 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 syncstar_covariant_type_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="syncstar_covariant_type_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_syncstar_covariant_type_test/syncstar_covariant_type_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running syncstar_covariant_type_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_syncstar_covariant_type_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["syncstar_covariant_type_test", "dart_sdk", "async_helper"], function(syncstar_covariant_type_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = syncstar_covariant_type_test.syncstar_covariant_type_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/syncstar_covariant_type_test FAILED: dartdevk-chrome-checked release_x64 language_2/asyncstar_covariant_type_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 93ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_asyncstar_covariant_type_test/asyncstar_covariant_type_test.js /b/s/w/ir/cache/builder/sdk/tests/language_2/asyncstar_covariant_type_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 386ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_asyncstar_covariant_type_test/test.html?crossOriginPort=44439 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 "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.329 } - { type: message_received value: unittest-suite-wait-for-done timestamp: 0.329 } - { type: message_received value: dart-main-done timestamp: 0.329 } - print "unittest-suite-done" - { type: message_received value: unittest-suite-done timestamp: 0.33 } - 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 asyncstar_covariant_type_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="asyncstar_covariant_type_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_asyncstar_covariant_type_test/asyncstar_covariant_type_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running asyncstar_covariant_type_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_asyncstar_covariant_type_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["asyncstar_covariant_type_test", "dart_sdk", "async_helper"], function(asyncstar_covariant_type_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = asyncstar_covariant_type_test.asyncstar_covariant_type_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/asyncstar_covariant_type_test FAILED: dartdevk-chrome-checked release_x64 language_2/built_in_identifier_type_annotation_test/dynamic-list Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 139ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_language_2_built_in_identifier_type_annotation_test_dynamic-list/built_in_identifier_type_annotation_test_dynamic-list.js /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_tests/language_2/built_in_identifier_type_annotation_test_dynamic-list.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_tests/language_2) exit code: 0 --- Command "chrome" (took 408ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_built_in_identifier_type_annotation_test_dynamic-list/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.364 } - { type: message_received value: dart-main-done timestamp: 0.364 } - 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 built_in_identifier_type_annotation_test_dynamic-list</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="built_in_identifier_type_annotation_test_dynamic-list" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_language_2_built_in_identifier_type_annotation_test_dynamic-list/built_in_identifier_type_annotation_test_dynamic-list.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running built_in_identifier_type_annotation_test_dynamic-list</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_language_2_built_in_identifier_type_annotation_test_dynamic-list", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["built_in_identifier_type_annotation_test_dynamic-list", "dart_sdk", "async_helper"], function(built_in_identifier_type_annotation_test_dynamic$45list, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = built_in_identifier_type_annotation_test_dynamic$45list.built_in_identifier_type_annotation_test_dynamic$45list.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/built_in_identifier_type_annotation_test/dynamic-list FAILED: dartdevk-chrome-checked release_x64 language_2/built_in_identifier_type_annotation_test/dynamic-funarg Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 78ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_language_2_built_in_identifier_type_annotation_test_dynamic-funarg/built_in_identifier_type_annotation_test_dynamic-funarg.js /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_tests/language_2/built_in_identifier_type_annotation_test_dynamic-funarg.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_tests/language_2) exit code: 0 --- Command "chrome" (took 483ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_built_in_identifier_type_annotation_test_dynamic-funarg/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.434 } - { type: message_received value: dart-main-done timestamp: 0.436 } - 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 built_in_identifier_type_annotation_test_dynamic-funarg</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="built_in_identifier_type_annotation_test_dynamic-funarg" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_language_2_built_in_identifier_type_annotation_test_dynamic-funarg/built_in_identifier_type_annotation_test_dynamic-funarg.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running built_in_identifier_type_annotation_test_dynamic-funarg</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_language_2_built_in_identifier_type_annotation_test_dynamic-funarg", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["built_in_identifier_type_annotation_test_dynamic-funarg", "dart_sdk", "async_helper"], function(built_in_identifier_type_annotation_test_dynamic$45funarg, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = built_in_identifier_type_annotation_test_dynamic$45funarg.built_in_identifier_type_annotation_test_dynamic$45funarg.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/built_in_identifier_type_annotation_test/dynamic-funarg FAILED: dartdevk-chrome-checked release_x64 language_2/built_in_identifier_type_annotation_test/dynamic-funret Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 78ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_language_2_built_in_identifier_type_annotation_test_dynamic-funret/built_in_identifier_type_annotation_test_dynamic-funret.js /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_tests/language_2/built_in_identifier_type_annotation_test_dynamic-funret.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_tests/language_2) exit code: 0 --- Command "chrome" (took 417ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_built_in_identifier_type_annotation_test_dynamic-funret/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.377 } - { type: message_received value: dart-main-done timestamp: 0.377 } - 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 built_in_identifier_type_annotation_test_dynamic-funret</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="built_in_identifier_type_annotation_test_dynamic-funret" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_language_2_built_in_identifier_type_annotation_test_dynamic-funret/built_in_identifier_type_annotation_test_dynamic-funret.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running built_in_identifier_type_annotation_test_dynamic-funret</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_language_2_built_in_identifier_type_annotation_test_dynamic-funret", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["built_in_identifier_type_annotation_test_dynamic-funret", "dart_sdk", "async_helper"], function(built_in_identifier_type_annotation_test_dynamic$45funret, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = built_in_identifier_type_annotation_test_dynamic$45funret.built_in_identifier_type_annotation_test_dynamic$45funret.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/built_in_identifier_type_annotation_test/dynamic-funret FAILED: dartdevk-chrome-checked release_x64 language_2/string_literals_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 141ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_string_literals_test/string_literals_test.js /b/s/w/ir/cache/builder/sdk/tests/language_2/string_literals_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 465ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_string_literals_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.39 } - { type: message_received value: dart-main-done timestamp: 0.39 } - 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 string_literals_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="string_literals_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_string_literals_test/string_literals_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running string_literals_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_string_literals_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["string_literals_test", "dart_sdk", "async_helper"], function(string_literals_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = string_literals_test.string_literals_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/string_literals_test FAILED: dartdevk-chrome-checked release_x64 language_2/mixin_super_use_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 131ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_mixin_super_use_test/mixin_super_use_test.js /b/s/w/ir/cache/builder/sdk/tests/language_2/mixin_super_use_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 549ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_mixin_super_use_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.479 } - { type: message_received value: dart-main-done timestamp: 0.479 } - 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 mixin_super_use_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="mixin_super_use_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_mixin_super_use_test/mixin_super_use_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running mixin_super_use_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_mixin_super_use_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["mixin_super_use_test", "dart_sdk", "async_helper"], function(mixin_super_use_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = mixin_super_use_test.mixin_super_use_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/mixin_super_use_test FAILED: dartdevk-chrome-checked release_x64 language_2/syncstar_yield_test/copyParameters Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 114ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_language_2_syncstar_yield_test_copyParameters/syncstar_yield_test_copyParameters.js /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_tests/language_2/syncstar_yield_test_copyParameters.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_tests/language_2) exit code: 0 --- Command "chrome" (took 391ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_syncstar_yield_test_copyParameters/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.337 } - { type: message_received value: dart-main-done timestamp: 0.338 } - 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 syncstar_yield_test_copyParameters</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="syncstar_yield_test_copyParameters" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_language_2_syncstar_yield_test_copyParameters/syncstar_yield_test_copyParameters.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running syncstar_yield_test_copyParameters</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_language_2_syncstar_yield_test_copyParameters", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["syncstar_yield_test_copyParameters", "dart_sdk", "async_helper"], function(syncstar_yield_test_copyParameters, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = syncstar_yield_test_copyParameters.syncstar_yield_test_copyParameters.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/syncstar_yield_test/copyParameters FAILED: dartdevk-chrome-checked release_x64 language_2/syncstar_yield_test/capturing Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 118ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_language_2_syncstar_yield_test_capturing/syncstar_yield_test_capturing.js /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_tests/language_2/syncstar_yield_test_capturing.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_tests/language_2) exit code: 0 --- Command "chrome" (took 490ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_syncstar_yield_test_capturing/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.434 } - { type: message_received value: dart-main-done timestamp: 0.434 } - 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 syncstar_yield_test_capturing</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="syncstar_yield_test_capturing" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_language_2_syncstar_yield_test_capturing/syncstar_yield_test_capturing.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running syncstar_yield_test_capturing</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_language_2_syncstar_yield_test_capturing", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["syncstar_yield_test_capturing", "dart_sdk", "async_helper"], function(syncstar_yield_test_capturing, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = syncstar_yield_test_capturing.syncstar_yield_test_capturing.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/syncstar_yield_test/capturing FAILED: dartdevk-chrome-checked release_x64 language_2/private_method_tearoff_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 228ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_private_method_tearoff_test/private_method_tearoff_test.js /b/s/w/ir/cache/builder/sdk/tests/language_2/private_method_tearoff_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 420ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_private_method_tearoff_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.371 } - { type: message_received value: dart-main-done timestamp: 0.371 } - 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 private_method_tearoff_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="private_method_tearoff_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_private_method_tearoff_test/private_method_tearoff_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running private_method_tearoff_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_private_method_tearoff_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["private_method_tearoff_test", "dart_sdk", "async_helper"], function(private_method_tearoff_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = private_method_tearoff_test.private_method_tearoff_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/private_method_tearoff_test FAILED: dartdevk-chrome-checked release_x64 language_2/exception_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 92ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_exception_test/exception_test.js /b/s/w/ir/cache/builder/sdk/tests/language_2/exception_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 430ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_exception_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "Hello" - print "bye" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.393 } - { type: message_received value: dart-main-done timestamp: 0.393 } - 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 exception_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="exception_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_exception_test/exception_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running exception_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_exception_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["exception_test", "dart_sdk", "async_helper"], function(exception_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = exception_test.exception_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/exception_test FAILED: dartdevk-chrome-checked release_x64 language_2/async_covariant_type_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 84ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_async_covariant_type_test/async_covariant_type_test.js /b/s/w/ir/cache/builder/sdk/tests/language_2/async_covariant_type_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 473ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_async_covariant_type_test/test.html?crossOriginPort=44439 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 "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.423 } - { type: message_received value: unittest-suite-wait-for-done timestamp: 0.423 } - { type: message_received value: dart-main-done timestamp: 0.424 } - print "unittest-suite-done" - { type: message_received value: unittest-suite-done timestamp: 0.424 } - 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 async_covariant_type_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_covariant_type_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_async_covariant_type_test/async_covariant_type_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running async_covariant_type_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_async_covariant_type_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["async_covariant_type_test", "dart_sdk", "async_helper"], function(async_covariant_type_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = async_covariant_type_test.async_covariant_type_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/async_covariant_type_test FAILED: dartdevk-chrome-checked release_x64 language_2/f_bounded_quantification3_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 125ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_f_bounded_quantification3_test/f_bounded_quantification3_test.js /b/s/w/ir/cache/builder/sdk/tests/language_2/f_bounded_quantification3_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 529ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_f_bounded_quantification3_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.479 } - { type: message_received value: dart-main-done timestamp: 0.48 } - 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 f_bounded_quantification3_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="f_bounded_quantification3_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_f_bounded_quantification3_test/f_bounded_quantification3_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running f_bounded_quantification3_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_f_bounded_quantification3_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["f_bounded_quantification3_test", "dart_sdk", "async_helper"], function(f_bounded_quantification3_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = f_bounded_quantification3_test.f_bounded_quantification3_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/f_bounded_quantification3_test FAILED: dartdevk-chrome-checked release_x64 language_2/const_list_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 74ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_const_list_test/const_list_test.js /b/s/w/ir/cache/builder/sdk/tests/language_2/const_list_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 442ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_const_list_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.397 } - { type: message_received value: dart-main-done timestamp: 0.397 } - 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 const_list_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="const_list_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_const_list_test/const_list_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running const_list_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_const_list_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["const_list_test", "dart_sdk", "async_helper"], function(const_list_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = const_list_test.const_list_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/const_list_test FAILED: dartdevk-chrome-checked release_x64 language_2/function_propagation_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 166ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_function_propagation_test/function_propagation_test.js /b/s/w/ir/cache/builder/sdk/tests/language_2/function_propagation_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 423ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_function_propagation_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.345 } - { type: message_received value: dart-main-done timestamp: 0.345 } - 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 function_propagation_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="function_propagation_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_function_propagation_test/function_propagation_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running function_propagation_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_function_propagation_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["function_propagation_test", "dart_sdk", "async_helper"], function(function_propagation_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = function_propagation_test.function_propagation_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/function_propagation_test FAILED: dartdevk-chrome-checked release_x64 language_2/super_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 92ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_super_test/super_test.js /b/s/w/ir/cache/builder/sdk/tests/language_2/super_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 404ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:33905/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_super_test/test.html?crossOriginPort=44439 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.345 } - { type: message_received value: dart-main-done timestamp: 0.345 } - 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 super_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="super_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_super_test/super_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js"></script></head> <body> <h1>Running super_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_super_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["super_test", "dart_sdk", "async_helper"], function(super_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = super_test.super_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 33905 -c 44439 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/super_test === === 59 tests failed === --- Total time: 08:21 --- 0:00:32.904268 - chrome - dartdevk-chrome-checked release_x64/lib_2/convert/chunked_conversion_utf88_test 0:00:20.562905 - chrome - dartdevk-chrome-checked release_x64/language_2/closure_cycles_test 0:00:19.520079 - chrome - dartdevk-chrome-checked release_x64/lib_2/convert/utf85_test 0:00:19.435040 - chrome - dartdevk-chrome-checked release_x64/lib_2/convert/json_utf8_chunk_test 0:00:19.062814 - chrome - dartdevk-chrome-checked release_x64/lib_2/html/native_gc_test 0:00:16.928668 - chrome - dartdevk-chrome-checked release_x64/corelib_2/bigint_parse_radix_test 0:00:15.822795 - chrome - dartdevk-chrome-checked release_x64/lib_2/convert/streamed_conversion_utf8_decode_test 0:00:15.780102 - chrome - dartdevk-chrome-checked release_x64/corelib_2/uri_parse_test 0:00:15.131201 - chrome - dartdevk-chrome-checked release_x64/lib_2/convert/streamed_conversion_utf8_encode_test 0:00:14.756138 - chrome - dartdevk-chrome-checked release_x64/corelib_2/uri_test 0:00:10.761298 - chrome - dartdevk-chrome-checked release_x64/lib_2/convert/streamed_conversion_json_utf8_decode_test 0:00:06.312728 - chrome - dartdevk-chrome-checked release_x64/corelib_2/collection_length_test 0:00:05.801059 - chrome - dartdevk-chrome-checked release_x64/corelib_2/string_fromcharcodes_test 0:00:05.483186 - chrome - dartdevk-chrome-checked release_x64/lib_2/convert/streamed_conversion_json_utf8_encode_test 0:00:05.436084 - chrome - dartdevk-chrome-checked release_x64/corelib_2/bigint_js_test 0:00:04.603616 - chrome - dartdevk-chrome-checked release_x64/lib_2/async/timer_test 0:00:03.950544 - chrome - dartdevk-chrome-checked release_x64/corelib_2/num_try_parse_test 0:00:03.786263 - chrome - dartdevk-chrome-checked release_x64/language_2/issue21957_float32x4_test 0:00:03.684092 - chrome - dartdevk-chrome-checked release_x64/language_2/gc_test 0:00:03.550466 - chrome - dartdevk-chrome-checked release_x64/corelib_2/int_parse_radix_test/none INFO: No unexpected crashes recorded