Skip to content

Instantly share code, notes, and snippets.

@ahashmi24
Created January 2, 2020 07:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ahashmi24/bf77b21e30ba2e509e421e4442883842 to your computer and use it in GitHub Desktop.
Save ahashmi24/bf77b21e30ba2e509e421e4442883842 to your computer and use it in GitHub Desktop.
Last login: Thu Jan 2 12:21:21 on ttys000
Ahmers-MacBook-Pro:~ vikasvipul$ appium
[Appium] Welcome to Appium v1.16.0
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> POST /wd/hub/session
[HTTP] {"desiredCapabilities":{"includeSafariInWebviews":true,"orientation":"PORTRAIT","noReset":true,"platformVersion":"13.1.2","automationName":"Flutter","bundleId":"com.example.datePicket","platformName":"iOS","udid":"9204c2fdce263ab9569a676d7e68d4e6904a7366","deviceName":"iPhone 8 plus"},"capabilities":{"alwaysMatch":{"appium:automationName":"Flutter","appium:bundleId":"com.example.datePicket","appium:deviceName":"iPhone 8 plus","includeSafariInWebviews":true,"appium:noReset":true,"appium:orientation":"PORTRAIT","platformName":"ios","appium:platformVersion":"13.1.2","appium:udid":"9204c2fdce263ab9569a676d7e68d4e6904a7366"},"firstMatch":[{}]}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{"includeSafariInWebviews":true,"orientation":"PORTRAIT","noReset":true,"platformVersion":"13.1.2","automationName":"Flutter","bundleId":"com.example.datePicket","platformName":"iOS","udid":"9204c2fdce263ab9569a676d7e68d4e6904a7366","deviceName":"iPhone 8 plus"},null,{"alwaysMatch":{"appium:automationName":"Flutter","appium:bundleId":"com.example.datePicket","appium:deviceName":"iPhone 8 plus","includeSafariInWebviews":true,"appium:noReset":true,"appium:orientation":"PORTRAIT","platformName":"ios","appium:platformVersion":"13.1.2","appium:udid":"9204c2fdce263ab9569a676d7e68d4e6904a7366"},"firstMatch":[{}]}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1577947949683 (12:22:29 GMT+0530 (India Standard Time))
[BaseDriver] The capabilities ["includeSafariInWebviews"] are not standard capabilities and should have an extension prefix
[Appium] Appium v1.16.0 creating new FlutterDriver (v0.0.20) session
[debug] [BaseDriver] Creating session with MJSONWP desired capabilities: {
[debug] [BaseDriver] "includeSafariInWebviews": true,
[debug] [BaseDriver] "orientation": "PORTRAIT",
[debug] [BaseDriver] "noReset": true,
[debug] [BaseDriver] "platformVersion": "13.1.2",
[debug] [BaseDriver] "automationName": "Flutter",
[debug] [BaseDriver] "bundleId": "com.example.datePicket",
[debug] [BaseDriver] "platformName": "iOS",
[debug] [BaseDriver] "udid": "9204c2fdce263ab9569a676d7e68d4e6904a7366",
[debug] [BaseDriver] "deviceName": "iPhone 8 plus"
[debug] [BaseDriver] }
[BaseDriver] The following capabilities were provided, but are not recognized by Appium:
[BaseDriver] includeSafariInWebviews
[BaseDriver] bundleId
[BaseDriver] Session created with session id: 9365f917-1601-4c86-98dc-98752b072c08
[FlutterDriver] Starting an IOS proxy session
[debug] [BaseDriver] Creating session with MJSONWP desired capabilities: {
[debug] [BaseDriver] "includeSafariInWebviews": true,
[debug] [BaseDriver] "orientation": "PORTRAIT",
[debug] [BaseDriver] "noReset": true,
[debug] [BaseDriver] "platformVersion": "13.1.2",
[debug] [BaseDriver] "automationName": "Flutter",
[debug] [BaseDriver] "bundleId": "com.example.datePicket",
[debug] [BaseDriver] "platformName": "iOS",
[debug] [BaseDriver] "udid": "9204c2fdce263ab9569a676d7e68d4e6904a7366",
[debug] [BaseDriver] "deviceName": "iPhone 8 plus",
[debug] [BaseDriver] "newCommandTimeout": 0
[debug] [BaseDriver] }
[BaseDriver] Session created with session id: 211a3c2a-1813-4231-a12b-46c349f82045
[debug] [XCUITest] Current user: 'vikasvipul'
[debug] [XCUITest] Available devices: 9204c2fdce263ab9569a676d7e68d4e6904a7366
[debug] [XCUITest] Creating iDevice object with udid '9204c2fdce263ab9569a676d7e68d4e6904a7366'
[XCUITest] Determining device to run tests on: udid: '9204c2fdce263ab9569a676d7e68d4e6904a7366', real device: true
[XCUITest] Normalized platformVersion capability value '13.1.2' to '13.1'
[debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1577947950369 (12:22:30 GMT+0530 (India Standard Time))
[debug] [BaseDriver] Event 'appConfigured' logged at 1577947950369 (12:22:30 GMT+0530 (India Standard Time))
[debug] [BaseDriver] Event 'resetStarted' logged at 1577947950369 (12:22:30 GMT+0530 (India Standard Time))
[debug] [XCUITest] Reset: fullReset not set. Leaving as is
[debug] [BaseDriver] Event 'resetComplete' logged at 1577947950370 (12:22:30 GMT+0530 (India Standard Time))
[debug] [XCUITest] Crash reports root '/Users/vikasvipul/Library/Logs/CrashReporter/MobileDevice/Ahmer’s iPhone' does not exist. Got nothing to gather.
[debug] [BaseDriver] Event 'logCaptureStarted' logged at 1577947950628 (12:22:30 GMT+0530 (India Standard Time))
[XCUITest] Setting up real device
[XCUITest] Using WDA path: '/usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent'
[XCUITest] Using WDA agent: '/usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj'
[debug] [XCUITest] No obsolete cached processes from previous WDA sessions listening on port 8100 have been found
[DevCon Factory] Requesting connection for device 9204c2fdce263ab9569a676d7e68d4e6904a7366 on local port 8100, device port 8100
[debug] [DevCon Factory] Cached connections count: 0
[DevCon Factory] Port #8100 is busy
[DevCon Factory] Successfully requested the connection for 9204c2fdce263ab9569a676d7e68d4e6904a7366:8100
[debug] [XCUITest] Parsed BUILD_DIR configuration value: '/Users/vikasvipul/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu/Build/Products'
[debug] [XCUITest] Got derived data root: '/Users/vikasvipul/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu'
[debug] [XCUITest] Starting WebDriverAgent initialization with the synchronization key '/Users/vikasvipul/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu'
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[iProxy@9204c...] Connection was refused to port 8100
[WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"}
[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 1 times with 10000ms interval
[debug] [XCUITest] These values can be customized by changing wdaStartupRetries/wdaStartupRetryInterval capabilities
[debug] [BaseDriver] Event 'wdaStartAttempted' logged at 1577947953712 (12:22:33 GMT+0530 (India Standard Time))
[XCUITest] Launching WebDriverAgent on the device
[WebDriverAgent] Fetching dependencies
[WebDriverAgent] Dependencies up-to-date
[debug] [XCUITest] Killing running processes 'xcodebuild.*9204c2fdce263ab9569a676d7e68d4e6904a7366' for the device 9204c2fdce263ab9569a676d7e68d4e6904a7366...
[debug] [XCUITest] 'pgrep -ifn xcodebuild.*9204c2fdce263ab9569a676d7e68d4e6904a7366' didn't detect any matching processes. Return code: 1
[debug] [XCUITest] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -derivedDataPath /Users/vikasvipul/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu -destination id=9204c2fdce263ab9569a676d7e68d4e6904a7366 IPHONEOS_DEPLOYMENT_TARGET=13.1 GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO' in directory '/usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent'
[debug] [XCUITest] Output from xcodebuild will only be logged if any errors are present there. To change this, use 'showXcodeLog' desired capability
[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
[iProxy@9204c...] Connection was refused to port 8100
[WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"}
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[iProxy@9204c...] Connection was refused to port 8100
[WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"}
[debug] [XCUITest] Log file for xcodebuild test: /Users/vikasvipul/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu/Logs/Test/Test-WebDriverAgentRunner-2020.01.02_12-22-35-+0530.xcresult/Staging/2_Test/Diagnostics/WebDriverAgentRunner-7E9956D3-1BEF-4511-9C22-64B639833E18/WebDriverAgentRunner-9E6766F6-9C3B-4ACA-ADBF-0D3CAA33C991/Session-WebDriverAgentRunner-2020-01-02_122236-QDeB1R.log
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[iProxy@9204c...] Connection was refused to port 8100
[WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"}
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[iProxy@9204c...] Connection was refused to port 8100
[WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"}
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[iProxy@9204c...] Connection was refused to port 8100
[WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"}
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[iProxy@9204c...] Connection was refused to port 8100
[WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"}
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[iProxy@9204c...] Connection was refused to port 8100
[WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"}
[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: {
[debug] [WD Proxy] "value" : {
[debug] [WD Proxy] "message" : "WebDriverAgent is ready to accept commands",
[debug] [WD Proxy] "state" : "success",
[debug] [WD Proxy] "os" : {
[debug] [WD Proxy] "name" : "iOS",
[debug] [WD Proxy] "version" : "13.1.2",
[debug] [WD Proxy] "sdkVersion" : "13.0"
[debug] [WD Proxy] },
[debug] [WD Proxy] "ios" : {
[debug] [WD Proxy] "simulatorVersion" : "13.1.2",
[debug] [WD Proxy] "ip" : "10.20.8.107"
[debug] [WD Proxy] },
[debug] [WD Proxy] "ready" : true,
[debug] [WD Proxy] "build" : {
[debug] [WD Proxy] "upgradedAt" : "1577356260834",
[debug] [WD Proxy] "time" : "Jan 2 2020 11:11:52",
[debug] [WD Proxy] "productBundleIdentifier" : "com.facebook.WebDriverAgentRunner"
[debug] [WD Proxy] }
[debug] [WD Proxy] },
[debug] [WD Proxy] "sessionId" : "BD3A1051-05FA-4055-8A49-206F384E282E"
[debug] [WD Proxy] }
[debug] [XCUITest] WebDriverAgent information:
[debug] [XCUITest] {
[debug] [XCUITest] "message": "WebDriverAgent is ready to accept commands",
[debug] [XCUITest] "state": "success",
[debug] [XCUITest] "os": {
[debug] [XCUITest] "name": "iOS",
[debug] [XCUITest] "version": "13.1.2",
[debug] [XCUITest] "sdkVersion": "13.0"
[debug] [XCUITest] },
[debug] [XCUITest] "ios": {
[debug] [XCUITest] "simulatorVersion": "13.1.2",
[debug] [XCUITest] "ip": "10.20.8.107"
[debug] [XCUITest] },
[debug] [XCUITest] "ready": true,
[debug] [XCUITest] "build": {
[debug] [XCUITest] "upgradedAt": "1577356260834",
[debug] [XCUITest] "time": "Jan 2 2020 11:11:52",
[debug] [XCUITest] "productBundleIdentifier": "com.facebook.WebDriverAgentRunner"
[debug] [XCUITest] }
[debug] [XCUITest] }
[debug] [XCUITest] WebDriverAgent successfully started after 7551ms
[debug] [BaseDriver] Event 'wdaSessionAttempted' logged at 1577947961292 (12:22:41 GMT+0530 (India Standard Time))
[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: {"capabilities":{"firstMatch":[{"bundleId":"com.example.datePicket","arguments":[],"environment":{},"eventloopIdleDelaySec":0,"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true}],"alwaysMatch":{}}}
[debug] [WD Proxy] Got response with status 200: {"value":{"sessionId":"3C0C58B0-BCB9-4DC9-9648-7628D9DDC616","capabilities":{"device":"iphone","browserName":"date_picket","sdkVersion":"13.1.2","CFBundleIdentifier":"com.example.datePicket"}},"sessionId":"3C0C58B0-BCB9-4DC9-9648-7628D9DDC616"}
[WD Proxy] Determined the downstream protocol as 'W3C'
[debug] [BaseDriver] Event 'wdaSessionStarted' logged at 1577947964228 (12:22:44 GMT+0530 (India Standard Time))
[debug] [BaseDriver] Event 'wdaStarted' logged at 1577947964228 (12:22:44 GMT+0530 (India Standard Time))
[debug] [XCUITest] Setting initial orientation to 'PORTRAIT'
[debug] [WD Proxy] Matched '/orientation' to command name 'setOrientation'
[debug] [WD Proxy] Proxying [POST /orientation] to [POST http://localhost:8100/session/3C0C58B0-BCB9-4DC9-9648-7628D9DDC616/orientation] with body: {"orientation":"PORTRAIT"}
[debug] [WD Proxy] Got response with status 200: {"value":null,"sessionId":"3C0C58B0-BCB9-4DC9-9648-7628D9DDC616"}
[debug] [BaseDriver] Event 'orientationSet' logged at 1577947965802 (12:22:45 GMT+0530 (India Standard Time))
[FlutterDriver] Attempt #1
[FlutterDriver] Connecting to Dart Observatory: ws://127.0.0.1:57172/3mlnWkf-CiY=/ws
[FlutterDriver] Error: connect ECONNREFUSED 127.0.0.1:57172
[FlutterDriver] at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1128:14)
[FlutterDriver] Check Dart Observatory URI ws://127.0.0.1:57172/3mlnWkf-CiY=/ws
[FlutterDriver] Waiting 300 seconds before trying...
[FlutterDriver] Attempt #2
[FlutterDriver] Connecting to Dart Observatory: ws://127.0.0.1:57172/3mlnWkf-CiY=/ws
[FlutterDriver] Error: connect ECONNREFUSED 127.0.0.1:57172
[FlutterDriver] at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1128:14)
[FlutterDriver] Check Dart Observatory URI ws://127.0.0.1:57172/3mlnWkf-CiY=/ws
[FlutterDriver] Waiting 300 seconds before trying...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment