{"action":"created","issue":{"url":"https://api.github.com/repos/calabash/calabash-ios/issues/768","labels_url":"https://api.github.com/repos/calabash/calabash-ios/issues/768/labels{/name}","comments_url":"https://api.github.com/repos/calabash/calabash-ios/issues/768/comments","events_url":"https://api.github.com/repos/calabash/calabash-ios/issues/768/events","html_url":"https://github.com/calabash/calabash-ios/issues/768","id":75834993,"number":768,"title":"Not able to run test on multiple physical device connected to same mac machine","user":{"login":"vishwas20","id":7200190,"avatar_url":"https://avatars.githubusercontent.com/u/7200190?v=3","gravatar_id":"","url":"https://api.github.com/users/vishwas20","html_url":"https://github.com/vishwas20","followers_url":"https://api.github.com/users/vishwas20/followers","following_url":"https://api.github.com/users/vishwas20/following{/other_user}","gists_url":"https://api.github.com/users/vishwas20/gists{/gist_id}","starred_url":"https://api.github.com/users/vishwas20/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vishwas20/subscriptions","organizations_url":"https://api.github.com/users/vishwas20/orgs","repos_url":"https://api.github.com/users/vishwas20/repos","events_url":"https://api.github.com/users/vishwas20/events{/privacy}","received_events_url":"https://api.github.com/users/vishwas20/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-13T03:56:47Z","updated_at":"2015-05-14T23:52:06Z","closed_at":null,"body":"Hi,\r\n\r\nI am having issue on running the test case when connetecd multiple device on same mac machine, run_loop is waiting for getting to wait for other test finish.\r\n\r\nHere is the log of mine:-\r\n\r\nRunning Physical Device => Device_IP : xx.xx.xxx.xx and UDID : 83bebe5c4bfb977ba9edcd0f95cd32e4aaf57bbf with Sandbox Server : http://xx.xx.xxx.xxx:4567\r\n\u001B[32m\r\nINFO: Using uia strategy: 'host'\u001B[0m\r\n2015-05-13 11:45:50 +0800 [RunLoop:debug]: Preparation took 0.16459 seconds\r\n2015-05-13 11:45:51 +0800 [RunLoop:debug]: \r\n{\r\n                        :app => \"sg.com.prep.sgiphone\",\r\n                       :args => [],\r\n    :bundle_dir_or_bundle_id => \"sg.com.prep.sgiphone\",\r\n                  :bundle_id => \"sg.com.prep.sgiphone\",\r\n                     :device => \"sg.com.prep.sgiphone\",\r\n              :device_target => \"83bebe5c4bfb977ba9edcd0f95cd32e4aaf57bbf\",\r\n              :launch_method => :instruments,\r\n             :launch_retries => 5,\r\n                   :log_file => \"/var/folders/f3/xwc43bl175ndr2zh5pzl3hyc0000gq/T/run_loop20150513-67896-1v5lx0w/run_loop.out\",\r\n                  :max_retry => 3,\r\n                  :no_launch => false,\r\n                    :no_stop => false,\r\n                      :reset => true,\r\n                :results_dir => \"/var/folders/f3/xwc43bl175ndr2zh5pzl3hyc0000gq/T/run_loop20150513-67896-1v5lx0w\",\r\n          :results_dir_trace => \"/var/folders/f3/xwc43bl175ndr2zh5pzl3hyc0000gq/T/run_loop20150513-67896-1v5lx0w/trace\",\r\n                     :script => \"/var/folders/f3/xwc43bl175ndr2zh5pzl3hyc0000gq/T/run_loop20150513-67896-1v5lx0w/_run_loop.js\",\r\n                :sdk_version => nil,\r\n                    :timeout => 300,\r\n                       :udid => \"83bebe5c4bfb977ba9edcd0f95cd32e4aaf97bbf\",\r\n               :uia_strategy => :host,\r\n                      :xcode => \"6.3.1\",\r\n                 :xcode_path => \"/Applications/Xcode.app/Contents/Developer/\"\r\n}\r\n\r\n\u001B[35m### Starting on 83bebe5c4bfb977ba9edcd0f95cd32e4aaf97bbf App: \r\nsg.com.prep.sgiphone ###\u001B[0m\r\n2015-05-13 11:45:51 +0800 [RunLoop:debug]: xcrun instruments -w 83bebe5c4bfb977ba9edcd0f95cd32e4aaf57bbf -D /var/folders/f3/xwc43bl175ndr2zh5pzl3hyc0000gq/T/run_loop20150513-67896-1v5lx0w/trace -t Automation sg.com.prep.sgiphone -e UIARESULTSPATH /var/folders/f3/xwc43bl175ndr2zh5pzl3hyc0000gq/T/run_loop20150513-67896-1v5lx0w -e UIASCRIPT /var/folders/f3/xwc43bl175ndr2zh5pzl3hyc0000gq/T/run_loop20150513-67896-1v5lx0w/_run_loop.js >& /var/folders/f3/xwc43bl175ndr2zh5pzl3hyc0000gq/T/run_loop20150513-67896-1v5lx0w/run_loop.out\r\n\r\n\r\nSame if other test launch on seconf device both are getting deadlock to each other in run loop here.\r\n\r\nPlease suggest how to resolve this."},"comment":{"url":"https://api.github.com/repos/calabash/calabash-ios/issues/comments/102203381","html_url":"https://github.com/calabash/calabash-ios/issues/768#issuecomment-102203381","issue_url":"https://api.github.com/repos/calabash/calabash-ios/issues/768","id":102203381,"user":{"login":"HannaPiatrouskaya","id":5633512,"avatar_url":"https://avatars.githubusercontent.com/u/5633512?v=3","gravatar_id":"","url":"https://api.github.com/users/HannaPiatrouskaya","html_url":"https://github.com/HannaPiatrouskaya","followers_url":"https://api.github.com/users/HannaPiatrouskaya/followers","following_url":"https://api.github.com/users/HannaPiatrouskaya/following{/other_user}","gists_url":"https://api.github.com/users/HannaPiatrouskaya/gists{/gist_id}","starred_url":"https://api.github.com/users/HannaPiatrouskaya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HannaPiatrouskaya/subscriptions","organizations_url":"https://api.github.com/users/HannaPiatrouskaya/orgs","repos_url":"https://api.github.com/users/HannaPiatrouskaya/repos","events_url":"https://api.github.com/users/HannaPiatrouskaya/events{/privacy}","received_events_url":"https://api.github.com/users/HannaPiatrouskaya/received_events","type":"User","site_admin":false},"created_at":"2015-05-14T23:52:06Z","updated_at":"2015-05-14T23:52:06Z","body":"you are not able to test on one machine multiple devices simultaneously. One of the approach is to use VMs"}}