Skip to content

Instantly share code, notes, and snippets.

@wspresto
Created June 25, 2015 20:29
Show Gist options
  • Save wspresto/a389e734f8e73fd6b6ee to your computer and use it in GitHub Desktop.
Save wspresto/a389e734f8e73fd6b6ee to your computer and use it in GitHub Desktop.
info: Welcome to Appium v1.4.6 (REV 1efd33330243765bae4e6216b62df3c9ec3cede5)
info: Appium REST http interface listener started on 0.0.0.0:4723
info: Console LogLevel: debug
Logout
info: --> POST /wd/hub/session {"desiredCapabilities":{"platformName":"iOS","platformVersion":"8.3","deviceName":"iPhone 6","app":"/Users/wpreston/WebstormProjects/lv-vagrant-env/repos/telederm/web/platforms/ios/build/emulator/Telederm.app","autoWebview":"true"}}
info: Client User-Agent string: appium/ruby_lib/7.0.0
warn: Converting cap autoWebview from string to boolean. This might cause unexpected behavior.
info: [debug] Using local app from desired caps: /Users/wpreston/WebstormProjects/lv-vagrant-env/repos/telederm/web/platforms/ios/build/emulator/Telederm.app
info: [debug] Creating new appium session 3967f830-d96e-4b7c-b282-0533a20dc85e
info: [debug] Removing any remaining instruments sockets
info: [debug] Cleaned up instruments socket /tmp/instruments_sock
info: [debug] Setting Xcode version
info: [debug] Xcode version set to 6.3.2
info: [debug] Setting iOS SDK Version
info: [debug] iOS SDK Version set to 8.3
info: [debug] Checking whether instruments supports our device string
info: [debug] Getting list of devices instruments supports
info: [debug] Instruments is at: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments
info: [debug] Getting device string from opts: {"forceIphone":false,"forceIpad":false,"xcodeVersion":"6.3.2","iOSSDKVersion":"8.3","deviceName":"iPhone 6","platformVersion":"8.3"}
info: [debug] fixDevice is on
info: [debug] Final device string is: 'iPhone 6 (8.3 Simulator)'
info: [debug] iOS sim UDID is BB43F7CE-256F-44F4-9FBF-D44993703959
info: [debug] Auto-detecting iOS udid...
info: [debug] Not auto-detecting udid, running on sim
info: [debug] Could not parse plist file (as binary) at /Users/wpreston/WebstormProjects/lv-vagrant-env/repos/telederm/web/platforms/ios/build/emulator/Telederm.app/en.lproj/Localizable.strings
info: Will try to parse the plist file as XML
info: [debug] Could not parse plist file (as XML) at /Users/wpreston/WebstormProjects/lv-vagrant-env/repos/telederm/web/platforms/ios/build/emulator/Telederm.app/en.lproj/Localizable.strings
warn: Could not parse app Localizable.strings assuming it doesn't exist
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/wpreston/Library/Application Support/appium/bootstrap
info: [debug] Dynamic env: {"nodePath":"/usr/local/bin/node","commandProxyClientPath":"/Users/wpreston/WebstormProjects/lv-vagrant-env/repos/telederm/web/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js","instrumentsSock":"/tmp/instruments_sock","interKeyDelay":null,"justLoopInfinitely":false,"autoAcceptAlerts":false,"autoDismissAlerts":false,"sendKeyStrategy":"oneByOne"}
...o: [debug] Dynamic bootstrap code: // This file is automatically generated. Do not manually modify!
info: [debug] Dynamic bootstrap path: /Users/wpreston/Library/Application Support/appium/bootstrap/bootstrap-0daaa55ece7e3d8a.js
info: [debug] Reusing dynamic bootstrap: /Users/wpreston/Library/Application Support/appium/bootstrap/bootstrap-0daaa55ece7e3d8a.js
info: [debug] Getting device string from opts: {"forceIphone":false,"forceIpad":false,"xcodeVersion":"6.3.2","iOSSDKVersion":"8.3","deviceName":"iPhone 6","platformVersion":"8.3"}
info: [debug] fixDevice is on
info: [debug] Final device string is: 'iPhone 6 (8.3 Simulator)'
info: [debug] We're on iOS7.1+ so forcing defaultDevice on
info: [debug] Getting device string from opts: {"forceIphone":false,"forceIpad":false,"xcodeVersion":"6.3.2","iOSSDKVersion":"8.3","deviceName":"iPhone 6","platformVersion":"8.3"}
info: [debug] fixDevice is on
info: [debug] Final device string is: 'iPhone 6 (8.3 Simulator)'
info: [debug] Parsed app Info.plist (as binary)
info: [debug] Wrote new app Info.plist with device type
info: [debug] Checking whether we need to set app preferences
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] Cleaning sim data files
info: Executing: xcrun simctl erase BB43F7CE-256F-44F4-9FBF-D44993703959 with timeout 2000
info: [debug] Cleaning app data files
warn: Applications directory /Users/wpreston/Library/Developer/CoreSimulator/Devices/BB43F7CE-256F-44F4-9FBF-D44993703959/data/Containers/Data/Application doesn't exist. Have you run this simulator before?
warn: Applications directory /Users/wpreston/Library/Developer/CoreSimulator/Devices/BB43F7CE-256F-44F4-9FBF-D44993703959/data/Containers/Bundle/Application doesn't exist. Have you run this simulator before?
info: Couldn't find app directories to delete. Probably it's not installed
info: [debug] Not setting locale
info: [debug] No iOS / app preferences to set
info: [debug] Starting iOS 8.* simulator log capture
info: [debug] Not pre-launching simulator
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 iPhone 6 (8.3 Simulator)
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 "iPhone 6 (8.3 Simulator)" /Users/wpreston/WebstormProjects/lv-vagrant-env/repos/telederm/web/platforms/ios/build/emulator/Telederm.app -e UIASCRIPT "/Users/wpreston/Library/Application Support/appium/bootstrap/bootstrap-0daaa55ece7e3d8a.js" -e UIARESULTSPATH /tmp/appium-instruments
info: [debug] And extra without-delay env: {"DYLD_INSERT_LIBRARIES":"/Users/wpreston/WebstormProjects/lv-vagrant-env/repos/telederm/web/node_modules/appium/node_modules/appium-instruments/thirdparty/iwd6/InstrumentsShim.dylib","LIB_PATH":"/Users/wpreston/WebstormProjects/lv-vagrant-env/repos/telederm/web/node_modules/appium/node_modules/appium-instruments/thirdparty/iwd6"}
info: [debug] And launch timeouts (in ms): {"global":90000}
info: [debug] [INST] Waiting for device to boot...
info: [debug] [INST] 2015-06-25 20:28:15 +0000 Error: Script threw an uncaught JavaScript error: Error getting next command, shutting down :-( on line 2712 of bootstrap-0daaa55ece7e3d8a.js
info: [debug] [INST] 2015-06-25 20:28:15 +0000 Stopped: Script was stopped by the user
info: [debug] [INST STDERR] 2015-06-25 16:28:15.548 instruments[10352:468887] Attempting to set event horizon when core is not engaged, request ignored
info: [debug] [INST STDERR] 2015-06-25 16:28:15.548 instruments[10352:468095] Attempting to set event horizon when core is not engaged, request ignored
info: [debug] [INST] Instruments Trace Complete (Duration : 12.997735s; Output : /tmp/appium-instruments/instrumentscli0.trace)
info: [debug] [INSTSERVER] Instruments exited with code 0
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 iPhone 6 (8.3 Simulator)
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 "iPhone 6 (8.3 Simulator)" /Users/wpreston/WebstormProjects/lv-vagrant-env/repos/telederm/web/platforms/ios/build/emulator/Telederm.app -e UIASCRIPT "/Users/wpreston/Library/Application Support/appium/bootstrap/bootstrap-0daaa55ece7e3d8a.js" -e UIARESULTSPATH /tmp/appium-instruments
info: [debug] And extra without-delay env: {"DYLD_INSERT_LIBRARIES":"/Users/wpreston/WebstormProjects/lv-vagrant-env/repos/telederm/web/node_modules/appium/node_modules/appium-instruments/thirdparty/iwd6/InstrumentsShim.dylib","LIB_PATH":"/Users/wpreston/WebstormProjects/lv-vagrant-env/repos/telederm/web/node_modules/appium/node_modules/appium-instruments/thirdparty/iwd6"}
info: [debug] And launch timeouts (in ms): {"global":90000}
info: [debug] [INST] Waiting for device to boot...
info: [debug] [INST STDERR] Instruments Trace Error : Target failed to run: The operation couldn’t be completed. (FBSOpenApplicationErrorDomain error 8.) : Failed to launch process with bundle identifier 'com.longview.telederm'
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] Got the FBSOpenApplicationError, not killing the sim but leaving it open so the app will launch
info: Launching instruments
info: [debug] Attempting to run app on iPhone 6 (8.3 Simulator)
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 "iPhone 6 (8.3 Simulator)" /Users/wpreston/WebstormProjects/lv-vagrant-env/repos/telederm/web/platforms/ios/build/emulator/Telederm.app -e UIASCRIPT "/Users/wpreston/Library/Application Support/appium/bootstrap/bootstrap-0daaa55ece7e3d8a.js" -e UIARESULTSPATH /tmp/appium-instruments
info: [debug] And extra without-delay env: {"DYLD_INSERT_LIBRARIES":"/Users/wpreston/WebstormProjects/lv-vagrant-env/repos/telederm/web/node_modules/appium/node_modules/appium-instruments/thirdparty/iwd6/InstrumentsShim.dylib","LIB_PATH":"/Users/wpreston/WebstormProjects/lv-vagrant-env/repos/telederm/web/node_modules/appium/node_modules/appium-instruments/thirdparty/iwd6"}
info: [debug] And launch timeouts (in ms): {"global":90000}
info: [debug] [INST] 2015-06-25 20:28:29 +0000 Error: Script threw an uncaught JavaScript error: Error getting next command, shutting down :-( on line 2712 of bootstrap-0daaa55ece7e3d8a.js
info: [debug] [INST] 2015-06-25 20:28:30 +0000 Stopped: Script was stopped by the user
info: [debug] [INST STDERR] 2015-06-25 16:28:30.197 instruments[10464:469750] Attempting to set event horizon when core is not engaged, request ignored
info: [debug] [INST STDERR] 2015-06-25 16:28:30.197 instruments[10464:469750] Attempting to set event horizon when core is not engaged, request ignored
info: [debug] [INST] Instruments Trace Complete (Duration : 3.179177s; Output : /tmp/appium-instruments/instrumentscli0.trace)
info: [debug] [INSTSERVER] Instruments exited with code 0
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 iPhone 6 (8.3 Simulator)
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 "iPhone 6 (8.3 Simulator)" /Users/wpreston/WebstormProjects/lv-vagrant-env/repos/telederm/web/platforms/ios/build/emulator/Telederm.app -e UIASCRIPT "/Users/wpreston/Library/Application Support/appium/bootstrap/bootstrap-0daaa55ece7e3d8a.js" -e UIARESULTSPATH /tmp/appium-instruments
info: [debug] And extra without-delay env: {"DYLD_INSERT_LIBRARIES":"/Users/wpreston/WebstormProjects/lv-vagrant-env/repos/telederm/web/node_modules/appium/node_modules/appium-instruments/thirdparty/iwd6/InstrumentsShim.dylib","LIB_PATH":"/Users/wpreston/WebstormProjects/lv-vagrant-env/repos/telederm/web/node_modules/appium/node_modules/appium-instruments/thirdparty/iwd6"}
info: [debug] And launch timeouts (in ms): {"global":90000}
info: [debug] [INST] Waiting for device to boot...
info: [debug] [INST STDERR] Instruments Trace Error : Target failed to run: The operation couldn’t be completed. (FBSOpenApplicationErrorDomain error 8.) : Failed to launch process with bundle identifier 'com.longview.telederm'
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] Cleaning sim data files
info: Executing: xcrun simctl erase BB43F7CE-256F-44F4-9FBF-D44993703959 with timeout 2000
info: [debug] Cleaning app data files
warn: Applications directory /Users/wpreston/Library/Developer/CoreSimulator/Devices/BB43F7CE-256F-44F4-9FBF-D44993703959/data/Containers/Data/Application doesn't exist. Have you run this simulator before?
warn: Applications directory /Users/wpreston/Library/Developer/CoreSimulator/Devices/BB43F7CE-256F-44F4-9FBF-D44993703959/data/Containers/Bundle/Application doesn't exist. Have you run this simulator before?
info: Couldn't find app directories to delete. Probably it's not installed
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 (/Users/wpreston/WebstormProjects/lv-vagrant-env/repos/telederm/web/node_modules/appium/node_modules/appium-instruments/lib/instruments.js:440:31)
at [object Object].<anonymous> (/Users/wpreston/WebstormProjects/lv-vagrant-env/repos/telederm/web/node_modules/appium/node_modules/appium-instruments/lib/instruments.js:353:12)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at Process.ChildProcess._handle.onexit (child_process.js:807: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}
will be available on menu (FAILED - 1)
info: <-- POST /wd/hub/session 500 44223.845 ms - 182
will return a confirmation before logging out (FAILED - 2)
will return user to app if cancel is clicked (FAILED - 3)
will take user to splash page after OK is clicked (FAILED - 4)
An error occurred in an `after(:context)` hook.
NameError: undefined local variable or method `driver_quit' for #<RSpec::ExampleGroups::Logout after(:context) hook>
occurred at /Library/Ruby/Gems/2.0.0/gems/rspec-expectations-3.3.0/lib/rspec/matchers.rb:966:in `method_missing'
Failures:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment