Skip to content

Instantly share code, notes, and snippets.

@ledinhphuong
Last active April 23, 2018 14:16
Show Gist options
  • Save ledinhphuong/d431cfe5298788f9355d8cdff438bd27 to your computer and use it in GitHub Desktop.
Save ledinhphuong/d431cfe5298788f9355d8cdff438bd27 to your computer and use it in GitHub Desktop.
Failed to run test on iPad Air 2 WIFI (iOS 11.0) - appium logs
2018-04-23 14:06:18:158 - [Appium] Appium support for versions of node < 8 has been deprecated and will be removed in a future version. Please upgrade!
2018-04-23 14:06:18:191 - [Appium] Welcome to Appium v1.8.0
2018-04-23 14:06:18:193 - [Appium] Non-default server args:
2018-04-23 14:06:18:194 - [Appium] logTimestamp: true
2018-04-23 14:06:18:194 - [Appium] defaultDevice: true
2018-04-23 14:06:18:195 - [Appium] defaultCapabilities: {
2018-04-23 14:06:18:195 - [Appium] udid: xxx
2018-04-23 14:06:18:195 - [Appium] showIOSLog: false
2018-04-23 14:06:18:196 - [Appium] showXcodeLog: true
2018-04-23 14:06:18:196 - [Appium] platformName: iOS
2018-04-23 14:06:18:196 - [Appium] automationName: XCUITest
2018-04-23 14:06:18:196 - [Appium] clearSystemFiles: true
2018-04-23 14:06:18:197 - [Appium] simpleIsVisibleCheck: true
2018-04-23 14:06:18:197 - [Appium] wdaStartupRetries: 2
2018-04-23 14:06:18:197 - [Appium] }
2018-04-23 14:06:18:198 - [Appium] defaultCommandTimeout: 7200
2018-04-23 14:06:18:198 - [Appium] Default capabilities, which will be added to each request unless overridden by desired capabilities:
2018-04-23 14:06:18:199 - [Appium] udid: xxx
2018-04-23 14:06:18:199 - [Appium] showIOSLog: false
2018-04-23 14:06:18:199 - [Appium] showXcodeLog: true
2018-04-23 14:06:18:199 - [Appium] platformName: iOS
2018-04-23 14:06:18:199 - [Appium] automationName: XCUITest
2018-04-23 14:06:18:199 - [Appium] clearSystemFiles: true
2018-04-23 14:06:18:200 - [Appium] simpleIsVisibleCheck: true
2018-04-23 14:06:18:200 - [Appium] wdaStartupRetries: 2
2018-04-23 14:06:18:233 - [Appium] Appium REST http interface listener started on 0.0.0.0:4723
2018-04-23 14:06:37:108 - [HTTP] --> POST /wd/hub/session
2018-04-23 14:06:37:108 - [HTTP] {"desiredCapabilities":{"platformName":"iOS","deviceName":"iPad","bundleId":"com.apple.AppStore","captureScreenshots":false,"newCommandTimeout":180000}}
2018-04-23 14:06:37:111 - [debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"platformName":"iOS","deviceName":"iPad","bundleId":"com.apple.AppStore","captureScreenshots":false,"newCommandTimeout":180000},null,null]
2018-04-23 14:06:37:112 - [debug] [BaseDriver] Event 'newSessionRequested' logged at 1524492397112 (21:06:37 GMT+0700 (+07))
2018-04-23 14:06:37:115 - [Appium] Creating new XCUITestDriver (v2.76.2) session
2018-04-23 14:06:37:115 - [Appium] Capabilities:
2018-04-23 14:06:37:115 - [Appium] udid: xxx
2018-04-23 14:06:37:116 - [Appium] showIOSLog: false
2018-04-23 14:06:37:116 - [Appium] showXcodeLog: true
2018-04-23 14:06:37:116 - [Appium] platformName: iOS
2018-04-23 14:06:37:116 - [Appium] automationName: XCUITest
2018-04-23 14:06:37:116 - [Appium] clearSystemFiles: true
2018-04-23 14:06:37:117 - [Appium] simpleIsVisibleCheck: true
2018-04-23 14:06:37:117 - [Appium] wdaStartupRetries: 2
2018-04-23 14:06:37:117 - [Appium] deviceName: iPad
2018-04-23 14:06:37:117 - [Appium] bundleId: com.apple.AppStore
2018-04-23 14:06:37:118 - [Appium] captureScreenshots: false
2018-04-23 14:06:37:118 - [Appium] newCommandTimeout: 180000
2018-04-23 14:06:37:123 - [debug] [BaseDriver] Creating session with MJSONWP desired capabilities: {"udid":"cafb43d67468a5b5a5...
2018-04-23 14:06:37:131 - [BaseDriver] The following capabilities were provided, but are not recognized by appium: captureScreenshots.
2018-04-23 14:06:37:171 - [BaseDriver] Session created with session id: 9621701a-8263-44ca-90f1-8c02881d6939
2018-04-23 14:06:37:182 - [debug] [XCUITest] Current user: 'phuongdle'
2018-04-23 14:06:37:329 - [debug] [XCUITest] Xcode version set to '9.3' (tools v9.3.0.0.1.1521514116)
2018-04-23 14:06:37:341 - [debug] [XCUITest] iOS SDK Version set to '11.3'
2018-04-23 14:06:37:341 - [debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1524492397341 (21:06:37 GMT+0700 (+07))
2018-04-23 14:06:37:549 - [debug] [XCUITest] Available devices: xxx
2018-04-23 14:06:37:550 - [debug] [XCUITest] Creating iDevice object with udid 'xxx'
2018-04-23 14:06:37:551 - [XCUITest] Determining device to run tests on: udid: 'xxx', real device: true
2018-04-23 14:06:37:553 - [debug] [BaseDriver] Event 'appConfigured' logged at 1524492397553 (21:06:37 GMT+0700 (+07))
2018-04-23 14:06:37:554 - [debug] [BaseDriver] Event 'resetStarted' logged at 1524492397553 (21:06:37 GMT+0700 (+07))
2018-04-23 14:06:37:554 - [debug] [XCUITest] Reset: running ios real device reset flow
2018-04-23 14:06:37:555 - [debug] [BaseDriver] Event 'resetComplete' logged at 1524492397555 (21:06:37 GMT+0700 (+07))
2018-04-23 14:06:37:557 - [debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog
2018-04-23 14:06:37:559 - [debug] [iOSLog] Starting iOS device log capture with: 'idevicesyslog'
2018-04-23 14:06:37:803 - [debug] [XCUITest] Crash reports root '/Users/phuongdle/Library/Logs/CrashReporter/MobileDevice/iPad' does not exist. Got nothing to gather.
2018-04-23 14:06:37:804 - [debug] [BaseDriver] Event 'logCaptureStarted' logged at 1524492397804 (21:06:37 GMT+0700 (+07))
2018-04-23 14:06:37:804 - [XCUITest] Setting up real device
2018-04-23 14:06:38:055 - [XCUITest] Using WDA path: '/Users/phuongdle/MyProjects/org/appium/appium-1.8.0/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
2018-04-23 14:06:38:056 - [XCUITest] Using WDA agent: '/Users/phuongdle/MyProjects/org/appium/appium-1.8.0/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj'
2018-04-23 14:06:38:183 - [debug] [XCUITest] No obsolete cached processes from previous WDA sessions listening on port 8100 have been found
2018-04-23 14:06:38:188 - [debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
2018-04-23 14:06:38:221 - [debug] [XCUITest] WDA is not listening at 'http://localhost:8100/'
2018-04-23 14:06:38:223 - [debug] [BaseDriver] Event 'wdaStartAttempted' logged at 1524492398223 (21:06:38 GMT+0700 (+07))
2018-04-23 14:06:38:223 - [XCUITest] Launching WebDriverAgent on the device
2018-04-23 14:06:38:227 - [debug] [XCUITest] Carthage found: '/usr/local/bin/carthage'
2018-04-23 14:06:38:229 - [debug] [XCUITest] Killing running processes 'xcodebuild.*xxx, iproxy 8100' for the device xxx...
2018-04-23 14:06:38:273 - [debug] [XCUITest] 'pgrep -nif xcodebuild.*xxx' didn't detect any matching processes. Return code: 1
2018-04-23 14:06:38:314 - [debug] [XCUITest] 'pgrep -nif iproxy 8100' didn't detect any matching processes. Return code: 1
2018-04-23 14:06:38:315 - [debug] [XCUITest] Starting iproxy to forward traffic from local port 8100 to device port 8100 over USB
2018-04-23 14:06:43:330 - [debug] [XCUITest] Using Xcode 9.3, so fixing WDA codebase
2018-04-23 14:06:43:338 - [XCUITest] Cannot parse major and minor version numbers from platformVersion "null". Will build for the default platform instead
2018-04-23 14:06:43:339 - [debug] [XCUITest] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /Users/phuongdle/MyProjects/org/appium/appium-1.8.0/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=xxx' in directory '/Users/phuongdle/MyProjects/org/appium/appium-1.8.0/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
2018-04-23 14:06:43:340 - [debug] [XCUITest] Output from xcodebuild will be logged. To change this, use 'showXcodeLog' desired capability
2018-04-23 14:06:43:766 - [Xcode] 2018-04-23 21:06:43.765 xcodebuild[95082:13662595] [MT] PluginLoading: Required plug-in compatibility UUID EE23884D-A5C0-4163-94CF-DBBF3A5ED8D6 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2018-04-23 14:06:43:767 - [Xcode]
2018-04-23 14:06:43:768 - [debug] [XCUITest] Waiting up to 60000ms for WebDriverAgent to start
2018-04-23 14:06:43:769 - [debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
2018-04-23 14:06:44:386 - [debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
2018-04-23 14:06:44:598 - [Xcode] === BUILD TARGET WebDriverAgentLib OF PROJECT WebDriverAgent WITH CONFIGURATION Debug ===
2018-04-23 14:06:44:598 - [Xcode]
2018-04-23 14:06:44:598 - [Xcode]
2018-04-23 14:06:44:599 - [Xcode] Check dependencies
2018-04-23 14:06:44:599 - [Xcode]
2018-04-23 14:06:45:012 - [debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
2018-04-23 14:06:45:380 - [Xcode]
2018-04-23 14:06:45:380 - [Xcode]
2018-04-23 14:06:45:443 - [Xcode] === BUILD TARGET WebDriverAgentRunner OF PROJECT WebDriverAgent WITH CONFIGURATION Debug ===
2018-04-23 14:06:45:443 - [Xcode]
2018-04-23 14:06:45:446 - [Xcode]
2018-04-23 14:06:45:447 - [Xcode] Check dependencies
2018-04-23 14:06:45:447 - [Xcode]
2018-04-23 14:06:45:447 - [Xcode]
2018-04-23 14:06:45:462 - [Xcode] ** TEST BUILD SUCCEEDED **
2018-04-23 14:06:45:463 - [Xcode]
2018-04-23 14:06:45:463 - [Xcode]
2018-04-23 14:06:45:478 - [debug] [XCUITest] Log file for xcodebuild test: /var/folders/p_/_2j4cwhd1k7_xqzrwvgfgjpc0000gp/T/com.apple.dt.XCTest/IDETestRunSession-DB50896B-3828-4684-A88E-6ED884C04C7A/WebDriverAgentRunner-719F22B2-F8BC-4957-97DC-F76368AD1457/Session-WebDriverAgentRunner-2018-04-23_210645-Wpt9nj.log
2018-04-23 14:06:45:479 - [Xcode] 2018-04-23 21:06:45.477 xcodebuild[95082:13662675] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
2018-04-23 14:06:45:479 - [Xcode] /var/folders/p_/_2j4cwhd1k7_xqzrwvgfgjpc0000gp/T/com.apple.dt.XCTest/IDETestRunSession-DB50896B-3828-4684-A88E-6ED884C04C7A/WebDriverAgentRunner-719F22B2-F8BC-4957-97DC-F76368AD1457/Session-WebDriverAgentRunner-2018-04-23_210645-Wpt9nj.log
2018-04-23 14:06:45:479 - [Xcode]
2018-04-23 14:06:45:483 - [Xcode] 2018-04-23 21:06:45.477 xcodebuild[95082:13662595] [MT] IDETestOperationsObserverDebug: (2CE7AD15-29D2-4102-A5CC-43C9F76AF301) Beginning test session WebDriverAgentRunner-2CE7AD15-29D2-4102-A5CC-43C9F76AF301 at 2018-04-23 21:06:45.477 with Xcode 9E145 on target <DVTiOSDevice: 0x7fe32643d7a0> {
2018-04-23 14:06:45:483 - [Xcode] deviceSerialNumber: DMPQL5TSG5VV
2018-04-23 14:06:45:484 - [Xcode] identifier: xxx
2018-04-23 14:06:45:484 - [Xcode] deviceClass: iPad
2018-04-23 14:06:45:484 - [Xcode] deviceName: iPad
2018-04-23 14:06:45:485 - [Xcode] deviceIdentifier: xxx
2018-04-23 14:06:45:485 - [Xcode] productVersion: 11.0
2018-04-23 14:06:45:486 - [Xcode] buildVersion: 15A5341f
2018-04-23 14:06:45:486 - [Xcode] deviceSoftwareVersion: 11.0 (15A5341f)
2018-04-23 14:06:45:486 - [Xcode] deviceArchitecture: arm64
2018-04-23 14:06:45:487 - [Xcode] deviceTotalCapacity: 13010124800
2018-04-23 14:06:45:487 - [Xcode] deviceAvailableCapacity: 10846490624
2018-04-23 14:06:45:491 - [Xcode] deviceIsTransient: NO
2018-04-23 14:06:45:492 - [Xcode] ignored: NO
2018-04-23 14:06:45:493 - [Xcode] deviceIsBusy: NO
2018-04-23 14:06:45:493 - [Xcode] deviceIsActivated: YES
2018-04-23 14:06:45:494 - [Xcode] deviceActivationState: Activated
2018-04-23 14:06:45:494 - [Xcode] isPasscodeLocked: NO
2018-04-23 14:06:45:495 - [Xcode] deviceType: <DVTDeviceType:0x7fe325ea4290 Xcode.DeviceType.iPhone>
2018-04-23 14:06:45:495 - [Xcode] supportedDeviceFamilies: (
2018-04-23 14:06:45:495 - [Xcode] 1,
2018-04-23 14:06:45:496 - [Xcode] 2
2018-04-23 14:06:45:496 - [Xcode] )
2018-04-23 14:06:45:500 - [Xcode] applications: (null)
2018-04-23 14:06:45:502 - [Xcode] provisioningProfiles: (null)
2018-04-23 14:06:45:502 - [Xcode] hasInternalSupport: NO
2018-04-23 14:06:45:506 - [Xcode] isSupportedOS: YES
2018-04-23 14:06:45:506 - [Xcode] developerDiskMountError: (null)
2018-04-23 14:06:45:507 - [Xcode] (null)
2018-04-23 14:06:45:517 - [Xcode] bootArgs: <unavailable>
2018-04-23 14:06:45:517 - [Xcode] connected: yes
2018-04-23 14:06:45:517 - [Xcode] isWirelessEnabled: no
2018-04-23 14:06:45:518 - [Xcode] connectionType: direct
2018-04-23 14:06:45:518 - [Xcode] } (11.0 (15A5341f))
2018-04-23 14:06:45:519 - [Xcode]
2018-04-23 14:06:45:631 - [debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
2018-04-23 14:06:46:274 - [debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
2018-04-23 14:06:46:909 - [debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
2018-04-23 14:06:47:010 - [Xcode] writeDictToFile:1278 ==== Successfully wrote Manifest cache to /var/folders/p_/_2j4cwhd1k7_xqzrwvgfgjpc0000gp/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/2df3ff338b44e63a805994735543adfa/xxx/ManifestCache.plist
2018-04-23 14:06:47:011 - [Xcode]
2018-04-23 14:06:47:541 - [debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
2018-04-23 14:06:48:170 - [debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
2018-04-23 14:06:48:789 - [debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
2018-04-23 14:06:49:408 - [debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
2018-04-23 14:06:50:028 - [debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
2018-04-23 14:06:50:638 - [Xcode] 2018-04-23 21:06:50.637 xcodebuild[95082:13662595] Error Domain=IDETestOperationsObserverErrorDomain Code=6 "Early unexpected exit, operation never finished bootstrapping - no restart will be attempted" UserInfo={NSLocalizedDescription=Early unexpected exit, operation never finished bootstrapping - no restart will be attempted}
2018-04-23 14:06:50:638 - [Xcode]
2018-04-23 14:06:50:639 - [Xcode]
2018-04-23 14:06:50:640 - [Xcode] Testing failed:
2018-04-23 14:06:50:640 - [Xcode]
2018-04-23 14:06:50:640 - [Xcode] Early unexpected exit, operation never finished bootstrapping - no restart will be attempted
2018-04-23 14:06:50:641 - [Xcode] ** TEST EXECUTE FAILED **
2018-04-23 14:06:50:641 - [Xcode]
2018-04-23 14:06:50:641 - [Xcode]
2018-04-23 14:06:50:642 - [Xcode] 2018-04-23 21:06:50.580732+0700 WebDriverAgentRunner-Runner[1752:325165] Running tests...
2018-04-23 14:06:50:642 - [Xcode] 2018-04-23 21:06:50.583411+0700 WebDriverAgentRunner-Runner[1752:325165] -[NSKeyedUnarchiver initForReadingFromData:error:]: unrecognized selector sent to instance 0x1c8300360
2018-04-23 14:06:50:642 - [Xcode] 2018-04-23 21:06:50.584546+0700 WebDriverAgentRunner-Runner[1752:325165] Exception decoding test configuration data: -[NSKeyedUnarchiver initForReadingFromData:error:]: unrecognized selector sent to instance 0x1c8300360
2018-04-23 14:06:50:642 - [Xcode] 2018-04-23 21:06:50.585251+0700 WebDriverAgentRunner-Runner[1752:325165] No configuration specified in environment, checking for the most recent test configuration in TMPDIR (/private/var/mobile/Containers/Data/Application/8284279A-FEB2-49F0-9BD9-5525FB6E683E/tmp/)
2018-04-23 14:06:50:644 - [Xcode] 2018-04-23 21:06:50.585811+0700 WebDriverAgentRunner-Runner[1752:325165] -[NSKeyedUnarchiver initForReadingFromData:error:]: unrecognized selector sent to instance 0x1c0300120
2018-04-23 14:06:50:645 - [Xcode] 2018-04-23 21:06:50.586026+0700 WebDriverAgentRunner-Runner[1752:325165] Exception decoding test configuration data: -[NSKeyedUnarchiver initForReadingFromData:error:]: unrecognized selector sent to instance 0x1c0300120
2018-04-23 14:06:50:645 - [Xcode] 2018-04-23 21:06:50.586194+0700 WebDriverAgentRunner-Runner[1752:325165] Unable to read test configuration file /private/var/mobile/Containers/Data/Application/8284279A-FEB2-49F0-9BD9-5525FB6E683E/tmp/WebDriverAgentRunner-2CE7AD15-29D2-4102-A5CC-43C9F76AF301.xctestconfiguration
2018-04-23 14:06:50:645 - [Xcode] 2018-04-23 21:06:50.586426+0700 WebDriverAgentRunner-Runner[1752:325165] XCTRunner Arguments: (
2018-04-23 14:06:50:646 - [Xcode] "/var/containers/Bundle/Application/8FE91D6B-37D1-4E6D-9ABA-691E8CA36693/WebDriverAgentRunner-Runner.app/WebDriverAgentRunner-Runner",
2018-04-23 14:06:50:646 - [Xcode] "-NSTreatUnknownArgumentsAsOpen",
2018-04-23 14:06:50:646 - [Xcode] NO,
2018-04-23 14:06:50:646 - [Xcode] "-ApplePersistenceIgnoreState",
2018-04-23 14:06:50:647 - [Xcode] YES
2018-04-23 14:06:50:647 - [Xcode] )
2018-04-23 14:06:50:647 - [Xcode] 2018-04-23 21:06:50.586926+0700 WebDriverAgentRunner-Runner[1752:325165] XCTRunner Environment: {
2018-04-23 14:06:50:647 - [Xcode] "CFFIXED_USER_HOME" = "/private/var/mobile/Containers/Data/Application/8284279A-FEB2-49F0-9BD9-5525FB6E683E";
2018-04-23 14:06:50:647 - [Xcode] CLASSIC = 0;
2018-04-23 14:06:50:648 - [Xcode] "DYLD_FRAMEWORK_PATH" = "/private/var/containers/Bundle/Application/8FE91D6B-37D1-4E6D-9ABA-691E8CA36693/WebDriverAgentRunner-Runner.app/Frameworks:/Users/phuongdle/Library/Developer/Xcode/DerivedData/WebDriverAgent-cvvthlhkmqywhpepvdoxhhinityy/Build/Products/Debug-iphoneos:__PLATFORMS__/iPhoneOS.platform/Developer/Library/Frameworks:/Developer/Library/PrivateFrameworks";
2018-04-23 14:06:50:648 - [Xcode] "DYLD_LIBRARY_PATH" = "/private/var/containers/Bundle/Application/8FE91D6B-37D1-4E6D-9ABA-691E8CA36693/WebDriverAgentRunner-Runner.app/Frameworks:/Users/phuongdle/Library/Developer/Xcode/DerivedData/WebDriverAgent-cvvthlhkmqywhpepvdoxhhinityy/Build/Products/Debug-iphoneos:__PLATFORMS__/iPhoneOS.platform/Developer/Library/Frameworks:/Developer/Library/PrivateFrameworks";
2018-04-23 14:06:50:648 - [Xcode] HOME = "/private/var/mobile/Containers/Data/Application/8284279A-FEB2-49F0-9BD9-5525FB6E683E";
2018-04-23 14:06:50:648 - [Xcode] LOGNAME = mobile;
2018-04-23 14:06:50:648 - [Xcode] "MTC_CRASH_ON_REPORT" = 1;
2018-04-23 14:06:50:648 - [Xcode] NSUnbufferedIO = YES;
2018-04-23 14:06:50:649 - [Xcode] "OS_ACTIVITY_DT_MODE" = YES;
2018-04-23 14:06:50:649 - [Xcode] PATH = "/usr/bin:/bin:/usr/sbin:/sbin";
2018-04-23 14:06:50:649 - [Xcode] SHELL = "/bin/sh";
2018-04-23 14:06:50:649 - [Xcode] "SQLITE_ENABLE_THREAD_ASSERTIONS" = 1;
2018-04-23 14:06:50:649 - [Xcode] TMPDIR = "/private/var/mobile/Containers/Data/Application/8284279A-FEB2-49F0-9BD9-5525FB6E683E/tmp/";
2018-04-23 14:06:50:650 - [Xcode] USER = mobile;
2018-04-23 14:06:50:650 - [Xcode] "USE_PORT" = 8100;
2018-04-23 14:06:50:650 - [Xcode] "XCODE_DBG_XPC_EXCLUSIONS" = "com.apple.dt.xctestSymbolicator";
2018-04-23 14:06:50:650 - [Xcode] XCTestConfigurationFilePath = "/private/var/mobile/Containers/Data/Application/8284279A-FEB2-49F0-9BD9-5525FB6E683E/tmp/WebDriverAgentRunner-2CE7AD15-29D2-4102-A5CC-43C9F76AF301.xctestconfiguration";
2018-04-23 14:06:50:650 - [Xcode] "XPC_FLAGS" = 0x0;
2018-04-23 14:06:50:650 - [Xcode] "XPC_SERVICE_NAME" = "UIKitApplication:com.apple.test.WebDriverAgentRunner-Runner[0x473a][64]";
2018-04-23 14:06:50:651 - [Xcode] "__CF_USER_TEXT_ENCODING" = "0x1F5:0:0";
2018-04-23 14:06:50:651 - [Xcode] }
2018-04-23 14:06:50:651 - [Xcode]
2018-04-23 14:06:50:652 - [debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
2018-04-23 14:06:50:658 - [XCUITest] xcodebuild exited with code '65' and signal 'null'
2018-04-23 14:06:50:658 - [Xcode] Contents of xcodebuild log file '/var/folders/p_/_2j4cwhd1k7_xqzrwvgfgjpc0000gp/T/com.apple.dt.XCTest/IDETestRunSession-DB50896B-3828-4684-A88E-6ED884C04C7A/WebDriverAgentRunner-719F22B2-F8BC-4957-97DC-F76368AD1457/Session-WebDriverAgentRunner-2018-04-23_210645-Wpt9nj.log':
2018-04-23 14:06:50:660 - [Xcode] 21:06:45.478 xcodebuild[95082:13662595] Beginning test session WebDriverAgentRunner-2CE7AD15-29D2-4102-A5CC-43C9F76AF301 at 2018-04-23 21:06:45.477 with Xcode 9E145 on target <DVTiOSDevice: 0x7fe32643d7a0> {
2018-04-23 14:06:50:660 - [Xcode] deviceSerialNumber: DMPQL5TSG5VV
2018-04-23 14:06:50:660 - [Xcode] identifier: xxx
2018-04-23 14:06:50:661 - [Xcode] deviceClass: iPad
2018-04-23 14:06:50:661 - [Xcode] deviceName: iPad
2018-04-23 14:06:50:662 - [Xcode] deviceIdentifier: xxx
2018-04-23 14:06:50:662 - [Xcode] productVersion: 11.0
2018-04-23 14:06:50:663 - [Xcode] buildVersion: 15A5341f
2018-04-23 14:06:50:663 - [Xcode] deviceSoftwareVersion: 11.0 (15A5341f)
2018-04-23 14:06:50:663 - [Xcode] deviceArchitecture: arm64
2018-04-23 14:06:50:664 - [Xcode] deviceTotalCapacity: 13010124800
2018-04-23 14:06:50:664 - [Xcode] deviceAvailableCapacity: 10846490624
2018-04-23 14:06:50:664 - [Xcode] deviceIsTransient: NO
2018-04-23 14:06:50:665 - [Xcode] ignored: NO
2018-04-23 14:06:50:665 - [Xcode] deviceIsBusy: NO
2018-04-23 14:06:50:665 - [Xcode] deviceIsActivated: YES
2018-04-23 14:06:50:665 - [Xcode] deviceActivationState: Activated
2018-04-23 14:06:50:665 - [Xcode] isPasscodeLocked: NO
2018-04-23 14:06:50:665 - [Xcode] deviceType: <DVTDeviceType:0x7fe325ea4290 Xcode.DeviceType.iPhone>
2018-04-23 14:06:50:665 - [Xcode] supportedDeviceFamilies: (
2018-04-23 14:06:50:665 - [Xcode] 1,
2018-04-23 14:06:50:666 - [Xcode] 2
2018-04-23 14:06:50:666 - [Xcode] )
2018-04-23 14:06:50:666 - [Xcode] applications: (null)
2018-04-23 14:06:50:666 - [Xcode] provisioningProfiles: (null)
2018-04-23 14:06:50:683 - [Xcode] hasInternalSupport: NO
2018-04-23 14:06:50:683 - [Xcode] isSupportedOS: YES
2018-04-23 14:06:50:683 - [Xcode] developerDiskMountError: (null)
2018-04-23 14:06:50:683 - [Xcode] (null)
2018-04-23 14:06:50:683 - [Xcode] bootArgs: <unavailable>
2018-04-23 14:06:50:684 - [Xcode] connected: yes
2018-04-23 14:06:50:684 - [Xcode] isWirelessEnabled: no
2018-04-23 14:06:50:684 - [Xcode] connectionType: direct
2018-04-23 14:06:50:685 - [Xcode] } (11.0 (15A5341f))
2018-04-23 14:06:50:685 - [Xcode] 21:06:45.478 xcodebuild[95082:13662595] /Applications/Xcode9_3.app/Contents/Developer/usr/bin/xcodebuild
2018-04-23 14:06:50:685 - [Xcode] build-for-testing
2018-04-23 14:06:50:685 - [Xcode] test-without-building
2018-04-23 14:06:50:685 - [Xcode] -project
2018-04-23 14:06:50:686 - [Xcode] /Users/phuongdle/MyProjects/org/appium/appium-1.8.0/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj
2018-04-23 14:06:50:686 - [Xcode] -scheme
2018-04-23 14:06:50:686 - [Xcode] WebDriverAgentRunner
2018-04-23 14:06:50:686 - [Xcode] -destination
2018-04-23 14:06:50:686 - [Xcode] id=xxx
2018-04-23 14:06:50:687 - [Xcode] 21:06:45.478 xcodebuild[95082:13662595] Launching with Xcode.IDEFoundation.Launcher.PosixSpawn
2018-04-23 14:06:50:687 - [Xcode] 21:06:45.482 xcodebuild[95082:13662595] Test standard output and standard error is at /var/folders/p_/_2j4cwhd1k7_xqzrwvgfgjpc0000gp/T/com.apple.dt.XCTest/IDETestRunSession-DB50896B-3828-4684-A88E-6ED884C04C7A/WebDriverAgentRunner-719F22B2-F8BC-4957-97DC-F76368AD1457/StandardOutputAndStandardError.txt
2018-04-23 14:06:50:687 - [Xcode] 21:06:45.497 xcodebuild[95082:13662595] Setting up test runner session
2018-04-23 14:06:50:687 - [Xcode] 21:06:45.500 xcodebuild[95082:13662595] Launch session started.
2018-04-23 14:06:50:687 - [Xcode] 21:06:45.516 xcodebuild[95082:13662800] Connecting to mobile device: xxx
2018-04-23 14:06:50:688 - [Xcode] 21:06:45.524 xcodebuild[95082:13662800] Starting session with mobile device
2018-04-23 14:06:50:688 - [Xcode] 21:06:45.591 xcodebuild[95082:13662800] Starting test manager service on mobile device.
2018-04-23 14:06:50:688 - [Xcode] 21:06:45.606 xcodebuild[95082:13662803] Received connection for test runner session
2018-04-23 14:06:50:688 - [Xcode] 21:06:45.606 xcodebuild[95082:13662803] Listening for proxy connection request from the test bundle
2018-04-23 14:06:50:688 - [Xcode] 21:06:45.607 xcodebuild[95082:13662595] Test runner session acquired connection.
2018-04-23 14:06:50:689 - [Xcode] 21:06:45.607 xcodebuild[95082:13662595] Waiting for test process to launch.
2018-04-23 14:06:50:689 - [Xcode] 21:06:45.608 xcodebuild[95082:13662803] Initiating session with identifier: 2CE7AD15-29D2-4102-A5CC-43C9F76AF301
2018-04-23 14:06:50:689 - [Xcode] 21:06:45.641 xcodebuild[95082:13662598] Got reply to session initiation request with identifier 2CE7AD15-29D2-4102-A5CC-43C9F76AF301 (result:error): 25: (null)
2018-04-23 14:06:50:689 - [Xcode] 21:06:45.745 xcodebuild[95082:13662797] Installing com.apple.test.WebDriverAgentRunner-Runner using MobileInstall
2018-04-23 14:06:50:689 - [Xcode] 21:06:45.856 xcodebuild[95082:13662801] app uninstall set - {(
2018-04-23 14:06:50:690 - [Xcode] )}
2018-04-23 14:06:50:690 - [Xcode] 21:06:45.856 xcodebuild[95082:13662801] app install set - {(
2018-04-23 14:06:50:690 - [Xcode] <DVTFilePath:0x7fe3237b27c0:'/Users/phuongdle/Library/Developer/Xcode/DerivedData/WebDriverAgent-cvvthlhkmqywhpepvdoxhhinityy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app'>
2018-04-23 14:06:50:690 - [Xcode] )}
2018-04-23 14:06:50:691 - [Xcode] 21:06:47.599 xcodebuild[95082:13662797] Fetching applications...
2018-04-23 14:06:50:691 - [Xcode] 21:06:47.866 xcodebuild[95082:13662797] Done fetching applications...
2018-04-23 14:06:50:691 - [Xcode] 21:06:47.867 xcodebuild[95082:13662797] remoteExecutable setInstalledPath:/private/var/containers/Bundle/Application/8FE91D6B-37D1-4E6D-9ABA-691E8CA36693/WebDriverAgentRunner-Runner.app
2018-04-23 14:06:50:692 - [Xcode]
2018-04-23 14:06:50:692 - [Xcode] 21:06:47.868 xcodebuild[95082:13662797] Configuring for testing on device...
2018-04-23 14:06:50:692 - [Xcode] 21:06:47.868 xcodebuild[95082:13662797] Updating test configuration with device paths.
2018-04-23 14:06:50:692 - [Xcode] 21:06:47.873 xcodebuild[95082:13662797] Updated test configuration at /var/folders/p_/_2j4cwhd1k7_xqzrwvgfgjpc0000gp/T/com.apple.dt.XCTest/IDETestRunSession-DB50896B-3828-4684-A88E-6ED884C04C7A/WebDriverAgentRunner-719F22B2-F8BC-4957-97DC-F76368AD1457/LaunchSessions/2CE7AD15-29D2-4102-A5CC-43C9F76AF301/remote-container/tmp/WebDriverAgentRunner-2CE7AD15-29D2-4102-A5CC-43C9F76AF301.xctestconfiguration with device paths: <XCTestConfiguration: 0x7fe3260104b0>
2018-04-23 14:06:50:692 - [Xcode] testBundleURL:file:///private/var/containers/Bundle/Application/8FE91D6B-37D1-4E6D-9ABA-691E8CA36693/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest
2018-04-23 14:06:50:693 - [Xcode] testBundleRelativePath:(null)
2018-04-23 14:06:50:693 - [Xcode] productModuleName:WebDriverAgentRunner
2018-04-23 14:06:50:696 - [Xcode] testsToSkip:(null)
2018-04-23 14:06:50:697 - [Xcode] testsToRun:(null)
2018-04-23 14:06:50:697 - [Xcode] reportResultsToIDE:YES
2018-04-23 14:06:50:697 - [Xcode] sessionIdentifier:2CE7AD15-29D2-4102-A5CC-43C9F76AF301
2018-04-23 14:06:50:698 - [Xcode] pathToXcodeReportingSocket:(null)
2018-04-23 14:06:50:698 - [Xcode] disablePerformanceMetrics:no
2018-04-23 14:06:50:698 - [Xcode] treatMissingBaselinesAsFailures:no
2018-04-23 14:06:50:699 - [Xcode] baselineFileURL:(null)
2018-04-23 14:06:50:699 - [Xcode] baselineFileRelativePath:(null)
2018-04-23 14:06:50:699 - [Xcode] targetApplicationPath:(null)
2018-04-23 14:06:50:700 - [Xcode] targetApplicationBundleID:(null)
2018-04-23 14:06:50:700 - [Xcode] testApplicationDependencies:
2018-04-23 14:06:50:711 - [Xcode] {
2018-04-23 14:06:50:711 - [Xcode] "com.apple.test.WebDriverAgentRunner-Runner" = "/Users/phuongdle/Library/Developer/Xcode/DerivedData/WebDriverAgent-cvvthlhkmqywhpepvdoxhhinityy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app";
2018-04-23 14:06:50:711 - [Xcode] }
2018-04-23 14:06:50:712 - [Xcode] testApplicationUserOverrides:(null)
2018-04-23 14:06:50:712 - [Xcode] targetApplicationArguments:
2018-04-23 14:06:50:712 - [Xcode] targetApplicationEnvironment:(null)
2018-04-23 14:06:50:712 - [Xcode] reportActivities:YES
2018-04-23 14:06:50:712 - [Xcode] testsMustRunOnMainThread:YES
2018-04-23 14:06:50:713 - [Xcode] initializeForUITesting:YES
2018-04-23 14:06:50:713 - [Xcode] aggregateStatisticsBeforeCrash:{
2018-04-23 14:06:50:714 - [Xcode] XCSuiteRecordsKey = {
2018-04-23 14:06:50:714 - [Xcode] };
2018-04-23 14:06:50:714 - [Xcode] }
2018-04-23 14:06:50:714 - [Xcode] automationFrameworkPath:/Developer/Library/PrivateFrameworks/XCTAutomationSupport.framework
2018-04-23 14:06:50:715 - [Xcode] emitOSLogs:no
2018-04-23 14:06:50:716 - [Xcode] systemAttachmentLifetime:2
2018-04-23 14:06:50:716 - [Xcode] userAttachmentLifetime:1
2018-04-23 14:06:50:716 - [Xcode] gatherLocalizableStringsData:no
2018-04-23 14:06:50:716 - [Xcode]
2018-04-23 14:06:50:716 - [Xcode] 21:06:47.873 xcodebuild[95082:13662797] Uploading test configuration to app container.
2018-04-23 14:06:50:716 - [Xcode] 21:06:49.854 xcodebuild[95082:13662797] Updating test process environment variables.
2018-04-23 14:06:50:716 - [Xcode] 21:06:49.854 xcodebuild[95082:13662797] Updated testing environment variables {
2018-04-23 14:06:50:717 - [Xcode] "DYLD_FRAMEWORK_PATH" = "/private/var/containers/Bundle/Application/8FE91D6B-37D1-4E6D-9ABA-691E8CA36693/WebDriverAgentRunner-Runner.app/Frameworks:/Users/phuongdle/Library/Developer/Xcode/DerivedData/WebDriverAgent-cvvthlhkmqywhpepvdoxhhinityy/Build/Products/Debug-iphoneos:__PLATFORMS__/iPhoneOS.platform/Developer/Library/Frameworks:/Developer/Library/PrivateFrameworks";
2018-04-23 14:06:50:717 - [Xcode] "DYLD_INSERT_LIBRARIES" = "/Developer/usr/lib/libMainThreadChecker.dylib";
2018-04-23 14:06:50:717 - [Xcode] "DYLD_LIBRARY_PATH" = "/private/var/containers/Bundle/Application/8FE91D6B-37D1-4E6D-9ABA-691E8CA36693/WebDriverAgentRunner-Runner.app/Frameworks:/Users/phuongdle/Library/Developer/Xcode/DerivedData/WebDriverAgent-cvvthlhkmqywhpepvdoxhhinityy/Build/Products/Debug-iphoneos:__PLATFORMS__/iPhoneOS.platform/Developer/Library/Frameworks:/Developer/Library/PrivateFrameworks";
2018-04-23 14:06:50:717 - [Xcode] "MTC_CRASH_ON_REPORT" = 1;
2018-04-23 14:06:50:717 - [Xcode] "XCODE_DBG_XPC_EXCLUSIONS" = "com.apple.dt.xctestSymbolicator";
2018-04-23 14:06:50:717 - [Xcode] XCTestConfigurationFilePath = "/private/var/mobile/Containers/Data/Application/8284279A-FEB2-49F0-9BD9-5525FB6E683E/tmp/WebDriverAgentRunner-2CE7AD15-29D2-4102-A5CC-43C9F76AF301.xctestconfiguration";
2018-04-23 14:06:50:718 - [Xcode] }
2018-04-23 14:06:50:718 - [Xcode] 21:06:49.965 xcodebuild[95082:13662595] Adding console adaptor <IDEConsoleAdaptor: 0x7fe326a1d6b0 'target' stdin: (null) 0 stdout: <NSConcreteFileHandle: 0x7fe326a09660> 19 stderr: (null) 0> for test session 2CE7AD15-29D2-4102-A5CC-43C9F76AF301.
2018-04-23 14:06:50:718 - [Xcode] 21:06:50.208 xcodebuild[95082:13662595] Test process runnable PID is 1752.
2018-04-23 14:06:50:718 - [Xcode] 21:06:50.602 xcodebuild[95082:13662595] <IDETestOperationCoordinator: 0x7fe3269467a0>: parseConsoleOutputFromOriginalOutput: called, 90 bytes written out to StandardOutputAndStandardError
2018-04-23 14:06:50:719 - [Xcode] 21:06:50.605 xcodebuild[95082:13662595] <IDETestOperationCoordinator: 0x7fe3269467a0>: parseConsoleOutputFromOriginalOutput: called, 176 bytes written out to StandardOutputAndStandardError
2018-04-23 14:06:50:719 - [Xcode] 21:06:50.606 xcodebuild[95082:13662595] <IDETestOperationCoordinator: 0x7fe3269467a0>: parseConsoleOutputFromOriginalOutput: called, 220 bytes written out to StandardOutputAndStandardError
2018-04-23 14:06:50:719 - [Xcode] 21:06:50.606 xcodebuild[95082:13662595] <IDETestOperationCoordinator: 0x7fe3269467a0>: parseConsoleOutputFromOriginalOutput: called, 266 bytes written out to StandardOutputAndStandardError
2018-04-23 14:06:50:719 - [Xcode] 21:06:50.607 xcodebuild[95082:13662595] <IDETestOperationCoordinator: 0x7fe3269467a0>: parseConsoleOutputFromOriginalOutput: called, 2898 bytes written out to StandardOutputAndStandardError
2018-04-23 14:06:50:719 - [Xcode] 21:06:50.620 xcodebuild[95082:13662595] ############## DID EXECUTE #################
2018-04-23 14:06:50:719 - [Xcode] 21:06:50.621 xcodebuild[95082:13662595] Test operation failure: Launch session expired before checking in.
2018-04-23 14:06:50:719 - [Xcode] 21:06:50.621 xcodebuild[95082:13662595] _finishWithError:Error Domain=IDETestOperationsObserverErrorDomain Code=5 "Launch session expired before checking in." UserInfo={NSLocalizedDescription=Launch session expired before checking in.}
2018-04-23 14:06:50:719 - [Xcode]
2018-04-23 14:06:50:727 - [debug] [BaseDriver] Event 'wdaStartFailed' logged at 1524492410727 (21:06:50 GMT+0700 (+07))
2018-04-23 14:06:50:728 - [debug] [XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: "xcodebuild failed with code 65". Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
2018-04-23 14:06:50:728 - [debug] [XCUITest] Quitting and uninstalling WebDriverAgent, then retrying
2018-04-23 14:06:50:729 - [XCUITest] Shutting down sub-processes
2018-04-23 14:06:50:730 - [XCUITest] Shutting down iproxy process (pid 95080)
2018-04-23 14:06:50:734 - [debug] [XCUITest] iproxy exited with code 'null'
2018-04-23 14:06:50:737 - [debug] [XCUITest] Removing WDA application from device
2018-04-23 14:07:01:050 - [debug] [BaseDriver] Event 'wdaStartAttempted' logged at 1524492421049 (21:07:01 GMT+0700 (+07))
2018-04-23 14:07:01:050 - [XCUITest] Launching WebDriverAgent on the device
2018-04-23 14:07:01:053 - [debug] [XCUITest] Carthage found: '/usr/local/bin/carthage'
2018-04-23 14:07:01:054 - [debug] [XCUITest] Killing running processes 'xcodebuild.*xxx, iproxy 8100' for the device xxx...
2018-04-23 14:07:01:096 - [debug] [XCUITest] 'pgrep -nif xcodebuild.*xxx' didn't detect any matching processes. Return code: 1
2018-04-23 14:07:01:137 - [debug] [XCUITest] 'pgrep -nif iproxy 8100' didn't detect any matching processes. Return code: 1
2018-04-23 14:07:01:139 - [debug] [XCUITest] Starting iproxy to forward traffic from local port 8100 to device port 8100 over USB
2018-04-23 14:07:06:156 - [debug] [XCUITest] Using Xcode 9.3, so fixing WDA codebase
2018-04-23 14:07:06:182 - [XCUITest] Cannot parse major and minor version numbers from platformVersion "null". Will build for the default platform instead
2018-04-23 14:07:06:182 - [debug] [XCUITest] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /Users/phuongdle/MyProjects/org/appium/appium-1.8.0/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=xxx' in directory '/Users/phuongdle/MyProjects/org/appium/appium-1.8.0/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
2018-04-23 14:07:06:183 - [debug] [XCUITest] Output from xcodebuild will be logged. To change this, use 'showXcodeLog' desired capability
2018-04-23 14:07:06:633 - [Xcode] 2018-04-23 21:07:06.633 xcodebuild[95103:13663356] [MT] PluginLoading: Required plug-in compatibility UUID EE23884D-A5C0-4163-94CF-DBBF3A5ED8D6 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2018-04-23 14:07:06:634 - [Xcode]
2018-04-23 14:07:06:634 - [debug] [XCUITest] Waiting up to 60000ms for WebDriverAgent to start
2018-04-23 14:07:06:635 - [debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
2018-04-23 14:07:07:255 - [debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
2018-04-23 14:07:07:614 - [Xcode] === BUILD TARGET WebDriverAgentLib OF PROJECT WebDriverAgent WITH CONFIGURATION Debug ===
2018-04-23 14:07:07:616 - [Xcode]
2018-04-23 14:07:07:616 - [Xcode]
2018-04-23 14:07:07:617 - [Xcode] Check dependencies
2018-04-23 14:07:07:617 - [Xcode]
2018-04-23 14:07:07:901 - [debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
2018-04-23 14:07:08:140 - [Xcode]
2018-04-23 14:07:08:141 - [Xcode]
2018-04-23 14:07:08:209 - [Xcode] === BUILD TARGET WebDriverAgentRunner OF PROJECT WebDriverAgent WITH CONFIGURATION Debug ===
2018-04-23 14:07:08:209 - [Xcode]
2018-04-23 14:07:08:209 - [Xcode]
2018-04-23 14:07:08:209 - [Xcode] Check dependencies
2018-04-23 14:07:08:210 - [Xcode]
2018-04-23 14:07:08:210 - [Xcode]
2018-04-23 14:07:08:210 - [Xcode]
2018-04-23 14:07:08:227 - [Xcode] ** TEST BUILD SUCCEEDED **
2018-04-23 14:07:08:227 - [Xcode]
2018-04-23 14:07:08:227 - [Xcode]
2018-04-23 14:07:08:240 - [debug] [XCUITest] Log file for xcodebuild test: /var/folders/p_/_2j4cwhd1k7_xqzrwvgfgjpc0000gp/T/com.apple.dt.XCTest/IDETestRunSession-4B4897A7-6018-48B9-91C2-E896A04B06AC/WebDriverAgentRunner-0D70FE6D-B450-4A56-9FF8-9C98E6C2BEC2/Session-WebDriverAgentRunner-2018-04-23_210708-zDZQVO.log
2018-04-23 14:07:08:241 - [Xcode] 2018-04-23 21:07:08.239 xcodebuild[95103:13663375] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
2018-04-23 14:07:08:241 - [Xcode] /var/folders/p_/_2j4cwhd1k7_xqzrwvgfgjpc0000gp/T/com.apple.dt.XCTest/IDETestRunSession-4B4897A7-6018-48B9-91C2-E896A04B06AC/WebDriverAgentRunner-0D70FE6D-B450-4A56-9FF8-9C98E6C2BEC2/Session-WebDriverAgentRunner-2018-04-23_210708-zDZQVO.log
2018-04-23 14:07:08:241 - [Xcode]
2018-04-23 14:07:08:242 - [Xcode] 2018-04-23 21:07:08.240 xcodebuild[95103:13663356] [MT] IDETestOperationsObserverDebug: (59B0EA47-6A3D-4BE4-B8A6-E7D8271CB7DD) Beginning test session WebDriverAgentRunner-59B0EA47-6A3D-4BE4-B8A6-E7D8271CB7DD at 2018-04-23 21:07:08.240 with Xcode 9E145 on target <DVTiOSDevice: 0x7fb02e9f5170> {
2018-04-23 14:07:08:242 - [Xcode] deviceSerialNumber: DMPQL5TSG5VV
2018-04-23 14:07:08:242 - [Xcode] identifier: xxx
2018-04-23 14:07:08:243 - [Xcode] deviceClass: iPad
2018-04-23 14:07:08:243 - [Xcode] deviceName: iPad
2018-04-23 14:07:08:248 - [Xcode] deviceIdentifier: xxx
2018-04-23 14:07:08:248 - [Xcode] productVersion: 11.0
2018-04-23 14:07:08:248 - [Xcode] buildVersion: 15A5341f
2018-04-23 14:07:08:248 - [Xcode] deviceSoftwareVersion: 11.0 (15A5341f)
2018-04-23 14:07:08:249 - [Xcode] deviceArchitecture: arm64
2018-04-23 14:07:08:250 - [Xcode] deviceTotalCapacity: 13010124800
2018-04-23 14:07:08:251 - [Xcode] deviceAvailableCapacity: 10845581312
2018-04-23 14:07:08:252 - [Xcode] deviceIsTransient: NO
2018-04-23 14:07:08:252 - [Xcode] ignored: NO
2018-04-23 14:07:08:253 - [Xcode] deviceIsBusy: NO
2018-04-23 14:07:08:253 - [Xcode] deviceIsActivated: YES
2018-04-23 14:07:08:253 - [Xcode] deviceActivationState: Activated
2018-04-23 14:07:08:253 - [Xcode] isPasscodeLocked: NO
2018-04-23 14:07:08:253 - [Xcode] deviceType: <DVTDeviceType:0x7fb02e702430 Xcode.DeviceType.iPhone>
2018-04-23 14:07:08:254 - [Xcode] supportedDeviceFamilies: (
2018-04-23 14:07:08:254 - [Xcode] 1,
2018-04-23 14:07:08:254 - [Xcode] 2
2018-04-23 14:07:08:255 - [Xcode] )
2018-04-23 14:07:08:255 - [Xcode] applications: (null)
2018-04-23 14:07:08:255 - [Xcode] provisioningProfiles: (null)
2018-04-23 14:07:08:279 - [Xcode] hasInternalSupport: NO
2018-04-23 14:07:08:279 - [Xcode] isSupportedOS: YES
2018-04-23 14:07:08:280 - [Xcode] developerDiskMountError: (null)
2018-04-23 14:07:08:280 - [Xcode] (null)
2018-04-23 14:07:08:280 - [Xcode] bootArgs: <unavailable>
2018-04-23 14:07:08:281 - [Xcode] connected: yes
2018-04-23 14:07:08:281 - [Xcode] isWirelessEnabled: no
2018-04-23 14:07:08:281 - [Xcode] connectionType: direct
2018-04-23 14:07:08:282 - [Xcode] } (11.0 (15A5341f))
2018-04-23 14:07:08:282 - [Xcode]
2018-04-23 14:07:08:522 - [debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
2018-04-23 14:07:09:152 - [debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
2018-04-23 14:07:09:778 - [debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
2018-04-23 14:07:09:787 - [Xcode] writeDictToFile:1278 ==== Successfully wrote Manifest cache to /var/folders/p_/_2j4cwhd1k7_xqzrwvgfgjpc0000gp/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/2df3ff338b44e63a805994735543adfa/xxx/ManifestCache.plist
2018-04-23 14:07:09:787 - [Xcode]
2018-04-23 14:07:10:411 - [debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
2018-04-23 14:07:11:037 - [debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
2018-04-23 14:07:11:655 - [debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
2018-04-23 14:07:12:272 - [debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
2018-04-23 14:07:12:887 - [debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
2018-04-23 14:07:13:518 - [debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
2018-04-23 14:07:13:532 - [Xcode] 2018-04-23 21:07:13.531 xcodebuild[95103:13663356] Error Domain=IDETestOperationsObserverErrorDomain Code=6 "Early unexpected exit, operation never finished bootstrapping - no restart will be attempted" UserInfo={NSLocalizedDescription=Early unexpected exit, operation never finished bootstrapping - no restart will be attempted}
2018-04-23 14:07:13:532 - [Xcode]
2018-04-23 14:07:13:534 - [Xcode]
2018-04-23 14:07:13:534 - [Xcode] Testing failed:
2018-04-23 14:07:13:534 - [Xcode] Early unexpected exit, operation never finished bootstrapping - no restart will be attempted
2018-04-23 14:07:13:535 - [Xcode] ** TEST EXECUTE FAILED **
2018-04-23 14:07:13:535 - [Xcode]
2018-04-23 14:07:13:535 - [Xcode]
2018-04-23 14:07:13:535 - [Xcode] 2018-04-23 21:07:13.462376+0700 WebDriverAgentRunner-Runner[1756:325613] Running tests...
2018-04-23 14:07:13:536 - [Xcode] 2018-04-23 21:07:13.464529+0700 WebDriverAgentRunner-Runner[1756:325613] -[NSKeyedUnarchiver initForReadingFromData:error:]: unrecognized selector sent to instance 0x1c4114e20
2018-04-23 14:07:13:536 - [Xcode] 2018-04-23 21:07:13.465582+0700 WebDriverAgentRunner-Runner[1756:325613] Exception decoding test configuration data: -[NSKeyedUnarchiver initForReadingFromData:error:]: unrecognized selector sent to instance 0x1c4114e20
2018-04-23 14:07:13:536 - [Xcode] 2018-04-23 21:07:13.466393+0700 WebDriverAgentRunner-Runner[1756:325613] No configuration specified in environment, checking for the most recent test configuration in TMPDIR (/private/var/mobile/Containers/Data/Application/9EF33872-47E3-405A-8542-BE1D69576585/tmp/)
2018-04-23 14:07:13:536 - [Xcode] 2018-04-23 21:07:13.466910+0700 WebDriverAgentRunner-Runner[1756:325613] -[NSKeyedUnarchiver initForReadingFromData:error:]: unrecognized selector sent to instance 0x1c81149a0
2018-04-23 14:07:13:537 - [Xcode] 2018-04-23 21:07:13.467105+0700 WebDriverAgentRunner-Runner[1756:325613] Exception decoding test configuration data: -[NSKeyedUnarchiver initForReadingFromData:error:]: unrecognized selector sent to instance 0x1c81149a0
2018-04-23 14:07:13:537 - [Xcode] 2018-04-23 21:07:13.467261+0700 WebDriverAgentRunner-Runner[1756:325613] Unable to read test configuration file /private/var/mobile/Containers/Data/Application/9EF33872-47E3-405A-8542-BE1D69576585/tmp/WebDriverAgentRunner-59B0EA47-6A3D-4BE4-B8A6-E7D8271CB7DD.xctestconfiguration
2018-04-23 14:07:13:537 - [Xcode] 2018-04-23 21:07:13.467741+0700 WebDriverAgentRunner-Runner[1756:325613] XCTRunner Arguments: (
2018-04-23 14:07:13:537 - [Xcode] "/var/containers/Bundle/Application/F91FDC98-5748-4AC6-8BE3-B945AA42EE1C/WebDriverAgentRunner-Runner.app/WebDriverAgentRunner-Runner",
2018-04-23 14:07:13:537 - [Xcode] "-NSTreatUnknownArgumentsAsOpen",
2018-04-23 14:07:13:538 - [Xcode] NO,
2018-04-23 14:07:13:538 - [Xcode] "-ApplePersistenceIgnoreState",
2018-04-23 14:07:13:538 - [Xcode] YES
2018-04-23 14:07:13:538 - [Xcode] )
2018-04-23 14:07:13:538 - [Xcode] 2018-04-23 21:07:13.468489+0700 WebDriverAgentRunner-Runner[1756:325613] XCTRunner Environment: {
2018-04-23 14:07:13:539 - [Xcode] "CFFIXED_USER_HOME" = "/private/var/mobile/Containers/Data/Application/9EF33872-47E3-405A-8542-BE1D69576585";
2018-04-23 14:07:13:539 - [Xcode] CLASSIC = 0;
2018-04-23 14:07:13:539 - [Xcode] "DYLD_FRAMEWORK_PATH" = "/private/var/containers/Bundle/Application/F91FDC98-5748-4AC6-8BE3-B945AA42EE1C/WebDriverAgentRunner-Runner.app/Frameworks:/Users/phuongdle/Library/Developer/Xcode/DerivedData/WebDriverAgent-cvvthlhkmqywhpepvdoxhhinityy/Build/Products/Debug-iphoneos:__PLATFORMS__/iPhoneOS.platform/Developer/Library/Frameworks:/Developer/Library/PrivateFrameworks";
2018-04-23 14:07:13:539 - [Xcode] "DYLD_LIBRARY_PATH" = "/private/var/containers/Bundle/Application/F91FDC98-5748-4AC6-8BE3-B945AA42EE1C/WebDriverAgentRunner-Runner.app/Frameworks:/Users/phuongdle/Library/Developer/Xcode/DerivedData/WebDriverAgent-cvvthlhkmqywhpepvdoxhhinityy/Build/Products/Debug-iphoneos:__PLATFORMS__/iPhoneOS.platform/Developer/Library/Frameworks:/Developer/Library/PrivateFrameworks";
2018-04-23 14:07:13:539 - [Xcode] HOME = "/private/var/mobile/Containers/Data/Application/9EF33872-47E3-405A-8542-BE1D69576585";
2018-04-23 14:07:13:540 - [Xcode] LOGNAME = mobile;
2018-04-23 14:07:13:540 - [Xcode] "MTC_CRASH_ON_REPORT" = 1;
2018-04-23 14:07:13:540 - [Xcode] NSUnbufferedIO = YES;
2018-04-23 14:07:13:540 - [Xcode] "OS_ACTIVITY_DT_MODE" = YES;
2018-04-23 14:07:13:540 - [Xcode] PATH = "/usr/bin:/bin:/usr/sbin:/sbin";
2018-04-23 14:07:13:541 - [Xcode] SHELL = "/bin/sh";
2018-04-23 14:07:13:541 - [Xcode] "SQLITE_ENABLE_THREAD_ASSERTIONS" = 1;
2018-04-23 14:07:13:541 - [Xcode] TMPDIR = "/private/var/mobile/Containers/Data/Application/9EF33872-47E3-405A-8542-BE1D69576585/tmp/";
2018-04-23 14:07:13:541 - [Xcode] USER = mobile;
2018-04-23 14:07:13:542 - [Xcode] "USE_PORT" = 8100;
2018-04-23 14:07:13:542 - [Xcode] "XCODE_DBG_XPC_EXCLUSIONS" = "com.apple.dt.xctestSymbolicator";
2018-04-23 14:07:13:542 - [Xcode] XCTestConfigurationFilePath = "/private/var/mobile/Containers/Data/Application/9EF33872-47E3-405A-8542-BE1D69576585/tmp/WebDriverAgentRunner-59B0EA47-6A3D-4BE4-B8A6-E7D8271CB7DD.xctestconfiguration";
2018-04-23 14:07:13:542 - [Xcode] "XPC_FLAGS" = 0x0;
2018-04-23 14:07:13:542 - [Xcode] "XPC_SERVICE_NAME" = "UIKitApplication:com.apple.test.WebDriverAgentRunner-Runner[0xa72d][64]";
2018-04-23 14:07:13:544 - [Xcode] "__CF_USER_TEXT_ENCODING" = "0x1F5:0:0";
2018-04-23 14:07:13:544 - [Xcode] }
2018-04-23 14:07:13:545 - [Xcode]
2018-04-23 14:07:13:551 - [XCUITest] xcodebuild exited with code '65' and signal 'null'
2018-04-23 14:07:13:551 - [Xcode] Contents of xcodebuild log file '/var/folders/p_/_2j4cwhd1k7_xqzrwvgfgjpc0000gp/T/com.apple.dt.XCTest/IDETestRunSession-4B4897A7-6018-48B9-91C2-E896A04B06AC/WebDriverAgentRunner-0D70FE6D-B450-4A56-9FF8-9C98E6C2BEC2/Session-WebDriverAgentRunner-2018-04-23_210708-zDZQVO.log':
2018-04-23 14:07:13:552 - [Xcode] 21:07:08.241 xcodebuild[95103:13663356] Beginning test session WebDriverAgentRunner-59B0EA47-6A3D-4BE4-B8A6-E7D8271CB7DD at 2018-04-23 21:07:08.240 with Xcode 9E145 on target <DVTiOSDevice: 0x7fb02e9f5170> {
2018-04-23 14:07:13:553 - [Xcode] deviceSerialNumber: DMPQL5TSG5VV
2018-04-23 14:07:13:553 - [Xcode] identifier: xxx
2018-04-23 14:07:13:554 - [Xcode] deviceClass: iPad
2018-04-23 14:07:13:554 - [Xcode] deviceName: iPad
2018-04-23 14:07:13:554 - [Xcode] deviceIdentifier: xxx
2018-04-23 14:07:13:555 - [Xcode] productVersion: 11.0
2018-04-23 14:07:13:556 - [Xcode] buildVersion: 15A5341f
2018-04-23 14:07:13:556 - [Xcode] deviceSoftwareVersion: 11.0 (15A5341f)
2018-04-23 14:07:13:556 - [Xcode] deviceArchitecture: arm64
2018-04-23 14:07:13:556 - [Xcode] deviceTotalCapacity: 13010124800
2018-04-23 14:07:13:556 - [Xcode] deviceAvailableCapacity: 10845581312
2018-04-23 14:07:13:556 - [Xcode] deviceIsTransient: NO
2018-04-23 14:07:13:556 - [Xcode] ignored: NO
2018-04-23 14:07:13:557 - [Xcode] deviceIsBusy: NO
2018-04-23 14:07:13:557 - [Xcode] deviceIsActivated: YES
2018-04-23 14:07:13:573 - [Xcode] deviceActivationState: Activated
2018-04-23 14:07:13:573 - [Xcode] isPasscodeLocked: NO
2018-04-23 14:07:13:573 - [Xcode] deviceType: <DVTDeviceType:0x7fb02e702430 Xcode.DeviceType.iPhone>
2018-04-23 14:07:13:573 - [Xcode] supportedDeviceFamilies: (
2018-04-23 14:07:13:574 - [Xcode] 1,
2018-04-23 14:07:13:574 - [Xcode] 2
2018-04-23 14:07:13:575 - [Xcode] )
2018-04-23 14:07:13:575 - [Xcode] applications: (null)
2018-04-23 14:07:13:575 - [Xcode] provisioningProfiles: (null)
2018-04-23 14:07:13:575 - [Xcode] hasInternalSupport: NO
2018-04-23 14:07:13:575 - [Xcode] isSupportedOS: YES
2018-04-23 14:07:13:576 - [Xcode] developerDiskMountError: (null)
2018-04-23 14:07:13:576 - [Xcode] (null)
2018-04-23 14:07:13:576 - [Xcode] bootArgs: <unavailable>
2018-04-23 14:07:13:577 - [Xcode] connected: yes
2018-04-23 14:07:13:577 - [Xcode] isWirelessEnabled: no
2018-04-23 14:07:13:577 - [Xcode] connectionType: direct
2018-04-23 14:07:13:577 - [Xcode] } (11.0 (15A5341f))
2018-04-23 14:07:13:578 - [Xcode] 21:07:08.241 xcodebuild[95103:13663356] /Applications/Xcode9_3.app/Contents/Developer/usr/bin/xcodebuild
2018-04-23 14:07:13:578 - [Xcode] build-for-testing
2018-04-23 14:07:13:578 - [Xcode] test-without-building
2018-04-23 14:07:13:578 - [Xcode] -project
2018-04-23 14:07:13:579 - [Xcode] /Users/phuongdle/MyProjects/org/appium/appium-1.8.0/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj
2018-04-23 14:07:13:579 - [Xcode] -scheme
2018-04-23 14:07:13:579 - [Xcode] WebDriverAgentRunner
2018-04-23 14:07:13:579 - [Xcode] -destination
2018-04-23 14:07:13:579 - [Xcode] id=xxx
2018-04-23 14:07:13:581 - [Xcode] 21:07:08.241 xcodebuild[95103:13663356] Launching with Xcode.IDEFoundation.Launcher.PosixSpawn
2018-04-23 14:07:13:581 - [Xcode] 21:07:08.245 xcodebuild[95103:13663356] Test standard output and standard error is at /var/folders/p_/_2j4cwhd1k7_xqzrwvgfgjpc0000gp/T/com.apple.dt.XCTest/IDETestRunSession-4B4897A7-6018-48B9-91C2-E896A04B06AC/WebDriverAgentRunner-0D70FE6D-B450-4A56-9FF8-9C98E6C2BEC2/StandardOutputAndStandardError.txt
2018-04-23 14:07:13:581 - [Xcode] 21:07:08.257 xcodebuild[95103:13663356] Setting up test runner session
2018-04-23 14:07:13:581 - [Xcode] 21:07:08.261 xcodebuild[95103:13663356] Launch session started.
2018-04-23 14:07:13:582 - [Xcode] 21:07:08.271 xcodebuild[95103:13663557] Connecting to mobile device: xxx
2018-04-23 14:07:13:582 - [Xcode] 21:07:08.278 xcodebuild[95103:13663557] Starting session with mobile device
2018-04-23 14:07:13:582 - [Xcode] 21:07:08.332 xcodebuild[95103:13663557] Starting test manager service on mobile device.
2018-04-23 14:07:13:582 - [Xcode] 21:07:08.343 xcodebuild[95103:13663558] Received connection for test runner session
2018-04-23 14:07:13:583 - [Xcode] 21:07:08.343 xcodebuild[95103:13663558] Listening for proxy connection request from the test bundle
2018-04-23 14:07:13:583 - [Xcode] 21:07:08.343 xcodebuild[95103:13663356] Test runner session acquired connection.
2018-04-23 14:07:13:583 - [Xcode] 21:07:08.344 xcodebuild[95103:13663356] Waiting for test process to launch.
2018-04-23 14:07:13:583 - [Xcode] 21:07:08.344 xcodebuild[95103:13663558] Initiating session with identifier: 59B0EA47-6A3D-4BE4-B8A6-E7D8271CB7DD
2018-04-23 14:07:13:583 - [Xcode] 21:07:08.377 xcodebuild[95103:13663558] Got reply to session initiation request with identifier 59B0EA47-6A3D-4BE4-B8A6-E7D8271CB7DD (result:error): 25: (null)
2018-04-23 14:07:13:584 - [Xcode] 21:07:08.457 xcodebuild[95103:13663367] Installing com.apple.test.WebDriverAgentRunner-Runner using MobileInstall
2018-04-23 14:07:13:584 - [Xcode] 21:07:08.559 xcodebuild[95103:13663558] app uninstall set - {(
2018-04-23 14:07:13:584 - [Xcode] )}
2018-04-23 14:07:13:584 - [Xcode] 21:07:08.559 xcodebuild[95103:13663558] app install set - {(
2018-04-23 14:07:13:584 - [Xcode] <DVTFilePath:0x7fb02e7684e0:'/Users/phuongdle/Library/Developer/Xcode/DerivedData/WebDriverAgent-cvvthlhkmqywhpepvdoxhhinityy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app'>
2018-04-23 14:07:13:586 - [Xcode] )}
2018-04-23 14:07:13:586 - [Xcode] 21:07:10.462 xcodebuild[95103:13663367] Fetching applications...
2018-04-23 14:07:13:586 - [Xcode] 21:07:10.698 xcodebuild[95103:13663367] Done fetching applications...
2018-04-23 14:07:13:586 - [Xcode] 21:07:10.698 xcodebuild[95103:13663367] remoteExecutable setInstalledPath:/private/var/containers/Bundle/Application/F91FDC98-5748-4AC6-8BE3-B945AA42EE1C/WebDriverAgentRunner-Runner.app
2018-04-23 14:07:13:586 - [Xcode]
2018-04-23 14:07:13:587 - [Xcode] 21:07:10.699 xcodebuild[95103:13663367] Configuring for testing on device...
2018-04-23 14:07:13:587 - [Xcode] 21:07:10.699 xcodebuild[95103:13663367] Updating test configuration with device paths.
2018-04-23 14:07:13:587 - [Xcode] 21:07:10.703 xcodebuild[95103:13663367] Updated test configuration at /var/folders/p_/_2j4cwhd1k7_xqzrwvgfgjpc0000gp/T/com.apple.dt.XCTest/IDETestRunSession-4B4897A7-6018-48B9-91C2-E896A04B06AC/WebDriverAgentRunner-0D70FE6D-B450-4A56-9FF8-9C98E6C2BEC2/LaunchSessions/59B0EA47-6A3D-4BE4-B8A6-E7D8271CB7DD/remote-container/tmp/WebDriverAgentRunner-59B0EA47-6A3D-4BE4-B8A6-E7D8271CB7DD.xctestconfiguration with device paths: <XCTestConfiguration: 0x7fb02f0b5040>
2018-04-23 14:07:13:587 - [Xcode] testBundleURL:file:///private/var/containers/Bundle/Application/F91FDC98-5748-4AC6-8BE3-B945AA42EE1C/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest
2018-04-23 14:07:13:600 - [Xcode] testBundleRelativePath:(null)
2018-04-23 14:07:13:600 - [Xcode] productModuleName:WebDriverAgentRunner
2018-04-23 14:07:13:600 - [Xcode] testsToSkip:(null)
2018-04-23 14:07:13:600 - [Xcode] testsToRun:(null)
2018-04-23 14:07:13:600 - [Xcode] reportResultsToIDE:YES
2018-04-23 14:07:13:601 - [Xcode] sessionIdentifier:59B0EA47-6A3D-4BE4-B8A6-E7D8271CB7DD
2018-04-23 14:07:13:601 - [Xcode] pathToXcodeReportingSocket:(null)
2018-04-23 14:07:13:601 - [Xcode] disablePerformanceMetrics:no
2018-04-23 14:07:13:601 - [Xcode] treatMissingBaselinesAsFailures:no
2018-04-23 14:07:13:601 - [Xcode] baselineFileURL:(null)
2018-04-23 14:07:13:602 - [Xcode] baselineFileRelativePath:(null)
2018-04-23 14:07:13:602 - [Xcode] targetApplicationPath:(null)
2018-04-23 14:07:13:602 - [Xcode] targetApplicationBundleID:(null)
2018-04-23 14:07:13:602 - [Xcode] testApplicationDependencies:
2018-04-23 14:07:13:602 - [Xcode] {
2018-04-23 14:07:13:602 - [Xcode] "com.apple.test.WebDriverAgentRunner-Runner" = "/Users/phuongdle/Library/Developer/Xcode/DerivedData/WebDriverAgent-cvvthlhkmqywhpepvdoxhhinityy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app";
2018-04-23 14:07:13:603 - [Xcode] }
2018-04-23 14:07:13:603 - [Xcode] testApplicationUserOverrides:(null)
2018-04-23 14:07:13:603 - [Xcode] targetApplicationArguments:
2018-04-23 14:07:13:603 - [Xcode] targetApplicationEnvironment:(null)
2018-04-23 14:07:13:603 - [Xcode] reportActivities:YES
2018-04-23 14:07:13:604 - [Xcode] testsMustRunOnMainThread:YES
2018-04-23 14:07:13:604 - [Xcode] initializeForUITesting:YES
2018-04-23 14:07:13:604 - [Xcode] aggregateStatisticsBeforeCrash:{
2018-04-23 14:07:13:604 - [Xcode] XCSuiteRecordsKey = {
2018-04-23 14:07:13:604 - [Xcode] };
2018-04-23 14:07:13:604 - [Xcode] }
2018-04-23 14:07:13:605 - [Xcode] automationFrameworkPath:/Developer/Library/PrivateFrameworks/XCTAutomationSupport.framework
2018-04-23 14:07:13:605 - [Xcode] emitOSLogs:no
2018-04-23 14:07:13:605 - [Xcode] systemAttachmentLifetime:2
2018-04-23 14:07:13:605 - [Xcode] userAttachmentLifetime:1
2018-04-23 14:07:13:605 - [Xcode] gatherLocalizableStringsData:no
2018-04-23 14:07:13:606 - [Xcode]
2018-04-23 14:07:13:606 - [Xcode] 21:07:10.703 xcodebuild[95103:13663367] Uploading test configuration to app container.
2018-04-23 14:07:13:606 - [Xcode] 21:07:12.747 xcodebuild[95103:13663367] Updating test process environment variables.
2018-04-23 14:07:13:606 - [Xcode] 21:07:12.748 xcodebuild[95103:13663367] Updated testing environment variables {
2018-04-23 14:07:13:606 - [Xcode] "DYLD_FRAMEWORK_PATH" = "/private/var/containers/Bundle/Application/F91FDC98-5748-4AC6-8BE3-B945AA42EE1C/WebDriverAgentRunner-Runner.app/Frameworks:/Users/phuongdle/Library/Developer/Xcode/DerivedData/WebDriverAgent-cvvthlhkmqywhpepvdoxhhinityy/Build/Products/Debug-iphoneos:__PLATFORMS__/iPhoneOS.platform/Developer/Library/Frameworks:/Developer/Library/PrivateFrameworks";
2018-04-23 14:07:13:606 - [Xcode] "DYLD_INSERT_LIBRARIES" = "/Developer/usr/lib/libMainThreadChecker.dylib";
2018-04-23 14:07:13:606 - [Xcode] "DYLD_LIBRARY_PATH" = "/private/var/containers/Bundle/Application/F91FDC98-5748-4AC6-8BE3-B945AA42EE1C/WebDriverAgentRunner-Runner.app/Frameworks:/Users/phuongdle/Library/Developer/Xcode/DerivedData/WebDriverAgent-cvvthlhkmqywhpepvdoxhhinityy/Build/Products/Debug-iphoneos:__PLATFORMS__/iPhoneOS.platform/Developer/Library/Frameworks:/Developer/Library/PrivateFrameworks";
2018-04-23 14:07:13:607 - [Xcode] "MTC_CRASH_ON_REPORT" = 1;
2018-04-23 14:07:13:607 - [Xcode] "XCODE_DBG_XPC_EXCLUSIONS" = "com.apple.dt.xctestSymbolicator";
2018-04-23 14:07:13:607 - [Xcode] XCTestConfigurationFilePath = "/private/var/mobile/Containers/Data/Application/9EF33872-47E3-405A-8542-BE1D69576585/tmp/WebDriverAgentRunner-59B0EA47-6A3D-4BE4-B8A6-E7D8271CB7DD.xctestconfiguration";
2018-04-23 14:07:13:607 - [Xcode] }
2018-04-23 14:07:13:607 - [Xcode] 21:07:12.854 xcodebuild[95103:13663356] Adding console adaptor <IDEConsoleAdaptor: 0x7fb02f1a0af0 'target' stdin: (null) 0 stdout: <NSConcreteFileHandle: 0x7fb02f215220> 19 stderr: (null) 0> for test session 59B0EA47-6A3D-4BE4-B8A6-E7D8271CB7DD.
2018-04-23 14:07:13:607 - [Xcode] 21:07:13.078 xcodebuild[95103:13663356] Test process runnable PID is 1756.
2018-04-23 14:07:13:607 - [Xcode] 21:07:13.484 xcodebuild[95103:13663356] <IDETestOperationCoordinator: 0x7fb02f32d160>: parseConsoleOutputFromOriginalOutput: called, 90 bytes written out to StandardOutputAndStandardError
2018-04-23 14:07:13:608 - [Xcode] 21:07:13.485 xcodebuild[95103:13663356] <IDETestOperationCoordinator: 0x7fb02f32d160>: parseConsoleOutputFromOriginalOutput: called, 176 bytes written out to StandardOutputAndStandardError
2018-04-23 14:07:13:608 - [Xcode] 21:07:13.491 xcodebuild[95103:13663356] <IDETestOperationCoordinator: 0x7fb02f32d160>: parseConsoleOutputFromOriginalOutput: called, 1488 bytes written out to StandardOutputAndStandardError
2018-04-23 14:07:13:608 - [Xcode] 21:07:13.491 xcodebuild[95103:13663356] <IDETestOperationCoordinator: 0x7fb02f32d160>: parseConsoleOutputFromOriginalOutput: called, 1896 bytes written out to StandardOutputAndStandardError
2018-04-23 14:07:13:608 - [Xcode] 21:07:13.508 xcodebuild[95103:13663356] ############## DID EXECUTE #################
2018-04-23 14:07:13:608 - [Xcode] 21:07:13.509 xcodebuild[95103:13663356] <IDETestOperationCoordinator: 0x7fb02f32d160> finished receiving data from <IDEConsoleAdaptor: 0x7fb02f1a0af0 'target' stdin: (null) 0 stdout: (null) 0 stderr: (null) 0>
2018-04-23 14:07:13:608 - [Xcode] 21:07:13.509 xcodebuild[95103:13663356] <IDETestOperationCoordinator: 0x7fb02f32d160>: _considerFlushingDelegateBlockQueue - nothing to flush
2018-04-23 14:07:13:608 - [Xcode] 21:07:13.510 xcodebuild[95103:13663356] Test operation failure: Launch session expired before checking in.
2018-04-23 14:07:13:609 - [Xcode] 21:07:13.510 xcodebuild[95103:13663356] _finishWithError:Error Domain=IDETestOperationsObserverErrorDomain Code=5 "Launch session expired before checking in." UserInfo={NSLocalizedDescription=Launch session expired before checking in.}
2018-04-23 14:07:13:609 - [Xcode]
2018-04-23 14:07:13:610 - [debug] [BaseDriver] Event 'wdaStartFailed' logged at 1524492433610 (21:07:13 GMT+0700 (+07))
2018-04-23 14:07:13:610 - [debug] [XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: "xcodebuild failed with code 65". Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
2018-04-23 14:07:13:610 - [debug] [XCUITest] Quitting and uninstalling WebDriverAgent, then retrying
2018-04-23 14:07:13:611 - [XCUITest] Shutting down sub-processes
2018-04-23 14:07:13:611 - [XCUITest] Shutting down iproxy process (pid 95101)
2018-04-23 14:07:13:615 - [debug] [XCUITest] iproxy exited with code 'null'
2018-04-23 14:07:13:615 - [debug] [XCUITest] Removing WDA application from device
2018-04-23 14:07:13:900 - [XCUITest] Error: Unable to launch WebDriverAgent because of xcodebuild failure: "xcodebuild failed with code 65". Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
2018-04-23 14:07:13:902 - [XCUITest] at XCUITestDriver.quitAndUninstall$ (/Users/phuongdle/MyProjects/org/appium/appium-1.8.0/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:426:13)
2018-04-23 14:07:13:902 - [XCUITest] at tryCatch (/Users/phuongdle/MyProjects/org/appium/appium-1.8.0/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
2018-04-23 14:07:13:903 - [XCUITest] at GeneratorFunctionPrototype.invoke [as _invoke] (/Users/phuongdle/MyProjects/org/appium/appium-1.8.0/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
2018-04-23 14:07:13:903 - [XCUITest] at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/Users/phuongdle/MyProjects/org/appium/appium-1.8.0/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
2018-04-23 14:07:13:904 - [XCUITest] at GeneratorFunctionPrototype.invoke (/Users/phuongdle/MyProjects/org/appium/appium-1.8.0/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
2018-04-23 14:07:13:944 - [debug] [XCUITest] 'pgrep -nif xcodebuild.*xxx' didn't detect any matching processes. Return code: 1
2018-04-23 14:07:13:945 - [debug] [XCUITest] Cannot find xcodebuild's process id, so unable to retrieve DerivedData folder path
2018-04-23 14:07:13:945 - [XCUITest] No WebDriverAgent derived data available, so unable to clear system files
2018-04-23 14:07:13:947 - [debug] [iOSLog] Stopping iOS log capture
2018-04-23 14:07:13:951 - [debug] [BaseDriver] Event 'newSessionStarted' logged at 1524492433951 (21:07:13 GMT+0700 (+07))
2018-04-23 14:07:13:953 - [MJSONWP] Encountered internal error running command: Error: Unable to launch WebDriverAgent because of xcodebuild failure: "xcodebuild failed with code 65". Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
2018-04-23 14:07:13:953 - [MJSONWP] at XCUITestDriver.quitAndUninstall$ (/Users/phuongdle/MyProjects/org/appium/appium-1.8.0/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:426:13)
2018-04-23 14:07:13:954 - [MJSONWP] at tryCatch (/Users/phuongdle/MyProjects/org/appium/appium-1.8.0/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
2018-04-23 14:07:13:954 - [MJSONWP] at GeneratorFunctionPrototype.invoke [as _invoke] (/Users/phuongdle/MyProjects/org/appium/appium-1.8.0/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
2018-04-23 14:07:13:954 - [MJSONWP] at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/Users/phuongdle/MyProjects/org/appium/appium-1.8.0/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
2018-04-23 14:07:13:955 - [MJSONWP] at GeneratorFunctionPrototype.invoke (/Users/phuongdle/MyProjects/org/appium/appium-1.8.0/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
2018-04-23 14:07:13:977 - [HTTP] <-- POST /wd/hub/session 500 36865 ms - 470
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment