You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2015/01/23 18:14:34 UTC
[jira] [Commented] (AMBARI-9300) Tests fail with python 2.6
[ https://issues.apache.org/jira/browse/AMBARI-9300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14289535#comment-14289535 ]
Hadoop QA commented on AMBARI-9300:
-----------------------------------
{color:green}+1 overall{color}. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12694179/AMBARI-9300.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 javac{color}. The applied patch does not increase the total number of javac compiler warnings.
{color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings.
{color:green}+1 core tests{color}. The patch passed unit tests in .
Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/1462//testReport/
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/1462//console
This message is automatically generated.
> Tests fail with python 2.6
> --------------------------
>
> Key: AMBARI-9300
> URL: https://issues.apache.org/jira/browse/AMBARI-9300
> Project: Ambari
> Issue Type: Bug
> Components: ambari-agent
> Affects Versions: 2.0.0
> Reporter: Yurii Shylov
> Assignee: Yurii Shylov
> Fix For: 2.0.0
>
> Attachments: AMBARI-9300.patch
>
>
> Test fails with next error:
> {code}
> ======================================================================
> ERROR: test_get_params_from_filesystem_JAAS (TestSecurityCommons.TestSecurityCommons)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/var/lib/jenkins/workspace/test-your-branch-python/ambari-agent/src/test/python/resource_management/TestSecurityCommons.py", line 146, in test_get_params_from_filesystem_JAAS
> self.assertIn('test_jaas', result)
> AttributeError: 'TestSecurityCommons' object has no attribute 'assertIn'
> ----------------------------------------------------------------------
> {code}
> According to [unittest documentation|https://docs.python.org/2/library/unittest.html] assertIn was added in python 2.7:
> || Method||Checks that||New in||
> |assertIn(a, b)|a in b|2.7|
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)