[jira] [Commented] (AMBARI-21296) Python tests fail for ambari-server and ambari-agent on ppc64le
[ https://issues.apache.org/jira/browse/AMBARI-21296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16272423#comment-16272423 ] Hadoop QA commented on AMBARI-21296: {color:green}+1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12899950/AMBARI-21296-2.patch against trunk revision . {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:green}+1 tests included{color}. The patch appears to include 3 new or modified test files. {color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:green}+1 core tests{color}. The patch passed unit tests in ambari-agent ambari-server. Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/12765//console This message is automatically generated. > Python tests fail for ambari-server and ambari-agent on ppc64le > --- > > Key: AMBARI-21296 > URL: https://issues.apache.org/jira/browse/AMBARI-21296 > Project: Ambari > Issue Type: Bug > Components: ambari-agent, ambari-server >Affects Versions: 3.0.0 > 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 >Assignee: Andrew Onischuk > Labels: powerpc, ppc64le > Fix For: 3.0.0 > > Attachments: AMBARI-21296-1.patch, AMBARI-21296-2.patch, > AMBARI-21296.patch > > > 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} > In Ambari-server, the below tests fail: > {code:java} > ERROR: test_configure_default (test_ganglia_server.TestGangliaServer) > -- > Traceback (most recent call last): > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/2.0.6/GANGLIA/test_ganglia_server.py", > line 37, in test_configure_default > target = RMFTestCase.TARGET_COMMON_SERVICES > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", > line 155, in executeScript > method(RMFTestCase.env, *command_args) > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-common/src/main/python/resource_management/libraries/script/script.py", > line 120, in locking_configure > original_configure(obj, *args, **kw) > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/utils/../../../../main/resources/common-services/GANGLIA/3.5.0/package/scripts/ganglia_server.py", > line 78, in configure > change_permission() > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/utils/../../../../main/resources/common-services/GANGLIA/3.5.0/package/scripts/ganglia_server.py", > line 93, in change_permission > Directory(params.dwoo_path, > AttributeError: 'module' object has no attribute 'dwoo_path' > ERROR: test_install_default (test_ganglia_server.TestGangliaServer) > -- > Traceback (most recent call last): > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/2.0.6/GANGLIA/test_ganglia_server.py", > line 79, in test_install_default > target =
[jira] [Commented] (AMBARI-21296) Python tests fail for ambari-server and ambari-agent on ppc64le
[ https://issues.apache.org/jira/browse/AMBARI-21296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16143698#comment-16143698 ] Hadoop QA commented on AMBARI-21296: {color:green}+1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12884024/AMBARI-21296-1.patch against trunk revision . {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:green}+1 tests included{color}. The patch appears to include 3 new or modified test files. {color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:green}+1 core tests{color}. The patch passed unit tests in ambari-agent ambari-server. Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/12072//console This message is automatically generated. > Python tests fail for ambari-server and ambari-agent on ppc64le > --- > > Key: AMBARI-21296 > URL: https://issues.apache.org/jira/browse/AMBARI-21296 > Project: Ambari > Issue Type: Bug > Components: ambari-agent, ambari-server >Affects Versions: 3.0.0 > 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 >Assignee: Andrew Onischuk > Labels: powerpc, ppc64le > Fix For: 3.0.0 > > Attachments: AMBARI-21296-1.patch, AMBARI-21296.patch > > > 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} > In Ambari-server, the below tests fail: > {code:java} > ERROR: test_configure_default (test_ganglia_server.TestGangliaServer) > -- > Traceback (most recent call last): > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/2.0.6/GANGLIA/test_ganglia_server.py", > line 37, in test_configure_default > target = RMFTestCase.TARGET_COMMON_SERVICES > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", > line 155, in executeScript > method(RMFTestCase.env, *command_args) > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-common/src/main/python/resource_management/libraries/script/script.py", > line 120, in locking_configure > original_configure(obj, *args, **kw) > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/utils/../../../../main/resources/common-services/GANGLIA/3.5.0/package/scripts/ganglia_server.py", > line 78, in configure > change_permission() > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/utils/../../../../main/resources/common-services/GANGLIA/3.5.0/package/scripts/ganglia_server.py", > line 93, in change_permission > Directory(params.dwoo_path, > AttributeError: 'module' object has no attribute 'dwoo_path' > ERROR: test_install_default (test_ganglia_server.TestGangliaServer) > -- > Traceback (most recent call last): > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/2.0.6/GANGLIA/test_ganglia_server.py", > line 79, in test_install_default > target = RMFTestCase.TARGET_COMMON_SERVICES > File >
[jira] [Commented] (AMBARI-21296) Python tests fail for ambari-server and ambari-agent on ppc64le
[ https://issues.apache.org/jira/browse/AMBARI-21296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16143599#comment-16143599 ] Pravin Dsilva commented on AMBARI-21296: The existing patch was not getting applied due to code changes. I have attached a new updated patch, however, the test "test_registration_build" continues to fail. > Python tests fail for ambari-server and ambari-agent on ppc64le > --- > > Key: AMBARI-21296 > URL: https://issues.apache.org/jira/browse/AMBARI-21296 > Project: Ambari > Issue Type: Bug > Components: ambari-agent, ambari-server >Affects Versions: 3.0.0 > 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 >Assignee: Andrew Onischuk > Labels: powerpc, ppc64le > Fix For: 3.0.0 > > Attachments: AMBARI-21296-1.patch, AMBARI-21296.patch > > > 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} > In Ambari-server, the below tests fail: > {code:java} > ERROR: test_configure_default (test_ganglia_server.TestGangliaServer) > -- > Traceback (most recent call last): > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/2.0.6/GANGLIA/test_ganglia_server.py", > line 37, in test_configure_default > target = RMFTestCase.TARGET_COMMON_SERVICES > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", > line 155, in executeScript > method(RMFTestCase.env, *command_args) > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-common/src/main/python/resource_management/libraries/script/script.py", > line 120, in locking_configure > original_configure(obj, *args, **kw) > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/utils/../../../../main/resources/common-services/GANGLIA/3.5.0/package/scripts/ganglia_server.py", > line 78, in configure > change_permission() > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/utils/../../../../main/resources/common-services/GANGLIA/3.5.0/package/scripts/ganglia_server.py", > line 93, in change_permission > Directory(params.dwoo_path, > AttributeError: 'module' object has no attribute 'dwoo_path' > ERROR: test_install_default (test_ganglia_server.TestGangliaServer) > -- > Traceback (most recent call last): > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/2.0.6/GANGLIA/test_ganglia_server.py", > line 79, in test_install_default > target = RMFTestCase.TARGET_COMMON_SERVICES > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", > line 155, in executeScript > method(RMFTestCase.env, *command_args) > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/utils/../../../../main/resources/common-services/GANGLIA/3.5.0/package/scripts/ganglia_server.py", > line 41, in install > self.configure(env) > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-common/src/main/python/resource_management/libraries/script/script.py", > line 120, in locking_configure > original_configure(obj, *args, **kw) > File >
[jira] [Commented] (AMBARI-21296) Python tests fail for ambari-server and ambari-agent on ppc64le
[ https://issues.apache.org/jira/browse/AMBARI-21296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16118330#comment-16118330 ] Yussuf Shaikh commented on AMBARI-21296: Hi [~aonishuk] You may want to mock HostInfoLinux.DEFAULT_LIVE_SERVICES variable as this seems to be empty as it's a class variable which gets populated even before the tests are running. In case of ppc machine this get_ntp_service() will return None. > Python tests fail for ambari-server and ambari-agent on ppc64le > --- > > Key: AMBARI-21296 > URL: https://issues.apache.org/jira/browse/AMBARI-21296 > Project: Ambari > Issue Type: Bug > Components: ambari-agent, ambari-server >Affects Versions: 3.0.0 > 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 >Assignee: Andrew Onischuk > Labels: powerpc, ppc64le > Fix For: 3.0.0 > > Attachments: AMBARI-21296.patch > > > 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} > In Ambari-server, the below tests fail: > {code:java} > ERROR: test_configure_default (test_ganglia_server.TestGangliaServer) > -- > Traceback (most recent call last): > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/2.0.6/GANGLIA/test_ganglia_server.py", > line 37, in test_configure_default > target = RMFTestCase.TARGET_COMMON_SERVICES > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", > line 155, in executeScript > method(RMFTestCase.env, *command_args) > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-common/src/main/python/resource_management/libraries/script/script.py", > line 120, in locking_configure > original_configure(obj, *args, **kw) > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/utils/../../../../main/resources/common-services/GANGLIA/3.5.0/package/scripts/ganglia_server.py", > line 78, in configure > change_permission() > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/utils/../../../../main/resources/common-services/GANGLIA/3.5.0/package/scripts/ganglia_server.py", > line 93, in change_permission > Directory(params.dwoo_path, > AttributeError: 'module' object has no attribute 'dwoo_path' > ERROR: test_install_default (test_ganglia_server.TestGangliaServer) > -- > Traceback (most recent call last): > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/2.0.6/GANGLIA/test_ganglia_server.py", > line 79, in test_install_default > target = RMFTestCase.TARGET_COMMON_SERVICES > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", > line 155, in executeScript > method(RMFTestCase.env, *command_args) > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/utils/../../../../main/resources/common-services/GANGLIA/3.5.0/package/scripts/ganglia_server.py", > line 41, in install > self.configure(env) > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-common/src/main/python/resource_management/libraries/script/script.py", > line 120, in locking_configure > original_configure(obj, *args,
[jira] [Commented] (AMBARI-21296) Python tests fail for ambari-server and ambari-agent on ppc64le
[ https://issues.apache.org/jira/browse/AMBARI-21296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16103030#comment-16103030 ] Pravin Dsilva commented on AMBARI-21296: [~aonishuk] any update on this? > Python tests fail for ambari-server and ambari-agent on ppc64le > --- > > Key: AMBARI-21296 > URL: https://issues.apache.org/jira/browse/AMBARI-21296 > Project: Ambari > Issue Type: Bug > Components: ambari-agent, ambari-server >Affects Versions: 3.0.0 > 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 >Assignee: Andrew Onischuk > Labels: powerpc, ppc64le > Fix For: 3.0.0 > > Attachments: AMBARI-21296.patch > > > 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} > In Ambari-server, the below tests fail: > {code:java} > ERROR: test_configure_default (test_ganglia_server.TestGangliaServer) > -- > Traceback (most recent call last): > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/2.0.6/GANGLIA/test_ganglia_server.py", > line 37, in test_configure_default > target = RMFTestCase.TARGET_COMMON_SERVICES > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", > line 155, in executeScript > method(RMFTestCase.env, *command_args) > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-common/src/main/python/resource_management/libraries/script/script.py", > line 120, in locking_configure > original_configure(obj, *args, **kw) > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/utils/../../../../main/resources/common-services/GANGLIA/3.5.0/package/scripts/ganglia_server.py", > line 78, in configure > change_permission() > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/utils/../../../../main/resources/common-services/GANGLIA/3.5.0/package/scripts/ganglia_server.py", > line 93, in change_permission > Directory(params.dwoo_path, > AttributeError: 'module' object has no attribute 'dwoo_path' > ERROR: test_install_default (test_ganglia_server.TestGangliaServer) > -- > Traceback (most recent call last): > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/2.0.6/GANGLIA/test_ganglia_server.py", > line 79, in test_install_default > target = RMFTestCase.TARGET_COMMON_SERVICES > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", > line 155, in executeScript > method(RMFTestCase.env, *command_args) > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/utils/../../../../main/resources/common-services/GANGLIA/3.5.0/package/scripts/ganglia_server.py", > line 41, in install > self.configure(env) > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-common/src/main/python/resource_management/libraries/script/script.py", > line 120, in locking_configure > original_configure(obj, *args, **kw) > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/utils/../../../../main/resources/common-services/GANGLIA/3.5.0/package/scripts/ganglia_server.py", > line 78, in configure >
[jira] [Commented] (AMBARI-21296) Python tests fail for ambari-server and ambari-agent on ppc64le
[ https://issues.apache.org/jira/browse/AMBARI-21296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16075040#comment-16075040 ] Hadoop QA commented on AMBARI-21296: {color:green}+1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12875720/AMBARI-21296.patch against trunk revision . {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:green}+1 tests included{color}. The patch appears to include 3 new or modified test files. {color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:green}+1 core tests{color}. The patch passed unit tests in ambari-agent ambari-server. Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/11700//console This message is automatically generated. > Python tests fail for ambari-server and ambari-agent on ppc64le > --- > > Key: AMBARI-21296 > URL: https://issues.apache.org/jira/browse/AMBARI-21296 > Project: Ambari > Issue Type: Bug > Components: ambari-agent, ambari-server >Affects Versions: 3.0.0 > 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 >Assignee: Andrew Onischuk > Labels: powerpc, ppc64le > Fix For: 3.0.0 > > Attachments: AMBARI-21296.patch > > > 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} > In Ambari-server, the below tests fail: > {code:java} > ERROR: test_configure_default (test_ganglia_server.TestGangliaServer) > -- > Traceback (most recent call last): > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/2.0.6/GANGLIA/test_ganglia_server.py", > line 37, in test_configure_default > target = RMFTestCase.TARGET_COMMON_SERVICES > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", > line 155, in executeScript > method(RMFTestCase.env, *command_args) > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-common/src/main/python/resource_management/libraries/script/script.py", > line 120, in locking_configure > original_configure(obj, *args, **kw) > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/utils/../../../../main/resources/common-services/GANGLIA/3.5.0/package/scripts/ganglia_server.py", > line 78, in configure > change_permission() > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/utils/../../../../main/resources/common-services/GANGLIA/3.5.0/package/scripts/ganglia_server.py", > line 93, in change_permission > Directory(params.dwoo_path, > AttributeError: 'module' object has no attribute 'dwoo_path' > ERROR: test_install_default (test_ganglia_server.TestGangliaServer) > -- > Traceback (most recent call last): > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/2.0.6/GANGLIA/test_ganglia_server.py", > line 79, in test_install_default > target = RMFTestCase.TARGET_COMMON_SERVICES > File >
[jira] [Commented] (AMBARI-21296) Python tests fail for ambari-server and ambari-agent on ppc64le
[ https://issues.apache.org/jira/browse/AMBARI-21296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16074484#comment-16074484 ] Ayappan commented on AMBARI-21296: -- [~aonishuk] Yeah sure > Python tests fail for ambari-server and ambari-agent on ppc64le > --- > > Key: AMBARI-21296 > URL: https://issues.apache.org/jira/browse/AMBARI-21296 > Project: Ambari > Issue Type: Bug > Components: ambari-agent, ambari-server >Affects Versions: 3.0.0 > 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 >Assignee: Andrew Onischuk > Labels: powerpc, ppc64le > Fix For: 3.0.0 > > Attachments: AMBARI-21296.patch > > > 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} > In Ambari-server, the below tests fail: > {code:java} > ERROR: test_configure_default (test_ganglia_server.TestGangliaServer) > -- > Traceback (most recent call last): > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/2.0.6/GANGLIA/test_ganglia_server.py", > line 37, in test_configure_default > target = RMFTestCase.TARGET_COMMON_SERVICES > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", > line 155, in executeScript > method(RMFTestCase.env, *command_args) > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-common/src/main/python/resource_management/libraries/script/script.py", > line 120, in locking_configure > original_configure(obj, *args, **kw) > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/utils/../../../../main/resources/common-services/GANGLIA/3.5.0/package/scripts/ganglia_server.py", > line 78, in configure > change_permission() > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/utils/../../../../main/resources/common-services/GANGLIA/3.5.0/package/scripts/ganglia_server.py", > line 93, in change_permission > Directory(params.dwoo_path, > AttributeError: 'module' object has no attribute 'dwoo_path' > ERROR: test_install_default (test_ganglia_server.TestGangliaServer) > -- > Traceback (most recent call last): > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/2.0.6/GANGLIA/test_ganglia_server.py", > line 79, in test_install_default > target = RMFTestCase.TARGET_COMMON_SERVICES > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", > line 155, in executeScript > method(RMFTestCase.env, *command_args) > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/utils/../../../../main/resources/common-services/GANGLIA/3.5.0/package/scripts/ganglia_server.py", > line 41, in install > self.configure(env) > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-common/src/main/python/resource_management/libraries/script/script.py", > line 120, in locking_configure > original_configure(obj, *args, **kw) > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/utils/../../../../main/resources/common-services/GANGLIA/3.5.0/package/scripts/ganglia_server.py", > line 78, in configure > change_permission() >
[jira] [Commented] (AMBARI-21296) Python tests fail for ambari-server and ambari-agent on ppc64le
[ https://issues.apache.org/jira/browse/AMBARI-21296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16066286#comment-16066286 ] Ayappan commented on AMBARI-21296: -- BTW, one can get a free PowerPC cloud VM's from here --> http://openpower.ic.unicamp.br/minicloud/ > Python tests fail for ambari-server and ambari-agent on ppc64le > --- > > Key: AMBARI-21296 > URL: https://issues.apache.org/jira/browse/AMBARI-21296 > Project: Ambari > Issue Type: Bug > Components: ambari-agent, ambari-server > 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} > In Ambari-server, the below tests fail: > {code:java} > ERROR: test_configure_default (test_ganglia_server.TestGangliaServer) > -- > Traceback (most recent call last): > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/2.0.6/GANGLIA/test_ganglia_server.py", > line 37, in test_configure_default > target = RMFTestCase.TARGET_COMMON_SERVICES > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", > line 155, in executeScript > method(RMFTestCase.env, *command_args) > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-common/src/main/python/resource_management/libraries/script/script.py", > line 120, in locking_configure > original_configure(obj, *args, **kw) > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/utils/../../../../main/resources/common-services/GANGLIA/3.5.0/package/scripts/ganglia_server.py", > line 78, in configure > change_permission() > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/utils/../../../../main/resources/common-services/GANGLIA/3.5.0/package/scripts/ganglia_server.py", > line 93, in change_permission > Directory(params.dwoo_path, > AttributeError: 'module' object has no attribute 'dwoo_path' > ERROR: test_install_default (test_ganglia_server.TestGangliaServer) > -- > Traceback (most recent call last): > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/2.0.6/GANGLIA/test_ganglia_server.py", > line 79, in test_install_default > target = RMFTestCase.TARGET_COMMON_SERVICES > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", > line 155, in executeScript > method(RMFTestCase.env, *command_args) > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/utils/../../../../main/resources/common-services/GANGLIA/3.5.0/package/scripts/ganglia_server.py", > line 41, in install > self.configure(env) > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-common/src/main/python/resource_management/libraries/script/script.py", > line 120, in locking_configure > original_configure(obj, *args, **kw) > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/utils/../../../../main/resources/common-services/GANGLIA/3.5.0/package/scripts/ganglia_server.py", > line 78, in configure > change_permission() > File >
[jira] [Commented] (AMBARI-21296) Python tests fail for ambari-server and ambari-agent on ppc64le
[ https://issues.apache.org/jira/browse/AMBARI-21296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16066242#comment-16066242 ] Ayappan commented on AMBARI-21296: -- [~aonishuk] I will share ppc64le machine details to you through mail. > Python tests fail for ambari-server and ambari-agent on ppc64le > --- > > Key: AMBARI-21296 > URL: https://issues.apache.org/jira/browse/AMBARI-21296 > Project: Ambari > Issue Type: Bug > Components: ambari-agent, ambari-server > 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} > In Ambari-server, the below tests fail: > {code:java} > ERROR: test_configure_default (test_ganglia_server.TestGangliaServer) > -- > Traceback (most recent call last): > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/2.0.6/GANGLIA/test_ganglia_server.py", > line 37, in test_configure_default > target = RMFTestCase.TARGET_COMMON_SERVICES > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", > line 155, in executeScript > method(RMFTestCase.env, *command_args) > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-common/src/main/python/resource_management/libraries/script/script.py", > line 120, in locking_configure > original_configure(obj, *args, **kw) > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/utils/../../../../main/resources/common-services/GANGLIA/3.5.0/package/scripts/ganglia_server.py", > line 78, in configure > change_permission() > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/utils/../../../../main/resources/common-services/GANGLIA/3.5.0/package/scripts/ganglia_server.py", > line 93, in change_permission > Directory(params.dwoo_path, > AttributeError: 'module' object has no attribute 'dwoo_path' > ERROR: test_install_default (test_ganglia_server.TestGangliaServer) > -- > Traceback (most recent call last): > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/2.0.6/GANGLIA/test_ganglia_server.py", > line 79, in test_install_default > target = RMFTestCase.TARGET_COMMON_SERVICES > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", > line 155, in executeScript > method(RMFTestCase.env, *command_args) > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/utils/../../../../main/resources/common-services/GANGLIA/3.5.0/package/scripts/ganglia_server.py", > line 41, in install > self.configure(env) > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-common/src/main/python/resource_management/libraries/script/script.py", > line 120, in locking_configure > original_configure(obj, *args, **kw) > File > "/var/lib/jenkins/workspace/ambari-trunk/ambari-server/src/test/python/stacks/utils/../../../../main/resources/common-services/GANGLIA/3.5.0/package/scripts/ganglia_server.py", > line 78, in configure > change_permission() > File >