----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/35684/#review92103 -----------------------------------------------------------
Review#4 I am getting following errors on Mac ====================================================================== ERROR: test_create_directory_failed_no_parent (TestDirectoryResource.TestDirectoryResource) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1191, in patched arg = patching.__enter__() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1250, in __enter__ self.target = self.getter() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1412, in <lambda> getter = lambda: _importer(target) File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1096, in _importer thing = __import__(import_path) ImportError: No module named sudo ====================================================================== ERROR: test_create_directory_not_recursive (TestDirectoryResource.TestDirectoryResource) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1191, in patched arg = patching.__enter__() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1250, in __enter__ self.target = self.getter() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1412, in <lambda> getter = lambda: _importer(target) File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1096, in _importer thing = __import__(import_path) ImportError: No module named sudo ====================================================================== ERROR: test_create_directory_path_is_file_or_line (TestDirectoryResource.TestDirectoryResource) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1191, in patched arg = patching.__enter__() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1250, in __enter__ self.target = self.getter() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1412, in <lambda> getter = lambda: _importer(target) File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1096, in _importer thing = __import__(import_path) ImportError: No module named sudo ====================================================================== ERROR: test_create_directory_recursive (TestDirectoryResource.TestDirectoryResource) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1191, in patched arg = patching.__enter__() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1250, in __enter__ self.target = self.getter() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1412, in <lambda> getter = lambda: _importer(target) File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1096, in _importer thing = __import__(import_path) ImportError: No module named sudo ====================================================================== ERROR: test_delete_directory (TestDirectoryResource.TestDirectoryResource) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1191, in patched arg = patching.__enter__() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1250, in __enter__ self.target = self.getter() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1412, in <lambda> getter = lambda: _importer(target) File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1096, in _importer thing = __import__(import_path) ImportError: No module named sudo ====================================================================== ERROR: test_delete_directory_with_path_to_file (TestDirectoryResource.TestDirectoryResource) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1191, in patched arg = patching.__enter__() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1250, in __enter__ self.target = self.getter() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1412, in <lambda> getter = lambda: _importer(target) File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1096, in _importer thing = __import__(import_path) ImportError: No module named sudo ====================================================================== ERROR: test_delete_noexisting_directory (TestDirectoryResource.TestDirectoryResource) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1191, in patched arg = patching.__enter__() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1250, in __enter__ self.target = self.getter() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1412, in <lambda> getter = lambda: _importer(target) File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1096, in _importer thing = __import__(import_path) ImportError: No module named sudo ====================================================================== ERROR: test_attribute_creates (TestExecuteResource.TestExecuteResource) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1191, in patched arg = patching.__enter__() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1250, in __enter__ self.target = self.getter() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1412, in <lambda> getter = lambda: _importer(target) File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1096, in _importer thing = __import__(import_path) ImportError: No module named sudo ====================================================================== ERROR: test_action_create_dir_exist (TestFileResource.TestFileResource) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1191, in patched arg = patching.__enter__() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1250, in __enter__ self.target = self.getter() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1412, in <lambda> getter = lambda: _importer(target) File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1096, in _importer thing = __import__(import_path) ImportError: No module named sudo ====================================================================== ERROR: test_action_create_encoding (TestFileResource.TestFileResource) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1191, in patched arg = patching.__enter__() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1250, in __enter__ self.target = self.getter() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1412, in <lambda> getter = lambda: _importer(target) File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1096, in _importer thing = __import__(import_path) ImportError: No module named sudo ====================================================================== ERROR: test_action_create_non_existent_file (TestFileResource.TestFileResource) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1191, in patched arg = patching.__enter__() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1250, in __enter__ self.target = self.getter() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1412, in <lambda> getter = lambda: _importer(target) File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1096, in _importer thing = __import__(import_path) ImportError: No module named sudo ====================================================================== ERROR: test_action_create_parent_dir_non_exist (TestFileResource.TestFileResource) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1191, in patched arg = patching.__enter__() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1250, in __enter__ self.target = self.getter() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1412, in <lambda> getter = lambda: _importer(target) File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1096, in _importer thing = __import__(import_path) ImportError: No module named sudo ====================================================================== ERROR: test_action_create_replace (TestFileResource.TestFileResource) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1191, in patched arg = patching.__enter__() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1250, in __enter__ self.target = self.getter() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1412, in <lambda> getter = lambda: _importer(target) File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1096, in _importer thing = __import__(import_path) ImportError: No module named sudo ====================================================================== ERROR: test_action_delete (TestFileResource.TestFileResource) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1191, in patched arg = patching.__enter__() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1250, in __enter__ self.target = self.getter() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1412, in <lambda> getter = lambda: _importer(target) File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1096, in _importer thing = __import__(import_path) ImportError: No module named sudo ====================================================================== ERROR: test_action_delete_is_directory (TestFileResource.TestFileResource) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1191, in patched arg = patching.__enter__() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1250, in __enter__ self.target = self.getter() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1412, in <lambda> getter = lambda: _importer(target) File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1096, in _importer thing = __import__(import_path) ImportError: No module named sudo ====================================================================== ERROR: test_attribute_backup (TestFileResource.TestFileResource) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1191, in patched arg = patching.__enter__() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1250, in __enter__ self.target = self.getter() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1412, in <lambda> getter = lambda: _importer(target) File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1096, in _importer thing = __import__(import_path) ImportError: No module named sudo ====================================================================== ERROR: test_attribute_path (TestFileResource.TestFileResource) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1191, in patched arg = patching.__enter__() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1250, in __enter__ self.target = self.getter() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1412, in <lambda> getter = lambda: _importer(target) File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1096, in _importer thing = __import__(import_path) ImportError: No module named sudo ====================================================================== ERROR: test_attribute_replace (TestFileResource.TestFileResource) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1191, in patched arg = patching.__enter__() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1250, in __enter__ self.target = self.getter() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1412, in <lambda> getter = lambda: _importer(target) File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1096, in _importer thing = __import__(import_path) ImportError: No module named sudo ====================================================================== ERROR: test_ensure_metadata (TestFileResource.TestFileResource) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1191, in patched arg = patching.__enter__() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1250, in __enter__ self.target = self.getter() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1412, in <lambda> getter = lambda: _importer(target) File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1096, in _importer thing = __import__(import_path) ImportError: No module named sudo ====================================================================== ERROR: test_action_create_failed_due_to_file_exists (TestLinkResource.TestLinkResource) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1191, in patched arg = patching.__enter__() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1250, in __enter__ self.target = self.getter() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1412, in <lambda> getter = lambda: _importer(target) File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1096, in _importer thing = __import__(import_path) ImportError: No module named sudo ====================================================================== ERROR: test_action_create_hardlink_clean_create (TestLinkResource.TestLinkResource) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1191, in patched arg = patching.__enter__() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1250, in __enter__ self.target = self.getter() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1412, in <lambda> getter = lambda: _importer(target) File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1096, in _importer thing = __import__(import_path) ImportError: No module named sudo ====================================================================== ERROR: test_action_create_hardlink_target_doesnt_exist (TestLinkResource.TestLinkResource) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1191, in patched arg = patching.__enter__() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1250, in __enter__ self.target = self.getter() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1412, in <lambda> getter = lambda: _importer(target) File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1096, in _importer thing = __import__(import_path) ImportError: No module named sudo ====================================================================== ERROR: test_action_create_hardlink_target_is_dir (TestLinkResource.TestLinkResource) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1191, in patched arg = patching.__enter__() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1250, in __enter__ self.target = self.getter() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1412, in <lambda> getter = lambda: _importer(target) File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1096, in _importer thing = __import__(import_path) ImportError: No module named sudo ====================================================================== ERROR: test_action_create_relink (TestLinkResource.TestLinkResource) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1191, in patched arg = patching.__enter__() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1250, in __enter__ self.target = self.getter() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1412, in <lambda> getter = lambda: _importer(target) File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1096, in _importer thing = __import__(import_path) ImportError: No module named sudo ====================================================================== ERROR: test_action_create_symlink_clean_create (TestLinkResource.TestLinkResource) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1191, in patched arg = patching.__enter__() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1250, in __enter__ self.target = self.getter() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1412, in <lambda> getter = lambda: _importer(target) File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1096, in _importer thing = __import__(import_path) ImportError: No module named sudo ====================================================================== ERROR: test_action_delete (TestLinkResource.TestLinkResource) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1191, in patched arg = patching.__enter__() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1250, in __enter__ self.target = self.getter() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1412, in <lambda> getter = lambda: _importer(target) File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1096, in _importer thing = __import__(import_path) ImportError: No module named sudo ====================================================================== ERROR: test_action_create_empty_properties_with_dir (TestPropertiesFileResource.TestPropertiesFIleResource) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1191, in patched arg = patching.__enter__() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1250, in __enter__ self.target = self.getter() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1412, in <lambda> getter = lambda: _importer(target) File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1096, in _importer thing = __import__(import_path) ImportError: No module named sudo ====================================================================== ERROR: test_action_create_empty_properties_without_dir (TestPropertiesFileResource.TestPropertiesFIleResource) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1191, in patched arg = patching.__enter__() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1250, in __enter__ self.target = self.getter() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1412, in <lambda> getter = lambda: _importer(target) File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1096, in _importer thing = __import__(import_path) ImportError: No module named sudo ====================================================================== ERROR: test_action_create_properties_rewrite_content (TestPropertiesFileResource.TestPropertiesFIleResource) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1191, in patched arg = patching.__enter__() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1250, in __enter__ self.target = self.getter() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1412, in <lambda> getter = lambda: _importer(target) File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1096, in _importer thing = __import__(import_path) ImportError: No module named sudo ====================================================================== ERROR: test_action_create_properties_simple (TestPropertiesFileResource.TestPropertiesFIleResource) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1191, in patched arg = patching.__enter__() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1250, in __enter__ self.target = self.getter() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1412, in <lambda> getter = lambda: _importer(target) File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1096, in _importer thing = __import__(import_path) ImportError: No module named sudo ====================================================================== ERROR: test_action_create_properties_with_metacharacters (TestPropertiesFileResource.TestPropertiesFIleResource) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1191, in patched arg = patching.__enter__() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1250, in __enter__ self.target = self.getter() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1412, in <lambda> getter = lambda: _importer(target) File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1096, in _importer thing = __import__(import_path) ImportError: No module named sudo ====================================================================== ERROR: test_action_create_arguments (TestXmlConfigResource.TestXmlConfigResource) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1191, in patched arg = patching.__enter__() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1250, in __enter__ self.target = self.getter() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1412, in <lambda> getter = lambda: _importer(target) File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1096, in _importer thing = __import__(import_path) ImportError: No module named sudo ====================================================================== ERROR: test_action_create_empty_xml_config (TestXmlConfigResource.TestXmlConfigResource) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1191, in patched arg = patching.__enter__() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1250, in __enter__ self.target = self.getter() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1412, in <lambda> getter = lambda: _importer(target) File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1096, in _importer thing = __import__(import_path) ImportError: No module named sudo ====================================================================== ERROR: test_action_create_simple_xml_config (TestXmlConfigResource.TestXmlConfigResource) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1191, in patched arg = patching.__enter__() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1250, in __enter__ self.target = self.getter() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1412, in <lambda> getter = lambda: _importer(target) File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1096, in _importer thing = __import__(import_path) ImportError: No module named sudo ====================================================================== ERROR: test_action_create_xml_config_sorted_by_key (TestXmlConfigResource.TestXmlConfigResource) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1191, in patched arg = patching.__enter__() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1250, in __enter__ self.target = self.getter() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1412, in <lambda> getter = lambda: _importer(target) File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1096, in _importer thing = __import__(import_path) ImportError: No module named sudo ====================================================================== ERROR: test_action_create_xml_config_with_metacharacters (TestXmlConfigResource.TestXmlConfigResource) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1191, in patched arg = patching.__enter__() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1250, in __enter__ self.target = self.getter() File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1412, in <lambda> getter = lambda: _importer(target) File "/Users/jluniya/merge/trunk/ambari/ambari-common/src/test/python/mock/mock.py", line 1096, in _importer thing = __import__(import_path) ImportError: No module named sudo ---------------------------------------------------------------------- Ran 410 tests in 18.269s FAILED (errors=36) [INFO] ------------------------------------------------------------------------ - Jayush Luniya On July 17, 2015, 12:17 a.m., Florian Barca wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/35684/ > ----------------------------------------------------------- > > (Updated July 17, 2015, 12:17 a.m.) > > > Review request for Ambari, Artem Baranchuk, Eugene Chekanskiy, and Jayush > Luniya. > > > Bugs: AMBARI-12036 > https://issues.apache.org/jira/browse/AMBARI-12036 > > > Repository: ambari > > > Description > ------- > > Excluded the inapplicable tests for now. Coalesced the OS mock. > > > Diffs > ----- > > ambari-agent/src/test/python/ambari_agent/TestActionQueue.py > 4e130f9c4278bc6a1acb963c3fc115f7e4dbcab7 > ambari-agent/src/test/python/ambari_agent/TestActualConfigHandler.py > 7f88e174099811edbaeff29435dee4dc2e9830f3 > ambari-agent/src/test/python/ambari_agent/TestCertGeneration.py > d188dbd82899fb095fbc546b318789827681e530 > ambari-agent/src/test/python/ambari_agent/TestController.py > ba6e6c81765d559a81db257ce07adc0048aa3673 > ambari-agent/src/test/python/ambari_agent/TestCustomServiceOrchestrator.py > 831eccef48f7439363441194b820ae6cb55be905 > ambari-agent/src/test/python/ambari_agent/TestDataCleaner.py > 3ecb46a2d523c41fa0d193bfa233dbd43bfff4f7 > ambari-agent/src/test/python/ambari_agent/TestFileCache.py > da08782a5f415f873fa59ec45ad79afe86935bb2 > ambari-agent/src/test/python/ambari_agent/TestHostInfo.py > 58745f9471ca3910ee4d9fe6b226413a3cbac012 > ambari-agent/src/test/python/ambari_agent/TestHostname.py > 8cfcc9612c335112a10f9736890d5e7ba6e91835 > ambari-agent/src/test/python/ambari_agent/TestLiveStatus.py > e9bb776037b8c2c887be7810c38d5841cf426da4 > ambari-agent/src/test/python/ambari_agent/TestMain.py > 8c8d34795f477b6f7a116ac21dd0ef501e5f90a5 > ambari-agent/src/test/python/ambari_agent/TestNetUtil.py > 3d8083b9565b929466fcb173f151a3e2ca29c1e3 > ambari-agent/src/test/python/ambari_agent/TestPythonExecutor.py > eb6dd2935bc8e12e45b6bc7c766a0ad9f45d6004 > ambari-agent/src/test/python/ambari_agent/TestSecurity.py > c47172ae8e74ccefcefdef36e93dd1f3de5f799a > ambari-agent/src/test/python/ambari_agent/TestStatusCheck.py > 32be4a8c96784aebe50a61b8bced851cbfb2a257 > ambari-agent/src/test/python/resource_management/TestContentSources.py > c144cf9fe3c977e94d0e447510bfe64849944e5c > ambari-agent/src/test/python/resource_management/TestDirectoryResource.py > e57ed675580404480563f026a90ef77bc497726e > ambari-agent/src/test/python/resource_management/TestExecuteResource.py > 04244e94e6b23237a9b9a0c08a0f436e5e5f1bcd > ambari-agent/src/test/python/resource_management/TestFileResource.py > 43df94f8893f83b744655f6063e4f699ae4d4596 > ambari-agent/src/test/python/resource_management/TestGroupResource.py > 1d52a90d7ea5012bec09cc93b4dec1062aa6b358 > ambari-agent/src/test/python/resource_management/TestLinkResource.py > ceac07603af7783ca4b0fd3aa7186f4f1786c7bd > > ambari-agent/src/test/python/resource_management/TestPropertiesFileResource.py > 5c97380ab8da2047358493b4500ff0c5d9bc0da1 > ambari-agent/src/test/python/resource_management/TestRepositoryResource.py > 0f3017865c215adbd6e88806e9b0fa14ac1805cb > ambari-agent/src/test/python/resource_management/TestUserResource.py > 1598823180145d00c8657196c07e47e0c7d2da85 > ambari-agent/src/test/python/resource_management/TestXmlConfigResource.py > 609271752f46d746dd62a2a36816f7ebfbac86fa > ambari-common/src/test/python/only_for_platform.py > 1b08db5eca416ce9bec3d957a0d4aa3ab4df359c > > Diff: https://reviews.apache.org/r/35684/diff/ > > > Testing > ------- > > mvn clean test on Linux and Windows > > > Thanks, > > Florian Barca > >