Mohammad Arshad created AMBARI-26036:
----------------------------------------
Summary: ambari-server python test failures
Key: AMBARI-26036
URL: https://issues.apache.org/jira/browse/AMBARI-26036
Project: Ambari
Issue Type: Bug
Reporter: Mohammad Arshad
Assignee: Mohammad Arshad
Following two test cases are failing in ambari branch-2.7
test_start_secured (test_zeppelin_070.TestZeppelin070)
testDBConnectionCheck (TestCheckHost.TestCheckHost)
*Details*
{code:java}
FAIL: test_start_secured (test_zeppelin_070.TestZeppelin070)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/ws/ambari-2.7/ambari-common/src/test/python/mock/mock.py", line 1199,
in patched
return func(*args, **keywargs)
File
"/ws/ambari-2.7/ambari-server/src/test/python/stacks/2.6/ZEPPELIN/test_zeppelin_070.py",
line 241, in test_start_secured
dfs_type='',
File
"/ws/ambari-2.7/ambari-server/src/test/python/stacks/utils/RMFTestCase.py",
line 345, in assertResourceCalled
self.assertEquals(kwargs, resource.arguments)
AssertionError: {'security_enabled': False, 'hadoop_conf_dir':
'/usr/hdp/2.5.0.0-1235/hadoop/con [truncated]... != {'security_enabled': False,
'hadoop_bin_dir': '/usr/hdp/current/hadoop-client/bi [truncated]..
{code}
{code:java}
FAIL: testDBConnectionCheck (TestCheckHost.TestCheckHost)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/ws/ambari-2.7/ambari-common/src/test/python/mock/mock.py", line 1199,
in patched
return func(*args, **keywargs)
File
"/ws/ambari-2.7/ambari-server/src/test/python/custom_actions/TestCheckHost.py",
line 163, in testDBConnectionCheck
'exit_code': 1}})
AssertionError: {'db_connection_check': {'message': "'tuple' object has no
attribute 'read'", 'e [truncated]... != {'db_connection_check': {'message':
'test message', 'exit_code': 1}}
+ {'db_connection_check': {'exit_code': 1, 'message': 'test message'}}
- {'db_connection_check': {'exit_code': 1,
- 'message': "'tuple' object has no attribute 'read'"}}
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]