Skip to content

Instantly share code, notes, and snippets.

@zastress
Created December 19, 2018 13:15
Show Gist options
  • Save zastress/afb2a4826605aa58955c9ec3d4a85459 to your computer and use it in GitHub Desktop.
Save zastress/afb2a4826605aa58955c9ec3d4a85459 to your computer and use it in GitHub Desktop.
IOS logs
[HTTP] --> POST /wd/hub/session
[HTTP] {"capabilities":{"alwaysMatch":{"appium:app":"/Users/myusername/Automation_Mobile/Mobile/IOS/Enrollment/../../Resources/myapp","appium:noReset":"false","appium:automationName":"XCUITest","appium:udid":"237a27def5afeadeac66b07fe4f3354646b8e93a","appium:deviceName":"iPhone","appium:platformVersion":"11.0","appium:wdaLocalPort":"8101","platformName":"iOS"},"firstMatch":[{}]},"desiredCapabilities":{"deviceName":"iPhone","wdaLocalPort":"8101","udid":"237a27def5afeadeac66b07fe4f3354646b8e93a","automationName":"XCUITest","noReset":"false","platformVersion":"11.0","platformName":"iOS","app":"/Users/myusername/Automation_Mobile/Mobile/IOS/Enrollment/../../Resources/myapp"}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{"deviceName":"iPhone","wdaLocalPort":"8101","udid":"237a27def5afeadeac66b07fe4f3354646b8e93a","automationName":"XCUITest","noReset":"false","platformVersion":"11.0","platformName":"iOS","app":"/Users/myusername/Automation_Mobile/Mobile/IOS/Enrollment/../../Resources/myapp"},null,{"alwaysMatch":{"appium:app":"/Users/myusername/Automation_Mobile/Mobile/IOS/Enrollment/../../Resources/myapp","appium:noReset":"false","appium:automationName":"XCUITest","appium:udid":"237a27def5afeadeac66b07fe4f3354646b8e93a","appium:deviceName":"iPhone","appium:platformVersion":"11.0","appium:wdaLocalPort":"8101","platformName":"iOS"},"firstMatch":[{}]}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1545225167028 (15:12:47 GMT+0200 (EET))
[BaseDriver] The capabilities ["newCommandTimeout","noreset"] are not standard capabilities and should have an extension prefix
[BaseDriver] Boolean capability passed in as string. Functionality may be compromised.
[BaseDriver] Number capability passed in as string. Functionality may be compromised.
[Appium] Creating new XCUITestDriver (v2.104.0) session
[Appium] Capabilities:
[Appium] platformName: iOS
[Appium] app: /Users/myusername/Automation_Mobile/Mobile/IOS/Enrollment/../../Resources/myapp
[Appium] noReset: false
[Appium] automationName: XCUITest
[Appium] udid: 237a27def5afeadeac66b07fe4f3354646b8e93a
[Appium] deviceName: iPhone
[Appium] platformVersion: 11.0
[Appium] wdaLocalPort: 8101
[Appium] newCommandTimeout: 0
[Appium] noreset: true
[debug] [BaseDriver] W3C capabilities {"alwaysMatch":{"platformNa... and MJSONWP desired capabilities {"automationName":"XCUITest... were provided
[debug] [BaseDriver] Creating session with W3C capabilities: {"alwaysMatch":{"platformNa...
[BaseDriver] Number capability passed in as string. Functionality may be compromised.
[BaseDriver] Boolean capability passed in as string. Functionality may be compromised.
[BaseDriver] Number capability passed in as string. Functionality may be compromised.
[BaseDriver] Capability 'noReset' changed from string to boolean. This may cause unexpected behavior
[BaseDriver] Capability 'newCommandTimeout' changed from string ('0') to integer (0). This may cause unexpected behavior
[BaseDriver] Capability 'wdaLocalPort' changed from string ('8101') to integer (8101). This may cause unexpected behavior
[BaseDriver] The following capabilities were provided, but are not recognized by appium: noreset.
[BaseDriver] Session created with session id: b7f94616-202d-4889-9b33-d5d9df9586d6
[debug] [XCUITest] Current user: 'myusername'
[debug] [XCUITest] Available devices: 237a27def5afeadeac66b07fe4f3354646b8e93a, b9997f19642cc4f78d778839664b70fd894b9e16
[debug] [XCUITest] Creating iDevice object with udid '237a27def5afeadeac66b07fe4f3354646b8e93a'
[XCUITest] Determining device to run tests on: udid: '237a27def5afeadeac66b07fe4f3354646b8e93a', real device: true
[debug] [XCUITest] Xcode version set to '10.0' (tools v9.4.0.0.1.1526532315)
[debug] [XCUITest] iOS SDK Version set to '12.0'
[debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1545225167572 (15:12:47 GMT+0200 (EET))
[BaseDriver] Using local app '/Users/myusername/Automation_Mobile/Mobile/IOS/Enrollment/../../Resources/myapp'
[debug] [BaseDriver] Unzipping '/Users/myusername/Automation_Mobile/Mobile/IOS/Enrollment/../../Resources/myapp'
[debug] [BaseDriver] Extracted 977 item(s) from '/Users/myusername/Automation_Mobile/Mobile/IOS/Enrollment/../../Resources/myapp'
[debug] [BaseDriver] Matched 976 item(s) in the extracted archive. Assuming 'Payload/linphone.app' is the correct bundle
[BaseDriver] Unzipped local app to '/var/folders/kb/145j4vtd4w9f5hnlpk7zcs9r0000gn/T/20181119-24418-akzsw8.n7065el8fr/Payload/linphone.app'
[debug] [BaseDriver] Event 'appConfigured' logged at 1545225170037 (15:12:50 GMT+0200 (EET))
[debug] [XCUITest] Checking whether app '/var/folders/kb/145j4vtd4w9f5hnlpk7zcs9r0000gn/T/20181119-24418-akzsw8.n7065el8fr/Payload/linphone.app' is actually present on file system
[debug] [XCUITest] App is present
[debug] [iOS] Getting bundle ID from app '/var/folders/kb/145j4vtd4w9f5hnlpk7zcs9r0000gn/T/20181119-24418-akzsw8.n7065el8fr/Payload/linphone.app': '<bundleid>'
[debug] [BaseDriver] Event 'resetStarted' logged at 1545225170042 (15:12:50 GMT+0200 (EET))
[debug] [XCUITest] Reset: running ios real device reset flow
[debug] [BaseDriver] Event 'resetComplete' logged at 1545225170044 (15:12:50 GMT+0200 (EET))
[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 '237a27def5afeadeac66b07fe4f3354646b8e93a'. Original error: Command 'idevicename -u 237a27def5afeadeac66b07fe4f3354646b8e93a' exited with code 255
[debug] [BaseDriver] Event 'logCaptureStarted' logged at 1545225170165 (15:12:50 GMT+0200 (EET))
[XCUITest] Setting up real device
[debug] [XCUITest] Verifying application platform
[debug] [XCUITest] CFBundleSupportedPlatforms: ["iPhoneOS"]
[debug] [XCUITest] Reset requested. Removing app with id '<bundleid>' from the device
[debug] [XCUITest] Installing '/var/folders/kb/145j4vtd4w9f5hnlpk7zcs9r0000gn/T/20181119-24418-akzsw8.n7065el8fr/Payload/linphone.app' on device with UUID '237a27def5afeadeac66b07fe4f3354646b8e93a'...
[debug] [XCUITest] The app has been installed successfully.
[debug] [BaseDriver] Event 'appInstalled' logged at 1545225175196 (15:12:55 GMT+0200 (EET))
[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'
[debug] [XCUITest] No obsolete cached processes from previous WDA sessions listening on port 8101 have been found
[debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus'
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8101/status] with no body
[debug] [XCUITest] Connection to WDA timed out
[debug] [iProxy] recv failed: Operation not permitted
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"state\" : \"success\",\n \"os\" : {\n \"name\" : \"iOS\",\n \"version\" : \"12.0.1\",\n \"sdkVersion\" : \"12.0\"\n },\n \"ios\" : {\n \"simulatorVersion\" : \"12.0.1\",\n \"ip\" : \"192.168.2.174\"\n },\n \"build\" : {\n \"upgradedAt\" : \"1543486146000\",\n \"time\" : \"Dec 5 2018 16:18:41\",\n \"productBundleIdentifier\" : \"com.facebook.WebDriverAgentRunner\"\n }\n },\n \"sessionId\" : \"6FB0A7EB-00A3-45B7-AC63-053704C5AE62\",\n \"status\" : 0\n}"
[debug] [XCUITest] Upgrade timestamp of the currently bundled WDA: 1543486146000
[debug] [XCUITest] Upgrade timestamp of the WDA on the device: 1543486146000
[XCUITest] Will reuse previously cached WDA instance at 'http://localhost:8101/' with 'com.facebook.WebDriverAgentRunner'. Set the wdaLocalPort capability to a value different from 8101 if this is an undesired behavior.
[debug] [XCUITest] Trying to start WebDriverAgent 1 times with 10000ms interval
[debug] [BaseDriver] Event 'wdaStartAttempted' logged at 1545225175347 (15:12:55 GMT+0200 (EET))
[XCUITest] Using provided WebdriverAgent at 'http://localhost:8101/'
[debug] [BaseDriver] Event 'wdaSessionAttempted' logged at 1545225175350 (15:12:55 GMT+0200 (EET))
[debug] [XCUITest] Sending createSession command to WDA
[debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus'
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8101/status] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"state\" : \"success\",\n \"os\" : {\n \"name\" : \"iOS\",\n \"version\" : \"12.0.1\",\n \"sdkVersion\" : \"12.0\"\n },\n \"ios\" : {\n \"simulatorVersion\" : \"12.0.1\",\n \"ip\" : \"192.168.2.174\"\n },\n \"build\" : {\n \"upgradedAt\" : \"1543486146000\",\n \"time\" : \"Dec 5 2018 16:18:41\",\n \"productBundleIdentifier\" : \"com.facebook.WebDriverAgentRunner\"\n }\n },\n \"sessionId\" : \"6FB0A7EB-00A3-45B7-AC63-053704C5AE62\",\n \"status\" : 0\n}"
[debug] [JSONWP Proxy] Matched '/session' to command name 'createSession'
[debug] [XCUITest] Connection to WDA timed out
[debug] [iProxy] recv failed: Operation not permitted
[debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8101/session] with body: {"desiredCapabilities":{"bundleId":"<bundleid>","arguments":[],"environment":{},"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true}}
[debug] [XCUITest] Connection to WDA timed out
[debug] [JSONWP Proxy] Got response with status 200: {"value":{"sessionId":"06DFF282-3639-4852-9DE1-DACF0208D2D8","capabilities":{"device":"iphone","browserName":" ","sdkVersion":"12.0.1","CFBundleIdentifier":"com.apple.springboard"}},"sessionId":"06DFF282-3639-4852-9DE1-DACF0208D2D8","status":0}
[debug] [BaseDriver] Event 'wdaSessionStarted' logged at 1545225177764 (15:12:57 GMT+0200 (EET))
[debug] [BaseDriver] Event 'wdaStarted' logged at 1545225177764 (15:12:57 GMT+0200 (EET))
[debug] [iProxy] recv failed: Operation not permitted
[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 1545225177766 (15:12:57 GMT+0200 (EET))
[Appium] New XCUITestDriver session created successfully, session b7f94616-202d-4889-9b33-d5d9df9586d6 added to master session list
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1545225177768 (15:12:57 GMT+0200 (EET))
[debug] [W3C (b7f94616)] Cached the protocol value 'W3C' for the new session b7f94616-202d-4889-9b33-d5d9df9586d6
[debug] [W3C (b7f94616)] Responding to client with driver.createSession() result: {"capabilities":{"webStorageEnabled":false,"locationContextEnabled":false,"browserName":"","platform":"MAC","javascriptEnabled":true,"databaseEnabled":false,"takesScreenshot":true,"networkConnectionEnabled":false,"platformName":"iOS","app":"/Users/myusername/Automation_Mobile/Mobile/IOS/Enrollment/../../Resources/myapp","noReset":false,"automationName":"XCUITest","udid":"237a27def5afeadeac66b07fe4f3354646b8e93a","deviceName":"iPhone","platformVersion":"11.0","wdaLocalPort":8101,"newCommandTimeout":0,"noreset":"true"}}
[HTTP] <-- POST /wd/hub/session 200 10754 ms - 605
[HTTP]
[HTTP] --> POST /wd/hub/session
[HTTP] {"capabilities":{"alwaysMatch":{"appium:noReset":"true","appium:automationName":"XCUITest","appium:udid":"237a27def5afeadeac66b07fe4f3354646b8e93a","appium:bundleId":"com.apple.MobileSMS","appium:deviceName":"iPhone","appium:platformVersion":"11.0","appium:wdaLocalPort":"8104","platformName":"iOS"},"firstMatch":[{}]},"desiredCapabilities":{"deviceName":"iPhone","wdaLocalPort":"8104","udid":"237a27def5afeadeac66b07fe4f3354646b8e93a","automationName":"XCUITest","noReset":"true","platformVersion":"11.0","platformName":"iOS","bundleId":"com.apple.MobileSMS"}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{"deviceName":"iPhone","wdaLocalPort":"8104","udid":"237a27def5afeadeac66b07fe4f3354646b8e93a","automationName":"XCUITest","noReset":"true","platformVersion":"11.0","platformName":"iOS","bundleId":"com.apple.MobileSMS"},null,{"alwaysMatch":{"appium:noReset":"true","appium:automationName":"XCUITest","appium:udid":"237a27def5afeadeac66b07fe4f3354646b8e93a","appium:bundleId":"com.apple.MobileSMS","appium:deviceName":"iPhone","appium:platformVersion":"11.0","appium:wdaLocalPort":"8104","platformName":"iOS"},"firstMatch":[{}]}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1545225177842 (15:12:57 GMT+0200 (EET))
[BaseDriver] The capabilities ["newCommandTimeout","noreset"] are not standard capabilities and should have an extension prefix
[BaseDriver] Boolean capability passed in as string. Functionality may be compromised.
[BaseDriver] Number capability passed in as string. Functionality may be compromised.
[Appium] Creating new XCUITestDriver (v2.104.0) session
[Appium] Capabilities:
[Appium] platformName: iOS
[Appium] noReset: true
[Appium] automationName: XCUITest
[Appium] udid: 237a27def5afeadeac66b07fe4f3354646b8e93a
[Appium] bundleId: com.apple.MobileSMS
[Appium] deviceName: iPhone
[Appium] platformVersion: 11.0
[Appium] wdaLocalPort: 8104
[Appium] newCommandTimeout: 0
[Appium] noreset: true
[debug] [BaseDriver] W3C capabilities {"alwaysMatch":{"platformNa... and MJSONWP desired capabilities {"automationName":"XCUITest... were provided
[debug] [BaseDriver] Creating session with W3C capabilities: {"alwaysMatch":{"platformNa...
[BaseDriver] Number capability passed in as string. Functionality may be compromised.
[BaseDriver] Boolean capability passed in as string. Functionality may be compromised.
[BaseDriver] Number capability passed in as string. Functionality may be compromised.
[BaseDriver] Capability 'noReset' changed from string to boolean. This may cause unexpected behavior
[BaseDriver] Capability 'newCommandTimeout' changed from string ('0') to integer (0). This may cause unexpected behavior
[BaseDriver] Capability 'wdaLocalPort' changed from string ('8104') to integer (8104). This may cause unexpected behavior
[BaseDriver] The following capabilities were provided, but are not recognized by appium: noreset.
[BaseDriver] Session created with session id: f89920c0-7a4b-4355-b3a5-faf347ea1c00
[debug] [XCUITest] Current user: 'myusername'
[debug] [XCUITest] Available devices: 237a27def5afeadeac66b07fe4f3354646b8e93a, b9997f19642cc4f78d778839664b70fd894b9e16
[debug] [XCUITest] Creating iDevice object with udid '237a27def5afeadeac66b07fe4f3354646b8e93a'
[XCUITest] Determining device to run tests on: udid: '237a27def5afeadeac66b07fe4f3354646b8e93a', real device: true
[debug] [XCUITest] Xcode version set to '10.0' (tools v9.4.0.0.1.1526532315)
[debug] [XCUITest] iOS SDK Version set to '12.0'
[debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1545225178447 (15:12:58 GMT+0200 (EET))
[debug] [BaseDriver] Event 'appConfigured' logged at 1545225178448 (15:12:58 GMT+0200 (EET))
[debug] [BaseDriver] Event 'resetStarted' logged at 1545225178449 (15:12:58 GMT+0200 (EET))
[debug] [XCUITest] Reset: fullReset not set. Leaving as is
[debug] [BaseDriver] Event 'resetComplete' logged at 1545225178450 (15:12:58 GMT+0200 (EET))
[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 '237a27def5afeadeac66b07fe4f3354646b8e93a'. Original error: Command 'idevicename -u 237a27def5afeadeac66b07fe4f3354646b8e93a' exited with code 255
[debug] [BaseDriver] Event 'logCaptureStarted' logged at 1545225178524 (15:12:58 GMT+0200 (EET))
[XCUITest] Setting up real device
[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'
[debug] [XCUITest] No obsolete cached processes from previous WDA sessions listening on port 8104 have been found
[debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus'
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8104/status] with no body
[debug] [XCUITest] Connection to WDA timed out
[debug] [iProxy] recv failed: Operation not permitted
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"state\" : \"success\",\n \"os\" : {\n \"name\" : \"iOS\",\n \"version\" : \"12.0.1\",\n \"sdkVersion\" : \"12.0\"\n },\n \"ios\" : {\n \"simulatorVersion\" : \"12.0.1\",\n \"ip\" : \"192.168.2.174\"\n },\n \"build\" : {\n \"upgradedAt\" : \"1543486146000\",\n \"time\" : \"Dec 5 2018 16:18:41\",\n \"productBundleIdentifier\" : \"com.facebook.WebDriverAgentRunner\"\n }\n },\n \"sessionId\" : \"06DFF282-3639-4852-9DE1-DACF0208D2D8\",\n \"status\" : 0\n}"
[debug] [XCUITest] Upgrade timestamp of the currently bundled WDA: 1543486146000
[debug] [XCUITest] Upgrade timestamp of the WDA on the device: 1543486146000
[XCUITest] Will reuse previously cached WDA instance at 'http://localhost:8104/' with 'com.facebook.WebDriverAgentRunner'. Set the wdaLocalPort capability to a value different from 8104 if this is an undesired behavior.
[debug] [XCUITest] Trying to start WebDriverAgent 1 times with 10000ms interval
[debug] [BaseDriver] Event 'wdaStartAttempted' logged at 1545225179322 (15:12:59 GMT+0200 (EET))
[XCUITest] Using provided WebdriverAgent at 'http://localhost:8104/'
[debug] [BaseDriver] Event 'wdaSessionAttempted' logged at 1545225179324 (15:12:59 GMT+0200 (EET))
[debug] [XCUITest] Sending createSession command to WDA
[debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus'
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8104/status] with no body
[debug] [XCUITest] Connection to WDA timed out
[debug] [iProxy] recv failed: Operation not permitted
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"state\" : \"success\",\n \"os\" : {\n \"name\" : \"iOS\",\n \"version\" : \"12.0.1\",\n \"sdkVersion\" : \"12.0\"\n },\n \"ios\" : {\n \"simulatorVersion\" : \"12.0.1\",\n \"ip\" : \"192.168.2.174\"\n },\n \"build\" : {\n \"upgradedAt\" : \"1543486146000\",\n \"time\" : \"Dec 5 2018 16:18:41\",\n \"productBundleIdentifier\" : \"com.facebook.WebDriverAgentRunner\"\n }\n },\n \"sessionId\" : \"06DFF282-3639-4852-9DE1-DACF0208D2D8\",\n \"status\" : 0\n}"
[debug] [JSONWP Proxy] Matched '/session' to command name 'createSession'
[debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8104/session] with body: {"desiredCapabilities":{"bundleId":"com.apple.MobileSMS","arguments":[],"environment":{},"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true}}
[debug] [XCUITest] Connection to WDA timed out
[debug] [JSONWP Proxy] Got response with status 200: {"value":{"sessionId":"5EB1B857-0DCD-40A5-BA09-21FA72996FD0","capabilities":{"device":"iphone","browserName":" ","sdkVersion":"12.0.1","CFBundleIdentifier":"com.apple.springboard"}},"sessionId":"5EB1B857-0DCD-40A5-BA09-21FA72996FD0","status":0}
[debug] [BaseDriver] Event 'wdaSessionStarted' logged at 1545225181212 (15:13:01 GMT+0200 (EET))
[debug] [BaseDriver] Event 'wdaStarted' logged at 1545225181212 (15:13:01 GMT+0200 (EET))
[XCUITest] Skipping setting of the initial display orientation. Set the "orientation" capability to either "LANDSCAPE" or "PORTRAIT", if this is an undesired behavior.
[debug] [iProxy] recv failed: Operation not permitted
[debug] [BaseDriver] Event 'orientationSet' logged at 1545225181213 (15:13:01 GMT+0200 (EET))
[Appium] New XCUITestDriver session created successfully, session f89920c0-7a4b-4355-b3a5-faf347ea1c00 added to master session list
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1545225181214 (15:13:01 GMT+0200 (EET))
[debug] [W3C (f89920c0)] Cached the protocol value 'W3C' for the new session f89920c0-7a4b-4355-b3a5-faf347ea1c00
[debug] [W3C (f89920c0)] Responding to client with driver.createSession() result: {"capabilities":{"webStorageEnabled":false,"locationContextEnabled":false,"browserName":"","platform":"MAC","javascriptEnabled":true,"databaseEnabled":false,"takesScreenshot":true,"networkConnectionEnabled":false,"platformName":"iOS","noReset":true,"automationName":"XCUITest","udid":"237a27def5afeadeac66b07fe4f3354646b8e93a","bundleId":"com.apple.MobileSMS","deviceName":"iPhone","platformVersion":"11.0","wdaLocalPort":8104,"newCommandTimeout":0,"noreset":"true"}}
[HTTP] <-- POST /wd/hub/session 200 3383 ms - 528
[HTTP]
[HTTP] --> GET /wd/hub/session/b7f94616-202d-4889-9b33-d5d9df9586d6/source
[HTTP] {}
[debug] [W3C (b7f94616)] Calling AppiumDriver.getPageSource() with args: ["b7f94616-202d-4889-9b33-d5d9df9586d6"]
[debug] [XCUITest] Executing command 'getPageSource'
[debug] [JSONWP Proxy] Matched '/source' to command name 'getPageSource'
[debug] [JSONWP Proxy] Proxying [GET /source] to [GET http://localhost:8101/session/06DFF282-3639-4852-9DE1-DACF0208D2D8/source] with no body
[debug] [XCUITest] Connection to WDA timed out
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : \"Session does not exist\",\n \"sessionId\" : \"5EB1B857-0DCD-40A5-BA09-21FA72996FD0\",\n \"status\" : 6\n}"
[debug] [iProxy] recv failed: Operation not permitted
[debug] [MJSONWP] Matched JSONWP error code 6 to NoSuchDriverError
[debug] [W3C (b7f94616)] Encountered internal error running command: NoSuchDriverError: Session does not exist
[debug] [W3C (b7f94616)] at errorFromMJSONWPStatusCode (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:786:12)
[debug] [W3C (b7f94616)] at ProxyRequestError.getActualError (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:683:14)
[debug] [W3C (b7f94616)] at JWProxy.command (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/jsonwp-proxy/proxy.js:234:19)
[HTTP] <-- GET /wd/hub/session/b7f94616-202d-4889-9b33-d5d9df9586d6/source 404 48 ms - 532
[HTTP]
[HTTP] --> GET /wd/hub/session/b7f94616-202d-4889-9b33-d5d9df9586d6/screenshot
[HTTP] {}
[debug] [W3C (b7f94616)] Calling AppiumDriver.getScreenshot() with args: ["b7f94616-202d-4889-9b33-d5d9df9586d6"]
[debug] [XCUITest] Executing command 'getScreenshot'
[debug] [XCUITest] Taking screenshot with WDA
[debug] [JSONWP Proxy] Matched '/screenshot' to command name 'getScreenshot'
[debug] [JSONWP Proxy] Proxying [GET /screenshot] to [GET http://localhost:8101/session/06DFF282-3639-4852-9DE1-DACF0208D2D8/screenshot] with no body
[debug] [XCUITest] Connection to WDA timed out
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : \"Session does not exist\",\n \"sessionId\" : \"5EB1B857-0DCD-40A5-BA09-21FA72996FD0\",\n \"status\" : 6\n}"
[debug] [iProxy] recv failed: Operation not permitted
[debug] [MJSONWP] Matched JSONWP error code 6 to NoSuchDriverError
[XCUITest] Error getting screenshot: Session does not exist
[debug] [XCUITest] Taking screenshot with 'idevicescreenshot'
[debug] [JSONWP Proxy] Matched '/orientation' to command name 'getOrientation'
[debug] [JSONWP Proxy] Proxying [GET /orientation] to [GET http://localhost:8101/session/06DFF282-3639-4852-9DE1-DACF0208D2D8/orientation] with no body
[debug] [XCUITest] Connection to WDA timed out
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : \"Session does not exist\",\n \"sessionId\" : \"5EB1B857-0DCD-40A5-BA09-21FA72996FD0\",\n \"status\" : 6\n}"
[debug] [MJSONWP] Matched JSONWP error code 6 to NoSuchDriverError
[XCUITest] Error getting screenshot through 'idevicescreenshot': Session does not exist
[debug] [XCUITest] Taking screenshot with WDA
[debug] [JSONWP Proxy] Matched '/screenshot' to command name 'getScreenshot'
[debug] [JSONWP Proxy] Proxying [GET /screenshot] to [GET http://localhost:8101/session/06DFF282-3639-4852-9DE1-DACF0208D2D8/screenshot] with no body
[debug] [iProxy] recv failed: Operation not permitted
[debug] [XCUITest] Connection to WDA timed out
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : \"Session does not exist\",\n \"sessionId\" : \"5EB1B857-0DCD-40A5-BA09-21FA72996FD0\",\n \"status\" : 6\n}"
[debug] [MJSONWP] Matched JSONWP error code 6 to NoSuchDriverError
[debug] [iProxy] recv failed: Operation not permitted
[debug] [XCUITest] Taking screenshot with WDA
[debug] [JSONWP Proxy] Matched '/screenshot' to command name 'getScreenshot'
[debug] [JSONWP Proxy] Proxying [GET /screenshot] to [GET http://localhost:8101/session/06DFF282-3639-4852-9DE1-DACF0208D2D8/screenshot] with no body
[debug] [XCUITest] Connection to WDA timed out
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : \"Session does not exist\",\n \"sessionId\" : \"5EB1B857-0DCD-40A5-BA09-21FA72996FD0\",\n \"status\" : 6\n}"
[debug] [MJSONWP] Matched JSONWP error code 6 to NoSuchDriverError
[debug] [W3C (b7f94616)] Encountered internal error running command: NoSuchDriverError: Session does not exist
[debug] [W3C (b7f94616)] at errorFromMJSONWPStatusCode (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:786:12)
[debug] [W3C (b7f94616)] at ProxyRequestError.getActualError (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:683:14)
[debug] [W3C (b7f94616)] at JWProxy.command (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/jsonwp-proxy/proxy.js:234:19)
[debug] [XCUITest] Connection to WDA timed out
[HTTP] <-- GET /wd/hub/session/b7f94616-202d-4889-9b33-d5d9df9586d6/screenshot 404 1068 ms - 532
[HTTP]
[HTTP] --> GET /wd/hub/session/b7f94616-202d-4889-9b33-d5d9df9586d6/screenshot
[HTTP] {}
[debug] [W3C (b7f94616)] Calling AppiumDriver.getScreenshot() with args: ["b7f94616-202d-4889-9b33-d5d9df9586d6"]
[debug] [XCUITest] Executing command 'getScreenshot'
[debug] [XCUITest] Taking screenshot with WDA
[debug] [JSONWP Proxy] Matched '/screenshot' to command name 'getScreenshot'
[debug] [JSONWP Proxy] Proxying [GET /screenshot] to [GET http://localhost:8101/session/06DFF282-3639-4852-9DE1-DACF0208D2D8/screenshot] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : \"Session does not exist\",\n \"sessionId\" : \"5EB1B857-0DCD-40A5-BA09-21FA72996FD0\",\n \"status\" : 6\n}"
[debug] [XCUITest] Connection to WDA timed out
[debug] [MJSONWP] Matched JSONWP error code 6 to NoSuchDriverError
[XCUITest] Error getting screenshot: Session does not exist
[debug] [XCUITest] Taking screenshot with 'idevicescreenshot'
[debug] [iProxy] recv failed: Operation not permitted
[debug] [JSONWP Proxy] Matched '/orientation' to command name 'getOrientation'
[debug] [JSONWP Proxy] Proxying [GET /orientation] to [GET http://localhost:8101/session/06DFF282-3639-4852-9DE1-DACF0208D2D8/orientation] with no body
[debug] [XCUITest] Connection to WDA timed out
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : \"Session does not exist\",\n \"sessionId\" : \"5EB1B857-0DCD-40A5-BA09-21FA72996FD0\",\n \"status\" : 6\n}"
[debug] [XCUITest] Connection to WDA timed out
[debug] [MJSONWP] Matched JSONWP error code 6 to NoSuchDriverError
[XCUITest] Error getting screenshot through 'idevicescreenshot': Session does not exist
[debug] [XCUITest] Taking screenshot with WDA
[debug] [JSONWP Proxy] Matched '/screenshot' to command name 'getScreenshot'
[debug] [JSONWP Proxy] Proxying [GET /screenshot] to [GET http://localhost:8101/session/06DFF282-3639-4852-9DE1-DACF0208D2D8/screenshot] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : \"Session does not exist\",\n \"sessionId\" : \"5EB1B857-0DCD-40A5-BA09-21FA72996FD0\",\n \"status\" : 6\n}"
[debug] [XCUITest] Connection to WDA timed out
[debug] [MJSONWP] Matched JSONWP error code 6 to NoSuchDriverError
[debug] [iProxy] recv failed: Operation not permitted
[debug] [XCUITest] Taking screenshot with WDA
[debug] [JSONWP Proxy] Matched '/screenshot' to command name 'getScreenshot'
[debug] [JSONWP Proxy] Proxying [GET /screenshot] to [GET http://localhost:8101/session/06DFF282-3639-4852-9DE1-DACF0208D2D8/screenshot] with no body
[debug] [XCUITest] Connection to WDA timed out
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : \"Session does not exist\",\n \"sessionId\" : \"5EB1B857-0DCD-40A5-BA09-21FA72996FD0\",\n \"status\" : 6\n}"
[debug] [MJSONWP] Matched JSONWP error code 6 to NoSuchDriverError
[debug] [XCUITest] Connection to WDA timed out
[debug] [W3C (b7f94616)] Encountered internal error running command: NoSuchDriverError: Session does not exist
[debug] [W3C (b7f94616)] at errorFromMJSONWPStatusCode (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:786:12)
[debug] [W3C (b7f94616)] at ProxyRequestError.getActualError (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:683:14)
[debug] [W3C (b7f94616)] at JWProxy.command (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/jsonwp-proxy/proxy.js:234:19)
[HTTP] <-- GET /wd/hub/session/b7f94616-202d-4889-9b33-d5d9df9586d6/screenshot 404 1080 ms - 532
[HTTP]
[HTTP] --> POST /wd/hub/session/b7f94616-202d-4889-9b33-d5d9df9586d6/elements
[HTTP] {"using":"xpath","sessionId":"b7f94616-202d-4889-9b33-d5d9df9586d6","value":"//XCUIElementTypeAlert"}
[debug] [W3C (b7f94616)] Calling AppiumDriver.findElements() with args: ["xpath","//XCUIElementTypeAlert","b7f94616-202d-4889-9b33-d5d9df9586d6"]
[debug] [XCUITest] Executing command 'findElements'
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [JSONWP Proxy] Matched '/elements' to command name 'findElements'
[debug] [JSONWP Proxy] Proxying [POST /elements] to [POST http://localhost:8101/session/06DFF282-3639-4852-9DE1-DACF0208D2D8/elements] with body: {"using":"xpath","value":"//XCUIElementTypeAlert"}
[debug] [XCUITest] Connection to WDA timed out
[debug] [JSONWP Proxy] Got response with status 200: {"value":"Session does not exist","sessionId":"5EB1B857-0DCD-40A5-BA09-21FA72996FD0","status":6}
[JSONWP Proxy] Got an unexpected response: {"value":"Session does not exist","sessionId":"5EB1B857-0DCD-40A5-BA09-21FA72996FD0","status":6}
[debug] [MJSONWP] Matched JSONWP error code 6 to NoSuchDriverError
[debug] [XCUITest] Connection to WDA timed out
[debug] [W3C (b7f94616)] Responding to client with driver.findElements() result: []
[HTTP] <-- POST /wd/hub/session/b7f94616-202d-4889-9b33-d5d9df9586d6/elements 200 32 ms - 12
[HTTP]
[HTTP] --> DELETE /wd/hub/session/b7f94616-202d-4889-9b33-d5d9df9586d6
[HTTP] {}
[debug] [W3C (b7f94616)] Calling AppiumDriver.deleteSession() with args: ["b7f94616-202d-4889-9b33-d5d9df9586d6"]
[debug] [BaseDriver] Event 'quitSessionRequested' logged at 1545225183505 (15:13:03 GMT+0200 (EET))
[Appium] Removing session b7f94616-202d-4889-9b33-d5d9df9586d6 from our master session list
[debug] [JSONWP Proxy] Matched '/session/b7f94616-202d-4889-9b33-d5d9df9586d6' to command name 'deleteSession'
[debug] [JSONWP Proxy] Proxying [DELETE /session/b7f94616-202d-4889-9b33-d5d9df9586d6] to [DELETE http://localhost:8101/session/06DFF282-3639-4852-9DE1-DACF0208D2D8] with no body
[debug] [XCUITest] Connection to WDA timed out
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : \"Session does not exist\",\n \"sessionId\" : \"5EB1B857-0DCD-40A5-BA09-21FA72996FD0\",\n \"status\" : 6\n}"
[debug] [MJSONWP] Matched JSONWP error code 6 to NoSuchDriverError
[debug] [XCUITest] Connection to WDA timed out
[debug] [XCUITest] Unable to DELETE session on WDA: 'Session does not exist'. Continuing shutdown.
[debug] [XCUITest] Not clearing log files. Use `clearSystemFiles` capability to turn on.
[debug] [BaseDriver] Event 'quitSessionFinished' logged at 1545225183526 (15:13:03 GMT+0200 (EET))
[debug] [W3C (b7f94616)] Received response: null
[debug] [W3C (b7f94616)] But deleting session, so not returning
[debug] [W3C (b7f94616)] Responding to client with driver.deleteSession() result: null
[HTTP] <-- DELETE /wd/hub/session/b7f94616-202d-4889-9b33-d5d9df9586d6 200 23 ms - 14
[HTTP]
[HTTP] --> DELETE /wd/hub/session/f89920c0-7a4b-4355-b3a5-faf347ea1c00
[HTTP] {}
[debug] [W3C (f89920c0)] Calling AppiumDriver.deleteSession() with args: ["f89920c0-7a4b-4355-b3a5-faf347ea1c00"]
[debug] [BaseDriver] Event 'quitSessionRequested' logged at 1545225183536 (15:13:03 GMT+0200 (EET))
[Appium] Removing session f89920c0-7a4b-4355-b3a5-faf347ea1c00 from our master session list
[debug] [JSONWP Proxy] Matched '/session/f89920c0-7a4b-4355-b3a5-faf347ea1c00' to command name 'deleteSession'
[debug] [JSONWP Proxy] Proxying [DELETE /session/f89920c0-7a4b-4355-b3a5-faf347ea1c00] to [DELETE http://localhost:8104/session/5EB1B857-0DCD-40A5-BA09-21FA72996FD0] with no body
[debug] [XCUITest] Connection to WDA timed out
[debug] [iProxy] recv failed: Operation not permitted
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n\n },\n \"sessionId\" : \"4D8D0BF1-A0A0-43EE-BED9-D7200F8ACF3A\",\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 1545225184607 (15:13:04 GMT+0200 (EET))
[debug] [W3C (f89920c0)] Received response: null
[debug] [W3C (f89920c0)] But deleting session, so not returning
[debug] [W3C (f89920c0)] Responding to client with driver.deleteSession() result: null
[HTTP] <-- DELETE /wd/hub/session/f89920c0-7a4b-4355-b3a5-faf347ea1c00 200 1076 ms - 14
[HTTP]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment