Bug 210699 - [GTK] run-webkit-tests throws with python 3
Summary: [GTK] run-webkit-tests throws with python 3
Status: RESOLVED DUPLICATE of bug 203701
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 184986
  Show dependency treegraph
 
Reported: 2020-04-18 14:11 PDT by Emilio Cobos Álvarez (:emilio)
Modified: 2021-01-27 07:30 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Emilio Cobos Álvarez (:emilio) 2020-04-18 14:11:22 PDT
$ ./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'
Comment 1 Michael Catanzaro 2021-01-27 07:30:23 PST

*** This bug has been marked as a duplicate of bug 203701 ***