Skip to content

Instantly share code, notes, and snippets.

@SergiyBelevitnevSFLY
Created September 9, 2022 10:22
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 SergiyBelevitnevSFLY/7c6ffeafc5a9ef4779a69eecfc7eb732 to your computer and use it in GitHub Desktop.
Save SergiyBelevitnevSFLY/7c6ffeafc5a9ef4779a69eecfc7eb732 to your computer and use it in GitHub Desktop.
Appium issue
[app=/Users/ios_auto_*2/Jenkins/workspace/ReportPortal_Epic_iOS/12.19.0_87959/AlphaFly_12.19.0_87959.ipa, automationName=XCUITest, deviceName=iPhoneX14_1, invocationCount=0, newCommandTimeout=240, platformName=ios, platformVersion=15.1, udid=f364794c0545403924971c442640efed3e63eb36, wdaLocalPort=50102]
12:55:45 Creating driver (1 tries out of 3)
[debug] [HTTP] Request idempotency key: 4304ffce-ec8a-4ea3-915b-462e35e17dd7
[HTTP] --> POST /wd/hub/session
[HTTP] {"desiredCapabilities":{"app":"/Users/ios_auto_*2/Jenkins/workspace/ReportPortal_Epic_iOS/12.19.0_87959/AlphaFly_12.19.0_87959.ipa","newCommandTimeout":240,"platformVersion":"15.1","automationName":"XCUITest","invocationCount":"0","platformName":"ios","udid":"f364794c0545403924971c442640efed3e63eb36","deviceName":"iPhoneX14_1","wdaLocalPort":50102},"capabilities":{"firstMatch":[{"appium:app":"/Users/ios_auto_*2/Jenkins/workspace/ReportPortal_Epic_iOS/12.19.0_87959/AlphaFly_12.19.0_87959.ipa","appium:automationName":"XCUITest","appium:deviceName":"iPhoneX14_1","invocationCount":"0","appium:newCommandTimeout":240,"platformName":"ios","appium:platformVersion":"15.1","appium:udid":"f364794c0545403924971c442640efed3e63eb36","appium:wdaLocalPort":50102}]}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{"app":"/Users/ios_auto_*2/Jenkins/workspace/ReportPortal_Epic_iOS/12.19.0_87959/AlphaFly_12.19.0_87959.ipa","newCommandTimeout":240,"platformVersion":"15.1","automationName":"XCUITest","invocationCount":"0","platformName":"ios","udid":"f364794c0545403924971c442640efed3e63eb36","deviceName":"iPhoneX14_1","wdaLocalPort":50102},null,{"firstMatch":[{"appium:app":"/Users/ios_auto_*2/Jenkins/workspace/ReportPortal_Epic_iOS/12.19.0_87959/AlphaFly_12.19.0_87959.ipa","appium:automationName":"XCUITest","appium:deviceName":"iPhoneX14_1","invocationCount":"0","appium:newCommandTimeout":240,"platformName":"ios","appium:platformVersion":"15.1","appium:udid":"f364794c0545403924971c442640efed3e63eb36","appium:wdaLocalPort":50102}]}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1662717345596 (12:55:45 GMT+0300 (Israel Daylight Time))
[BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix:
[BaseDriver] invocationCount
[Appium] Appium v1.22.3 creating new XCUITestDriver (v3.59.0) session
[debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided
[debug] [BaseDriver] Creating session with W3C capabilities: {
[debug] [BaseDriver] "alwaysMatch": {
[debug] [BaseDriver] "appium:invocationCount": "0",
[debug] [BaseDriver] "platformName": "ios",
[debug] [BaseDriver] "appium:app": "/Users/ios_auto_*2/Jenkins/workspace/ReportPortal_Epic_iOS/12.19.0_87959/AlphaFly_12.19.0_87959.ipa",
[debug] [BaseDriver] "appium:automationName": "XCUITest",
[debug] [BaseDriver] "appium:deviceName": "iPhoneX14_1",
[debug] [BaseDriver] "appium:newCommandTimeout": 240,
[debug] [BaseDriver] "appium:platformVersion": "15.1",
[debug] [BaseDriver] "appium:udid": "f364794c0545403924971c442640efed3e63eb36",
[debug] [BaseDriver] "appium:wdaLocalPort": 50102
[debug] [BaseDriver] },
[debug] [BaseDriver] "firstMatch": [
[debug] [BaseDriver] {}
[debug] [BaseDriver] ]
[debug] [BaseDriver] }
[BaseDriver] The following capabilities were provided, but are not recognized by Appium:
[BaseDriver] invocationCount
[BaseDriver] Session created with session id: 2ae66ecc-b5f6-4e26-af8d-c859fdad1cbe
[debug] [XCUITest] Current user: 'ios_auto_*2'
[debug] [XCUITest] Available devices: e6918fd0c48522dbb1f32920fde1392f4311fd69, 00008020-001074940CD3002E, 00008020-0013089601E1002E, f364794c0545403924971c442640efed3e63eb36
[debug] [XCUITest] Creating iDevice object with udid 'f364794c0545403924971c442640efed3e63eb36'
[XCUITest] Determining device to run tests on: udid: 'f364794c0545403924971c442640efed3e63eb36', real device: true
[debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1662717345609 (12:55:45 GMT+0300 (Israel Daylight Time))
[BaseDriver] Using local app '/Users/ios_auto_*2/Jenkins/workspace/ReportPortal_Epic_iOS/12.19.0_87959/AlphaFly_12.19.0_87959.ipa'
[BaseDriver] Will reuse previously cached application at '/var/folders/fs/qyf7bc7557zfm4h9vyj21q9w0000gn/T/202289-57068-2ndm66.lb6b/*.app'
[debug] [BaseDriver] Event 'appConfigured' logged at 1662717345717 (12:55:45 GMT+0300 (Israel Daylight Time))
[debug] [XCUITest] Checking whether app '/var/folders/fs/qyf7bc7557zfm4h9vyj21q9w0000gn/T/202289-57068-2ndm66.lb6b/*.app' is actually present on file system
[debug] [XCUITest] App is present
[debug] [XCUITest] Getting bundle ID from app '/var/folders/fs/qyf7bc7557zfm4h9vyj21q9w0000gn/T/202289-57068-2ndm66.lb6b/*.app': 'com.*.mopho.develop.epic.alpha'
[debug] [BaseDriver] Event 'resetStarted' logged at 1662717345722 (12:55:45 GMT+0300 (Israel Daylight Time))
[debug] [XCUITest] Reset: running ios real device reset flow
[debug] [BaseDriver] Event 'resetComplete' logged at 1662717345722 (12:55:45 GMT+0300 (Israel Daylight Time))
[WebDriverAgent] Using WDA path: '/usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent'
[WebDriverAgent] Using WDA agent: '/usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj'
[debug] [XCUITest] Crash reports root '/Users/ios_auto_*2/Library/Logs/CrashReporter/MobileDevice/iPhoneX14_1' does not exist. Got nothing to gather.
[debug] [BaseDriver] Event 'logCaptureStarted' logged at 1662717345899 (12:55:45 GMT+0300 (Israel Daylight Time))
[XCUITest] Setting up real device
[debug] [XCUITest] Verifying application platform
[debug] [XCUITest] CFBundleSupportedPlatforms: ["iPhoneOS"]
[debug] [XCUITest] Reset requested. Removing app with id 'com.*.mopho.develop.epic.alpha' from the device
[debug] [XCUITest] Installing '/var/folders/fs/qyf7bc7557zfm4h9vyj21q9w0000gn/T/202289-57068-2ndm66.lb6b/*.app' on device with UUID 'f364794c0545403924971c442640efed3e63eb36'...
[debug] [XCUITest] Using 'serial' app deployment strategy. You could change it by providing another value to the 'appInstallStrategy' capability
[debug] [XCUITest] Getting bundle ID from app '/var/folders/fs/qyf7bc7557zfm4h9vyj21q9w0000gn/T/202289-57068-2ndm66.lb6b/*.app': 'com.*.mopho.develop.epic.alpha'
[debug] [XCUITest] Successfully scanned the tree structure of '/var/folders/fs/qyf7bc7557zfm4h9vyj21q9w0000gn/T/202289-57068-2ndm66.lb6b/*.app'
[debug] [XCUITest] Got 468 folders and 1337 files to push
[debug] [XCUITest] Successfully created the remote folder structure (469 items)
[debug] [XCUITest] Proceeding to serial files push
[debug] [WebDriverAgent] Parsed BUILD_DIR configuration value: '/Users/ios_auto_*2/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu/Build/Products'
[debug] [WebDriverAgent] Got derived data root: '/Users/ios_auto_*2/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu'
[debug] [XCUITest] Successfully pushed 468 folders and 1337 files within 16199ms
[debug] [XCUITest] A new application installation is going to be performed
[XCUITest] App installation succeeded after 30045ms
[debug] [XCUITest] The app has been installed successfully.
[debug] [BaseDriver] Event 'appInstalled' logged at 1662717376600 (12:56:16 GMT+0300 (Israel Daylight Time))
[debug] [WebDriverAgent] No obsolete cached processes from previous WDA sessions listening on port 50102 have been found
[DevCon Factory] Requesting connection for device f364794c0545403924971c442640efed3e63eb36 on local port 50102, device port 50102
[debug] [DevCon Factory] Cached connections count: 0
[DevCon Factory] Successfully requested the connection for f364794c0545403924971c442640efed3e63eb36:50102
[debug] [XCUITest] Starting WebDriverAgent initialization with the synchronization key 'XCUITestDriver'
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:50102/status] with no body
[debug] [iProxy@f364794c:50102] Connection was refused to port 50102
[WD Proxy] socket hang up
[debug] [WebDriverAgent] WDA is not listening at 'http://127.0.0.1:50102/'
[debug] [WebDriverAgent] 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 1662717376648 (12:56:16 GMT+0300 (Israel Daylight Time))
[WebDriverAgent] Launching WebDriverAgent on the device
[WebDriverAgent] WebDriverAgent does not need a cleanup. The sources are up to date (1661894772066 >= 1661894772066)
[debug] [WebDriverAgent] Killing running processes 'xcodebuild.*f364794c0545403924971c442640efed3e63eb36' for the device f364794c0545403924971c442640efed3e63eb36...
[debug] [WebDriverAgent] 'pgrep -if xcodebuild.*f364794c0545403924971c442640efed3e63eb36' didn't detect any matching processes. Return code: 1
[debug] [WebDriverAgent] 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/ios_auto_*2/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu -destination id=f364794c0545403924971c442640efed3e63eb36 IPHONEOS_DEPLOYMENT_TARGET=15.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] [WebDriverAgent] Output from xcodebuild will only be logged if any errors are present there. To change this, use 'showXcodeLog' desired capability
[debug] [WebDriverAgent] 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://127.0.0.1:50102/status] with no body
[debug] [iProxy@f364794c:50102] Connection was refused to port 50102
[WD Proxy] socket hang up
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:50102/status] with no body
[debug] [iProxy@f364794c:50102] Connection was refused to port 50102
[WD Proxy] socket hang up
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:50102/status] with no body
[debug] [iProxy@f364794c:50102] Connection was refused to port 50102
[WD Proxy] socket hang up
[WebDriverAgent] xcodebuild exited with code '65' and signal 'null'
[WebDriverAgent] Launching WebDriverAgent on the device
[WebDriverAgent] WebDriverAgent does not need a cleanup. The sources are up to date (1661894772066 >= 1661894772066)
[debug] [WebDriverAgent] Killing running processes 'xcodebuild.*f364794c0545403924971c442640efed3e63eb36' for the device f364794c0545403924971c442640efed3e63eb36...
[debug] [WebDriverAgent] 'pgrep -if xcodebuild.*f364794c0545403924971c442640efed3e63eb36' didn't detect any matching processes. Return code: 1
[debug] [WebDriverAgent] 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/ios_auto_*2/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu -destination id=f364794c0545403924971c442640efed3e63eb36 IPHONEOS_DEPLOYMENT_TARGET=15.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] [WebDriverAgent] Output from xcodebuild will only be logged if any errors are present there. To change this, use 'showXcodeLog' desired capability
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:50102/status] with no body
[debug] [iProxy@f364794c:50102] Connection was refused to port 50102
[WD Proxy] socket hang up
[debug] [WebDriverAgent] 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://127.0.0.1:50102/status] with no body
[debug] [iProxy@f364794c:50102] Connection was refused to port 50102
[WD Proxy] socket hang up
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:50102/status] with no body
[debug] [iProxy@f364794c:50102] Connection was refused to port 50102
[WD Proxy] socket hang up
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:50102/status] with no body
[debug] [iProxy@f364794c:50102] Connection was refused to port 50102
[WD Proxy] socket hang up
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:50102/status] with no body
[debug] [iProxy@f364794c:50102] Connection was refused to port 50102
[WD Proxy] socket hang up
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:50102/status] with no body
[debug] [iProxy@f364794c:50102] Connection was refused to port 50102
[WD Proxy] socket hang up
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:50102/status] with no body
[debug] [iProxy@f364794c:50102] Connection was refused to port 50102
[WD Proxy] socket hang up
[WebDriverAgent] xcodebuild exited with code '65' and signal 'null'
[debug] [BaseDriver] Event 'wdaStartFailed' logged at 1662717383372 (12:56:23 GMT+0300 (Israel Daylight Time))
[debug] [XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
[debug] [XCUITest] xcodebuild error message:
[debug] [XCUITest] . Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
[XCUITest] Quitting and uninstalling WebDriverAgent
[WebDriverAgent] Shutting down sub-processes
[debug] [WebDriverAgent] No WDAs on the device.
[XCUITest] {}
[DevCon Factory] Releasing connections for f364794c0545403924971c442640efed3e63eb36 device on any port number
[DevCon Factory] Found cached connections to release: ["f364794c0545403924971c442640efed3e63eb36:50102"]
[DevCon Factory] Releasing the listener for 'f364794c0545403924971c442640efed3e63eb36:50102'
[debug] [iProxy@f364794c:50102] Closing the connection
[debug] [DevCon Factory] Cached connections count: 0
[debug] [XCUITest] Not clearing log files. Use `clearSystemFiles` capability to turn on.
[iProxy@f364794c:50102] The connection has been closed
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1662717383667 (12:56:23 GMT+0300 (Israel Daylight Time))
[debug] [W3C] Encountered internal error running command: Error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
[debug] [W3C] xcodebuild error message:
[debug] [W3C] . Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
[debug] [W3C] at quitAndUninstall (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:585:15)
[debug] [W3C] at /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:620:11
[debug] [W3C] at wrapped (/usr/local/lib/node_modules/appium/node_modules/asyncbox/lib/asyncbox.js:60:13)
[debug] [W3C] at retry (/usr/local/lib/node_modules/appium/node_modules/asyncbox/lib/asyncbox.js:43:13)
[debug] [W3C] at retryInterval (/usr/local/lib/node_modules/appium/node_modules/asyncbox/lib/asyncbox.js:70:10)
[debug] [W3C] at /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:600:7
[HTTP] <-- POST /wd/hub/session 500 38074 ms - 1329
[HTTP]
12:56:28 Trying again due to the following error: Unable to create a new remote session. Please check the server log for more details. Original error: An unknown server-side error occurred while processing the command. Original error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
xcodebuild error message:
. Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'ios-auto-*2s-Mac-mini.local', ip: 'fe80:0:0:0:858:5a32:4679:cd1c%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.16', java.version: '11.0.10'
Driver info: driver.version: IOS*Driver
remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
xcodebuild error message:
. Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
at getResponseForW3CError (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:804:9)
at asyncHandler (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:380:37)
at runNextTicks (node:internal/process/task_queues:60:5)
at processImmediate (node:internal/timers:442:9)
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'ios-auto-*2s-Mac-mini.local', ip: 'fe80:0:0:0:858:5a32:4679:cd1c%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.16', java.version: '11.0.10'
Driver info: driver.version: IOS*Driver
12:56:28 Creating driver (2 tries out of 3)
[debug] [HTTP] Request idempotency key: 7aabead6-6271-44ad-88bc-6e8632c9fb57
[HTTP] --> POST /wd/hub/session
[HTTP] {"desiredCapabilities":{"app":"/Users/ios_auto_*2/Jenkins/workspace/ReportPortal_Epic_iOS/12.19.0_87959/AlphaFly_12.19.0_87959.ipa","newCommandTimeout":240,"platformVersion":"15.1","automationName":"XCUITest","invocationCount":"0","platformName":"ios","udid":"f364794c0545403924971c442640efed3e63eb36","deviceName":"iPhoneX14_1","wdaLocalPort":50102},"capabilities":{"firstMatch":[{"appium:app":"/Users/ios_auto_*2/Jenkins/workspace/ReportPortal_Epic_iOS/12.19.0_87959/AlphaFly_12.19.0_87959.ipa","appium:automationName":"XCUITest","appium:deviceName":"iPhoneX14_1","invocationCount":"0","appium:newCommandTimeout":240,"platformName":"ios","appium:platformVersion":"15.1","appium:udid":"f364794c0545403924971c442640efed3e63eb36","appium:wdaLocalPort":50102}]}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{"app":"/Users/ios_auto_*2/Jenkins/workspace/ReportPortal_Epic_iOS/12.19.0_87959/AlphaFly_12.19.0_87959.ipa","newCommandTimeout":240,"platformVersion":"15.1","automationName":"XCUITest","invocationCount":"0","platformName":"ios","udid":"f364794c0545403924971c442640efed3e63eb36","deviceName":"iPhoneX14_1","wdaLocalPort":50102},null,{"firstMatch":[{"appium:app":"/Users/ios_auto_*2/Jenkins/workspace/ReportPortal_Epic_iOS/12.19.0_87959/AlphaFly_12.19.0_87959.ipa","appium:automationName":"XCUITest","appium:deviceName":"iPhoneX14_1","invocationCount":"0","appium:newCommandTimeout":240,"platformName":"ios","appium:platformVersion":"15.1","appium:udid":"f364794c0545403924971c442640efed3e63eb36","appium:wdaLocalPort":50102}]}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1662717388691 (12:56:28 GMT+0300 (Israel Daylight Time))
[BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix:
[BaseDriver] invocationCount
[Appium] Appium v1.22.3 creating new XCUITestDriver (v3.59.0) session
[debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided
[debug] [BaseDriver] Creating session with W3C capabilities: {
[debug] [BaseDriver] "alwaysMatch": {
[debug] [BaseDriver] "appium:invocationCount": "0",
[debug] [BaseDriver] "platformName": "ios",
[debug] [BaseDriver] "appium:app": "/Users/ios_auto_*2/Jenkins/workspace/ReportPortal_Epic_iOS/12.19.0_87959/AlphaFly_12.19.0_87959.ipa",
[debug] [BaseDriver] "appium:automationName": "XCUITest",
[debug] [BaseDriver] "appium:deviceName": "iPhoneX14_1",
[debug] [BaseDriver] "appium:newCommandTimeout": 240,
[debug] [BaseDriver] "appium:platformVersion": "15.1",
[debug] [BaseDriver] "appium:udid": "f364794c0545403924971c442640efed3e63eb36",
[debug] [BaseDriver] "appium:wdaLocalPort": 50102
[debug] [BaseDriver] },
[debug] [BaseDriver] "firstMatch": [
[debug] [BaseDriver] {}
[debug] [BaseDriver] ]
[debug] [BaseDriver] }
[BaseDriver] The following capabilities were provided, but are not recognized by Appium:
[BaseDriver] invocationCount
[BaseDriver] Session created with session id: caaea59d-6efd-403f-8d28-b5ce53949d0c
[debug] [XCUITest] Current user: 'ios_auto_*2'
[debug] [XCUITest] Available devices: e6918fd0c48522dbb1f32920fde1392f4311fd69, 00008020-001074940CD3002E, 00008020-0013089601E1002E, f364794c0545403924971c442640efed3e63eb36
[debug] [XCUITest] Creating iDevice object with udid 'f364794c0545403924971c442640efed3e63eb36'
[XCUITest] Determining device to run tests on: udid: 'f364794c0545403924971c442640efed3e63eb36', real device: true
[debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1662717388704 (12:56:28 GMT+0300 (Israel Daylight Time))
[BaseDriver] Using local app '/Users/ios_auto_*2/Jenkins/workspace/ReportPortal_Epic_iOS/12.19.0_87959/AlphaFly_12.19.0_87959.ipa'
[BaseDriver] Will reuse previously cached application at '/var/folders/fs/qyf7bc7557zfm4h9vyj21q9w0000gn/T/202289-57068-2ndm66.lb6b/*.app'
[debug] [BaseDriver] Event 'appConfigured' logged at 1662717388810 (12:56:28 GMT+0300 (Israel Daylight Time))
[debug] [XCUITest] Checking whether app '/var/folders/fs/qyf7bc7557zfm4h9vyj21q9w0000gn/T/202289-57068-2ndm66.lb6b/*.app' is actually present on file system
[debug] [XCUITest] App is present
[debug] [XCUITest] Getting bundle ID from app '/var/folders/fs/qyf7bc7557zfm4h9vyj21q9w0000gn/T/202289-57068-2ndm66.lb6b/*.app': 'com.*.mopho.develop.epic.alpha'
[debug] [BaseDriver] Event 'resetStarted' logged at 1662717388816 (12:56:28 GMT+0300 (Israel Daylight Time))
[debug] [XCUITest] Reset: running ios real device reset flow
[debug] [BaseDriver] Event 'resetComplete' logged at 1662717388816 (12:56:28 GMT+0300 (Israel Daylight Time))
[WebDriverAgent] Using WDA path: '/usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent'
[WebDriverAgent] Using WDA agent: '/usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj'
[debug] [XCUITest] Crash reports root '/Users/ios_auto_*2/Library/Logs/CrashReporter/MobileDevice/iPhoneX14_1' does not exist. Got nothing to gather.
[debug] [BaseDriver] Event 'logCaptureStarted' logged at 1662717389006 (12:56:29 GMT+0300 (Israel Daylight Time))
[XCUITest] Setting up real device
[debug] [XCUITest] Verifying application platform
[debug] [XCUITest] CFBundleSupportedPlatforms: ["iPhoneOS"]
[debug] [XCUITest] Reset requested. Removing app with id 'com.*.mopho.develop.epic.alpha' from the device
[debug] [XCUITest] Installing '/var/folders/fs/qyf7bc7557zfm4h9vyj21q9w0000gn/T/202289-57068-2ndm66.lb6b/*.app' on device with UUID 'f364794c0545403924971c442640efed3e63eb36'...
[debug] [XCUITest] Using 'serial' app deployment strategy. You could change it by providing another value to the 'appInstallStrategy' capability
[debug] [XCUITest] Getting bundle ID from app '/var/folders/fs/qyf7bc7557zfm4h9vyj21q9w0000gn/T/202289-57068-2ndm66.lb6b/*.app': 'com.*.mopho.develop.epic.alpha'
[debug] [XCUITest] Successfully scanned the tree structure of '/var/folders/fs/qyf7bc7557zfm4h9vyj21q9w0000gn/T/202289-57068-2ndm66.lb6b/*.app'
[debug] [XCUITest] Got 468 folders and 1337 files to push
[debug] [XCUITest] Successfully created the remote folder structure (469 items)
[debug] [XCUITest] Proceeding to serial files push
[debug] [WebDriverAgent] Parsed BUILD_DIR configuration value: '/Users/ios_auto_*2/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu/Build/Products'
[debug] [WebDriverAgent] Got derived data root: '/Users/ios_auto_*2/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu'
[debug] [XCUITest] Successfully pushed 468 folders and 1337 files within 15860ms
[debug] [XCUITest] A new application installation is going to be performed
[XCUITest] App installation succeeded after 29663ms
[debug] [XCUITest] The app has been installed successfully.
[debug] [BaseDriver] Event 'appInstalled' logged at 1662717419322 (12:56:59 GMT+0300 (Israel Daylight Time))
[debug] [WebDriverAgent] No obsolete cached processes from previous WDA sessions listening on port 50102 have been found
[DevCon Factory] Requesting connection for device f364794c0545403924971c442640efed3e63eb36 on local port 50102, device port 50102
[debug] [DevCon Factory] Cached connections count: 0
[DevCon Factory] Successfully requested the connection for f364794c0545403924971c442640efed3e63eb36:50102
[debug] [XCUITest] Starting WebDriverAgent initialization with the synchronization key 'XCUITestDriver'
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:50102/status] with no body
[debug] [iProxy@f364794c:50102] Connection was refused to port 50102
[WD Proxy] socket hang up
[debug] [WebDriverAgent] WDA is not listening at 'http://127.0.0.1:50102/'
[debug] [WebDriverAgent] 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 1662717419368 (12:56:59 GMT+0300 (Israel Daylight Time))
[WebDriverAgent] Launching WebDriverAgent on the device
[WebDriverAgent] WebDriverAgent does not need a cleanup. The sources are up to date (1661894772066 >= 1661894772066)
[debug] [WebDriverAgent] Killing running processes 'xcodebuild.*f364794c0545403924971c442640efed3e63eb36' for the device f364794c0545403924971c442640efed3e63eb36...
[debug] [WebDriverAgent] 'pgrep -if xcodebuild.*f364794c0545403924971c442640efed3e63eb36' didn't detect any matching processes. Return code: 1
[debug] [WebDriverAgent] 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/ios_auto_*2/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu -destination id=f364794c0545403924971c442640efed3e63eb36 IPHONEOS_DEPLOYMENT_TARGET=15.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] [WebDriverAgent] Output from xcodebuild will only be logged if any errors are present there. To change this, use 'showXcodeLog' desired capability
[debug] [WebDriverAgent] 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://127.0.0.1:50102/status] with no body
[debug] [iProxy@f364794c:50102] Connection was refused to port 50102
[WD Proxy] socket hang up
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:50102/status] with no body
[debug] [iProxy@f364794c:50102] Connection was refused to port 50102
[WD Proxy] socket hang up
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:50102/status] with no body
[debug] [iProxy@f364794c:50102] Connection was refused to port 50102
[WD Proxy] socket hang up
[WebDriverAgent] xcodebuild exited with code '65' and signal 'null'
[WebDriverAgent] Launching WebDriverAgent on the device
[WebDriverAgent] WebDriverAgent does not need a cleanup. The sources are up to date (1661894772066 >= 1661894772066)
[debug] [WebDriverAgent] Killing running processes 'xcodebuild.*f364794c0545403924971c442640efed3e63eb36' for the device f364794c0545403924971c442640efed3e63eb36...
[debug] [WebDriverAgent] 'pgrep -if xcodebuild.*f364794c0545403924971c442640efed3e63eb36' didn't detect any matching processes. Return code: 1
[debug] [WebDriverAgent] 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/ios_auto_*2/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu -destination id=f364794c0545403924971c442640efed3e63eb36 IPHONEOS_DEPLOYMENT_TARGET=15.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] [WebDriverAgent] Output from xcodebuild will only be logged if any errors are present there. To change this, use 'showXcodeLog' desired capability
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:50102/status] with no body
[debug] [iProxy@f364794c:50102] Connection was refused to port 50102
[WD Proxy] socket hang up
[debug] [WebDriverAgent] 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://127.0.0.1:50102/status] with no body
[debug] [iProxy@f364794c:50102] Connection was refused to port 50102
[WD Proxy] socket hang up
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:50102/status] with no body
[debug] [iProxy@f364794c:50102] Connection was refused to port 50102
[WD Proxy] socket hang up
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:50102/status] with no body
[debug] [iProxy@f364794c:50102] Connection was refused to port 50102
[WD Proxy] socket hang up
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:50102/status] with no body
[debug] [iProxy@f364794c:50102] Connection was refused to port 50102
[WD Proxy] socket hang up
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:50102/status] with no body
[debug] [iProxy@f364794c:50102] Connection was refused to port 50102
[WD Proxy] socket hang up
[WebDriverAgent] xcodebuild exited with code '65' and signal 'null'
[debug] [BaseDriver] Event 'wdaStartFailed' logged at 1662717425879 (12:57:05 GMT+0300 (Israel Daylight Time))
[debug] [XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
[debug] [XCUITest] xcodebuild error message:
[debug] [XCUITest] . Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
[XCUITest] Quitting and uninstalling WebDriverAgent
[WebDriverAgent] Shutting down sub-processes
[debug] [WebDriverAgent] No WDAs on the device.
[XCUITest] {}
[DevCon Factory] Releasing connections for f364794c0545403924971c442640efed3e63eb36 device on any port number
[DevCon Factory] Found cached connections to release: ["f364794c0545403924971c442640efed3e63eb36:50102"]
[DevCon Factory] Releasing the listener for 'f364794c0545403924971c442640efed3e63eb36:50102'
[debug] [iProxy@f364794c:50102] Closing the connection
[debug] [DevCon Factory] Cached connections count: 0
[debug] [XCUITest] Not clearing log files. Use `clearSystemFiles` capability to turn on.
[iProxy@f364794c:50102] The connection has been closed
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1662717426166 (12:57:06 GMT+0300 (Israel Daylight Time))
[debug] [W3C] Encountered internal error running command: Error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
[debug] [W3C] xcodebuild error message:
[debug] [W3C] . Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
[debug] [W3C] at quitAndUninstall (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:585:15)
[debug] [W3C] at /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:620:11
[debug] [W3C] at wrapped (/usr/local/lib/node_modules/appium/node_modules/asyncbox/lib/asyncbox.js:60:13)
[debug] [W3C] at retry (/usr/local/lib/node_modules/appium/node_modules/asyncbox/lib/asyncbox.js:43:13)
[debug] [W3C] at retryInterval (/usr/local/lib/node_modules/appium/node_modules/asyncbox/lib/asyncbox.js:70:10)
[debug] [W3C] at /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:600:7
[HTTP] <-- POST /wd/hub/session 500 37478 ms - 1329
[HTTP]
12:57:11 Trying again due to the following error: Unable to create a new remote session. Please check the server log for more details. Original error: An unknown server-side error occurred while processing the command. Original error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
xcodebuild error message:
. Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'ios-auto-*2s-Mac-mini.local', ip: 'fe80:0:0:0:858:5a32:4679:cd1c%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.16', java.version: '11.0.10'
Driver info: driver.version: IOS*Driver
remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
xcodebuild error message:
. Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
at getResponseForW3CError (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:804:9)
at asyncHandler (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:380:37)
at runNextTicks (node:internal/process/task_queues:60:5)
at processImmediate (node:internal/timers:442:9)
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'ios-auto-*2s-Mac-mini.local', ip: 'fe80:0:0:0:858:5a32:4679:cd1c%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.16', java.version: '11.0.10'
Driver info: driver.version: IOS*Driver
12:57:11 Creating driver (3 tries out of 3)
[debug] [HTTP] Request idempotency key: 460b0afd-2d05-4eea-b1c6-09a9646298e7
[HTTP] --> POST /wd/hub/session
[HTTP] {"desiredCapabilities":{"app":"/Users/ios_auto_*2/Jenkins/workspace/ReportPortal_Epic_iOS/12.19.0_87959/AlphaFly_12.19.0_87959.ipa","newCommandTimeout":240,"platformVersion":"15.1","automationName":"XCUITest","invocationCount":"0","platformName":"ios","udid":"f364794c0545403924971c442640efed3e63eb36","deviceName":"iPhoneX14_1","wdaLocalPort":50102},"capabilities":{"firstMatch":[{"appium:app":"/Users/ios_auto_*2/Jenkins/workspace/ReportPortal_Epic_iOS/12.19.0_87959/AlphaFly_12.19.0_87959.ipa","appium:automationName":"XCUITest","appium:deviceName":"iPhoneX14_1","invocationCount":"0","appium:newCommandTimeout":240,"platformName":"ios","appium:platformVersion":"15.1","appium:udid":"f364794c0545403924971c442640efed3e63eb36","appium:wdaLocalPort":50102}]}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{"app":"/Users/ios_auto_*2/Jenkins/workspace/ReportPortal_Epic_iOS/12.19.0_87959/AlphaFly_12.19.0_87959.ipa","newCommandTimeout":240,"platformVersion":"15.1","automationName":"XCUITest","invocationCount":"0","platformName":"ios","udid":"f364794c0545403924971c442640efed3e63eb36","deviceName":"iPhoneX14_1","wdaLocalPort":50102},null,{"firstMatch":[{"appium:app":"/Users/ios_auto_*2/Jenkins/workspace/ReportPortal_Epic_iOS/12.19.0_87959/AlphaFly_12.19.0_87959.ipa","appium:automationName":"XCUITest","appium:deviceName":"iPhoneX14_1","invocationCount":"0","appium:newCommandTimeout":240,"platformName":"ios","appium:platformVersion":"15.1","appium:udid":"f364794c0545403924971c442640efed3e63eb36","appium:wdaLocalPort":50102}]}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1662717431190 (12:57:11 GMT+0300 (Israel Daylight Time))
[BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix:
[BaseDriver] invocationCount
[Appium] Appium v1.22.3 creating new XCUITestDriver (v3.59.0) session
[debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided
[debug] [BaseDriver] Creating session with W3C capabilities: {
[debug] [BaseDriver] "alwaysMatch": {
[debug] [BaseDriver] "appium:invocationCount": "0",
[debug] [BaseDriver] "platformName": "ios",
[debug] [BaseDriver] "appium:app": "/Users/ios_auto_*2/Jenkins/workspace/ReportPortal_Epic_iOS/12.19.0_87959/AlphaFly_12.19.0_87959.ipa",
[debug] [BaseDriver] "appium:automationName": "XCUITest",
[debug] [BaseDriver] "appium:deviceName": "iPhoneX14_1",
[debug] [BaseDriver] "appium:newCommandTimeout": 240,
[debug] [BaseDriver] "appium:platformVersion": "15.1",
[debug] [BaseDriver] "appium:udid": "f364794c0545403924971c442640efed3e63eb36",
[debug] [BaseDriver] "appium:wdaLocalPort": 50102
[debug] [BaseDriver] },
[debug] [BaseDriver] "firstMatch": [
[debug] [BaseDriver] {}
[debug] [BaseDriver] ]
[debug] [BaseDriver] }
[BaseDriver] The following capabilities were provided, but are not recognized by Appium:
[BaseDriver] invocationCount
[BaseDriver] Session created with session id: 1ca3d9cc-392d-444f-857e-afdceef1f4d7
[debug] [XCUITest] Current user: 'ios_auto_*2'
[debug] [XCUITest] Available devices: e6918fd0c48522dbb1f32920fde1392f4311fd69, 00008020-001074940CD3002E, 00008020-0013089601E1002E, f364794c0545403924971c442640efed3e63eb36
[debug] [XCUITest] Creating iDevice object with udid 'f364794c0545403924971c442640efed3e63eb36'
[XCUITest] Determining device to run tests on: udid: 'f364794c0545403924971c442640efed3e63eb36', real device: true
[debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1662717431202 (12:57:11 GMT+0300 (Israel Daylight Time))
[BaseDriver] Using local app '/Users/ios_auto_*2/Jenkins/workspace/ReportPortal_Epic_iOS/12.19.0_87959/AlphaFly_12.19.0_87959.ipa'
[BaseDriver] Will reuse previously cached application at '/var/folders/fs/qyf7bc7557zfm4h9vyj21q9w0000gn/T/202289-57068-2ndm66.lb6b/*.app'
[debug] [BaseDriver] Event 'appConfigured' logged at 1662717431308 (12:57:11 GMT+0300 (Israel Daylight Time))
[debug] [XCUITest] Checking whether app '/var/folders/fs/qyf7bc7557zfm4h9vyj21q9w0000gn/T/202289-57068-2ndm66.lb6b/*.app' is actually present on file system
[debug] [XCUITest] App is present
[debug] [XCUITest] Getting bundle ID from app '/var/folders/fs/qyf7bc7557zfm4h9vyj21q9w0000gn/T/202289-57068-2ndm66.lb6b/*.app': 'com.*.mopho.develop.epic.alpha'
[debug] [BaseDriver] Event 'resetStarted' logged at 1662717431313 (12:57:11 GMT+0300 (Israel Daylight Time))
[debug] [XCUITest] Reset: running ios real device reset flow
[debug] [BaseDriver] Event 'resetComplete' logged at 1662717431313 (12:57:11 GMT+0300 (Israel Daylight Time))
[WebDriverAgent] Using WDA path: '/usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent'
[WebDriverAgent] Using WDA agent: '/usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj'
[debug] [XCUITest] Crash reports root '/Users/ios_auto_*2/Library/Logs/CrashReporter/MobileDevice/iPhoneX14_1' does not exist. Got nothing to gather.
[debug] [BaseDriver] Event 'logCaptureStarted' logged at 1662717431499 (12:57:11 GMT+0300 (Israel Daylight Time))
[XCUITest] Setting up real device
[debug] [XCUITest] Verifying application platform
[debug] [XCUITest] CFBundleSupportedPlatforms: ["iPhoneOS"]
[debug] [XCUITest] Reset requested. Removing app with id 'com.*.mopho.develop.epic.alpha' from the device
[debug] [XCUITest] Installing '/var/folders/fs/qyf7bc7557zfm4h9vyj21q9w0000gn/T/202289-57068-2ndm66.lb6b/*.app' on device with UUID 'f364794c0545403924971c442640efed3e63eb36'...
[debug] [XCUITest] Using 'serial' app deployment strategy. You could change it by providing another value to the 'appInstallStrategy' capability
[debug] [XCUITest] Getting bundle ID from app '/var/folders/fs/qyf7bc7557zfm4h9vyj21q9w0000gn/T/202289-57068-2ndm66.lb6b/*.app': 'com.*.mopho.develop.epic.alpha'
[debug] [XCUITest] Successfully scanned the tree structure of '/var/folders/fs/qyf7bc7557zfm4h9vyj21q9w0000gn/T/202289-57068-2ndm66.lb6b/*.app'
[debug] [XCUITest] Got 468 folders and 1337 files to push
[debug] [XCUITest] Successfully created the remote folder structure (469 items)
[debug] [XCUITest] Proceeding to serial files push
[debug] [WebDriverAgent] Parsed BUILD_DIR configuration value: '/Users/ios_auto_*2/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu/Build/Products'
[debug] [WebDriverAgent] Got derived data root: '/Users/ios_auto_*2/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu'
[debug] [XCUITest] Successfully pushed 468 folders and 1337 files within 16032ms
[debug] [XCUITest] A new application installation is going to be performed
[XCUITest] App installation succeeded after 30050ms
[debug] [XCUITest] The app has been installed successfully.
[debug] [BaseDriver] Event 'appInstalled' logged at 1662717462206 (12:57:42 GMT+0300 (Israel Daylight Time))
[debug] [WebDriverAgent] No obsolete cached processes from previous WDA sessions listening on port 50102 have been found
[DevCon Factory] Requesting connection for device f364794c0545403924971c442640efed3e63eb36 on local port 50102, device port 50102
[debug] [DevCon Factory] Cached connections count: 0
[DevCon Factory] Successfully requested the connection for f364794c0545403924971c442640efed3e63eb36:50102
[debug] [XCUITest] Starting WebDriverAgent initialization with the synchronization key 'XCUITestDriver'
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:50102/status] with no body
[debug] [iProxy@f364794c:50102] Connection was refused to port 50102
[WD Proxy] socket hang up
[debug] [WebDriverAgent] WDA is not listening at 'http://127.0.0.1:50102/'
[debug] [WebDriverAgent] 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 1662717462251 (12:57:42 GMT+0300 (Israel Daylight Time))
[WebDriverAgent] Launching WebDriverAgent on the device
[WebDriverAgent] WebDriverAgent does not need a cleanup. The sources are up to date (1661894772066 >= 1661894772066)
[debug] [WebDriverAgent] Killing running processes 'xcodebuild.*f364794c0545403924971c442640efed3e63eb36' for the device f364794c0545403924971c442640efed3e63eb36...
[debug] [WebDriverAgent] 'pgrep -if xcodebuild.*f364794c0545403924971c442640efed3e63eb36' didn't detect any matching processes. Return code: 1
[debug] [WebDriverAgent] 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/ios_auto_*2/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu -destination id=f364794c0545403924971c442640efed3e63eb36 IPHONEOS_DEPLOYMENT_TARGET=15.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] [WebDriverAgent] Output from xcodebuild will only be logged if any errors are present there. To change this, use 'showXcodeLog' desired capability
[debug] [WebDriverAgent] 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://127.0.0.1:50102/status] with no body
[debug] [iProxy@f364794c:50102] Connection was refused to port 50102
[WD Proxy] socket hang up
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:50102/status] with no body
[debug] [iProxy@f364794c:50102] Connection was refused to port 50102
[WD Proxy] socket hang up
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:50102/status] with no body
[debug] [iProxy@f364794c:50102] Connection was refused to port 50102
[WD Proxy] socket hang up
[WebDriverAgent] xcodebuild exited with code '65' and signal 'null'
[WebDriverAgent] Launching WebDriverAgent on the device
[WebDriverAgent] WebDriverAgent does not need a cleanup. The sources are up to date (1661894772066 >= 1661894772066)
[debug] [WebDriverAgent] Killing running processes 'xcodebuild.*f364794c0545403924971c442640efed3e63eb36' for the device f364794c0545403924971c442640efed3e63eb36...
[debug] [WebDriverAgent] 'pgrep -if xcodebuild.*f364794c0545403924971c442640efed3e63eb36' didn't detect any matching processes. Return code: 1
[debug] [WebDriverAgent] 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/ios_auto_*2/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu -destination id=f364794c0545403924971c442640efed3e63eb36 IPHONEOS_DEPLOYMENT_TARGET=15.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] [WebDriverAgent] Output from xcodebuild will only be logged if any errors are present there. To change this, use 'showXcodeLog' desired capability
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:50102/status] with no body
[debug] [iProxy@f364794c:50102] Connection was refused to port 50102
[WD Proxy] socket hang up
[debug] [WebDriverAgent] 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://127.0.0.1:50102/status] with no body
[debug] [iProxy@f364794c:50102] Connection was refused to port 50102
[WD Proxy] socket hang up
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:50102/status] with no body
[debug] [iProxy@f364794c:50102] Connection was refused to port 50102
[WD Proxy] socket hang up
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:50102/status] with no body
[debug] [iProxy@f364794c:50102] Connection was refused to port 50102
[WD Proxy] socket hang up
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:50102/status] with no body
[debug] [iProxy@f364794c:50102] Connection was refused to port 50102
[WD Proxy] socket hang up
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:50102/status] with no body
[debug] [iProxy@f364794c:50102] Connection was refused to port 50102
[WD Proxy] socket hang up
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:50102/status] with no body
[debug] [iProxy@f364794c:50102] Connection was refused to port 50102
[WD Proxy] socket hang up
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:50102/status] with no body
[debug] [iProxy@f364794c:50102] Connection was refused to port 50102
[WD Proxy] socket hang up
[WebDriverAgent] xcodebuild exited with code '65' and signal 'null'
[debug] [BaseDriver] Event 'wdaStartFailed' logged at 1662717469408 (12:57:49 GMT+0300 (Israel Daylight Time))
[debug] [XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
[debug] [XCUITest] xcodebuild error message:
[debug] [XCUITest] . Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
[XCUITest] Quitting and uninstalling WebDriverAgent
[WebDriverAgent] Shutting down sub-processes
[debug] [WebDriverAgent] No WDAs on the device.
[XCUITest] {}
[DevCon Factory] Releasing connections for f364794c0545403924971c442640efed3e63eb36 device on any port number
[DevCon Factory] Found cached connections to release: ["f364794c0545403924971c442640efed3e63eb36:50102"]
[DevCon Factory] Releasing the listener for 'f364794c0545403924971c442640efed3e63eb36:50102'
[debug] [iProxy@f364794c:50102] Closing the connection
[debug] [DevCon Factory] Cached connections count: 0
[debug] [XCUITest] Not clearing log files. Use `clearSystemFiles` capability to turn on.
[iProxy@f364794c:50102] The connection has been closed
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1662717469585 (12:57:49 GMT+0300 (Israel Daylight Time))
[debug] [W3C] Encountered internal error running command: Error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
[debug] [W3C] xcodebuild error message:
[debug] [W3C] . Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
[debug] [W3C] at quitAndUninstall (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:585:15)
[debug] [W3C] at /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:620:11
[debug] [W3C] at wrapped (/usr/local/lib/node_modules/appium/node_modules/asyncbox/lib/asyncbox.js:60:13)
[debug] [W3C] at retry (/usr/local/lib/node_modules/appium/node_modules/asyncbox/lib/asyncbox.js:43:13)
[debug] [W3C] at retryInterval (/usr/local/lib/node_modules/appium/node_modules/asyncbox/lib/asyncbox.js:70:10)
[debug] [W3C] at /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:600:7
[HTTP] <-- POST /wd/hub/session 500 38399 ms - 1329
[HTTP]
12:57:54 Trying again due to the following error: Unable to create a new remote session. Please check the server log for more details. Original error: An unknown server-side error occurred while processing the command. Original error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
xcodebuild error message:
. Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'ios-auto-*2s-Mac-mini.local', ip: 'fe80:0:0:0:858:5a32:4679:cd1c%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.16', java.version: '11.0.10'
Driver info: driver.version: IOS*Driver
remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
xcodebuild error message:
. Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
at getResponseForW3CError (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:804:9)
at asyncHandler (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:380:37)
at runNextTicks (node:internal/process/task_queues:60:5)
at processImmediate (node:internal/timers:442:9)
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'ios-auto-*2s-Mac-mini.local', ip: 'fe80:0:0:0:858:5a32:4679:cd1c%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.16', java.version: '11.0.10'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment