Skip to content

Instantly share code, notes, and snippets.

@siddtiwari
Created April 25, 2018 06:37
Show Gist options
  • Save siddtiwari/9f98b74ec775c823ecdb4712a16bd141 to your computer and use it in GitHub Desktop.
Save siddtiwari/9f98b74ec775c823ecdb4712a16bd141 to your computer and use it in GitHub Desktop.
Appium Log
[Appium] Welcome to Appium v1.7.2
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"app":"/Users/raginimathur/Library/Developer/Xcode/DerivedData/XLPrepaid-cflibmusunztyobrnckeovceuufd/Build/Products/Debug-iphoneos/XLPrepaid.app","appium-version":"1.7.2","platformVersion":"11.2.6","automationName":"XCUITest","bundleID":"com.xl.MyXL.Giant","platformName":"iOS","udid":"cc789ad93a5a735670c3379fa3de44f20fefac9e","deviceName":"XL Axiata's iPhone"}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"app":"/Users/raginimathur/Library/Developer/Xcode/DerivedData/XLPrepaid-cflibmusunztyobrnckeovceuufd/Build/Products/Debug-iphoneos/XLPrepaid.app","appium-version":"1.7.2","platformVersion":"11.2.6","automationName":"XCUITest","bundleID":"com.xl.MyXL.Giant","platformName":"iOS","udid":"cc789ad93a5a735670c3379fa3de44f20fefac9e","deviceName":"XL Axiata's iPhone"},null,null]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1524637167277 (11:49:27 GMT+0530 (IST))
[Appium] Creating new XCUITestDriver (v2.64.0) session
[Appium] Capabilities:
[Appium] app: /Users/raginimathur/Library/Developer/Xcode/DerivedData/XLPrepaid-cflibmusunztyobrnckeovceuufd/Build/Products/Debug-iphoneos/XLPrepaid.app
[Appium] appium-version: 1.7.2
[Appium] platformVersion: 11.2.6
[Appium] automationName: XCUITest
[Appium] bundleID: com.xl.MyXL.Giant
[Appium] platformName: iOS
[Appium] udid: cc789ad93a5a735670c3379fa3de44f20fefac9e
[Appium] deviceName: XL Axiata's iPhone
[BaseDriver] The following capabilities were provided, but are not recognized by appium: appium-version, bundleID.
[BaseDriver] Session created with session id: 6479f1cc-665b-4929-91a3-0555c2d61b67
[debug] [XCUITest] Current user: 'raginimathur'
[debug] [XCUITest] Current version of libimobiledevice: stable 1.2.0 (bottled), HEAD
[debug] [XCUITest] Xcode version set to '9.3' (tools v9.2.0.0.1.1510905681)
[debug] [XCUITest] iOS SDK Version set to '11.3'
[debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1524637168589 (11:49:28 GMT+0530 (IST))
[debug] [XCUITest] Available devices: cc789ad93a5a735670c3379fa3de44f20fefac9e
[debug] [XCUITest] Creating iDevice object with udid 'cc789ad93a5a735670c3379fa3de44f20fefac9e'
[XCUITest] Determining device to run tests on: udid: 'cc789ad93a5a735670c3379fa3de44f20fefac9e', real device: true
[BaseDriver] Using local app '/Users/raginimathur/Library/Developer/Xcode/DerivedData/XLPrepaid-cflibmusunztyobrnckeovceuufd/Build/Products/Debug-iphoneos/XLPrepaid.app'
[debug] [BaseDriver] Event 'appConfigured' logged at 1524637168786 (11:49:28 GMT+0530 (IST))
[debug] [XCUITest] Checking whether app '/Users/raginimathur/Library/Developer/Xcode/DerivedData/XLPrepaid-cflibmusunztyobrnckeovceuufd/Build/Products/Debug-iphoneos/XLPrepaid.app' is actually present on file system
[debug] [XCUITest] App is present
[debug] [iOS] Getting bundle ID from app '/Users/raginimathur/Library/Developer/Xcode/DerivedData/XLPrepaid-cflibmusunztyobrnckeovceuufd/Build/Products/Debug-iphoneos/XLPrepaid.app': 'com.xl.MyXL.Giant'
[debug] [BaseDriver] Event 'resetStarted' logged at 1524637168791 (11:49:28 GMT+0530 (IST))
[debug] [XCUITest] Reset: running ios real device reset flow
[debug] [BaseDriver] Event 'resetComplete' logged at 1524637168792 (11:49:28 GMT+0530 (IST))
[debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog
[debug] [iOSLog] Starting iOS device log capture with: 'idevicesyslog'
[XCUITest] Cannot get the name of the crashes folder for the device with udid 'cc789ad93a5a735670c3379fa3de44f20fefac9e'. Original error: Command 'idevicename -u cc789ad93a5a735670c3379fa3de44f20fefac9e' exited with code 255
[debug] [BaseDriver] Event 'logCaptureStarted' logged at 1524637169897 (11:49:29 GMT+0530 (IST))
[XCUITest] Setting up real device
[debug] [XCUITest] Reset requested. Removing app with id 'com.xl.MyXL.Giant' from the device
[debug] [XCUITest] Installing '/Users/raginimathur/Library/Developer/Xcode/DerivedData/XLPrepaid-cflibmusunztyobrnckeovceuufd/Build/Products/Debug-iphoneos/XLPrepaid.app' on device with UUID 'cc789ad93a5a735670c3379fa3de44f20fefac9e'...
[debug] [XCUITest] The app has been installed successfully.
[debug] [BaseDriver] Event 'appInstalled' logged at 1524637178226 (11:49:38 GMT+0530 (IST))
[XCUITest] Using WDA path: '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[XCUITest] Using WDA agent: '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj'
[XCUITest] Detected 1 obsolete cached process from previous WDA sessions. Cleaning up...
[XCUITest] Failed to kill obsolete cached process '27646'. Original error:
Error: Killing process 27646 failed: Process doesn't exist
at Array.map (<anonymous>)
at processExists.all.then.then (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/node_modules/fkill/index.js:83:10)
at <anonymous>
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"state\" : \"success\",\n \"os\" : {\n \"name\" : \"iOS\",\n \"version\" : \"11.3\",\n \"sdkVersion\" : \"11.3\"\n },\n \"ios\" : {\n \"simulatorVersion\" : \"11.3\",\n \"ip\" : \"172.25.147.85\"\n },\n \"build\" : {\n \"time\" : \"Apr 25 2018 11:13:10\"\n }\n },\n \"sessionId\" : \"8A97CD54-2EF3-47B5-B06B-22D7972344B4\",\n \"status\" : 0\n}"
[XCUITest] Will reuse previously cached WDA instance at 'http://localhost:8100/'. Set the wdaLocalPort capability to a value different from 8100 if this is an undesired behavior.
[debug] [BaseDriver] Event 'wdaStartAttempted' logged at 1524637178425 (11:49:38 GMT+0530 (IST))
[XCUITest] Using provided WebdriverAgent at 'http://localhost:8100/'
[debug] [BaseDriver] Event 'wdaSessionAttempted' logged at 1524637178426 (11:49:38 GMT+0530 (IST))
[debug] [XCUITest] Sending createSession command to WDA
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"state\" : \"success\",\n \"os\" : {\n \"name\" : \"iOS\",\n \"version\" : \"11.3\",\n \"sdkVersion\" : \"11.3\"\n },\n \"ios\" : {\n \"simulatorVersion\" : \"11.3\",\n \"ip\" : \"172.25.147.85\"\n },\n \"build\" : {\n \"time\" : \"Apr 25 2018 11:13:10\"\n }\n },\n \"sessionId\" : \"8A97CD54-2EF3-47B5-B06B-22D7972344B4\",\n \"status\" : 0\n}"
[debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {"desiredCapabilities":{"bundleId":"com.xl.MyXL.Giant","arguments":[],"environment":{},"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true}}
[debug] [JSONWP Proxy] Got response with status 200: {"value":{"sessionId":"B999D558-7E2C-4873-B5FC-E46DD4817EAC","capabilities":{"device":"iphone","browserName":"myXL","sdkVersion":"11.3","CFBundleIdentifier":"com.xl.MyXL.Giant"}},"sessionId":"B999D558-7E2C-4873-B5FC-E46DD4817EAC","status":0}
[debug] [BaseDriver] Event 'wdaSessionStarted' logged at 1524637182715 (11:49:42 GMT+0530 (IST))
[debug] [BaseDriver] Event 'wdaStarted' logged at 1524637182716 (11:49:42 GMT+0530 (IST))
[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 1524637182717 (11:49:42 GMT+0530 (IST))
[Appium] New XCUITestDriver session created successfully, session 6479f1cc-665b-4929-91a3-0555c2d61b67 added to master session list
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1524637182718 (11:49:42 GMT+0530 (IST))
[debug] [MJSONWP] Responding to client with driver.createSession() result: {"webStorageEnabled":false,"locationContextEnabled":false,"browserName":"","platform":"MAC","javascriptEnabled":true,"databaseEnabled":false,"takesScreenshot":true,"networkConnectionEnabled":false,"app":"/Users/raginimathur/Library/Developer/Xcode/DerivedData/XLPrepaid-cflibmusunztyobrnckeovceuufd/Build/Products/Debug-iphoneos/XLPrepaid.app","appium-version":"1.7.2","platformVersion":"11.2.6","automationName":"XCUITest","bundleID":"com.xl.MyXL.Giant","platformName":"iOS","udid":"cc789ad93a5a735670c3379fa3de44f20fefac9e","deviceName":"XL Axiata's iPhone"}
[HTTP] <-- POST /wd/hub/session 200 15447 ms - 632
[HTTP] --> GET /wd/hub/session/6479f1cc-665b-4929-91a3-0555c2d61b67 {}
[debug] [MJSONWP] Calling AppiumDriver.getSession() with args: ["6479f1cc-665b-4929-91a3-0555c2d61b67"]
[debug] [XCUITest] Executing command 'getSession'
[debug] [JSONWP Proxy] Proxying [GET /] to [GET http://localhost:8100/session/B999D558-7E2C-4873-B5FC-E46DD4817EAC] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"sessionId\" : \"B999D558-7E2C-4873-B5FC-E46DD4817EAC\",\n \"capabilities\" : {\n \"device\" : \"iphone\",\n \"browserName\" : \"myXL\",\n \"sdkVersion\" : \"11.3\",\n \"CFBundleIdentifier\" : \"com.xl.MyXL.Giant\"\n }\n },\n \"sessionId\" : \"B999D558-7E2C-4873-B5FC-E46DD4817EAC\",\n \"status\" : 0\n}"
[XCUITest] Merging WDA caps over Appium caps for session detail response
[debug] [MJSONWP] Responding to client with driver.getSession() result: {"udid":"cc789ad93a5a735670c3379fa3de44f20fefac9e","app":"/Users/raginimathur/Library/Developer/Xcode/DerivedData/XLPrepaid-cflibmusunztyobrnckeovceuufd/Build/Products/Debug-iphoneos/XLPrepaid.app","appium-version":"1.7.2","platformVersion":"11.2.6","automationName":"XCUITest","bundleID":"com.xl.MyXL.Giant","platformName":"iOS","deviceName":"XL Axiata's iPhone","device":"iphone","browserName":"myXL","sdkVersion":"11.3","CFBundleIdentifier":"com.xl.MyXL.Giant"}
[HTTP] <-- GET /wd/hub/session/6479f1cc-665b-4929-91a3-0555c2d61b67 200 63 ms - 536
[HTTP] --> GET /wd/hub/session/6479f1cc-665b-4929-91a3-0555c2d61b67 {}
[debug] [MJSONWP] Calling AppiumDriver.getSession() with args: ["6479f1cc-665b-4929-91a3-0555c2d61b67"]
[debug] [XCUITest] Executing command 'getSession'
[debug] [JSONWP Proxy] Proxying [GET /] to [GET http://localhost:8100/session/B999D558-7E2C-4873-B5FC-E46DD4817EAC] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"sessionId\" : \"B999D558-7E2C-4873-B5FC-E46DD4817EAC\",\n \"capabilities\" : {\n \"device\" : \"iphone\",\n \"browserName\" : \"myXL\",\n \"sdkVersion\" : \"11.3\",\n \"CFBundleIdentifier\" : \"com.xl.MyXL.Giant\"\n }\n },\n \"sessionId\" : \"B999D558-7E2C-4873-B5FC-E46DD4817EAC\",\n \"status\" : 0\n}"
[XCUITest] Merging WDA caps over Appium caps for session detail response
[debug] [MJSONWP] Responding to client with driver.getSession() result: {"udid":"cc789ad93a5a735670c3379fa3de44f20fefac9e","app":"/Users/raginimathur/Library/Developer/Xcode/DerivedData/XLPrepaid-cflibmusunztyobrnckeovceuufd/Build/Products/Debug-iphoneos/XLPrepaid.app","appium-version":"1.7.2","platformVersion":"11.2.6","automationName":"XCUITest","bundleID":"com.xl.MyXL.Giant","platformName":"iOS","deviceName":"XL Axiata's iPhone","device":"iphone","browserName":"myXL","sdkVersion":"11.3","CFBundleIdentifier":"com.xl.MyXL.Giant"}
[HTTP] <-- GET /wd/hub/session/6479f1cc-665b-4929-91a3-0555c2d61b67 200 74 ms - 536
[HTTP] --> GET /wd/hub/session/6479f1cc-665b-4929-91a3-0555c2d61b67/alert_text {}
[debug] [MJSONWP] Calling AppiumDriver.getAlertText() with args: ["6479f1cc-665b-4929-91a3-0555c2d61b67"]
[debug] [XCUITest] Executing command 'getAlertText'
[debug] [JSONWP Proxy] Proxying [GET /alert/text] to [GET http://localhost:8100/session/B999D558-7E2C-4873-B5FC-E46DD4817EAC/alert/text] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n\n },\n \"sessionId\" : \"B999D558-7E2C-4873-B5FC-E46DD4817EAC\",\n \"status\" : 27\n}"
[MJSONWP] Encountered internal error running command: Error: An attempt was made to operate on a modal dialog when one was not open.
at JWProxy.command$ (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/jsonwp-proxy/proxy.js:176:15)
at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
at <anonymous>
[HTTP] <-- GET /wd/hub/session/6479f1cc-665b-4929-91a3-0555c2d61b67/alert_text 500 152 ms - 242
[HTTP] --> GET /wd/hub/session/6479f1cc-665b-4929-91a3-0555c2d61b67/alert_text {}
[debug] [MJSONWP] Calling AppiumDriver.getAlertText() with args: ["6479f1cc-665b-4929-91a3-0555c2d61b67"]
[debug] [XCUITest] Executing command 'getAlertText'
[debug] [JSONWP Proxy] Proxying [GET /alert/text] to [GET http://localhost:8100/session/B999D558-7E2C-4873-B5FC-E46DD4817EAC/alert/text] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n\n },\n \"sessionId\" : \"B999D558-7E2C-4873-B5FC-E46DD4817EAC\",\n \"status\" : 27\n}"
[MJSONWP] Encountered internal error running command: Error: An attempt was made to operate on a modal dialog when one was not open.
at JWProxy.command$ (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/jsonwp-proxy/proxy.js:176:15)
at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
at <anonymous>
[HTTP] <-- GET /wd/hub/session/6479f1cc-665b-4929-91a3-0555c2d61b67/alert_text 500 148 ms - 242
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment