debug: Appium request initiated at /wd/hub/session
info: App is an iOS bundle, will attempt to run as pre-existing
debug: Request received with params: {"desiredCapabilities":{"app":"com.bol.SafariLauncher","device":"iPhone","version":"7.1","-U":"8bba7b0ea1df2a1e8944b5272170535dc32f366b"}}
info: Creating new appium session bfa3122e-db8a-4b53-97d6-0ca8b2abc9af
info: Removing any remaining instruments sockets
info: Cleaned up instruments socket /tmp/instruments_sock
info: Setting Xcode folder
info: Setting Xcode version
info: Setting iOS SDK Version
info: iOS SDK Version set to 7.1
info: Detecting automation tracetemplate
info: Not auto-detecting udid, running on sim
debug: Creating instruments
info: Localizable.strings is not currently supported when using real devices.
info: Not setting locale because we're using a real device
info: Not setting iOS and app preferences since we're on a real device
info: Starting iOS device log capture via idevicesyslog
debug: Real device specified but no ipa or app path, assuming bundle ID is on device
info: Not setting device type since we're connected to a device
debug: Starting instruments
info: Instruments is at: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments
info: [INSTSERVER] Instruments socket server started at /tmp/instruments_sock
info: Attempting to run app on real device with UDID 8bba7b0ea1df2a1e8944b5272170535dc32f366b
info: Spawning instruments with command: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate -w 8bba7b0ea1df2a1e8944b5272170535dc32f366b com.bol.SafariLauncher -e UIASCRIPT /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-uiauto/uiauto/bootstrap.js -e UIARESULTSPATH /tmp/appium-instruments
info: And extra without-delay env: {}
info: And launch timeouts (in ms): {"global":90000}
info: [INST] 2014-04-28 06:51:50 +0000 Start: Bootstrapping uiauto
info: [INST] 2014-04-28 06:51:52 +0000 Start: Got user: rkerkhofs
info: [INST] 2014-04-28 06:51:53 +0000 Start: Not using settings file.
info: [INST] 2014-04-28 06:51:53 +0000 Start: isVerbose:false
info: [INST] 2014-04-28 06:51:56 +0000 Start: Using node at: /usr/local/bin/node
info: [INST] 2014-04-28 06:52:08 +0000 Fail: Could not start script, target application is not frontmost.
info: [INST] Instruments Trace Complete (Duration : 20.199697s; Output : /Applications/Appium.app/Contents/Resources/node_modules/appium/instrumentscli90.trace)
info: [INSTSERVER] Instruments exited with code 0
info: Killall instruments
info: Attempting to retry launching instruments, this is retry #1
info: Killall iPhoneSimulator
Any thoughts or suggestions are much welcomed!
Roel
--
http://appium.io
---
You received this message because you are subscribed to the Google Groups "Appium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to appium-discus...@googlegroups.com.
Visit this group at http://groups.google.com/group/appium-discuss.
For more options, visit https://groups.google.com/d/optout.
/Users/rkerkhofs/.bash_profile: line 5: ~./profile: No such file or directory
info: Welcome to Appium v0.18.0 (REV 17af02875e50682d6f1bdbd7885dad6e54e1c08a)
info: Appium REST http interface listener started on 127.0.0.1:4723
info: socket.io started
info: Non-default server args: {"udid":"8bba7b0ea1df2a1e8944b5272170535dc32f366b","address":"127.0.0.1","keepArtifacts":true,"noReset":true,"merciful":true,"safari":true}
debug: Appium request initiated at /wd/hub/status
debug: Request received with params: {}
info: Responding to client with success: {"status":0,"value":{"build":{"version":"0.18.0","revision":"17af02875e50682d6f1bdbd7885dad6e54e1c08a"}}}
GET /wd/hub/status 200 6ms - 144b
debug: Appium request initiated at /wd/hub/session
warn: [DEPRECATED] The device capability has been deprecated and will be removed. Please use the platformName capability instead.
debug: Request received with params: {"desiredCapabilities":{"app":"safari","device":"iPhone","version":"7.1","-U":"8bba7b0ea1df2a1e8944b5272170535dc32f366b"}}
warn: [DEPRECATED] The version capability has been deprecated and will be removed. Please use the platformVersion capability instead.
info: Configuring Safari session
info: Using local .zip from desired caps: /Applications/Appium.app/Contents/Resources/node_modules/appium/build/SafariLauncher/SafariLauncher.zip
info: Copying local zip to tmp dir
info: /Applications/Appium.app/Contents/Resources/node_modules/appium/build/SafariLauncher/SafariLauncher.zip copied to /var/folders/vq/9g1c3prx2zd0yryq36h3167c0000gp/T/114330-16063-53zwh6/appium-app.zip
info: Unzipping /var/folders/vq/9g1c3prx2zd0yryq36h3167c0000gp/T/114330-16063-53zwh6/appium-app.zip
info: Testing zip archive: /var/folders/vq/9g1c3prx2zd0yryq36h3167c0000gp/T/114330-16063-53zwh6/appium-app.zip
info: Zip archive tested clean
info: Unzip successful
info: Using locally extracted app: /var/folders/vq/9g1c3prx2zd0yryq36h3167c0000gp/T/114330-16063-53zwh6/submodules/SafariLauncher/build/Release-iphoneos/SafariLauncher.app
info: Creating new appium session 99416475-448c-4173-88e7-7b1931f43d81
info: Removing any remaining instruments sockets
info: Cleaned up instruments socket /tmp/instruments_sock
info: Setting Xcode folder
info: Setting Xcode version
info: Setting iOS SDK Version
info: iOS SDK Version set to 7.1
info: Detecting automation tracetemplate
debug: Creating instruments
info: Not auto-detecting udid, running on sim
warn: Could not parse plist file at /var/folders/vq/9g1c3prx2zd0yryq36h3167c0000gp/T/114330-16063-53zwh6/submodules/SafariLauncher/build/Release-iphoneos/SafariLauncher.app/en.lproj/Localizable.strings
info: Not setting locale because we're using a real device
info: Not setting iOS and app preferences since we're on a real device
info: Starting iOS device log capture via idevicesyslog
debug: Appium request initiated at /wd/hub/status
info: Responding to client with success: {"status":0,"value":{"build":{"version":"0.18.0","revision":"17af02875e50682d6f1bdbd7885dad6e54e1c08a"}},"sessionId":"99416475-448c-4173-88e7-7b1931f43d81"}
debug: Request received with params: {}
GET /wd/hub/status 200 2ms - 199b
info: Not setting device type since we're connected to a device
info: Checking app install status using: /Applications/Appium.app/Contents/Resources/node_modules/appium/build/fruitstrap/fruitstrap isInstalled --id 8bba7b0ea1df2a1e8944b5272170535dc32f366b --bundle com.bytearc.SafariLauncher
info: Installing app using cmd: /Applications/Appium.app/Contents/Resources/node_modules/appium/build/fruitstrap/fruitstrap install --id 8bba7b0ea1df2a1e8944b5272170535dc32f366b --bundle /var/folders/vq/9g1c3prx2zd0yryq36h3167c0000gp/T/114330-16063-53zwh6/submodules/SafariLauncher/build/Release-iphoneos/SafariLauncher.app
info: Cleaning up appium session
error: Failed to start an Appium session, err was: Error: Unable to install [/var/folders/vq/9g1c3prx2zd0yryq36h3167c0000gp/T/114330-16063-53zwh6/submodules/SafariLauncher/build/Release-iphoneos/SafariLauncher.app] to device with id [8bba7b0ea1df2a1e8944b5272170535dc32f366b]. Error [Error: Command failed: ]
info: Error: Unable to install [/var/folders/vq/9g1c3prx2zd0yryq36h3167c0000gp/T/114330-16063-53zwh6/submodules/SafariLauncher/build/Release-iphoneos/SafariLauncher.app] to device with id [8bba7b0ea1df2a1e8944b5272170535dc32f366b]. Error [Error: Command failed: ]
at /Applications/Appium.app/Contents/Resources/node_modules/appium/lib/devices/common.js:130:10
at ChildProcess.exithandler (child_process.js:641:7)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:743:16)
at Socket.<anonymous> (child_process.js:956:11)
at Socket.EventEmitter.emit (events.js:95:17)
at Pipe.close (net.js:465:12)
info: Responding to client with error: {"status":33,"value":{"message":"A new session could not be created. (Original error: Unable to install [/var/folders/vq/9g1c3prx2zd0yryq36h3167c0000gp/T/114330-16063-53zwh6/submodules/SafariLauncher/build/Release-iphoneos/SafariLauncher.app] to device with id [8bba7b0ea1df2a1e8944b5272170535dc32f366b]. Error [Error: Command failed: ])","origValue":"Unable to install [/var/folders/vq/9g1c3prx2zd0yryq36h3167c0000gp/T/114330-16063-53zwh6/submodules/SafariLauncher/build/Release-iphoneos/SafariLauncher.app] to device with id [8bba7b0ea1df2a1e8944b5272170535dc32f366b]. Error [Error: Command failed: ]"},"sessionId":null}
POST /wd/hub/session 500 3684ms - 650b
rkerkhofs$ /usr/local/lib/node_modules/appium/build/fruitstrap/fruitstrap install --id 8bba7b0ea1df2a1e8944b5272170535dc32f366b --bundle com.bol.SafariLauncher
Assertion failed: (access(app_path, F_OK) == 0), function main, file fruitstrap.c, line 718.
Abort trap: 6
$ /usr/local/lib/node_modules/appium/build/fruitstrap/fruitstrap isInstalled --id 8bba7b0ea1df2a1e8944b5272170535dc32f366b --bundle com.bol.SafariLauncher
[....] Waiting for iOS device to be connected
found device id
[ 0%] Found device (8bba7b0ea1df2a1e8944b5272170535dc32f366b), beginning check
App is installed!
[100%] Check completed com.bol.SafariLauncher
This is an issue with Fruitstrap, it seems. Can you try the suggestion from this thread: https://groups.google.com/forum/#!topic/appium-discuss/kDpApPbhpOUCheers,Isaac.
/Users/rkerkhofs/.bash_profile: line 5: ~./profile: No such file or directory
info: Welcome to Appium v0.18.0 (REV 17af02875e50682d6f1bdbd7885dad6e54e1c08a)
info: Appium REST http interface listener started on 127.0.0.1:4723
info: socket.io started
info: Non-default server args: {"udid":"8bba7b0ea1df2a1e8944b5272170535dc32f366b","address":"127.0.0.1","keepArtifacts":true,"noReset":true,"merciful":true,"safari":true}
debug: Appium request initiated at /wd/hub/status
debug: Request received with params: {}
info: Responding to client with success: {"status":0,"value":{"build":{"version":"0.18.0","revision":"17af02875e50682d6f1bdbd7885dad6e54e1c08a"}}}
GET /wd/hub/status 200 5ms - 144b
debug: Appium request initiated at /wd/hub/status
info: Responding to client with success: {"status":0,"value":{"build":{"version":"0.18.0","revision":"17af02875e50682d6f1bdbd7885dad6e54e1c08a"}}}
debug: Request received with params: {}
GET /wd/hub/status 200 2ms - 144b
debug: Appium request initiated at /wd/hub/session
debug: Request received with params: {"desiredCapabilities":{"app":"safari","device":"iPhone","version":"7.1","-U":"8bba7b0ea1df2a1e8944b5272170535dc32f366b"}}
warn: [DEPRECATED] The device capability has been deprecated and will be removed. Please use the platformName capability instead.
warn: [DEPRECATED] The version capability has been deprecated and will be removed. Please use the platformVersion capability instead.
info: Configuring Safari session
info: Using local .zip from desired caps: /Applications/Appium.app/Contents/Resources/node_modules/appium/build/SafariLauncher/SafariLauncher.zip
info: Copying local zip to tmp dir
info: /Applications/Appium.app/Contents/Resources/node_modules/appium/build/SafariLauncher/SafariLauncher.zip copied to /var/folders/vq/9g1c3prx2zd0yryq36h3167c0000gp/T/11441-20825-1phsxsu/appium-app.zip
info: Unzipping /var/folders/vq/9g1c3prx2zd0yryq36h3167c0000gp/T/11441-20825-1phsxsu/appium-app.zip
info: Testing zip archive: /var/folders/vq/9g1c3prx2zd0yryq36h3167c0000gp/T/11441-20825-1phsxsu/appium-app.zip
info: Zip archive tested clean
info: Unzip successful
info: Using locally extracted app: /var/folders/vq/9g1c3prx2zd0yryq36h3167c0000gp/T/11441-20825-1phsxsu/submodules/SafariLauncher/build/Release-iphoneos/SafariLauncher.app
info: Creating new appium session 652724bf-a5ab-4f8e-a212-91d93dcb77d7
info: Removing any remaining instruments sockets
info: Cleaned up instruments socket /tmp/instruments_sock
info: Setting Xcode folder
info: Setting Xcode version
info: Setting iOS SDK Version
info: iOS SDK Version set to 7.1
info: Detecting automation tracetemplate
info: Not auto-detecting udid, running on sim
debug: Creating instruments
warn: Could not parse plist file at /var/folders/vq/9g1c3prx2zd0yryq36h3167c0000gp/T/11441-20825-1phsxsu/submodules/SafariLauncher/build/Release-iphoneos/SafariLauncher.app/en.lproj/Localizable.strings
info: Not setting locale because we're using a real device
info: Not setting iOS and app preferences since we're on a real device
info: Starting iOS device log capture via idevicesyslog
debug: Appium request initiated at /wd/hub/status
info: Responding to client with success: {"status":0,"value":{"build":{"version":"0.18.0","revision":"17af02875e50682d6f1bdbd7885dad6e54e1c08a"}},"sessionId":"652724bf-a5ab-4f8e-a212-91d93dcb77d7"}
debug: Request received with params: {}
GET /wd/hub/status 200 1ms - 199b
info: Not setting device type since we're connected to a device
info: Checking app install status using: /Applications/Appium.app/Contents/Resources/node_modules/appium/build/fruitstrap/fruitstrap isInstalled --id 8bba7b0ea1df2a1e8944b5272170535dc32f366b --bundle com.bytearc.SafariLauncher
debug: Starting instruments
info: Instruments is at: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments
info: [INSTSERVER] Instruments socket server started at /tmp/instruments_sock
info: Attempting to run app on real device with UDID 8bba7b0ea1df2a1e8944b5272170535dc32f366b
info: Spawning instruments with command: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate -w 8bba7b0ea1df2a1e8944b5272170535dc32f366b /var/folders/vq/9g1c3prx2zd0yryq36h3167c0000gp/T/11441-20825-1phsxsu/submodules/SafariLauncher/build/Release-iphoneos/SafariLauncher.app -e UIASCRIPT /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-uiauto/uiauto/bootstrap.js -e UIARESULTSPATH /tmp/appium-instruments
info: And extra without-delay env: {}
info: And launch timeouts (in ms): {"global":90000}
info: [INST] 2014-05-01 06:55:43 +0000 Start: Bootstrapping uiauto
info: [INST] 2014-05-01 06:55:45 +0000 Start: Got user: rkerkhofs
info: [INST] 2014-05-01 06:55:46 +0000 Start: Not using settings file.
info: [INST] 2014-05-01 06:55:46 +0000 Start: isVerbose:false
info: [INST] 2014-05-01 06:55:49 +0000 Start: Using node at: /usr/local/bin/node
info: [INST] 2014-05-01 06:56:01 +0000 Fail: Could not start script, target application is not frontmost.
info: [INST] Instruments Trace Complete (Duration : 20.163944s; Output : /Applications/Appium.app/Contents/Resources/node_modules/appium/instrumentscli104.trace)
info: [INSTSERVER] Instruments exited with code 0
info: Cleaning up after instruments exit
info: Not worrying about instruments exit since we're using SafariLauncher
info: Instruments launched. Starting poll loop for new commands.
info: Not setting bootstrap config because we're on SafariLauncher
info: Not setting initial orientation because we're on SafariLauncher
info: Navigating to most recently opened webview
error: uncaughtException: connect ECONNREFUSED date=Thu May 01 2014 08:56:08 GMT+0200 (CEST), pid=20825, uid=502, gid=20, cwd=/Applications/Appium.app/Contents/Resources/node_modules/appium, execPath=/Applications/Appium.app/Contents/Resources/node/bin/node, version=v0.10.26, argv=[/Applications/Appium.app/Contents/Resources/node/bin/node, /Applications/Appium.app/Contents/Resources/node_modules/appium/lib/server/main.js, --address, 127.0.0.1, --port, 4723, --udid, 8bba7b0ea1df2a1e8944b5272170535dc32f366b, --no-reset, --keep-artifacts, --safari], rss=48177152, heapTotal=35255040, heapUsed=21127688, loadavg=[1.9580078125, 1.99951171875, 1.9228515625], uptime=673642, trace=[column=11, file=net.js, function=errnoException, line=904, method=null, native=false, column=19, file=net.js, function=Object.afterConnect [as oncomplete], line=895, method=afterConnect [as oncomplete], native=false], stack=[Error: connect ECONNREFUSED, at errnoException (net.js:904:11), at Object.afterConnect [as oncomplete] (net.js:895:19)]