[Webkit-unassigned] [Bug 203701] Python 3: Add support in webkitpy.layout_tests

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 27 07:53:45 PST 2021


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

--- Comment #3 from Jonathan Bedard <jbedard at apple.com> ---
Not a code-path (In reply to Michael Catanzaro from comment #2)
> From bug #210699:
> 
> $ ./Tools/Scripts/run-webkit-tests --verbose --debug
> LayoutTests/fast/css/getComputedStyle/computed-style.html                   
> 
> Using port 'gtk-wk2'
> Test configuration: <, x86, debug>
> Placing test results in
> /home/emilio/src/WebKit/WebKitBuild/Debug/layout-test-results
> Using Debug build
> Pixel tests disabled
> Regular timeout: 30000, slow test timeout: 150000
> Command line: /home/emilio/src/WebKit/WebKitBuild/Debug/bin/WebKitTestRunner
> -
> 
> Found 1 test; running 1, skipping 0.
>                   
> Verbose baseline search path: platform/gtk -> platform/wk2 -> generic
> 
> Baseline search path: platform/gtk -> platform/wk2 -> generic
> 
> Running 1 test
> 
> Checking system dependencies ...
> TypeError raised: argument should be integer or bytes-like object, not 'str'
> Traceback (most recent call last):
>   File
> "/home/emilio/src/WebKit/Tools/Scripts/webkitpy/layout_tests/
> run_webkit_tests.py", line 91, in main
>     run_details = run(port, options, args, stderr)
>   File
> "/home/emilio/src/WebKit/Tools/Scripts/webkitpy/layout_tests/
> run_webkit_tests.py", line 487, in run
>     run_details = manager.run(args)
>   File
> "/home/emilio/src/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/
> manager.py", line 270, in run
>     if not self._set_up_run(tests_to_run_by_device[device_type],
> device_type=device_type):
>   File
> "/home/emilio/src/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/
> manager.py", line 176, in _set_up_run
>     self._port.setup_test_run(device_type)
>   File "/home/emilio/src/WebKit/Tools/Scripts/webkitpy/port/gtk.py", line
> 108, in setup_test_run
>     self._pulseaudio_sanitizer.unload_pulseaudio_module()
>   File
> "/home/emilio/src/WebKit/Tools/Scripts/webkitpy/port/pulseaudio_sanitizer.
> py", line 58, in unload_pulseaudio_module
>     if module.find("module-stream-restore") >= 0:
> TypeError: argument should be integer or bytes-like object, not 'str'

I don't have a machine which exercises this code path, the fix is not likely to be difficult, but it's also likely there are multiple encoding problems in that class.

-- 
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/20210127/13342b78/attachment.htm>


More information about the webkit-unassigned mailing list