Andrew Onischuk created AMBARI-4492:
---------------------------------------

             Summary: ambari-server unit test failures WEBHCAT 1.3.3 unit tests
                 Key: AMBARI-4492
                 URL: https://issues.apache.org/jira/browse/AMBARI-4492
             Project: Ambari
          Issue Type: Bug
            Reporter: Andrew Onischuk
            Assignee: Andrew Onischuk
             Fix For: 1.5.0
         Attachments: AMBARI-4492.patch

--Can't figure out why I am noticing it now. Looks like it should be failing 
before today as well.-- Actually its a recent commit but git reports the local 
commit date in the log.

{noformat}
OK
----------------------------------------------------------------------
Failed tests:
FAIL: test_configure_default (test_webhcat_server.TestWebHCatServer)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/1.3.3/WEBHCAT/test_webhcat_server.py",
 line 31, in test_configure_default
    self.assert_configure_default()
  File 
"/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/1.3.3/WEBHCAT/test_webhcat_server.py",
 line 103, in assert_configure_default
    mode = 493,
  File 
"/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py",
 line 122, in assertResourceCalled
    self.assertEquals(name, resource.name)
AssertionError: '/var/run/webhcat' != u'/etc/run/webhcat'

FAIL: test_start_default (test_webhcat_server.TestWebHCatServer)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/1.3.3/WEBHCAT/test_webhcat_server.py",
 line 41, in test_start_default
    self.assert_configure_default()
  File 
"/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/1.3.3/WEBHCAT/test_webhcat_server.py",
 line 103, in assert_configure_default
    mode = 493,
  File 
"/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py",
 line 122, in assertResourceCalled
    self.assertEquals(name, resource.name)
AssertionError: '/var/run/webhcat' != u'/etc/run/webhcat'

FAIL: test_start_secured (test_webhcat_server.TestWebHCatServer)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/1.3.3/WEBHCAT/test_webhcat_server.py",
 line 78, in test_start_secured
    self.assert_configure_secured()
  File 
"/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/1.3.3/WEBHCAT/test_webhcat_server.py",
 line 147, in assert_configure_secured
    mode = 493,
  File 
"/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py",
 line 122, in assertResourceCalled
    self.assertEquals(name, resource.name)
AssertionError: '/var/run/webhcat' != u'/etc/run/webhcat'

FAIL: test_stop_default (test_webhcat_server.TestWebHCatServer)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/1.3.3/WEBHCAT/test_webhcat_server.py",
 line 58, in test_stop_default
    self.assertResourceCalled('Execute', 'rm -f /var/run/webhcat/webhcat.pid')
  File 
"/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py",
 line 122, in assertResourceCalled
    self.assertEquals(name, resource.name)
AssertionError: 'rm -f /var/run/webhcat/webhcat.pid' != u'rm -f 
/etc/run/webhcat/webhcat.pid'

FAIL: test_stop_secured (test_webhcat_server.TestWebHCatServer)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/1.3.3/WEBHCAT/test_webhcat_server.py",
 line 95, in test_stop_secured
    self.assertResourceCalled('Execute', 'rm -f /var/run/webhcat/webhcat.pid')
  File 
"/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py",
 line 122, in assertResourceCalled
    self.assertEquals(name, resource.name)
AssertionError: 'rm -f /var/run/webhcat/webhcat.pid' != u'rm -f 
/etc/run/webhcat/webhcat.pid'

-----------------------------------------AMBARI_CONF_DIR is not set, using 
default /etc/ambari-server/conf
log
Log not found
log
{noformat}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to