ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alejandro Fernandez (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-10168) Full Delete of Host : Switch host-related tables to use host_id instead of host_name column for hoststate, hostcomponentstate, hostcomponentdesiredstate
Date Thu, 02 Apr 2015 01:52:53 GMT

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

Alejandro Fernandez commented on AMBARI-10168:
----------------------------------------------

Unit tests failed due to unrelated error,

{code}
======================================================================
ERROR: test_remove_repo_redhat (TestRepositoryResource.TestRepositoryResource)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/afernandez/Documents/git/ambari-vagrant/centos6.4/ambari/ambari-common/src/test/python/mock/mock.py",
line 1199, in patched
    return func(*args, **keywargs)
  File "/Users/afernandez/Documents/git/ambari-vagrant/centos6.4/ambari/ambari-agent/src/test/python/resource_management/TestRepositoryResource.py",
line 290, in test_remove_repo_redhat
    repo_file_name='Repository')
  File "/Users/afernandez/Documents/git/ambari-vagrant/centos6.4/ambari/ambari-common/src/main/python/resource_management/core/base.py",
line 148, in __init__
    self.env.run()
  File "/Users/afernandez/Documents/git/ambari-vagrant/centos6.4/ambari/ambari-common/src/main/python/resource_management/core/environment.py",
line 152, in run
    self.run_action(resource, action)
  File "/Users/afernandez/Documents/git/ambari-vagrant/centos6.4/ambari/ambari-common/src/main/python/resource_management/core/environment.py",
line 112, in run_action
    resource.provider)
  File "/Users/afernandez/Documents/git/ambari-vagrant/centos6.4/ambari/ambari-common/src/main/python/resource_management/core/providers/__init__.py",
line 80, in find_provider
    if resource in provider[env.system.os_family]:
KeyError: 'mac'

======================================================================
FAIL: test_setup_suse (TestMonitorWebserverResource.TestMonitorWebserverResource)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/afernandez/Documents/git/ambari-vagrant/centos6.4/ambari/ambari-common/src/test/python/mock/mock.py",
line 1199, in patched
    return func(*args, **keywargs)
  File "/Users/afernandez/Documents/git/ambari-vagrant/centos6.4/ambari/ambari-agent/src/test/python/resource_management/TestMonitorWebserverResource.py",
line 58, in test_setup_suse
    self.assertEqual(str(defined_resources), expected_resources)
AssertionError: "[MonitorWebserver['start'], Execute['grep -E 'KeepAlive (On|Off)' /etc/httpd/conf/httpd.conf
&& ambari-sudo.sh [RMF_ENV_PLACEHOLDER] -H -E sed -i 's/KeepAlive Off/KeepAlive On/'
/etc/httpd/conf/httpd.conf || echo 'KeepAlive On' | ambari-sudo.sh [RMF_ENV_PLACEHOLDER] -H
-E tee --append /etc/httpd/conf/httpd.conf > /dev/null'], Execute['('/etc/init.d/httpd',
'start')']]" != "[MonitorWebserver['start'], Execute['grep -E 'KeepAlive (On|Off)' /etc/apache2/httpd.conf
&& ambari-sudo.sh [RMF_ENV_PLACEHOLDER] -H -E sed -i 's/KeepAlive Off/KeepAlive On/'
/etc/apache2/httpd.conf || echo 'KeepAlive On' | ambari-sudo.sh [RMF_ENV_PLACEHOLDER] -H -E
tee --append /etc/apache2/httpd.conf > /dev/null'], Execute['('/etc/init.d/apache2', 'start')']]"

======================================================================
FAIL: test_stop_suse (TestMonitorWebserverResource.TestMonitorWebserverResource)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/afernandez/Documents/git/ambari-vagrant/centos6.4/ambari/ambari-common/src/test/python/mock/mock.py",
line 1199, in patched
    return func(*args, **keywargs)
  File "/Users/afernandez/Documents/git/ambari-vagrant/centos6.4/ambari/ambari-agent/src/test/python/resource_management/TestMonitorWebserverResource.py",
line 80, in test_stop_suse
    self.assertEqual(str(defined_resources), expected_resources)
AssertionError: "[MonitorWebserver['stop'], Execute['('/etc/init.d/httpd', 'stop')']]" !=
"[MonitorWebserver['stop'], Execute['('/etc/init.d/apache2', 'stop')']]"

----------------------------------------------------------------------
Ran 317 tests in 15.590s

FAILED (failures=2, errors=1)
{code}

> Full Delete of Host : Switch host-related tables to use host_id instead of host_name
column for hoststate, hostcomponentstate, hostcomponentdesiredstate
> --------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-10168
>                 URL: https://issues.apache.org/jira/browse/AMBARI-10168
>             Project: Ambari
>          Issue Type: Technical task
>          Components: ambari-server
>    Affects Versions: 1.7.0
>            Reporter: Alejandro Fernandez
>            Assignee: Alejandro Fernandez
>             Fix For: 2.1.0
>
>         Attachments: AMBARI-10168.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message