----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/31193/#review73141 -----------------------------------------------------------
Ship it! Ship It! - Dmytro Sen On Фев. 19, 2015, 2:16 п.п., Andrew Onischuk wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/31193/ > ----------------------------------------------------------- > > (Updated Фев. 19, 2015, 2:16 п.п.) > > > Review request for Ambari and Dmytro Sen. > > > Bugs: AMBARI-9704 > https://issues.apache.org/jira/browse/AMBARI-9704 > > > Repository: ambari > > > Description > ------- > > There's a series of UT failures: <https://builds.apache.org/job/Ambari-trunk- > Commit/> > > This problem started happening with #1797, was ok for #1798, and has been > failing consecutively (except #1801 – job failed due to PermGen after > successfully finishing the unit test in question). > Seems like this is due to intermittent network issues, but should our UTs rely > on <http://public-repo-1.hortonworks.com/HDP-1.1.1.16/repos/centos5> or such > URLs being accessible (or just abort the test on socket timeout and not report > a test failure)? > Anyway, I can wget the URL and the server responds with 404 (expected) and not > socket timeout from my local machine: > > <https://builds.apache.org/job/Ambari-trunk-Commit/1797/testReport/junit/org.a > pache.ambari.server.controller/AmbariManagementControllerTest/testUpdateRepoUr > lController/> > > Error Message > > Could not access base url . <http://public- > repo-1.hortonworks.com/HDP-1.1.1.16/repos/centos5> . > java.net.SocketTimeoutException: connect timed out > Stacktrace > > java.lang.IllegalArgumentException: Could not access base url . <http > ://public-repo-1.hortonworks.com/HDP-1.1.1.16/repos/centos5> . > java.net.SocketTimeoutException: connect timed out > at org.apache.ambari.server.controller.AmbariManagementControllerImpl.verifyRe > pository(AmbariManagementControllerImpl.java:3117) > at org.apache.ambari.server.controller.AmbariManagementControllerImpl.updateRe > positories(AmbariManagementControllerImpl.java:3040) > at org.apache.ambari.server.controller.AmbariManagementControllerTest.testUpda > teRepoUrlController(AmbariManagementControllerTest.java:8128) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > > > Diffs > ----- > > > ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariManagementControllerTest.java > 2833f2c > > Diff: https://reviews.apache.org/r/31193/diff/ > > > Testing > ------- > > mvn clean test > > > Thanks, > > Andrew Onischuk > >
