ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-9704) UT failures in Ambari-trunk-commit
Date Thu, 19 Feb 2015 14:17:12 GMT
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)

Mime
View raw message