Selenium Hub节点,不同主机上有Docker容器

时间:2016-10-19 15:00:17

标签: selenium docker amazon-ec2 selenium-grid selenium-grid2

我正在尝试在diff主机上运行docker Selenium

使用这些命令 在枢纽

docker run -d -p 4444:4444 --name hub selenium-hub:1.0.0

节点

docker run -d -p 5556:5556 -e REMOTE_HOST="http://nodeip:5556" -e HUB_PORT_4444_TCP_ADDR=hubip -e HUB_PORT_4444_TCP_PORT=4444 --name chrome-node3 selenium-chrome-node:1.0.0

然而,我看到节点已注册,但是当我触发测试时,请求显示待处理

以下是Hub日志

 14:50:29.078 WARN - Cleaning up stale test sessions on the unregistered node http://10.205.87.185:5557
14:50:29.107 INFO - Registered a node http://10.205.87.185:5557
14:50:29.473 INFO - Marking the node http://10.205.87.185:5556 as down: cannot reach the node for 2 tries
14:50:39.121 INFO - Marking the node http://10.205.87.185:5557 as down: cannot reach the node for 2 tries
14:50:59.489 INFO - Unregistering the node http://10.205.87.185:5556 because it's been down for 30016 milliseconds
14:50:59.489 WARN - Cleaning up stale test sessions on the unregistered node http://10.205.87.185:5556
14:50:59.516 INFO - Registered a node http://10.205.87.185:5556
14:51:09.192 INFO - Unregistering the node http://10.205.87.185:5557 because it's been down for 30071 milliseconds
14:51:09.192 WARN - Cleaning up stale test sessions on the unregistered node http://10.205.87.185:5557
14:51:09.541 INFO - Marking the node http://10.205.87.185:5556 as down: cannot reach the node for 2 tries

节点似乎已启动并正在运行。不确定可能是什么问题

0 个答案:

没有答案