Created
January 18, 2017 16:49
-
-
Save vikramvi/4859c8734e5acd5f3c654fdd706ed2e8 to your computer and use it in GitHub Desktop.
Real device installation failure with ipa file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Appium] Welcome to Appium v1.6.3 | |
[Appium] Appium REST http interface listener started on 0.0.0.0:4723 | |
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"newCommandTimeout":999999,"automationName":"XCUITest","platformName":"iOS","xcodeConfigFile":"/Users/vikram-anna/Documents/Noa/Workspace/Mobile-Automation/iOS-Automation/Crew-App-Automation/myconfig.xcconfig","app":"/Users/vikram-anna/Documents/Noa/Workspace/Mobile-Automation/iOS-Automation/crew-ios/Crew_vikram/Crew.ipa","deviceName":"Vikram's iPhone","platformVersion":"10.2","udid":"97d9bb791384407fa67df34c07fbfa70e7efab09"}} | |
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"newCommandTimeout":999999,"automationName":"XCUITest","platformName":"iOS","xcodeConfigFile":"/Users/vikram-anna/Documents/Noa/Workspace/Mobile-Automation/iOS-Automation/Crew-App-Automation/myconfig.xcconfig","app":"/Users/vikram-anna/Documents/Noa/Workspace/Mobile-Automation/iOS-Automation/crew-ios/Crew_vikram/Crew.ipa","deviceName":"Vikram's iPhone","platformVersion":"10.2","udid":"97d9bb791384407fa67df34c07fbfa70e7efab09"},null,null,null,null] | |
[Appium] Creating new XCUITestDriver session | |
[Appium] Capabilities: | |
[Appium] newCommandTimeout: 999999 | |
[Appium] automationName: 'XCUITest' | |
[Appium] platformName: 'iOS' | |
[Appium] xcodeConfigFile: '/Users/vikram-anna/Documents/Noa/Workspace/Mobile-Automation/iOS-Automation/Crew-App-Automation/myconfig.xcconfig' | |
[Appium] app: '/Users/vikram-anna/Documents/Noa/Workspace/Mobile-Automation/iOS-Automation/crew-ios/Crew_vikram/Crew.ipa' | |
[Appium] deviceName: 'Vikram\'s iPhone' | |
[Appium] platformVersion: '10.2' | |
[Appium] udid: '97d9bb791384407fa67df34c07fbfa70e7efab09' | |
[debug] [XCUITest] XCUITestDriver version: 2.4.2 | |
[BaseDriver] Session created with session id: f0b927e4-ec1d-400c-acb9-8f34cfcdd39a | |
[debug] [XCUITest] Xcode version set to '8.2.1' | |
[debug] [XCUITest] iOS SDK Version set to '10.2' | |
[debug] [XCUITest] Available devices: 97d9bb791384407fa67df34c07fbfa70e7efab09 | |
[debug] [XCUITest] Creating iDevice object with udid 97d9bb791384407fa67df34c07fbfa70e7efab09 | |
[XCUITest] Determining device to run tests on: udid: '97d9bb791384407fa67df34c07fbfa70e7efab09', real device: true | |
[BaseDriver] Using local app '/Users/vikram-anna/Documents/Noa/Workspace/Mobile-Automation/iOS-Automation/crew-ios/Crew_vikram/Crew.ipa' | |
[debug] [BaseDriver] Copying local zip to tmp dir | |
[debug] [BaseDriver] Unzipping /var/folders/xk/ryk32cv91t700bvnr4z3f5fw0000gn/T/2017018-48171-mai321.axfr3k57b9/appium-app.zip | |
[debug] [BaseDriver] Testing zip archive: /var/folders/xk/ryk32cv91t700bvnr4z3f5fw0000gn/T/2017018-48171-mai321.axfr3k57b9/appium-app.zip | |
[BaseDriver] Unzipped local app to '/var/folders/xk/ryk32cv91t700bvnr4z3f5fw0000gn/T/2017018-48171-mai321.axfr3k57b9/Payload/Crew.app' | |
[debug] [XCUITest] Checking whether app '/var/folders/xk/ryk32cv91t700bvnr4z3f5fw0000gn/T/2017018-48171-mai321.axfr3k57b9/Payload/Crew.app' is actually present | |
[debug] [XCUITest] App is present | |
[debug] [ios-app-utils] Getting bundle ID from app '/var/folders/xk/ryk32cv91t700bvnr4z3f5fw0000gn/T/2017018-48171-mai321.axfr3k57b9/Payload/Crew.app': 'one.noa.crew' | |
[debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog | |
[debug] [iOSLog] Found idevicesyslog: '/usr/local/bin/idevicesyslog' | |
[XCUITest] Setting up real device | |
[debug] [XCUITest] App is already installed. | |
[debug] [XCUITest] Full reset not requested. No need to install. | |
[XCUITest] Using WDA path: '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent' | |
[XCUITest] Using WDA agent: '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj' | |
[XCUITest] Launching WebDriverAgent on the device | |
[debug] [XCUITest] Carthage found: /usr/local/bin/carthage | |
[debug] [XCUITest] Killing hanging processes | |
[debug] [XCUITest] Using real device logger 'idevicesyslog' | |
[debug] [XCUITest] Using Xcode configuration file: '/Users/vikram-anna/Documents/Noa/Workspace/Mobile-Automation/iOS-Automation/Crew-App-Automation/myconfig.xcconfig' | |
[debug] [XCUITest] Beginning test with command 'xcodebuild build test -project /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=97d9bb791384407fa67df34c07fbfa70e7efab09 -configuration Debug -xcconfig /Users/vikram-anna/Documents/Noa/Workspace/Mobile-Automation/iOS-Automation/Crew-App-Automation/myconfig.xcconfig' in directory '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent' | |
[debug] [XCUITest] Unable to get device time. Using local system time | |
[debug] [XCUITest] Output from idevicedate: Wed Jan 18 17:46:24 CET 2017 | |
[XCUITest] Waiting for WebDriverAgent to start on device | |
[debug] [XCUITest] Log file for xcodebuild test: /Users/vikram-anna/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/7402625C-5383-45C6-BD39-FF3ECEC81DE1/Session-WebDriverAgentRunner-2017-01-18_174625-M16JKu.log | |
[Xcode] 2017-01-18 17:46:25.467 xcodebuild[48206:3544649] Error Domain=IDETestOperationsObserverErrorDomain Code=3 "Test operation was canceled. If you believe this error represents a bug, please attach the log file at /Users/vikram-anna/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/7402625C-5383-45C6-BD39-FF3ECEC81DE1/Session-WebDriverAgentRunner-2017-01-18_174625-M16JKu.log" UserInfo={NSLocalizedDescription=Test operation was canceled. If you believe this error represents a bug, please attach the log file at /Users/vikram-anna/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/7402625C-5383-45C6-BD39-FF3ECEC81DE1/Session-WebDriverAgentRunner-2017-01-18_174625-M16JKu.log} | |
[Xcode] | |
Testing failed: | |
No profiles for 'com.facebook.WebDriverAgentRunner' were found: Xcode couldn't find a provisioning profile matching 'com.facebook.WebDriverAgentRunner'. | |
Code signing is required for product type 'UI Testing Bundle' in SDK 'iOS 10.2' | |
** TEST FAILED ** | |
[Xcode] | |
The following build commands failed: | |
Check dependencies | |
(1 failure) | |
[XCUITest] xcodebuild exited with code '65' and signal 'null' | |
[debug] [XCUITest] xcodebuild failure warrants retry. Retrying... | |
[XCUITest] Shutting down sub-processes | |
[XCUITest] Shutting down Logger process (pid 48207) | |
[XCUITest] System log exited with code '0' | |
[debug] [XCUITest] Removing WDA application from device | |
[XCUITest] Launching WebDriverAgent on the device | |
[debug] [XCUITest] Carthage found: /usr/local/bin/carthage | |
[debug] [XCUITest] Killing hanging processes | |
[debug] [XCUITest] Using real device logger 'idevicesyslog' | |
[debug] [XCUITest] Using Xcode configuration file: '/Users/vikram-anna/Documents/Noa/Workspace/Mobile-Automation/iOS-Automation/Crew-App-Automation/myconfig.xcconfig' | |
[debug] [XCUITest] Beginning test with command 'xcodebuild build test -project /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=97d9bb791384407fa67df34c07fbfa70e7efab09 -configuration Debug -xcconfig /Users/vikram-anna/Documents/Noa/Workspace/Mobile-Automation/iOS-Automation/Crew-App-Automation/myconfig.xcconfig' in directory '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent' | |
[debug] [XCUITest] Unable to get device time. Using local system time | |
[debug] [XCUITest] Output from idevicedate: Wed Jan 18 17:46:25 CET 2017 | |
[XCUITest] Waiting for WebDriverAgent to start on device | |
[debug] [XCUITest] Log file for xcodebuild test: /Users/vikram-anna/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/7CA322B2-343E-4D82-BC8A-C9E004A10069/Session-WebDriverAgentRunner-2017-01-18_174626-s9qSel.log | |
[Xcode] 2017-01-18 17:46:26.965 xcodebuild[48243:3544774] Error Domain=IDETestOperationsObserverErrorDomain Code=3 "Test operation was canceled. If you believe this error represents a bug, please attach the log file at /Users/vikram-anna/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/7CA322B2-343E-4D82-BC8A-C9E004A10069/Session-WebDriverAgentRunner-2017-01-18_174626-s9qSel.log" UserInfo={NSLocalizedDescription=Test operation was canceled. If you believe this error represents a bug, please attach the log file at /Users/vikram-anna/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/7CA322B2-343E-4D82-BC8A-C9E004A10069/Session-WebDriverAgentRunner-2017-01-18_174626-s9qSel.log} | |
[Xcode] 2017-01-18 17:46:26.966 xcodebuild[48243:3544778] Connection peer refused channel request for "dtxproxy:XCTestManager_IDEInterface:XCTestManager_DaemonConnectionInterface"; channel canceled <DTXChannel: 0x7fa6b6738d70> | |
[Xcode] Code signing is required for product type 'UI Testing Bundle' in SDK 'iOS 10.2' | |
[Xcode] Code signing is required for product type 'UI Testing Bundle' in SDK 'iOS 10.2' | |
[Xcode] | |
[Xcode] | |
Testing failed: | |
No profiles for 'com.facebook.WebDriverAgentRunner' were found: Xcode couldn't find a provisioning profile matching 'com.facebook.WebDriverAgentRunner'. | |
Code signing is required for product type 'UI Testing Bundle' in SDK 'iOS 10.2' | |
[Xcode] ** TEST FAILED ** | |
The following build commands failed: | |
Check dependencies | |
(1 failure) | |
[XCUITest] xcodebuild exited with code '65' and signal 'null' | |
[XCUITest] Error: xcodebuild failed with code 65 | |
at SubProcess.<anonymous> (../../lib/webdriveragent.js:355:25) | |
at emitTwo (events.js:106:13) | |
at SubProcess.emit (events.js:191:7) | |
at ChildProcess.<anonymous> (../../lib/teen_process.js:197:14) | |
at emitTwo (events.js:106:13) | |
at ChildProcess.emit (events.js:191:7) | |
at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12) | |
Error: xcodebuild failed with code 65 | |
at SubProcess.<anonymous> (../../lib/webdriveragent.js:355:25) | |
at emitTwo (events.js:106:13) | |
at SubProcess.emit (events.js:191:7) | |
at ChildProcess.<anonymous> (../../lib/teen_process.js:197:14) | |
at emitTwo (events.js:106:13) | |
at ChildProcess.emit (events.js:191:7) | |
at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12) | |
[XCUITest] Shutting down sub-processes | |
[XCUITest] Shutting down Logger process (pid 48244) | |
[XCUITest] System log exited with code '0' | |
[debug] [XCUITest] Running ios real device reset flow | |
[debug] [XCUITest] Resetting simulator | |
[debug] [iOSLog] Stopping iOS log capture | |
[MJSONWP] Encountered internal error running command: Error: xcodebuild failed with code 65 | |
at SubProcess.<anonymous> (../../lib/webdriveragent.js:355:25) | |
at emitTwo (events.js:106:13) | |
at SubProcess.emit (events.js:191:7) | |
at ChildProcess.<anonymous> (../../lib/teen_process.js:197:14) | |
at emitTwo (events.js:106:13) | |
at ChildProcess.emit (events.js:191:7) | |
at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12) | |
[HTTP] <-- POST /wd/hub/session 500 3736 ms - 167 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment