Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

What looks like passing test is reported as failure #15139

Closed
peter-ahe-google opened this issue Nov 18, 2013 · 15 comments
Closed

What looks like passing test is reported as failure #15139

peter-ahe-google opened this issue Nov 18, 2013 · 15 comments
Assignees
Labels
closed-cannot-reproduce Closed as we were unable to reproduce the reported issue P1 A high priority bug; for example, a single project is unusable or has many test failures
Milestone

Comments

@peter-ahe-google
Copy link
Contributor

From http://build.chromium.org/p/client.dart/builders/dartium-win-inc-be/builds/891/steps/drt_core_unchecked_tests/logs/stdio:

FAILED: none-drt release_ia32 html/svgelement_test/supported_animateTransform
Expected: Pass
Actual: RuntimeError
CommandOutput[content_shell]:

stdout:
Content-Type: text/plain
PASS
8 PASS Expectation: supported_animateTransform supported.
All 1 tests passed

EOF

EOF

stderr:

EOF

To retest, run: E:\b\build\slave\dartium-win-inc-be\build\src\dart\tools\testing\bin\windows\dart.exe /E:/b/build/slave/dartium-win-inc-be/build/src/dart/tools/testing/dart/http_server.dart -p 49484 -c 49485 --build-directory=E:\b\build\slave\dartium-win-inc-be\build\src\build\Release --runtime=drt

Command[content_shell]: E:\b\build\slave\dartium-win-inc-be\build\src\build\Release\content_shell.exe --no-timeout --dump-render-tree http://127.0.0.1:49484/root_build/generated_tests/none-drt/tests_html_svgelement_test/test.html?crossOriginPort=49485&group=supported_animateTransform
Took 0:00:00.702000

Short reproduction command (experimental):
    python tools/test.py -rdrt -mrelease -t240 html/svgelement_test/supported_animateTransform

@mkustermann
Copy link
Member

This is a known issue. If you look closely enough, you'll see this:

2013-11-18 09:13:37.411 Warning: All tests passed, but exitCode != 0. (E:\b\build\slave\dartium-win-inc-be\build\src\build\Release\content_shell.exe --no-timeout --dump-render-tree http://127.0.0.1:49484/root_build/generated_tests/none-drt/tests_html_svgelement_test/test.html?crossOriginPort=49485&group=supported_animateTransform)

This happens very often and it only happens on content shell. Our current best guess is that the renderer crashes when shutting down.


cc @vsmenon.
cc @a-siva.
cc @ricowind.
Removed Area-Test label.
Added Area-Dartium label.

@peter-ahe-google
Copy link
Contributor Author

I've filed:

Issue #15141 to track the problem that the test runner doesn't print the exitCode.

Issue #15142 to track the problem that the test runner doesn't include the above warning in the test summary.

@ricowind
Copy link
Contributor

Vijay/Siva, is the underlying issue something we are looking into? This is causing a lot of flake on our bots, it seems that we are hitting this a lot on debug windows, did you guys try reproducing this on windows?
This could be related to
https://code.google.com/p/chromium/issues/detail?id=192438
based on the exitcode


Set owner to @vsmenon.
Removed Priority-Unassigned label.
Added Priority-High label.

@vsmenon
Copy link
Member

vsmenon commented Nov 22, 2013

I've been looking into this. Some quick notes:

  • The error code is -1073740022. See here (and thanks for adding the logging!):

http://chromegw.corp.google.com/i/client.dart/builders/dartium-win-inc-be/builds/981/steps/drt_core_unchecked_tests/logs/stdio

  • The content shell main appears to expect positive exit codes (and only short circuits on those):

http://src.chromium.org/viewvc/multivm/branches/1650/chrome/content/shell/browser/shell_browser_main.cc?revision=1520

  • Chrome error codes should be positive:

http://src.chromium.org/viewvc/multivm/branches/1650/chrome/content/public/common/result_codes_list.h?revision=1520

Can we check for a positive / valid exit code in our test scripts?

@ricowind
Copy link
Contributor

@peter-ahe-google
Copy link
Contributor Author

I've filed issue #15261 to track the problem that test runner prints confusing exit codes on Windows.

@ricowind
Copy link
Contributor

Issue #7536 has been merged into this issue.

@vsmenon
Copy link
Member

vsmenon commented Nov 25, 2013

In the content shell main, the exit code is a signed 32-bit int. So, it actually is negative already in C++, not our scripts.

The content shell main does not treat a negative exit code as an error.

@ricowind
Copy link
Contributor

Vijay: The assumption here is that this may very well be windows assigned error codes (that is the reason for the proposal for using err.exe on the exit code by Peter). If the main process is simply crashing - translating this error code by using the windows tool may give useful feedback

@kasperl
Copy link

kasperl commented Jul 10, 2014

Added this to the 1.6 milestone.

@vsmenon
Copy link
Member

vsmenon commented Aug 6, 2014

Removed this from the 1.6 milestone.
Added this to the 1.7 milestone.

@vsmenon
Copy link
Member

vsmenon commented Sep 16, 2014

Removed this from the 1.7 milestone.
Added this to the 1.8 milestone.

@vsmenon
Copy link
Member

vsmenon commented Nov 11, 2014

Removed this from the 1.8 milestone.
Added this to the 1.9 milestone.

@kasperl
Copy link

kasperl commented Nov 28, 2014

Added Accepted label.

@terrylucas
Copy link
Contributor

supported_animateTransform is passing in roll 39 Dart release 1.9 on Windows.


Added CannotReproduce label.

@peter-ahe-google peter-ahe-google added Type-Defect P1 A high priority bug; for example, a single project is unusable or has many test failures closed-cannot-reproduce Closed as we were unable to reproduce the reported issue labels Feb 11, 2015
@peter-ahe-google peter-ahe-google added this to the 1.9 milestone Feb 11, 2015
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-cannot-reproduce Closed as we were unable to reproduce the reported issue P1 A high priority bug; for example, a single project is unusable or has many test failures
Projects
None yet
Development

No branches or pull requests

6 participants