我在gitlab.com&gitlabCI跑步者身上进行了几个月的基于硒的测试,但是他们在一周前开始失败了:
Unhandled Exception:
OpenQA.Selenium.WebDriverException: The HTTP request to the remote WebDriver server for URL http://localhost:37385/session timed out after 60 seconds. ---> System.Net.WebException: The request timed out
at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) <0x401dafd0 + 0x0018b> in <filename unknown>:0
at System.Net.HttpWebRequest.GetResponse () <0x401b57f0 + 0x00053> in <filename unknown>:0
at OpenQA.Selenium.Remote.HttpCommandExecutor.CreateResponse (System.Net.WebRequest request) <0x4020d770 + 0x000bc> in <filename unknown>:0
--- End of inner exception stack trace ---
at OpenQA.Selenium.Remote.HttpCommandExecutor.CreateResponse (System.Net.WebRequest request) <0x4020d770 + 0x00463> in <filename unknown>:0
at OpenQA.Selenium.Remote.HttpCommandExecutor.Execute (OpenQA.Selenium.Remote.Command commandToExecute) <0x401eb570 + 0x00197> in <filename unknown>:0
at OpenQA.Selenium.Remote.DriverServiceCommandExecutor.Execute (OpenQA.Selenium.Remote.Command commandToExecute) <0x401cc480 + 0x00074> in <filename unknown>:0
at OpenQA.Selenium.Remote.RemoteWebDriver.Execute (System.String driverCommandToExecute, System.Collections.Generic.Dictionary`2 parameters) <0x401cc160 + 0x000a6> in <filename unknown>:0
at OpenQA.Selenium.Remote.RemoteWebDriver.StartSession (ICapabilities desiredCapabilities) <0x401cbef0 + 0x000cd> in <filename unknown>:0
at OpenQA.Selenium.Remote.RemoteWebDriver..ctor (ICommandExecutor commandExecutor, ICapabilities desiredCapabilities) <0x401cb8e0 + 0x000c7> in <filename unknown>:0
at OpenQA.Selenium.Chrome.ChromeDriver..ctor (OpenQA.Selenium.Chrome.ChromeDriverService service, OpenQA.Selenium.Chrome.ChromeOptions options, TimeSpan commandTimeout) <0x401c4b10 + 0x00067> in <filename unknown>:0
at OpenQA.Selenium.Chrome.ChromeDriver..ctor (System.String chromeDriverDirectory, OpenQA.Selenium.Chrome.ChromeOptions options, TimeSpan commandTimeout) <0x401b7dc0 + 0x00037> in <filename unknown>:0
at OpenQA.Selenium.Chrome.ChromeDriver..ctor (System.String chromeDriverDirectory, OpenQA.Selenium.Chrome.ChromeOptions options) <0x401b7d60 + 0x00037> in <filename unknown>:0
at canopy.core.start (canopy.BrowserStartMode b) <0x401b6000 + 0x00b43> in <filename unknown>:0
...
我们在开始失败时没有改变任何,因此没有任何代码更改可以回滚。然后我想知道gitlab的一面是否有变化?就像他们决定让他们的跑步者根本没有互联网连接或类似的东西?但是我在最近发布的版本的发行说明中没有看到任何与跑步者有关的内容。
有人知道这里可能有什么问题吗?
PS:我们正在使用ubuntu 16.04 docker镜像来运行测试,虽然我猜它在这里并不真实。