Bug 152719 - error running layout tests on iOS simulator on latest build
Summary: error running layout tests on iOS simulator on latest build
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Aakash Jain
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-04 17:04 PST by Aakash Jain
Modified: 2017-03-15 17:16 PDT (History)
5 users (show)

See Also:


Attachments
Proposed patch (1.39 KB, patch)
2016-01-04 17:20 PST, Aakash Jain
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Aakash Jain 2016-01-04 17:04:46 PST
$ run-webkit-tests --ios-simulator js/intl-collator.html
Using port 'ios-simulator-wk2'
Test configuration: <, x86_64, debug>
Placing test results in /Volumes/Data/Build/Debug-iphonesimulator/layout-test-results
Baseline search path: wk2 -> ios-simulator -> ios-simulator-wk2 -> ios-simulator -> wk2 -> generic
Using Debug build
Pixel tests disabled
Regular timeout: 30000, slow test timeout: 150000
Command line: /Volumes/Data/Build/Debug/LayoutTestRelay -runtime com.apple.CoreSimulator.SimRuntime.iOS-9-2 -deviceType com.apple.CoreSimulator.SimDeviceType.iPhone-5s -suffix 0 -productDir /Volumes/Data/Build/Debug-iphonesimulator -app /Volumes/Data/Build/Debug-iphonesimulator/WebKitTestRunnerApp.app -- -

Found 1 test; running 1, skipping 0.
Starting helper ...kill -KILL 22648
Creating app:/tmp/WebKitTestingSimulators/Simulator0.app
/tmp/WebKitTestingSimulators/Simulator0.app: replacing existing signature
lsregister: processing /tmp/WebKitTestingSimulators/Simulator0.app
lsregister: registered /tmp/WebKitTestingSimulators/Simulator0.app
Waiting for all iOS Simulators to finish booting.
Could not print domain: 141: Reentrancy avoided
kill -KILL 22820
kill -KILL 22814
lsregister: processing /tmp/WebKitTestingSimulators/Simulator0.app
lsregister: unregistered /tmp/WebKitTestingSimulators/Simulator0.app

CalledProcessError raised: Command '['xcrun', 'simctl', 'spawn', u'9AEFFF49-1233-4FA7-86D8-1A6D74F9EC29', 'launchctl', 'print', 'system']' returned non-zero exit status 141
Traceback (most recent call last):
  File "/Volumes/Data/Safari/OpenSource/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py", line 77, in main
    run_details = run(port, options, args, stderr)
  File "/Volumes/Data/Safari/OpenSource/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py", line 409, in run
    run_details = manager.run(args)
  File "/Volumes/Data/Safari/OpenSource/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py", line 205, in run
    if not self._set_up_run(tests_to_run):
  File "/Volumes/Data/Safari/OpenSource/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py", line 179, in _set_up_run
    self._port.setup_test_run()
  File "/Volumes/Data/Safari/OpenSource/Tools/Scripts/webkitpy/port/ios.py", line 239, in setup_test_run
    Simulator.wait_until_device_is_booted(self.testing_device(i).udid)
  File "/Volumes/Data/Safari/OpenSource/Tools/Scripts/webkitpy/xcode/simulator.py", line 280, in wait_until_device_is_booted
    state = subprocess.check_output(['xcrun', 'simctl', 'spawn', udid, 'launchctl', 'print', 'system']).strip()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 573, in check_output
    raise CalledProcessError(retcode, cmd, output=output)
CalledProcessError: Command '['xcrun', 'simctl', 'spawn', u'9AEFFF49-1233-4FA7-86D8-1A6D74F9EC29', 'launchctl', 'print', 'system']' returned non-zero exit status 141
Comment 1 Aakash Jain 2016-01-04 17:19:32 PST
Please see <rdar://problem/24009549>
Comment 2 Aakash Jain 2016-01-04 17:20:44 PST
Created attachment 268252 [details]
Proposed patch
Comment 3 WebKit Commit Bot 2016-01-04 18:17:08 PST
Comment on attachment 268252 [details]
Proposed patch

Clearing flags on attachment: 268252

Committed r194569: <http://trac.webkit.org/changeset/194569>
Comment 4 WebKit Commit Bot 2016-01-04 18:17:12 PST
All reviewed patches have been landed.  Closing bug.