[Webkit-unassigned] [Bug 206932] New: run-safari / run-webkit-tests --ios-simulator not working with XCode 13.3.1 (11C504)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 29 07:41:13 PST 2020


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

            Bug ID: 206932
           Summary: run-safari / run-webkit-tests --ios-simulator not
                    working with XCode 13.3.1 (11C504)
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: fred.wang at free.fr
                CC: ajuma at chromium.org, cathiechen at igalia.com

run-safari hangs without launching simulator, I'm not sure why.

For run-webkit-tests, traceback is shown below. In get_runtime_for_device_type() the device_type is software_variant="iOS" and software_version="13.2" but SimulatedDeviceManager.AVAILABLE_RUNTIMES only has "13.3" versions. A ugly workaround is to set device_type.software_version = None, which allows to run the tests for me.

Not sure that really helps, but I remember that in previous XCode version run-safari was actually opening two versions of the simulator which seemed a bug.

AssertionError raised: 
Traceback (most recent call last):
  File "/Users/fred/WebKit/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py", line 91, in main
    run_details = run(port, options, args, stderr)
  File "/Users/fred/WebKit/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py", line 485, in run
    run_details = manager.run(args)
  File "/Users/fred/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 "/Users/fred/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py", line 176, in _set_up_run
    self._port.setup_test_run(device_type)
  File "/Users/fred/WebKit/Tools/Scripts/webkitpy/port/device_port.py", line 179, in setup_test_run
    reboot=self.get_option('reboot', False),
  File "/Users/fred/WebKit/Tools/Scripts/webkitpy/xcode/simulated_device.py", line 404, in initialize_devices
    device = SimulatedDeviceManager._create_or_find_device_for_request(request, host, name_base)
  File "/Users/fred/WebKit/Tools/Scripts/webkitpy/xcode/simulated_device.py", line 264, in _create_or_find_device_for_request
    device_type = SimulatedDeviceManager._disambiguate_device_type(request.device_type)
  File "/Users/fred/WebKit/Tools/Scripts/webkitpy/xcode/simulated_device.py", line 226, in _disambiguate_device_type
    assert runtime is not None
AssertionError

-- 
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/20200129/37dd07cc/attachment-0001.htm>


More information about the webkit-unassigned mailing list