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

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

    [ https://issues.apache.org/jira/browse/AMBARI-22713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16307963#comment-16307963 ] 

Hadoop QA commented on AMBARI-22713:
------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12904213/AMBARI-22713.trunk.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:green}+1 tests included{color}.  The patch appears to include 1 new or modified test files.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number of release audit warnings.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of javac compiler warnings.

    {color:red}-1 core tests{color}.  The test build failed in [ambari-server|https://builds.apache.org/job/Ambari-trunk-test-patch/12908//artifact/patch-work/testrun_ambari-server.txt] 

Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/12908//console

This message is automatically generated.

> 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
>
>         Attachments: AMBARI-22713.trunk.patch
>
>
> {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)