You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Doroszlai, Attila (JIRA)" <ji...@apache.org> on 2017/10/04 13:06:03 UTC

[jira] [Commented] (AMBARI-22130) Agent UT fail on trunk

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

Doroszlai, Attila commented on AMBARI-22130:
--------------------------------------------

Thanks!

> Agent UT fail on trunk
> ----------------------
>
>                 Key: AMBARI-22130
>                 URL: https://issues.apache.org/jira/browse/AMBARI-22130
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 3.0.0
>
>         Attachments: AMBARI-22130.patch
>
>
>     Traceback (most recent call last):
>       File "unitTests.py", line 188, in <module>
>         main()
>       File "unitTests.py", line 142, in main
>         suite = all_tests_suite(test_mask)
>       File "unitTests.py", line 130, in all_tests_suite
>         suite = unittest.TestLoader().loadTestsFromNames(tests_list)
>       File "/usr/lib/python2.7/unittest/loader.py", line 130, in loadTestsFromNames
>         suites = [self.loadTestsFromName(name, module) for name in names]
>       File "/usr/lib/python2.7/unittest/loader.py", line 91, in loadTestsFromName
>         module = __import__('.'.join(parts_copy))
>       File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-agent/src/test/python/ambari_agent/TestSecurity.py", line 38, in <module>
>         from ambari_agent import ProcessHelper, main
>     ImportError: cannot import name ProcessHelper
>     
>     Traceback (most recent call last):
>       File "unitTests.py", line 188, in <module>
>         main()
>       File "unitTests.py", line 142, in main
>         suite = all_tests_suite(test_mask)
>       File "unitTests.py", line 130, in all_tests_suite
>         suite = unittest.TestLoader().loadTestsFromNames(tests_list)
>       File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/loader.py", line 130, in loadTestsFromNames
>         suites = [self.loadTestsFromName(name, module) for name in names]
>       File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/loader.py", line 91, in loadTestsFromName
>         module = __import__('.'.join(parts_copy))
>       File "ambari-agent/src/test/python/ambari_agent/TestLiveStatus.py", line 28, in <module>
>         from ambari_agent import StatusCheck
>     ImportError: cannot import name StatusCheck
>     



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)