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 2015/01/12 17:10:37 UTC

[jira] [Created] (AMBARI-9091) Storm unit tests fail

Dmitry Lysnichenko created AMBARI-9091:
------------------------------------------

             Summary: Storm unit tests fail
                 Key: AMBARI-9091
                 URL: https://issues.apache.org/jira/browse/AMBARI-9091
             Project: Ambari
          Issue Type: Task
          Components: ambari-server
    Affects Versions: 2.0.0
            Reporter: Dmitry Lysnichenko
            Assignee: Dmitry Lysnichenko
             Fix For: 2.0.0


{code}
Ran 233 tests in 4.538s

OK
----------------------------------------------------------------------
Failed tests:
ERROR: test_pre_rolling_restart (test_storm_nimbus.TestStormNimbus)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/media/plextor/review_ambari/ambari-server/src/test/python/stacks/2.1/STORM/test_storm_nimbus.py", line 149, in test_pre_rolling_restart
    target = RMFTestCase.TARGET_COMMON_SERVICES)
  File "/media/plextor/review_ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 134, in executeScript
    method(RMFTestCase.env)
  File "/media/plextor/review_ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/common-services/STORM/0.9.1.2.1/package/scripts/nimbus.py", line 48, in pre_rolling_restart
    if params.version and compare_versions(format_hdp_stack_version(params.version), '2.2.0.0') >= 0:
NameError: global name 'compare_versions' is not defined

ERROR: test_pre_rolling_restart (test_storm_rest_api_service.TestStormRestApi)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/media/plextor/review_ambari/ambari-server/src/test/python/stacks/2.1/STORM/test_storm_rest_api_service.py", line 149, in test_pre_rolling_restart
    target = RMFTestCase.TARGET_COMMON_SERVICES)
  File "/media/plextor/review_ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 134, in executeScript
    method(RMFTestCase.env)
  File "/media/plextor/review_ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/common-services/STORM/0.9.1.2.1/package/scripts/rest_api.py", line 49, in pre_rolling_restart
    if params.version and compare_versions(format_hdp_stack_version(params.version), '2.2.0.0') >= 0:
NameError: global name 'compare_versions' is not defined

ERROR: test_pre_rolling_restart (test_storm_supervisor_prod.TestStormSupervisor)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/media/plextor/review_ambari/ambari-server/src/test/python/stacks/2.1/STORM/test_storm_supervisor_prod.py", line 163, in test_pre_rolling_restart
    target = RMFTestCase.TARGET_COMMON_SERVICES)
  File "/media/plextor/review_ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 134, in executeScript
    method(RMFTestCase.env)
  File "/media/plextor/review_ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/common-services/STORM/0.9.1.2.1/package/scripts/supervisor_prod.py", line 46, in pre_rolling_restart
    if params.version and compare_versions(format_hdp_stack_version(params.version), '2.2.0.0') >= 0:
NameError: global name 'compare_versions' is not defined

ERROR: test_pre_rolling_restart (test_storm_drpc_server.TestStormDrpcServer)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/media/plextor/review_ambari/ambari-server/src/test/python/stacks/2.1/STORM/test_storm_drpc_server.py", line 150, in test_pre_rolling_restart
    target = RMFTestCase.TARGET_COMMON_SERVICES)
  File "/media/plextor/review_ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 134, in executeScript
    method(RMFTestCase.env)
  File "/media/plextor/review_ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/common-services/STORM/0.9.1.2.1/package/scripts/drpc_server.py", line 48, in pre_rolling_restart
    if params.version and compare_versions(format_hdp_stack_version(params.version), '2.2.0.0') >= 0:
NameError: global name 'compare_versions' is not defined

ERROR: test_pre_rolling_restart (test_storm_supervisor.TestStormSupervisor)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/media/plextor/review_ambari/ambari-server/src/test/python/stacks/2.1/STORM/test_storm_supervisor.py", line 195, in test_pre_rolling_restart
    target = RMFTestCase.TARGET_COMMON_SERVICES)
  File "/media/plextor/review_ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 134, in executeScript
    method(RMFTestCase.env)
  File "/media/plextor/review_ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/common-services/STORM/0.9.1.2.1/package/scripts/supervisor.py", line 47, in pre_rolling_restart
    if params.version and compare_versions(format_hdp_stack_version(params.version), '2.2.0.0') >= 0:
NameError: global name 'compare_versions' is not defined

ERROR: test_pre_rolling_restart (test_storm_ui_server.TestStormUiServer)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/media/plextor/review_ambari/ambari-server/src/test/python/stacks/2.1/STORM/test_storm_ui_server.py", line 148, in test_pre_rolling_restart
    target = RMFTestCase.TARGET_COMMON_SERVICES)
  File "/media/plextor/review_ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 134, in executeScript
    method(RMFTestCase.env)
  File "/media/plextor/review_ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/common-services/STORM/0.9.1.2.1/package/scripts/ui_server.py", line 48, in pre_rolling_restart
    if params.version and compare_versions(format_hdp_stack_version(params.version), '2.2.0.0') >= 0:
NameError: global name 'compare_versions' is not defined

ERROR: test_pre_rolling_restart (test_storm_nimbus_prod.TestStormNimbus)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/media/plextor/review_ambari/ambari-server/src/test/python/stacks/2.1/STORM/test_storm_nimbus_prod.py", line 114, in test_pre_rolling_restart
    target = RMFTestCase.TARGET_COMMON_SERVICES)
  File "/media/plextor/review_ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 134, in executeScript
    method(RMFTestCase.env)
  File "/media/plextor/review_ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/common-services/STORM/0.9.1.2.1/package/scripts/nimbus_prod.py", line 46, in pre_rolling_restart
    if params.version and compare_versions(format_hdp_stack_version(params.version), '2.2.0.0') >= 0:
NameError: global name 'compare_versions' is not defined

---------------------------------------------------------------------
{code}



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