|
|
Chromium Code Reviews
DescriptionUse xvfb for the ozone linux tests
This is needed to fix
linux_chromium_ozone_compile_only_ng to run tests with x11
BUG=666958
Review-Url: https://codereview.chromium.org/2764483002
Cr-Commit-Position: refs/heads/master@{#458349}
Committed: https://chromium.googlesource.com/chromium/src/+/aea527346d04c035ab38f14e0c3df0647c32230d
Patch Set 1 #
Total comments: 7
Patch Set 2 : comment #Messages
Total messages: 28 (17 generated)
Description was changed from ========== Test BUG= ========== to ========== Test BUG= ==========
Patchset #1 (id:1) has been deleted
Description was changed from ========== Test BUG= ========== to ========== Use xvfb for the ozone linux tests ==========
msisov@igalia.com changed reviewers: + dpranke@chromium.org
Description was changed from ========== Use xvfb for the ozone linux tests ========== to ========== Use xvfb for the ozone linux tests this is needed to fix linux_chromium_ozone_compile_only_ng to run tests with x11 ==========
ptal
fwang@igalia.com changed reviewers: + fwang@igalia.com
https://codereview.chromium.org/2764483002/diff/20001/tools/mb/mb.py File tools/mb/mb.py (right): https://codereview.chromium.org/2764483002/diff/20001/tools/mb/mb.py#newcode1069 tools/mb/mb.py:1069: not android and ozone or (ozone and chromeos)) I think ((not ozone) or (ozone and chromeos)) can just be removed
kylechar@chromium.org changed reviewers: + kylechar@chromium.org
https://codereview.chromium.org/2764483002/diff/20001/tools/mb/mb.py File tools/mb/mb.py (right): https://codereview.chromium.org/2764483002/diff/20001/tools/mb/mb.py#newcode1069 tools/mb/mb.py:1069: not android and ozone or (ozone and chromeos)) On 2017/03/20 15:10:35, fwang wrote: > I think ((not ozone) or (ozone and chromeos)) can just be removed Yep, like this: use_xvfb = (self.platform == 'linux2' and not android)
https://codereview.chromium.org/2764483002/diff/20001/tools/mb/mb.py File tools/mb/mb.py (right): https://codereview.chromium.org/2764483002/diff/20001/tools/mb/mb.py#newcode1069 tools/mb/mb.py:1069: not android and ozone or (ozone and chromeos)) On 2017/03/20 17:03:31, kylechar wrote: > On 2017/03/20 15:10:35, fwang wrote: > > I think ((not ozone) or (ozone and chromeos)) can just be removed > > Yep, like this: > > use_xvfb = (self.platform == 'linux2' and > not android) So there's no non-X11 configuration we're testing any more? Or will the configurations that don't use X11 just ignore the fact that they're running under xvfb?
https://codereview.chromium.org/2764483002/diff/20001/tools/mb/mb.py File tools/mb/mb.py (right): https://codereview.chromium.org/2764483002/diff/20001/tools/mb/mb.py#newcode1069 tools/mb/mb.py:1069: not android and ozone or (ozone and chromeos)) On 2017/03/20 17:22:50, Dirk Pranke wrote: > On 2017/03/20 17:03:31, kylechar wrote: > > On 2017/03/20 15:10:35, fwang wrote: > > > I think ((not ozone) or (ozone and chromeos)) can just be removed > > > > Yep, like this: > > > > use_xvfb = (self.platform == 'linux2' and > > not android) > > So there's no non-X11 configuration we're testing any more? Or will the > configurations that don't use X11 just ignore the fact that they're running > under xvfb? This particular change only affects 'Ozone Linux' FYI bot, which runs two tests with Ozone X11 now (and previously ran 0 tests total). In general, the Ozone CrOS trybot runs a couple of tests with Ozone headless still. If type=window_test_launcher then it will run using Xvfb. The tests wouldn't check $DISPLAY env var and wouldn't know Xvfb was running though..
lgtm. https://codereview.chromium.org/2764483002/diff/20001/tools/mb/mb.py File tools/mb/mb.py (right): https://codereview.chromium.org/2764483002/diff/20001/tools/mb/mb.py#newcode1069 tools/mb/mb.py:1069: not android and ozone or (ozone and chromeos)) I guess we were already assuming CrOS+Ozone==X11. Using X11 for things we know are using Ozone still feels weird to me :). Can we update the comments on lines 1065-1067 to make this clearer somehow?
https://codereview.chromium.org/2764483002/diff/20001/tools/mb/mb.py File tools/mb/mb.py (right): https://codereview.chromium.org/2764483002/diff/20001/tools/mb/mb.py#newcode1069 tools/mb/mb.py:1069: not android and ozone or (ozone and chromeos)) On 2017/03/20 17:36:57, Dirk Pranke wrote: > Can we update the comments on lines 1065-1067 to make this clearer somehow? What about this: "... For example, Linux Desktop, X11 CrOS and Ozone builds. Note that one Ozone build can be used to run different backends. Currently, tests are executed for the headless and X11 backends and both can run under Xvfb. FIXME(tonikitoo,msisov,fwang): Find a way to run tests for the Wayland backend."
The CQ bit was checked by msisov@igalia.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== Use xvfb for the ozone linux tests this is needed to fix linux_chromium_ozone_compile_only_ng to run tests with x11 ========== to ========== Use xvfb for the ozone linux tests This is needed to fix linux_chromium_ozone_compile_only_ng to run tests with x11 BUG= ==========
Description was changed from ========== Use xvfb for the ozone linux tests This is needed to fix linux_chromium_ozone_compile_only_ng to run tests with x11 BUG= ========== to ========== Use xvfb for the ozone linux tests This is needed to fix linux_chromium_ozone_compile_only_ng to run tests with x11 BUG=666958 ==========
https://codereview.chromium.org/2764483002/diff/20001/tools/mb/mb.py File tools/mb/mb.py (right): https://codereview.chromium.org/2764483002/diff/20001/tools/mb/mb.py#newcode1069 tools/mb/mb.py:1069: not android and ozone or (ozone and chromeos)) On 2017/03/21 06:54:29, fwang wrote: > On 2017/03/20 17:36:57, Dirk Pranke wrote: > > Can we update the comments on lines 1065-1067 to make this clearer somehow? > > What about this: > > "... For example, Linux Desktop, X11 CrOS and Ozone builds. Note that one Ozone > build can be used to run different backends. Currently, tests are executed for > the headless and X11 backends and both can run under Xvfb. > FIXME(tonikitoo,msisov,fwang): Find a way to run tests for the Wayland backend." Done.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by msisov@igalia.com
The patchset sent to the CQ was uploaded after l-g-t-m from dpranke@chromium.org Link to the patchset: https://codereview.chromium.org/2764483002/#ps40001 (title: "comment")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch.
Bot data: {"patchset_id": 40001, "attempt_start_ts": 1490083431465020,
"parent_rev": "8c762e79eef5c9a6d7bce492ec42e8870ab21f8e", "commit_rev":
"aea527346d04c035ab38f14e0c3df0647c32230d"}
Message was sent while issue was closed.
Description was changed from ========== Use xvfb for the ozone linux tests This is needed to fix linux_chromium_ozone_compile_only_ng to run tests with x11 BUG=666958 ========== to ========== Use xvfb for the ozone linux tests This is needed to fix linux_chromium_ozone_compile_only_ng to run tests with x11 BUG=666958 Review-Url: https://codereview.chromium.org/2764483002 Cr-Commit-Position: refs/heads/master@{#458349} Committed: https://chromium.googlesource.com/chromium/src/+/aea527346d04c035ab38f14e0c3d... ==========
Message was sent while issue was closed.
Committed patchset #2 (id:40001) as https://chromium.googlesource.com/chromium/src/+/aea527346d04c035ab38f14e0c3d... |
