-
Notifications
You must be signed in to change notification settings - Fork 20
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
[chromium] consider pre-compiling content_shell and pre-running layout tests #164
Comments
|
Perhaps building "all" instead of only Chromium would be the right thing to do here, as it would also compile JavaScript with Closure Compiler and other (debatable) goodies. Regarding the graphical environment, Tom Anderson mentioned xvfb on blink-dev -
|
Yes, you can change Running the layout tests might help establish that this is a Known Good Revision, just like running any test would, but apart from that it wouldn't be particularly useful. |
Thanks! So I guess we have two options to pre-build
@phistuck or @beaufortfrancois any preference?
Interesting suggestion. I think @beaufortfrancois does this as well. I believe you have two options:
@dpranke Thanks! But doesn't Chromium already have a "Last Known Good Revision"? Or is that just for "it compiles" and not "it passes all tests"? |
If it is scalable, I prefer I managed to run almost all of the layout tests without even using xvfb, so I guess it is a non issue at the moment. The few (4) tests that eventually failed were due to the new Ubuntu the virtual machine is using, apparently (see the blink-dev thread that confirms it). Chromium used to maintain Last Known Good Revision, but if it still exists, it is rarely used for anything nowadays, as far as I remember reading. Last Know Compilable Revision is used instead, I believe. Even if the former was maintained, I believe it did not run the layout tests, but this is just a speculation at this point. |
Noted, thanks. Let's try switching to Currently, pre-building Chrome on Janitor takes us ~3h in the background (see Image update) stats, which is why we build it on-site instead of via CircleCI (their free tier has weaker hardware and ~2h build timeouts). If building
Thanks, that's great to know. Note that any graphical layout tests might still pick up on our running xvfb server (e.g. via the
Thanks. So by running all layout tests as part of image build, Janitor would become sort of a new LKGR tracker for Chromium I guess. Note that Janitor is entirely community-funded. Would Google be interested in helping us fund Janitor's hosting in order to boost Chromium development on there? |
Chromium's LKGR is gone, and LKCR is almost gone. What we'd found is that a generic definition of either didn't make all that much sense given the complexity of all of the different build configs (e.g., do you want to block the linux build if mac doesn't compile?), and so we have generally switched to specific checks for specific needs. Note that building |
I think* you don't need to specify |
Thank you @phistuck for suggesting this idea!
content_shell
be built side-by-side, e.g. by addingcontent_shell
to our build instruction ninja -C out/Default chrome -j18?The text was updated successfully, but these errors were encountered: