WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
213605
[GTK] LayoutTests runner sometimes crashes with worker/3: UnicodeEncodeError(''ascii' codec can't encode character u'\u201c' in position 85: ordinal not in range(128)') raised:
https://bugs.webkit.org/show_bug.cgi?id=213605
Summary
[GTK] LayoutTests runner sometimes crashes with worker/3: UnicodeEncodeError(...
Alicia Boya García
Reported
2020-06-25 07:59:49 PDT
Sometimes I get this error while running run-webkit-tests. Other times they run just fine. worker/3: UnicodeEncodeError(''ascii' codec can't encode character u'\u201c' in position 85: ordinal not in range(128)') raised: File "/app/webkit/Tools/Scripts/webkitpy/common/message_pool.py", line 280, in run worker.handle(message.name, message.src, *message.args) File "/app/webkit/Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py", line 291, in handle self._run_test(test_input, test_list_name) File "/app/webkit/Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py", line 317, in _run_test result = self._run_test_with_or_without_timeout(test_input, test_timeout_sec, stop_when_done) File "/app/webkit/Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py", line 383, in _run_test_with_or_without_timeout return self._run_test_in_this_thread(test_input, stop_when_done) File "/app/webkit/Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py", line 469, in _run_test_in_this_thread return self._run_single_test(self._driver, test_input, stop_when_done) File "/app/webkit/Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py", line 473, in _run_single_test self._name, driver, test_input, stop_when_done) File "/app/webkit/Tools/Scripts/webkitpy/layout_tests/controllers/single_test_runner.py", line 47, in run_single_test return runner.run() File "/app/webkit/Tools/Scripts/webkitpy/layout_tests/controllers/single_test_runner.py", line 106, in run return self._run_compare_test() File "/app/webkit/Tools/Scripts/webkitpy/layout_tests/controllers/single_test_runner.py", line 109, in _run_compare_test driver_output = self._driver.run_test(self._driver_input(), self._stop_when_done) File "/app/webkit/Tools/Scripts/webkitpy/port/driver.py", line 815, in run_test return self._driver.run_test(driver_input, stop_when_done) File "/app/webkit/Tools/Scripts/webkitpy/port/driver.py", line 241, in run_test self.error_from_test, crash_log = self._get_crash_log(text, self.error_from_test, newer_than=start_time) File "/app/webkit/Tools/Scripts/webkitpy/port/driver.py", line 310, in _get_crash_log return self._port._get_crash_log(self._crashed_process_name, self._crashed_pid, stdout, stderr, newer_than, target_host=self._target_host) File "/app/webkit/Tools/Scripts/webkitpy/port/gtk.py", line 241, in _get_crash_log self._filesystem, self._path_to_driver, self.port_name, self.get_option('configuration')).generate_crash_log(stdout, stderr) File "/app/webkit/Tools/Scripts/webkitpy/port/linux_get_crash_log.py", line 156, in generate_crash_log errors_str = cppfilt_proc.communicate(errors_str)[0] File "/usr/lib/python2.7/subprocess.py", line 483, in communicate return self._communicate(input) File "/usr/lib/python2.7/subprocess.py", line 1124, in _communicate stdout, stderr = self._communicate_with_poll(input) File "/usr/lib/python2.7/subprocess.py", line 1188, in _communicate_with_poll input_offset += os.write(fd, chunk)
Attachments
Add attachment
proposed patch, testcase, etc.
Alicia Boya García
Comment 1
2020-06-25 10:47:05 PDT
This seems to be an issue if and only if run-webkit-tests is run outside of the WebKit repository root directory.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug