ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitro Lisnichenko" <dlysniche...@hortonworks.com>
Subject Review Request 29811: Storm unit tests fail
Date Mon, 12 Jan 2015 16:14:00 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/29811/
-----------------------------------------------------------

Review request for Ambari and Vitalyi Brodetskyi.


Bugs: AMBARI-9091
    https://issues.apache.org/jira/browse/AMBARI-9091


Repository: ambari


Description
-------

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

---------------------------------------------------------------------


Diffs
-----

  ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/scripts/drpc_server.py
50deb45 
  ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/scripts/nimbus.py
858db80 
  ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/scripts/nimbus_prod.py
20b522f 
  ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/scripts/rest_api.py
320d020 
  ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/scripts/supervisor.py
cfebb9b 
  ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/scripts/supervisor_prod.py
21a1360 
  ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/scripts/ui_server.py
6ac75c7 

Diff: https://reviews.apache.org/r/29811/diff/


Testing
-------

[INFO] Reactor Summary:
[INFO] 
[INFO] Ambari Views ...................................... SUCCESS [3.300s]
[INFO] Ambari Server ..................................... SUCCESS [34.385s]
[INFO] Ambari Agent ...................................... SUCCESS [21.234s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 59.930s
[INFO] Finished at: Mon Jan 12 19:12:08 FET 2015
[INFO] Final Memory: 47M/412M
[INFO] ------------------------------------------------------------------------


Thanks,

Dmitro Lisnichenko


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message