ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Levas (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (AMBARI-10476) TestSqoopServiceCheck unit test fails due to AMBARI-10452
Date Tue, 14 Apr 2015 18:22:12 GMT

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

Robert Levas reassigned AMBARI-10476:
-------------------------------------

    Assignee: Robert Levas

> TestSqoopServiceCheck unit test fails due to AMBARI-10452
> ---------------------------------------------------------
>
>                 Key: AMBARI-10476
>                 URL: https://issues.apache.org/jira/browse/AMBARI-10476
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Robert Levas
>            Assignee: Robert Levas
>
> {code}
> ----------------------------------------------------------------------
> Failed tests:
> FAIL: test_service_check_secured (test_service_check.TestSqoopServiceCheck)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/test/python/stacks/2.0.6/SQOOP/test_service_check.py",
line 36, in test_service_check_secured
>     user = 'ambari-qa'
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/test/python/stacks/utils/RMFTestCase.py",
line 225, in assertResourceCalled
>     self.assertEquals(name, resource.name)
> AssertionError: '/usr/bin/kinit  -kt /etc/security/keytabs/smokeuser.headless.keytab
ambari-qa@EXAMPLE.COM' != u'kinit  -kt /etc/security/keytabs/smokeuser.headless.keytab ambari-qa@EXAMPLE.COM'
> ----------------------------------------------------------------------
> {code}
> This is due to the addition of code (resolving BUG-10452) used to dynamically locate
the Kerberos utilities in a configured search path. If the specified utility (i.e., kinit)
is not found, a relative path to the utility is returned.   
> In the case, the machine that is executing the tests does not have {{kinit}} installed
on it, therefore the path to it is generated as {{kinit}} - not an absolute path such as {{/usr/bin/kinit}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message