You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Dmitry Lysnichenko (JIRA)" <ji...@apache.org> on 2016/03/01 20:15:18 UTC

[jira] [Updated] (AMBARI-15252) Server python unit-test failing on branch-2.2

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

Dmitry Lysnichenko updated AMBARI-15252:
----------------------------------------
    Assignee: Lav Jain

> Server python unit-test failing on branch-2.2
> ---------------------------------------------
>
>                 Key: AMBARI-15252
>                 URL: https://issues.apache.org/jira/browse/AMBARI-15252
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.2.2
>            Reporter: Dmytro Grinenko
>            Assignee: Lav Jain
>            Priority: Critical
>             Fix For: 2.2.2
>
>
> {code}
> ----------------------------------------------------------------------
> Failed tests:
> ERROR: test_recommendHDFSConfigurations (test_stack_advisor.TestHDP23StackAdvisor)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/root/ambari/ambari-server/src/test/python/stacks/2.3/common/test_stack_advisor.py", line 587, in test_recommendHDFSConfigurations
>     self.stackAdvisor.recommendHDFSConfigurations(configurations, clusterData, services, hosts)
> NameError: global name 'hosts' is not defined
> ----------------------------------------------------------------------
> Total run:922
> Total errors:1
> Total failures:0
> ERROR
> INFO: AMBARI_SERVER_LIB is not set, using default /usr/lib/ambari-server
> INFO: Return code from stack upgrade command, retcode = 0
> log
> log
> StackAdvisor implementation for stack HDP1, version 2.0.6 was not found
> Returning DefaultStackAdvisor implementation
> StackAdvisor implementation for stack XYZ, version 1.0.0 was loaded
> StackAdvisor implementation for stack XYZ, version 1.0.1 was loaded
> Returning XYZ101StackAdvisor implementation
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Ambari Views ...................................... SUCCESS [2.543s]
> [INFO] Ambari Metrics Common ............................. SUCCESS [2.387s]
> [INFO] Ambari Server ..................................... FAILURE [48.477s]
> [INFO] Ambari Agent ...................................... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 56.384s
> [INFO] Finished at: Tue Mar 01 18:26:05 UTC 2016
> [INFO] Final Memory: 88M/1920M
> [INFO] ------------------------------------------------------------------------
> {code}
> Introduced by https://issues.apache.org/jira/browse/AMBARI-15189



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