Andrew Onischuk created AMBARI-22130:
----------------------------------------

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



    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)

Reply via email to