[Webkit-unassigned] [Bug 230082] Running iOS layout tests sometimes fails with a utf-8 error

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 9 10:47:15 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=230082

--- Comment #6 from Simon Fraser (smfr) <simon.fraser at apple.com> ---
Workaround:

diff --git a/Tools/Scripts/webkitpy/port/driver.py b/Tools/Scripts/webkitpy/port/driver.py
index fca1bad07e53098bb03b2803018484949a66fc13..1314151776b770128cf0ae4c333dad04acf4f84d 100644
--- a/Tools/Scripts/webkitpy/port/driver.py
+++ b/Tools/Scripts/webkitpy/port/driver.py
@@ -237,13 +237,14 @@ class Driver(object):
         pid = self._server_process.pid()

         if stop_when_done or crashed or timed_out:
+            print("Stopped %s crashed %s timed_out %s\n" % (stop_when_done, crashed, timed_out))
             if stop_when_done and not (crashed or timed_out):
                 self.do_post_tests_work()
             # We call stop() even if we crashed or timed out in order to get any remaining stdout/stderr output.
             # In the timeout case, we kill the hung process as well.
             out, err = self._server_process.stop(self._port.driver_stop_timeout() if stop_when_done else 0.0)
-            if out:
-                text += string_utils.decode(out, target_type=str)
+            # if out:
+            #     text += string_utils.decode(out, target_type=str)
             if err:
                 self.error_from_test += string_utils.decode(err, target_type=str)
             self._server_process = None

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210909/b39eae03/attachment-0001.htm>


More information about the webkit-unassigned mailing list