You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Szilard Antal (Jira)" <ji...@apache.org> on 2020/10/01 16:24:00 UTC

[jira] [Updated] (AMBARI-25561) Python Test for zeppelin failing

     [ https://issues.apache.org/jira/browse/AMBARI-25561?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Szilard Antal updated AMBARI-25561:
-----------------------------------
    Status: Patch Available  (was: Open)

> Python Test for zeppelin failing 
> ---------------------------------
>
>                 Key: AMBARI-25561
>                 URL: https://issues.apache.org/jira/browse/AMBARI-25561
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: trunk
>            Reporter: Dmytro Grinenko
>            Assignee: Szilard Antal
>            Priority: Major
>             Fix For: 2.7.6
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> {code:java}
> FAIL: test_start_secured (test_zeppelin_070.TestZeppelin070)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/opt/ambari/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
>     return func(*args, **keywargs)
>   File "/opt/ambari/ambari-server/src/test/python/stacks/2.6/ZEPPELIN/test_zeppelin_070.py", line 240, in test_start_secured
>     dfs_type='',
>   File "/opt/ambari/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]...
>   {'action': ['create_on_execute'],
>    'default_fs': u'hdfs://c6401.ambari.apache.org:8020',
>    'dfs_type': '',
> -  'hadoop_bin_dir': '/usr/hdp/2.5.0.0-1235/hadoop/bin',
> ?                              ^^^^^^^^^^^^+  'hadoop_bin_dir': '/usr/hdp/current/hadoop-client/bin',
> ?                              ^^^^^^^       +++++++-  'hadoop_conf_dir': '/usr/hdp/2.5.0.0-1235/hadoop/conf',
> ?                               ^^^^^^^^^^^^+  'hadoop_conf_dir': '/usr/hdp/current/hadoop-client/conf',
> ?                               ^^^^^^^       +++++++   'hdfs_resource_ignore_file': '/var/lib/ambari-agent/data/.hdfs_resource_ignore',
>    'hdfs_site': {u'a': u'b'},
> -  'keytab': UnknownConfigurationMock(),
> ?                                ----+  'keytab': UnknownConfiguration(),
>    'kinit_path_local': '/usr/bin/kinit',
> -  'owner': 'zeppelin',
> +  'owner': u'zeppelin',
> ?           +-  'principal_name': UnknownConfigurationMock(),
> ?                                        ----+  'principal_name': UnknownConfiguration(),
>    'recursive_chmod': True,
>    'recursive_chown': True,
>    'security_enabled': False,
>    'type': 'directory',
> -  'user': 'hdfs'}
> +  'user': u'hdfs'}
> ?          +
>  {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)