You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Dmitry Lysnichenko (JIRA)" <ji...@apache.org> on 2014/11/18 18:37:35 UTC
[jira] [Created] (AMBARI-8372) Distribute Repositories/Install
Components - custom action script - fix failing unit tests (os check broken
by 8de3425)
Dmitry Lysnichenko created AMBARI-8372:
------------------------------------------
Summary: Distribute Repositories/Install Components - custom action script - fix failing unit tests (os check broken by 8de3425)
Key: AMBARI-8372
URL: https://issues.apache.org/jira/browse/AMBARI-8372
Project: Ambari
Issue Type: Bug
Components: ambari-server
Affects Versions: 2.0.0
Reporter: Dmitry Lysnichenko
Assignee: Dmitry Lysnichenko
Fix For: 2.0.0
Failing build on Jenkins
{code}
ERROR: test_normal_flow (_TestInstallPackages.TestInstallPackages)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/media/plextor/ambari/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
return func(*args, **keywargs)
File "/media/plextor/ambari/ambari-server/src/test/python/custom_actions/_TestInstallPackages.py", line 40, in test_normal_flow
os_type=('Suse', '11', 'Final'),
File "/media/plextor/ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 118, in executeScript
method(RMFTestCase.env)
File "/media/plextor/ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/custom_actions/scripts/install_packages.py", line 83, in actionexecute
raise Fail("Failed to distribute repositories/install packages")
Fail: Failed to distribute repositories/install packages
======================================================================
FAIL: test_exclude_existing_repo (_TestInstallPackages.TestInstallPackages)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/media/plextor/ambari/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
return func(*args, **keywargs)
File "/media/plextor/ambari/ambari-server/src/test/python/custom_actions/_TestInstallPackages.py", line 89, in test_exclude_existing_repo
mirror_list=None,
File "/media/plextor/ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 193, in assertResourceCalled
self.assertEquals(kwargs, resource.arguments)
AssertionError: {'base_url': u'http://host1/hdp', 'repo_template': 'repo_suse_rhel.j2', 'compone [truncated]... != {'base_url': u'http://host1/hdp', 'action': ['create'], 'components': [u'HDP-2.2 [truncated]...
{'action': ['create'],
'base_url': u'http://host1/hdp',
'components': [u'HDP-2.2.0.0-885', 'main'],
'mirror_list': None,
'repo_file_name': u'HDP-2.2.0.0-885',
- 'repo_template': 'repo_suse_rhel.j2'}
? - ^^^^^^^
+ 'repo_template': 'repo_ubuntu.j2'}
? ^^^^^
----------------------------------------------------------------------
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)