{"action":"created","issue":{"url":"https://api.github.com/repos/appium/appium/issues/6452","repository_url":"https://api.github.com/repos/appium/appium","labels_url":"https://api.github.com/repos/appium/appium/issues/6452/labels{/name}","comments_url":"https://api.github.com/repos/appium/appium/issues/6452/comments","events_url":"https://api.github.com/repos/appium/appium/issues/6452/events","html_url":"https://github.com/appium/appium/issues/6452","id":152032710,"number":6452,"title":"Failed to launch simulator with [MJSONWP] Encountered internal error running command: Error: Condition unmet after xxxx ms. Timing out.","user":{"login":"KazuCocoa","id":5511591,"avatar_url":"https://avatars.githubusercontent.com/u/5511591?v=3","gravatar_id":"","url":"https://api.github.com/users/KazuCocoa","html_url":"https://github.com/KazuCocoa","followers_url":"https://api.github.com/users/KazuCocoa/followers","following_url":"https://api.github.com/users/KazuCocoa/following{/other_user}","gists_url":"https://api.github.com/users/KazuCocoa/gists{/gist_id}","starred_url":"https://api.github.com/users/KazuCocoa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KazuCocoa/subscriptions","organizations_url":"https://api.github.com/users/KazuCocoa/orgs","repos_url":"https://api.github.com/users/KazuCocoa/repos","events_url":"https://api.github.com/users/KazuCocoa/events{/privacy}","received_events_url":"https://api.github.com/users/KazuCocoa/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/appium/appium/labels/iOS","name":"iOS","color":"444444"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2016-04-30T14:12:30Z","updated_at":"2016-05-20T15:46:11Z","closed_at":null,"body":"## The problem\r\n\r\nFailed to launch simulator in ios sim reset flow.\r\n\r\n## Environment\r\n\r\n* Appium version (or git revision) that exhibits the issue:\r\n    - Appium 1.5.2\r\n* Last Appium version that did not exhibit the issue (if applicable):\r\n    - Appium 1.4.16\r\n* Desktop OS/version used to run Appium:\r\n    - Mac OS X 10.11.4\r\n* Node.js version (unless using Appium.app|exe):\r\n    - v4.2.4\r\n* Mobile platform/version under test:\r\n    - iOS SDK 9.2\r\n    - Xcode 7.2\r\n* Real device or emulator/simulator:\r\n    - simulator\r\n* Appium CLI or Appium.app|exe:\r\n    - Appium CLI\r\n\r\nAnd\r\n\r\n- use ruby_lib 8.0.2\r\n\r\n## Details\r\n\r\n- When I tried to start and launch test, then ios simulator never launch and repeated timeout error.\r\n    - `[MJSONWP] Encountered internal error running command: Error: Condition unmet after 60239 ms. Timing out.`\r\n- Once restart Machine(Mac OS X 10.11), then some times fixed it and could run test. But after some running tests, this issue happened again.\r\n- According to stackoverflow [here](http://stackoverflow.com/questions/36581271/not-able-to-run-ios-appium-tests-when-using-node), this issue is fixed sometimes if I re-install Xcode and its commandline tools. But this issue reproduced again.\r\n- According to the following error log, I attached as Appium log, this problem may start to reproduce after failed to set locale with 500 error.\r\n    - https://gist.github.com/KazuCocoa/ea10e43f452043f3eabe3585775c662f#file-20160430_appium_failed_to_launch_simulator-log-L76-L20160430\r\n\r\n## Link to Appium logs\r\n\r\n- Debug log\r\n    - https://gist.github.com/KazuCocoa/ea10e43f452043f3eabe3585775c662f\r\n- log of `[driver_start_with]` is https://github.com/KazuCocoa/scenarioForAppiumIssue5920/blob/master/lib/c_appium/driver.rb#L19, which is my log.\r\n\r\n## Code To Reproduce Issue [ Good To Have ]\r\n\r\n- You may be able to reproduce any apps such as https://github.com/KazuCocoa/scenarioForAppiumIssue5920/\r\n- Once reproduce this issue, I never launch ios simulator until reboot machine.\r\n"},"comment":{"url":"https://api.github.com/repos/appium/appium/issues/comments/220642706","html_url":"https://github.com/appium/appium/issues/6452#issuecomment-220642706","issue_url":"https://api.github.com/repos/appium/appium/issues/6452","id":220642706,"user":{"login":"Julienblc","id":7222986,"avatar_url":"https://avatars.githubusercontent.com/u/7222986?v=3","gravatar_id":"","url":"https://api.github.com/users/Julienblc","html_url":"https://github.com/Julienblc","followers_url":"https://api.github.com/users/Julienblc/followers","following_url":"https://api.github.com/users/Julienblc/following{/other_user}","gists_url":"https://api.github.com/users/Julienblc/gists{/gist_id}","starred_url":"https://api.github.com/users/Julienblc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Julienblc/subscriptions","organizations_url":"https://api.github.com/users/Julienblc/orgs","repos_url":"https://api.github.com/users/Julienblc/repos","events_url":"https://api.github.com/users/Julienblc/events{/privacy}","received_events_url":"https://api.github.com/users/Julienblc/received_events","type":"User","site_admin":false},"created_at":"2016-05-20T15:46:11Z","updated_at":"2016-05-20T15:46:11Z","body":"No, I'm not using the watch at all :/\r\nBut it's not only the device linked with the watch. It's also in the list == Devices == -> -- iOS 9.3 --"}}
{"actor":{"display_login":"Julienblc"}}