Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

500 error: unable to start automation on iOS devices #372

Closed
dhreben opened this issue Apr 18, 2024 · 2 comments
Closed

500 error: unable to start automation on iOS devices #372

dhreben opened this issue Apr 18, 2024 · 2 comments
Labels
bug Something isn't working
Milestone

Comments

@dhreben
Copy link
Contributor

dhreben commented Apr 18, 2024

Steps:

  1. Open jenkins
  2. Run ios-Preferences test or Safari - test

Actual result: Could not start a new session. Response code 500. Message: An unknown server-side error occurred while processing the command. Original error: Unknown device or simulator UDID: 'e18f63dd2.............deaddba8'[[[--udid e18f63d.................deaddba8 --name iPhone_8 --sessionId 924b94ac-f116-408b-a5ee-19515d530968]]]

logs:

2024-04-18 12:44:30:165 - [HTTP] {"desiredCapabilities":{"server:CONFIG_UUID":"68433acc-d805-45ce-b526-e382830334a7","appium:locale":"en_US","zebrunner:slotCapabilities":{"deviceType":"","proxy_port":7483,"server:CONFIG_UUID":"68433acc-d805-45ce-b526-e382830334a7","seleniumProtocol":"WebDriver","server_proxy_port":0,"adb_port":7482,"deviceName":"iPhone_8","platform":"IOS","platformVersion":"","automationName":"XCUITest","remoteURL":null,"maxInstances":1,"platformName":"ios","udid":"e18f63dd2e4..........................eaddba8"},"appium:bundleId":"com.apple.Preferences","appium:language":"en","appium:deviceName":"ANY","platformName":"ios","appium:automationName":"XCuiTest"},"capabilities":{"firstMatch":[{"appium:automationName":"XCuiTest","appium:bundleId":"com.apple.Preferences","appium:deviceName":"ANY","appium:language":"en","appium:locale":"en_US","platformName":"ios","server:CONFIG_UUID":"68433acc-d805-45ce-b526-e382830334a7","zebrunner:slotCapabilities":{"deviceType":"","proxy_port":7483,"server:CONFIG_UUID":"68433acc-d805-45ce-b526-e382...
2024-04-18 12:44:30:168 - [Appium] Attempting to find matching driver for automationName 'XCuiTest' and platformName 'ios'
2024-04-18 12:44:30:168 - [Appium] The 'xcuitest' driver was installed and matched caps.
2024-04-18 12:44:30:168 - [Appium] Will require it at /usr/lib/node_modules/appium/node_modules/appium-xcuitest-driver
2024-04-18 12:44:30:168 - [AppiumDriver@e12b] Appium v2.2.2 creating new XCUITestDriver (v5.7.0) session
2024-04-18 12:44:30:169 - [AppiumDriver@e12b] Checking BaseDriver versions for Appium and XCUITestDriver
2024-04-18 12:44:30:169 - [AppiumDriver@e12b] Appium's BaseDriver version is 9.4.3
2024-04-18 12:44:30:169 - [AppiumDriver@e12b] XCUITestDriver's BaseDriver version is 9.4.3
2024-04-18 12:44:30:169 - [AppiumDriver@e12b] Applying relaxed security to 'XCUITestDriver' as per server command line argument. All insecure features will be enabled unless explicitly disabled by --deny-insecure
2024-04-18 12:44:30:169 - [AppiumDriver@e12b] Explicitly enabling use of insecure features:
2024-04-18 12:44:30:169 - [AppiumDriver@e12b]     chromedriver_autodownload
2024-04-18 12:44:30:172 - [BaseDriver] Number capability passed in as string. Functionality may be compromised.
2024-04-18 12:44:30:175 - [XCUITestDriver@6c42] Capability 'clearSystemFiles' changed from string to boolean. This may cause unexpected behavior
2024-04-18 12:44:30:175 - [XCUITestDriver@6c42] Capability 'simpleIsVisibleCheck' changed from string to boolean. This may cause unexpected behavior
2024-04-18 12:44:30:175 - [XCUITestDriver@6c42] Capability 'wdaLocalPort' changed from string ('8100') to integer (8100). This may cause unexpected behavior
2024-04-18 12:44:30:177 - [XCUITestDriver@6c42] The following provided capabilities were not recognized by this driver:
2024-04-18 12:44:30:178 - [XCUITestDriver@6c42]   server:CONFIG_UUID
2024-04-18 12:44:30:178 - [XCUITestDriver@6c42]   zebrunner:slotCapabilities
2024-04-18 12:44:30:178 - [XCUITestDriver@6c42]   preventWDAAttachments
2024-04-18 12:44:30:178 - [XCUITestDriver@6c42] 'platformVersion' capability ('') is not a valid version number. Consider fixing it or be ready to experience an inconsistent driver behavior.
2024-04-18 12:44:30:178 - [XCUITestDriver@6c42 (fac202c4)] Session created with session id: fac202c4-a31a-4018-8847-7cde96e9a538
2024-04-18 12:44:30:191 - [XCUITestDriver@6c42 (fac202c4)] {}
2024-04-18 12:44:30:191 - [DevCon Factory] Releasing connections for e18f63dd2e441bea17f95a50b1073bbbdeaddba8 device on any port number
2024-04-18 12:44:30:191 - [DevCon Factory] No cached connections have been found
2024-04-18 12:44:30:193 - [HTTP] <-- POST /wd/hub/session 500 27 ms - 876

@dhreben dhreben added the bug Something isn't working label Apr 18, 2024
@vdelendik vdelendik added this to the 2.1 milestone Apr 22, 2024
@vdelendik
Copy link
Contributor

it should be fixed now on stage using public.ecr.aws/zebrunner/appium:2.1.0-beta3 appium.
successful launch https://demo.zebrunner.farm/test-runs/323

@dhreben
Copy link
Contributor Author

dhreben commented Apr 22, 2024

Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

2 participants