-
Notifications
You must be signed in to change notification settings - Fork 1.7k
dart_developer_disabled_env_test fails on dartium #28718
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The root cause of the test failure is #14651 |
The test relies on VMOptions being respected. Dartium does not. |
I saw some failures in dart2js too, could it be the same issue for dart2js too. Maybe we just adjust the status file to skip these tests on dartium |
FAILED: dart2js-jsshell release_x64 standalone/dart_developer_env_test stdout: CommandOutput[jsshell]: stdout: stderr: Command[dart2js]: DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --generate-code-with-compile-time-errors --test-mode --allow-mock-compilation --categories=all --fast-startup --packages=/b/build/slave/dart2js-linux-jsshell-2-4-be/build/sdk/.packages /b/build/slave/dart2js-linux-jsshell-2-4-be/build/sdk/tests/standalone/dart_developer_env_test.dart --out=/b/build/slave/dart2js-linux-jsshell-2-4-be/build/sdk/out/ReleaseX64/generated_compilations/dart2js-sdk/tests_standalone_dart_developer_env_test/out.js Command[jsshell]: DART_CONFIGURATION=ReleaseX64 /b/build/slave/dart2js-linux-jsshell-2-4-be/build/sdk/tools/testing/bin/jsshell -f out/ReleaseX64/dart-sdk/lib/_internal/js_runtime/lib/preambles/jsshell.js -f /b/build/slave/dart2js-linux-jsshell-2-4-be/build/sdk/out/ReleaseX64/generated_compilations/dart2js-sdk/tests_standalone_dart_developer_env_test/out.js Short reproduction command (experimental): ===
|
I believe this command also fails similarly |
My CL also skips both tests when the compiler is dart2js. |
It appears that the environment variable test is failing on dartium, needs investigation.
FAILED: none-dartium-checked release_x64 standalone/dart_developer_disabled_env_test
Expected: Pass
Actual: RuntimeError
CommandOutput[dartium]:
stdout:
events:
[
{
type: debug
value: test_controller.js started
timestamp: 0
},
{
type: debug
value: Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)
timestamp: 0
},
{
type: print
value: dart-calling-main
timestamp: 0.084
},
{
type: window_onerror
value: window.onerror called:
]
stderr:
BrowserOutput while running the test (* EXPERIMENTAL *):
BrowserOutput.stdout:
BrowserOutput.stderr:
To retest, run: /b/build/slave/dartium-mac-x64-inc-be/build/src/dart/tools/sdks/mac/dart-sdk/bin/dart /b/build/slave/dartium-mac-x64-inc-be/build/src/dart/tools/testing/dart/http_server.dart -p 56939 -c 56941 --build-directory=/b/build/slave/dartium-mac-x64-inc-be/build/src/out/Release/ --runtime=dartium --packages=/b/build/slave/dartium-mac-x64-inc-be/build/src/dart/.packages
Command[dartium]: /b/build/slave/dartium-mac-x64-inc-be/build/src/dart/tools/sdks/mac/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart dartium http://127.0.0.1:56939/root_build/generated_tests/none-dartium-checked/tests_standalone_dart_developer_disabled_env_test/test.html?crossOriginPort=56941
Took 0:00:00.104585
Short reproduction command (experimental):
python tools/test.py -mrelease -rdartium --checked -t60 standalone/dart_developer_disabled_env_test
===
=== 1 test failed
The text was updated successfully, but these errors were encountered: