[
https://issues.apache.org/jira/browse/AMBARI-8828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dmitry Lysnichenko resolved AMBARI-8828.
----------------------------------------
Resolution: Fixed
Committed to trunk
> Ambari UT failures
> ------------------
>
> Key: AMBARI-8828
> URL: https://issues.apache.org/jira/browse/AMBARI-8828
> Project: Ambari
> Issue Type: Task
> Components: ambari-agent
> Affects Versions: 2.0.0
> Reporter: Dmitry Lysnichenko
> Assignee: Dmitry Lysnichenko
> Fix For: 2.0.0
>
> Attachments: AMBARI-8828.patch
>
>
> The following UT failures are pretty consistent on recent Apache builds
> {code}
> FAILED (errors=1)
> ----------------------------------------------------------------------
> Failed tests:
> ERROR: testLastAgentEnv (TestCheckHost.TestCheckHost)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-common/src/test/python/mock/mock.py",
> line 1191, in patched
> arg = patching.__enter__()
> File
> "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-common/src/test/python/mock/mock.py",
> line 1266, in __enter__
> original, local = self.get_original()
> File
> "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-common/src/test/python/mock/mock.py",
> line 1240, in get_original
> "%s does not have the attribute %r" % (target, name)
> AttributeError: <class 'ambari_agent.HostInfo.HostInfo'> does not have the
> attribute 'checkIptables'
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)