You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Andrew Onischuk (JIRA)" <ji...@apache.org> on 2015/02/19 15:17:12 UTC
[jira] [Created] (AMBARI-9704) UT failures in Ambari-trunk-commit
Andrew Onischuk created AMBARI-9704:
---------------------------------------
Summary: UT failures in Ambari-trunk-commit
Key: AMBARI-9704
URL: https://issues.apache.org/jira/browse/AMBARI-9704
Project: Ambari
Issue Type: Bug
Reporter: Andrew Onischuk
Assignee: Andrew Onischuk
Fix For: 2.0.0
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)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)