{"action":"created","issue":{"url":"https://api.github.com/repos/appium/appium/issues/7441","repository_url":"https://api.github.com/repos/appium/appium","labels_url":"https://api.github.com/repos/appium/appium/issues/7441/labels{/name}","comments_url":"https://api.github.com/repos/appium/appium/issues/7441/comments","events_url":"https://api.github.com/repos/appium/appium/issues/7441/events","html_url":"https://github.com/appium/appium/issues/7441","id":193806451,"number":7441,"title":"Numerous early termination of test runs on iOS 10 devices leads to \"house arrest\" error.","user":{"login":"rkavalap","id":80310,"avatar_url":"https://avatars.githubusercontent.com/u/80310?v=3","gravatar_id":"","url":"https://api.github.com/users/rkavalap","html_url":"https://github.com/rkavalap","followers_url":"https://api.github.com/users/rkavalap/followers","following_url":"https://api.github.com/users/rkavalap/following{/other_user}","gists_url":"https://api.github.com/users/rkavalap/gists{/gist_id}","starred_url":"https://api.github.com/users/rkavalap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkavalap/subscriptions","organizations_url":"https://api.github.com/users/rkavalap/orgs","repos_url":"https://api.github.com/users/rkavalap/repos","events_url":"https://api.github.com/users/rkavalap/events{/privacy}","received_events_url":"https://api.github.com/users/rkavalap/received_events","type":"User","site_admin":false},"labels":[{"id":143265062,"url":"https://api.github.com/repos/appium/appium/labels/NeedsTriage","name":"NeedsTriage","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-12-06T15:45:28Z","updated_at":"2017-01-29T15:02:25Z","closed_at":null,"body":"@michaelgallacher commented on [Mon Nov 21 2016](https://github.com/appium/appium-xcuitest-driver/issues/307)\n\n## The problem\r\nAfter a period of time, XCUITests will begin failing until the device is rebooted.\r\n\r\n## Environment.\r\niPhone 6s on 10.2\r\niPad 4 on 10.2\r\n\r\n## Details\r\nEmpirical testing shows the failure is related to the number of aborted runs done on 'older' devices.  \r\n@Schnutzel experienced the same in #167, where an iPhone 5C fails and an iPhone SE doesn't.  \r\n\r\nWhen an XCUITest is terminated before completing normally, it leaves a zombie process on the phone called `mobile_house_arrest`  After five zombies are created, iOS refuses to launch more, returning the error \r\n\r\n> Too many instances of this service are already running\r\n\r\nI have never seen `mobile_house_arrest` during runs on my iPhone 6s.  It is present on every run with the iPad 4.\r\n\r\n## Link to Appium logs\r\n[gist](https://gist.github.com/michaelgallacher/d4224ae834eb19ff1dffd51cab59e006)\n\n---\n\n@imurchie commented on [Tue Nov 22 2016](https://github.com/appium/appium-xcuitest-driver/issues/307#issuecomment-262341565)\n\nBefore continuing too far, can you try the latest Appium version (`npm uninstall -g appium && npm install -g appium@beta`)? There was a significant problem in how xcodebuild was being ended, which has been fixed.\n\n---\n\n@michaelgallacher commented on [Wed Nov 23 2016](https://github.com/appium/appium-xcuitest-driver/issues/307#issuecomment-262636290)\n\nNo luck using `appium@beta`.   Aborting an iOS 10 test five times still requires a device reboot due to the zombies.\n\n"},"comment":{"url":"https://api.github.com/repos/appium/appium/issues/comments/275919220","html_url":"https://github.com/appium/appium/issues/7441#issuecomment-275919220","issue_url":"https://api.github.com/repos/appium/appium/issues/7441","id":275919220,"user":{"login":"meirtsvi","id":974470,"avatar_url":"https://avatars.githubusercontent.com/u/974470?v=3","gravatar_id":"","url":"https://api.github.com/users/meirtsvi","html_url":"https://github.com/meirtsvi","followers_url":"https://api.github.com/users/meirtsvi/followers","following_url":"https://api.github.com/users/meirtsvi/following{/other_user}","gists_url":"https://api.github.com/users/meirtsvi/gists{/gist_id}","starred_url":"https://api.github.com/users/meirtsvi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meirtsvi/subscriptions","organizations_url":"https://api.github.com/users/meirtsvi/orgs","repos_url":"https://api.github.com/users/meirtsvi/repos","events_url":"https://api.github.com/users/meirtsvi/events{/privacy}","received_events_url":"https://api.github.com/users/meirtsvi/received_events","type":"User","site_admin":false},"created_at":"2017-01-29T15:02:25Z","updated_at":"2017-01-29T15:02:25Z","body":"Upgrading the 32bit device to iOS 10.2.1 seems to solve the issue"}}
{"actor":{"display_login":"meirtsvi"}}