[
https://issues.apache.org/jira/browse/AMBARI-21296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16059014#comment-16059014
]
Pravin Dsilva commented on AMBARI-21296:
----------------------------------------
[~aonishuk] The changes made by you in AMBARI-21054 are causing 78 python test
failures on ppc64le in ambari-agent. Could you please help resolve these
failures?
> Python tests fail with local variable 'os_family_provider' referenced before
> assignment on ppc64le
> --------------------------------------------------------------------------------------------------
>
> Key: AMBARI-21296
> URL: https://issues.apache.org/jira/browse/AMBARI-21296
> Project: Ambari
> Issue Type: Bug
> Components: ambari-agent
> Environment: $ uname -a
> Linux pts00607-vm4 3.16.0-30-generic #40~14.04.1-Ubuntu SMP Thu Jan 15
> 17:42:36 UTC 2015 ppc64le ppc64le ppc64le GNU/Linux
> Reporter: Pravin Dsilva
> Labels: powerpc, ppc64le
>
> There are 78 python test failures in Ambari agent for ppc64le
> Error:
> {code:java}
> Traceback (most recent call last):
> File
> "/var/lib/jenkins/workspace/ambari-trunk/ambari-common/src/test/python/mock/mock.py",
> line 1199, in patched
> return func(*args, **keywargs)
> File
> "/var/lib/jenkins/workspace/ambari-trunk/ambari-agent/src/test/python/resource_management/TestXmlConfigResource.py",
> line 68, in test_action_create_empty_xml_config
> configuration_attributes={}
> File
> "/var/lib/jenkins/workspace/ambari-trunk/ambari-common/src/main/python/resource_management/core/base.py",
> line 155, in __init__
> self.env.run()
> File
> "/var/lib/jenkins/workspace/ambari-trunk/ambari-common/src/main/python/resource_management/core/environment.py",
> line 160, in run
> self.run_action(resource, action)
> File
> "/var/lib/jenkins/workspace/ambari-trunk/ambari-common/src/main/python/resource_management/core/environment.py",
> line 118, in run_action
> resource.provider)
> File
> "/var/lib/jenkins/workspace/ambari-trunk/ambari-common/src/main/python/resource_management/core/providers/__init__.py",
> line 93, in find_provider
> if resource in os_family_provider:
> UnboundLocalError: local variable 'os_family_provider' referenced before
> assignment
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)