Hi,we're getting closer to switching layout test execution from DRT to content shell on Linux.Here's how I plan to proceed:1. all_webkit will start to build content_shell instead of DRT on Linux2. run-webkit-tests will execute content shell instead of DRT on Linux
On Mon, Apr 22, 2013 at 2:57 PM, Jochen Eisinger <joc...@chromium.org> wrote:
Hi,we're getting closer to switching layout test execution from DRT to content shell on Linux.Here's how I plan to proceed:1. all_webkit will start to build content_shell instead of DRT on Linux2. run-webkit-tests will execute content shell instead of DRT on LinuxWhat's blocking turning this on for other platforms? I think having the layout tests behave in a different way on Linux vs other platforms is going to be really confusing. It'll introduce another axis of divergence since both the platform and harness will be different on linux, so it'll be hard to tell when something is broken which is responsible.
On Mon, Apr 22, 2013 at 11:59 PM, James Robinson <jam...@chromium.org> wrote:
On Mon, Apr 22, 2013 at 2:57 PM, Jochen Eisinger <joc...@chromium.org> wrote:
Hi,we're getting closer to switching layout test execution from DRT to content shell on Linux.Here's how I plan to proceed:1. all_webkit will start to build content_shell instead of DRT on Linux2. run-webkit-tests will execute content shell instead of DRT on LinuxWhat's blocking turning this on for other platforms? I think having the layout tests behave in a different way on Linux vs other platforms is going to be really confusing. It'll introduce another axis of divergence since both the platform and harness will be different on linux, so it'll be hard to tell when something is broken which is responsible.On windows, tests that use drag & drop time out (about 200), on Mac, we still see too many crashes (about 40).It's hard to tell how long it'll take to fix those failures. We could just skip the tests and fix them later, but it's a large number of tests..
On Mon, Apr 22, 2013 at 3:02 PM, Jochen Eisinger <joc...@chromium.org> wrote:
On Mon, Apr 22, 2013 at 11:59 PM, James Robinson <jam...@chromium.org> wrote:
On Mon, Apr 22, 2013 at 2:57 PM, Jochen Eisinger <joc...@chromium.org> wrote:
Hi,we're getting closer to switching layout test execution from DRT to content shell on Linux.Here's how I plan to proceed:1. all_webkit will start to build content_shell instead of DRT on Linux2. run-webkit-tests will execute content shell instead of DRT on LinuxWhat's blocking turning this on for other platforms? I think having the layout tests behave in a different way on Linux vs other platforms is going to be really confusing. It'll introduce another axis of divergence since both the platform and harness will be different on linux, so it'll be hard to tell when something is broken which is responsible.On windows, tests that use drag & drop time out (about 200), on Mac, we still see too many crashes (about 40).It's hard to tell how long it'll take to fix those failures. We could just skip the tests and fix them later, but it's a large number of tests..That doesn't seem like too many tests. I'd be in favor of marking them as failing and working through them after switching the bots over.
(I think the plan of switching Linux first is a good one. We should just follow it up quickly with the other platforms.)
Is there a --renderer-cmd-prefix that will work nicely if I'm working over SSH? In this case, I think I can fudge it with --single-process, but it'd be nice not to have to rely on that. IIRC, there was some flag to have the renderer pause at startup as well, but I can't find it atm (and I think that might require me to click a dialog button as well).
Also, the old DRT used to populate crash-log.txt with a stack trace. content_shell doesn't appear to do that--is there any way to get the old behavior back, since it could be useful at times.
On Tue, May 28, 2013 at 11:44 PM, Daniel Cheng <dch...@chromium.org> wrote:
Is there a --renderer-cmd-prefix that will work nicely if I'm working over SSH? In this case, I think I can fudge it with --single-process, but it'd be nice not to have to rely on that. IIRC, there was some flag to have the renderer pause at startup as well, but I can't find it atm (and I think that might require me to click a dialog button as well).You can use --wait-for-debugger. That'll print out the PID and gives you one minute to attach to the process.Also, the old DRT used to populate crash-log.txt with a stack trace. content_shell doesn't appear to do that--is there any way to get the old behavior back, since it could be useful at times.
On Linux, you need to disable the sandbox to get symbolized stack traces, e.g. run-webkit-tests --additional-drt-flag=--no-sandbox
On Wed, May 29, 2013 at 2:20 AM, Jochen Eisinger <joc...@chromium.org> wrote:
On Tue, May 28, 2013 at 11:44 PM, Daniel Cheng <dch...@chromium.org> wrote:
Is there a --renderer-cmd-prefix that will work nicely if I'm working over SSH? In this case, I think I can fudge it with --single-process, but it'd be nice not to have to rely on that. IIRC, there was some flag to have the renderer pause at startup as well, but I can't find it atm (and I think that might require me to click a dialog button as well).You can use --wait-for-debugger. That'll print out the PID and gives you one minute to attach to the process.Also, the old DRT used to populate crash-log.txt with a stack trace. content_shell doesn't appear to do that--is there any way to get the old behavior back, since it could be useful at times.
On Linux, you need to disable the sandbox to get symbolized stack traces, e.g. run-webkit-tests --additional-drt-flag=--no-sandbox
Should we add a --no-sandbox flag to run-webkit-tests to make this easier? Also, can we print out instructions when we generate a unsymbolized stack trace? I didn't know this trick, and it would have saved me a bunch of time.
Le 30 mai 2013 14:07, "Eric Seidel" <ese...@chromium.org> a écrit :
>
> We have to walk before we can run. :)
>
> Getting ContentShell stable and fast, and keeping it default for a
> while is walking. It already offers us huge testing wins w/o all its
> bells and whistles.
>
> If the sandbox (or any other new CS feature which was not the test
> harness we used for the last 5 years) is blocking development, we
> should turn it off. And then work to enable that awesome new testing
> feature separately.
>
> I would like sandbox'd testing too, but we somehow shipped a stable
> product for the last 5 years w/o it and enabling it here seems like a
> separate issue from fixing development regressions from the CS
> transition. Being able to quickly debug crashes from the bots (and
> even my local machine) is much more important to me to keep until a
> stacktrace-enabled sandbox option is ready.
Huge +1.
Let's bring CS to a stable and fast level before we can think of adding great and new features. Having easy to get backtraces while making CS a good replacement of DRT is very useful.
I'd like to add --no-sandbox by default until content shell gets stable.We observed random crashes in some layout bots. But it's very hard to investigate them because of no stack traces and the randomness.