[
https://issues.apache.org/jira/browse/AMBARI-9687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14325966#comment-14325966
]
Yusaku Sako edited comment on AMBARI-9687 at 2/18/15 3:00 PM:
--------------------------------------------------------------
{code}
org.apache.ambari.server.controller.AmbariManagementControllerTest.testUpdateRepoUrlController
Failing for the past 1 build (Since Failed#1799 )
Took 15 sec.
Error Message
Could not access base url .
http://public-repo-1.hortonworks.com/HDP-1.1.1.16/repos/centos5 .
java.net.SocketTimeoutException: Read 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: Read timed out
at
org.apache.ambari.server.controller.AmbariManagementControllerImpl.verifyRepository(AmbariManagementControllerImpl.java:3117)
at
org.apache.ambari.server.controller.AmbariManagementControllerImpl.updateRepositories(AmbariManagementControllerImpl.java:3040)
at
org.apache.ambari.server.controller.AmbariManagementControllerTest.testUpdateRepoUrlController(AmbariManagementControllerTest.java:8161)
{code}
This was happening before this commit (see
https://builds.apache.org/job/Ambari-trunk-Commit/1797/testReport/)
was (Author: u39kun):
{code}
test_registration_build (TestRegistration.TestRegistration) ... Traceback (most
recent call last):
File "/usr/lib/python2.7/logging/__init__.py", line 851, in emit
msg = self.format(record)
File "/usr/lib/python2.7/logging/__init__.py", line 724, in format
return fmt.format(record)
File "/usr/lib/python2.7/logging/__init__.py", line 464, in format
record.message = record.getMessage()
File "/usr/lib/python2.7/logging/__init__.py", line 328, in getMessage
msg = msg % self.args
TypeError: not all arguments converted during string formatting
Logged from file packages_analyzer.py, line 177
Traceback (most recent call last):
File "/usr/lib/python2.7/logging/__init__.py", line 851, in emit
msg = self.format(record)
File "/usr/lib/python2.7/logging/__init__.py", line 724, in format
return fmt.format(record)
File "/usr/lib/python2.7/logging/__init__.py", line 464, in format
record.message = record.getMessage()
File "/usr/lib/python2.7/logging/__init__.py", line 328, in getMessage
msg = msg % self.args
TypeError: not all arguments converted during string formatting
{code}
This failure is intermittent and not caused by this commit.
> Prepare for publishing Ambari artifacts to Maven repository
> -----------------------------------------------------------
>
> Key: AMBARI-9687
> URL: https://issues.apache.org/jira/browse/AMBARI-9687
> Project: Ambari
> Issue Type: Task
> Affects Versions: 2.0.0
> Reporter: Yusaku Sako
> Assignee: Yusaku Sako
> Fix For: 2.0.0
>
> Attachments: AMBARI-9687.patch
>
>
> Modify pom.xml to prepare for publishing Ambari artifacts to Maven repository.
> As part of this:
> * Set version to 2.0.0-SNAPSHOT
> * Set version for ambari-metrics modules to 2.0.0-SNAPSHOT
> * Modify the group id for "contrib/views" to org.apache.ambari.contrib.views
> (it was org.apache.ambari.views and did not match the directory structure).
> * Modify ambari-views pom.xml to include XML fragments for publishing to
> Maven (we'll do the same for other modules later).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)