[webkit-gtk] WebKitTestRunner is too flaky.
Chang Wan Hong
cwhong at company100.com
Wed Jul 3 03:21:07 PDT 2013
I've been working on LayoutTests, and I found out that WebKitTestRunner
For example, at master branch, "Tools/Scripts/new-run-webkit-tests -2 --gtk
dom" almost always pass all the test cases. However, sometimes it crashes
[79/2658] dom/html/level2/html/AppletsCollection.html failed unexpectedly
(WebKitTestRunner crashed [pid=31224])
2657 tests ran as expected, 1 didn't:
However, "Tools/Scripts/new-run-webkit-tests -2 --gtk
dom/html/level2/html/AppletsCollection.html" has never been failed. The
test case is not flaky.
Even if I remove above test case, I always see another test case crashing
when running "Tools/Scripts/new-run-webkit-tests -2 --gtk dom".
This situation is not restricted to dom test cases. When running
new-run-webkit-tests in a collection (more than 1000 test cases), you can
reproduce this situation.
To debug, I set my environment like below.
Crash log for WebKitTestRunner (pid 3347):
Coredump core-pid_3347-_-process_WebKitTestRunner not found. To enable
- run this command as super-user: echo
- enable core dumps: ulimit -c unlimited
- set the WEBKIT_CORE_DUMPS_DIRECTORY environment variable: export
With this environment, if WebKitWebProcess is crashed, coredump of
WebKitWebProcess is created. However, coredump of WebKitTestRunner is not
created when it crashes.
So, my questions are :
1. Why does the test framework sometimes crashes?
2. How can I get coredump of WebKitTestRunner?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-gtk