Title: [282087] trunk/Tools
Revision
282087
Author
jbed...@apple.com
Date
2021-09-07 08:44:40 -0700 (Tue, 07 Sep 2021)

Log Message

run_webkit_tests failed to print error message in python3 in linux_get_crash_log.py
https://bugs.webkit.org/show_bug.cgi?id=229971

Reviewed by Aakash Jain.

* Scripts/webkitpy/port/linux_get_crash_log.py:
(GDBCrashLogGenerator._get_gdb_output):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (282086 => 282087)


--- trunk/Tools/ChangeLog	2021-09-07 15:30:28 UTC (rev 282086)
+++ trunk/Tools/ChangeLog	2021-09-07 15:44:40 UTC (rev 282087)
@@ -1,3 +1,13 @@
+2021-09-07  Jonathan Bedard  <jbed...@apple.com>
+
+        run_webkit_tests failed to print error message in python3 in linux_get_crash_log.py
+        https://bugs.webkit.org/show_bug.cgi?id=229971
+
+        Reviewed by Aakash Jain.
+
+        * Scripts/webkitpy/port/linux_get_crash_log.py:
+        (GDBCrashLogGenerator._get_gdb_output):
+
 2021-09-07  Carlos Alberto Lopez Perez  <clo...@igalia.com>
 
         [GTK] The Xvfb display server may fail to start sometimes causing tests to randomly crash (v3)

Modified: trunk/Tools/Scripts/webkitpy/port/linux_get_crash_log.py (282086 => 282087)


--- trunk/Tools/Scripts/webkitpy/port/linux_get_crash_log.py	2021-09-07 15:30:28 UTC (rev 282086)
+++ trunk/Tools/Scripts/webkitpy/port/linux_get_crash_log.py	2021-09-07 15:44:40 UTC (rev 282087)
@@ -60,7 +60,7 @@
         stdout, stderr = proc.communicate()
         errors = [stderr_line.strip().decode('utf8', 'ignore') for stderr_line in stderr.splitlines()]
         if proc.returncode != 0:
-            stdout = ('ERROR: The gdb process exited with non-zero return code %s\n\n' % proc.returncode) + stdout
+            stdout = (b'ERROR: The gdb process exited with non-zero return code %s\n\n' % str(proc.returncode)) + stdout
         return (stdout.decode('utf8', 'ignore'), errors)
 
     def _get_tmp_file_name(self, coredumpctl, filename):
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to