jun aoki created AMBARI-7462:
--------------------------------

             Summary: 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


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)

Reply via email to