You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Florian Barca (JIRA)" <ji...@apache.org> on 2014/10/30 21:49:33 UTC
[jira] [Commented] (AMBARI-8026) [Test] ambari-server unit test
failures: AttributeError
[ https://issues.apache.org/jira/browse/AMBARI-8026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14190808#comment-14190808 ]
Florian Barca commented on AMBARI-8026:
---------------------------------------
AMBARI-8026.2.patch: Filtered out the changes overpalling AMBARI-7957.
> [Test] ambari-server unit test failures: AttributeError
> -------------------------------------------------------
>
> Key: AMBARI-8026
> URL: https://issues.apache.org/jira/browse/AMBARI-8026
> Project: Ambari
> Issue Type: Task
> Components: ambari-server
> Affects Versions: branch-windows-dev
> Environment: Linux
> Reporter: Florian Barca
> Assignee: Florian Barca
> Fix For: branch-windows-dev
>
> Attachments: AMBARI-8026.1.patch, AMBARI-8026.2.patch
>
> Original Estimate: 12h
> Remaining Estimate: 12h
>
> ERROR: test_ambariServerSetupWithCustomDbName (TestAmbariServer.TestAmbariServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/Users/fbarca/ambari-vagrant/centos6.4/ambari/ambari-common/src/test/python/mock/mock.py", line 1191, in patched
> arg = patching.__enter__()
> File "/Users/fbarca/ambari-vagrant/centos6.4/ambari/ambari-common/src/test/python/mock/mock.py", line 1266, in __enter__
> original, local = self.get_original()
> File "/Users/fbarca/ambari-vagrant/centos6.4/ambari/ambari-common/src/test/python/mock/mock.py", line 1240, in get_original
> "%s does not have the attribute %r" % (target, name)
> AttributeError: <module 'ambari-server' from '/Users/fbarca/ambari-vagrant/centos6.4/ambari/ambari-server/src/main/python/ambari-server.py'> does not have the attribute 'download_and_install_jdk'
> ERROR: test_reset (TestAmbariServer.TestAmbariServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/Users/fbarca/ambari-vagrant/centos6.4/ambari/ambari-common/src/test/python/mock/mock.py", line 1191, in patched
> arg = patching.__enter__()
> File "/Users/fbarca/ambari-vagrant/centos6.4/ambari/ambari-common/src/test/python/mock/mock.py", line 1266, in __enter__
> original, local = self.get_original()
> File "/Users/fbarca/ambari-vagrant/centos6.4/ambari/ambari-common/src/test/python/mock/mock.py", line 1240, in get_original
> "%s does not have the attribute %r" % (target, name)
> AttributeError: <module 'ambari-server' from '/Users/fbarca/ambari-vagrant/centos6.4/ambari/ambari-server/src/main/python/ambari-server.py'> does not have the attribute 'is_server_running'
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)