我在 docker compose 中使用 selenoid 在一组 jenkins 节点上运行测试,我发现有时测试会随机失败,因为 selenium 没有响应,通常只需要几秒钟。查看节点,它似乎有足够的内存和 cpu,知道这里会发生什么吗?
2021/07/28 15:19:48 [-] [NEW_REQUEST_ACCEPTED] [unknown] [192.168.240.4]
2021/07/28 15:19:48 [3] [LOCATING_SERVICE] [firefox] []
2021/07/28 15:19:48 [-] [DEFAULT_VERSION] [Using default version: 72]
2021/07/28 15:19:48 [3] [USING_DOCKER] [firefox] [72]
2021/07/28 15:19:48 [3] [CREATING_CONTAINER] [selenoid/firefox:72.0]
2021/07/28 15:19:48 [3] [STARTING_CONTAINER] [selenoid/firefox:72.0] [743731426c4ae30549f824c5a4a7a7aae9a48367e1b1612b1d9f48b7cd2baee4]
2021/07/28 15:19:49 [3] [CONTAINER_STARTED] [selenoid/firefox:72.0] [743731426c4ae30549f824c5a4a7a7aae9a48367e1b1612b1d9f48b7cd2baee4] [0.46s]
2021/07/28 15:20:49 [3] [REMOVING_CONTAINER] [743731426c4ae30549f824c5a4a7a7aae9a48367e1b1612b1d9f48b7cd2baee4]
2021/07/28 15:20:49 [3] [CONTAINER_REMOVED] [743731426c4ae30549f824c5a4a7a7aae9a48367e1b1612b1d9f48b7cd2baee4]
2021/07/28 15:20:49 [3] [SERVICE_STARTUP_FAILED] [wait: http://172.17.0.3:4444/wd/hub does not respond in 1m0s]```