responseHandler.js:24:12 [master] pid:3226 Recieve HTTP Request from Client: method: POST url: /wd/hub/session, jsonBody: {"desiredCapabilities":{"autoAcceptAlerts":true,"platformName":"iOS","platformVersion":"9.3","deviceName":"iPhone 6s Plus","app":"/Users/admin/Downloads/macaca-test-sample-master/app/ios-app-bootstrap.zip"}}
session.js:24:10 [master] pid:3226 Creating session, sessionId: 67986dd4-cf46-49a0-92b2-65fcfa35724e.
helper.js:205:12 [master] pid:3226 Unzipping local app form /Users/admin/Downloads/macaca-test-sample-master/app/ios-app-bootstrap.zip
Get bundleId xudafeng.ios-app-bootstrap from plist /var/folders/dh/fvsjmhs56jx_yn2j4hdzwhym0000gn/T/ios-app-bootstrap.app/Info.plist
macaca-ios.js:181:10 [master] pid:3226 Get available devices [{"name":"iPhone 4s","udid":"C5590B3A-7571-425C-9CC9-92C0997EB0DB","state":"Shutdown","available":true,"runtime":"iOS 9.3"},{"name":"iPhone 5","udid":"440FC1A8-D843-4136-B233-659F632D6C2E","state":"Shutdown","available":true,"runtime":"iOS 9.3"},{"name":"iPhone 5s","udid":"6F898BC1-B45A-4CE1-9A9C-B720FB1DEBCD","state":"Shutdown","available":true,"runtime":"iOS 9.3"},{"name":"iPhone 6","udid":"D0464A88-230B-41BE-803D-13FCD27EBAC0","state":"Shutdown","available":true,"runtime":"iOS 9.3"},{"name":"iPhone 6 Plus","udid":"D379E69D-2D45-4AA9-B23E-C5E7DA1EA3FB","state":"Shutdown","available":true,"runtime":"iOS 9.3"},{"name":"iPhone 6s","udid":"9F00E9A0-6C8F-4061-B4F6-1EA9F4FA852C","state":"Shutdown","available":true,"runtime":"iOS 9.3"},{"name":"iPhone 6s Plus","udid":"2B47D1C8-0E80-4820-8000-0509B7DC01CF","state":"Booted","available":true,"runtime":"iOS 9.3"},{"name":"iPad 2","udid":"970D52B4-08EF-4FC5-8FC5-2A4D731EEB53","state":"Shutdown","available":true,"runtime":"iOS 9.3"},{"name":"iPad Retina","udid":"B23C8F64-968F-4BAC-B40C-772F3A3BA2B7","state":"Shutdown","available":true,"runtime":"iOS 9.3"},{"name":"iPad Air","udid":"79A9E064-7F63-4F9B-9083-105CC436F8C6","state":"Shutdown","available":true,"runtime":"iOS 9.3"},{"name":"iPad Air 2","udid":"43303CBD-5C14-41D1-8FA4-85D1E74E688E","state":"Shutdown","available":true,"runtime":"iOS 9.3"},{"name":"iPad Pro","udid":"F8446078-97E1-4924-9306-1B6B3AE605F9","state":"Shutdown","available":true,"runtime":"iOS 9.3"},{"name":"Apple TV 1080p","udid":"C5EC5A2A-3AF4-4412-98FA-352B2F5A624C","state":"Shutdown","available":true,"runtime":"tvOS 9.2"},{"name":"Apple Watch - 38mm","udid":"C1E12FD1-B082-4FFE-9860-E468A0F276F5","state":"Shutdown","available":true,"runtime":"watchOS 2.2"},{"name":"Apple Watch - 42mm","udid":"57D8E2CB-15DA-454B-934C-8465CA2AC0C7","state":"Shutdown","available":true,"runtime":"watchOS 2.2"}]
agent path: /usr/local/lib/node_modules/macaca-cli/node_modules/webdriver-server/node_modules/node-installer/node_modules/macaca-ios/node_modules/xctest-client/node_modules/webdriveragent/WebDriverAgent/WebDriverAgent.xcworkspace
macaca-ios.js:131:10 [master] pid:3226 {
"bundleId": "xudafeng.ios-app-bootstrap",
"platformName": "iOS",
"platformVersion": "9.3",
"app": "/var/folders/dh/fvsjmhs56jx_yn2j4hdzwhym0000gn/T/ios-app-bootstrap.app/"
}
xctest-client.js:246:12 [master] pid:3226 xcode version: 7.3.1
xctest-client.js:219:14 [master] pid:3226 2016-05-09 10:17:40.233 xcodebuild[3364:70199] [MT] IDETestOperationsObserverDebug: (E40CDF7F-5622-455D-BB37-463C134015AA) Beginning test session E40CDF7F-5622-455D-BB37-463C134015AA with Xcode 7D1014 on target <DVTiPhoneSimulator: 0x7ff14c72a8d0> {
SimDevice: SimDevice : iPhone 6s Plus (2B47D1C8-0E80-4820-8000-0509B7DC01CF) : state={ Booted } deviceType={ SimDeviceType : com.apple.CoreSimulator.SimDeviceType.iPhone-6s-Plus } runtime={ SimRuntime : 9.3 (13E230) - com.apple.CoreSimulator.SimRuntime.iOS-9-3 }
} (9.3 (13E230))
xctest-client.js:219:14 [master] pid:3226 2016-05-09 10:17:40.240 xcodebuild[3277:69030] [MT] IDETestOperationsObserverDebug: (54F8E329-82D8-46FC-8E2D-BD6574F7422B) Beginning test session 54F8E329-82D8-46FC-8E2D-BD6574F7422B with Xcode 7D1014 on target <DVTiPhoneSimulator: 0x7ff97ad7c6c0> {
SimDevice: SimDevice : iPhone 6s Plus (2B47D1C8-0E80-4820-8000-0509B7DC01CF) : state={ Booted } deviceType={ SimDeviceType : com.apple.CoreSimulator.SimDeviceType.iPhone-6s-Plus } runtime={ SimRuntime : 9.3 (13E230) - com.apple.CoreSimulator.SimRuntime.iOS-9-3 }
} (9.3 (13E230))
xctest-client.js:219:14 [master] pid:3226 2016-05-09 10:17:40.250 xcodebuild[3364:70209] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
/Users/admin/Library/Developer/Xcode/DerivedData/WebDriverAgent-awzftkcqdhbxwscoabxyxnwjqjqc/Logs/Test/22503484-3171-43D3-AB81-8121D232E8D7/Session-2016-05-09_10:17:40-rWpoQ0.log
xctest-client.js:219:14 [master] pid:3226 2016-05-09 10:17:40.251 xcodebuild[3277:70309] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
/Users/admin/Library/Developer/Xcode/DerivedData/WebDriverAgent-awzftkcqdhbxwscoabxyxnwjqjqc/Logs/Test/837D7BD5-39AA-4B1F-95F4-C79136DE6C3D/Session-2016-05-09_10:17:40-MAAoxR.log
xctest-client.js:219:14 [master] pid:3226
Testing failed:
Command /bin/sh failed with exit code 1
** TEST FAILED **
xctest-client.js:219:14 [master] pid:3226
The following build commands failed:
PhaseScriptExecution Copy\ Pods\ Resources /Users/admin/Library/Developer/Xcode/DerivedData/WebDriverAgent-awzftkcqdhbxwscoabxyxnwjqjqc/Build/Intermediates/WebDriverAgent.build/Debug-iphonesimulator/XCTUITestRunner.build/Script-84E99BA5A11D6EF368DAFB3C.sh
(1 failure)
xctest-client.js:227:14 [master] pid:3226 xctest client exit with code: 65, signal: null
responseHandler.js:24:12 [master] pid:3226 Recieve HTTP Request from Client: method: POST url: /wd/hub/session, jsonBody: {"desiredCapabilities":{"autoAcceptAlerts":true,"platformName":"iOS","platformVersion":"9.3","deviceName":"iPhone 6s Plus","app":"/Users/admin/Downloads/macaca-test-sample-master/app/ios-app-bootstrap.zip"}}
session.js:24:10 [master] pid:3226 Creating session, sessionId: 669d34d9-f40a-4327-82cc-476c98a5298b.
helper.js:205:12 [master] pid:3226 Unzipping local app form /Users/admin/Downloads/macaca-test-sample-master/app/ios-app-bootstrap.zip
Get bundleId xudafeng.ios-app-bootstrap from plist /var/folders/dh/fvsjmhs56jx_yn2j4hdzwhym0000gn/T/ios-app-bootstrap.app/Info.plist
macaca-ios.js:181:10 [master] pid:3226 Get available devices [{"name":"iPhone 4s","udid":"C5590B3A-7571-425C-9CC9-92C0997EB0DB","state":"Shutdown","available":true,"runtime":"iOS 9.3"},{"name":"iPhone 5","udid":"440FC1A8-D843-4136-B233-659F632D6C2E","state":"Shutdown","available":true,"runtime":"iOS 9.3"},{"name":"iPhone 5s","udid":"6F898BC1-B45A-4CE1-9A9C-B720FB1DEBCD","state":"Shutdown","available":true,"runtime":"iOS 9.3"},{"name":"iPhone 6","udid":"D0464A88-230B-41BE-803D-13FCD27EBAC0","state":"Shutdown","available":true,"runtime":"iOS 9.3"},{"name":"iPhone 6 Plus","udid":"D379E69D-2D45-4AA9-B23E-C5E7DA1EA3FB","state":"Shutdown","available":true,"runtime":"iOS 9.3"},{"name":"iPhone 6s","udid":"9F00E9A0-6C8F-4061-B4F6-1EA9F4FA852C","state":"Shutdown","available":true,"runtime":"iOS 9.3"},{"name":"iPhone 6s Plus","udid":"2B47D1C8-0E80-4820-8000-0509B7DC01CF","state":"Booted","available":true,"runtime":"iOS 9.3"},{"name":"iPad 2","udid":"970D52B4-08EF-4FC5-8FC5-2A4D731EEB53","state":"Shutdown","available":true,"runtime":"iOS 9.3"},{"name":"iPad Retina","udid":"B23C8F64-968F-4BAC-B40C-772F3A3BA2B7","state":"Shutdown","available":true,"runtime":"iOS 9.3"},{"name":"iPad Air","udid":"79A9E064-7F63-4F9B-9083-105CC436F8C6","state":"Shutdown","available":true,"runtime":"iOS 9.3"},{"name":"iPad Air 2","udid":"43303CBD-5C14-41D1-8FA4-85D1E74E688E","state":"Shutdown","available":true,"runtime":"iOS 9.3"},{"name":"iPad Pro","udid":"F8446078-97E1-4924-9306-1B6B3AE605F9","state":"Shutdown","available":true,"runtime":"iOS 9.3"},{"name":"Apple TV 1080p","udid":"C5EC5A2A-3AF4-4412-98FA-352B2F5A624C","state":"Shutdown","available":true,"runtime":"tvOS 9.2"},{"name":"Apple Watch - 38mm","udid":"C1E12FD1-B082-4FFE-9860-E468A0F276F5","state":"Shutdown","available":true,"runtime":"watchOS 2.2"},{"name":"Apple Watch - 42mm","udid":"57D8E2CB-15DA-454B-934C-8465CA2AC0C7","state":"Shutdown","available":true,"runtime":"watchOS 2.2"}]
xctest-client.js:219:14 [master] pid:3226 ** TEST FAILED **
xctest-client.js:227:14 [master] pid:3226 xctest client exit with code: 65, signal: null
agent path: /usr/local/lib/node_modules/macaca-cli/node_modules/webdriver-server/node_modules/node-installer/node_modules/macaca-ios/node_modules/xctest-client/node_modules/webdriveragent/WebDriverAgent/WebDriverAgent.xcworkspace
macaca-ios.js:131:10 [master] pid:3226 {
"bundleId": "xudafeng.ios-app-bootstrap",
"platformName": "iOS",
"platformVersion": "9.3",
"app": "/var/folders/dh/fvsjmhs56jx_yn2j4hdzwhym0000gn/T/ios-app-bootstrap.app/"
}
xctest-client.js:246:12 [master] pid:3226 xcode version: 7.3.1
xctest-client.js:219:14 [master] pid:3226 2016-05-09 10:19:39.241 xcodebuild[3514:72651] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
/Users/admin/Library/Developer/Xcode/DerivedData/WebDriverAgent-awzftkcqdhbxwscoabxyxnwjqjqc/Logs/Test/558D79BE-1B0C-4F62-BC17-0C711F8CEF43/Session-2016-05-09_10:19:39-DoNtyt.log
xctest-client.js:219:14 [master] pid:3226 2016-05-09 10:19:39.241 xcodebuild[3514:72224] [MT] IDETestOperationsObserverDebug: (D2FDFE3B-AEC3-41FF-A9CD-DB5B93132C9C) Beginning test session D2FDFE3B-AEC3-41FF-A9CD-DB5B93132C9C with Xcode 7D1014 on target <DVTiPhoneSimulator: 0x7f9f2c45e300> {
SimDevice: SimDevice : iPhone 6s Plus (2B47D1C8-0E80-4820-8000-0509B7DC01CF) : state={ Booted } deviceType={ SimDeviceType : com.apple.CoreSimulator.SimDeviceType.iPhone-6s-Plus } runtime={ SimRuntime : 9.3 (13E230) - com.apple.CoreSimulator.SimRuntime.iOS-9-3 }
} (9.3 (13E230))
responseHandler.js:24:12 [master] pid:3226 Recieve HTTP Request from Client: method: POST url: /wd/hub/session, jsonBody: {"desiredCapabilities":{"autoAcceptAlerts":true,"platformName":"iOS","platformVersion":"9.3","deviceName":"iPhone 6s Plus","app":"/Users/admin/Downloads/macaca-test-sample-master/app/ios-app-bootstrap.zip"}}
session.js:24:10 [master] pid:3226 Creating session, sessionId: 6da9bb29-b0d0-40ec-be39-793c9124be29.
helper.js:205:12 [master] pid:3226 Unzipping local app form /Users/admin/Downloads/macaca-test-sample-master/app/ios-app-bootstrap.zip
Get bundleId xudafeng.ios-app-bootstrap from plist /var/folders/dh/fvsjmhs56jx_yn2j4hdzwhym0000gn/T/ios-app-bootstrap.app/Info.plist
macaca-ios.js:181:10 [master] pid:3226 Get available devices [{"name":"iPhone 4s","udid":"C5590B3A-7571-425C-9CC9-92C0997EB0DB","state":"Shutdown","available":true,"runtime":"iOS 9.3"},{"name":"iPhone 5","udid":"440FC1A8-D843-4136-B233-659F632D6C2E","state":"Shutdown","available":true,"runtime":"iOS 9.3"},{"name":"iPhone 5s","udid":"6F898BC1-B45A-4CE1-9A9C-B720FB1DEBCD","state":"Shutdown","available":true,"runtime":"iOS 9.3"},{"name":"iPhone 6","udid":"D0464A88-230B-41BE-803D-13FCD27EBAC0","state":"Shutdown","available":true,"runtime":"iOS 9.3"},{"name":"iPhone 6 Plus","udid":"D379E69D-2D45-4AA9-B23E-C5E7DA1EA3FB","state":"Shutdown","available":true,"runtime":"iOS 9.3"},{"name":"iPhone 6s","udid":"9F00E9A0-6C8F-4061-B4F6-1EA9F4FA852C","state":"Shutdown","available":true,"runtime":"iOS 9.3"},{"name":"iPhone 6s Plus","udid":"2B47D1C8-0E80-4820-8000-0509B7DC01CF","state":"Booted","available":true,"runtime":"iOS 9.3"},{"name":"iPad 2","udid":"970D52B4-08EF-4FC5-8FC5-2A4D731EEB53","state":"Shutdown","available":true,"runtime":"iOS 9.3"},{"name":"iPad Retina","udid":"B23C8F64-968F-4BAC-B40C-772F3A3BA2B7","state":"Shutdown","available":true,"runtime":"iOS 9.3"},{"name":"iPad Air","udid":"79A9E064-7F63-4F9B-9083-105CC436F8C6","state":"Shutdown","available":true,"runtime":"iOS 9.3"},{"name":"iPad Air 2","udid":"43303CBD-5C14-41D1-8FA4-85D1E74E688E","state":"Shutdown","available":true,"runtime":"iOS 9.3"},{"name":"iPad Pro","udid":"F8446078-97E1-4924-9306-1B6B3AE605F9","state":"Shutdown","available":true,"runtime":"iOS 9.3"},{"name":"Apple TV 1080p","udid":"C5EC5A2A-3AF4-4412-98FA-352B2F5A624C","state":"Shutdown","available":true,"runtime":"tvOS 9.2"},{"name":"Apple Watch - 38mm","udid":"C1E12FD1-B082-4FFE-9860-E468A0F276F5","state":"Shutdown","available":true,"runtime":"watchOS 2.2"},{"name":"Apple Watch - 42mm","udid":"57D8E2CB-15DA-454B-934C-8465CA2AC0C7","state":"Shutdown","available":true,"runtime":"watchOS 2.2"}]
xctest-client.js:219:14 [master] pid:3226 ** TEST FAILED **
xctest-client.js:227:14 [master] pid:3226 xctest client exit with code: 65, signal: null
agent path: /usr/local/lib/node_modules/macaca-cli/node_modules/webdriver-server/node_modules/node-installer/node_modules/macaca-ios/node_modules/xctest-client/node_modules/webdriveragent/WebDriverAgent/WebDriverAgent.xcworkspace
macaca-ios.js:131:10 [master] pid:3226 {
"bundleId": "xudafeng.ios-app-bootstrap",
"platformName": "iOS",
"platformVersion": "9.3",
"app": "/var/folders/dh/fvsjmhs56jx_yn2j4hdzwhym0000gn/T/ios-app-bootstrap.app/"
}
xctest-client.js:246:12 [master] pid:3226 xcode version: 7.3.1
xctest-client.js:219:14 [master] pid:3226 2016-05-09 10:21:45.568 xcodebuild[3663:74498] [MT] IDETestOperationsObserverDebug: (8716F81C-E12B-423F-91C0-39D4235E22E2) Beginning test session 8716F81C-E12B-423F-91C0-39D4235E22E2 with Xcode 7D1014 on target <DVTiPhoneSimulator: 0x7fb63bccb5e0> {
SimDevice: SimDevice : iPhone 6s Plus (2B47D1C8-0E80-4820-8000-0509B7DC01CF) : state={ Booted } deviceType={ SimDeviceType : com.apple.CoreSimulator.SimDeviceType.iPhone-6s-Plus } runtime={ SimRuntime : 9.3 (13E230) - com.apple.CoreSimulator.SimRuntime.iOS-9-3 }
} (9.3 (13E230))
xctest-client.js:219:14 [master] pid:3226 2016-05-09 10:21:45.569 xcodebuild[3663:74912] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
/Users/admin/Library/Developer/Xcode/DerivedData/WebDriverAgent-awzftkcqdhbxwscoabxyxnwjqjqc/Logs/Test/19C16D3E-87FF-40AD-AC82-33D51CF06CF9/Session-2016-05-09_10:21:45-kmFUwp.log
responseHandler.js:24:12 [master] pid:3226 Recieve HTTP Request from Client: method: DELETE url: /wd/hub/session, jsonBody: {}
responseHandler.js:32:14 [master] pid:3226 Send HTTP Respone to Client: 405 Method Not Allowed
4) "after all" hook
macaca mobile sample
responseHandler.js:24:12 [master] pid:3226 Recieve HTTP Request from Client: method: POST url: /wd/hub/session, jsonBody: {"desiredCapabilities":{"autoAcceptAlerts":true,"platformName":"iOS","platformVersion":"9.3","deviceName":"iPhone 6s Plus","app":"/Users/admin/Downloads/macaca-test-sample-master/app/ios-app-bootstrap.zip"}}
session.js:24:10 [master] pid:3226 Creating session, sessionId: 37229000-2503-4c1c-a30b-d4a4e3fd958f.
helper.js:205:12 [master] pid:3226 Unzipping local app form /Users/admin/Downloads/macaca-test-sample-master/app/ios-app-bootstrap.zip
Get bundleId xudafeng.ios-app-bootstrap from plist /var/folders/dh/fvsjmhs56jx_yn2j4hdzwhym0000gn/T/ios-app-bootstrap.app/Info.plist
macaca-ios.js:181:10 [master] pid:3226 Get available devices [{"name":"iPhone 4s","udid":"C5590B3A-7571-425C-9CC9-92C0997EB0DB","state":"Shutdown","available":true,"runtime":"iOS 9.3"},{"name":"iPhone 5","udid":"440FC1A8-D843-4136-B233-659F632D6C2E","state":"Shutdown","available":true,"runtime":"iOS 9.3"},{"name":"iPhone 5s","udid":"6F898BC1-B45A-4CE1-9A9C-B720FB1DEBCD","state":"Shutdown","available":true,"runtime":"iOS 9.3"},{"name":"iPhone 6","udid":"D0464A88-230B-41BE-803D-13FCD27EBAC0","state":"Shutdown","available":true,"runtime":"iOS 9.3"},{"name":"iPhone 6 Plus","udid":"D379E69D-2D45-4AA9-B23E-C5E7DA1EA3FB","state":"Shutdown","available":true,"runtime":"iOS 9.3"},{"name":"iPhone 6s","udid":"9F00E9A0-6C8F-4061-B4F6-1EA9F4FA852C","state":"Shutdown","available":true,"runtime":"iOS 9.3"},{"name":"iPhone 6s Plus","udid":"2B47D1C8-0E80-4820-8000-0509B7DC01CF","state":"Booted","available":true,"runtime":"iOS 9.3"},{"name":"iPad 2","udid":"970D52B4-08EF-4FC5-8FC5-2A4D731EEB53","state":"Shutdown","available":true,"runtime":"iOS 9.3"},{"name":"iPad Retina","udid":"B23C8F64-968F-4BAC-B40C-772F3A3BA2B7","state":"Shutdown","available":true,"runtime":"iOS 9.3"},{"name":"iPad Air","udid":"79A9E064-7F63-4F9B-9083-105CC436F8C6","state":"Shutdown","available":true,"runtime":"iOS 9.3"},{"name":"iPad Air 2","udid":"43303CBD-5C14-41D1-8FA4-85D1E74E688E","state":"Shutdown","available":true,"runtime":"iOS 9.3"},{"name":"iPad Pro","udid":"F8446078-97E1-4924-9306-1B6B3AE605F9","state":"Shutdown","available":true,"runtime":"iOS 9.3"},{"name":"Apple TV 1080p","udid":"C5EC5A2A-3AF4-4412-98FA-352B2F5A624C","state":"Shutdown","available":true,"runtime":"tvOS 9.2"},{"name":"Apple Watch - 38mm","udid":"C1E12FD1-B082-4FFE-9860-E468A0F276F5","state":"Shutdown","available":true,"runtime":"watchOS 2.2"},{"name":"Apple Watch - 42mm","udid":"57D8E2CB-15DA-454B-934C-8465CA2AC0C7","state":"Shutdown","available":true,"runtime":"watchOS 2.2"}]
agent path: /usr/local/lib/node_modules/macaca-cli/node_modules/webdriver-server/node_modules/node-installer/node_modules/macaca-ios/node_modules/xctest-client/node_modules/webdriveragent/WebDriverAgent/WebDriverAgent.xcworkspace
macaca-ios.js:131:10 [master] pid:3226 {
"bundleId": "xudafeng.ios-app-bootstrap",
"platformName": "iOS",
"platformVersion": "9.3",
"app": "/var/folders/dh/fvsjmhs56jx_yn2j4hdzwhym0000gn/T/ios-app-bootstrap.app/"
}
xctest-client.js:246:12 [master] pid:3226 xcode version: 7.3.1
xctest-client.js:158:16 [master] pid:3226 bootstrap exit with code: 1, signal: null
responseHandler.js:63:12 [master] pid:3226 Send Error Respone to Client: undefined