-
-
Notifications
You must be signed in to change notification settings - Fork 107
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
Appium Server stops after the device-farm plugin executes a method isValidStorageFileContent() #771
Comments
For me it worked by setting environment variable as mentioned in trouble shooting document: https://appium-device-farm-eight.vercel.app/troubleshooting/ export GO_IOS="/opt/homebrew/lib/node_modules/go-ios/dist/go-ios-darwin-amd64_darwin_amd64/ios" export PATH=$JAVA_HOME/bin:$GROOVY_HOME/bin:$GO_IOS:$PATH |
@dorogova-snezhana Will fix this problem. In the mean time as a workaround can you delete the file manually |
@saikrishna321 I've removed all files from directory /Users/sydorogova/.cache/appium-device-farm/storage and run tests. The Appium server is alive after the quit method execution. Tested on iOS and Android virtual devices. |
This is expected driver.quit() will only end the session and not stop the server |
It is perfect to stop a session only. The main goal is to start the Appium server and run tests in parallel on multiple virtual devices. After each test we stop session and create a new one to reinstall the app. |
Yes this is a good approach. |
@saikrishna321 Do you plan to fix this bug? I see the same behavior. |
@luprochazka-cen63872 Can you share full logs please when this error occurs? |
It is not necessary, in latest version it works without this problem. Thank you. |
@afathonih We have plans to remove this localStorage. Will do it soon. |
�[38;5;112m[Appium]�[0m Appium REST http interface listener started on http://127.0.0.1:28224/wd/hub |
@saikrishna321 how to handle it ? |
@Jitu1888 you can delete the file under storage directory and this should solve the issue! |
@saikrishna321 I m running around 200 scripts , after 100 test cases then it came. I cant keep tracking the jenkins run. |
@Jitu1888 we will fix this and move to DB. |
@saikrishna321 last help. even the below error is alson coming randomly {},"keepAliveMsecs":60000,"keepAlive":true,"maxSockets":null,"maxFreeSockets":256,"scheduling":"lifo","maxTotalSockets":null,"totalSocketCount":1},"httpsAgent":{"_events":{},"_eventsCount":2,"defaultPort":443,"protocol":"https:","options":{"rejectUnauthorized":false,"keepAlive":true,"keepAliveMsecs":60000,"path":null},"requests":{},"sockets":{},"freeSockets":{},"keepAliveMsecs":60000,"keepAlive":true,"maxSockets":null,"maxFreeSockets":256,"scheduling":"lifo","maxTotalSockets":null,"totalSocketCount":0,"maxCachedSessions":100,"_sessionCache":{"map":{},"list":[]}},"data":"{"capabilities":{"firstMatch":[{}],"alwaysMatch":{"appium:adbExecTimeout":60000,"appium:appActivity":"com.games24x7.coregame.common.deeplink.DeepLinkActivity -e \"setup_string\" \"https://docker-agu354.fickle.rummycircle.com/\\\" -e \"build_mode\" \"BUILD_WITH_URL\" -e pocoEnvData \"{\\\"serverIp\\\": \\\"10.224.108.235\\\", \\\"serverPort\\\": \\\"7900\\\"}\" ","appium:appPackage":"apps.rummycircle.com.mobilerummy.stage","appium:appWaitForLaunch":false,"appium:autoAcceptAlerts":true,"appium:autoGrantPermissions":true,"appium:automationName":"UIAutomator2","appium:chromeOptions":{"w3c":false},"appium:enableMultiWindows":true,"appium:enableWebviewDetailsCollection":true,"appium:newCommandTimeout":1200,"appium:noReset":false,"appium:noSign":true,"appium:session-override":"true","appium:skipServerInstallation":false,"appium:uiautomator2ServerInstallTimeout":90000,"appium:uiautomator2ServerLaunchTimeout":90000,"appium:uninstallOtherPackages":"apps.rummycircle.com.mobilerummy.stage, com.games24x7.rummycircle.rummy.stage, apps.rummycircle.com.mobilerummy, com.games24x7.rummycircle.rummy, com.my11circle.android.stage, com.games24x7.my11circle.fantasycricket.stage, com.games24x7.my11circle.fantasycricket, com.pokercircle.android.stage, io.appium.uiautomator2.server, io.appium.uiautomator2.server.test","browserName":"","platformName":"ANDROID","appium:pCloudy_DeviceVersion":"dummy","appium:pCloudy_DeviceManufacturer":"dummy","appium:udid":"RZ8TA114VMF","appium:platform":"android","appium:pCloudy_DeviceFullName":"RZ8TA114VMF"},"pendingSessionId":"29925335-3b15-44c7-8ea6-e6fc2954cb68"}}"},"code":"ECONNABORTED"} |
@saikrishna321 can you please help me ? |
Describe the bug
Link to Appium logs
GIST
Environment
The text was updated successfully, but these errors were encountered: