You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Yusaku Sako (JIRA)" <ji...@apache.org> on 2015/09/15 00:29:46 UTC

[jira] [Updated] (AMBARI-4609) Unit tests failing with pop from empty list error.

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

Yusaku Sako updated AMBARI-4609:
--------------------------------
    Assignee: Andrew Onischuk

> Unit tests failing with pop from empty list error.
> --------------------------------------------------
>
>                 Key: AMBARI-4609
>                 URL: https://issues.apache.org/jira/browse/AMBARI-4609
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 1.5.0
>
>         Attachments: AMBARI-4609.patch
>
>
> {code}
> ---------------------------------------------------------------------
> Failed tests:
> ERROR: test_configure_default (test_pig_client.TestHcatClient)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/mahadev/workspace/ambari-workspace/ambari-git/ambari-server/src/test/python/stacks/1.3.2/PIG/test_pig_client.py", line 45, in test_configure_default
>     mode = 0644,
>   File "/Users/mahadev/workspace/ambari-workspace/ambari-git/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 129, in assertResourceCalled
>     resource = RMFTestCase.env.resource_list.pop(0)
> IndexError: pop from empty list
> ERROR: test_configure_secured (test_pig_client.TestHcatClient)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/mahadev/workspace/ambari-workspace/ambari-git/ambari-server/src/test/python/stacks/1.3.2/PIG/test_pig_client.py", line 69, in test_configure_secured
>     mode = 0644,
>   File "/Users/mahadev/workspace/ambari-workspace/ambari-git/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 129, in assertResourceCalled
>     resource = RMFTestCase.env.resource_list.pop(0)
> {code}
> This is most likely from this change: 
> {code}
> commit a687e1b201a1ec36c2625e3eeca3559644715abd
> Author: Andrew Onischuk <ao...@hortonworks.com>
> Date:   Fri Feb 7 15:03:59 2014 -0800
>     AMBARI-4562. Pig service check fails on secure cluster. (aonishuk)
> {code}



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