Appium Instruments Caching OLD app ID and doesn't recover with instruments never checked in issue

When ever there is a new App version(which has same app ID) , seems that Instruments is caching OLD app (e.g. Test.app) while new app ID is (Test) , only way to recover from this is , open Xcode > Instruments UI > Select the real device and New App while pre existing would be showing with OLD app , force to select NEW from drop down and launch would resolve the issue.

Some times only Mac restart OR Device restart would resolve the issue.

Can any one shed some light on this , logs below from appium.

  • info: Welcome to Appium v1.4.11 (REV 8cf8311f00e59a2b10fde1834fcf6d5ace6fbcd0)\n2016-02-23 12:38:08:309 - info: Appium REST http interface listener started on 0.0.0.0:4725\n2016-02-23 12:38:08:312 - info: [debug] Non-default server args: {“udid”:“e2a77086aba7050cd62ec8dc08ede3454eb35521”,“port”:4725,“log”:"/Users/listener/logs/appium_server_log_2016-02-23T12:34:41Z.log"}\n2016-02-23 12:38:08:313 - info: Console LogLevel: debug\n2016-02-23 12:38:08:313 - info: File LogLevel: debug\n2016-02-23 12:38:16:481 - info: --> POST /wd/hub/session {“desiredCapabilities”:{“autoLaunch”:“true”,“launchTimeout”:20000,“newCommandTimeout”:600000,“device”:null,“app”:"/Users/listener/git/E2E_1456225411/e2e_framework/resources/apps/Test.ipa",“orientation”:“LANDSCAPE”,“showIOSLog”:false,“autoDismissAlerts”:false,“waitForAppScript”:true,“nativeInstrumentsLib”:true,“locationServicesEnabled”:false,“locationServicesAuthorized”:false,“autoAcceptAlerts”:false,“screenshotWaitTimeout”:2,“platformVersion”:8.1,“browserName”:null,“platformName”:“iOS”,“deviceName”:“iPad 2”}}\n2016-02-23 12:38:16:483 - info: Client User-Agent string: appium/ruby_lib/5.0.1\n2016-02-23 12:38:16:484 - warn: Converting cap autoLaunch from string to boolean. This might cause unexpected behavior.\n2016-02-23 12:38:16:485 - info: [debug] The following desired capabilities were provided, but not recognized by appium. They will be passed on to any other services running on this server. : device, screenshotWaitTimeout\n2016-02-23 12:38:16:487 - info: [debug] Using local .ipa from desired caps: /Users/listener/git/E2E_1456225411/e2e_framework/resources/apps/Test.ipa\n2016-02-23 12:38:16:488 - info: [debug] Copying local zip to tmp dir\n2016-02-23 12:38:16:964 - info: [debug] /Users/listener/git/E2E_1456225411/e2e_framework/resources/apps/Test.ipa copied to /var/folders/r4/1x1cvp5j3yg8slpp13pb4mvc0000gq/T/116123-39421-ei3fmc/appium-app.zip\n2016-02-23 12:38:16:977 - info: [debug] Unzipping /var/folders/r4/1x1cvp5j3yg8slpp13pb4mvc0000gq/T/116123-39421-ei3fmc/appium-app.zip\n2016-02-23 12:38:16:977 - info: [debug] Testing zip archive: /var/folders/r4/1x1cvp5j3yg8slpp13pb4mvc0000gq/T/116123-39421-ei3fmc/appium-app.zip\n2016-02-23 12:38:17:828 - info: [debug] Zip archive tested clean\n2016-02-23 12:38:18:892 - info: [debug] Unzip successful\n2016-02-23 12:38:18:893 - info: [debug] Using locally extracted app: /var/folders/r4/1x1cvp5j3yg8slpp13pb4mvc0000gq/T/116123-39421-ei3fmc/Payload/Test.app\n2016-02-23 12:38:18:894 - info: [debug] Creating new appium session bb77331e-17a9-40a4-a472-4caee8c5f4dc\n2016-02-23 12:38:18:896 - info: [debug] Removing any remaining instruments sockets\n2016-02-23 12:38:18:897 - info: [debug] Cleaned up instruments socket /tmp/instruments_sock\n2016-02-23 12:38:18:897 - info: [debug] Auto-detecting iOS udid…\n2016-02-23 12:38:18:898 - info: [debug] Not auto-detecting udid, running on sim\n2016-02-23 12:38:18:905 - info: [debug] Parsed app Info.plist (as binary)\n2016-02-23 12:38:18:905 - info: [debug] Parsed app Localizable.strings\n2016-02-23 12:38:18:905 - info: [debug] Getting bundle ID from app\n2016-02-23 12:38:18:908 - info: [debug] Parsed app Info.plist (as binary)\n2016-02-23 12:38:18:908 - info: [debug] Creating instruments\n2016-02-23 12:38:18:909 - info: [debug] Preparing uiauto bootstrap\n2016-02-23 12:38:18:909 - info: [debug] Dynamic bootstrap dir: /Users/listener/Library/Application Support/appium/bootstrap\n2016-02-23 12:38:18:910 - info: [debug] Dynamic env: {“nodePath”:"/usr/local/bin/node",“commandProxyClientPath”:"/Users/listener/AppiumSource/appium/node_modules/appium-uiauto/bin/command-proxy-client.js",“instrumentsSock”:"/tmp/instruments_sock",“interKeyDelay”:null,“justLoopInfinitely”:false,“autoAcceptAlerts”:false,“autoDismissAlerts”:false,“sendKeyStrategy”:“grouped”}\n2016-02-23 12:38:18:914 - info: [debug] Dynamic bootstrap code: // This file is automatically generated. Do not manually modify!\r…\n2016-02-23 12:38:18:915 - info: [debug] Dynamic bootstrap path: /Users/listener/Library/Application Support/appium/bootstrap/bootstrap-565b395d901069f2.js\n2016-02-23 12:38:18:918 - info: [debug] Reusing dynamic bootstrap: /Users/listener/Library/Application Support/appium/bootstrap/bootstrap-565b395d901069f2.js\n2016-02-23 12:38:18:919 - info: [debug] Attempting iOS device log capture via libimobiledevice idevicesyslog\n2016-02-23 12:38:18:984 - info: [debug] Creating iDevice object with udid e2a77086aba7050cd62ec8dc08ede3454eb35521\n2016-02-23 12:38:20:553 - info: [debug] App is installed.\n2016-02-23 12:38:20:553 - info: [debug] fullReset not requested. No need to install.\n2016-02-23 12:38:20:553 - info: [debug] Starting command proxy.\n2016-02-23 12:38:20:556 - info: [debug] Instruments socket server started at /tmp/instruments_sock\n2016-02-23 12:38:20:556 - info: [debug] Starting instruments\n2016-02-23 12:38:20:613 - info: [debug] Instruments is at: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments\n2016-02-23 12:38:20:613 - info: Launching instruments\n2016-02-23 12:38:20:615 - info: [debug] Attempting to run app on real device with UDID e2a77086aba7050cd62ec8dc08ede3454eb35521\n2016-02-23 12:38:20:616 - info: [debug] Spawning instruments with command: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate -D /tmp/appium-instruments/instrumentscli0.trace -w e2a77086aba7050cd62ec8dc08ede3454eb35521 com.Test.Test -e UIASCRIPT “/Users/listener/Library/Application Support/appium/bootstrap/bootstrap-565b395d901069f2.js” -e UIARESULTSPATH /tmp/appium-instruments\n2016-02-23 12:38:20:616 - info: [debug] And launch timeouts (in ms): {“global”:20000}\n2016-02-23 12:38:21:286 - info: [debug] [INST STDERR] 2016-02-23 12:38:21.285 instruments[39442:41190977] Failed to start Instruments daemon on ‘SRI SADHU\u2019s iPad (8.4.1)’ (The service is invalid.)\n2016-02-23 12:38:21:310 - info: [debug] [INST] Waiting for device to boot…\n2016-02-23 12:38:21:531 - info: [debug] [INST STDERR] 2016-02-23 12:38:21.530 instruments[39442:41190964] Failed to start Instruments daemon on ‘SRI SADHU\u2019s iPad (8.4.1)’ (The service is invalid.)\n2016-02-23 12:38:40:624 - warn: Instruments socket client never checked in; timing out (global)\n2016-02-23 12:38:40:639 - info: [debug] Killall instruments\n2016-02-23 12:38:40:659 - info: [debug] [INSTSERVER] Instruments exited with code null\n2016-02-23 12:38:40:660 - info: [debug] Killall instruments\n2016-02-23 12:38:40:662 - info: [debug] Instruments never checked in\n2016-02-23 12:38:40:662 - info: [debug] Attempting to retry launching instruments, this is retry #1\n2016-02-23 12:38:40:663 - info: [debug] Killall iOS Simulator\n2016-02-23 12:38:45:674 - info: Launching instruments\n2016-02-23 12:38:45:675 - info: [debug] Attempting to run app on real device with UDID e2a77086aba7050cd62ec8dc08ede3454eb35521\n2016-02-23 12:38:45:675 - info: [debug] Spawning instruments with command: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate -D /tmp/appium-instruments/instrumentscli0.trace -w e2a77086aba7050cd62ec8dc08ede3454eb35521 com.Test.Test -e UIASCRIPT “/Users/listener/Library/Application Support/appium/bootstrap/bootstrap-565b395d901069f2.js” -e UIARESULTSPATH /tmp/appium-instruments\n2016-02-23 12:38:45:676 - info: [debug] And launch timeouts (in ms): {“global”:20000}\n2016-02-23 12:38:46:214 - info: [debug] [INST STDERR] 2016-02-23 12:38:46.214 instruments[39452:41191141] Failed to start Instruments daemon on ‘SRI SADHU\u2019s iPad (8.4.1)’ (The service is invalid.)\n2016-02-23 12:38:46:236 - info: [debug] [INST] Waiting for device to boot…\n2016-02-23 12:38:46:457 - info: [debug] [INST STDERR] 2016-02-23 12:38:46.456 instruments[39452:41191102] Failed to start Instruments daemon on ‘SRI SADHU\u2019s iPad (8.4.1)’ (The service is invalid.)\n2016-02-23 12:39:05:682 - warn: Instruments socket client never checked in; timing out (global)\n2016-02-23 12:39:05:683 - info: [debug] Killall instruments\n2016-02-23 12:39:05:702 - info: [debug] [INSTSERVER] Instruments exited with code null\n2016-02-23 12:39:05:703 - info: [debug] Killall instruments\n2016-02-23 12:39:05:706 - info: [debug] Instruments never checked in\n2016-02-23 12:39:05:706 - info: [debug] Attempting to retry launching instruments, this is retry #2\n2016-02-23 12:39:05:706 - info: [debug] Killall iOS Simulator\n2016-02-23 12:39:10:707 - info: Launching instruments\n2016-02-23 12:39:10:708 - info: [debug] Attempting to run app on real device with UDID e2a77086aba7050cd62ec8dc08ede3454eb35521\n2016-02-23 12:39:10:709 - info: [debug] Spawning instruments with command: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate -D /tmp/appium-instruments/instrumentscli0.trace -w e2a77086aba7050cd62ec8dc08ede3454eb35521 com.Test.Test -e UIASCRIPT “/Users/listener/Library/Application Support/appium/bootstrap/bootstrap-565b395d901069f2.js” -e UIARESULTSPATH /tmp/appium-instruments\n2016-02-23 12:39:10:709 - info: [debug] And launch timeouts (in ms): {“global”:20000}\n2016-02-23 12:39:11:253 - info: [debug] [INST STDERR] 2016-02-23 12:39:11.252 instruments[39460:41191247] Failed to start Instruments daemon on ‘SRI SADHU\u2019s iPad (8.4.1)’ (The service is invalid.)\n2016-02-23 12:39:11:256 - info: [debug] [INST] Waiting for device to boot…\n2016-02-23 12:39:11:477 - info: [debug] [INST STDERR] 2016-02-23 12:39:11.476 instruments[39460:41191240] Failed to start Instruments daemon on ‘SRI SADHU\u2019s iPad (8.4.1)’ (The service is invalid.)\n2016-02-23 12:39:30:717 - warn: Instruments socket client never checked in; timing out (global)\n2016-02-23 12:39:30:717 - info: [debug] Killall instruments\n2016-02-23 12:39:30:736 - info: [debug] [INSTSERVER] Instruments exited with code null\n2016-02-23 12:39:30:736 - info: [debug] Killall instruments\n2016-02-23 12:39:30:738 - info: [debug] Instruments never checked in\n2016-02-23 12:39:30:738 - info: [debug] Attempting to retry launching instruments, this is retry #3\n2016-02-23 12:39:30:739 - info: [debug] Killall iOS Simulator\n2016-02-23 12:39:35:749 - info: Launching instruments\n2016-02-23 12:39:35:749 - info: [debug] Attempting to run app on real device with UDID e2a77086aba7050cd62ec8dc08ede3454eb35521\n2016-02-23 12:39:35:750 - info: [debug] Spawning instruments with command: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate -D /tmp/appium-instruments/instrumentscli0.trace -w e2a77086aba7050cd62ec8dc08ede3454eb35521 com.Test.Test -e UIASCRIPT “/Users/listener/Library/Application Support/appium/bootstrap/bootstrap-565b395d901069f2.js” -e UIARESULTSPATH /tmp/appium-instruments\n2016-02-23 12:39:35:750 - info: [debug] And launch timeouts (in ms): {“global”:20000}\n2016-02-23 12:39:36:236 - info: [debug] [INST STDERR] 2016-02-23 12:39:36.236 instruments[39470:41191392] Failed to start Instruments daemon on ‘SRI SADHU\u2019s iPad (8.4.1)’ (The service is invalid.)\n2016-02-23 12:39:36:255 - info: [debug] [INST] Waiting for device to boot…\n2016-02-23 12:39:36:480 - info: [debug] [INST STDERR] 2016-02-23 12:39:36.480 instruments[39470:41191387] Failed to start Instruments daemon on ‘SRI SADHU\u2019s iPad (8.4.1)’ (The service is invalid.)\n2016-02-23 12:39:55:761 - warn: Instruments socket client never checked in; timing out (global)\n2016-02-23 12:39:55:761 - info: [debug] Killall instruments\n2016-02-23 12:39:55:781 - info: [debug] [INSTSERVER] Instruments exited with code null\n2016-02-23 12:39:55:781 - info: [debug] Killall instruments\n2016-02-23 12:39:55:783 - info: [debug] Instruments never checked in\n2016-02-23 12:39:55:783 - info: [debug] We exceeded the number of retries allowed for instruments to successfully start; failing launch\n2016-02-23 12:39:55:784 - info: [debug] Stopping iOS log capture\n2016-02-23 12:39:55:784 - info: [debug] Running ios sim reset flow\n2016-02-23 12:39:55:785 - info: [debug] Killing the simulator process\n2016-02-23 12:39:55:785 - info: [debug] Killing any other simulator daemons\n2016-02-23 12:39:55:787 - info: [debug] Killall iOS Simulator\n2016-02-23 12:39:55:819 - info: [debug] On a real device; cannot clean device state\n2016-02-23 12:39:55:819 - info: [debug] Cleaning up appium session\n2016-02-23 12:39:55:820 - error: Failed to start an Appium session, err was: Error: Instruments never checked in\n2016-02-23 12:39:55:821 - info: [debug] Error: Instruments never checked in\n at [object Object].Instruments.onInstrumentsExit (/Users/listener/AppiumSource/appium/node_modules/appium-instruments/lib/instruments.js:442:31)\n at [object Object]. (/Users/listener/AppiumSource/appium/node_modules/appium-instruments/lib/instruments.js:353:12)\n at ChildProcess.emit (events.js:110:17)\n at Process.ChildProcess._handle.onexit (child_process.js:1067:12)\n2016-02-23 12:39:55:821 - info: [debug] Responding to client with error: {“status”:33,“value”:{“message”:“A new session could not be created. (Original error: Instruments never checked in)”,“origValue”:“Instruments never checked in”},“sessionId”:null}\n2016-02-23 12:39:55:827 - info: <-- POST /wd/hub/session 500 99342.034 ms - 178 \n2016-02-23 12:39:57:397 - info: --> POST /wd/hub/session {“desiredCapabilities”:{“autoLaunch”:“true”,“launchTimeout”:20000,“newCommandTimeout”:600000,“device”:null,“app”:"/Users/listener/git/E2E_1456225411/e2e_framework/resources/apps/Test.ipa",“orientation”:“LANDSCAPE”,“showIOSLog”:false,“autoDismissAlerts”:false,“waitForAppScript”:true,“nativeInstrumentsLib”:true,“locationServicesEnabled”:false,“locationServicesAuthorized”:false,“autoAcceptAlerts”:false,“screenshotWaitTimeout”:2,“platformVersion”:8.1,“browserName”:null,“platformName”:“iOS”,“deviceName”:“iPad 2”}}\n2016-02-23 12:39:57:398 - info: Client User-Agent string: appium/ruby_lib/5.0.1\n2016-02-23 12:39:57:398 - warn: Converting cap autoLaunch from string to boolean. This might cause unexpected behavior.\n2016-02-23 12:39:57:399 - info: [debug] The following desired capabilities were provided, but not recognized by appium. They will be passed on to any other services running on this server. : device, screenshotWaitTimeout\n2016-02-23 12:39:57:400 - info: [debug] Using local .ipa from desired caps: /Users/listener/git/E2E_1456225411/e2e_framework/resources/apps/Test.ipa\n2016-02-23 12:39:57:400 - info: [debug] Copying local zip to tmp dir\n2016-02-23 12:39:57:938 - info: [debug] /Users/listener/git/E2E_1456225411/e2e_framework/resources/apps/Test.ipa copied to /var/folders/r4/1x1cvp5j3yg8slpp13pb4mvc0000gq/T/116123-39421-dx2wmm/appium-app.zip\n2016-02-23 12:39:57:946 - info: [debug] Unzipping /var/folders/r4/1x1cvp5j3yg8slpp13pb4mvc0000gq/T/116123-39421-dx2wmm/appium-app.zip\n2016-02-23 12:39:57:946 - info: [debug] Testing zip archive: /var/folders/r4/1x1cvp5j3yg8slpp13pb4mvc0000gq/T/116123-39421-dx2wmm/appium-app.zip\n2016-02-23 12:39:58:812 - info: [debug] Zip archive tested clean\n2016-02-23 12:39:59:793 - info: [debug] Unzip successful\n2016-02-23 12:39:59:793 - info: [debug] Using locally extracted app: /var/folders/r4/1x1cvp5j3yg8slpp13pb4mvc0000gq/T/116123-39421-dx2wmm/Payload/Test.app\n2016-02-23 12:39:59:794 - info: [debug] Creating new appium session a88374e6-3c9f-4403-b1bc-98ceac5892e3\n2016-02-23 12:39:59:794 - info: [debug] Removing any remaining instruments sockets\n2016-02-23 12:39:59:795 - info: [debug] Cleaned up instruments socket /tmp/instruments_sock\n2016-02-23 12:39:59:795 - info: [debug] Auto-detecting iOS udid…\n2016-02-23 12:39:59:795 - info: [debug] Not auto-detecting udid, running on sim\n2016-02-23 12:39:59:799 - info: [debug] Parsed app Info.plist (as binary)\n2016-02-23 12:39:59:799 - info: [debug] Parsed app Localizable.strings\n2016-02-23 12:39:59:800 - info: [debug] Getting bundle ID from app\n2016-02-23 12:39:59:801 - info: [debug] Parsed app Info.plist (as binary)\n2016-02-23 12:39:59:801 - info: [debug] Creating instruments\n2016-02-23 12:39:59:802 - info: [debug] Preparing uiauto bootstrap\n2016-02-23 12:39:59:802 - info: [debug] Dynamic bootstrap dir: /Users/listener/Library/Application Support/appium/bootstrap\n2016-02-23 12:39:59:804 - info: [debug] Dynamic env: {“nodePath”:"/usr/local/bin/node",“commandProxyClientPath”:"/Users/listener/AppiumSource/appium/node_modules/appium-uiauto/bin/command-proxy-client.js",“instrumentsSock”:"/tmp/instruments_sock",“interKeyDelay”:null,“justLoopInfinitely”:false,“autoAcceptAlerts”:false,“autoDismissAlerts”:false,“sendKeyStrategy”:“grouped”}\n2016-02-23 12:39:59:809 - info: [debug] Dynamic bootstrap code: // This file is automatically generated. Do not manually modify!\r…\n2016-02-23 12:39:59:809 - info: [debug] Dynamic bootstrap path: /Users/listener/Library/Application Support/appium/bootstrap/bootstrap-565b395d901069f2.js\n2016-02-23 12:39:59:810 - info: [debug] Reusing dynamic bootstrap: /Users/listener/Library/Application Support/appium/bootstrap/bootstrap-565b395d901069f2.js\n2016-02-23 12:39:59:812 - info: [debug] Attempting iOS device log capture via libimobiledevice idevicesyslog\n2016-02-23 12:39:59:872 - info: [debug] Creating iDevice object with udid e2a77086aba7050cd62ec8dc08ede3454eb35521\n2016-02-23 12:40:01:447 - info: [debug] App is installed.\n2016-02-23 12:40:01:448 - info: [debug] fullReset not requested. No need to install.\n2016-02-23 12:40:01:448 - info: [debug] Starting command proxy.\n2016-02-23 12:40:01:449 - info: [debug] Instruments socket server started at /tmp/instruments_sock\n2016-02-23 12:40:01:449 - info: [debug] Starting instruments\n2016-02-23 12:40:01:457 - info: [debug] Instruments is at: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments\n2016-02-23 12:40:01:457 - info: Launching instruments\n2016-02-23 12:40:01:458 - info: [debug] Attempting to run app on real device with UDID e2a77086aba7050cd62ec8dc08ede3454eb35521\n2016-02-23 12:40:01:458 - info: [debug] Spawning instruments with command: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate -D /tmp/appium-instruments/instrumentscli0.trace -w e2a77086aba7050cd62ec8dc08ede3454eb35521 com.Test.Test -e UIASCRIPT “/Users/listener/Library/Application Support/appium/bootstrap/bootstrap-565b395d901069f2.js” -e UIARESULTSPATH /tmp/appium-instruments\n2016-02-23 12:40:01:458 - info: [debug] And launch timeouts (in ms): {“global”:20000}\n2016-02-23 12:40:02:554 - info: [debug] [INST STDERR] 2016-02-23 12:40:02.553 instruments[39507:41191868] Failed to start Instruments daemon on ‘SRI SADHU\u2019s iPad (8.4.1)’ (The service is invalid.)\n2016-02-23 12:40:02:671 - info: [debug] [INST] Waiting for device to boot…\n2016-02-23 12:40:02:891 - info: [debug] [INST STDERR] 2016-02-23 12:40:02.890 instruments[39507:41191865] Failed to start Instruments daemon on ‘SRI SADHU\u2019s iPad (8.4.1)’ (The service is invalid.)\n2016-02-23 12:40:21:472 - warn: Instruments socket client never checked in; timing out (global)\n2016-02-23 12:40:21:472 - info: [debug] Killall instruments\n2016-02-23 12:40:21:491 - info: [debug] [INSTSERVER] Instruments exited with code null\n2016-02-23 12:40:21:492 - info: [debug] Killall instruments\n2016-02-23 12:40:21:494 - info: [debug] Instruments never checked in\n2016-02-23 12:40:21:494 - info: [debug] Attempting to retry launching instruments, this is retry #1\n2016-02-23 12:40:21:495 - info: [debug] Killall iOS Simulator\n2016-02-23 12:40:26:505 - info: Launching instruments\n2016-02-23 12:40:26:506 - info: [debug] Attempting to run app on real device with UDID e2a77086aba7050cd62ec8dc08ede3454eb35521\n2016-02-23 12:40:26:506 - info: [debug] Spawning instruments with command: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate -D /tmp/appium-instruments/instrumentscli0.trace -w e2a77086aba7050cd62ec8dc08ede3454eb35521 com.Test.Test -e UIASCRIPT “/Users/listener/Library/Application Support/appium/bootstrap/bootstrap-565b395d901069f2.js” -e UIARESULTSPATH /tmp/appium-instruments\n2016-02-23 12:40:26:507 - info: [debug] And launch timeouts (in ms): {“global”:20000}\n2016-02-23 12:40:27:056 - info: [debug] [INST STDERR] 2016-02-23 12:40:27.056 instruments[39517:41192010] Failed to start Instruments daemon on ‘SRI SADHU\u2019s iPad (8.4.1)’ (The service is invalid.)\n2016-02-23 12:40:27:059 - info: [debug] [INST] Waiting for device to boot…\n2016-02-23 12:40:27:281 - info: [debug] [INST STDERR] 2016-02-23 12:40:27.280 instruments[39517:41191997] Failed to start Instruments daemon on ‘SRI SADHU\u2019s iPad (8.4.1)’ (The service is invalid.)\n2016-02-23 12:40:46:519 - warn: Instruments socket client never checked in; timing out (global)\n2016-02-23 12:40:46:520 - info: [debug] Killall instruments\n2016-02-23 12:40:46:538 - info: [debug] [INSTSERVER] Instruments exited with code null\n2016-02-23 12:40:46:539 - info: [debug] Killall instruments\n2016-02-23 12:40:46:540 - info: [debug] Instruments never checked in\n2016-02-23 12:40:46:541 - info: [debug] Attempting to retry launching instruments, this is retry #2\n2016-02-23 12:40:46:541 - info: [debug] Killall iOS Simulator\n2016-02-23 12:40:51:551 - info: Launching instruments\n2016-02-23 12:40:51:552 - info: [debug] Attempting to run app on real device with UDID e2a77086aba7050cd62ec8dc08ede3454eb35521\n2016-02-23 12:40:51:552 - info: [debug] Spawning instruments with command: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate -D /tmp/appium-instruments/instrumentscli0.trace -w e2a77086aba7050cd62ec8dc08ede3454eb35521 com.Test.Test -e UIASCRIPT “/Users/listener/Library/Application Support/appium/bootstrap/bootstrap-565b395d901069f2.js” -e UIARESULTSPATH /tmp/appium-instruments\n2016-02-23 12:40:51:552 - info: [debug] And launch timeouts (in ms): {“global”:20000}\n2016-02-23 12:40:52:100 - info: [debug] [INST STDERR] 2016-02-23 12:40:52.099 instruments[39525:41192138] Failed to start Instruments daemon on ‘SRI SADHU\u2019s iPad (8.4.1)’ (The service is invalid.)\n2016-02-23 12:40:52:103 - info: [debug] [INST] Waiting for device to boot…\n2016-02-23 12:40:52:324 - info: [debug] [INST STDERR] 2016-02-23 12:40:52.323 instruments[39525:41192135] Failed to start Instruments daemon on ‘SRI SADHU\u2019s iPad (8.4.1)’ (The service is invalid.)\n2016-02-23 12:41:11:555 - warn: Instruments socket client never checked in; timing out (global)\n2016-02-23 12:41:11:556 - info: [debug] Killall instruments\n2016-02-23 12:41:11:578 - info: [debug] [INSTSERVER] Instruments exited with code null\n2016-02-23 12:41:11:579 - info: [debug] Killall instruments\n2016-02-23 12:41:11:581 - info: [debug] Instruments never checked in\n2016-02-23 12:41:11:582 - info: [debug] Attempting to retry launching instruments, this is retry #3\n2016-02-23 12:41:11:582 - info: [debug] Killall iOS Simulator\n2016-02-23 12:41:16:583 - info: Launching instruments\n2016-02-23 12:41:16:584 - info: [debug] Attempting to run app on real device with UDID e2a77086aba7050cd62ec8dc08ede3454eb35521\n2016-02-23 12:41:16:584 - info: [debug] Spawning instruments with command: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate -D /tmp/appium-instruments/instrumentscli0.trace -w e2a77086aba7050cd62ec8dc08ede3454eb35521 com.Test.Test -e UIASCRIPT “/Users/listener/Library/Application Support/appium/bootstrap/bootstrap-565b395d901069f2.js” -e UIARESULTSPATH /tmp/appium-instruments\n2016-02-23 12:41:16:584 - info: [debug] And launch timeouts (in ms): {“global”:20000}\n2016-02-23 12:41:17:127 - info: [debug] [INST STDERR] 2016-02-23 12:41:17.126 instruments[39535:41192261] Failed to start Instruments daemon on ‘SRI SADHU\u2019s iPad (8.4.1)’ (The service is invalid.)\n2016-02-23 12:41:17:130 - info: [debug] [INST] Waiting for device to boot…\n2016-02-23 12:41:17:354 - info: [debug] [INST STDERR] 2016-02-23 12:41:17.353 instruments[39535:41192255] Failed to start Instruments daemon on ‘SRI SADHU\u2019s iPad (8.4.1)’ (The service is invalid.)\n2016-02-23 12:41:36:588 - warn: Instruments socket client never checked in; timing out (global)\n2016-02-23 12:41:36:588 - info: [debug] Killall instruments\n2016-02-23 12:41:36:611 - info: [debug] [INSTSERVER] Instruments exited with code null\n2016-02-23 12:41:36:612 - info: [debug] Killall instruments\n2016-02-23 12:41:36:614 - info: [debug] Instruments never checked in\n2016-02-23 12:41:36:614 - info: [debug] We exceeded the number of retries allowed for instruments to successfully start; failing launch\n2016-02-23 12:41:36:615 - info: [debug] Stopping iOS log capture\n2016-02-23 12:41:36:615 - info: [debug] Running ios sim reset flow\n2016-02-23 12:41:36:616 - info: [debug] Killing the simulator process\n2016-02-23 12:41:36:616 - info: [debug] Killing any other simulator daemons\n2016-02-23 12:41:36:619 - info: [debug] Killall iOS Simulator\n2016-02-23 12:41:36:664 - info: [debug] On a real device; cannot clean device state\n2016-02-23 12:41:36:664 - info: [debug] Cleaning up appium session\n2016-02-23 12:41:36:665 - error: Failed to start an Appium session, err was: Error: Instruments never checked in\n2016-02-23 12:41:36:665 - info: [debug] Error: Instruments never checked in\n at [object Object].Instruments.onInstrumentsExit (/Users/listener/AppiumSource/appium/node_modules/appium-instruments/lib/instruments.js:442:31)\n at [object Object]. (/Users/listener/AppiumSource/appium/node_modules/appium-instruments/lib/instruments.js:353:12)\n at ChildProcess.emit (events.js:110:17)\n at Process.ChildProcess._handle.onexit (child_process.js:1067:12)\n2016-02-23 12:41:36:666 - info: [debug] Responding to client with error: {“status”:33,“value”:{“message”:“A new session could not be created. (Original error: Instruments never checked in)”,“origValue”:“Instruments never checked in”},“sessionId”:null}\n2016-02-23 12:41:36:668 - info: <-- POST /wd/hub/session 500 99267.228 ms - 178 \n2016-02-23 12:43:09:030 - info: --> POST /wd/hub/session {“desiredCapabilities”:{“autoLaunch”:“true”,“launchTimeout”:20000,“newCommandTimeout”:600000,“device”:null,“app”:"/Users/listener/git/E2E_1456225411/e2e_framework/resources/apps/Test.ipa",“orientation”:“LANDSCAPE”,“showIOSLog”:false,“autoDismissAlerts”:false,“waitForAppScript”:true,“nativeInstrumentsLib”:true,“locationServicesEnabled”:false,“locationServicesAuthorized”:false,“autoAcceptAlerts”:false,“screenshotWaitTimeout”:2,“platformVersion”:8.1,“browserName”:null,“platformName”:“iOS”,“deviceName”:“iPad 2”}}\n2016-02-23 12:43:09:031 - info: Client User-Agent string: appium/ruby_lib/5.0.1\n2016-02-23 12:43:09:031 - warn: Converting cap autoLaunch from string to boolean. This might cause unexpected behavior.\n2016-02-23 12:43:09:031 - info: [debug] The following desired capabilities were provided, but not recognized by appium. They will be passed on to any other services running on this server. : device, screenshotWaitTimeout\n2016-02-23 12:43:09:031 - info: [debug] Using local .ipa from desired caps: /Users/listener/git/E2E_1456225411/e2e_framework/resources/apps/Test.ipa\n2016-02-23 12:43:09:032 - info: [debug] Copying local zip to tmp dir\n2016-02-23 12:43:09:504 - info: [debug] /Users/listener/git/E2E_1456225411/e2e_framework/resources/apps/Test.ipa copied to /var/folders/r4/1x1cvp5j3yg8slpp13pb4mvc0000gq/T/116123-39421-1bytmnt/appium-app.zip\n2016-02-23 12:43:09:512 - info: [debug] Unzipping /var/folders/r4/1x1cvp5j3yg8slpp13pb4mvc0000gq/T/116123-39421-1bytmnt/appium-app.zip\n2016-02-23 12:43:09:512 - info: [debug] Testing zip archive: /var/folders/r4/1x1cvp5j3yg8slpp13pb4mvc0000gq/T/116123-39421-1bytmnt/appium-app.zip\n2016-02-23 12:43:10:371 - info: [debug] Zip archive tested clean\n2016-02-23 12:43:11:947 - info: [debug] Unzip successful\n2016-02-23 12:43:11:947 - info: [debug] Using locally extracted app: /var/folders/r4/1x1cvp5j3yg8slpp13pb4mvc0000gq/T/116123-39421-1bytmnt/Payload/Test.app\n2016-02-23 12:43:11:947 - info: [debug] Creating new appium session a3ff1491-0cd2-4474-86cb-37b9d9e07449\n2016-02-23 12:43:11:948 - info: [debug] Removing any remaining instruments sockets\n2016-02-23 12:43:11:948 - info: [debug] Cleaned up instruments socket /tmp/instruments_sock\n2016-02-23 12:43:11:948 - info: [debug] Auto-detecting iOS udid…\n2016-02-23 12:43:11:948 - info: [debug] Not auto-detecting udid, running on sim\n2016-02-23 12:43:11:952 - info: [debug] Parsed app Info.plist (as binary)\n2016-02-23 12:43:11:952 - info: [debug] Parsed app Localizable.strings\n2016-02-23 12:43:11:952 - info: [debug] Getting bundle ID from app\n2016-02-23 12:43:11:953 - info: [debug] Parsed app Info.plist (as binary)\n2016-02-23 12:43:11:954 - info: [debug] Creating instruments\n2016-02-23 12:43:11:954 - info: [debug] Preparing uiauto bootstrap\n2016-02-23 12:43:11:954 - info: [debug] Dynamic bootstrap dir: /Users/listener/Library/Application Support/appium/bootstrap\n2016-02-23 12:43:11:954 - info: [debug] Dynamic env: {“nodePath”:"/usr/local/bin/node",“commandProxyClientPath”:"/Users/listener/AppiumSource/appium/node_modules/appium-uiauto/bin/command-proxy-client.js",“instrumentsSock”:"/tmp/instruments_sock",“interKeyDelay”:null,“justLoopInfinitely”:false,“autoAcceptAlerts”:false,“autoDismissAlerts”:false,“sendKeyStrategy”:“grouped”}\n2016-02-23 12:43:11:957 - info: [debug] Dynamic bootstrap code: // This file is automatically generated. Do not manually modify!\r…\n2016-02-23 12:43:11:957 - info: [debug] Dynamic bootstrap path: /Users/listener/Library/Application Support/appium/bootstrap/bootstrap-565b395d901069f2.js\n2016-02-23 12:43:11:958 - info: [debug] Reusing dynamic bootstrap: /Users/listener/Library/Application Support/appium/bootstrap/bootstrap-565b395d901069f2.js\n2016-02-23 12:43:11:959 - info: [debug] Attempting iOS device log capture via libimobiledevice idevicesyslog\n2016-02-23 12:43:12:171 - info: [debug] Creating iDevice object with udid e2a77086aba7050cd62ec8dc08ede3454eb35521\n2016-02-23 12:43:13:767 - info: [debug] App is installed.\n2016-02-23 12:43:13:767 - info: [debug] fullReset not requested. No need to install.\n2016-02-23 12:43:13:768 - info: [debug] Starting command proxy.\n2016-02-23 12:43:13:768 - info: [debug] Instruments socket server started at /tmp/instruments_sock\n2016-02-23 12:43:13:769 - info: [debug] Starting instruments\n2016-02-23 12:43:13:798 - info: [debug] Instruments is at: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments\n2016-02-23 12:43:13:798 - info: Launching instruments\n2016-02-23 12:43:13:799 - info: [debug] Attempting to run app on real device with UDID e2a77086aba7050cd62ec8dc08ede3454eb35521\n2016-02-23 12:43:13:799 - info: [debug] Spawning instruments with command: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate -D /tmp/appium-instruments/instrumentscli0.trace -w e2a77086aba7050cd62ec8dc08ede3454eb35521 com.Test.Test -e UIASCRIPT “/Users/listener/Library/Application Support/appium/bootstrap/bootstrap-565b395d901069f2.js” -e UIARESULTSPATH /tmp/appium-instruments\n2016-02-23 12:43:13:800 - info: [debug] And launch timeouts (in ms): {“global”:20000}\n2016-02-23 12:43:14:418 - info: [debug] [INST STDERR] 2016-02-23 12:43:14.418 instruments[39610:41193510] Failed to start Instruments daemon on ‘SRI SADHU\u2019s iPad (8.4.1)’ (The service is invalid.)\n2016-02-23 12:43:14:421 - info: [debug] [INST] Waiting for device to boot…\n2016-02-23 12:43:14:644 - info: [debug] [INST STDERR] 2016-02-23 12:43:14.644 instruments[39610:41193500] Failed to start Instruments daemon on ‘SRI SADHU\u2019s iPad (8.4.1)’ (The service is invalid.)\n2016-02-23 12:43:33:810 - warn: Instruments socket client never checked in; timing out (global)\n2016-02-23 12:43:33:810 - info: [debug] Killall instruments\n2016-02-23 12:43:33:830 - info: [debug] [INSTSERVER] Instruments exited with code null\n2016-02-23 12:43:33:830 - info: [debug] Killall instruments\n2016-02-23 12:43:33:833 - info: [debug] Instruments never checked in\n2016-02-23 12:43:33:833 - info: [debug] Attempting to retry launching instruments, this is retry #1\n2016-02-23 12:43:33:833 - info: [debug] Killall iOS Simulator\n2016-02-23 12:43:38:844 - info: Launching instruments\n2016-02-23 12:43:38:845 - info: [debug] Attempting to run app on real device with UDID e2a77086aba7050cd62ec8dc08ede3454eb35521\n2016-02-23 12:43:38:845 - info: [debug] Spawning instruments with command: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate -D /tmp/appium-instruments/instrumentscli0.trace -w e2a77086aba7050cd62ec8dc08ede3454eb35521 com.Test.Test -e UIASCRIPT “/Users/listener/Library/Application Support/appium/bootstrap/bootstrap-565b395d901069f2.js” -e UIARESULTSPATH /tmp/appium-instruments\n2016-02-23 12:43:38:845 - info: [debug] And launch timeouts (in ms): {“global”:20000}\n2016-02-23 12:43:39:407 - info: [debug] [INST STDERR] 2016-02-23 12:43:39.407 instruments[39620:41193638] Failed to start Instruments daemon on ‘SRI SADHU\u2019s iPad (8.4.1)’ (The service is invalid.)\n2016-02-23 12:43:39:411 - info: [debug] [INST] Waiting for device to boot…\n2016-02-23 12:43:39:628 - info: [debug] [INST STDERR] 2016-02-23 12:43:39.628 instruments[39620:41193637] Failed to start Instruments daemon on ‘SRI SADHU\u2019s iPad (8.4.1)’ (The service is invalid.)\n2016-02-23 12:43:58:860 - warn: Instruments socket client never checked in; timing out (global)\n2016-02-23 12:43:58:860 - info: [debug] Killall instruments\n2016-02-23 12:43:58:879 - info: [debug] [INSTSERVER] Instruments exited with code null\n2016-02-23 12:43:58:880 - info: [debug] Killall instruments\n2016-02-23 12:43:58:885 - info: [debug] Instruments never checked in\n2016-02-23 12:43:58:886 - info: [debug] Attempting to retry launching instruments, this is retry #2\n2016-02-23 12:43:58:887 - info: [debug] Killall iOS Simulator\n2016-02-23 12:44:03:889 - info: Launching instruments\n2016-02-23 12:44:03:890 - info: [debug] Attempting to run app on real device with UDID e2a77086aba7050cd62ec8dc08ede3454eb35521\n2016-02-23 12:44:03:891 - info: [debug] Spawning instruments with command: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate -D /tmp/appium-instruments/instrumentscli0.trace -w e2a77086aba7050cd62ec8dc08ede3454eb35521 com.Test.Test -e UIASCRIPT “/Users/listener/Library/Application Support/appium/bootstrap/bootstrap-565b395d901069f2.js” -e UIARESULTSPATH /tmp/appium-instruments\n2016-02-23 12:44:03:891 - info: [debug] And launch timeouts (in ms): {“global”:20000}\n2016-02-23 12:44:04:381 - info: [debug] [INST STDERR] 2016-02-23 12:44:04.381 instruments[39628:41193787] Failed to start Instruments daemon on ‘SRI SADHU\u2019s iPad (8.4.1)’ (The service is invalid.)\n2016-02-23 12:44:04:402 - info: [debug] [INST] Waiting for device to boot…\n2016-02-23 12:44:04:624 - info: [debug] [INST STDERR] 2016-02-23 12:44:04.624 instruments[39628:41193776] Failed to start Instruments daemon on ‘SRI SADHU\u2019s iPad (8.4.1)’ (The service is invalid.)\n2016-02-23 12:44:23:900 - warn: Instruments socket client never checked in; timing out (global)\n2016-02-23 12:44:23:901 - info: [debug] Killall instruments\n2016-02-23 12:44:23:919 - info: [debug] [INSTSERVER] Instruments exited with code null\n2016-02-23 12:44:23:920 - info: [debug] Killall instruments\n2016-02-23 12:44:23:922 - info: [debug] Instruments never checked in\n2016-02-23 12:44:23:922 - info: [debug] Attempting to retry launching instruments, this is retry #3\n2016-02-23 12:44:23:923 - info: [debug] Killall iOS Simulator\n2016-02-23 12:44:28:928 - info: Launching instruments\n2016-02-23 12:44:28:929 - info: [debug] Attempting to run app on real device with UDID e2a77086aba7050cd62ec8dc08ede3454eb35521\n2016-02-23 12:44:28:929 - info: [debug] Spawning instruments with command: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate -D /tmp/appium-instruments/instrumentscli0.trace -w e2a77086aba7050cd62ec8dc08ede3454eb35521 com.Test.Test -e UIASCRIPT “/Users/listener/Library/Application Support/appium/bootstrap/bootstrap-565b395d901069f2.js” -e UIARESULTSPATH /tmp/appium-instruments\n2016-02-23 12:44:28:929 - info: [debug] And launch timeouts (in ms): {“global”:20000}\n2016-02-23 12:44:29:475 - info: [debug] [INST STDERR] 2016-02-23 12:44:29.475 instruments[39638:41193908] Failed to start Instruments daemon on ‘SRI SADHU\u2019s iPad (8.4.1)’ (The service is invalid.)\n2016-02-23 12:44:29:478 - info: [debug] [INST] Waiting for device to boot…\n2016-02-23 12:44:29:697 - info: [debug] [INST STDERR] 2016-02-23 12:44:29.697 instruments[39638:41193903] Failed to start Instruments daemon on ‘SRI SADHU\u2019s iPad (8.4.1)’ (The service is invalid.)\n2016-02-23 12:44:48:943 - warn: Instruments socket client never checked in; timing out (global)\n2016-02-23 12:44:48:943 - info: [debug] Killall instruments\n2016-02-23 12:44:48:962 - info: [debug] [INSTSERVER] Instruments exited with code null\n2016-02-23 12:44:48:962 - info: [debug] Killall instruments\n2016-02-23 12:44:48:964 - info: [debug] Instruments never checked in\n2016-02-23 12:44:48:964 - info: [debug] We exceeded the number of retries allowed for instruments to successfully start; failing launch\n2016-02-23 12:44:48:965 - info: [debug] Stopping iOS log capture\n2016-02-23 12:44:48:965 - info: [debug] Running ios sim reset flow\n2016-02-23 12:44:48:965 - info: [debug] Killing the simulator process\n2016-02-23 12:44:48:966 - info: [debug] Killing any other simulator daemons\n2016-02-23 12:44:48:968 - info: [debug] Killall iOS Simulator\n2016-02-23 12:44:48:999 - info: [debug] On a real device; cannot clean device state\n2016-02-23 12:44:48:999 - info: [debug] Cleaning up appium session\n2016-02-23 12:44:48:999 - error: Failed to start an Appium session, err was: Error: Instruments never checked in\n2016-02-23 12:44:49:000 - info: [debug] Error: Instruments never checked in\n at [object Object].Instruments.onInstrumentsExit (/Users/listener/AppiumSource/appium/node_modules/appium-instruments/lib/instruments.js:442:31)\n at [object Object]. (/Users/listener/AppiumSource/appium/node_modules/appium-instruments/lib/instruments.js:353:12)\n at ChildProcess.emit (events.js:110:17)\n at Process.ChildProcess._handle.onexit (child_process.js:1067:12)\n2016-02-23 12:44:49:000 - info: [debug] Responding to client with error: {“status”:33,“value”:{“message”:“A new session could not be created. (Original error: Instruments never checked in)”,“origValue”:“Instruments never checked in”},“sessionId”:null}\n2016-02-23 12:44:49:001 - info: <-- POST /wd/hub/session 500 99967.353 ms - 178 \n] \n\n/Users/listener/.rvm/gems/ruby-2.1.2/gems/selenium-webdriver-2.46.2/lib/selenium/webdriver/remote/response.rb:71:in assert_ok\'\n/Users/listener/.rvm/gems/ruby-2.1.2/gems/selenium-webdriver-2.46.2/lib/selenium/webdriver/remote/response.rb:34:ininitialize’\n/Users/listener/.rvm/gems/ruby-2.1.2/gems/selenium-webdriver-2.46.2/lib/selenium/webdriver/remote/http/common.rb:78:in new\'\n/Users/listener/.rvm/gems/ruby-2.1.2/gems/selenium-webdriver-2.46.2/lib/selenium/webdriver/remote/http/common.rb:78:increate_response’\n/Users/listener/.rvm/gems/ruby-2.1.2/gems/selenium-webdriver-2.46.2/lib/selenium/webdriver/remote/http/default.rb:90:in request\'\n/Users/listener/.rvm/gems/ruby-2.1.2/gems/selenium-webdriver-2.46.2/lib/selenium/webdriver/remote/http/common.rb:59:incall’\n/Users/listener/.rvm/gems/ruby-2.1.2/gems/selenium-webdriver-2.46.2/lib/selenium/webdriver/remote/bridge.rb:657:in raw_execute\'\n/Users/listener/.rvm/gems/ruby-2.1.2/gems/selenium-webdriver-2.46.2/lib/selenium/webdriver/remote/bridge.rb:122:increate_session’\n/Users/listener/.rvm/gems/ruby-2.1.2/gems/selenium-webdriver-2.46.2/lib/selenium/webdriver/remote/bridge.rb:87:in initialize\'\n/Users/listener/.rvm/gems/ruby-2.1.2/gems/selenium-webdriver-2.46.2/lib/selenium/webdriver/common/driver.rb:52:innew’\n/Users/listener/.rvm/gems/ruby-2.1.2/gems/selenium-webdriver-2.46.2/lib/selenium/webdriver/common/driver.rb:52:in for\'\n/Users/listener/.rvm/gems/ruby-2.1.2/gems/selenium-webdriver-2.46.2/lib/selenium/webdriver.rb:84:infor’\n/Users/listener/.rvm/gems/ruby-2.1.2/gems/appium_lib-5.0.1/lib/appium_lib/driver.rb:474:in start_driver\'\n/Users/listener/git/E2E_1456225411/e2e_framework/driver/custom_web_driver.rb:289:inre_try_driver_start’\n/Users/listener/git/E2E_1456225411/e2e_framework/driver/custom_web_driver.rb:282:in re_try_ios\'\n/Users/listener/git/E2E_1456225411/e2e_framework/driver/custom_web_driver.rb:183:inrescue in start_driver_local’\n/Users/listener/git/E2E_1456225411/e2e_framework/driver/custom_web_driver.rb:133:in start_driver_local\'\n/Users/listener/git/E2E_1456225411/e2e_framework/driver/custom_web_driver.rb:362:inrestart_driver’\n/Users/listener/git/E2E_1456225411/e2e_framework/mq_services/service_actions.rb:141:in start_app_service_action\'\n/Users/listener/git/E2E_1456225411/e2e_framework/utils/service_factory.rb:25:inget_instance’\n/Users/listener/git/E2E_1456225411/e2e_framework/mqueue/message_handler.rb:22:in handle\'\nmqueue/mq_listener.rb:85:inblock (2 levels) in listen’\n/Users/listener/.rvm/gems/ruby-2.1.2/gems/bunny-1.4.0/lib/bunny/consumer.rb:56:in call\'\n/Users/listener/.rvm/gems/ruby-2.1.2/gems/bunny-1.4.0/lib/bunny/consumer.rb:56:incall’\n/Users/listener/.rvm/gems/ruby-2.1.2/gems/bunny-1.4.0/lib/bunny/channel.rb:1676:in block in handle_frameset\'\n/Users/listener/.rvm/gems/ruby-2.1.2/gems/bunny-1.4.0/lib/bunny/consumer_work_pool.rb:84:incall’\n/Users/listener/.rvm/gems/ruby-2.1.2/gems/bunny-1.4.0/lib/bunny/consumer_work_pool.rb:84:in block (2 levels) in run_loop\'\n/Users/listener/.rvm/gems/ruby-2.1.2/gems/bunny-1.4.0/lib/bunny/consumer_work_pool.rb:80:inloop’\n/Users/listener/.rvm/gems/ruby-2.1.2/gems/bunny-1.4.0/lib/bunny/consumer_work_pool.rb:80:in block in run_loop\'\n/Users/listener/.rvm/gems/ruby-2.1.2/gems/bunny-1.4.0/lib/bunny/consumer_work_pool.rb:79:incatch’\n/Users/listener/.rvm/gems/ruby-2.1.2/gems/bunny-1.4.0/lib/bunny/consumer_work_pool.rb:79:in `run_loop’’