Skip to content

Instantly share code, notes, and snippets.

@sadafyadegari
Last active March 1, 2019 21:26
Show Gist options
  • Save sadafyadegari/18c9627af3c0b505e3b824421361bfbd to your computer and use it in GitHub Desktop.
Save sadafyadegari/18c9627af3c0b505e3b824421361bfbd to your computer and use it in GitHub Desktop.
[Appium] Welcome to Appium v1.11.2-rc.1 (REV cb8dbdb4b2b688e32e311ec7be0777d2339651eb)
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> POST /wd/hub/session
[HTTP] {"desiredCapabilities":{"browserName":"","appiumVersion":"1.11.1","deviceName":"iPhone Simulator","platformVersion":"12.2","launchTimeout":35000,"platformName":"iOS","app":"http://appium.s3.amazonaws.com/FLWebView.app.zip","prevent-requeue":true,"name":"Basic ios hybrid test (iPhone Simulator on iOS 12.2)","showXcodeLog":"true"}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"browserName":"","appiumVersion":"1.11.1","deviceName":"iPhone Simulator","platformVersion":"12.2","launchTimeout":35000,"platformName":"iOS","app":"http://appium.s3.amazonaws.com/FLWebView.app.zip","prevent-requeue":true,"name":"Basic ios hybrid test (iPhone Simulator on iOS 12.2)","showXcodeLog":"true"},null,null]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1551475167648 (13:19:27 GMT-0800 (PST))
[Appium] DeprecationWarning: 'automationName' capability was not provided. Future versions of Appium will require 'automationName' capability to be set for iOS sessions.
[Appium] Requested iOS support with version >= 10, using 'XCUITest' driver instead of UIAutomation-based driver, since the latter is unsupported on iOS 10 and up.
[Appium] Creating new XCUITestDriver (v2.109.0) session
[Appium] Capabilities:
[Appium] browserName:
[Appium] appiumVersion: 1.11.1
[Appium] deviceName: iPhone Simulator
[Appium] platformVersion: 12.2
[Appium] launchTimeout: 35000
[Appium] platformName: iOS
[Appium] app: http://appium.s3.amazonaws.com/FLWebView.app.zip
[Appium] prevent-requeue: true
[Appium] name: Basic ios hybrid test (iPhone Simulator on iOS 12.2)
[Appium] showXcodeLog: true
[debug] [BaseDriver] Creating session with MJSONWP desired capabilities: {"browserName":"","appiumVe...
[BaseDriver] Capability 'showXcodeLog' changed from string to boolean. This may cause unexpected behavior
[BaseDriver] The following capabilities were provided, but are not recognized by appium: appiumVersion, prevent-requeue, name.
[BaseDriver] Session created with session id: e9279abb-3402-4fe2-a5c0-e21912d966f2
[debug] [XCUITest] Current user: 'gooduser'
[debug] [XCUITest] Changing deviceName from 'iPhone Simulator' to 'iPhone 6'
[iOSSim] Constructing iOS simulator for Xcode version 10.2 with udid '0DE05F40-3A43-48E9-92A8-0C6FD9E8F3A6'
[XCUITest] Determining device to run tests on: udid: '0DE05F40-3A43-48E9-92A8-0C6FD9E8F3A6', real device: false
[debug] [XCUITest] Xcode version set to '10.2' (tools v10.2.0.0.1.1550198242)
[debug] [XCUITest] iOS SDK Version set to '12.2'
[debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1551475168475 (13:19:28 GMT-0800 (PST))
[BaseDriver] Using downloadable app 'http://appium.s3.amazonaws.com/FLWebView.app.zip'
[debug] [BaseDriver] Last-Modified: Mon, 15 May 2017 18:29:01 GMT
[debug] [BaseDriver] Content-Type: application/zip
[debug] [BaseDriver] 'http://appium.s3.amazonaws.com/FLWebView.app.zip' (901.80 KB) has been downloaded to '/var/folders/1_/rjzyhkdd3tq2qhhdnb5g8zz40000gn/T/201921-83687-1jlbhku.a5eh/FLWebView.app.zip' in 0.765s
[debug] [BaseDriver] Unzipping '/var/folders/1_/rjzyhkdd3tq2qhhdnb5g8zz40000gn/T/201921-83687-1jlbhku.a5eh/FLWebView.app.zip'
[debug] [BaseDriver] Extracted 95 item(s) from '/var/folders/1_/rjzyhkdd3tq2qhhdnb5g8zz40000gn/T/201921-83687-1jlbhku.a5eh/FLWebView.app.zip'
[debug] [BaseDriver] Matched 95 item(s) in the extracted archive. Assuming 'FLWebView.app' is the correct bundle
[BaseDriver] Unzipped local app to '/var/folders/1_/rjzyhkdd3tq2qhhdnb5g8zz40000gn/T/201921-83687-sc7foi.ijp4/FLWebView.app'
[debug] [BaseDriver] Event 'appConfigured' logged at 1551475169596 (13:19:29 GMT-0800 (PST))
[debug] [XCUITest] Checking whether app '/var/folders/1_/rjzyhkdd3tq2qhhdnb5g8zz40000gn/T/201921-83687-sc7foi.ijp4/FLWebView.app' is actually present on file system
[debug] [XCUITest] App is present
[debug] [iOS] Getting bundle ID from app '/var/folders/1_/rjzyhkdd3tq2qhhdnb5g8zz40000gn/T/201921-83687-sc7foi.ijp4/FLWebView.app': 'com.floatlearning.FLWebView'
[debug] [BaseDriver] Event 'resetStarted' logged at 1551475169598 (13:19:29 GMT-0800 (PST))
[XCUITest] Not scrubbing third party app in anticipation of uninstall
[debug] [BaseDriver] Event 'resetComplete' logged at 1551475169849 (13:19:29 GMT-0800 (PST))
[XCUITest] Continuing without capturing device logs: iOS Simulator with udid 0DE05F40-3A43-48E9-92A8-0C6FD9E8F3A6 is not running
[XCUITest] Setting up simulator
[debug] [iOS] No reason to set locale
[debug] [iOS] No iOS / app preferences to set
[debug] [iOSSim] Setting preferences of 0DE05F40-3A43-48E9-92A8-0C6FD9E8F3A6 Simulator to {"ConnectHardwareKeyboard":false}
[debug] [iOSSim] Setting common Simulator preferences to {"RotateWindowWhenSignaledByGuest":true,"ConnectHardwareKeyboard":false}
[debug] [iOSSim] Updated 0DE05F40-3A43-48E9-92A8-0C6FD9E8F3A6 Simulator preferences at '/Users/gooduser/Library/Preferences/com.apple.iphonesimulator.plist' with {"DevicePreferences":{"0DE05F40-3A43-48E9-92A8-0C6FD9E8F3A6":{"ConnectHardwareKeyboard":false}},"RotateWindowWhenSignaledByGuest":true,"ConnectHardwareKeyboard":false}
[iOSSim] Booting Simulator with UDID 0DE05F40-3A43-48E9-92A8-0C6FD9E8F3A6...
[iOSSim] Starting Simulator UI with command: open -Fn /Applications/Xcode-beta.app/Contents/Developer/Applications/Simulator.app --args -CurrentDeviceUDID 0DE05F40-3A43-48E9-92A8-0C6FD9E8F3A6 -ConnectHardwareKeyboard 0
[iOSSim] Simulator with UDID 0DE05F40-3A43-48E9-92A8-0C6FD9E8F3A6 booted in 11 seconds
[debug] [BaseDriver] Event 'simStarted' logged at 1551475181906 (13:19:41 GMT-0800 (PST))
[debug] [XCUITest] Starting log capture for iOS Simulator with udid '0DE05F40-3A43-48E9-92A8-0C6FD9E8F3A6', using 'xcrun simctl spawn 0DE05F40-3A43-48E9-92A8-0C6FD9E8F3A6 log stream --style compact'
[debug] [BaseDriver] Event 'logCaptureStarted' logged at 1551475183038 (13:19:43 GMT-0800 (PST))
[debug] [XCUITest] Verifying application platform
[debug] [XCUITest] CFBundleSupportedPlatforms: ["iPhoneSimulator"]
[debug] [XCUITest] Cleaning installd cache to save the disk space
[debug] [XCUITest] Installing '/var/folders/1_/rjzyhkdd3tq2qhhdnb5g8zz40000gn/T/201921-83687-sc7foi.ijp4/FLWebView.app' on Simulator with UUID '0DE05F40-3A43-48E9-92A8-0C6FD9E8F3A6'...
[debug] [XCUITest] The app has been installed successfully.
[debug] [BaseDriver] Event 'appInstalled' logged at 1551475185930 (13:19:45 GMT-0800 (PST))
[XCUITest] Using WDA path: '/Users/gooduser/appium_test/appium-xcuitest-driver/WebDriverAgent'
[XCUITest] Using WDA agent: '/Users/gooduser/appium_test/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj'
[debug] [XCUITest] No obsolete cached processes from previous WDA sessions listening on port 8100 have been found
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"code":"ECONNREFUSED","errno":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[debug] [XCUITest] WDA is not listening at 'http://localhost:8100/'
[debug] [XCUITest] WDA is currently not running. There is nothing to cache
[debug] [XCUITest] Trying to start WebDriverAgent 2 times with 10000ms interval
[debug] [BaseDriver] Event 'wdaStartAttempted' logged at 1551475186084 (13:19:46 GMT-0800 (PST))
[XCUITest] Launching WebDriverAgent on the device
[debug] [XCUITest] Carthage found: '/usr/local/bin/carthage'
[debug] [XCUITest] Killing running processes 'xcodebuild.*0DE05F40-3A43-48E9-92A8-0C6FD9E8F3A6, iproxy 8100, 0DE05F40-3A43-48E9-92A8-0C6FD9E8F3A6.*XCTRunner' for the device 0DE05F40-3A43-48E9-92A8-0C6FD9E8F3A6...
[debug] [XCUITest] 'pgrep -nif xcodebuild.*0DE05F40-3A43-48E9-92A8-0C6FD9E8F3A6' didn't detect any matching processes. Return code: 1
[debug] [XCUITest] 'pgrep -nif iproxy 8100' didn't detect any matching processes. Return code: 1
[debug] [XCUITest] 'pgrep -nif 0DE05F40-3A43-48E9-92A8-0C6FD9E8F3A6.*XCTRunner' didn't detect any matching processes. Return code: 1
[debug] [XCUITest] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /Users/gooduser/appium_test/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=0DE05F40-3A43-48E9-92A8-0C6FD9E8F3A6 IPHONEOS_DEPLOYMENT_TARGET=12.2 GCC_TREAT_WARNINGS_AS_ERRORS=0' in directory '/Users/gooduser/appium_test/appium-xcuitest-driver/WebDriverAgent'
[debug] [XCUITest] Output from xcodebuild will be logged. To change this, use 'showXcodeLog' desired capability
[Xcode] Build settings from command line:
[Xcode]
[debug] [XCUITest] Waiting up to 60000ms for WebDriverAgent to start
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[Xcode] GCC_TREAT_WARNINGS_AS_ERRORS = 0
[Xcode] IPHONEOS_DEPLOYMENT_TARGET = 12.2
[Xcode]
[Xcode]
[WD Proxy] Got an unexpected response: {"code":"ECONNREFUSED","errno":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"code":"ECONNREFUSED","errno":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[Xcode] note: Using new build system
[Xcode]
[Xcode]
[Xcode] note: Planning build
[Xcode]
[Xcode] note: Using build description from disk
[Xcode]
[Xcode] PBXCp /Users/gooduser/Library/Developer/Xcode/DerivedData/WebDriverAgent-cizcrgqddxeerbaynulonsvtdpmq/Build/Products/Debug-iphonesimulator/WebDriverAgentLib.framework /Users/gooduser/Library/Developer/Xcode/DerivedData/WebDriverAgent-cizcrgqddxeerbaynulonsvtdpmq/Build/Products/Debug-iphonesimulator/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework (in target: WebDriverAgentRunner)
[Xcode] cd /Users/gooduser/appium_test/appium-xcuitest-driver/WebDriverAgent
[Xcode] builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -exclude Headers -exclude PrivateHeaders -exclude Modules -exclude *.tbd -resolve-src-symlinks /Users/gooduser/Library/Developer/Xcode/DerivedData/WebDriverAgent-cizcrgqddxeerbaynulonsvtdpmq/Build/Products/Debug-iphonesimulator/WebDriverAgentLib.framework /Users/gooduser/Library/Developer/Xcode/DerivedData/WebDriverAgent-cizcrgqddxeerbaynulonsvtdpmq/Build/Products/Debug-iphonesimulator/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks
[Xcode]
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"code":"ECONNREFUSED","errno":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[Xcode]
[Xcode]
[Xcode] CodeSign /Users/gooduser/Library/Developer/Xcode/DerivedData/WebDriverAgent-cizcrgqddxeerbaynulonsvtdpmq/Build/Products/Debug-iphonesimulator/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework (in target: WebDriverAgentRunner)
[Xcode] cd /Users/gooduser/appium_test/appium-xcuitest-driver/WebDriverAgent
[Xcode] export CODESIGN_ALLOCATE=/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
[Xcode]
[Xcode] Signing Identity: "-"
[Xcode]
[Xcode] /usr/bin/codesign --force --sign - --timestamp=none --preserve-metadata=identifier,entitlements,flags /Users/gooduser/Library/Developer/Xcode/DerivedData/WebDriverAgent-cizcrgqddxeerbaynulonsvtdpmq/Build/Products/Debug-iphonesimulator/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework
[Xcode]
[Xcode] /Users/gooduser/Library/Developer/Xcode/DerivedData/WebDriverAgent-cizcrgqddxeerbaynulonsvtdpmq/Build/Products/Debug-iphonesimulator/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework: replacing existing signature
[Xcode]
[Xcode]
[Xcode]
[Xcode] ** TEST BUILD SUCCEEDED **
[Xcode]
[Xcode]
[debug] [XCUITest] Log file for xcodebuild test: /Users/gooduser/Library/Developer/Xcode/DerivedData/WebDriverAgent-cizcrgqddxeerbaynulonsvtdpmq/Logs/Test/Test-WebDriverAgentRunner-2019.03.01_13-19-48--0800.xcresult/2_Test/Diagnostics/WebDriverAgentRunner-430149B9-1A40-4724-8337-E3535FE1530E/WebDriverAgentRunner-416DEEFD-A3C7-4D38-A041-35DC94203CDF/Session-WebDriverAgentRunner-2019-03-01_131949-W81RKW.log
[Xcode] 2019-03-01 13:19:49.493 xcodebuild[83843:4788079] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
[Xcode] /Users/gooduser/Library/Developer/Xcode/DerivedData/WebDriverAgent-cizcrgqddxeerbaynulonsvtdpmq/Logs/Test/Test-WebDriverAgentRunner-2019.03.01_13-19-48--0800.xcresult/2_Test/Diagnostics/WebDriverAgentRunner-430149B9-1A40-4724-8337-E3535FE1530E/WebDriverAgentRunner-416DEEFD-A3C7-4D38-A041-35DC94203CDF/Session-WebDriverAgentRunner-2019-03-01_131949-W81RKW.log
[Xcode]
[Xcode] 2019-03-01 13:19:49.493 xcodebuild[83843:4788064] [MT] IDETestOperationsObserverDebug: (27853F65-E591-4A1F-8A17-8B768C6CBD0B) Beginning test session WebDriverAgentRunner-27853F65-E591-4A1F-8A17-8B768C6CBD0B at 2019-03-01 13:19:49.494 with Xcode 10P99q on target <DVTiPhoneSimulator: 0x7fb3df658c30> {
[Xcode] SimDevice: iPhone 6 (0DE05F40-3A43-48E9-92A8-0C6FD9E8F3A6, iOS 12.2, Booted)
[Xcode] } (12.2 (16E5201d))
[Xcode]
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"code":"ECONNREFUSED","errno":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"code":"ECONNREFUSED","errno":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"code":"ECONNREFUSED","errno":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"code":"ECONNREFUSED","errno":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"code":"ECONNREFUSED","errno":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[Xcode] 2019-03-01 13:19:54.944 xcodebuild[83843:4788064] [MT] IDETestOperationsObserverDebug: (27853F65-E591-4A1F-8A17-8B768C6CBD0B) Finished requesting crash reports. Continuing with testing.
[Xcode]
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"code":"ECONNREFUSED","errno":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"code":"ECONNREFUSED","errno":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"code":"ECONNREFUSED","errno":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[Xcode] 2019-03-01 13:19:57.517906-0800 WebDriverAgentRunner-Runner[83856:4788400] libMobileGestalt MobileGestalt.c:890: MGIsDeviceOneOfType is not supported on this platform.
[Xcode]
[Xcode] 2019-03-01 13:19:57.567058-0800 WebDriverAgentRunner-Runner[83856:4788400] Running tests...
[Xcode]
[Xcode] objc[83856]: Class GCDAsyncSocketPreBuffer is implemented in both /Users/gooduser/Library/Developer/Xcode/DerivedData/WebDriverAgent-cizcrgqddxeerbaynulonsvtdpmq/Build/Products/Debug-iphonesimulator/WebDriverAgentLib.framework/Frameworks/CocoaAsyncSocket.framework/CocoaAsyncSocket (0x1269d7738) and /Users/gooduser/Library/Developer/Xcode/DerivedData/WebDriverAgent-cizcrgqddxeerbaynulonsvtdpmq/Build/Products/Debug-iphonesimulator/WebDriverAgentLib.framework/Frameworks/RoutingHTTPServer.framework/RoutingHTTPServer (0x12694a620). One of the two will be used. Which one is undefined.
[Xcode]
[Xcode] objc[83856]: Class GCDAsyncReadPacket is implemented in both /Users/gooduser/Library/Developer/Xcode/DerivedData/WebDriverAgent-cizcrgqddxeerbaynulonsvtdpmq/Build/Products/Debug-iphonesimulator/WebDriverAgentLib.framework/Frameworks/CocoaAsyncSocket.framework/CocoaAsyncSocket (0x1269d7788) and /Users/gooduser/Library/Developer/Xcode/DerivedData/WebDriverAgent-cizcrgqddxeerbaynulonsvtdpmq/Build/Products/Debug-iphonesimulator/WebDriverAgentLib.framework/Frameworks/RoutingHTTPServer.framework/RoutingHTTPServer (0x12694a670). One of the two will be used. Which one is undefined.
[Xcode] objc[83856]: Class GCDAsyncWritePacket is implemented in both /Users/gooduser/Library/Developer/Xcode/DerivedData/WebDriverAgent-cizcrgqddxeerbaynulonsvtdpmq/Build/Products/Debug-iphonesimulator/WebDriverAgentLib.framework/Frameworks/CocoaAsyncSocket.framework/CocoaAsyncSocket (0x1269d77d8) and /Users/gooduser/Library/Developer/Xcode/DerivedData/WebDriverAgent-cizcrgqddxeerbaynulonsvtdpmq/Build/Products/Debug-iphonesimulator/WebDriverAgentLib.framework/Frameworks/RoutingHTTPServer.framework/RoutingHTTPServer (0x12694a6c0). One of the two will be used. Which one is undefined.
[Xcode] objc[83856]: Class GCDAsyncSpecialPacket is implemented in both /Users/gooduser/Library/Developer/Xcode/DerivedData/WebDriverAgent-cizcrgqddxeerbaynulonsvtdpmq/Build/Products/Debug-iphonesimulator/WebDriverAgentLib.framework/Frameworks/CocoaAsyncSocket.framework/CocoaAsyncSocket (0x1269d7828) and /Users/gooduser/Library/Developer/Xcode/DerivedData/WebDriverAgent-cizcrgqddxeerbaynulonsvtdpmq/Build/Products/Debug-iphonesimulator/WebDriverAgentLib.framework/Frameworks/RoutingHTTPServer.framework/RoutingHTTPServer (0x12694a710). One of the two will be used. Which one is undefined.
[Xcode]
[Xcode] objc[83856]: Class GCDAsyncSocket is implemented in both /Users/gooduser/Library/Developer/Xcode/DerivedData/WebDriverAgent-cizcrgqddxeerbaynulonsvtdpmq/Build/Products/Debug-iphonesimulator/WebDriverAgentLib.framework/Frameworks/CocoaAsyncSocket.framework/CocoaAsyncSocket (0x1269d7878) and /Users/gooduser/Library/Developer/Xcode/DerivedData/WebDriverAgent-cizcrgqddxeerbaynulonsvtdpmq/Build/Products/Debug-iphonesimulator/WebDriverAgentLib.framework/Frameworks/RoutingHTTPServer.framework/RoutingHTTPServer (0x12694a760). One of the two will be used. Which one is undefined.
[Xcode]
[Xcode] 2019-03-01 13:19:57.599747-0800 WebDriverAgentRunner-Runner[83856:4788400] Value of 'EVENTLOOP_IDLE_DELAY_SEC' has to be greater than zero to delay -[XCUIApplicationProcess setEventLoopHasIdled:]
[Xcode]
[Xcode] 2019-03-01 13:19:57.884003-0800 WebDriverAgentRunner-Runner[83856:4788400] [AXMediaCommon] Unable to look up screen scale
[Xcode]
[Xcode] 2019-03-01 13:19:57.884161-0800 WebDriverAgentRunner-Runner[83856:4788400] [AXMediaCommon] Unexpected physical screen orientation
[Xcode]
[Xcode] 2019-03-01 13:19:57.907888-0800 WebDriverAgentRunner-Runner[83856:4788400] [AXMediaCommon] Unable to look up screen scale
[Xcode]
[Xcode] 2019-03-01 13:19:57.911930-0800 WebDriverAgentRunner-Runner[83856:4788400] [AXMediaCommon] Unable to look up screen scale
[Xcode]
[Xcode] 2019-03-01 13:19:57.912014-0800 WebDriverAgentRunner-Runner[83856:4788400] [AXMediaCommon] Unexpected physical screen orientation
[Xcode]
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"code":"ECONNREFUSED","errno":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[Xcode] Test Suite 'All tests' started at 2019-03-01 13:19:58.522
[Xcode]
[Xcode] Test Suite 'WebDriverAgentRunner.xctest' started at 2019-03-01 13:19:58.523
[Xcode] Test Suite 'UITestingUITests' started at 2019-03-01 13:19:58.524
[Xcode]
[Xcode] Test Case '-[UITestingUITests testRunner]' started.
[Xcode]
[Xcode] t = 0.00s Start Test at 2019-03-01 13:19:58.530
[Xcode]
[Xcode] t = 0.00s Set Up
[Xcode]
[Xcode] 2019-03-01 13:19:58.535024-0800 WebDriverAgentRunner-Runner[83856:4788400] Built at Mar 1 2019 13:15:55
[Xcode]
[Xcode] 2019-03-01 13:19:58.559324-0800 WebDriverAgentRunner-Runner[83856:4788400] ServerURLHere->http://10.30.0.65:8100<-ServerURLHere
[Xcode]
[Xcode] 2019-03-01 13:19:58.561806-0800 WebDriverAgentRunner-Runner[83856:4788564] Using singleton test manager
[Xcode]
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [WD Proxy] Got response with status 200: "{\n \"value\" : {\n \"state\" : \"success\",\n \"os\" : {\n \"name\" : \"iOS\",\n \"version\" : \"12.2\",\n \"sdkVersion\" : \"12.2\"\n },\n \"ios\" : {\n \"simulatorVersion\" : \"12.2\",\n \"ip\" : \"10.30.0.65\"\n },\n \"build\" : {\n \"upgradedAt\" : \"1551403714348\",\n \"time\" : \"Mar 1 2019 13:15:55\",\n \"productBundleIdentifier\" : \"com.facebook.WebDriverAgentRunner\"\n }\n },\n \"sessionId\" : \"E4D63B28-8B26-44D3-BB91-7B52C8EE2E27\",\n \"status\" : 0\n}"
[debug] [XCUITest] WebDriverAgent information:
[debug] [XCUITest] {
[debug] [XCUITest] "state": "success",
[debug] [XCUITest] "os": {
[debug] [XCUITest] "name": "iOS",
[debug] [XCUITest] "version": "12.2",
[debug] [XCUITest] "sdkVersion": "12.2"
[debug] [XCUITest] },
[debug] [XCUITest] "ios": {
[debug] [XCUITest] "simulatorVersion": "12.2",
[debug] [XCUITest] "ip": "10.30.0.65"
[debug] [XCUITest] },
[debug] [XCUITest] "build": {
[debug] [XCUITest] "upgradedAt": "1551403714348",
[debug] [XCUITest] "time": "Mar 1 2019 13:15:55",
[debug] [XCUITest] "productBundleIdentifier": "com.facebook.WebDriverAgentRunner"
[debug] [XCUITest] }
[debug] [XCUITest] }
[debug] [XCUITest] WebDriverAgent successfully started after 13129ms
[debug] [BaseDriver] Event 'wdaSessionAttempted' logged at 1551475199382 (13:19:59 GMT-0800 (PST))
[debug] [XCUITest] Sending createSession command to WDA
[debug] [WD Proxy] Matched '/session' to command name 'createSession'
[debug] [WD Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {"desiredCapabilities":{"bundleId":"com.floatlearning.FLWebView","arguments":[],"environment":{},"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true}}
[Xcode] t = 0.87s Open com.floatlearning.FLWebView
[Xcode]
[Xcode] t = 0.87s Launch com.floatlearning.FLWebView
[Xcode]
[Xcode] t = 0.96s Wait for accessibility to load
[Xcode]
[Xcode] t = 1.18s Wait for com.floatlearning.FLWebView to idle
[Xcode]
[Xcode] t = 2.88s Find the Application 'com.floatlearning.FLWebView'
[Xcode]
[Xcode] t = 2.88s Snapshot accessibility hierarchy for app with pid 83860
[Xcode]
[debug] [WD Proxy] Got response with status 200: {"value":{"sessionId":"961C2F32-92CE-43CF-B55D-0F2BB9FBFE7A","capabilities":{"device":"iphone","browserName":"FLWebView","sdkVersion":"12.2","CFBundleIdentifier":"com.floatlearning.FLWebView"}},"sessionId":"961C2F32-92CE-43CF-B55D-0F2BB9FBFE7A","status":0}
[debug] [BaseDriver] Event 'wdaSessionStarted' logged at 1551475201433 (13:20:01 GMT-0800 (PST))
[debug] [BaseDriver] Event 'wdaStarted' logged at 1551475201434 (13:20:01 GMT-0800 (PST))
[XCUITest] Skipping setting of the initial display orientation. Set the "orientation" capability to either "LANDSCAPE" or "PORTRAIT", if this is an undesired behavior.
[debug] [BaseDriver] Event 'orientationSet' logged at 1551475201434 (13:20:01 GMT-0800 (PST))
[Appium] New XCUITestDriver session created successfully, session e9279abb-3402-4fe2-a5c0-e21912d966f2 added to master session list
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1551475201435 (13:20:01 GMT-0800 (PST))
[debug] [MJSONWP (e9279abb)] Cached the protocol value 'MJSONWP' for the new session e9279abb-3402-4fe2-a5c0-e21912d966f2
[debug] [MJSONWP (e9279abb)] Responding to client with driver.createSession() result: {"webStorageEnabled":false,"locationContextEnabled":false,"browserName":"","platform":"MAC","javascriptEnabled":true,"databaseEnabled":false,"takesScreenshot":true,"networkConnectionEnabled":false,"appiumVersion":"1.11.1","deviceName":"iPhone Simulator","platformVersion":"12.2","launchTimeout":35000,"platformName":"iOS","app":"http://appium.s3.amazonaws.com/FLWebView.app.zip","prevent-requeue":true,"name":"Basic ios hybrid test (iPhone Simulator on iOS 12.2)","showXcodeLog":true,"udid":"0DE05F40-3A43-48E9-92A8-0C6FD9E8F3A6"}
[HTTP] <-- POST /wd/hub/session 200 33798 ms - 602
[HTTP] 
[HTTP] --> POST /wd/hub/session/e9279abb-3402-4fe2-a5c0-e21912d966f2/timeouts/implicit_wait
[HTTP] {"ms":15000}
[debug] [MJSONWP (e9279abb)] Calling AppiumDriver.implicitWait() with args: [15000,"e9279abb-3402-4fe2-a5c0-e21912d966f2"]
[debug] [XCUITest] Executing command 'implicitWait'
[debug] [BaseDriver] Set implicit wait to 15000ms
[debug] [MJSONWP (e9279abb)] Responding to client with driver.implicitWait() result: null
[HTTP] <-- POST /wd/hub/session/e9279abb-3402-4fe2-a5c0-e21912d966f2/timeouts/implicit_wait 200 13 ms - 76
[HTTP] 
[HTTP] --> GET /wd/hub/session/e9279abb-3402-4fe2-a5c0-e21912d966f2/contexts
[HTTP] {}
[debug] [MJSONWP (e9279abb)] Calling AppiumDriver.getContexts() with args: ["e9279abb-3402-4fe2-a5c0-e21912d966f2"]
[debug] [XCUITest] Executing command 'getContexts'
[debug] [iOS] Getting list of available contexts
[debug] [iOS] Retrieving contexts and views
[debug] [iOS] Selecting by url: false
[debug] [RemoteDebugger] useNewSafari --> false
[debug] [RemoteDebugger] Connecting to remote debugger through unix domain socket: '/private/tmp/com.apple.launchd.gaKkjafN2W/com.apple.webinspectord_sim.socket'
[debug] [RemoteDebugger] Debugger socket connected
[debug] [RemoteDebugger] Sending connection key request
[debug] [RemoteDebugger] Sending '_rpc_reportIdentifier:' message to remote debugger
[debug] [RemoteDebugger] Received no apps from remote debugger. Unable to connect.
[debug] [RemoteDebugger] Connected to application
[debug] [RemoteDebugger] Selecting application
[debug] [RemoteDebugger] No applications currently connected.
[debug] [iOS] No web frames found.
[debug] [RemoteDebugger] Notified of connected drivers: {}.
[debug] [RemoteDebugger] Notified that new application 'PID:83860' has connected
[debug] [RemoteDebugger] Found app id key 'PID:83860' for bundle 'com.floatlearning.FLWebView'
[debug] [MJSONWP (e9279abb)] Responding to client with driver.getContexts() result: ["NATIVE_APP"]
[HTTP] <-- GET /wd/hub/session/e9279abb-3402-4fe2-a5c0-e21912d966f2/contexts 200 11543 ms - 86
[HTTP] 
[debug] [RemoteDebugger] Notified that new application 'PID:83861' has connected
[HTTP] --> DELETE /wd/hub/session/e9279abb-3402-4fe2-a5c0-e21912d966f2
[HTTP] {}
[debug] [MJSONWP (e9279abb)] Calling AppiumDriver.deleteSession() with args: ["e9279abb-3402-4fe2-a5c0-e21912d966f2"]
[debug] [BaseDriver] Event 'quitSessionRequested' logged at 1551475213043 (13:20:13 GMT-0800 (PST))
[Appium] Removing session e9279abb-3402-4fe2-a5c0-e21912d966f2 from our master session list
[debug] [WD Proxy] Matched '/session/e9279abb-3402-4fe2-a5c0-e21912d966f2' to command name 'deleteSession'
[debug] [WD Proxy] Proxying [DELETE /session/e9279abb-3402-4fe2-a5c0-e21912d966f2] to [DELETE http://localhost:8100/session/961C2F32-92CE-43CF-B55D-0F2BB9FBFE7A] with no body
[Xcode] t = 14.52s Terminate com.floatlearning.FLWebView:83860
[Xcode]
[debug] [RemoteDebugger] Application 'PID:83860' disconnected. Removing from app dictionary.
[debug] [RemoteDebugger] Current app is PID:83860
[debug] [RemoteDebugger] No longer have app id. Attempting to find new one.
[debug] [RemoteDebugger] Application 'PID:83861' disconnected. Removing from app dictionary.
[debug] [RemoteDebugger] Current app is undefined
[debug] [WD Proxy] Got response with status 200: "{\n \"value\" : {\n\n },\n \"sessionId\" : \"A062169C-7F93-475F-9400-B4946C2403CA\",\n \"status\" : 0\n}"
[debug] [XCUITest] Not clearing log files. Use `clearSystemFiles` capability to turn on.
[debug] [iOSLog] Stopping iOS log capture
[debug] [BaseDriver] Event 'quitSessionFinished' logged at 1551475214109 (13:20:14 GMT-0800 (PST))
[debug] [MJSONWP (e9279abb)] Received response: null
[debug] [MJSONWP (e9279abb)] But deleting session, so not returning
[debug] [MJSONWP (e9279abb)] Responding to client with driver.deleteSession() result: null
[HTTP] <-- DELETE /wd/hub/session/e9279abb-3402-4fe2-a5c0-e21912d966f2 200 1068 ms - 76
[HTTP] 
[Appium] Received SIGINT - shutting down
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment