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/29 18:55:33 UTC
[jira] [Created] (AMBARI-8024) [Test] ambari-server unit test
failures: "Index out of range" error
Florian Barca created AMBARI-8024:
-------------------------------------
Summary: [Test] ambari-server unit test failures: "Index out of range" error
Key: AMBARI-8024
URL: https://issues.apache.org/jira/browse/AMBARI-8024
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
12 unit test failures with similar output:
Running tests for stack:1.3.2 service:before-ANY
test_hook_default (test_before_any.TestHookBeforeInstall) ... ERROR
======================================================================
ERROR: test_hook_default (test_before_any.TestHookBeforeInstall)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/fbarca/ambari-vagrant/centos6.4/ambari/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
return func(*args, **keywargs)
File "/Users/fbarca/ambari-vagrant/centos6.4/ambari/ambari-server/src/test/python/stacks/1.3.2/hooks/before-ANY/test_before_any.py", line 132, in test_hook_default
content = StaticFile('changeToSecureUid.sh'),
File "/Users/fbarca/ambari-vagrant/centos6.4/ambari/ambari-common/src/main/python/resource_management/core/source.py", line 59, in __init__
super(StaticFile, self).__init__(name)
File "/Users/fbarca/ambari-vagrant/centos6.4/ambari/ambari-common/src/main/python/resource_management/core/source.py", line 37, in __init__
self.env = Environment.get_instance()
File "/Users/fbarca/ambari-vagrant/centos6.4/ambari/ambari-common/src/main/python/resource_management/core/environment.py", line 164, in get_instance
return cls._instances[-1]
IndexError: list index out of range
----------------------------------------------------------------------
Ran 1 test in 0.020s
FAILED (errors=1)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)