You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Dmytro Grinenko (JIRA)" <ji...@apache.org> on 2018/01/02 12:06:00 UTC

[jira] [Created] (AMBARI-22713) TestZeppelin070.test_start_secured UT failing on trunk

Dmytro Grinenko created AMBARI-22713:
----------------------------------------

             Summary: TestZeppelin070.test_start_secured UT failing on trunk
                 Key: AMBARI-22713
                 URL: https://issues.apache.org/jira/browse/AMBARI-22713
             Project: Ambari
          Issue Type: Bug
          Components: ambari-sever
    Affects Versions: trunk
            Reporter: Dmytro Grinenko
            Assignee: Dmytro Grinenko
            Priority: Critical
             Fix For: trunk


{code}
Failure
Traceback (most recent call last):
  File "/usr/lib/python2.7/unittest/case.py", line 329, in run
    testMethod()
  File "/opt/TeamCity/work/794a9bdcb9f19074/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
    return func(*args, **keywargs)
  File "/opt/TeamCity/work/794a9bdcb9f19074/ambari-server/src/test/python/stacks/2.6/ZEPPELIN/test_zeppelin_070.py", line 239, in test_start_secured
    recursive_chmod=True
  File "/opt/TeamCity/work/794a9bdcb9f19074/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 343, in assertResourceCalled
    self.assertEquals(kwargs, resource.arguments)
  File "/usr/lib/python2.7/unittest/case.py", line 513, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/usr/lib/python2.7/unittest/case.py", line 835, in assertDictEqual
    self.fail(self._formatMessage(msg, standardMsg))
  File "/usr/lib/python2.7/unittest/case.py", line 410, in fail
    raise self.failureException(msg)
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',
-  '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
(v6.4.14#64029)