Skip to content

Instantly share code, notes, and snippets.

@aluzardo
Created July 6, 2016 14:16
Show Gist options
  • Save aluzardo/2bfd7975d143004ebada6946ffddc0fa to your computer and use it in GitHub Desktop.
Save aluzardo/2bfd7975d143004ebada6946ffddc0fa to your computer and use it in GitHub Desktop.
Last login: Wed Jul 6 14:58:44 on console
➜ ~ appium &
[1] 736
➜ ~ [Appium] Welcome to Appium v1.5.3 (REV ec2f450b6e9e64e469cc9e7aeaaa418ab82ca607)
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"browserName":"safari","appium-version":"1.5.3","platformName":"iOS","platformVersion":"9.3","deviceName":"iPad 4","udid":"39d39a8bf0d6635268e5997dae574c04246f5e2b","count":1}}
[MJSONWP] Calling AppiumDriver.createSession() with args: [{"browserName":"safari","a...
[Appium] Creating new IosDriver session
[Appium] Capabilities:
[Appium] browserName: 'safari'
[Appium] appium-version: '1.5.3'
[Appium] platformName: 'iOS'
[Appium] platformVersion: '9.3'
[Appium] deviceName: 'iPad 4'
[Appium] udid: '39d39a8bf0d6635268e5997dae574c04246f5e2b'
[Appium] count: 1
[BaseDriver] The following capabilities were provided, but are not recognized by appium: appium-version, count.
[BaseDriver] Session created with session id: 3e955b13-b561-486e-b121-e25e5431b6dd
[debug] [iOS] Not auto-detecting udid.
[debug] [iOS] Creating iDevice object with udid 39d39a8bf0d6635268e5997dae574c04246f5e2b
[debug] [iOS] Removing any remaining instruments sockets
[debug] [iOS] Cleaned up instruments socket /var/folders/h7/_nyjp43n0vdglm8v553jc96r0000gn/T/instruments_sock
[debug] [iOS] No language specified. Using default strings
[debug] [iOS] Strings file not found. Looking in 'en.lproj' directory
[iOS] Could not file localizable strings file 'Localizable.strings'!
[debug] [iOS] Creating instruments
[debug] [UIAuto] Preparing bootstrap code
[debug] [UIAuto] Dynamic bootstrap dir: /Users/adolfocabrera/Library/Application Support/appium/bootstrap
[debug] [UIAuto] Dynamic env: {"nodePath":"/Users/adolfocabrera/.nvm/versions/node/v5.11.1/bin/node","commandProxyClientPath":"/Users/adolfocabrera/.nvm/versions/node/v5.11.1/lib/node_modules/appium/node_modules/appium-ios-driver/node_modules/appium-uiauto/build/lib/bin/command-proxy-client.js","instrumentsSock":"/var/folders/h7/_nyjp43n0vdglm8v553jc96r0000gn/T/instruments_sock","interKeyDelay":null,"justLoopInfinitely":false,"autoAcceptAlerts":false,"autoDismissAlerts":false,"sendKeyStrategy":"grouped"}
[debug] [UIAuto] Dynamic bootstrap code: // This file is automatically generated...o not manually modify!
[debug] [UIAuto] Dynamic bootstrap path: /Users/adolfocabrera/Library/Application Support/appium/bootstrap/bootstrap-331adc98e51d3f6f.js
[debug] [UIAuto] Reusing dynamic bootstrap: /Users/adolfocabrera/Library/Application Support/appium/bootstrap/bootstrap-331adc98e51d3f6f.js
[debug] [iOS] Running ios real device reset flow
[debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog
[debug] [iOSLog] Found idevicesyslog: '/usr/local/bin/idevicesyslog'
[debug] [iOS] App is installed.
[debug] [iOS] fullReset not requested. No need to install.
[debug] [iOS] Starting UIAutoClient, and launching Instruments.
[debug] [UIAuto] Instruments socket server started at /var/folders/h7/_nyjp43n0vdglm8v553jc96r0000gn/T/instruments_sock
[debug] [Instruments] Instruments is at: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments
[debug] [Instruments] Attempting to launch instruments, this is try #1
[Instruments] Launching instruments
[debug] [Instruments] Attempting to run app on real device with UDID '39d39a8bf0d6635268e5997dae574c04246f5e2b'
[debug] [Instruments] Found Insruments-Without-Delay: /Users/adolfocabrera/.nvm/versions/node/v5.11.1/lib/node_modules/appium/node_modules/appium-ios-driver/node_modules/appium-instruments/thirdparty/iwd7
[debug] [Instruments] 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 /var/folders/h7/_nyjp43n0vdglm8v553jc96r0000gn/T/appium-instruments/instrumentscli0.trace -w 39d39a8bf0d6635268e5997dae574c04246f5e2b com.bytearc.SafariLauncher -e UIASCRIPT "/Users/adolfocabrera/Library/Application Support/appium/bootstrap/bootstrap-331adc98e51d3f6f.js" -e UIARESULTSPATH /var/folders/h7/_nyjp43n0vdglm8v553jc96r0000gn/T/appium-instruments'
[debug] [Instruments] And extra without-delay env: {}
[debug] [Instruments] And launch timeouts (in ms): {"global":90000}
[debug] [Instruments] [INST STDERR] 2016-07-06 15:01:37.449 instruments[749:16722] WebKit Threading Violation - initial use of WebKit from a secondary thread.
[debug] [Instruments] [INST STDERR] Instruments Usage Error: Specified target process is invalid: com.bytearc.SafariLauncher
instruments, version 7.3 (60134)
usage: instruments [-t template] [-D document] [-l timeLimit] [-i #] [-w device] [[-p pid] | [application [-e variable value] [argument ...]]]
[debug] [Instruments] Instruments exited with code 255
[Instruments] Error launching instruments: Instruments crashed on startup
[debug] [Instruments] Attempting to launch instruments, this is try #2
[Instruments] Launching instruments
[debug] [Instruments] Attempting to run app on real device with UDID '39d39a8bf0d6635268e5997dae574c04246f5e2b'
[debug] [Instruments] Found Insruments-Without-Delay: /Users/adolfocabrera/.nvm/versions/node/v5.11.1/lib/node_modules/appium/node_modules/appium-ios-driver/node_modules/appium-instruments/thirdparty/iwd7
[debug] [Instruments] 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 /var/folders/h7/_nyjp43n0vdglm8v553jc96r0000gn/T/appium-instruments/instrumentscli0.trace -w 39d39a8bf0d6635268e5997dae574c04246f5e2b com.bytearc.SafariLauncher -e UIASCRIPT "/Users/adolfocabrera/Library/Application Support/appium/bootstrap/bootstrap-331adc98e51d3f6f.js" -e UIARESULTSPATH /var/folders/h7/_nyjp43n0vdglm8v553jc96r0000gn/T/appium-instruments'
[debug] [Instruments] And extra without-delay env: {}
[debug] [Instruments] And launch timeouts (in ms): {"global":90000}
➜ ~ [debug] [Instruments] [INST STDERR] 2016-07-06 15:01:44.435 instruments[754:17454] Connection peer refused channel request for "com.apple.instruments.server.services.capabilities"; channel canceled <DTXChannel: 0x7fcb5d491370>
2016-07-06 15:01:44.436 instruments[754:17454] Connection peer refused channel request for "com.apple.instruments.server.services.device.xpccontrol"; channel canceled <DTXChannel: 0x7fcb5d68b010>
2016-07-06 15:01:44.436 instruments[754:17454] Connection peer refused channel request for "com.apple.instruments.server.services.deviceinfo"; channel canceled <DTXChannel: 0x7fcb5ae99550>
2016-07-06 15:01:44.437 instruments[754:17454] Connection peer refused channel request for "com.apple.instruments.server.services.processcontrol"; channel canceled <DTXChannel: 0x7fcb5aed70e0>
2016-07-06 15:01:44.437 instruments[754:17454] Connection peer refused channel request for "com.apple.instruments.server.services.processcontrol.posixspawn"; channel canceled <DTXChannel: 0x7fcb5aed9e60>
2016-07-06 15:01:44.437 instruments[754:17454] Connection peer refused channel request for "com.apple.instruments.server.services.mobilenotifications"; channel canceled <DTXChannel: 0x7fcb5aeedad0>
2016-07-06 15:01:44.437 instruments[754:17454] Connection peer refused channel request for "com.apple.instruments.server.services.device.applictionListing"; channel canceled <DTXChannel: 0x7fcb5d68d890>
Instruments Usage Error: Specified target process is invalid: com.bytearc.SafariLauncher
instruments, version 7.3 (60134)
usage: instruments [-t template] [-D document] [-l timeLimit] [-i #] [-w device] [[-p pid] | [application [-e variable value] [argument ...]]]
[debug] [Instruments] [INST STDERR] 2016-07-06 15:01:44.438 instruments[754:17454] Connection peer refused channel request for "com.apple.instruments.server.services.wireless"; channel canceled <DTXChannel: 0x7fcb5d68b5d0>
[debug] [Instruments] [INST STDERR] 2016-07-06 15:01:44.450 instruments[754:17463] WebKit Threading Violation - initial use of WebKit from a secondary thread.
[debug] [Instruments] Instruments exited with code 255
[Instruments] Error launching instruments: Instruments crashed on startup
➜ ~ [debug] [Instruments] Attempting to launch instruments, this is try #3
[Instruments] Launching instruments
[debug] [Instruments] Attempting to run app on real device with UDID '39d39a8bf0d6635268e5997dae574c04246f5e2b'
[debug] [Instruments] Found Insruments-Without-Delay: /Users/adolfocabrera/.nvm/versions/node/v5.11.1/lib/node_modules/appium/node_modules/appium-ios-driver/node_modules/appium-instruments/thirdparty/iwd7
[debug] [Instruments] 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 /var/folders/h7/_nyjp43n0vdglm8v553jc96r0000gn/T/appium-instruments/instrumentscli0.trace -w 39d39a8bf0d6635268e5997dae574c04246f5e2b com.bytearc.SafariLauncher -e UIASCRIPT "/Users/adolfocabrera/Library/Application Support/appium/bootstrap/bootstrap-331adc98e51d3f6f.js" -e UIARESULTSPATH /var/folders/h7/_nyjp43n0vdglm8v553jc96r0000gn/T/appium-instruments'
[debug] [Instruments] And extra without-delay env: {}
[debug] [Instruments] And launch timeouts (in ms): {"global":90000}
[debug] [Instruments] [INST STDERR] 2016-07-06 15:01:50.834 instruments[902:18485] WebKit Threading Violation - initial use of WebKit from a secondary thread.
[debug] [Instruments] [INST STDERR] Instruments Usage Error: Specified target process is invalid: com.bytearc.SafariLauncher
instruments, version 7.3 (60134)
usage: instruments [-t template] [-D document] [-l timeLimit] [-i #] [-w device] [[-p pid] | [application [-e variable value] [argument ...]]]
[debug] [Instruments] Instruments exited with code 255
[Instruments] Error launching instruments: Instruments crashed on startup
[debug] [Instruments] Attempting to launch instruments, this is try #4
[Instruments] Launching instruments
[debug] [Instruments] Attempting to run app on real device with UDID '39d39a8bf0d6635268e5997dae574c04246f5e2b'
[debug] [Instruments] Found Insruments-Without-Delay: /Users/adolfocabrera/.nvm/versions/node/v5.11.1/lib/node_modules/appium/node_modules/appium-ios-driver/node_modules/appium-instruments/thirdparty/iwd7
[debug] [Instruments] 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 /var/folders/h7/_nyjp43n0vdglm8v553jc96r0000gn/T/appium-instruments/instrumentscli0.trace -w 39d39a8bf0d6635268e5997dae574c04246f5e2b com.bytearc.SafariLauncher -e UIASCRIPT "/Users/adolfocabrera/Library/Application Support/appium/bootstrap/bootstrap-331adc98e51d3f6f.js" -e UIARESULTSPATH /var/folders/h7/_nyjp43n0vdglm8v553jc96r0000gn/T/appium-instruments'
[debug] [Instruments] And extra without-delay env: {}
[debug] [Instruments] And launch timeouts (in ms): {"global":90000}
[debug] [Instruments] [INST STDERR] 2016-07-06 15:01:57.872 instruments[906:18527] WebKit Threading Violation - initial use of WebKit from a secondary thread.
[debug] [Instruments] [INST STDERR] 2016-07-06 15:01:58.040 instruments[906:18500] Connection peer refused channel request for "com.apple.instruments.server.services.capabilities"; channel canceled <DTXChannel: 0x7fc77ce303e0>
[debug] [Instruments] [INST STDERR] 2016-07-06 15:01:58.040 instruments[906:18500] Connection peer refused channel request for "com.apple.instruments.server.services.device.xpccontrol"; channel canceled <DTXChannel: 0x7fc77ce393d0>
2016-07-06 15:01:58.040 instruments[906:18500] Connection peer refused channel request for "com.apple.instruments.server.services.deviceinfo"; channel canceled <DTXChannel: 0x7fc77ce74800>
2016-07-06 15:01:58.041 instruments[906:18500] Connection peer refused channel request for "com.apple.instruments.server.services.processcontrol"; channel canceled <DTXChannel: 0x7fc77cecb7c0>
2016-07-06 15:01:58.041 instruments[906:18500] Connection peer refused channel request for "com.apple.instruments.server.services.processcontrol.posixspawn"; channel canceled <DTXChannel: 0x7fc77a712720>
2016-07-06 15:01:58.041 instruments[906:18500] Connection peer refused channel request for "com.apple.instruments.server.services.mobilenotifications"; channel canceled <DTXChannel: 0x7fc77a70a580>
[debug] [Instruments] [INST STDERR] 2016-07-06 15:01:58.041 instruments[906:18500] Connection peer refused channel request for "com.apple.instruments.server.services.device.applictionListing"; channel canceled <DTXChannel: 0x7fc77a70af80>
2016-07-06 15:01:58.042 instruments[906:18500] Connection peer refused channel request for "com.apple.instruments.server.services.wireless"; channel canceled <DTXChannel: 0x7fc77cbead60>
[debug] [Instruments] [INST STDERR] Instruments Usage Error: Specified target process is invalid: com.bytearc.SafariLauncher
instruments, version 7.3 (60134)
usage: instruments [-t template] [-D document] [-l timeLimit] [-i #] [-w device] [[-p pid] | [application [-e variable value] [argument ...]]]
[debug] [Instruments] Instruments exited with code 255
[Instruments] Error launching instruments: Instruments crashed on startup
[debug] [Instruments] Attempting to launch instruments, this is try #5
[Instruments] Launching instruments
[debug] [Instruments] Attempting to run app on real device with UDID '39d39a8bf0d6635268e5997dae574c04246f5e2b'
[debug] [Instruments] Found Insruments-Without-Delay: /Users/adolfocabrera/.nvm/versions/node/v5.11.1/lib/node_modules/appium/node_modules/appium-ios-driver/node_modules/appium-instruments/thirdparty/iwd7
[debug] [Instruments] 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 /var/folders/h7/_nyjp43n0vdglm8v553jc96r0000gn/T/appium-instruments/instrumentscli0.trace -w 39d39a8bf0d6635268e5997dae574c04246f5e2b com.bytearc.SafariLauncher -e UIASCRIPT "/Users/adolfocabrera/Library/Application Support/appium/bootstrap/bootstrap-331adc98e51d3f6f.js" -e UIARESULTSPATH /var/folders/h7/_nyjp43n0vdglm8v553jc96r0000gn/T/appium-instruments'
[debug] [Instruments] And extra without-delay env: {}
[debug] [Instruments] And launch timeouts (in ms): {"global":90000}
[debug] [Instruments] [INST STDERR] 2016-07-06 15:02:04.456 instruments[910:19163] WebKit Threading Violation - initial use of WebKit from a secondary thread.
[debug] [Instruments] [INST STDERR] 2016-07-06 15:02:04.506 instruments[910:19229] Connection peer refused channel request for "com.apple.instruments.server.services.capabilities"; channel canceled <DTXChannel: 0x7fb242da3bd0>
2016-07-06 15:02:04.506 instruments[910:19229] Connection peer refused channel request for "com.apple.instruments.server.services.device.xpccontrol"; channel canceled <DTXChannel: 0x7fb242da4cc0>
2016-07-06 15:02:04.506 instruments[910:19229] Connection peer refused channel request for "com.apple.instruments.server.services.deviceinfo"; channel canceled <DTXChannel: 0x7fb242da5240>
2016-07-06 15:02:04.506 instruments[910:19229] Connection peer refused channel request for "com.apple.instruments.server.services.processcontrol"; channel canceled <DTXChannel: 0x7fb242da54c0>
2016-07-06 15:02:04.506 instruments[910:19229] Connection peer refused channel request for "com.apple.instruments.server.services.processcontrol.posixspawn"; channel canceled <DTXChannel: 0x7fb242da5b00>
2016-07-06 15:02:04.506 instruments[910:19229] Connection peer refused channel request for "com.apple.instruments.server.services.mobilenotifications"; channel canceled <DTXChannel: 0x7fb240741780>
[debug] [Instruments] [INST STDERR] 2016-07-06 15:02:04.506 instruments[910:19229] Connection peer refused channel request for "com.apple.instruments.server.services.device.applictionListing"; channel canceled <DTXChannel: 0x7fb240741560>
2016-07-06 15:02:04.507 instruments[910:19163] Connection peer refused channel request for "com.apple.instruments.server.services.wireless"; channel canceled <DTXChannel: 0x7fb240745460>
Instruments Usage Error: Specified target process is invalid: com.bytearc.SafariLauncher
instruments, version 7.3 (60134)
usage: instruments [-t template] [-D document] [-l timeLimit] [-i #] [-w device] [[-p pid] | [application [-e variable value] [argument ...]]]
[debug] [Instruments] Instruments exited with code 255
[Instruments] Error launching instruments: Instruments crashed on startup
[Instruments] Error: We exceeded the number of retries allowed for instruments to successfully start; failing launch
at Object.wrappedLogger.errorAndThrow (lib/logger.js:60:13)
at Instruments.launch$ (lib/instruments.js:220:15)
at tryCatch (/Users/adolfocabrera/.nvm/versions/node/v5.11.1/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/Users/adolfocabrera/.nvm/versions/node/v5.11.1/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/Users/adolfocabrera/.nvm/versions/node/v5.11.1/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/Users/adolfocabrera/.nvm/versions/node/v5.11.1/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
at run (/Users/adolfocabrera/.nvm/versions/node/v5.11.1/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:104:47)
at /Users/adolfocabrera/.nvm/versions/node/v5.11.1/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:115:28
at flush (/Users/adolfocabrera/.nvm/versions/node/v5.11.1/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/$.microtask.js:19:5)
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickCallback (internal/process/next_tick.js:98:9)
[Error: We exceeded the number of retries allowed for instruments to successfully start; failing launch]
[MJSONWP] Encountered internal error running command: Error: We exceeded the number of retries allowed for instruments to successfully start; failing launch
at Object.wrappedLogger.errorAndThrow (lib/logger.js:60:13)
at Instruments.launch$ (lib/instruments.js:220:15)
at tryCatch (/Users/adolfocabrera/.nvm/versions/node/v5.11.1/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/Users/adolfocabrera/.nvm/versions/node/v5.11.1/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/Users/adolfocabrera/.nvm/versions/node/v5.11.1/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/Users/adolfocabrera/.nvm/versions/node/v5.11.1/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
at run (/Users/adolfocabrera/.nvm/versions/node/v5.11.1/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:104:47)
at /Users/adolfocabrera/.nvm/versions/node/v5.11.1/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:115:28
at flush (/Users/adolfocabrera/.nvm/versions/node/v5.11.1/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/$.microtask.js:19:5)
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickCallback (internal/process/next_tick.js:98:9)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment