When i'm trying to run tests on this device i have following error logs in mcloud-grid:2.5 container
[STFClient.reserveSTFDevice] - [STF-02549a97-e365-414a-82f8-7ada04592a68] Could not reserve STF device with udid: 123123123123. Status: 0. Response: null
[STFClient.reserveSTFDevice] - [STF-02549a97-e365-414a-82f8-7ada04592a68] Device will be marked as unhealthy due to response status '0'.
[STFClient.reserveSTFDevice] - [STF-02549a97-e365-414a-82f8-7ada04592a68] Could not mark device as unhealthy. Status: 403. Response: null
[TestSlot.getNewSession] - Trying to create a new session on test slot {deviceType=Phone, proxy_port=7553, server:CONFIG_UUID=de0ee23d-545a-4ee2-864f-86a886468ef7, seleniumProtocol=WebDriver, server_proxy_port=0, adb_port=7552, deviceName=Samsung_Galaxy_S7, platform=ANDROID, platformVersion=8.0.0, automationName=uiautomator2, maxInstances=1, platformName=android, udid=123123123123}
I have following workaround:
mcloud/grid/console
mcloud-device
container startedWhen i'm trying to run tests on this device i have following error logs in
mcloud-grid:2.5
containerthese logs are produced by the following code https://github.com/zebrunner/mcloud-grid/blob/3d3d6e183c3dfc081e49192869129fca264b4133/src/main/java/com/zebrunner/mcloud/grid/integration/client/STFClient.java#L153-L180
When i'm starting
mcloud-device(STF)
container everything works fine.Let's discuss how to fix this problem and should we fix it.