RESOLVED FIXED 121951
XvfbDriver should set up Xvfb instances providing screens of 8-bit depth
https://bugs.webkit.org/show_bug.cgi?id=121951
Summary XvfbDriver should set up Xvfb instances providing screens of 8-bit depth
Zan Dobersek
Reported 2013-09-26 06:03:59 PDT
XvfbDriver should set up Xvfb instances providing screens of 8-bit depth
Attachments
Patch (1.71 KB, patch)
2013-09-26 06:06 PDT, Zan Dobersek
no flags
Patch (6.69 KB, patch)
2013-09-26 10:23 PDT, Zan Dobersek
no flags
Zan Dobersek
Comment 1 2013-09-26 06:06:58 PDT
Carlos Garcia Campos
Comment 2 2013-09-26 06:11:28 PDT
Comment on attachment 212698 [details] Patch This is also what xvfb-run does by default. I guess you have checked all test still pass.
Zan Dobersek
Comment 3 2013-09-26 06:29:24 PDT
Comment on attachment 212698 [details] Patch Clearing flags on attachment: 212698 Committed r156457: <http://trac.webkit.org/changeset/156457>
Zan Dobersek
Comment 4 2013-09-26 06:29:29 PDT
All reviewed patches have been landed. Closing bug.
Jessie Berlin
Comment 5 2013-09-26 09:05:03 PDT
This broke the webkitpy tests: http://build.webkit.org/builders/Apple%20MountainLion%20Debug%20WK1%20%28Tests%29/builds/10416/steps/webkitpy-test/logs/stdio Running the tests ... [883/1467] webkitpy.port.xvfbdriver_unittest.XvfbDriverTest.test_start_next_worker failed: Traceback (most recent call last): File "/Volumes/Data/slave/mountainlion-debug-tests-wk1/build/Tools/Scripts/webkitpy/port/xvfbdriver_unittest.py", line 111, in test_start_next_worker self.assertDriverStartSuccessful(driver, expected_logs=expected_logs, expected_display=":0", pixel_tests=True) File "/Volumes/Data/slave/mountainlion-debug-tests-wk1/build/Tools/Scripts/webkitpy/port/xvfbdriver_unittest.py", line 63, in assertDriverStartSuccessful OutputCapture().assert_outputs(self, driver.start, [pixel_tests, []], expected_logs=expected_logs) File "/Volumes/Data/slave/mountainlion-debug-tests-wk1/build/Tools/Scripts/webkitpy/common/system/outputcapture.py", line 105, in assert_outputs testassert(logs_string, expected_logs) AssertionError: "MOCK popen: ['Xvfb', ':0', '-screen', '0', '800x600x8', '-nolisten', 'tcp']\n" != "MOCK popen: ['Xvfb', ':0', '-screen', '0', '800x600x24', '-nolisten', 'tcp']\n" [truncated]... - MOCK popen: ['Xvfb', ':0', '-screen', '0', '800x600x8', '-nolisten', 'tcp'] ? ^ + MOCK popen: ['Xvfb', ':0', '-screen', '0', '800x600x24', '-nolisten', 'tcp'] ? ^^ [891/1467] webkitpy.port.xvfbdriver_unittest.XvfbDriverTest.test_start_pixel_tests failed: Traceback (most recent call last): File "/Volumes/Data/slave/mountainlion-debug-tests-wk1/build/Tools/Scripts/webkitpy/port/xvfbdriver_unittest.py", line 76, in test_start_pixel_tests self.assertDriverStartSuccessful(driver, expected_logs=expected_logs, expected_display=":0", pixel_tests=True) File "/Volumes/Data/slave/mountainlion-debug-tests-wk1/build/Tools/Scripts/webkitpy/port/xvfbdriver_unittest.py", line 63, in assertDriverStartSuccessful OutputCapture().assert_outputs(self, driver.start, [pixel_tests, []], expected_logs=expected_logs) File "/Volumes/Data/slave/mountainlion-debug-tests-wk1/build/Tools/Scripts/webkitpy/common/system/outputcapture.py", line 105, in assert_outputs testassert(logs_string, expected_logs) AssertionError: "MOCK run_command: ['ps', '-eo', 'comm,command'], cwd=None\nMOCK popen: ['Xvfb', [truncated]... != "MOCK run_command: ['ps', '-eo', 'comm,command'], cwd=None\nMOCK popen: ['Xvfb', [truncated]... MOCK run_command: ['ps', '-eo', 'comm,command'], cwd=None - MOCK popen: ['Xvfb', ':0', '-screen', '0', '800x600x8', '-nolisten', 'tcp'] ? ^ + MOCK popen: ['Xvfb', ':0', '-screen', '0', '800x600x24', '-nolisten', 'tcp'] ? ^^ [892/1467] webkitpy.port.xvfbdriver_unittest.XvfbDriverTest.test_start_no_pixel_tests failed: Traceback (most recent call last): File "/Volumes/Data/slave/mountainlion-debug-tests-wk1/build/Tools/Scripts/webkitpy/port/xvfbdriver_unittest.py", line 70, in test_start_no_pixel_tests self.assertDriverStartSuccessful(driver, expected_logs=expected_logs, expected_display=":0") File "/Volumes/Data/slave/mountainlion-debug-tests-wk1/build/Tools/Scripts/webkitpy/port/xvfbdriver_unittest.py", line 63, in assertDriverStartSuccessful OutputCapture().assert_outputs(self, driver.start, [pixel_tests, []], expected_logs=expected_logs) File "/Volumes/Data/slave/mountainlion-debug-tests-wk1/build/Tools/Scripts/webkitpy/common/system/outputcapture.py", line 105, in assert_outputs testassert(logs_string, expected_logs) AssertionError: "MOCK run_command: ['ps', '-eo', 'comm,command'], cwd=None\nMOCK popen: ['Xvfb', [truncated]... != "MOCK run_command: ['ps', '-eo', 'comm,command'], cwd=None\nMOCK popen: ['Xvfb', [truncated]... MOCK run_command: ['ps', '-eo', 'comm,command'], cwd=None - MOCK popen: ['Xvfb', ':0', '-screen', '0', '800x600x8', '-nolisten', 'tcp'] ? ^ + MOCK popen: ['Xvfb', ':0', '-screen', '0', '800x600x24', '-nolisten', 'tcp'] ? ^^ [1113/1467] webkitpy.port.xvfbdriver_unittest.XvfbDriverTest.test_start_arbitrary_worker_number failed: Traceback (most recent call last): File "/Volumes/Data/slave/mountainlion-debug-tests-wk1/build/Tools/Scripts/webkitpy/port/xvfbdriver_unittest.py", line 82, in test_start_arbitrary_worker_number self.assertDriverStartSuccessful(driver, expected_logs=expected_logs, expected_display=":0", pixel_tests=True) File "/Volumes/Data/slave/mountainlion-debug-tests-wk1/build/Tools/Scripts/webkitpy/port/xvfbdriver_unittest.py", line 63, in assertDriverStartSuccessful OutputCapture().assert_outputs(self, driver.start, [pixel_tests, []], expected_logs=expected_logs) File "/Volumes/Data/slave/mountainlion-debug-tests-wk1/build/Tools/Scripts/webkitpy/common/system/outputcapture.py", line 105, in assert_outputs testassert(logs_string, expected_logs) AssertionError: "MOCK run_command: ['ps', '-eo', 'comm,command'], cwd=None\nMOCK popen: ['Xvfb', [truncated]... != "MOCK run_command: ['ps', '-eo', 'comm,command'], cwd=None\nMOCK popen: ['Xvfb', [truncated]... MOCK run_command: ['ps', '-eo', 'comm,command'], cwd=None - MOCK popen: ['Xvfb', ':0', '-screen', '0', '800x600x8', '-nolisten', 'tcp'] ? ^ + MOCK popen: ['Xvfb', ':0', '-screen', '0', '800x600x24', '-nolisten', 'tcp'] ? ^^ Ran 1467 tests in 6.742s FAILED (failures=4, errors=0) program finished with exit code 1 elapsedTime=9.172221
WebKit Commit Bot
Comment 6 2013-09-26 09:14:26 PDT
Re-opened since this is blocked by bug 121960
Zan Dobersek
Comment 7 2013-09-26 10:23:14 PDT
Zan Dobersek
Comment 8 2013-09-26 10:56:37 PDT
Comment on attachment 212722 [details] Patch Clearing flags on attachment: 212722 Committed r156475: <http://trac.webkit.org/changeset/156475>
Zan Dobersek
Comment 9 2013-09-26 10:56:44 PDT
All reviewed patches have been landed. Closing bug.
Alberto Garcia
Comment 10 2013-09-27 05:19:07 PDT
This also broke fast/dom/Window/window-screen-properties.html
Ryuan Choi
Comment 11 2013-09-29 18:52:03 PDT
(In reply to comment #10) > This also broke fast/dom/Window/window-screen-properties.html And FYI, EFL port got too many failing cases after this patch.
Gyuyoung Kim
Comment 12 2013-09-29 22:27:08 PDT
(In reply to comment #11) > (In reply to comment #10) > > This also broke fast/dom/Window/window-screen-properties.html > > And FYI, EFL port got too many failing cases after this patch. Hmm, is there any method EFL port doesn't adjust this patch for now ? EFL bots has happened lots of regression after this patch.
Zan Dobersek
Comment 13 2013-09-30 02:15:01 PDT
(In reply to comment #12) > (In reply to comment #11) > > (In reply to comment #10) > > > This also broke fast/dom/Window/window-screen-properties.html > > > > And FYI, EFL port got too many failing cases after this patch. > > Hmm, is there any method EFL port doesn't adjust this patch for now ? EFL bots has happened lots of regression after this patch. Handled in bug #122089. (In reply to comment #10) > This also broke fast/dom/Window/window-screen-properties.html Unfortunately the test will not be fixable until we require the 8-bit depth hack on the GTK 64-bit release builder.
Gustavo Noronha (kov)
Comment 14 2013-10-08 17:30:13 PDT
Hmm, so we do get GL software rendering on the 64 bits release bot?
Note You need to log in before you can comment on or make changes to this bug.