You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@ambari.apache.org by Andrew Onischuk <ao...@hortonworks.com> on 2017/10/04 12:55:07 UTC
Review Request 62771: Agent UT fail on trunk
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/62771/
-----------------------------------------------------------
Review request for Ambari and Vitalyi Brodetskyi.
Bugs: AMBARI-22130
https://issues.apache.org/jira/browse/AMBARI-22130
Repository: ambari
Description
-------
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
Diffs
-----
ambari-agent/src/test/python/ambari_agent/TestLiveStatus.py 930c8458a9
ambari-agent/src/test/python/ambari_agent/TestMain.py 504ca08e07
ambari-agent/src/test/python/ambari_agent/TestSecurity.py c9a7fbe865
Diff: https://reviews.apache.org/r/62771/diff/1/
Testing
-------
mvn clean test
Thanks,
Andrew Onischuk
Re: Review Request 62771: Agent UT fail on trunk
Posted by Dmytro Sen <ds...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/62771/#review187087
-----------------------------------------------------------
Ship it!
Ship It!
- Dmytro Sen
On Oct. 4, 2017, 12:55 p.m., Andrew Onischuk wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/62771/
> -----------------------------------------------------------
>
> (Updated Oct. 4, 2017, 12:55 p.m.)
>
>
> Review request for Ambari and Vitalyi Brodetskyi.
>
>
> Bugs: AMBARI-22130
> https://issues.apache.org/jira/browse/AMBARI-22130
>
>
> Repository: ambari
>
>
> Description
> -------
>
> 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
>
>
> Diffs
> -----
>
> ambari-agent/src/test/python/ambari_agent/TestLiveStatus.py 930c8458a9
> ambari-agent/src/test/python/ambari_agent/TestMain.py 504ca08e07
> ambari-agent/src/test/python/ambari_agent/TestSecurity.py c9a7fbe865
>
>
> Diff: https://reviews.apache.org/r/62771/diff/1/
>
>
> Testing
> -------
>
> mvn clean test
>
>
> Thanks,
>
> Andrew Onischuk
>
>