You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2014/11/18 19:44:34 UTC

[jira] [Commented] (AMBARI-8372) Distribute Repositories/Install Components - custom action script - fix failing unit tests (os check broken by 8de3425)

    [ https://issues.apache.org/jira/browse/AMBARI-8372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14216575#comment-14216575 ] 

Hudson commented on AMBARI-8372:
--------------------------------

FAILURE: Integrated in Ambari-trunk-Commit #971 (See [https://builds.apache.org/job/Ambari-trunk-Commit/971/])
AMBARI-8372. Distribute Repositories/Install Components - custom action script - fix failing unit tests (os check broken by 8de3425) (dlysnichenko) (dlysnichenko: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=0a3463c973ad1ebdba8314e519d424da6a0aeffb)
* ambari-common/src/main/python/ambari_commons/os_check.py


> 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
>
>         Attachments: AMBARI-8372.patch
>
>
> 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)