Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-25561

Python Test for zeppelin failing

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: trunk
    • Fix Version/s: 2.7.6
    • Component/s: ambari-server
    • Labels:
      None

      Description

      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'}
      ?          +
       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sziszo Szilard Antal
                Reporter:
                hapylestat Dmytro Grinenko
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m