Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save VenkateshPS/0e76d07724c9c64778436c59085b0888 to your computer and use it in GitHub Desktop.
Save VenkateshPS/0e76d07724c9c64778436c59085b0888 to your computer and use it in GitHub Desktop.
iPA fails to install
info: Welcome to Appium v1.4.13 (REV c75d8adcb66a75818a542fe1891a34260c21f76a)
info: Appium REST http interface listener started on 0.0.0.0:4723
info: Console LogLevel: debug
info: --> POST /wd/hub/session {"desiredCapabilities":{"app":"/Users/shared/jenkins/Home/jobs/vcsiossmoketest/workspace/***-3.1.0-3.1.0.1194.ipa","bundleid":"com.vocera.vcs","udid":"e72a1083c25ebf44c861e994e7b805258cf88344","platformName":"iOS","deviceName":"iphone","autoAcceptAlerts":true}}
info: Client User-Agent string: Apache-HttpClient/4.3.3 (java 1.5)
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. : bundleid
info: [debug] Using local .ipa from desired caps: /Users/shared/jenkins/Home/jobs/vcsiossmoketest/workspace/VCS-3.1.0-3.1.0.1194.ipa
info: [debug] Copying local zip to tmp dir
info: [debug] /Users/shared/jenkins/Home/jobs/vcsiossmoketest/workspace/***-3.1.0-3.1.0.1194.ipa copied to /var/folders/vl/w_xrfv255_nbdj3vhgdj2bq40000gn/T/116430-24490-1sxmjyd/appium-app.zip
info: [debug] Unzipping /var/folders/vl/w_xrfv255_nbdj3vhgdj2bq40000gn/T/116430-24490-1sxmjyd/appium-app.zip
info: [debug] Testing zip archive: /var/folders/vl/w_xrfv255_nbdj3vhgdj2bq40000gn/T/116430-24490-1sxmjyd/appium-app.zip
info: [debug] Zip archive tested clean
info: [debug] Unzip successful
info: [debug] Using locally extracted app: /var/folders/vl/w_xrfv255_nbdj3vhgdj2bq40000gn/T/116430-24490-1sxmjyd/Payload/VCS.app
info: [debug] Creating new appium session 7c916f11-ab31-4974-a505-1593c275a40d
info: [debug] Removing any remaining instruments sockets
info: [debug] Cleaned up instruments socket /tmp/instruments_sock
info: [debug] Auto-detecting iOS udid...
info: [debug] Not auto-detecting udid, running on sim
info: [debug] Parsed app Info.plist (as binary)
info: [debug] Parsed app Localizable.strings
info: [debug] Getting bundle ID from app
info: [debug] Parsed app Info.plist (as binary)
info: [debug] Creating instruments
info: [debug] Preparing uiauto bootstrap
info: [debug] Dynamic bootstrap dir: /Users/venkateshsingh/Library/Application Support/appium/bootstrap
info: [debug] Dynamic env: {"nodePath":"/Applications/Appium.app/Contents/Resources/node/bin/node","commandProxyClientPath":"/Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-uiauto/bin/command-proxy-client.js","instrumentsSock":"/tmp/instruments_sock","interKeyDelay":null,"justLoopInfinitely":false,"autoAcceptAlerts":true,"autoDismissAlerts":false,"sendKeyStrategy":"grouped"}
info: [debug] Dynamic bootstrap code: // This file is automatically generated. D...ot manually modify!
info: [debug] Dynamic bootstrap path: /Users/venkateshsingh/Library/Application Support/appium/bootstrap/bootstrap-3951b122240c0ac8.js
info: [debug] Reusing dynamic bootstrap: /Users/venkateshsingh/Library/Application Support/appium/bootstrap/bootstrap-3951b122240c0ac8.js
info: [debug] Attempting iOS device log capture via libimobiledevice idevicesyslog
info: [debug] Creating iDevice object with udid e72a1083c25ebf44c861e994e7b805258cf88344
info: [debug] App is installed.
info: [debug] fullReset not requested. No need to install.
info: [debug] Starting command proxy.
info: [debug] Instruments socket server started at /tmp/instruments_sock
info: [debug] Starting instruments
info: [debug] Instruments is at: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments
info: Launching instruments
info: [debug] Attempting to run app on real device with UDID e72a1083c25ebf44c861e994e7b805258cf88344
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 e72a1083c25ebf44c861e994e7b805258cf88344 com.vocera.vcs -e UIASCRIPT "/Users/venkateshsingh/Library/Application Support/appium/bootstrap/bootstrap-3951b122240c0ac8.js" -e UIARESULTSPATH /tmp/appium-instruments
info: [debug] And extra without-delay env: {}
info: [debug] And launch timeouts (in ms): {"global":90000}
info: [debug] [INST STDERR] 2016-05-30 04:13:03.332 instruments[53704:29587758] WebKit Threading Violation - initial use of WebKit from a secondary thread.
info: [debug] [INST STDERR] Instruments Trace Error : Target failed to run: The operation couldn’t be completed. (FBSOpenApplicationErrorDomain error 4.) : Failed to launch process with bundle identifier 'com.vocera.vcs'
info: [debug] [INSTSERVER] Instruments exited with code 253
info: [debug] Killall instruments
info: [debug] Instruments crashed on startup
info: [debug] Attempting to retry launching instruments, this is retry #1
info: [debug] Killall iOS Simulator
info: Launching instruments
info: [debug] Attempting to run app on real device with UDID e72a1083c25ebf44c861e994e7b805258cf88344
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 e72a1083c25ebf44c861e994e7b805258cf88344 com.vocera.vcs -e UIASCRIPT "/Users/venkateshsingh/Library/Application Support/appium/bootstrap/bootstrap-3951b122240c0ac8.js" -e UIARESULTSPATH /tmp/appium-instruments
info: [debug] And extra without-delay env: {}
info: [debug] And launch timeouts (in ms): {"global":90000}
info: [debug] [INST STDERR] 2016-05-30 04:13:16.218 instruments[57749:29590328] WebKit Threading Violation - initial use of WebKit from a secondary thread. info: [debug] [INST STDERR] Instruments Trace Error : Target failed to run: The operation couldn’t be completed. (FBSOpenApplicationErrorDomain error 4.) : Failed to launch process with bundle identifier 'com.vocera.vcs'
info: [debug] [INSTSERVER] Instruments exited with code 253
info: [debug] Killall instruments
info: [debug] Instruments crashed on startup
info: [debug] Attempting to retry launching instruments, this is retry #2
info: [debug] Killall iOS Simulator
info: Launching instruments
info: [debug] Attempting to run app on real device with UDID e72a1083c25ebf44c861e994e7b805258cf88344
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 e72a1083c25ebf44c861e994e7b805258cf88344 com.vocera.vcs -e UIASCRIPT "/Users/venkateshsingh/Library/Application Support/appium/bootstrap/bootstrap-3951b122240c0ac8.js" -e UIARESULTSPATH /tmp/appium-instruments
info: [debug] And extra without-delay env: {}
info: [debug] And launch timeouts (in ms): {"global":90000}
info: [debug] [INST STDERR] 2016-05-30 04:13:26.571 instruments[59824:29592686] WebKit Threading Violation - initial use of WebKit from a secondary thread.
info: [debug] [INST STDERR] Instruments Trace Error : Target failed to run: The operation couldn’t be completed. (FBSOpenApplicationErrorDomain error 4.) : Failed to launch process with bundle identifier 'com.vocera.vcs'
info: [debug] [INSTSERVER] Instruments exited with code 253
info: [debug] Killall instruments
info: [debug] Instruments crashed on startup
info: [debug] Attempting to retry launching instruments, this is retry #3
info: [debug] Killall iOS Simulator
info: Launching instruments
info: [debug] Attempting to run app on real device with UDID e72a1083c25ebf44c861e994e7b805258cf88344
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 e72a1083c25ebf44c861e994e7b805258cf88344 com.vocera.vcs -e UIASCRIPT "/Users/venkateshsingh/Library/Application Support/appium/bootstrap/bootstrap-3951b122240c0ac8.js" -e UIARESULTSPATH /tmp/appium-instruments
info: [debug] And extra without-delay env: {}
info: [debug] And launch timeouts (in ms): {"global":90000}
info: [debug] [INST STDERR] 2016-05-30 04:13:37.158 instruments[61946:29594951] WebKit Threading Violation - initial use of WebKit from a secondary thread.
info: [debug] [INST STDERR] Instruments Trace Error : Target failed to run: The operation couldn’t be completed. (FBSOpenApplicationErrorDomain error 4.) : Failed to launch process with bundle identifier 'com.vocera.vcs'
info: [debug] [INSTSERVER] Instruments exited with code 253
info: [debug] Killall instruments
info: [debug] Instruments crashed on startup
info: [debug] We exceeded the number of retries allowed for instruments to successfully start; failing launch
info: [debug] Stopping iOS log capture
info: [debug] Running ios sim reset flow
info: [debug] Killing the simulator process
info: [debug] Killing any other simulator daemons
info: [debug] Killall iOS Simulator
info: [debug] On a real device; cannot clean device state
info: [debug] Cleaning up appium session
error: Failed to start an Appium session, err was: Error: Instruments crashed on startup
info: [debug] Error: Instruments crashed on startup
at [object Object].Instruments.onInstrumentsExit (/Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-instruments/lib/instruments.js:440:31)
at [object Object].<anonymous> (/Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-instruments/lib/instruments.js:353:12)
at ChildProcess.emit (events.js:110:17)
at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
info: [debug] Responding to client with error: {"status":33,"value":{"message":"A new session could not be created. (Original error: Instruments crashed on startup)","origValue":"Instruments crashed on startup"},"sessionId":null}
info: <-- POST /wd/hub/session 500 52185.966 ms - 182
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment