<div dir="ltr">On Wed, Jul 9, 2014 at 3:57 PM, Juliusz Gonera <span dir="ltr"><<a href="mailto:jgonera@wikimedia.org" target="_blank">jgonera@wikimedia.org</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div><div><a href="https://integration.wikimedia.org/ci/view/BrowserTests/job/browsertests-MobileFrontend-en.m.wikipedia.beta.wmflabs.org-linux-chrome-sauce/lastBuild/testReport/junit/%28root%29/Issues/Closing_page_issues__browser_back_/" target="_blank">https://integration.wikimedia.org/ci/view/BrowserTests/job/browsertests-MobileFrontend-en.m.wikipedia.beta.wmflabs.org-linux-chrome-sauce/lastBuild/testReport/junit/%28root%29/Issues/Closing_page_issues__browser_back_/</a><br>
getaddrinfo: Name or service not known (SocketError) - seems like a problem with network on saucelabs<br></div></div></div></div></div></blockquote><div><br></div><div>Three Flow Chrome browsertests on beta labs run at Sauce Labs failed today with "getaddrinfo: Name or service not known (SocketError)" on Jul 16, 2014 6:26:46 PM (UTC?, I think 11:26 AM SF time). See <a href="https://integration.wikimedia.org/ci/view/BrowserTests/job/browsertests-Flow-en.wikipedia.beta.wmflabs.org-linux-chrome-sauce/65/">https://integration.wikimedia.org/ci/view/BrowserTests/job/browsertests-Flow-en.wikipedia.beta.wmflabs.org-linux-chrome-sauce/65/</a><br>
<br></div><div>15 minutes earlier a Firefox test also failed with the getaddrinfo error, see <a href="https://integration.wikimedia.org/ci/view/BrowserTests/job/browsertests-Flow-en.wikipedia.beta.wmflabs.org-linux-firefox-sauce/72/">https://integration.wikimedia.org/ci/view/BrowserTests/job/browsertests-Flow-en.wikipedia.beta.wmflabs.org-linux-firefox-sauce/72/</a><br>
<br></div><div>So I filed <a href="https://bugzilla.wikimedia.org/show_bug.cgi?id=68125"><b>Bug 68125</b></a> -<span id="summary_alias_container">
<span id="short_desc_nonedit_display">browser tests failing with "getaddrinfo: Name or service not known (SocketError)" </span></span></div><div><br></div><div>[Sage manager] suggested<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
can we change the wait to 60 seconds and call it good? How was 5 seconds arrived at as the time for an automated test to fail?<br></blockquote><br></div><div>The other Firefox test failure on that run was adding a topic took 6 seconds, thus triggering<br>
<pre>timed out after 5 seconds, Element still visible after 5 seconds (Watir::Wait::TimeoutError)
</pre>Flow tests often fail with these timeouts yet the expected result appears is in the screencast or ends up on the test page. So yes, increasing the wait timeout to 10 seconds would cut down our false failures.<br><br>
</div><div>QA folk, is there a way to "grep" all browser tests for gettaddrinfo and "timed out after 5 seconds" to see if there's a pattern to when and how often they occur?<br></div></div><br></div>
<div class="gmail_extra">Thanks indeed,<br></div><div class="gmail_extra">-- <br><div dir="ltr">=S Page Features engineer<br></div>
</div></div>