You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "jun aoki (JIRA)" <ji...@apache.org> on 2014/09/25 04:03:33 UTC

[jira] [Commented] (AMBARI-7462) ambari-trunk build fails, possibly due to ExecuteHadoop's ResourceArgument's default value change(?)

    [ https://issues.apache.org/jira/browse/AMBARI-7462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14147253#comment-14147253 ] 

jun aoki commented on AMBARI-7462:
----------------------------------

I have just submitted a patch but it seems fixed already.

> ambari-trunk build fails, possibly due to ExecuteHadoop's ResourceArgument's default value change(?)
> ----------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-7462
>                 URL: https://issues.apache.org/jira/browse/AMBARI-7462
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: jun aoki
>            Assignee: jun aoki
>         Attachments: AMBARI-7462.patch
>
>
> https://builds.apache.org/job/Ambari-trunk-Commit/350/console
> {code}
> ======================================================================
> FAIL: test_run_command_list (TestExecuteHadoopResource.TestExecuteHadoopResource)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
>     return func(*args, **keywargs)
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-agent/src/test/python/resource_management/TestExecuteHadoopResource.py", line 125, in test_run_command_list
>     'path': [None]})
> AssertionError: {'logoutput': False, 'path': [], 'tries': 1, 'user': 'user', 'try_sleep': 0} != {'logoutput': False, 'path': [None], 'tries': 1, 'user': 'user', 'try_sleep': 0} [truncated]...
> - {'logoutput': False, 'path': [], 'tries': 1, 'try_sleep': 0, 'user': 'user'}
> + {'logoutput': False,
> +  'path': [None],
> +  'tries': 1,
> +  'try_sleep': 0,
> +  'user': 'user'}
> {code}
> My best guess (sorry if I'm wrong) is https://issues.apache.org/jira/browse/AMBARI-7453 introducing a default value change 
> {code}
> bin_dir = ResourceArgument(default=[]) # appended to $PATH
> {code}
> I believe the change was made right but some python tests were affected.
> Patch will be delivered shortly.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)