Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A917A17390 for ; Thu, 2 Apr 2015 01:52:59 +0000 (UTC) Received: (qmail 73877 invoked by uid 500); 2 Apr 2015 01:52:53 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 73837 invoked by uid 500); 2 Apr 2015 01:52:53 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 73825 invoked by uid 99); 2 Apr 2015 01:52:53 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Apr 2015 01:52:53 +0000 Date: Thu, 2 Apr 2015 01:52:53 +0000 (UTC) From: "Alejandro Fernandez (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: 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 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)