ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk" <aonis...@hortonworks.com>
Subject Re: Review Request 38718: HBase service start fails after manual stack upgrade with missing PhoenixRpcSchedulerFactory class error
Date Thu, 24 Sep 2015 14:27:49 GMT

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

(Updated Sept. 24, 2015, 2:27 p.m.)


Review request for Ambari, Dmytro Sen and Vitalyi Brodetskyi.


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


Repository: ambari


Description (updated)
-------

PhoenixRpcSchedulerFactory class  exist in the property hbase.region.server.rpc.scheduler.factory.class even without installed Phoenix


Diffs
-----

  ambari-server/src/main/python/upgradeHelper.py 4189b95 
  ambari-server/src/main/resources/upgrade/catalog/UpgradeCatalog_2.1_to_2.3.json fc2ff87 
  ambari-server/src/main/resources/upgrade/catalog/UpgradeCatalog_2.2_to_2.3.json 4fec857 
  ambari-server/src/test/python/TestUpgradeHelper.py 9de2ed1 

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


Testing
-------

/usr/bin/python2.7 /home/lestat/git/ambari/ambari-server/src/test/python/unitTests.py
Running tests for stack:2.3 service:MAHOUT
test_configure_default (test_mahout_client.TestMahoutClient) ... ok
test_pre_rolling_restart (test_mahout_client.TestMahoutClient) ... ok
test_pre_rolling_restart_23 (test_mahout_client.TestMahoutClient) ... 2015-09-24 17:10:13,707 - After hdp-select mahout-client, reloaded module params
ok
test_configure_default (test_mahout_service_check.TestMahoutClient) ... 2015-09-24 17:10:13,713 - After hdp-select mahout-client, reloaded module params
ok

----------------------------------------------------------------------
Ran 4 tests in 0.049s

OK
Running tests for stack:2.3 service:common
test_noRiskyDictLookups (test_stack_advisor.TestHDP23StackAdvisor) ... max_inmemory_regions: -3.8
Processing file: /home/lestat/git/ambari/ambari-server/src/main/resources/stacks/HDP/2.3/services/../../../../common-services/AMBARI_METRICS/0.1.0/package/files/service-metrics/HOST.txt
Processing file: /home/lestat/git/ambari/ambari-server/src/main/resources/stacks/HDP/2.3/services/../../../../common-services/AMBARI_METRICS/0.1.0/package/files/service-metrics/AMBARI_METRICS.txt
Processing file: /home/lestat/git/ambari/ambari-server/src/main/resources/stacks/HDP/2.3/services/../../../../common-services/AMBARI_METRICS/0.1.0/package/files/service-metrics/HDFS.txt
Processing file: /home/lestat/git/ambari/ambari-server/src/main/resources/stacks/HDP/2.3/services/../../../../common-services/AMBARI_METRICS/0.1.0/package/files/service-metrics/HBASE.txt
Processing file: /home/lestat/git/ambari/ambari-server/src/main/resources/stacks/HDP/2.3/services/../../../../common-services/AMBARI_METRICS/0.1.0/package/files/service-metrics/YARN.txt
metrics length: 216
ok
test_recommendHBASEConfigurations (test_stack_advisor.TestHDP23StackAdvisor) ... ok
test_recommendHiveConfigurations (test_stack_advisor.TestHDP23StackAdvisor) ... ok
test_recommendTezConfigurations (test_stack_advisor.TestHDP23StackAdvisor) ... ok
test_validateHiveConfigurations (test_stack_advisor.TestHDP23StackAdvisor) ... ok

----------------------------------------------------------------------
Ran 5 tests in 0.014s

OK
Running tests for stack:2.3 service:ATLAS
test_configure_default (test_metadata_server.TestMetadataServer) ... ok
test_start_default (test_metadata_server.TestMetadataServer) ... ok
test_stop_default (test_metadata_server.TestMetadataServer) ... ok

----------------------------------------------------------------------
Ran 3 tests in 0.050s

OK
Running tests for stack:2.3 service:SPARK
test_configure_default (test_spark_thrift_server.TestSparkThriftServer) ... ok
test_pre_rolling_restart_23 (test_spark_thrift_server.TestSparkThriftServer) ... 2015-09-24 17:10:14,111 - After hdp-select spark-thriftserver, reloaded module status_params
2015-09-24 17:10:14,113 - After hdp-select spark-thriftserver, reloaded module params
ok
test_start_default (test_spark_thrift_server.TestSparkThriftServer) ... ok
test_stop_default (test_spark_thrift_server.TestSparkThriftServer) ... ok

----------------------------------------------------------------------
Ran 4 tests in 0.096s

OK
Running tests for stack:2.3 service:STORM
test_delete_zookeeper_data (test_storm_upgrade.TestStormUpgrade) ... 2015-09-24 17:10:14,285 - Clearing Storm data from ZooKeeper
ok
test_delete_zookeeper_data_jaas (test_storm_upgrade.TestStormUpgrade) ... ok
test_service_check (test_service_check.TestStormServiceCheck) ... 2015-09-24 17:10:14,290 - Clearing Storm data from ZooKeeper
ok

----------------------------------------------------------------------
Ran 3 tests in 0.031s

OK
Running tests for stack:2.1 service:HIVE
test_configure_default (test_hive_metastore.TestHiveMetastore) ... 2015-09-24 17:10:14,470 - Skipping get_hdp_version since hdp-select is not yet available
ok
test_configure_secured (test_hive_metastore.TestHiveMetastore) ... 2015-09-24 17:10:14,518 - Skipping get_hdp_version since hdp-select is not yet available
ok
test_pre_rolling_restart (test_hive_metastore.TestHiveMetastore) ... 2015-09-24 17:10:14,534 - Executing Metastore Rolling Upgrade pre-restart
2015-09-24 17:10:14,536 - Skipping get_hdp_version since hdp-select is not yet available
2015-09-24 17:10:14,541 - After hdp-select hive-metastore, reloaded module status_params
2015-09-24 17:10:14,541 - Skipping get_hdp_version since hdp-select is not yet available
ok
test_pre_rolling_restart_23 (test_hive_metastore.TestHiveMetastore) ... 2015-09-24 17:10:14,545 - After hdp-select hive-metastore, reloaded module params_linux
2015-09-24 17:10:14,546 - After hdp-select hive-metastore, reloaded module params
2015-09-24 17:10:14,550 - Executing Metastore Rolling Upgrade pre-restart
2015-09-24 17:10:14,552 - Skipping get_hdp_version since hdp-select is not yet available
2015-09-24 17:10:14,557 - After hdp-select hive-metastore, reloaded module status_params
2015-09-24 17:10:14,558 - Skipping get_hdp_version since hdp-select is not yet available
ok
test_security_status (test_hive_metastore.TestHiveMetastore) ... 2015-09-24 17:10:14,561 - After hdp-select hive-metastore, reloaded module params_linux
2015-09-24 17:10:14,561 - After hdp-select hive-metastore, reloaded module params
ok
test_start_default (test_hive_metastore.TestHiveMetastore) ... 2015-09-24 17:10:14,590 - Skipping get_hdp_version since hdp-select is not yet available
ok
test_start_default_umask_027 (test_hive_metastore.TestHiveMetastore) ... 2015-09-24 17:10:14,611 - Skipping get_hdp_version since hdp-select is not yet available
ok
test_start_secured (test_hive_metastore.TestHiveMetastore) ... 2015-09-24 17:10:14,631 - Skipping get_hdp_version since hdp-select is not yet available
ok
test_stop_default (test_hive_metastore.TestHiveMetastore) ... 2015-09-24 17:10:14,652 - Skipping get_hdp_version since hdp-select is not yet available
ok
test_stop_secured (test_hive_metastore.TestHiveMetastore) ... 2015-09-24 17:10:14,661 - Skipping get_hdp_version since hdp-select is not yet available
ok
test_upgrade_metastore_schema (test_hive_metastore.TestHiveMetastore) ... 2015-09-24 17:10:14,670 - Executing Metastore Rolling Upgrade pre-restart
2015-09-24 17:10:14,676 - Upgrading Hive Metastore
2015-09-24 17:10:14,678 - After hdp-select hive-metastore, reloaded module status_params
2015-09-24 17:10:14,682 - After hdp-select hive-metastore, reloaded module params_linux
2015-09-24 17:10:14,683 - After hdp-select hive-metastore, reloaded module params
ok
test_upgrade_sqla_metastore_schema_with_jdbc_download (test_hive_metastore.TestHiveMetastore) ... 2015-09-24 17:10:14,688 - Executing Metastore Rolling Upgrade pre-restart
2015-09-24 17:10:14,694 - Upgrading Hive Metastore
2015-09-24 17:10:14,697 - After hdp-select hive-metastore, reloaded module status_params
2015-09-24 17:10:14,701 - After hdp-select hive-metastore, reloaded module params_linux
2015-09-24 17:10:14,702 - After hdp-select hive-metastore, reloaded module params
ok

----------------------------------------------------------------------
Ran 12 tests in 0.278s

OK
Running tests for stack:2.1 service:common
test_createComponentLayoutRecommendations_mastersIn10nodes (test_stack_advisor.TestHDP21StackAdvisor) ... ok
test_recommendHDFSConfigurations (test_stack_advisor.TestHDP21StackAdvisor) ... ok
test_recommendHbaseConfigurations (test_stack_advisor.TestHDP21StackAdvisor) ... ok
test_recommendHiveConfigurations_containersRamIsLess (test_stack_advisor.TestHDP21StackAdvisor) ... ok
test_recommendHiveConfigurations_mapMemoryLessThan2048 (test_stack_advisor.TestHDP21StackAdvisor) ... ok
test_recommendHiveConfigurations_mapMemoryMoreThan2048 (test_stack_advisor.TestHDP21StackAdvisor) ... ok
test_recommendOozieConfigurations_noFalconServer (test_stack_advisor.TestHDP21StackAdvisor) ... ok
test_recommendOozieConfigurations_withFalconServer (test_stack_advisor.TestHDP21StackAdvisor) ... ok
test_validateHDFSConfigurationsEnv (test_stack_advisor.TestHDP21StackAdvisor) ... ok
test_validateHiveConfigurations (test_stack_advisor.TestHDP21StackAdvisor) ... ok

----------------------------------------------------------------------
Ran 10 tests in 0.944s

OK
Running tests for stack:2.1 service:TEZ
test_configure_default (test_tez_client.TestTezClient) ... ok
test_pre_rolling_restart_23 (test_tez_client.TestTezClient) ... ok
test_upgrade (test_tez_client.TestTezClient) ... 2015-09-24 17:10:15,922 - After hdp-select hadoop-client, reloaded module params_linux
2015-09-24 17:10:15,923 - After hdp-select hadoop-client, reloaded module params
ok
test_upgrade_23 (test_tez_client.TestTezClient) ... 2015-09-24 17:10:15,929 - After hdp-select hadoop-client, reloaded module params_linux
2015-09-24 17:10:15,930 - After hdp-select hadoop-client, reloaded module params
2015-09-24 17:10:15,939 - After hdp-select hadoop-client, reloaded module params_linux
2015-09-24 17:10:15,939 - After hdp-select hadoop-client, reloaded module params
ok
test_service_check (test_service_check.TestTezServiceCheck) ... ok

----------------------------------------------------------------------
Ran 5 tests in 0.078s

OK
Running tests for stack:2.1 service:YARN
test_configure_default (test_apptimelineserver.TestAppTimelineServer) ... 2015-09-24 17:10:16,097 - Failed to get extracted version with hdp-select
ok
test_pre_rolling_restart_23 (test_apptimelineserver.TestAppTimelineServer) ... 2015-09-24 17:10:16,129 - Executing Rolling Upgrade pre-restart
2015-09-24 17:10:16,135 - After hdp-select hadoop-yarn-timelineserver, reloaded module status_params
2015-09-24 17:10:16,139 - After hdp-select hadoop-yarn-timelineserver, reloaded module params_linux
2015-09-24 17:10:16,139 - After hdp-select hadoop-yarn-timelineserver, reloaded module params
ok
test_security_status (test_apptimelineserver.TestAppTimelineServer) ... ok
test_start_default (test_apptimelineserver.TestAppTimelineServer) ... 2015-09-24 17:10:16,168 - Failed to get extracted version with hdp-select
ok
test_status (test_apptimelineserver.TestAppTimelineServer) ... ok
test_stop_default (test_apptimelineserver.TestAppTimelineServer) ... 2015-09-24 17:10:16,206 - Failed to get extracted version with hdp-select
ok

----------------------------------------------------------------------
Ran 6 tests in 0.143s

OK
Running tests for stack:2.1 service:FALCON
test_configure_default (test_falcon_client.TestFalconClient) ... ok
test_pre_rolling_restart (test_falcon_client.TestFalconClient) ... 2015-09-24 17:10:16,378 - Executing Falcon Client Rolling Upgrade pre-restart
2015-09-24 17:10:16,379 - After hdp-select falcon-client, reloaded module status_params
2015-09-24 17:10:16,380 - After hdp-select falcon-client, reloaded module params_linux
2015-09-24 17:10:16,381 - After hdp-select falcon-client, reloaded module params
ok
test_pre_rolling_restart_23 (test_falcon_client.TestFalconClient) ... 2015-09-24 17:10:16,387 - Executing Falcon Client Rolling Upgrade pre-restart
2015-09-24 17:10:16,388 - After hdp-select falcon-client, reloaded module status_params
2015-09-24 17:10:16,389 - After hdp-select falcon-client, reloaded module params_linux
2015-09-24 17:10:16,390 - After hdp-select falcon-client, reloaded module params
ok
test_security_status (test_falcon_client.TestFalconClient) ... ok
test_configure_default (test_falcon_server.TestFalconServer) ... ok
test_pre_rolling_restart (test_falcon_server.TestFalconServer) ... 2015-09-24 17:10:16,418 - Executing Falcon Server Rolling Upgrade pre-restart
2015-09-24 17:10:16,420 - After hdp-select falcon-server, reloaded module status_params
2015-09-24 17:10:16,421 - After hdp-select falcon-server, reloaded module params_linux
2015-09-24 17:10:16,422 - After hdp-select falcon-server, reloaded module params
2015-09-24 17:10:16,422 - Restoring Falcon data and configuration directories after upgrade...

    self.assertResourceCalled('Execute', ('tar',
     '-xvf',
     '/tmp/falcon-upgrade-backup/falcon-conf-backup.tar',
     '-C',
     '/usr/hdp/current/falcon-server/conf/'),
        sudo = True,
    )
    self.assertResourceCalled('Execute', ('tar',
     '-xvf',
     '/tmp/falcon-upgrade-backup/falcon-local-backup.tar',
     '-C',
     u'/hadoop/falcon/'),
        sudo = True,
    )
    self.assertResourceCalled('Directory', '/tmp/falcon-upgrade-backup',
        action = ['delete'],
    )
    self.assertNoMoreResources()
ok
test_pre_rolling_restart_23 (test_falcon_server.TestFalconServer) ... 2015-09-24 17:10:16,429 - Executing Falcon Server Rolling Upgrade pre-restart
2015-09-24 17:10:16,430 - After hdp-select falcon-server, reloaded module status_params
2015-09-24 17:10:16,432 - After hdp-select falcon-server, reloaded module params_linux
2015-09-24 17:10:16,432 - After hdp-select falcon-server, reloaded module params
2015-09-24 17:10:16,432 - Restoring Falcon data and configuration directories after upgrade...
ok
test_security_status (test_falcon_server.TestFalconServer) ... ok
test_start_default (test_falcon_server.TestFalconServer) ... ok
test_stop_default (test_falcon_server.TestFalconServer) ... ok
test_upgrade (test_falcon_server.TestFalconServer) ... 2015-09-24 17:10:16,478 - Backing up Falcon data and configuration directories before upgrade...
2015-09-24 17:10:16,478 - Compressing /usr/hdp/current/falcon-server/conf to /tmp/falcon-upgrade-backup/falcon-conf-backup.tar
2015-09-24 17:10:16,478 - Compressing /hadoop/falcon to /tmp/falcon-upgrade-backup/falcon-local-backup.tar
2015-09-24 17:10:16,478 - Executing Falcon Server Rolling Upgrade pre-restart
2015-09-24 17:10:16,479 - After hdp-select falcon-server, reloaded module status_params
2015-09-24 17:10:16,481 - After hdp-select falcon-server, reloaded module params_linux
2015-09-24 17:10:16,481 - After hdp-select falcon-server, reloaded module params
2015-09-24 17:10:16,481 - Restoring Falcon data and configuration directories after upgrade...
ok
test_service_check (test_service_check.TestFalconServiceCheck) ... ok
test_service_check_secured (test_service_check.TestFalconServiceCheck) ... ok

----------------------------------------------------------------------
Ran 13 tests in 0.151s

OK
Running tests for stack:2.1 service:STORM
test_configure_default (test_storm_drpc_server.TestStormDrpcServer) ... ok
test_configure_secured (test_storm_drpc_server.TestStormDrpcServer) ... ok
test_pre_rolling_restart (test_storm_drpc_server.TestStormDrpcServer) ... 2015-09-24 17:10:16,892 - After hdp-select storm-client, reloaded module status_params
2015-09-24 17:10:16,894 - After hdp-select storm-client, reloaded module params_linux
2015-09-24 17:10:16,894 - After hdp-select storm-client, reloaded module params
ok
test_pre_rolling_restart_23 (test_storm_drpc_server.TestStormDrpcServer) ... 2015-09-24 17:10:16,900 - After hdp-select storm-client, reloaded module status_params
ok
test_security_status (test_storm_drpc_server.TestStormDrpcServer) ... 2015-09-24 17:10:16,902 - After hdp-select storm-client, reloaded module params_linux
2015-09-24 17:10:16,902 - After hdp-select storm-client, reloaded module params
ok
test_start_default (test_storm_drpc_server.TestStormDrpcServer) ... ok
test_start_secured (test_storm_drpc_server.TestStormDrpcServer) ... ok
test_stop_default (test_storm_drpc_server.TestStormDrpcServer) ... ok
test_stop_secured (test_storm_drpc_server.TestStormDrpcServer) ... ok
test_configure_default (test_storm_supervisor_prod.TestStormSupervisor) ... ok
test_pre_rolling_restart (test_storm_supervisor_prod.TestStormSupervisor) ... 2015-09-24 17:10:17,332 - After hdp-select storm-client, reloaded module status_params
2015-09-24 17:10:17,334 - After hdp-select storm-client, reloaded module params_linux
2015-09-24 17:10:17,334 - After hdp-select storm-client, reloaded module params
2015-09-24 17:10:17,335 - After hdp-select storm-supervisor, reloaded module status_params
ok
test_pre_rolling_restart_23 (test_storm_supervisor_prod.TestStormSupervisor) ... 2015-09-24 17:10:17,337 - After hdp-select storm-supervisor, reloaded module params_linux
2015-09-24 17:10:17,337 - After hdp-select storm-supervisor, reloaded module params
2015-09-24 17:10:17,344 - After hdp-select storm-client, reloaded module status_params
2015-09-24 17:10:17,346 - After hdp-select storm-client, reloaded module params_linux
2015-09-24 17:10:17,346 - After hdp-select storm-client, reloaded module params
2015-09-24 17:10:17,347 - After hdp-select storm-supervisor, reloaded module status_params
2015-09-24 17:10:17,348 - After hdp-select storm-supervisor, reloaded module params_linux
2015-09-24 17:10:17,349 - After hdp-select storm-supervisor, reloaded module params
ok
test_start_default (test_storm_supervisor_prod.TestStormSupervisor) ... ok
test_start_secured (test_storm_supervisor_prod.TestStormSupervisor) ... ok
test_stop_default (test_storm_supervisor_prod.TestStormSupervisor) ... ok
test_stop_secured (test_storm_supervisor_prod.TestStormSupervisor) ... ok
test_configure_default (test_storm_nimbus.TestStormNimbus) ... ok
test_configure_secured (test_storm_nimbus.TestStormNimbus) ... ok
test_pre_rolling_restart (test_storm_nimbus.TestStormNimbus) ... 2015-09-24 17:10:17,925 - After hdp-select storm-client, reloaded module status_params
2015-09-24 17:10:17,927 - After hdp-select storm-client, reloaded module params_linux
2015-09-24 17:10:17,927 - After hdp-select storm-client, reloaded module params
2015-09-24 17:10:17,928 - After hdp-select storm-nimbus, reloaded module status_params
ok
test_pre_rolling_restart_23 (test_storm_nimbus.TestStormNimbus) ... 2015-09-24 17:10:17,929 - After hdp-select storm-nimbus, reloaded module params_linux
2015-09-24 17:10:17,930 - After hdp-select storm-nimbus, reloaded module params
2015-09-24 17:10:17,937 - After hdp-select storm-client, reloaded module status_params
2015-09-24 17:10:17,938 - After hdp-select storm-client, reloaded module params_linux
2015-09-24 17:10:17,939 - After hdp-select storm-client, reloaded module params
2015-09-24 17:10:17,940 - After hdp-select storm-nimbus, reloaded module status_params
2015-09-24 17:10:17,941 - After hdp-select storm-nimbus, reloaded module params_linux
2015-09-24 17:10:17,941 - After hdp-select storm-nimbus, reloaded module params
ok
test_security_status (test_storm_nimbus.TestStormNimbus) ... ok
test_start_default (test_storm_nimbus.TestStormNimbus) ... 2015-09-24 17:10:17,975 - Ranger admin not installed
ok
test_start_secured (test_storm_nimbus.TestStormNimbus) ... 2015-09-24 17:10:18,114 - Ranger admin not installed
ok
test_stop_default (test_storm_nimbus.TestStormNimbus) ... ok
test_stop_secured (test_storm_nimbus.TestStormNimbus) ... ok
test_configure_default (test_storm_ui_server.TestStormUiServer) ... ok
test_configure_secured (test_storm_ui_server.TestStormUiServer) ... ok
test_pre_rolling_restart (test_storm_ui_server.TestStormUiServer) ... 2015-09-24 17:10:18,522 - After hdp-select storm-client, reloaded module status_params
2015-09-24 17:10:18,524 - After hdp-select storm-client, reloaded module params_linux
2015-09-24 17:10:18,524 - After hdp-select storm-client, reloaded module params
ok
test_pre_rolling_restart_23 (test_storm_ui_server.TestStormUiServer) ... 2015-09-24 17:10:18,531 - After hdp-select storm-client, reloaded module status_params
2015-09-24 17:10:18,532 - After hdp-select storm-client, reloaded module params_linux
2015-09-24 17:10:18,532 - After hdp-select storm-client, reloaded module params
ok
test_security_status (test_storm_ui_server.TestStormUiServer) ... ok
test_start_default (test_storm_ui_server.TestStormUiServer) ... 2015-09-24 17:10:18,574 - Ranger admin not installed
ok
test_start_secured (test_storm_ui_server.TestStormUiServer) ... 2015-09-24 17:10:18,711 - Ranger admin not installed
ok
test_stop_default (test_storm_ui_server.TestStormUiServer) ... ok
test_stop_secured (test_storm_ui_server.TestStormUiServer) ... ok
test_configure_default (test_storm_supervisor.TestStormSupervisor) ... ok
test_configure_secured (test_storm_supervisor.TestStormSupervisor) ... ok
test_pre_rolling_restart (test_storm_supervisor.TestStormSupervisor) ... 2015-09-24 17:10:19,104 - After hdp-select storm-client, reloaded module status_params
2015-09-24 17:10:19,105 - After hdp-select storm-client, reloaded module params_linux
2015-09-24 17:10:19,105 - After hdp-select storm-client, reloaded module params
2015-09-24 17:10:19,106 - After hdp-select storm-supervisor, reloaded module status_params
ok
test_pre_rolling_restart_23 (test_storm_supervisor.TestStormSupervisor) ... 2015-09-24 17:10:19,108 - After hdp-select storm-supervisor, reloaded module params_linux
2015-09-24 17:10:19,108 - After hdp-select storm-supervisor, reloaded module params
2015-09-24 17:10:19,114 - After hdp-select storm-client, reloaded module status_params
2015-09-24 17:10:19,116 - After hdp-select storm-client, reloaded module params_linux
2015-09-24 17:10:19,116 - After hdp-select storm-client, reloaded module params
2015-09-24 17:10:19,117 - After hdp-select storm-supervisor, reloaded module status_params
2015-09-24 17:10:19,118 - After hdp-select storm-supervisor, reloaded module params_linux
2015-09-24 17:10:19,119 - After hdp-select storm-supervisor, reloaded module params
ok
test_start_default (test_storm_supervisor.TestStormSupervisor) ... ok
test_start_secured (test_storm_supervisor.TestStormSupervisor) ... ok
test_stop_default (test_storm_supervisor.TestStormSupervisor) ... ok
test_stop_secured (test_storm_supervisor.TestStormSupervisor) ... ok
test_configure_default (test_storm_jaas_configuration.TestStormJaasConfiguration) ... ok
test_configure_secured (test_storm_jaas_configuration.TestStormJaasConfiguration) ... ok
test_start_default (test_storm_jaas_configuration.TestStormJaasConfiguration) ... 2015-09-24 17:10:19,670 - Ranger admin not installed
ok
test_start_secured (test_storm_jaas_configuration.TestStormJaasConfiguration) ... 2015-09-24 17:10:19,798 - Ranger admin not installed
ok
test_configure_default (test_storm_nimbus_prod.TestStormNimbus) ... ok
test_configure_secured (test_storm_nimbus_prod.TestStormNimbus) ... ok
test_pre_rolling_restart (test_storm_nimbus_prod.TestStormNimbus) ... 2015-09-24 17:10:20,195 - After hdp-select storm-client, reloaded module status_params
2015-09-24 17:10:20,196 - After hdp-select storm-client, reloaded module params_linux
2015-09-24 17:10:20,197 - After hdp-select storm-client, reloaded module params
2015-09-24 17:10:20,198 - After hdp-select storm-nimbus, reloaded module status_params
ok
test_pre_rolling_restart_23 (test_storm_nimbus_prod.TestStormNimbus) ... 2015-09-24 17:10:20,199 - After hdp-select storm-nimbus, reloaded module params_linux
2015-09-24 17:10:20,200 - After hdp-select storm-nimbus, reloaded module params
2015-09-24 17:10:20,207 - After hdp-select storm-client, reloaded module status_params
2015-09-24 17:10:20,208 - After hdp-select storm-client, reloaded module params_linux
2015-09-24 17:10:20,208 - After hdp-select storm-client, reloaded module params
2015-09-24 17:10:20,209 - After hdp-select storm-nimbus, reloaded module status_params
2015-09-24 17:10:20,210 - After hdp-select storm-nimbus, reloaded module params_linux
2015-09-24 17:10:20,211 - After hdp-select storm-nimbus, reloaded module params
ok
test_start_default (test_storm_nimbus_prod.TestStormNimbus) ... ok
test_start_secured (test_storm_nimbus_prod.TestStormNimbus) ... ok
test_stop_default (test_storm_nimbus_prod.TestStormNimbus) ... ok
test_stop_secured (test_storm_nimbus_prod.TestStormNimbus) ... ok
test_configure_default (test_storm_rest_api_service.TestStormRestApi) ... ok
test_configure_secured (test_storm_rest_api_service.TestStormRestApi) ... ok
test_pre_rolling_restart (test_storm_rest_api_service.TestStormRestApi) ... 2015-09-24 17:10:20,743 - After hdp-select storm-client, reloaded module status_params
2015-09-24 17:10:20,744 - After hdp-select storm-client, reloaded module params_linux
2015-09-24 17:10:20,745 - After hdp-select storm-client, reloaded module params
ok
test_pre_rolling_restart_23 (test_storm_rest_api_service.TestStormRestApi) ... 2015-09-24 17:10:20,751 - After hdp-select storm-client, reloaded module status_params
2015-09-24 17:10:20,752 - After hdp-select storm-client, reloaded module params_linux
2015-09-24 17:10:20,753 - After hdp-select storm-client, reloaded module params
ok
test_start_default (test_storm_rest_api_service.TestStormRestApi) ... ok
test_start_secured (test_storm_rest_api_service.TestStormRestApi) ... ok
test_stop_default (test_storm_rest_api_service.TestStormRestApi) ... ok
test_stop_secured (test_storm_rest_api_service.TestStormRestApi) ... ok
test_service_check (test_service_check.TestStormServiceCheck) ... ok

----------------------------------------------------------------------
Ran 63 tests in 4.429s

OK
Running tests for stack:2.2 service:ACCUMULO
test_pre_rolling_restart (test_accumulo_client.TestAccumuloClient) ... 2015-09-24 17:10:21,197 - Executing Accumulo Client Rolling Upgrade pre-restart
2015-09-24 17:10:21,198 - After hdp-select accumulo-client, reloaded module status_params
2015-09-24 17:10:21,200 - After hdp-select accumulo-client, reloaded module params
ok
test_pre_rolling_restart_23 (test_accumulo_client.TestAccumuloClient) ... 2015-09-24 17:10:21,206 - Executing Accumulo Client Rolling Upgrade pre-restart
2015-09-24 17:10:21,207 - After hdp-select accumulo-client, reloaded module status_params
ok

----------------------------------------------------------------------
Ran 2 tests in 0.033s

OK
2015-09-24 17:10:21,209 - After hdp-select accumulo-client, reloaded module params
Running tests for stack:2.2 service:RANGER
test_configure_default (test_ranger_admin.TestRangerAdmin) ... 2015-09-24 17:10:21,374 - Checking DB connection
ok
test_configure_secured (test_ranger_admin.TestRangerAdmin) ... 2015-09-24 17:10:21,379 - Checking DB connection
ok
test_pre_rolling_upgrade_23 (test_ranger_admin.TestRangerAdmin) ... 2015-09-24 17:10:21,397 - After hdp-select ranger-admin, reloaded module params
ok
test_start_default (test_ranger_admin.TestRangerAdmin) ... 2015-09-24 17:10:21,402 - Checking DB connection
ok
test_start_secured (test_ranger_admin.TestRangerAdmin) ... 2015-09-24 17:10:21,409 - Checking DB connection
ok
test_stop_default (test_ranger_admin.TestRangerAdmin) ... ok
test_stop_secured (test_ranger_admin.TestRangerAdmin) ... ok
test_configure_default (test_ranger_usersync.TestRangerUsersync) ... ok
test_configure_secured (test_ranger_usersync.TestRangerUsersync) ... ok
test_start_default (test_ranger_usersync.TestRangerUsersync) ... ok
test_start_secured (test_ranger_usersync.TestRangerUsersync) ... ok
test_stop_default (test_ranger_usersync.TestRangerUsersync) ... ok
test_stop_secured (test_ranger_usersync.TestRangerUsersync) ... ok
test_upgrade (test_ranger_usersync.TestRangerUsersync) ... ok
test_upgrade_23 (test_ranger_usersync.TestRangerUsersync) ... 2015-09-24 17:10:21,454 - After hdp-select ranger-usersync, reloaded module params
2015-09-24 17:10:21,463 - After hdp-select ranger-usersync, reloaded module params
ok

----------------------------------------------------------------------
Ran 15 tests in 0.122s

OK
Running tests for stack:2.2 service:KAFKA
test_configure_custom_paths_default (test_kafka_broker.TestKafkaBroker) ... ok
test_configure_default (test_kafka_broker.TestKafkaBroker) ... ok
test_pre_rolling_restart (test_kafka_broker.TestKafkaBroker) ... 2015-09-24 17:10:21,637 - After hdp-select kafka-broker, reloaded module status_params
2015-09-24 17:10:21,638 - After hdp-select kafka-broker, reloaded module params
ok
test_pre_rolling_restart_23 (test_kafka_broker.TestKafkaBroker) ... 2015-09-24 17:10:21,643 - After hdp-select kafka-broker, reloaded module status_params
2015-09-24 17:10:21,645 - After hdp-select kafka-broker, reloaded module params
ok

----------------------------------------------------------------------
Ran 4 tests in 0.032s

OK
Running tests for stack:2.2 service:common
test_recommendAmsConfigurations (test_stack_advisor.TestHDP22StackAdvisor) ... max_inmemory_regions: -3.8
Processing file: /home/lestat/git/ambari/ambari-server/src/main/resources/stacks/HDP/2.2/services/../../../../common-services/AMBARI_METRICS/0.1.0/package/files/service-metrics/HOST.txt
Processing file: /home/lestat/git/ambari/ambari-server/src/main/resources/stacks/HDP/2.2/services/../../../../common-services/AMBARI_METRICS/0.1.0/package/files/service-metrics/AMBARI_METRICS.txt
metrics length: 86
max_inmemory_regions: -1.7
Processing file: /home/lestat/git/ambari/ambari-server/src/main/resources/stacks/HDP/2.2/services/../../../../common-services/AMBARI_METRICS/0.1.0/package/files/service-metrics/HOST.txt
Processing file: /home/lestat/git/ambari/ambari-server/src/main/resources/stacks/HDP/2.2/services/../../../../common-services/AMBARI_METRICS/0.1.0/package/files/service-metrics/AMBARI_METRICS.txt
metrics length: 86
max_inmemory_regions: 0.7
Processing file: /home/lestat/git/ambari/ambari-server/src/main/resources/stacks/HDP/2.2/services/../../../../common-services/AMBARI_METRICS/0.1.0/package/files/service-metrics/HOST.txt
Processing file: /home/lestat/git/ambari/ambari-server/src/main/resources/stacks/HDP/2.2/services/../../../../common-services/AMBARI_METRICS/0.1.0/package/files/service-metrics/AMBARI_METRICS.txt
Processing file: /home/lestat/git/ambari/ambari-server/src/main/resources/stacks/HDP/2.2/services/../../../../common-services/AMBARI_METRICS/0.1.0/package/files/service-metrics/HDFS.txt
Processing file: /home/lestat/git/ambari/ambari-server/src/main/resources/stacks/HDP/2.2/services/../../../../common-services/AMBARI_METRICS/0.1.0/package/files/service-metrics/YARN.txt
metrics length: 175
max_inmemory_regions: -3.8
Processing file: /home/lestat/git/ambari/ambari-server/src/main/resources/stacks/HDP/2.2/services/../../../../common-services/AMBARI_METRICS/0.1.0/package/files/service-metrics/HOST.txt
Processing file: /home/lestat/git/ambari/ambari-server/src/main/resources/stacks/HDP/2.2/services/../../../../common-services/AMBARI_METRICS/0.1.0/package/files/service-metrics/AMBARI_METRICS.txt
Processing file: /home/lestat/git/ambari/ambari-server/src/main/resources/stacks/HDP/2.2/services/../../../../common-services/AMBARI_METRICS/0.1.0/package/files/service-metrics/HDFS.txt
Processing file: /home/lestat/git/ambari/ambari-server/src/main/resources/stacks/HDP/2.2/services/../../../../common-services/AMBARI_METRICS/0.1.0/package/files/service-metrics/YARN.txt
metrics length: 175
max_inmemory_regions: 4.6
Processing file: /home/lestat/git/ambari/ambari-server/src/main/resources/stacks/HDP/2.2/services/../../../../common-services/AMBARI_METRICS/0.1.0/package/files/service-metrics/HOST.txt
Processing file: /home/lestat/git/ambari/ambari-server/src/main/resources/stacks/HDP/2.2/services/../../../../common-services/AMBARI_METRICS/0.1.0/package/files/service-metrics/AMBARI_METRICS.txt
Processing file: /home/lestat/git/ambari/ambari-server/src/main/resources/stacks/HDP/2.2/services/../../../../common-services/AMBARI_METRICS/0.1.0/package/files/service-metrics/HDFS.txt
Processing file: /home/lestat/git/ambari/ambari-server/src/main/resources/stacks/HDP/2.2/services/../../../../common-services/AMBARI_METRICS/0.1.0/package/files/service-metrics/YARN.txt
metrics length: 175
max_inmemory_regions: 14.2
Processing file: /home/lestat/git/ambari/ambari-server/src/main/resources/stacks/HDP/2.2/services/../../../../common-services/AMBARI_METRICS/0.1.0/package/files/service-metrics/HOST.txt
Processing file: /home/lestat/git/ambari/ambari-server/src/main/resources/stacks/HDP/2.2/services/../../../../common-services/AMBARI_METRICS/0.1.0/package/files/service-metrics/AMBARI_METRICS.txt
Processing file: /home/lestat/git/ambari/ambari-server/src/main/resources/stacks/HDP/2.2/services/../../../../common-services/AMBARI_METRICS/0.1.0/package/files/service-metrics/HDFS.txt
Processing file: /home/lestat/git/ambari/ambari-server/src/main/resources/stacks/HDP/2.2/services/../../../../common-services/AMBARI_METRICS/0.1.0/package/files/service-metrics/YARN.txt
metrics length: 175
max_inmemory_regions: -3.8
Processing file: /home/lestat/git/ambari/ambari-server/src/main/resources/stacks/HDP/2.2/services/../../../../common-services/AMBARI_METRICS/0.1.0/package/files/service-metrics/HOST.txt
Processing file: /home/lestat/git/ambari/ambari-server/src/main/resources/stacks/HDP/2.2/services/../../../../common-services/AMBARI_METRICS/0.1.0/package/files/service-metrics/AMBARI_METRICS.txt
Processing file: /home/lestat/git/ambari/ambari-server/src/main/resources/stacks/HDP/2.2/services/../../../../common-services/AMBARI_METRICS/0.1.0/package/files/service-metrics/HDFS.txt
Processing file: /home/lestat/git/ambari/ambari-server/src/main/resources/stacks/HDP/2.2/services/../../../../common-services/AMBARI_METRICS/0.1.0/package/files/service-metrics/YARN.txt
metrics length: 175
max_inmemory_regions: 14.2
Processing file: /home/lestat/git/ambari/ambari-server/src/main/resources/stacks/HDP/2.2/services/../../../../common-services/AMBARI_METRICS/0.1.0/package/files/service-metrics/HOST.txt
Processing file: /home/lestat/git/ambari/ambari-server/src/main/resources/stacks/HDP/2.2/services/../../../../common-services/AMBARI_METRICS/0.1.0/package/files/service-metrics/AMBARI_METRICS.txt
Processing file: /home/lestat/git/ambari/ambari-server/src/main/resources/stacks/HDP/2.2/services/../../../../common-services/AMBARI_METRICS/0.1.0/package/files/service-metrics/HDFS.txt
Processing file: /home/lestat/git/ambari/ambari-server/src/main/resources/stacks/HDP/2.2/services/../../../../common-services/AMBARI_METRICS/0.1.0/package/files/service-metrics/YARN.txt
metrics length: 175
ok
test_recommendHDFSConfigurations (test_stack_advisor.TestHDP22StackAdvisor) ... ok
test_recommendHbaseConfigurations (test_stack_advisor.TestHDP22StackAdvisor) ... ok
test_recommendHbaseSiteConfigurations (test_stack_advisor.TestHDP22StackAdvisor) ... ok
test_recommendHiveConfigurationAttributes (test_stack_advisor.TestHDP22StackAdvisor) ... ok
test_recommendMapredConfigurationAttributes (test_stack_advisor.TestHDP22StackAdvisor) ... ok
test_recommendMapredConfigurationAttributesWithPigService (test_stack_advisor.TestHDP22StackAdvisor) ... ok
test_recommendTezConfigurations (test_stack_advisor.TestHDP22StackAdvisor) ... ok
test_recommendTezConfigurations_amMemoryMoreThan3072 (test_stack_advisor.TestHDP22StackAdvisor) ... ok
test_recommendTezConfigurations_mapMemoryLessThan768 (test_stack_advisor.TestHDP22StackAdvisor) ... ok
test_recommendYARNConfigurationAttributes (test_stack_advisor.TestHDP22StackAdvisor) ... ok
test_recommendYARNConfigurations (test_stack_advisor.TestHDP22StackAdvisor) ... ok
test_recommendYarnCGroupConfigurations (test_stack_advisor.TestHDP22StackAdvisor) ... ok
test_validateHDFSConfigurations (test_stack_advisor.TestHDP22StackAdvisor) ... ok
test_validateHDFSConfigurationsEnv (test_stack_advisor.TestHDP22StackAdvisor) ... ok
test_validateHiveConfigurations (test_stack_advisor.TestHDP22StackAdvisor) ... ok
test_validateHiveConfigurationsEnv (test_stack_advisor.TestHDP22StackAdvisor) ... ok
test_validateHiveServer2Configurations (test_stack_advisor.TestHDP22StackAdvisor) ... ok
test_validateMR2XmxOptsEnv (test_stack_advisor.TestHDP22StackAdvisor) ... ok
test_validateTezConfigurationsEnv (test_stack_advisor.TestHDP22StackAdvisor) ... ok
test_validateYARNConfigurationsEnv (test_stack_advisor.TestHDP22StackAdvisor) ... ok
test_performance (test_stack_advisor_perf.TestHDP22StackAdvisor) ... time taken by old stack_advisor.py = 0.0513031482697
time taken by current stack_advisor.py = 0.00287795066833
time taken by old stack_advisor.py = 0.0658318996429
time taken by current stack_advisor.py = 0.00390100479126
ok

----------------------------------------------------------------------
Ran 22 tests in 0.205s

OK
Running tests for stack:2.2 service:SLIDER
test_configure_default (test_slider_client.TestSliderClient) ... ok
test_pre_rolling_restart (test_slider_client.TestSliderClient) ... 2015-09-24 17:10:22,045 - After hdp-select slider-client, reloaded module params_linux
2015-09-24 17:10:22,046 - After hdp-select slider-client, reloaded module params
2015-09-24 17:10:22,046 - After hdp-select hadoop-client, reloaded module params_linux
2015-09-24 17:10:22,047 - After hdp-select hadoop-client, reloaded module params
ok
test_pre_rolling_restart_23 (test_slider_client.TestSliderClient) ... 2015-09-24 17:10:22,052 - After hdp-select slider-client, reloaded module params_linux
2015-09-24 17:10:22,052 - After hdp-select slider-client, reloaded module params
2015-09-24 17:10:22,053 - After hdp-select hadoop-client, reloaded module params_linux
2015-09-24 17:10:22,054 - After hdp-select hadoop-client, reloaded module params
ok
test_svc_check_default (test_slider_client.TestSliderClient) ... ok
test_svc_check_secured (test_slider_client.TestSliderClient) ... ok

----------------------------------------------------------------------
Ran 5 tests in 0.041s

OK
Running tests for stack:2.2 service:KERBEROS
test_configure_cross_realm_trust (test_kerberos_client.TestKerberosClient) ... ok
test_configure_managed_kdc (test_kerberos_client.TestKerberosClient) ... ok
test_configure_unmanaged_ad (test_kerberos_client.TestKerberosClient) ... ok
test_configure_unmanaged_kdc (test_kerberos_client.TestKerberosClient) ... ok
test_configure_unmanaged_kdc_and_krb5conf (test_kerberos_client.TestKerberosClient) ... ok
test_delete_keytab (test_kerberos_client.TestKerberosClient) ... ok
test_get_property (test_kerberos_client.TestKerberosClient) ... ok
test_set_keytab (test_kerberos_client.TestKerberosClient) ... ok
test_configure_cross_realm_trust (test_kerberos_server.TestKerberosServer) ... ok
test_configure_managed_kdc (test_kerberos_server.TestKerberosServer) ... ok
test_configure_unmanaged_ad (test_kerberos_server.TestKerberosServer) ... ok
test_configure_unmanaged_kdc (test_kerberos_server.TestKerberosServer) ... ok

----------------------------------------------------------------------
Ran 12 tests in 0.146s

OK
Running tests for stack:2.2 service:SPARK
test_configure_default (test_job_history_server.TestJobHistoryServer) ... ok
test_configure_secured (test_job_history_server.TestJobHistoryServer) ... ok
test_pre_rolling_restart_23 (test_job_history_server.TestJobHistoryServer) ... 2015-09-24 17:10:22,520 - After hdp-select spark-historyserver, reloaded module status_params
2015-09-24 17:10:22,522 - After hdp-select spark-historyserver, reloaded module params
ok
test_start_default (test_job_history_server.TestJobHistoryServer) ... ok
test_start_secured (test_job_history_server.TestJobHistoryServer) ... ok
test_stop_default (test_job_history_server.TestJobHistoryServer) ... ok
test_stop_secured (test_job_history_server.TestJobHistoryServer) ... ok
test_configure_default (test_spark_client.TestSparkClient) ... ok
test_configure_secured (test_spark_client.TestSparkClient) ... ok
test_pre_rolling_restart_23 (test_spark_client.TestSparkClient) ... 2015-09-24 17:10:22,602 - After hdp-select spark-client, reloaded module status_params
2015-09-24 17:10:22,604 - After hdp-select spark-client, reloaded module params
ok
test_service_check_default (test_spark_service_check.TestServiceCheck) ... ok
test_service_check_secured (test_spark_service_check.TestServiceCheck) ... ok

----------------------------------------------------------------------
Ran 12 tests in 0.149s

OK
Running tests for stack:2.2 service:KNOX
test_configure_default (test_knox_gateway.TestKnoxGateway) ... 2015-09-24 17:10:22,733 - HDP version to use is 2.2.1.0
ok
test_pre_rolling_restart (test_knox_gateway.TestKnoxGateway) ... 2015-09-24 17:10:22,750 - HDP version to use is 2.2.1.0
2015-09-24 17:10:22,752 - Backing up directories. Initial conf folder: /usr/hdp/current/knox-server/conf
2015-09-24 17:10:22,752 - Backing up Knox data directory before upgrade...
2015-09-24 17:10:22,752 - Knox directories to backup:
{'/usr/hdp/current/knox-server/conf/': 'knox-conf-backup.tar', '/var/lib/knox/data': 'knox-data-backup.tar'}
2015-09-24 17:10:22,753 - Compressing /usr/hdp/current/knox-server/conf/ to /tmp/knox-upgrade-backup/knox-conf-backup.tar
2015-09-24 17:10:22,753 - Compressing /var/lib/knox/data to /tmp/knox-upgrade-backup/knox-data-backup.tar
2015-09-24 17:10:22,753 - After hdp-select knox-server, reloaded module status_params
2015-09-24 17:10:22,754 - HDP version to use is 2.2.1.0
2015-09-24 17:10:22,755 - After hdp-select knox-server, reloaded module params_linux
2015-09-24 17:10:22,756 - After hdp-select knox-server, reloaded module params
ok
test_pre_rolling_restart_from_hdp_2300_to_2320 (test_knox_gateway.TestKnoxGateway) ... 2015-09-24 17:10:22,761 - HDP version to use is 2.3.2.0
2015-09-24 17:10:22,761 - Detected HDP with stack version 2.3.2.0-5678, will use knox_data_dir = /usr/hdp/2.3.2.0-5678/knox/data
2015-09-24 17:10:22,763 - Backing up directories. Initial conf folder: /usr/hdp/current/knox-server/conf
2015-09-24 17:10:22,763 - Backing up Knox data directory before upgrade...
2015-09-24 17:10:22,763 - Knox directories to backup:
{'/usr/hdp/current/knox-server/conf/': 'knox-conf-backup.tar', '/var/lib/knox/data': 'knox-data-backup.tar'}
2015-09-24 17:10:22,763 - Compressing /usr/hdp/current/knox-server/conf/ to /tmp/knox-upgrade-backup/knox-conf-backup.tar
2015-09-24 17:10:22,764 - Compressing /var/lib/knox/data to /tmp/knox-upgrade-backup/knox-data-backup.tar
2015-09-24 17:10:22,765 - After hdp-select knox-server, reloaded module status_params
2015-09-24 17:10:22,765 - HDP version to use is 2.3.2.0
2015-09-24 17:10:22,765 - Detected HDP with stack version 2.3.2.0-5678, will use knox_data_dir = /usr/hdp/2.3.2.0-5678/knox/data
ok
test_pre_rolling_restart_from_hdp_2320 (test_knox_gateway.TestKnoxGateway) ... 2015-09-24 17:10:22,768 - After hdp-select knox-server, reloaded module params_linux
2015-09-24 17:10:22,768 - After hdp-select knox-server, reloaded module params
2015-09-24 17:10:22,768 - Copying knox-conf-backup.tar into /usr/hdp/current/knox-server/conf/knox-conf-backup.tar file.
2015-09-24 17:10:22,773 - HDP version to use is 2.3.2.0
2015-09-24 17:10:22,773 - Detected HDP with stack version 2.3.2.0-1001, will use knox_data_dir = /usr/hdp/2.3.2.0-1001/knox/data
2015-09-24 17:10:22,775 - Backing up directories. Initial conf folder: /usr/hdp/current/knox-server/conf
2015-09-24 17:10:22,775 - Backing up Knox data directory before upgrade...
2015-09-24 17:10:22,776 - Knox directories to backup:
{'/usr/hdp/current/knox-server/conf/': 'knox-conf-backup.tar', '/usr/hdp/2.3.2.0-1000/knox/data': 'knox-data-backup.tar'}
2015-09-24 17:10:22,776 - Compressing /usr/hdp/current/knox-server/conf/ to /tmp/knox-upgrade-backup/knox-conf-backup.tar
2015-09-24 17:10:22,776 - Compressing /usr/hdp/2.3.2.0-1000/knox/data to /tmp/knox-upgrade-backup/knox-data-backup.tar
2015-09-24 17:10:22,778 - After hdp-select knox-server, reloaded module status_params
2015-09-24 17:10:22,778 - HDP version to use is 2.3.2.0
2015-09-24 17:10:22,779 - Detected HDP with stack version 2.3.2.0-1001, will use knox_data_dir = /usr/hdp/2.3.2.0-1001/knox/data
2015-09-24 17:10:22,780 - After hdp-select knox-server, reloaded module params_linux
2015-09-24 17:10:22,780 - After hdp-select knox-server, reloaded module params
2015-09-24 17:10:22,780 - Copying knox-conf-backup.tar into /usr/hdp/current/knox-server/conf/knox-conf-backup.tar file.
ok
test_pre_rolling_restart_to_hdp_2300 (test_knox_gateway.TestKnoxGateway) ... 2015-09-24 17:10:22,785 - HDP version to use is 2.3.0.0
2015-09-24 17:10:22,787 - Backing up directories. Initial conf folder: /usr/hdp/current/knox-server/conf
2015-09-24 17:10:22,787 - Backing up Knox data directory before upgrade...
2015-09-24 17:10:22,787 - Knox directories to backup:
{'/usr/hdp/current/knox-server/conf/': 'knox-conf-backup.tar', '/var/lib/knox/data': 'knox-data-backup.tar'}
2015-09-24 17:10:22,787 - Compressing /usr/hdp/current/knox-server/conf/ to /tmp/knox-upgrade-backup/knox-conf-backup.tar
2015-09-24 17:10:22,787 - Compressing /var/lib/knox/data to /tmp/knox-upgrade-backup/knox-data-backup.tar
2015-09-24 17:10:22,788 - After hdp-select knox-server, reloaded module status_params
2015-09-24 17:10:22,789 - HDP version to use is 2.3.0.0
2015-09-24 17:10:22,790 - After hdp-select knox-server, reloaded module params_linux
2015-09-24 17:10:22,790 - After hdp-select knox-server, reloaded module params
2015-09-24 17:10:22,790 - Copying knox-conf-backup.tar into /usr/hdp/current/knox-server/conf/knox-conf-backup.tar file.
ok
test_security_status (test_knox_gateway.TestKnoxGateway) ... ok
test_start_default (test_knox_gateway.TestKnoxGateway) ... 2015-09-24 17:10:22,813 - HDP version to use is 2.2.1.0
2015-09-24 17:10:22,819 - Ranger admin not installed
ok

----------------------------------------------------------------------
Ran 7 tests in 0.104s

OK
Running tests for stack:2.2 service:PIG
test_service_check_secure (test_pig_service_check.TestPigServiceCheck) ... ok

----------------------------------------------------------------------
Ran 1 test in 0.031s

OK
Running tests for stack:2.0.6 service:FLUME
test_bad_struct_out (test_flume.TestFlumeHandler) ... ok
test_configure_default (test_flume.TestFlumeHandler) ... ok
test_configure_with_existing (test_flume.TestFlumeHandler) ... ok
test_flume_env_not_22 (test_flume.TestFlumeHandler) ... ok
test_flume_env_with_22 (test_flume.TestFlumeHandler) ... ok
test_pre_rolling_restart (test_flume.TestFlumeHandler) ... 2015-09-24 17:10:23,173 - Executing Flume Rolling Upgrade pre-restart
2015-09-24 17:10:23,174 - After hdp-select flume-server, reloaded module params_linux
2015-09-24 17:10:23,174 - After hdp-select flume-server, reloaded module params
2015-09-24 17:10:23,174 - Restoring Flume data and configuration after upgrade...
ok
test_start_default (test_flume.TestFlumeHandler) ... 2015-09-24 17:10:23,183 - Pid file /var/run/flume/a1.pid is empty or does not exist
ok
test_start_flume_only (test_flume.TestFlumeHandler) ... 2015-09-24 17:10:23,197 - Pid file /var/run/flume/a1.pid is empty or does not exist
ok
test_start_single (test_flume.TestFlumeHandler) ... 2015-09-24 17:10:23,210 - Pid file /var/run/flume/b1.pid is empty or does not exist
ok
test_status_default (test_flume.TestFlumeHandler) ... ok
test_status_no_agents (test_flume.TestFlumeHandler) ... ok
test_status_with_result (test_flume.TestFlumeHandler) ... 2015-09-24 17:10:23,233 - Error reading /etc/flume/conf/a1/ambari-meta.json: 
Traceback (most recent call last):
  File "/home/lestat/git/ambari/ambari-common/src/main/python/resource_management/libraries/functions/flume_agent_helper.py", line 111, in get_live_status
    with open(flume_agent_meta_file) as fp:
IOError: [Errno 2] No such file or directory: u'/etc/flume/conf/a1/ambari-meta.json'
ok
test_stop_default (test_flume.TestFlumeHandler) ... 2015-09-24 17:10:23,233 - Pid file /var/run/flume/a1.pid is empty or does not exist
2015-09-24 17:10:23,233 - Error reading /etc/flume/conf/a1/ambari-meta.json: 
Traceback (most recent call last):
  File "/home/lestat/git/ambari/ambari-common/src/main/python/resource_management/libraries/functions/flume_agent_helper.py", line 111, in get_live_status
    with open(flume_agent_meta_file) as fp:
IOError: [Errno 2] No such file or directory: u'/etc/flume/conf/a1/ambari-meta.json'
ok
test_stop_single (test_flume.TestFlumeHandler) ... 2015-09-24 17:10:23,239 - Pid file /var/run/flume/a1.pid is empty or does not exist
ok
test_struct_out (test_flume.TestFlumeHandler) ... ok
test_service_check (test_service_check.TestFlumeCheck) ... 2015-09-24 17:10:23,245 - Pid file /var/run/flume/b1.pid is empty or does not exist
ok

----------------------------------------------------------------------
Ran 16 tests in 0.147s

OK
Running tests for stack:2.0.6 service:ZOOKEEPER
test_configure_default (test_zookeeper_client.TestZookeeperClient) ... ok
test_configure_secured (test_zookeeper_client.TestZookeeperClient) ... ok
test_pre_rolling_restart (test_zookeeper_client.TestZookeeperClient) ... 2015-09-24 17:10:23,405 - Executing Rolling Upgrade pre-restart
ok
test_pre_rolling_restart_23 (test_zookeeper_client.TestZookeeperClient) ... 2015-09-24 17:10:23,408 - After hdp-select zookeeper-client, reloaded module status_params
2015-09-24 17:10:23,410 - After hdp-select zookeeper-client, reloaded module params_linux
2015-09-24 17:10:23,410 - After hdp-select zookeeper-client, reloaded module params
2015-09-24 17:10:23,414 - Executing Rolling Upgrade pre-restart
2015-09-24 17:10:23,417 - After hdp-select zookeeper-client, reloaded module status_params
2015-09-24 17:10:23,418 - After hdp-select zookeeper-client, reloaded module params_linux
2015-09-24 17:10:23,418 - After hdp-select zookeeper-client, reloaded module params
ok
test_configure_default (test_zookeeper_server.TestZookeeperServer) ... ok
test_configure_secured (test_zookeeper_server.TestZookeeperServer) ... ok
test_post_rolling_restart (test_zookeeper_server.TestZookeeperServer) ... 2015-09-24 17:10:23,472 - Executing Rolling Upgrade post-restart
2015-09-24 17:10:23,475 - stdout
ok
test_pre_rolling_restart (test_zookeeper_server.TestZookeeperServer) ... 2015-09-24 17:10:23,478 - Executing Rolling Upgrade pre-restart
2015-09-24 17:10:23,480 - After hdp-select zookeeper-server, reloaded module status_params
2015-09-24 17:10:23,481 - After hdp-select zookeeper-server, reloaded module params_linux
2015-09-24 17:10:23,482 - After hdp-select zookeeper-server, reloaded module params
ok
test_pre_rolling_restart_23 (test_zookeeper_server.TestZookeeperServer) ... 2015-09-24 17:10:23,485 - Executing Rolling Upgrade pre-restart
2015-09-24 17:10:23,488 - After hdp-select zookeeper-server, reloaded module status_params
2015-09-24 17:10:23,489 - After hdp-select zookeeper-server, reloaded module params_linux
2015-09-24 17:10:23,489 - After hdp-select zookeeper-server, reloaded module params
ok
test_security_status (test_zookeeper_server.TestZookeeperServer) ... ok
test_start_default (test_zookeeper_server.TestZookeeperServer) ... ok
test_start_secured (test_zookeeper_server.TestZookeeperServer) ... ok
test_stop_default (test_zookeeper_server.TestZookeeperServer) ... ok
test_stop_secured (test_zookeeper_server.TestZookeeperServer) ... ok
test_service_check_22 (test_zookeeper_service_check.TestServiceCheck) ... ok
test_service_check_default (test_zookeeper_service_check.TestServiceCheck) ... ok
test_service_check_secured (test_zookeeper_service_check.TestServiceCheck) ... ok

----------------------------------------------------------------------
Ran 17 tests in 0.213s

OK
Running tests for stack:2.0.6 service:HIVE
test_clean_default (test_mysql_server.TestMySqlServer) ... 2015-09-24 17:10:23,724 - Skipping get_hdp_version since hdp-select is not yet available
ok
test_clean_secured (test_mysql_server.TestMySqlServer) ... 2015-09-24 17:10:23,733 - Skipping get_hdp_version since hdp-select is not yet available
ok
test_configure_default (test_mysql_server.TestMySqlServer) ... 2015-09-24 17:10:23,742 - Skipping get_hdp_version since hdp-select is not yet available
ok
test_configure_secured (test_mysql_server.TestMySqlServer) ... 2015-09-24 17:10:23,751 - Skipping get_hdp_version since hdp-select is not yet available
ok
test_start_default (test_mysql_server.TestMySqlServer) ... 2015-09-24 17:10:23,760 - Skipping get_hdp_version since hdp-select is not yet available
ok
test_start_secured (test_mysql_server.TestMySqlServer) ... 2015-09-24 17:10:23,769 - Skipping get_hdp_version since hdp-select is not yet available
ok
test_stop_default (test_mysql_server.TestMySqlServer) ... 2015-09-24 17:10:23,780 - Skipping get_hdp_version since hdp-select is not yet available
ok
test_stop_secured (test_mysql_server.TestMySqlServer) ... 2015-09-24 17:10:23,789 - Skipping get_hdp_version since hdp-select is not yet available
ok
test_configure_default (test_hive_server.TestHiveServer) ... ok
test_configure_secured (test_hive_server.TestHiveServer) ... ok
test_pre_rolling_restart (test_hive_server.TestHiveServer) ... ok
test_pre_rolling_restart_23 (test_hive_server.TestHiveServer) ... ok
test_security_status (test_hive_server.TestHiveServer) ... ok
test_socket_timeout (test_hive_server.TestHiveServer) ... ok
test_start_default (test_hive_server.TestHiveServer) ... ok
test_start_default_alt_nn_ha_tmp (test_hive_server.TestHiveServer) ... ok
test_start_default_alt_tmp (test_hive_server.TestHiveServer) ... ok
test_start_default_no_copy (test_hive_server.TestHiveServer) ... ok
test_start_default_non_hdfs (test_hive_server.TestHiveServer) ... ok
test_start_secured (test_hive_server.TestHiveServer) ... ok
test_stop_default (test_hive_server.TestHiveServer) ... ok
test_stop_during_upgrade (test_hive_server.TestHiveServer) ... ok
test_stop_during_upgrade_bad_hive_version (test_hive_server.TestHiveServer) ... ok
test_stop_during_upgrade_with_default_conf_server (test_hive_server.TestHiveServer) ... ok
test_stop_secured (test_hive_server.TestHiveServer) ... ok
test_configure_default (test_hive_client.TestHiveClient) ... ok
test_configure_secured (test_hive_client.TestHiveClient) ... ok
test_pre_rolling_restart (test_hive_client.TestHiveClient) ... ok
test_pre_rolling_restart_23 (test_hive_client.TestHiveClient) ... ok
test_service_check_default (test_hive_service_check.TestServiceCheck) ... Test connectivity to hive server
Waiting for the Hive server to start...
Successfully connected to c6402.ambari.apache.org on port 10000
Successfully connected to Hive at c6401.ambari.apache.org on port 10000 after 0 seconds
ok
test_service_check_during_upgrade (test_hive_service_check.TestServiceCheck) ... Test connectivity to hive server
Waiting for the Hive server to start...
Successfully connected to c6402.ambari.apache.org on port 10010
Successfully connected to Hive at c6402.ambari.apache.org on port 10010 after 0 seconds
ok
test_service_check_secured (test_hive_service_check.TestServiceCheck) ... Test connectivity to hive server
Waiting for the Hive server to start...
Successfully connected to c6402.ambari.apache.org on port 10000
Successfully connected to Hive at c6401.ambari.apache.org on port 10000 after 0 seconds
ok
test_configure_default (test_webhcat_server.TestWebHCatServer) ... ok
test_pre_rolling_restart (test_webhcat_server.TestWebHCatServer) ... ok
test_pre_rolling_restart_23 (test_webhcat_server.TestWebHCatServer) ... ok
test_rolling_restart_configure (test_webhcat_server.TestWebHCatServer) ... ok
test_security_status (test_webhcat_server.TestWebHCatServer) ... ok
test_start_default (test_webhcat_server.TestWebHCatServer) ... ok
test_start_secured (test_webhcat_server.TestWebHCatServer) ... ok
test_stop_default (test_webhcat_server.TestWebHCatServer) ... ok
test_stop_secured (test_webhcat_server.TestWebHCatServer) ... ok
test_configure_default (test_hcat_client.TestHcatClient) ... ok
test_configure_secured (test_hcat_client.TestHcatClient) ... ok
test_configure_default (test_hive_metastore.TestHiveMetastore) ... ok
test_configure_secured (test_hive_metastore.TestHiveMetastore) ... ok
test_start_default (test_hive_metastore.TestHiveMetastore) ... ok
test_start_ru (test_hive_metastore.TestHiveMetastore) ... ok
test_start_secured (test_hive_metastore.TestHiveMetastore) ... ok
test_stop_default (test_hive_metastore.TestHiveMetastore) ... ok
test_stop_secured (test_hive_metastore.TestHiveMetastore) ... ok

----------------------------------------------------------------------
Ran 50 tests in 0.849s

OK
Running tests for stack:2.0.6 service:SQOOP
test_configure_add_jdbc (test_sqoop.TestSqoop) ... ok
test_configure_default (test_sqoop.TestSqoop) ... ok
test_pre_rolling_restart_23 (test_sqoop.TestSqoop) ... 2015-09-24 17:10:24,794 - After hdp-select sqoop-client, reloaded module params_linux
2015-09-24 17:10:24,795 - After hdp-select sqoop-client, reloaded module params
ok
test_service_check_default (test_service_check.TestSqoopServiceCheck) ... ok
test_service_check_secured (test_service_check.TestSqoopServiceCheck) ... ok

----------------------------------------------------------------------
Ran 5 tests in 0.095s

OK
Running tests for stack:2.0.6 service:common
test_getConfigurationClusterSummary_noHostsWithoutHBase (test_stack_advisor.TestHDP206StackAdvisor) ... ok
test_getConfigurationClusterSummary_withHBaseAnd48gbRam (test_stack_advisor.TestHDP206StackAdvisor) ... ok
test_getConfigurationClusterSummary_withHBaseAnd6gbRam (test_stack_advisor.TestHDP206StackAdvisor) ... ok
test_getHostsWithComponent (test_stack_advisor.TestHDP206StackAdvisor) ... ok
test_getMountPointForDir (test_stack_advisor.TestHDP206StackAdvisor) ... ok
test_getProperMountPoint (test_stack_advisor.TestHDP206StackAdvisor) ... ok
test_getValidatorEqualsToRecommendedItem (test_stack_advisor.TestHDP206StackAdvisor) ... ok
test_mergeValidators (test_stack_advisor.TestHDP206StackAdvisor) ... ok
test_recommendHDFSConfigurations (test_stack_advisor.TestHDP206StackAdvisor) ... ok
test_recommendHbaseConfigurations (test_stack_advisor.TestHDP206StackAdvisor) ... ok
test_recommendMapReduce2Configurations_mapMemoryLessThan2560 (test_stack_advisor.TestHDP206StackAdvisor) ... ok
test_recommendYARNConfigurations (test_stack_advisor.TestHDP206StackAdvisor) ... ok
test_recommendationAssignmentNotChanged (test_stack_advisor.TestHDP206StackAdvisor) ... ok
test_recommendationCardinalityALL (test_stack_advisor.TestHDP206StackAdvisor) ... ok
test_recommendationIsNotPreferableOnAmbariServer (test_stack_advisor.TestHDP206StackAdvisor) ... ok
test_round_to_n (test_stack_advisor.TestHDP206StackAdvisor) ... ok
test_validateAmsHbaseSiteConfigurations (test_stack_advisor.TestHDP206StackAdvisor) ... ok
test_validateHDFSConfigurationsEnv (test_stack_advisor.TestHDP206StackAdvisor) ... ok
test_validateNonRootFs (test_stack_advisor.TestHDP206StackAdvisor) ... ok
test_validationCardinality01TwoHostsAssigned (test_stack_advisor.TestHDP206StackAdvisor) ... ok
test_validationCardinalityALL (test_stack_advisor.TestHDP206StackAdvisor) ... ok
test_validationCardinalityAtLeast (test_stack_advisor.TestHDP206StackAdvisor) ... ok
test_validationCardinalityExactAmount (test_stack_advisor.TestHDP206StackAdvisor) ... ok
test_validationHostIsNotUsed (test_stack_advisor.TestHDP206StackAdvisor) ... ok
test_validationHostIsNotUsedForNonValuableComponent (test_stack_advisor.TestHDP206StackAdvisor) ... ok
test_validationMinMax (test_stack_advisor.TestHDP206StackAdvisor) ... ok
test_validationNamenodeAndSecondaryNamenode2Hosts_noMessagesForSameHost (test_stack_advisor.TestHDP206StackAdvisor) ... ok
test_validationWarnMessagesIfLessThanDefault (test_stack_advisor.TestHDP206StackAdvisor) ... ok

----------------------------------------------------------------------
Ran 28 tests in 0.163s

OK
SiteName: yarn-site, method: validateYARNConfigurations

Site properties: {'yarn.scheduler.minimum-allocation-mb': 'str', 'yarn.nodemanager.resource.memory-mb': '0'}

Recommendations: {'yarn.scheduler.minimum-allocation-mb': '170', 'yarn.scheduler.maximum-allocation-mb': '512', 'yarn.nodemanager.linux-container-executor.group': 'hadoop', 'yarn.nodemanager.resource.memory-mb': '512'}
********

Running tests for stack:2.0.6 service:HBASE
test_configure_default (test_hbase_regionserver.TestHbaseRegionServer) ... ok
test_configure_secured (test_hbase_regionserver.TestHbaseRegionServer) ... ok
test_post_rolling_restart (test_hbase_regionserver.TestHbaseRegionServer) ... ok
test_pre_rolling_restart (test_hbase_regionserver.TestHbaseRegionServer) ... ok
test_security_status (test_hbase_regionserver.TestHbaseRegionServer) ... 2015-09-24 17:10:25,195 - After hdp-select hbase-regionserver, reloaded module status_params
2015-09-24 17:10:25,197 - After hdp-select hbase-regionserver, reloaded module params_linux
2015-09-24 17:10:25,197 - After hdp-select hbase-regionserver, reloaded module params
ok
test_start_default (test_hbase_regionserver.TestHbaseRegionServer) ... 2015-09-24 17:10:25,230 - Ranger admin not installed
ok
test_start_default_22 (test_hbase_regionserver.TestHbaseRegionServer) ... 2015-09-24 17:10:25,249 - Ranger admin not installed
ok
test_start_secured (test_hbase_regionserver.TestHbaseRegionServer) ... 2015-09-24 17:10:25,266 - Ranger admin not installed
ok
test_stop_default (test_hbase_regionserver.TestHbaseRegionServer) ... ok
test_stop_secured (test_hbase_regionserver.TestHbaseRegionServer) ... ok
test_upgrade_23 (test_hbase_regionserver.TestHbaseRegionServer) ... 2015-09-24 17:10:25,295 - After hdp-select hbase-regionserver, reloaded module status_params
2015-09-24 17:10:25,297 - After hdp-select hbase-regionserver, reloaded module params_linux
2015-09-24 17:10:25,297 - After hdp-select hbase-regionserver, reloaded module params
ok
test_service_check_22 (test_hbase_service_check.TestServiceCheck) ... ok
test_service_check_default (test_hbase_service_check.TestServiceCheck) ... ok
test_service_check_secured (test_hbase_service_check.TestServiceCheck) ... ok
test_configure_default (test_hbase_client.TestHBaseClient) ... ok
test_configure_secured (test_hbase_client.TestHBaseClient) ... ok
test_upgrade (test_hbase_client.TestHBaseClient) ... 2015-09-24 17:10:25,370 - After hdp-select hbase-client, reloaded module status_params
2015-09-24 17:10:25,373 - After hdp-select hbase-client, reloaded module params_linux
2015-09-24 17:10:25,373 - After hdp-select hbase-client, reloaded module params
2015-09-24 17:10:25,374 - After hdp-select phoenix-client, reloaded module status_params
2015-09-24 17:10:25,376 - After hdp-select phoenix-client, reloaded module params_linux
2015-09-24 17:10:25,377 - After hdp-select phoenix-client, reloaded module params
2015-09-24 17:10:25,377 - After hdp-select hadoop-client, reloaded module status_params
2015-09-24 17:10:25,380 - After hdp-select hadoop-client, reloaded module params_linux
2015-09-24 17:10:25,380 - After hdp-select hadoop-client, reloaded module params
ok
test_upgrade_23 (test_hbase_client.TestHBaseClient) ... 2015-09-24 17:10:25,393 - After hdp-select hbase-client, reloaded module status_params
2015-09-24 17:10:25,396 - After hdp-select hbase-client, reloaded module params_linux
2015-09-24 17:10:25,396 - After hdp-select hbase-client, reloaded module params
2015-09-24 17:10:25,397 - After hdp-select phoenix-client, reloaded module status_params
2015-09-24 17:10:25,399 - After hdp-select phoenix-client, reloaded module params_linux
2015-09-24 17:10:25,400 - After hdp-select phoenix-client, reloaded module params
2015-09-24 17:10:25,401 - After hdp-select hadoop-client, reloaded module status_params
2015-09-24 17:10:25,404 - After hdp-select hadoop-client, reloaded module params_linux
2015-09-24 17:10:25,404 - After hdp-select hadoop-client, reloaded module params
ok
test_configure_default (test_hbase_master.TestHBaseMaster) ... ok
test_configure_secured (test_hbase_master.TestHBaseMaster) ... ok
test_decom_default (test_hbase_master.TestHBaseMaster) ... ok
test_decom_default_draining_only (test_hbase_master.TestHBaseMaster) ... ok
test_decom_secure (test_hbase_master.TestHBaseMaster) ... ok
test_install_hbase_master_default_no_phx (test_hbase_master.TestHBaseMaster) ... ok
test_install_hbase_master_default_with_phx (test_hbase_master.TestHBaseMaster) ... ok
test_pre_rolling_restart (test_hbase_master.TestHBaseMaster) ... 2015-09-24 17:10:25,500 - After hdp-select hbase-master, reloaded module status_params
2015-09-24 17:10:25,502 - After hdp-select hbase-master, reloaded module params_linux
2015-09-24 17:10:25,503 - After hdp-select hbase-master, reloaded module params
ok
test_security_status (test_hbase_master.TestHBaseMaster) ... ok
test_start_default (test_hbase_master.TestHBaseMaster) ... 2015-09-24 17:10:25,538 - Ranger admin not installed
ok
test_start_default_22 (test_hbase_master.TestHBaseMaster) ... 2015-09-24 17:10:25,556 - Ranger admin not installed
ok
test_start_secured (test_hbase_master.TestHBaseMaster) ... 2015-09-24 17:10:25,572 - Ranger admin not installed
ok
test_stop_default (test_hbase_master.TestHBaseMaster) ... ok
test_stop_secured (test_hbase_master.TestHBaseMaster) ... ok
test_upgrade_23 (test_hbase_master.TestHBaseMaster) ... 2015-09-24 17:10:25,598 - After hdp-select hbase-master, reloaded module status_params
2015-09-24 17:10:25,600 - After hdp-select hbase-master, reloaded module params_linux
2015-09-24 17:10:25,601 - After hdp-select hbase-master, reloaded module params
ok
test_upgrade_backup (test_hbase_master.TestHBaseMaster) ... ok
test_configure_default (test_phoenix_queryserver.TestPhoenixQueryServer) ... ok
test_configure_secured (test_phoenix_queryserver.TestPhoenixQueryServer) ... ok
test_start_default (test_phoenix_queryserver.TestPhoenixQueryServer) ... ok
test_start_default_24 (test_phoenix_queryserver.TestPhoenixQueryServer) ... skipped "there's nothing to upgrade to yet"
test_start_secured (test_phoenix_queryserver.TestPhoenixQueryServer) ... ok
test_stop_default (test_phoenix_queryserver.TestPhoenixQueryServer) ... ok
test_stop_secured (test_phoenix_queryserver.TestPhoenixQueryServer) ... ok
test_upgrade_restart (test_phoenix_queryserver.TestPhoenixQueryServer) ... 2015-09-24 17:10:25,710 - After hdp-select phoenix-server, reloaded module status_params
2015-09-24 17:10:25,713 - After hdp-select phoenix-server, reloaded module params_linux
2015-09-24 17:10:25,713 - After hdp-select phoenix-server, reloaded module params
ok

----------------------------------------------------------------------
Ran 42 tests in 0.571s

OK (skipped=1)
Running tests for stack:2.0.6 service:YARN
test_service_check_default (test_mapreduce2_service_check.TestServiceCheck) ... 2015-09-24 17:10:25,864 - Failed to get extracted version with hdp-select
ok
test_service_check_secured (test_mapreduce2_service_check.TestServiceCheck) ... 2015-09-24 17:10:25,873 - Failed to get extracted version with hdp-select
ok
test_configure_default (test_yarn_client.TestYarnClient) ... 2015-09-24 17:10:25,894 - Failed to get extracted version with hdp-select
ok
test_configure_secured (test_yarn_client.TestYarnClient) ... 2015-09-24 17:10:25,929 - Failed to get extracted version with hdp-select
ok
test_pre_rolling_restart_23 (test_yarn_client.TestYarnClient) ... ok
test_restart_client (test_yarn_client.TestYarnClient) ... 2015-09-24 17:10:25,963 - After hdp-select hadoop-client, reloaded module status_params
2015-09-24 17:10:25,966 - After hdp-select hadoop-client, reloaded module params_linux
2015-09-24 17:10:25,966 - After hdp-select hadoop-client, reloaded module params
2015-09-24 17:10:25,971 - Failed to get extracted version with hdp-select
ok
test_upgrade (test_yarn_client.TestYarnClient) ... 2015-09-24 17:10:26,004 - After hdp-select hadoop-client, reloaded module status_params
2015-09-24 17:10:26,007 - After hdp-select hadoop-client, reloaded module params_linux
2015-09-24 17:10:26,008 - After hdp-select hadoop-client, reloaded module params
ok
test_service_check_default (test_yarn_service_check.TestServiceCheck) ... 2015-09-24 17:10:26,025 - Skipping get_hdp_version since hdp-select is not yet available
ok
test_service_check_secured (test_yarn_service_check.TestServiceCheck) ... 2015-09-24 17:10:26,032 - Skipping get_hdp_version since hdp-select is not yet available
ok
test_configure_default (test_historyserver.TestHistoryServer) ... 2015-09-24 17:10:26,052 - Failed to get extracted version with hdp-select
ok
test_configure_secured (test_historyserver.TestHistoryServer) ... 2015-09-24 17:10:26,086 - Failed to get extracted version with hdp-select
ok
test_pre_rolling_restart_23 (test_historyserver.TestHistoryServer) ... 2015-09-24 17:10:26,118 - Executing Rolling Upgrade pre-restart
2015-09-24 17:10:26,125 - After hdp-select hadoop-mapreduce-historyserver, reloaded module status_params
2015-09-24 17:10:26,128 - After hdp-select hadoop-mapreduce-historyserver, reloaded module params_linux
2015-09-24 17:10:26,128 - After hdp-select hadoop-mapreduce-historyserver, reloaded module params
ok
test_security_status (test_historyserver.TestHistoryServer) ... ok
test_start_default (test_historyserver.TestHistoryServer) ... 2015-09-24 17:10:26,172 - Failed to get extracted version with hdp-select
ok
test_start_secured (test_historyserver.TestHistoryServer) ... 2015-09-24 17:10:26,205 - Failed to get extracted version with hdp-select
ok
test_stop_default (test_historyserver.TestHistoryServer) ... 2015-09-24 17:10:26,236 - Failed to get extracted version with hdp-select
ok
test_stop_secured (test_historyserver.TestHistoryServer) ... 2015-09-24 17:10:26,245 - Failed to get extracted version with hdp-select
ok
test_configure_default (test_mapreduce2_client.TestMapReduce2Client) ... ok
test_configure_secured (test_mapreduce2_client.TestMapReduce2Client) ... ok
test_pre_rolling_restart_23 (test_mapreduce2_client.TestMapReduce2Client) ... 2015-09-24 17:10:26,321 - After hdp-select hadoop-client, reloaded module status_params
2015-09-24 17:10:26,325 - After hdp-select hadoop-client, reloaded module params_linux
2015-09-24 17:10:26,326 - After hdp-select hadoop-client, reloaded module params
ok
test_upgrade (test_mapreduce2_client.TestMapReduce2Client) ... 2015-09-24 17:10:26,335 - After hdp-select hadoop-client, reloaded module status_params
2015-09-24 17:10:26,339 - After hdp-select hadoop-client, reloaded module params_linux
2015-09-24 17:10:26,340 - After hdp-select hadoop-client, reloaded module params
ok
test_configure_default (test_nodemanager.TestNodeManager) ... 2015-09-24 17:10:26,358 - Failed to get extracted version with hdp-select
ok
test_configure_secured (test_nodemanager.TestNodeManager) ... 2015-09-24 17:10:26,392 - Failed to get extracted version with hdp-select
ok
test_post_rolling_restart (test_nodemanager.TestNodeManager) ... 2015-09-24 17:10:26,422 - Executing NodeManager Rolling Upgrade post-restart
ok
test_post_rolling_restart_nodemanager_not_ready (test_nodemanager.TestNodeManager) ... 2015-09-24 17:10:26,426 - NodeManager executing "yarn node -list -states=RUNNING" to verify the node has rejoined the cluster...
2015-09-24 17:10:26,426 - NodeManager with ID c6401.ambari.apache.org:45454 has rejoined the cluster.
2015-09-24 17:10:26,429 - Executing NodeManager Rolling Upgrade post-restart
ok
test_pre_rolling_restart_23 (test_nodemanager.TestNodeManager) ... 2015-09-24 17:10:26,434 - Executing NodeManager Rolling Upgrade pre-restart
2015-09-24 17:10:26,439 - After hdp-select hadoop-yarn-nodemanager, reloaded module status_params
2015-09-24 17:10:26,442 - After hdp-select hadoop-yarn-nodemanager, reloaded module params_linux
2015-09-24 17:10:26,443 - After hdp-select hadoop-yarn-nodemanager, reloaded module params
ok
test_security_status (test_nodemanager.TestNodeManager) ... ok
test_start_default (test_nodemanager.TestNodeManager) ... 2015-09-24 17:10:26,468 - Failed to get extracted version with hdp-select
ok
test_start_secured (test_nodemanager.TestNodeManager) ... 2015-09-24 17:10:26,499 - Failed to get extracted version with hdp-select
ok
test_stop_default (test_nodemanager.TestNodeManager) ... 2015-09-24 17:10:26,532 - Failed to get extracted version with hdp-select
ok
test_stop_secured (test_nodemanager.TestNodeManager) ... 2015-09-24 17:10:26,541 - Failed to get extracted version with hdp-select
ok
test_configure_default (test_resourcemanager.TestResourceManager) ... ok
test_configure_secured (test_resourcemanager.TestResourceManager) ... ok
test_decommission_default (test_resourcemanager.TestResourceManager) ... ok
test_decommission_secured (test_resourcemanager.TestResourceManager) ... ok
test_pre_rolling_restart_23 (test_resourcemanager.TestResourceManager) ... 2015-09-24 17:10:26,652 - Executing Rolling Upgrade post-restart
2015-09-24 17:10:26,657 - After hdp-select hadoop-yarn-resourcemanager, reloaded module status_params
ok
test_security_status (test_resourcemanager.TestResourceManager) ... 2015-09-24 17:10:26,660 - After hdp-select hadoop-yarn-resourcemanager, reloaded module params_linux
2015-09-24 17:10:26,660 - After hdp-select hadoop-yarn-resourcemanager, reloaded module params
ok
test_start_default (test_resourcemanager.TestResourceManager) ... ok
test_start_secured (test_resourcemanager.TestResourceManager) ... ok
test_stop_default (test_resourcemanager.TestResourceManager) ... ok
test_stop_secured (test_resourcemanager.TestResourceManager) ... ok

----------------------------------------------------------------------
Ran 41 tests in 0.900s

OK
Running tests for stack:2.0.6 service:OOZIE
Process Process-28:
Traceback (most recent call last):
  File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
    self.run()
  File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
    self._target(*self._args, **self._kwargs)
  File "/home/lestat/git/ambari/ambari-server/src/test/python/unitTests.py", line 118, in stack_test_executor
    modules]
  File "/usr/lib/python2.7/unittest/loader.py", line 91, in loadTestsFromName
    module = __import__('.'.join(parts_copy))
  File "/home/lestat/git/ambari/ambari-server/src/test/python/stacks/2.0.6/OOZIE/test_service_check.py", line 94
    dfs_type = '',
SyntaxError: keyword argument repeated
Running tests for stack:2.0.6 service:after-INSTALL
test_hook_default (test_after_install.TestHookAfterInstall) ... 2015-09-24 17:10:27,064 - FS Type: 
ok
2015-09-24 17:10:27,064 - Can only link configs for HDP-2.3 and higher.
test_hook_default_conf_select (test_after_install.TestHookAfterInstall) ... 2015-09-24 17:10:27,070 - FS Type: 
2015-09-24 17:10:27,070 - New conf directories: /, e, t, c, /, r, a, n, g, e, r, -, k, m, s, /, 2, ., 3, ., 0, ., 0, -, 1, 2, 4, 3, /, 0
2015-09-24 17:10:27,071 - New conf directories: /, e, t, c, /, z, o, o, k, e, e, p, e, r, /, 2, ., 3, ., 0, ., 0, -, 1, 2, 4, 3, /, 0
2015-09-24 17:10:27,072 - New conf directories: /, e, t, c, /, p, i, g, /, 2, ., 3, ., 0, ., 0, -, 1, 2, 4, 3, /, 0
2015-09-24 17:10:27,072 - New conf directories: /, e, t, c, /, t, e, z, /, 2, ., 3, ., 0, ., 0, -, 1, 2, 4, 3, /, 0
2015-09-24 17:10:27,073 - New conf directories: /, e, t, c, /, h, i, v, e, -, h, c, a, t, a, l, o, g, /, 2, ., 3, ., 0, ., 0, -, 1, 2, 4, 3, /, 0
2015-09-24 17:10:27,074 - New conf directories: /, e, t, c, /, h, b, a, s, e, /, 2, ., 3, ., 0, ., 0, -, 1, 2, 4, 3, /, 0
2015-09-24 17:10:27,074 - New conf directories: /, e, t, c, /, k, n, o, x, /, 2, ., 3, ., 0, ., 0, -, 1, 2, 4, 3, /, 0
2015-09-24 17:10:27,075 - New conf directories: /, e, t, c, /, r, a, n, g, e, r, -, u, s, e, r, s, y, n, c, /, 2, ., 3, ., 0, ., 0, -, 1, 2, 4, 3, /, 0
2015-09-24 17:10:27,075 - New conf directories: /, e, t, c, /, h, a, d, o, o, p, /, 2, ., 3, ., 0, ., 0, -, 1, 2, 4, 3, /, 0
2015-09-24 17:10:27,076 - New conf directories: /, e, t, c, /, m, a, h, o, u, t, /, 2, ., 3, ., 0, ., 0, -, 1, 2, 4, 3, /, 0
2015-09-24 17:10:27,076 - New conf directories: /, e, t, c, /, s, t, o, r, m, /, 2, ., 3, ., 0, ., 0, -, 1, 2, 4, 3, /, 0
2015-09-24 17:10:27,077 - New conf directories: /, e, t, c, /, r, a, n, g, e, r, -, a, d, m, i, n, /, 2, ., 3, ., 0, ., 0, -, 1, 2, 4, 3, /, 0
2015-09-24 17:10:27,077 - New conf directories: /, e, t, c, /, f, l, u, m, e, /, 2, ., 3, ., 0, ., 0, -, 1, 2, 4, 3, /, 0
2015-09-24 17:10:27,078 - New conf directories: /, e, t, c, /, s, q, o, o, p, /, 2, ., 3, ., 0, ., 0, -, 1, 2, 4, 3, /, 0
2015-09-24 17:10:27,078 - New conf directories: /, e, t, c, /, a, c, c, u, m, u, l, o, /, 2, ., 3, ., 0, ., 0, -, 1, 2, 4, 3, /, 0
2015-09-24 17:10:27,079 - New conf directories: /, e, t, c, /, p, h, o, e, n, i, x, /, 2, ., 3, ., 0, ., 0, -, 1, 2, 4, 3, /, 0
2015-09-24 17:10:27,080 - New conf directories: /, e, t, c, /, s, t, o, r, m, -, s, l, i, d, e, r, -, c, l, i, e, n, t, /, 2, ., 3, ., 0, ., 0, -, 1, 2, 4, 3, /, 0
2015-09-24 17:10:27,080 - New conf directories: /, e, t, c, /, s, l, i, d, e, r, /, 2, ., 3, ., 0, ., 0, -, 1, 2, 4, 3, /, 0
2015-09-24 17:10:27,081 - New conf directories: /, e, t, c, /, o, o, z, i, e, /, 2, ., 3, ., 0, ., 0, -, 1, 2, 4, 3, /, 0
2015-09-24 17:10:27,081 - New conf directories: /, e, t, c, /, f, a, l, c, o, n, /, 2, ., 3, ., 0, ., 0, -, 1, 2, 4, 3, /, 0
2015-09-24 17:10:27,082 - New conf directories: /, e, t, c, /, s, p, a, r, k, /, 2, ., 3, ., 0, ., 0, -, 1, 2, 4, 3, /, 0
2015-09-24 17:10:27,082 - New conf directories: /, e, t, c, /, k, a, f, k, a, /, 2, ., 3, ., 0, ., 0, -, 1, 2, 4, 3, /, 0
2015-09-24 17:10:27,083 - New conf directories: /, e, t, c, /, h, i, v, e, /, 2, ., 3, ., 0, ., 0, -, 1, 2, 4, 3, /, 0
ok
test_hook_default_conf_select_with_error (test_after_install.TestHookAfterInstall) ... 2015-09-24 17:10:27,097 - FS Type: 
2015-09-24 17:10:27,097 - New conf directories: /, e, t, c, /, r, a, n, g, e, r, -, k, m, s, /, 2, ., 3, ., 0, ., 0, -, 1, 2, 4, 3, /, 0
2015-09-24 17:10:27,098 - New conf directories: /, e, t, c, /, z, o, o, k, e, e, p, e, r, /, 2, ., 3, ., 0, ., 0, -, 1, 2, 4, 3, /, 0
2015-09-24 17:10:27,098 - New conf directories: /, e, t, c, /, p, i, g, /, 2, ., 3, ., 0, ., 0, -, 1, 2, 4, 3, /, 0
2015-09-24 17:10:27,099 - Could not select the directory: whoops
2015-09-24 17:10:27,099 - New conf directories: /, e, t, c, /, t, e, z, /, 2, ., 3, ., 0, ., 0, -, 1, 2, 4, 3, /, 0
2015-09-24 17:10:27,099 - New conf directories: /, e, t, c, /, h, i, v, e, -, h, c, a, t, a, l, o, g, /, 2, ., 3, ., 0, ., 0, -, 1, 2, 4, 3, /, 0
2015-09-24 17:10:27,100 - New conf directories: /, e, t, c, /, h, b, a, s, e, /, 2, ., 3, ., 0, ., 0, -, 1, 2, 4, 3, /, 0
2015-09-24 17:10:27,100 - New conf directories: /, e, t, c, /, k, n, o, x, /, 2, ., 3, ., 0, ., 0, -, 1, 2, 4, 3, /, 0
2015-09-24 17:10:27,101 - New conf directories: /, e, t, c, /, r, a, n, g, e, r, -, u, s, e, r, s, y, n, c, /, 2, ., 3, ., 0, ., 0, -, 1, 2, 4, 3, /, 0
2015-09-24 17:10:27,101 - New conf directories: /, e, t, c, /, h, a, d, o, o, p, /, 2, ., 3, ., 0, ., 0, -, 1, 2, 4, 3, /, 0
2015-09-24 17:10:27,102 - New conf directories: /, e, t, c, /, m, a, h, o, u, t, /, 2, ., 3, ., 0, ., 0, -, 1, 2, 4, 3, /, 0
2015-09-24 17:10:27,102 - New conf directories: /, e, t, c, /, s, t, o, r, m, /, 2, ., 3, ., 0, ., 0, -, 1, 2, 4, 3, /, 0
2015-09-24 17:10:27,103 - New conf directories: /, e, t, c, /, r, a, n, g, e, r, -, a, d, m, i, n, /, 2, ., 3, ., 0, ., 0, -, 1, 2, 4, 3, /, 0
2015-09-24 17:10:27,103 - New conf directories: /, e, t, c, /, f, l, u, m, e, /, 2, ., 3, ., 0, ., 0, -, 1, 2, 4, 3, /, 0
2015-09-24 17:10:27,104 - New conf directories: /, e, t, c, /, s, q, o, o, p, /, 2, ., 3, ., 0, ., 0, -, 1, 2, 4, 3, /, 0
2015-09-24 17:10:27,104 - New conf directories: /, e, t, c, /, a, c, c, u, m, u, l, o, /, 2, ., 3, ., 0, ., 0, -, 1, 2, 4, 3, /, 0
2015-09-24 17:10:27,105 - New conf directories: /, e, t, c, /, p, h, o, e, n, i, x, /, 2, ., 3, ., 0, ., 0, -, 1, 2, 4, 3, /, 0
2015-09-24 17:10:27,106 - New conf directories: /, e, t, c, /, s, t, o, r, m, -, s, l, i, d, e, r, -, c, l, i, e, n, t, /, 2, ., 3, ., 0, ., 0, -, 1, 2, 4, 3, /, 0
2015-09-24 17:10:27,106 - New conf directories: /, e, t, c, /, s, l, i, d, e, r, /, 2, ., 3, ., 0, ., 0, -, 1, 2, 4, 3, /, 0
2015-09-24 17:10:27,107 - New conf directories: /, e, t, c, /, o, o, z, i, e, /, 2, ., 3, ., 0, ., 0, -, 1, 2, 4, 3, /, 0
2015-09-24 17:10:27,107 - New conf directories: /, e, t, c, /, f, a, l, c, o, n, /, 2, ., 3, ., 0, ., 0, -, 1, 2, 4, 3, /, 0
2015-09-24 17:10:27,108 - New conf directories: /, e, t, c, /, s, p, a, r, k, /, 2, ., 3, ., 0, ., 0, -, 1, 2, 4, 3, /, 0
2015-09-24 17:10:27,108 - New conf directories: /, e, t, c, /, k, a, f, k, a, /, 2, ., 3, ., 0, ., 0, -, 1, 2, 4, 3, /, 0
2015-09-24 17:10:27,109 - New conf directories: /, e, t, c, /, h, i, v, e, /, 2, ., 3, ., 0, ., 0, -, 1, 2, 4, 3, /, 0
ok

----------------------------------------------------------------------
Ran 3 tests in 0.078s

OK
Running tests for stack:2.0.6 service:before-INSTALL
test_hook_default (test_before_install.TestHookBeforeInstall) ... ok

----------------------------------------------------------------------
Ran 1 test in 0.036s

OK
Running tests for stack:2.0.6 service:before-ANY
test_hook_default (test_before_any.TestHookBeforeInstall) ... 2015-09-24 17:10:27,425 - FS Type: 
ok

----------------------------------------------------------------------
Ran 1 test in 0.039s

OK
Running tests for stack:2.0.6 service:before-START
test_hook_default (test_before_start.TestHookBeforeStart) ... ok
test_hook_default_hdfs (test_before_start.TestHookBeforeStart) ... ok
test_hook_refresh_topology_custom_directories (test_before_start.TestHookBeforeStart) ... ok
test_hook_secured (test_before_start.TestHookBeforeStart) ... ok

----------------------------------------------------------------------
Ran 4 tests in 0.131s

OK
Running tests for stack:2.0.6 service:AMBARI_METRICS
test_start_default (test_metrics_collector.TestOozieClient) ... ok

----------------------------------------------------------------------
Ran 1 test in 0.092s

OK
Running tests for stack:2.0.6 service:GANGLIA
test_configure_default (test_ganglia_monitor.TestGangliaMonitor) ... ok
test_configure_non_gmetad_node (test_ganglia_monitor.TestGangliaMonitor) ... ok
test_install_default (test_ganglia_monitor.TestGangliaMonitor) ... ok
test_start_default (test_ganglia_monitor.TestGangliaMonitor) ... ok
test_stop_default (test_ganglia_monitor.TestGangliaMonitor) ... ok
test_configure_default (test_ganglia_server.TestGangliaServer) ... ok
test_install_default (test_ganglia_server.TestGangliaServer) ... ok
test_start_default (test_ganglia_server.TestGangliaServer) ... ok
test_stop_default (test_ganglia_server.TestGangliaServer) ... ok

----------------------------------------------------------------------
Ran 9 tests in 0.103s

OK
Running tests for stack:2.0.6 service:PIG
test_configure_default (test_pig_client.TestPigClient) ... ok
test_configure_default_hdp22 (test_pig_client.TestPigClient) ... ok
test_configure_secured (test_pig_client.TestPigClient) ... ok
test_pre_rolling_restart (test_pig_client.TestPigClient) ... 2015-09-24 17:10:28,291 - After hdp-select hadoop-client, reloaded module params_linux
2015-09-24 17:10:28,291 - After hdp-select hadoop-client, reloaded module params
ok
test_pre_rolling_restart_23 (test_pig_client.TestPigClient) ... 2015-09-24 17:10:28,298 - After hdp-select hadoop-client, reloaded module params_linux
2015-09-24 17:10:28,298 - After hdp-select hadoop-client, reloaded module params
ok
test_configure_default (test_pig_service_check.TestPigServiceCheck) ... ok
test_configure_secured (test_pig_service_check.TestPigServiceCheck) ... ok

----------------------------------------------------------------------
Ran 7 tests in 0.055s

OK
Running tests for stack:2.0.6 service:HDFS
test_all_dirs_on_root (test_alert_datanode_unmounted_data_dir.TestAlertDataNodeUnmountedDataDir) ... ok
test_critical_one_root_one_mounted (test_alert_datanode_unmounted_data_dir.TestAlertDataNodeUnmountedDataDir) ... ok
test_critical_unmounted (test_alert_datanode_unmounted_data_dir.TestAlertDataNodeUnmountedDataDir) ... ok
test_match_expected (test_alert_datanode_unmounted_data_dir.TestAlertDataNodeUnmountedDataDir) ... ok
test_missing_configs (test_alert_datanode_unmounted_data_dir.TestAlertDataNodeUnmountedDataDir) ... ok
test_mount_history_file_does_not_exist (test_alert_datanode_unmounted_data_dir.TestAlertDataNodeUnmountedDataDir) ... ok
test_generate_configs_default (test_hdfs_client.Test) ... ok
test_pre_rolling_restart (test_hdfs_client.Test) ... 2015-09-24 17:10:28,547 - After hdp-select hadoop-client, reloaded module status_params
2015-09-24 17:10:28,552 - After hdp-select hadoop-client, reloaded module params_linux
ok
2015-09-24 17:10:28,552 - After hdp-select hadoop-client, reloaded module params
test_pre_rolling_restart_23 (test_hdfs_client.Test) ... 2015-09-24 17:10:28,564 - After hdp-select hadoop-client, reloaded module status_params
2015-09-24 17:10:28,569 - After hdp-select hadoop-client, reloaded module params_linux
2015-09-24 17:10:28,570 - After hdp-select hadoop-client, reloaded module params
ok
test_security_status (test_hdfs_client.Test) ... ok
test_upgrade (test_hdfs_client.Test) ... 2015-09-24 17:10:28,607 - After hdp-select hadoop-client, reloaded module status_params
2015-09-24 17:10:28,612 - After hdp-select hadoop-client, reloaded module params_linux
2015-09-24 17:10:28,612 - After hdp-select hadoop-client, reloaded module params
ok
test_security_status (test_zkfc.TestZkfc) ... ok
test_start_default (test_zkfc.TestZkfc) ... ok
test_start_secured (test_zkfc.TestZkfc) ... ok
test_start_with_ha_active_namenode_bootstrap (test_zkfc.TestZkfc) ... 2015-09-24 17:10:28,691 - Initialize HA state in ZooKeeper: hdfs zkfc -formatZK -nonInteractive
2015-09-24 17:10:28,691 - Try 1 out of 10
2015-09-24 17:10:28,691 - HA state initialized in ZooKeeper successfully
ok
test_start_with_ha_standby_namenode_bootstrap (test_zkfc.TestZkfc) ... 2015-09-24 17:10:28,707 - Initialize HA state in ZooKeeper: hdfs zkfc -formatZK -nonInteractive
2015-09-24 17:10:28,707 - Try 1 out of 10
2015-09-24 17:10:28,707 - HA state initialized in ZooKeeper successfully
ok
test_stop_default (test_zkfc.TestZkfc) ... ok
test_stop_secured (test_zkfc.TestZkfc) ... ok
test_configure_default (test_snamenode.TestSNamenode) ... ok
test_configure_secured (test_snamenode.TestSNamenode) ... ok
test_security_status (test_snamenode.TestSNamenode) ... ok
test_start_default (test_snamenode.TestSNamenode) ... ok
test_start_secured (test_snamenode.TestSNamenode) ... ok
test_stop_default (test_snamenode.TestSNamenode) ... ok
test_stop_secured (test_snamenode.TestSNamenode) ... ok
test_configure_default (test_namenode.TestNamenode) ... ok
test_configure_secured (test_namenode.TestNamenode) ... ok
test_decommission_default (test_namenode.TestNamenode) ... ok
test_decommission_ha_default (test_namenode.TestNamenode) ... ok
test_decommission_secured (test_namenode.TestNamenode) ... ok
test_decommission_update_exclude_file_only (test_namenode.TestNamenode) ... ok
test_finalize_rolling_upgrade (test_namenode.TestNamenode) ... 2015-09-24 17:10:28,960 - Executing Rolling Upgrade finalize
ok
test_install_default (test_namenode.TestNamenode) ... 2015-09-24 17:10:28,975 - Node has all packages pre-installed. Skipping.
ok
test_post_rolling_restart (test_namenode.TestNamenode) ... 2015-09-24 17:10:28,986 - Executing Rolling Upgrade post-restart
ok
test_pre_rolling_restart (test_namenode.TestNamenode) ... 2015-09-24 17:10:28,998 - Executing Rolling Upgrade pre-restart
2015-09-24 17:10:29,006 - After hdp-select hadoop-hdfs-namenode, reloaded module status_params
2015-09-24 17:10:29,011 - After hdp-select hadoop-hdfs-namenode, reloaded module params_linux
2015-09-24 17:10:29,011 - After hdp-select hadoop-hdfs-namenode, reloaded module params
ok
test_pre_rolling_restart_21_and_lower_params (test_namenode.TestNamenode) ... 2015-09-24 17:10:29,014 - Executing Rolling Upgrade pre-restart
2015-09-24 17:10:29,022 - After hdp-select hadoop-hdfs-namenode, reloaded module status_params
ok
test_pre_rolling_restart_22_params (test_namenode.TestNamenode) ... 2015-09-24 17:10:29,027 - After hdp-select hadoop-hdfs-namenode, reloaded module params_linux
2015-09-24 17:10:29,028 - After hdp-select hadoop-hdfs-namenode, reloaded module params
2015-09-24 17:10:29,030 - Executing Rolling Upgrade pre-restart
ok
test_pre_rolling_restart_23 (test_namenode.TestNamenode) ... 2015-09-24 17:10:29,042 - Executing Rolling Upgrade pre-restart
2015-09-24 17:10:29,050 - After hdp-select hadoop-hdfs-namenode, reloaded module status_params
ok
test_pre_rolling_restart_23_params (test_namenode.TestNamenode) ... 2015-09-24 17:10:29,055 - After hdp-select hadoop-hdfs-namenode, reloaded module params_linux
2015-09-24 17:10:29,056 - After hdp-select hadoop-hdfs-namenode, reloaded module params
2015-09-24 17:10:29,061 - Executing Rolling Upgrade pre-restart
2015-09-24 17:10:29,063 - Skipping get_hdp_version since hdp-select is not yet available
2015-09-24 17:10:29,063 - Unable to determine hdp-select version for hadoop-hdfs-namenode
2015-09-24 17:10:29,064 - Skipping get_hdp_version since hdp-select is not yet available
2015-09-24 17:10:29,064 - Unable to determine hdp-select version for hadoop-hdfs-namenode
2015-09-24 17:10:29,064 - Skipping get_hdp_version since hdp-select is not yet available
2015-09-24 17:10:29,064 - Unable to determine hdp-select version for hadoop-hdfs-namenode
2015-09-24 17:10:29,065 - Skipping get_hdp_version since hdp-select is not yet available
2015-09-24 17:10:29,065 - Unable to determine hdp-select version for hadoop-hdfs-namenode
2015-09-24 17:10:29,065 - Skipping get_hdp_version since hdp-select is not yet available
2015-09-24 17:10:29,065 - Unable to determine hdp-select version for hadoop-hdfs-namenode
2015-09-24 17:10:29,066 - Skipping get_hdp_version since hdp-select is not yet available
2015-09-24 17:10:29,066 - Unable to determine hdp-select version for hadoop-hdfs-namenode
2015-09-24 17:10:29,066 - Skipping get_hdp_version since hdp-select is not yet available
2015-09-24 17:10:29,066 - Unable to determine hdp-select version for hadoop-hdfs-namenode
2015-09-24 17:10:29,071 - Skipping get_hdp_version since hdp-select is not yet available
2015-09-24 17:10:29,071 - Unable to determine hdp-select version for hadoop-hdfs-namenode
2015-09-24 17:10:29,071 - After hdp-select hadoop-hdfs-namenode, reloaded module status_params
2015-09-24 17:10:29,073 - Skipping get_hdp_version since hdp-select is not yet available
2015-09-24 17:10:29,073 - Unable to determine hdp-select version for hadoop-hdfs-namenode
2015-09-24 17:10:29,073 - Skipping get_hdp_version since hdp-select is not yet available
2015-09-24 17:10:29,073 - Unable to determine hdp-select version for hadoop-hdfs-namenode
2015-09-24 17:10:29,074 - Skipping get_hdp_version since hdp-select is not yet available
2015-09-24 17:10:29,074 - Unable to determine hdp-select version for hadoop-hdfs-namenode
2015-09-24 17:10:29,074 - Skipping get_hdp_version since hdp-select is not yet available
2015-09-24 17:10:29,074 - Unable to determine hdp-select version for hadoop-hdfs-namenode
2015-09-24 17:10:29,075 - Skipping get_hdp_version since hdp-select is not yet available
2015-09-24 17:10:29,075 - Unable to determine hdp-select version for hadoop-hdfs-namenode
2015-09-24 17:10:29,075 - Skipping get_hdp_version since hdp-select is not yet available
2015-09-24 17:10:29,075 - Unable to determine hdp-select version for hadoop-hdfs-namenode
2015-09-24 17:10:29,079 - After hdp-select hadoop-hdfs-namenode, reloaded module params_linux
2015-09-24 17:10:29,079 - After hdp-select hadoop-hdfs-namenode, reloaded module params
ok
test_prepare_rolling_upgrade__downgrade (test_namenode.TestNamenode) ... 2015-09-24 17:10:29,088 - Performing a(n) downgrade of HDFS
ok
test_prepare_rolling_upgrade__upgrade (test_namenode.TestNamenode) ... 2015-09-24 17:10:29,097 - Performing a(n) upgrade of HDFS
2015-09-24 17:10:29,097 - Prepare to transition into safemode state OFF
2015-09-24 17:10:29,098 - Command: hdfs dfsadmin -safemode get
Code: 0.
2015-09-24 17:10:29,098 - Safe mode is OFF in c6401.ambari.apache.org
ok
test_ranger_installed_missing_file (test_namenode.TestNamenode) ... ok
test_rebalance_hdfs (test_namenode.TestNamenode) ... Starting balancer with threshold = -1
Executing command ambari-sudo.sh su hdfs -l -s /bin/bash -c 'export  PATH=/bin:/usr/bin ; hdfs --config /etc/hadoop/conf balancer -threshold -1'
ok
test_rebalance_secured_hdfs (test_namenode.TestNamenode) ... ok
test_security_status (test_namenode.TestNamenode) ... Starting balancer with threshold = -1
Executing command ambari-sudo.sh su hdfs -l -s /bin/bash -c 'export  PATH=/bin:/usr/bin KRB5CCNAME=/tmp/ambari-test/hdfs_rebalance_cc_7add60ca651f1bd1ed909a6668937ba9 ; hdfs --config /etc/hadoop/conf balancer -threshold -1'
ok
test_start_default (test_namenode.TestNamenode) ... 2015-09-24 17:10:29,159 - Ranger admin not installed
2015-09-24 17:10:29,161 - Must wait to leave safemode since High Availability is not enabled.
2015-09-24 17:10:29,161 - Checking the NameNode safemode status since may need to transition from ON to OFF.
ok
test_start_default_alt_fs (test_namenode.TestNamenode) ... 2015-09-24 17:10:29,182 - Ranger admin not installed
2015-09-24 17:10:29,184 - Must wait to leave safemode since High Availability is not enabled.
2015-09-24 17:10:29,184 - Checking the NameNode safemode status since may need to transition from ON to OFF.
ok
test_start_ha_bootstrap_active_from_blueprint (test_namenode.TestNamenode) ... 2015-09-24 17:10:29,207 - Ranger admin not installed
2015-09-24 17:10:29,227 - Must wait to leave safemode since High Availability is enabled and this is the Active NameNode.
2015-09-24 17:10:29,227 - Checking the NameNode safemode status since may need to transition from ON to OFF.
ok
test_start_ha_bootstrap_standby_from_blueprint (test_namenode.TestNamenode) ... 2015-09-24 17:10:29,248 - Ranger admin not installed
2015-09-24 17:10:29,249 - Boostrapping standby namenode: hdfs namenode -bootstrapStandby -nonInteractive
2015-09-24 17:10:29,249 - Try 1 out of 50
2015-09-24 17:10:29,249 - Standby namenode bootstrapped successfully
2015-09-24 17:10:29,250 - Must wait to leave safemode since High Availability is enabled and this is the Active NameNode.
2015-09-24 17:10:29,250 - Checking the NameNode safemode status since may need to transition from ON to OFF.
ok
test_start_ha_bootstrap_standby_from_blueprint_initial_start (test_namenode.TestNamenode) ... 2015-09-24 17:10:29,271 - Ranger admin not installed
2015-09-24 17:10:29,272 - Boostrapping standby namenode: hdfs namenode -bootstrapStandby -nonInteractive -force
2015-09-24 17:10:29,272 - Try 1 out of 50
2015-09-24 17:10:29,272 - Bootstrap standby namenode failed with 1 error code. Will retry
2015-09-24 17:10:29,272 - Try 2 out of 50
2015-09-24 17:10:29,272 - Standby namenode bootstrapped successfully
2015-09-24 17:10:29,273 - Must wait to leave safemode since High Availability is enabled and this is the Active NameNode.
2015-09-24 17:10:29,273 - Checking the NameNode safemode status since may need to transition from ON to OFF.
ok
test_start_ha_default (test_namenode.TestNamenode) ... 2015-09-24 17:10:29,292 - Ranger admin not installed
2015-09-24 17:10:29,293 - Must wait to leave safemode since High Availability is enabled and this is the Active NameNode.
2015-09-24 17:10:29,293 - Checking the NameNode safemode status since may need to transition from ON to OFF.
ok
test_start_ha_secured (test_namenode.TestNamenode) ... 2015-09-24 17:10:29,314 - Ranger admin not installed
2015-09-24 17:10:29,316 - Must wait to leave safemode since High Availability is enabled and this is the Active NameNode.
2015-09-24 17:10:29,316 - Checking the NameNode safemode status since may need to transition from ON to OFF.
ok
test_start_secured (test_namenode.TestNamenode) ... 2015-09-24 17:10:29,336 - Ranger admin not installed
2015-09-24 17:10:29,337 - Must wait to leave safemode since High Availability is not enabled.
2015-09-24 17:10:29,337 - Checking the NameNode safemode status since may need to transition from ON to OFF.
ok
test_stop_default (test_namenode.TestNamenode) ... ok
test_stop_secured (test_namenode.TestNamenode) ... ok
test_upgrade_restart (test_namenode.TestNamenode) ... 2015-09-24 17:10:29,369 - Skipping get_hdp_version since hdp-select is not yet available
2015-09-24 17:10:29,369 - Unable to determine hdp-select version for hadoop-hdfs-namenode
2015-09-24 17:10:29,369 - Skipping get_hdp_version since hdp-select is not yet available
2015-09-24 17:10:29,370 - Unable to determine hdp-select version for hadoop-hdfs-namenode
2015-09-24 17:10:29,370 - Skipping get_hdp_version since hdp-select is not yet available
2015-09-24 17:10:29,370 - Unable to determine hdp-select version for hadoop-hdfs-namenode
2015-09-24 17:10:29,370 - Skipping get_hdp_version since hdp-select is not yet available
2015-09-24 17:10:29,370 - Unable to determine hdp-select version for hadoop-hdfs-namenode
2015-09-24 17:10:29,371 - Skipping get_hdp_version since hdp-select is not yet available
2015-09-24 17:10:29,371 - Unable to determine hdp-select version for hadoop-hdfs-namenode
2015-09-24 17:10:29,375 - Namenode service state: unknown
2015-09-24 17:10:29,375 - Executing Rolling Upgrade pre-restart
2015-09-24 17:10:29,377 - After hdp-select hadoop-hdfs-namenode, reloaded module status_params
2015-09-24 17:10:29,379 - Skipping get_hdp_version since hdp-select is not yet available
2015-09-24 17:10:29,379 - Unable to determine hdp-select version for hadoop-hdfs-namenode
2015-09-24 17:10:29,379 - Skipping get_hdp_version since hdp-select is not yet available
2015-09-24 17:10:29,379 - Unable to determine hdp-select version for hadoop-hdfs-namenode
2015-09-24 17:10:29,380 - Skipping get_hdp_version since hdp-select is not yet available
2015-09-24 17:10:29,380 - Unable to determine hdp-select version for hadoop-hdfs-namenode
2015-09-24 17:10:29,380 - Skipping get_hdp_version since hdp-select is not yet available
2015-09-24 17:10:29,380 - Unable to determine hdp-select version for hadoop-hdfs-namenode
2015-09-24 17:10:29,381 - Skipping get_hdp_version since hdp-select is not yet available
2015-09-24 17:10:29,381 - Unable to determine hdp-select version for hadoop-hdfs-namenode
2015-09-24 17:10:29,384 - After hdp-select hadoop-hdfs-namenode, reloaded module params_linux
2015-09-24 17:10:29,385 - After hdp-select hadoop-hdfs-namenode, reloaded module params
2015-09-24 17:10:29,389 - Ranger admin not installed
2015-09-24 17:10:29,390 - Performing action start on zkfc.
2015-09-24 17:10:29,390 - Pid file /var/run/hadoop/hdfs/hadoop-hdfs-zkfc.pid is empty or does not exist
2015-09-24 17:10:29,395 - Must wait to leave safemode since High Availability is enabled and this is the Active NameNode.
2015-09-24 17:10:29,395 - Checking the NameNode safemode status since may need to transition from ON to OFF.
2015-09-24 17:10:29,395 - Executing Rolling Upgrade post-restart
ok
test_configure_default (test_nfsgateway.TestNFSGateway) ... ok
test_configure_secured (test_nfsgateway.TestNFSGateway) ... ok
test_pre_rolling_restart (test_nfsgateway.TestNFSGateway) ... 2015-09-24 17:10:29,453 - After hdp-select hadoop-hdfs-nfs3, reloaded module status_params
2015-09-24 17:10:29,458 - After hdp-select hadoop-hdfs-nfs3, reloaded module params_linux
2015-09-24 17:10:29,458 - After hdp-select hadoop-hdfs-nfs3, reloaded module params
ok
test_security_status (test_nfsgateway.TestNFSGateway) ... ok
test_start_default (test_nfsgateway.TestNFSGateway) ... ok
test_start_secured (test_nfsgateway.TestNFSGateway) ... ok
test_stop_default (test_nfsgateway.TestNFSGateway) ... ok
test_stop_secured (test_nfsgateway.TestNFSGateway) ... ok
test_configure_default (test_journalnode.TestJournalnode) ... ok
test_configure_secured (test_journalnode.TestJournalnode) ... ok
test_post_rolling_restart (test_journalnode.TestJournalnode) ... 2015-09-24 17:10:29,574 - Executing Rolling Upgrade post-restart
2015-09-24 17:10:29,576 - Skipping get_hdp_version since hdp-select is not yet available
2015-09-24 17:10:29,577 - Unable to determine hdp-select version for hadoop-hdfs-journalnode
2015-09-24 17:10:29,577 - Skipping get_hdp_version since hdp-select is not yet available
2015-09-24 17:10:29,577 - Unable to determine hdp-select version for hadoop-hdfs-journalnode
2015-09-24 17:10:29,577 - Skipping get_hdp_version since hdp-select is not yet available
2015-09-24 17:10:29,577 - Unable to determine hdp-select version for hadoop-hdfs-journalnode
2015-09-24 17:10:29,577 - Skipping get_hdp_version since hdp-select is not yet available
2015-09-24 17:10:29,578 - Unable to determine hdp-select version for hadoop-hdfs-journalnode
2015-09-24 17:10:29,578 - Skipping get_hdp_version since hdp-select is not yet available
2015-09-24 17:10:29,578 - Unable to determine hdp-select version for hadoop-hdfs-journalnode
2015-09-24 17:10:29,582 - Ensuring Journalnode quorum is established
2015-09-24 17:10:29,583 - Could not get namenode state for nn1
2015-09-24 17:10:29,584 - Could not get namenode state for nn2
2015-09-24 17:10:29,584 - Namenode HA State: {
IDs: nn1, nn2
Addresses: {u'nn2': (u'c6407.ambari.apache.org:50070', u'c6407.ambari.apache.org:50470'), u'nn1': (u'c6406.ambari.apache.org:50070', u'c6406.ambari.apache.org:50470')}
States: {}
Encrypted: False
Healthy: False
}
2015-09-24 17:10:29,585 - Retrieve modeler: org.apache.hadoop.hdfs.server.namenode.FSNamesystem, metric: JournalTransactionInfo from JMX endpoint http://c6406.ambari.apache.org/jmx
2015-09-24 17:10:29,583 - Could not get namenode state for nn1
2015-09-24 17:10:29,584 - Could not get namenode state for nn2
2015-09-24 17:10:29,595 - Checking if all Journalnodes are updated.
2015-09-24 17:10:29,596 - Try 1 out of 18
2015-09-24 17:10:29,596 - Retrieve modeler: Journal-, metric: LastWrittenTxId from JMX endpoint http://c6408.ambari.apache.org:8480/jmx
2015-09-24 17:10:29,605 - Journalnode c6408.ambari.apache.org has a higher transaction id: 1001
2015-09-24 17:10:29,605 - Retrieve modeler: Journal-, metric: LastWrittenTxId from JMX endpoint http://c6407.ambari.apache.org:8480/jmx
2015-09-24 17:10:29,615 - Retrieve modeler: Journal-, metric: LastWrittenTxId from JMX endpoint http://c6406.ambari.apache.org:8480/jmx
2015-09-24 17:10:29,624 - Journalnode c6406.ambari.apache.org has a higher transaction id: 1001
2015-09-24 17:10:29,624 - Sleeping for 10 secs
2015-09-24 17:10:29,625 - Try 2 out of 18
2015-09-24 17:10:29,625 - Retrieve modeler: Journal-, metric: LastWrittenTxId from JMX endpoint http://c6407.ambari.apache.org:8480/jmx
2015-09-24 17:10:29,635 - Sleeping for 10 secs
2015-09-24 17:10:29,635 - Try 3 out of 18
2015-09-24 17:10:29,636 - Retrieve modeler: Journal-, metric: LastWrittenTxId from JMX endpoint http://c6407.ambari.apache.org:8480/jmx
2015-09-24 17:10:29,645 - Journalnode c6407.ambari.apache.org has a higher transaction id: 1001
2015-09-24 17:10:29,645 - All journal nodes are updated
2015-09-24 17:10:29,649 - Executing Rolling Upgrade post-restart
2015-09-24 17:10:29,652 - Skipping get_hdp_version since hdp-select is not yet available
2015-09-24 17:10:29,652 - Unable to determine hdp-select version for hadoop-hdfs-journalnode
2015-09-24 17:10:29,653 - Skipping get_hdp_version since hdp-select is not yet available
2015-09-24 17:10:29,653 - Unable to determine hdp-select version for hadoop-hdfs-journalnode
2015-09-24 17:10:29,653 - Skipping get_hdp_version since hdp-select is not yet available
2015-09-24 17:10:29,653 - Unable to determine hdp-select version for hadoop-hdfs-journalnode
2015-09-24 17:10:29,654 - Skipping get_hdp_version since hdp-select is not yet available
2015-09-24 17:10:29,654 - Unable to determine hdp-select version for hadoop-hdfs-journalnode
2015-09-24 17:10:29,654 - Skipping get_hdp_version since hdp-select is not yet available
2015-09-24 17:10:29,654 - Unable to determine hdp-select version for hadoop-hdfs-journalnode
2015-09-24 17:10:29,659 - Ensuring Journalnode quorum is established
2015-09-24 17:10:29,660 - Could not get namenode state for nn1
2015-09-24 17:10:29,660 - Could not get namenode state for nn2
2015-09-24 17:10:29,661 - Namenode HA State: {
IDs: nn1, nn2
Addresses: {u'nn2': (u'c6407.ambari.apache.org:50070', u'c6407.ambari.apache.org:50470'), u'nn1': (u'c6406.ambari.apache.org:50070', u'c6406.ambari.apache.org:50470')}
States: {}
Encrypted: True
Healthy: False
}
2015-09-24 17:10:29,661 - Retrieve modeler: org.apache.hadoop.hdfs.server.namenode.FSNamesystem, metric: JournalTransactionInfo from JMX endpoint https://c6406.ambari.apache.org/jmx
2015-09-24 17:10:29,660 - Could not get namenode state for nn1
2015-09-24 17:10:29,660 - Could not get namenode state for nn2
2015-09-24 17:10:29,671 - Checking if all Journalnodes are updated.
2015-09-24 17:10:29,671 - Try 1 out of 18
2015-09-24 17:10:29,671 - Retrieve modeler: Journal-, metric: LastWrittenTxId from JMX endpoint https://c6408.ambari.apache.org:8481/jmx
2015-09-24 17:10:29,680 - Journalnode c6408.ambari.apache.org has a higher transaction id: 1001
2015-09-24 17:10:29,680 - Retrieve modeler: Journal-, metric: LastWrittenTxId from JMX endpoint https://c6407.ambari.apache.org:8481/jmx
2015-09-24 17:10:29,691 - Retrieve modeler: Journal-, metric: LastWrittenTxId from JMX endpoint https://c6406.ambari.apache.org:8481/jmx
2015-09-24 17:10:29,700 - Journalnode c6406.ambari.apache.org has a higher transaction id: 1001
2015-09-24 17:10:29,700 - Sleeping for 10 secs
2015-09-24 17:10:29,700 - Try 2 out of 18
2015-09-24 17:10:29,700 - Retrieve modeler: Journal-, metric: LastWrittenTxId from JMX endpoint https://c6407.ambari.apache.org:8481/jmx
2015-09-24 17:10:29,711 - Sleeping for 10 secs
2015-09-24 17:10:29,711 - Try 3 out of 18
2015-09-24 17:10:29,711 - Retrieve modeler: Journal-, metric: LastWrittenTxId from JMX endpoint https://c6407.ambari.apache.org:8481/jmx
ok
test_post_rolling_restart_bad_jmx (test_journalnode.TestJournalnode) ... 2015-09-24 17:10:29,719 - Journalnode c6407.ambari.apache.org has a higher transaction id: 1001
2015-09-24 17:10:29,719 - All journal nodes are updated
2015-09-24 17:10:29,724 - Executing Rolling Upgrade post-restart
2015-09-24 17:10:29,726 - Skipping get_hdp_version since hdp-select is not yet available
2015-09-24 17:10:29,727 - Unable to determine hdp-select version for hadoop-hdfs-journalnode
2015-09-24 17:10:29,727 - Skipping get_hdp_version since hdp-select is not yet available
2015-09-24 17:10:29,727 - Unable to determine hdp-select version for hadoop-hdfs-journalnode
2015-09-24 17:10:29,727 - Skipping get_hdp_version since hdp-select is not yet available
2015-09-24 17:10:29,727 - Unable to determine hdp-select version for hadoop-hdfs-journalnode
2015-09-24 17:10:29,728 - Skipping get_hdp_version since hdp-select is not yet available
2015-09-24 17:10:29,728 - Unable to determine hdp-select version for hadoop-hdfs-journalnode
2015-09-24 17:10:29,728 - Skipping get_hdp_version since hdp-select is not yet available
2015-09-24 17:10:29,728 - Unable to determine hdp-select version for hadoop-hdfs-journalnode
2015-09-24 17:10:29,732 - Ensuring Journalnode quorum is established
2015-09-24 17:10:29,733 - Could not get namenode state for nn1
2015-09-24 17:10:29,733 - Could not get namenode state for nn2
2015-09-24 17:10:29,733 - Namenode HA State: {
IDs: nn1, nn2
Addresses: {u'nn2': (u'c6407.ambari.apache.org:50070', u'c6407.ambari.apache.org:50470'), u'nn1': (u'c6406.ambari.apache.org:50070', u'c6406.ambari.apache.org:50470')}
States: {}
Encrypted: False
Healthy: False
}
2015-09-24 17:10:29,736 - Executing Rolling Upgrade pre-restart
2015-09-24 17:10:29,733 - Could not get namenode state for nn1
2015-09-24 17:10:29,733 - Could not get namenode state for nn2
ok
test_pre_rolling_restart (test_journalnode.TestJournalnode) ... 2015-09-24 17:10:29,744 - After hdp-select hadoop-hdfs-journalnode, reloaded module status_params
2015-09-24 17:10:29,749 - After hdp-select hadoop-hdfs-journalnode, reloaded module params_linux
2015-09-24 17:10:29,749 - After hdp-select hadoop-hdfs-journalnode, reloaded module params
ok
test_pre_rolling_restart_23 (test_journalnode.TestJournalnode) ... 2015-09-24 17:10:29,753 - Executing Rolling Upgrade pre-restart
2015-09-24 17:10:29,759 - After hdp-select hadoop-hdfs-journalnode, reloaded module status_params
2015-09-24 17:10:29,763 - After hdp-select hadoop-hdfs-journalnode, reloaded module params_linux
ok
test_security_status (test_journalnode.TestJournalnode) ... 2015-09-24 17:10:29,764 - After hdp-select hadoop-hdfs-journalnode, reloaded module params
ok
test_start_default (test_journalnode.TestJournalnode) ... ok
test_start_secured (test_journalnode.TestJournalnode) ... ok
test_stop_default (test_journalnode.TestJournalnode) ... ok
test_stop_secured (test_journalnode.TestJournalnode) ... ok
test_configure_default (test_datanode.TestDatanode) ... 2015-09-24 17:10:29,913 - Encountered error while attempting to save DFS data dir mount mount values to file /etc/hadoop/conf/dfs_data_dir_mount.hist
2015-09-24 17:10:29,909 - DataNode is allowed to create any data directory since dfs.datanode.data.dir.mount.file property has file /etc/hadoop/conf/dfs_data_dir_mount.hist and it does not exist.
2015-09-24 17:10:29,909 - Forcefully creating directory: /hadoop/hdfs/data
2015-09-24 17:10:29,913 - Host contains mounts: ['/sys', '/proc', '/dev', '/dev/pts', '/run', '/', '/sys/kernel/security', '/dev/shm', '/run/lock', '/sys/fs/cgroup', '/sys/fs/cgroup/systemd', '/sys/fs/pstore', '/sys/fs/cgroup/net_cls,net_prio', '/sys/fs/cgroup/devices', '/sys/fs/cgroup/cpu,cpuacct', '/sys/fs/cgroup/blkio', '/sys/fs/cgroup/hugetlb', '/sys/fs/cgroup/cpuset', '/sys/fs/cgroup/freezer', '/sys/fs/cgroup/memory', '/sys/fs/cgroup/perf_event', '/proc/sys/fs/binfmt_misc', '/dev/mqueue', '/sys/kernel/debug', '/dev/hugepages', '/sys/fs/fuse/connections', '/run/cgmanager/fs', '/var/lib/lxcfs', '/proc/sys/fs/binfmt_misc', '/run/user/1000', '/run/user/104', '/run/user/1000/gvfs'].
2015-09-24 17:10:29,913 - Encountered error while attempting to save DFS data dir mount mount values to file /etc/hadoop/conf/dfs_data_dir_mount.hist
ok
test_configure_secured (test_datanode.TestDatanode) ... 2015-09-24 17:10:29,931 - DataNode is allowed to create any data directory since dfs.datanode.data.dir.mount.file property has file /etc/hadoop/conf/dfs_data_dir_mount.hist and it does not exist.
2015-09-24 17:10:29,931 - Forcefully creating directory: /hadoop/hdfs/data
2015-09-24 17:10:29,935 - Host contains mounts: ['/sys', '/proc', '/dev', '/dev/pts', '/run', '/', '/sys/kernel/security', '/dev/shm', '/run/lock', '/sys/fs/cgroup', '/sys/fs/cgroup/systemd', '/sys/fs/pstore', '/sys/fs/cgroup/net_cls,net_prio', '/sys/fs/cgroup/devices', '/sys/fs/cgroup/cpu,cpuacct', '/sys/fs/cgroup/blkio', '/sys/fs/cgroup/hugetlb', '/sys/fs/cgroup/cpuset', '/sys/fs/cgroup/freezer', '/sys/fs/cgroup/memory', '/sys/fs/cgroup/perf_event', '/proc/sys/fs/binfmt_misc', '/dev/mqueue', '/sys/kernel/debug', '/dev/hugepages', '/sys/fs/fuse/connections', '/run/cgmanager/fs', '/var/lib/lxcfs', '/proc/sys/fs/binfmt_misc', '/run/user/1000', '/run/user/104', '/run/user/1000/gvfs'].
2015-09-24 17:10:29,935 - Encountered error while attempting to save DFS data dir mount mount values to file /etc/hadoop/conf/dfs_data_dir_mount.hist
2015-09-24 17:10:29,935 - Encountered error while attempting to save DFS data dir mount mount values to file /etc/hadoop/conf/dfs_data_dir_mount.hist
ok
test_post_rolling_restart (test_datanode.TestDatanode) ... 2015-09-24 17:10:29,944 - Executing DataNode Rolling Upgrade post-restart
ok
test_post_rolling_restart_bad_returncode (test_datanode.TestDatanode) ... 2015-09-24 17:10:29,953 - Checking that the DataNode has rejoined the cluster after upgrade...
2015-09-24 17:10:29,953 - DataNode c6401.ambari.apache.org reports that it has rejoined the cluster.
2015-09-24 17:10:29,956 - Executing DataNode Rolling Upgrade post-restart
2015-09-24 17:10:29,962 - Checking that the DataNode has rejoined the cluster after upgrade...
2015-09-24 17:10:29,962 - Will retry 11 time(s), caught exception: DataNode c6401.ambari.apache.org was not found in the list of live DataNodes. Sleeping for 10 sec(s)
2015-09-24 17:10:29,963 - Will retry 10 time(s), caught exception: Unable to determine if the DataNode has started after upgrade.. Sleeping for 10 sec(s)
2015-09-24 17:10:29,963 - Will retry 9 time(s), caught exception: Unable to determine if the DataNode has started after upgrade.. Sleeping for 10 sec(s)
2015-09-24 17:10:29,963 - Will retry 8 time(s), caught exception: Unable to determine if the DataNode has started after upgrade.. Sleeping for 10 sec(s)
2015-09-24 17:10:29,963 - Will retry 7 time(s), caught exception: Unable to determine if the DataNode has started after upgrade.. Sleeping for 10 sec(s)
2015-09-24 17:10:29,963 - Will retry 6 time(s), caught exception: Unable to determine if the DataNode has started after upgrade.. Sleeping for 10 sec(s)
2015-09-24 17:10:29,963 - Will retry 5 time(s), caught exception: Unable to determine if the DataNode has started after upgrade.. Sleeping for 10 sec(s)
2015-09-24 17:10:29,963 - Will retry 4 time(s), caught exception: Unable to determine if the DataNode has started after upgrade.. Sleeping for 10 sec(s)
2015-09-24 17:10:29,964 - Will retry 3 time(s), caught exception: Unable to determine if the DataNode has started after upgrade.. Sleeping for 10 sec(s)
2015-09-24 17:10:29,964 - Will retry 2 time(s), caught exception: Unable to determine if the DataNode has started after upgrade.. Sleeping for 10 sec(s)
2015-09-24 17:10:29,964 - Will retry 1 time(s), caught exception: Unable to determine if the DataNode has started after upgrade.. Sleeping for 10 sec(s)
ok
test_post_rolling_restart_datanode_not_ready (test_datanode.TestDatanode) ... 2015-09-24 17:10:29,967 - Executing DataNode Rolling Upgrade post-restart
ok
test_pre_rolling_restart (test_datanode.TestDatanode) ... 2015-09-24 17:10:29,973 - Checking that the DataNode has rejoined the cluster after upgrade...
2015-09-24 17:10:29,974 - Will retry 11 time(s), caught exception: DataNode c6401.ambari.apache.org was not found in the list of live DataNodes. Sleeping for 10 sec(s)
2015-09-24 17:10:29,974 - Will retry 10 time(s), caught exception: Unable to determine if the DataNode has started after upgrade.. Sleeping for 10 sec(s)
2015-09-24 17:10:29,974 - Will retry 9 time(s), caught exception: Unable to determine if the DataNode has started after upgrade.. Sleeping for 10 sec(s)
2015-09-24 17:10:29,974 - Will retry 8 time(s), caught exception: Unable to determine if the DataNode has started after upgrade.. Sleeping for 10 sec(s)
2015-09-24 17:10:29,974 - Will retry 7 time(s), caught exception: Unable to determine if the DataNode has started after upgrade.. Sleeping for 10 sec(s)
2015-09-24 17:10:29,974 - Will retry 6 time(s), caught exception: Unable to determine if the DataNode has started after upgrade.. Sleeping for 10 sec(s)
2015-09-24 17:10:29,974 - Will retry 5 time(s), caught exception: Unable to determine if the DataNode has started after upgrade.. Sleeping for 10 sec(s)
2015-09-24 17:10:29,975 - Will retry 4 time(s), caught exception: Unable to determine if the DataNode has started after upgrade.. Sleeping for 10 sec(s)
2015-09-24 17:10:29,975 - Will retry 3 time(s), caught exception: Unable to determine if the DataNode has started after upgrade.. Sleeping for 10 sec(s)
2015-09-24 17:10:29,975 - Will retry 2 time(s), caught exception: Unable to determine if the DataNode has started after upgrade.. Sleeping for 10 sec(s)
2015-09-24 17:10:29,975 - Will retry 1 time(s), caught exception: Unable to determine if the DataNode has started after upgrade.. Sleeping for 10 sec(s)
2015-09-24 17:10:29,978 - Executing DataNode Rolling Upgrade pre-restart
2015-09-24 17:10:29,985 - After hdp-select hadoop-hdfs-datanode, reloaded module status_params
ok
test_pre_rolling_restart_23 (test_datanode.TestDatanode) ... 2015-09-24 17:10:29,990 - After hdp-select hadoop-hdfs-datanode, reloaded module params_linux
2015-09-24 17:10:29,991 - After hdp-select hadoop-hdfs-datanode, reloaded module params
2015-09-24 17:10:29,995 - Executing DataNode Rolling Upgrade pre-restart
2015-09-24 17:10:30,004 - After hdp-select hadoop-hdfs-datanode, reloaded module status_params
2015-09-24 17:10:30,009 - After hdp-select hadoop-hdfs-datanode, reloaded module params_linux
2015-09-24 17:10:30,009 - After hdp-select hadoop-hdfs-datanode, reloaded module params
ok
test_security_status (test_datanode.TestDatanode) ... ok
test_start_default (test_datanode.TestDatanode) ... 2015-09-24 17:10:30,049 - DataNode is allowed to create any data directory since dfs.datanode.data.dir.mount.file property has file /etc/hadoop/conf/dfs_data_dir_mount.hist and it does not exist.
2015-09-24 17:10:30,049 - Forcefully creating directory: /hadoop/hdfs/data
2015-09-24 17:10:30,053 - Encountered error while attempting to save DFS data dir mount mount values to file /etc/hadoop/conf/dfs_data_dir_mount.hist
2015-09-24 17:10:30,053 - Host contains mounts: ['/sys', '/proc', '/dev', '/dev/pts', '/run', '/', '/sys/kernel/security', '/dev/shm', '/run/lock', '/sys/fs/cgroup', '/sys/fs/cgroup/systemd', '/sys/fs/pstore', '/sys/fs/cgroup/net_cls,net_prio', '/sys/fs/cgroup/devices', '/sys/fs/cgroup/cpu,cpuacct', '/sys/fs/cgroup/blkio', '/sys/fs/cgroup/hugetlb', '/sys/fs/cgroup/cpuset', '/sys/fs/cgroup/freezer', '/sys/fs/cgroup/memory', '/sys/fs/cgroup/perf_event', '/proc/sys/fs/binfmt_misc', '/dev/mqueue', '/sys/kernel/debug', '/dev/hugepages', '/sys/fs/fuse/connections', '/run/cgmanager/fs', '/var/lib/lxcfs', '/proc/sys/fs/binfmt_misc', '/run/user/1000', '/run/user/104', '/run/user/1000/gvfs'].
2015-09-24 17:10:30,053 - Encountered error while attempting to save DFS data dir mount mount values to file /etc/hadoop/conf/dfs_data_dir_mount.hist
ok
test_start_secured (test_datanode.TestDatanode) ... 2015-09-24 17:10:30,074 - DataNode is allowed to create any data directory since dfs.datanode.data.dir.mount.file property has file /etc/hadoop/conf/dfs_data_dir_mount.hist and it does not exist.
2015-09-24 17:10:30,074 - Forcefully creating directory: /hadoop/hdfs/data
2015-09-24 17:10:30,078 - Encountered error while attempting to save DFS data dir mount mount values to file /etc/hadoop/conf/dfs_data_dir_mount.hist
2015-09-24 17:10:30,078 - Host contains mounts: ['/sys', '/proc', '/dev', '/dev/pts', '/run', '/', '/sys/kernel/security', '/dev/shm', '/run/lock', '/sys/fs/cgroup', '/sys/fs/cgroup/systemd', '/sys/fs/pstore', '/sys/fs/cgroup/net_cls,net_prio', '/sys/fs/cgroup/devices', '/sys/fs/cgroup/cpu,cpuacct', '/sys/fs/cgroup/blkio', '/sys/fs/cgroup/hugetlb', '/sys/fs/cgroup/cpuset', '/sys/fs/cgroup/freezer', '/sys/fs/cgroup/memory', '/sys/fs/cgroup/perf_event', '/proc/sys/fs/binfmt_misc', '/dev/mqueue', '/sys/kernel/debug', '/dev/hugepages', '/sys/fs/fuse/connections', '/run/cgmanager/fs', '/var/lib/lxcfs', '/proc/sys/fs/binfmt_misc', '/run/user/1000', '/run/user/104', '/run/user/1000/gvfs'].
2015-09-24 17:10:30,078 - Encountered error while attempting to save DFS data dir mount mount values to file /etc/hadoop/conf/dfs_data_dir_mount.hist
ok
test_start_secured_HDP22_non_root_https_only (test_datanode.TestDatanode) ... 2015-09-24 17:10:30,100 - DataNode is allowed to create any data directory since dfs.datanode.data.dir.mount.file property has file /etc/hadoop/conf/dfs_data_dir_mount.hist and it does not exist.
2015-09-24 17:10:30,100 - Forcefully creating directory: /hadoop/hdfs/data
2015-09-24 17:10:30,103 - Host contains mounts: ['/sys', '/proc', '/dev', '/dev/pts', '/run', '/', '/sys/kernel/security', '/dev/shm', '/run/lock', '/sys/fs/cgroup', '/sys/fs/cgroup/systemd', '/sys/fs/pstore', '/sys/fs/cgroup/net_cls,net_prio', '/sys/fs/cgroup/devices', '/sys/fs/cgroup/cpu,cpuacct', '/sys/fs/cgroup/blkio', '/sys/fs/cgroup/hugetlb', '/sys/fs/cgroup/cpuset', '/sys/fs/cgroup/freezer', '/sys/fs/cgroup/memory', '/sys/fs/cgroup/perf_event', '/proc/sys/fs/binfmt_misc', '/dev/mqueue', '/sys/kernel/debug', '/dev/hugepages', '/sys/fs/fuse/connections', '/run/cgmanager/fs', '/var/lib/lxcfs', '/proc/sys/fs/binfmt_misc', '/run/user/1000', '/run/user/104', '/run/user/1000/gvfs'].
2015-09-24 17:10:30,103 - Encountered error while attempting to save DFS data dir mount mount values to file /etc/hadoop/conf/dfs_data_dir_mount.hist
2015-09-24 17:10:30,103 - Encountered error while attempting to save DFS data dir mount mount values to file /etc/hadoop/conf/dfs_data_dir_mount.hist
ok
test_start_secured_HDP22_root (test_datanode.TestDatanode) ... 2015-09-24 17:10:30,124 - DataNode is allowed to create any data directory since dfs.datanode.data.dir.mount.file property has file /etc/hadoop/conf/dfs_data_dir_mount.hist and it does not exist.
2015-09-24 17:10:30,124 - Forcefully creating directory: /hadoop/hdfs/data
2015-09-24 17:10:30,128 - Encountered error while attempting to save DFS data dir mount mount values to file /etc/hadoop/conf/dfs_data_dir_mount.hist
2015-09-24 17:10:30,128 - Host contains mounts: ['/sys', '/proc', '/dev', '/dev/pts', '/run', '/', '/sys/kernel/security', '/dev/shm', '/run/lock', '/sys/fs/cgroup', '/sys/fs/cgroup/systemd', '/sys/fs/pstore', '/sys/fs/cgroup/net_cls,net_prio', '/sys/fs/cgroup/devices', '/sys/fs/cgroup/cpu,cpuacct', '/sys/fs/cgroup/blkio', '/sys/fs/cgroup/hugetlb', '/sys/fs/cgroup/cpuset', '/sys/fs/cgroup/freezer', '/sys/fs/cgroup/memory', '/sys/fs/cgroup/perf_event', '/proc/sys/fs/binfmt_misc', '/dev/mqueue', '/sys/kernel/debug', '/dev/hugepages', '/sys/fs/fuse/connections', '/run/cgmanager/fs', '/var/lib/lxcfs', '/proc/sys/fs/binfmt_misc', '/run/user/1000', '/run/user/104', '/run/user/1000/gvfs'].
2015-09-24 17:10:30,128 - Encountered error while attempting to save DFS data dir mount mount values to file /etc/hadoop/conf/dfs_data_dir_mount.hist
ok
test_stop_default (test_datanode.TestDatanode) ... ok
test_stop_during_upgrade (test_datanode.TestDatanode) ... 2015-09-24 17:10:30,154 - DataNode executing "shutdownDatanode" command in preparation for upgrade...
2015-09-24 17:10:30,154 - DataNode has not shutdown.
2015-09-24 17:10:30,154 - Will retry 23 time(s), caught exception: DataNode has not shutdown.. Sleeping for 5 sec(s)
2015-09-24 17:10:30,155 - DataNode has not shutdown.
2015-09-24 17:10:30,155 - Will retry 22 time(s), caught exception: DataNode has not shutdown.. Sleeping for 5 sec(s)
2015-09-24 17:10:30,155 - DataNode has not shutdown.
2015-09-24 17:10:30,155 - Will retry 21 time(s), caught exception: DataNode has not shutdown.. Sleeping for 5 sec(s)
2015-09-24 17:10:30,155 - DataNode has not shutdown.
2015-09-24 17:10:30,155 - Will retry 20 time(s), caught exception: DataNode has not shutdown.. Sleeping for 5 sec(s)
2015-09-24 17:10:30,155 - DataNode has not shutdown.
2015-09-24 17:10:30,155 - Will retry 19 time(s), caught exception: DataNode has not shutdown.. Sleeping for 5 sec(s)
2015-09-24 17:10:30,155 - DataNode has not shutdown.
2015-09-24 17:10:30,155 - Will retry 18 time(s), caught exception: DataNode has not shutdown.. Sleeping for 5 sec(s)
2015-09-24 17:10:30,155 - DataNode has not shutdown.
2015-09-24 17:10:30,155 - Will retry 17 time(s), caught exception: DataNode has not shutdown.. Sleeping for 5 sec(s)
2015-09-24 17:10:30,156 - DataNode has not shutdown.
2015-09-24 17:10:30,156 - Will retry 16 time(s), caught exception: DataNode has not shutdown.. Sleeping for 5 sec(s)
2015-09-24 17:10:30,156 - DataNode has not shutdown.
2015-09-24 17:10:30,156 - Will retry 15 time(s), caught exception: DataNode has not shutdown.. Sleeping for 5 sec(s)
2015-09-24 17:10:30,156 - DataNode has not shutdown.
2015-09-24 17:10:30,156 - Will retry 14 time(s), caught exception: DataNode has not shutdown.. Sleeping for 5 sec(s)
2015-09-24 17:10:30,156 - DataNode has not shutdown.
2015-09-24 17:10:30,156 - Will retry 13 time(s), caught exception: DataNode has not shutdown.. Sleeping for 5 sec(s)
2015-09-24 17:10:30,156 - DataNode has not shutdown.
2015-09-24 17:10:30,156 - Will retry 12 time(s), caught exception: DataNode has not shutdown.. Sleeping for 5 sec(s)
2015-09-24 17:10:30,156 - DataNode has not shutdown.
2015-09-24 17:10:30,156 - Will retry 11 time(s), caught exception: DataNode has not shutdown.. Sleeping for 5 sec(s)
2015-09-24 17:10:30,156 - DataNode has not shutdown.
2015-09-24 17:10:30,157 - Will retry 10 time(s), caught exception: DataNode has not shutdown.. Sleeping for 5 sec(s)
2015-09-24 17:10:30,157 - DataNode has not shutdown.
2015-09-24 17:10:30,157 - Will retry 9 time(s), caught exception: DataNode has not shutdown.. Sleeping for 5 sec(s)
2015-09-24 17:10:30,157 - DataNode has not shutdown.
2015-09-24 17:10:30,157 - Will retry 8 time(s), caught exception: DataNode has not shutdown.. Sleeping for 5 sec(s)
2015-09-24 17:10:30,157 - DataNode has not shutdown.
2015-09-24 17:10:30,157 - Will retry 7 time(s), caught exception: DataNode has not shutdown.. Sleeping for 5 sec(s)
2015-09-24 17:10:30,157 - DataNode has not shutdown.
2015-09-24 17:10:30,157 - Will retry 6 time(s), caught exception: DataNode has not shutdown.. Sleeping for 5 sec(s)
2015-09-24 17:10:30,157 - DataNode has not shutdown.
2015-09-24 17:10:30,157 - Will retry 5 time(s), caught exception: DataNode has not shutdown.. Sleeping for 5 sec(s)
2015-09-24 17:10:30,157 - DataNode has not shutdown.
2015-09-24 17:10:30,157 - Will retry 4 time(s), caught exception: DataNode has not shutdown.. Sleeping for 5 sec(s)
2015-09-24 17:10:30,157 - DataNode has not shutdown.
2015-09-24 17:10:30,158 - Will retry 3 time(s), caught exception: DataNode has not shutdown.. Sleeping for 5 sec(s)
2015-09-24 17:10:30,158 - DataNode has not shutdown.
2015-09-24 17:10:30,158 - Will retry 2 time(s), caught exception: DataNode has not shutdown.. Sleeping for 5 sec(s)
2015-09-24 17:10:30,158 - DataNode has not shutdown.
2015-09-24 17:10:30,158 - Will retry 1 time(s), caught exception: DataNode has not shutdown.. Sleeping for 5 sec(s)
2015-09-24 17:10:30,158 - DataNode has not shutdown.
ok
test_stop_secured (test_datanode.TestDatanode) ... ok
test_stop_secured_HDP22_non_root_https_only (test_datanode.TestDatanode) ... ok
test_stop_secured_HDP22_root (test_datanode.TestDatanode) ... ok
test_service_check_default (test_service_check.TestServiceCheck) ... ok
test_service_check_secured (test_service_check.TestServiceCheck) ... ok

----------------------------------------------------------------------
Ran 94 tests in 1.727s

OK
Running tests for ambari-server

Running tests for custom actions
test_downgrade_unlink_configs (test_ru_set_all.TestRUSetAll) ... ok
test_execution (test_ru_set_all.TestRUSetAll) ... ok
test_execution_23 (test_ru_set_all.TestRUSetAll) ... ok
test_execution (test_ru_execute_tasks.TestRUExecuteTasks) ... ok
test_execution_custom_action (test_ru_execute_tasks.TestRUExecuteTasks) ... ok
test_read_and_write_repo_version_history (TestRepoVersionHistory.TestRepoVersionHistory) ... ok
testDBConnectionCheck (TestCheckHost.TestCheckHost) ... DB connection check started.
Error downloading DBConnectionVerification.jar from Ambari Server resources. Check network access to Ambari Server.
test exception
No handlers could be found for logger "ambari_agent.HostCheckReportFileHandler"
DB connection check started.
<MagicMock name='format().__add__()' id='140524520309136'>
DB connection check started.
DB connection check started.
ok
DB connection check started.
Custom java is not available on host. Please install it. Java home should be the same as on server. 

testHostResolution (TestCheckHost.TestCheckHost) ... IP address forward resolution check started.
All hosts resolved to an IP address.
IP address forward resolution check started.
There were 5 host(s) that could not resolve to an IP address.
ok
testInvalidCheck (TestCheckHost.TestCheckHost) ... ok
testJavaHomeAvailableCheck (TestCheckHost.TestCheckHost) ... ok
testTransparentHugePage (TestCheckHost.TestCheckHost) ... ok
test_exclude_existing_repo (TestInstallPackages.TestInstallPackages) ... Java home check started.
Java home to check: test_java_home
Java home exists!
Java home check started.
Java home to check: test_java_home
Java home doesn't exist!
2015-09-24 17:10:30,577 - Will install packages for repository version 2.2.0.1-885
2015-09-24 17:10:30,578 - Attempting to determine actual version with build number.
2015-09-24 17:10:30,579 - Old versions: <MagicMock name='get_hdp_versions()' id='140524519755088'>
2015-09-24 17:10:30,579 - New versions: <MagicMock name='get_hdp_versions()' id='140524519755088'>
2015-09-24 17:10:30,579 - Deltas: set([])
2015-09-24 17:10:30,579 - Cannot determine a new actual version installed by using the delta method.
2015-09-24 17:10:30,579 - Found actual version 2.2.0.1-885 by parsing file /tmp/ambari-test/tmpIQ3MGJ
2015-09-24 17:10:30,579 - Cannot link configs unless HDP-2.3 or higher
ok
test_fail (TestInstallPackages.TestInstallPackages) ... 2015-09-24 17:10:30,583 - Will install packages for repository version 2.2.0.1-885
2015-09-24 17:10:30,586 - Package Manager failed to install packages. Error: side_effect() takes exactly 1 argument (4 given)
Traceback (most recent call last):
  File "/home/lestat/git/ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/custom_actions/scripts/install_packages.py", line 225, in install_packages
    skip_repos=[self.REPO_FILE_NAME_PREFIX + "*"] if OSCheck.is_redhat_family() else [])
  File "/home/lestat/git/ambari/ambari-common/src/test/python/mock/mock.py", line 953, in __call__
    return _mock_self._mock_call(*args, **kwargs)
  File "/home/lestat/git/ambari/ambari-common/src/test/python/mock/mock.py", line 1016, in _mock_call
    ret_val = effect(*args, **kwargs)
TypeError: side_effect() takes exactly 1 argument (4 given)
2015-09-24 17:10:30,586 - Attempting to determine actual version with build number.
2015-09-24 17:10:30,586 - Old versions: []
2015-09-24 17:10:30,587 - New versions: []
2015-09-24 17:10:30,587 - Deltas: set([])
2015-09-24 17:10:30,587 - Cannot determine a new actual version installed by using the delta method.
2015-09-24 17:10:30,586 - Package Manager failed to install packages. Error: side_effect() takes exactly 1 argument (4 given)
Traceback (most recent call last):
  File "/home/lestat/git/ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/custom_actions/scripts/install_packages.py", line 225, in install_packages
    skip_repos=[self.REPO_FILE_NAME_PREFIX + "*"] if OSCheck.is_redhat_family() else [])
  File "/home/lestat/git/ambari/ambari-common/src/test/python/mock/mock.py", line 953, in __call__
    return _mock_self._mock_call(*args, **kwargs)
  File "/home/lestat/git/ambari/ambari-common/src/test/python/mock/mock.py", line 1016, in _mock_call
    ret_val = effect(*args, **kwargs)
TypeError: side_effect() takes exactly 1 argument (4 given)
ok
test_format_package_name (TestInstallPackages.TestInstallPackages) ... 2015-09-24 17:10:30,590 - Will install packages for repository version 2.2.0.1-885
2015-09-24 17:10:30,592 - Attempting to determine actual version with build number.
2015-09-24 17:10:30,592 - Old versions: <MagicMock name='get_hdp_versions()' id='140524524506128'>
2015-09-24 17:10:30,592 - New versions: <MagicMock name='get_hdp_versions()' id='140524524506128'>
2015-09-24 17:10:30,592 - Deltas: set([])
2015-09-24 17:10:30,592 - Cannot determine a new actual version installed by using the delta method.
2015-09-24 17:10:30,592 - Found actual version 2.2.0.1-885 by parsing file /tmp/ambari-test/tmpIQ3MGJ
2015-09-24 17:10:30,592 - Cannot link configs unless HDP-2.3 or higher
ok
test_normal_flow_rhel (TestInstallPackages.TestInstallPackages) ... 2015-09-24 17:10:30,596 - Will install packages for repository version 2.2.0.1-885
2015-09-24 17:10:30,597 - Attempting to determine actual version with build number.
2015-09-24 17:10:30,597 - Old versions: <MagicMock name='get_hdp_versions()' id='140524518793296'>
2015-09-24 17:10:30,597 - New versions: <MagicMock name='get_hdp_versions()' id='140524518793296'>
2015-09-24 17:10:30,597 - Deltas: set([])
2015-09-24 17:10:30,598 - Cannot determine a new actual version installed by using the delta method.
2015-09-24 17:10:30,598 - Found actual version 2.2.0.1-885 by parsing file /tmp/ambari-test/tmpIQ3MGJ
2015-09-24 17:10:30,598 - Cannot link configs unless HDP-2.3 or higher
ok
test_normal_flow_sles (TestInstallPackages.TestInstallPackages) ... 2015-09-24 17:10:30,603 - Will install packages for repository version 2.2.0.1-885
2015-09-24 17:10:30,604 - Attempting to determine actual version with build number.
2015-09-24 17:10:30,604 - Old versions: <MagicMock name='get_hdp_versions()' id='140524524565392'>
2015-09-24 17:10:30,604 - New versions: <MagicMock name='get_hdp_versions()' id='140524524565392'>
2015-09-24 17:10:30,604 - Deltas: set([])
2015-09-24 17:10:30,604 - Cannot determine a new actual version installed by using the delta method.
2015-09-24 17:10:30,604 - Found actual version 2.2.0.1-885 by parsing file /tmp/ambari-test/tmpIQ3MGJ
2015-09-24 17:10:30,604 - Cannot link configs unless HDP-2.3 or higher
ok
test_version_reporting__build_number_defined (TestInstallPackages.TestInstallPackages) ... 2015-09-24 17:10:30,608 - Will install packages for repository version 2.2.0.1-885
2015-09-24 17:10:30,609 - Attempting to determine actual version with build number.
2015-09-24 17:10:30,609 - Old versions: ['2.1.0.0-400']
2015-09-24 17:10:30,609 - New versions: ['2.1.0.0-400', '2.2.0.1-885']
2015-09-24 17:10:30,609 - Deltas: set(['2.2.0.1-885'])
2015-09-24 17:10:30,609 - Cannot link configs unless HDP-2.3 or higher
2015-09-24 17:10:30,611 - Will install packages for repository version 2.2.0.1-885
2015-09-24 17:10:30,612 - Attempting to determine actual version with build number.
ok
test_version_reporting__build_number_not_defined__usr_hdp_absent (TestInstallPackages.TestInstallPackages) ... 2015-09-24 17:10:30,612 - Old versions: ['2.1.0.0-400', '2.2.0.1-885']
2015-09-24 17:10:30,612 - New versions: ['2.1.0.0-400', '2.2.0.1-885']
2015-09-24 17:10:30,612 - Deltas: set([])
2015-09-24 17:10:30,612 - Cannot determine a new actual version installed by using the delta method.
2015-09-24 17:10:30,612 - Found actual version 2.2.0.1-885 by parsing file /tmp/ambari-test/tmpIQ3MGJ
2015-09-24 17:10:30,612 - Cannot link configs unless HDP-2.3 or higher
2015-09-24 17:10:30,616 - Failure while computing actual version. Error: Could not determine actual version installed. Try reinstalling packages again.
Traceback (most recent call last):
  File "/home/lestat/git/ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/custom_actions/scripts/install_packages.py", line 248, in install_packages
    self.compute_actual_version()
  File "/home/lestat/git/ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/custom_actions/scripts/install_packages.py", line 204, in compute_actual_version
    raise Fail(msg)
Fail: Could not determine actual version installed. Try reinstalling packages again.
2015-09-24 17:10:30,615 - Will install packages for repository version 2.2.0.1
2015-09-24 17:10:30,616 - Attempting to determine actual version with build number.
2015-09-24 17:10:30,616 - Old versions: []
2015-09-24 17:10:30,616 - New versions: []
2015-09-24 17:10:30,616 - Deltas: set([])
2015-09-24 17:10:30,616 - Cannot determine a new actual version installed by using the delta method.
2015-09-24 17:10:30,616 - Failure while computing actual version. Error: Could not determine actual version installed. Try reinstalling packages again.
Traceback (most recent call last):
  File "/home/lestat/git/ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/custom_actions/scripts/install_packages.py", line 248, in install_packages
    self.compute_actual_version()
  File "/home/lestat/git/ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/custom_actions/scripts/install_packages.py", line 204, in compute_actual_version
    raise Fail(msg)
Fail: Could not determine actual version installed. Try reinstalling packages again.
2015-09-24 17:10:30,618 - Will install packages for repository version 2.2.0.1-885
ok
test_version_reporting__build_number_not_defined__usr_hdp_present (TestInstallPackages.TestInstallPackages) ... 2015-09-24 17:10:30,619 - Attempting to determine actual version with build number.
2015-09-24 17:10:30,619 - Old versions: []
2015-09-24 17:10:30,619 - New versions: []
2015-09-24 17:10:30,619 - Deltas: set([])
2015-09-24 17:10:30,619 - Cannot determine a new actual version installed by using the delta method.
2015-09-24 17:10:30,619 - Cannot link configs unless HDP-2.3 or higher
ok
test_version_reporting__build_number_not_defined__usr_hdp_present__no_components_installed (TestInstallPackages.TestInstallPackages) ... 2015-09-24 17:10:30,622 - Will install packages for repository version 2.2.0.1
2015-09-24 17:10:30,622 - Attempting to determine actual version with build number.
2015-09-24 17:10:30,622 - Old versions: ['2.1.0.0-400']
2015-09-24 17:10:30,622 - New versions: ['2.1.0.0-400', '2.2.0.1-885']
2015-09-24 17:10:30,622 - Deltas: set(['2.2.0.1-885'])
2015-09-24 17:10:30,623 - Cannot link configs unless HDP-2.3 or higher
2015-09-24 17:10:30,624 - Will install packages for repository version 2.2.0.1
2015-09-24 17:10:30,625 - Attempting to determine actual version with build number.
2015-09-24 17:10:30,625 - Old versions: ['2.1.0.0-400', '2.2.0.1-885']
2015-09-24 17:10:30,625 - New versions: ['2.1.0.0-400', '2.2.0.1-885']
2015-09-24 17:10:30,625 - Deltas: set([])
2015-09-24 17:10:30,625 - Cannot determine a new actual version installed by using the delta method.
2015-09-24 17:10:30,625 - Found actual version 2.2.0.1-885 by parsing file /tmp/ambari-test/tmpIQ3MGJ
2015-09-24 17:10:30,626 - Cannot link configs unless HDP-2.3 or higher
2015-09-24 17:10:30,630 - Failure while computing actual version. Error: Could not determine actual version installed. Try reinstalling packages again.
Traceback (most recent call last):
  File "/home/lestat/git/ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/custom_actions/scripts/install_packages.py", line 248, in install_packages
    self.compute_actual_version()
  File "/home/lestat/git/ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/custom_actions/scripts/install_packages.py", line 204, in compute_actual_version
    raise Fail(msg)
Fail: Could not determine actual version installed. Try reinstalling packages again.
ok
test_version_reporting__wrong_build_number_specified__usr_hdp_absent (TestInstallPackages.TestInstallPackages) ... 2015-09-24 17:10:30,629 - Will install packages for repository version 2.2.0.1
2015-09-24 17:10:30,630 - Attempting to determine actual version with build number.
2015-09-24 17:10:30,630 - Old versions: []
2015-09-24 17:10:30,630 - New versions: []
2015-09-24 17:10:30,630 - Deltas: set([])
2015-09-24 17:10:30,630 - Cannot determine a new actual version installed by using the delta method.
2015-09-24 17:10:30,630 - Failure while computing actual version. Error: Could not determine actual version installed. Try reinstalling packages again.
Traceback (most recent call last):
  File "/home/lestat/git/ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/custom_actions/scripts/install_packages.py", line 248, in install_packages
    self.compute_actual_version()
  File "/home/lestat/git/ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/custom_actions/scripts/install_packages.py", line 204, in compute_actual_version
    raise Fail(msg)
Fail: Could not determine actual version installed. Try reinstalling packages again.
2015-09-24 17:10:30,645 - Failure while computing actual version. Error: Could not determine actual version installed. Try reinstalling packages again.
Traceback (most recent call last):
  File "/home/lestat/git/ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/custom_actions/scripts/install_packages.py", line 248, in install_packages
    self.compute_actual_version()
  File "/home/lestat/git/ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/custom_actions/scripts/install_packages.py", line 204, in compute_actual_version
    raise Fail(msg)
Fail: Could not determine actual version installed. Try reinstalling packages again.
ok
test_version_reporting__wrong_build_number_specified__usr_hdp_present (TestInstallPackages.TestInstallPackages) ... 2015-09-24 17:10:30,644 - Will install packages for repository version 2.2.0.1
2015-09-24 17:10:30,645 - Attempting to determine actual version with build number.
2015-09-24 17:10:30,645 - Old versions: []
2015-09-24 17:10:30,645 - New versions: []
2015-09-24 17:10:30,645 - Deltas: set([])
2015-09-24 17:10:30,645 - Cannot determine a new actual version installed by using the delta method.
2015-09-24 17:10:30,645 - Failure while computing actual version. Error: Could not determine actual version installed. Try reinstalling packages again.
Traceback (most recent call last):
  File "/home/lestat/git/ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/custom_actions/scripts/install_packages.py", line 248, in install_packages
    self.compute_actual_version()
  File "/home/lestat/git/ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/custom_actions/scripts/install_packages.py", line 204, in compute_actual_version
    raise Fail(msg)
Fail: Could not determine actual version installed. Try reinstalling packages again.
2015-09-24 17:10:30,647 - Will install packages for repository version 2.2.0.1-885
2015-09-24 17:10:30,647 - Attempting to determine actual version with build number.
2015-09-24 17:10:30,647 - Old versions: []
2015-09-24 17:10:30,647 - New versions: []
2015-09-24 17:10:30,648 - Deltas: set([])
2015-09-24 17:10:30,648 - Cannot determine a new actual version installed by using the delta method.
2015-09-24 17:10:30,648 - Cannot link configs unless HDP-2.3 or higher
ok

----------------------------------------------------------------------
Ran 22 tests in 0.119s

OK

Running tests for host scripts
2015-09-24 17:10:30,650 - Will install packages for repository version 2.2.0.1-500
2015-09-24 17:10:30,651 - Attempting to determine actual version with build number.
2015-09-24 17:10:30,651 - Old versions: ['2.1.0.0-400']
2015-09-24 17:10:30,651 - New versions: ['2.1.0.0-400', '2.2.0.1-885']
2015-09-24 17:10:30,651 - Deltas: set(['2.2.0.1-885'])
2015-09-24 17:10:30,652 - Cannot link configs unless HDP-2.3 or higher
2015-09-24 17:10:30,653 - Will install packages for repository version 2.2.0.1-500
2015-09-24 17:10:30,654 - Attempting to determine actual version with build number.
2015-09-24 17:10:30,654 - Old versions: ['2.1.0.0-400', '2.2.0.1-885']
2015-09-24 17:10:30,654 - New versions: ['2.1.0.0-400', '2.2.0.1-885']
2015-09-24 17:10:30,654 - Deltas: set([])
2015-09-24 17:10:30,654 - Cannot determine a new actual version installed by using the delta method.
2015-09-24 17:10:30,654 - Found actual version 2.2.0.1-885 by parsing file /tmp/ambari-test/tmpIQ3MGJ
2015-09-24 17:10:30,654 - Cannot link configs unless HDP-2.3 or higher
test_linux_flow (TestAlertDiskSpace.TestAlertDiskSpace) ... ok

----------------------------------------------------------------------
Ran 1 test in 0.002s

OK

Running tests for ambari-server
test_convert_yaml_array (TestYAMLUtils.TestYAMLUtils) ... ok
test_adjust_directory_permissions (TestAmbariServer.TestAmbariServer) ... ok
test_backup (TestAmbariServer.TestAmbariServer) ... ok
test_backup_no_path (TestAmbariServer.TestAmbariServer) ... ok
test_change_objects_owner_both (TestAmbariServer.TestAmbariServer) ... ok
test_change_objects_owner_only_stderr (TestAmbariServer.TestAmbariServer) ... ok
test_change_objects_owner_only_stdout (TestAmbariServer.TestAmbariServer) ... ok
test_check_database_name_property (TestAmbariServer.TestAmbariServer) ... ok
test_check_firewall_is_running (TestAmbariServer.TestAmbariServer) ... ok
test_check_jdbc_drivers (TestAmbariServer.TestAmbariServer) ... ok
test_check_postgre_up (TestAmbariServer.TestAmbariServer) ... ok
test_check_selinux (TestAmbariServer.TestAmbariServer) ... ok
test_configure_database_password (TestAmbariServer.TestAmbariServer) ... ok
test_configure_database_password_silent (TestAmbariServer.TestAmbariServer) ... ok
test_configure_database_username_password_masterkey_persisted (TestAmbariServer.TestAmbariServer) ... ok
test_configure_ldap_password (TestAmbariServer.TestAmbariServer) ... ok
test_configure_os_settings (TestAmbariServer.TestAmbariServer) ... ok
test_configure_pg_hba_ambaridb_users (TestAmbariServer.TestAmbariServer) ... ok
test_configure_pg_hba_postgres_user (TestAmbariServer.TestAmbariServer) ... ok
test_configure_postgres (TestAmbariServer.TestAmbariServer) ... ok
test_configure_postgresql_conf (TestAmbariServer.TestAmbariServer) ... ok
test_copy_file (TestAmbariServer.TestAmbariServer) ... ok
test_dbname_regex (TestAmbariServer.TestAmbariServer)
Test to make sure the service name can contain digits ... ok
test_download_jdk (TestAmbariServer.TestAmbariServer) ... ok
test_ensure_jdbc_drivers_installed (TestAmbariServer.TestAmbariServer) ... ok
test_find_jdk (TestAmbariServer.TestAmbariServer) ... ok
test_find_properties_file (TestAmbariServer.TestAmbariServer) ... ok
test_generate_random_string (TestAmbariServer.TestAmbariServer) ... ok
test_get_JAVA_HOME (TestAmbariServer.TestAmbariServer) ... ok
test_get_YN_input (TestAmbariServer.TestAmbariServer) ... ok
test_get_ambari_classpath (TestAmbariServer.TestAmbariServer) ... ok
test_get_cert_info (TestAmbariServer.TestAmbariServer) ... ok
test_get_choice_string_input (TestAmbariServer.TestAmbariServer) ... ok
test_get_fqdn (TestAmbariServer.TestAmbariServer) ... ok
test_get_ldap_event_spec_names (TestAmbariServer.TestAmbariServer) ... ok
test_get_pass_file_path (TestAmbariServer.TestAmbariServer) ... ok
test_get_postgre_status (TestAmbariServer.TestAmbariServer) ... ok
test_get_ulimit_open_files (TestAmbariServer.TestAmbariServer) ... ok
test_get_validated_string_input (TestAmbariServer.TestAmbariServer) ... ok
test_import_cert_and_key (TestAmbariServer.TestAmbariServer) ... ok
test_import_cert_and_key_action (TestAmbariServer.TestAmbariServer) ... ok
test_import_cert_and_key_with_empty_password (TestAmbariServer.TestAmbariServer) ... ok
test_import_cert_and_key_with_incorrect_password (TestAmbariServer.TestAmbariServer) ... ok
test_is_jdbc_user_changed (TestAmbariServer.TestAmbariServer) ... ok
test_is_server_runing_bad_file (TestAmbariServer.TestAmbariServer) ... ok
test_is_valid_cert_exp (TestAmbariServer.TestAmbariServer) ... ok
test_is_valid_cert_host (TestAmbariServer.TestAmbariServer) ... ok
test_is_valid_filepath (TestAmbariServer.TestAmbariServer) ... ok
test_is_valid_https_port (TestAmbariServer.TestAmbariServer) ... ok
test_ldap_sync_all (TestAmbariServer.TestAmbariServer) ... ok
test_ldap_sync_error_status (TestAmbariServer.TestAmbariServer) ... ok
test_ldap_sync_existing (TestAmbariServer.TestAmbariServer) ... ok
test_ldap_sync_groups (TestAmbariServer.TestAmbariServer) ... ok
test_ldap_sync_no_sync_mode (TestAmbariServer.TestAmbariServer) ... ok
test_ldap_sync_ssl (TestAmbariServer.TestAmbariServer) ... ok
test_ldap_sync_users (TestAmbariServer.TestAmbariServer) ... ok
test_main_test_backup (TestAmbariServer.TestAmbariServer) ... ok
test_main_test_reset (TestAmbariServer.TestAmbariServer) ... ok
test_main_test_restore (TestAmbariServer.TestAmbariServer) ... ok
test_main_test_setup (TestAmbariServer.TestAmbariServer) ... ok
test_main_test_setup_security (TestAmbariServer.TestAmbariServer) ... ok
test_main_test_start (TestAmbariServer.TestAmbariServer) ... ok
test_move_user_custom_actions (TestAmbariServer.TestAmbariServer) ... ok
test_parse_properties_file (TestAmbariServer.TestAmbariServer) ... ok
test_print_error_msg (TestAmbariServer.TestAmbariServer) ... ok
test_print_info_msg (TestAmbariServer.TestAmbariServer) ... ok
test_print_warning_msg (TestAmbariServer.TestAmbariServer) ... ok
test_prompt_db_properties (TestAmbariServer.TestAmbariServer) ... ok
test_prompt_db_properties_default (TestAmbariServer.TestAmbariServer) ... ok
test_prompt_db_properties_for_each_database_type (TestAmbariServer.TestAmbariServer) ... ok
test_prompt_db_properties_oracle_sid (TestAmbariServer.TestAmbariServer) ... ok
test_prompt_db_properties_oracle_sname (TestAmbariServer.TestAmbariServer) ... ok
test_prompt_db_properties_postgre_adv (TestAmbariServer.TestAmbariServer) ... ok
test_read_active_instance (TestAmbariServer.TestAmbariServer) ... ok
test_read_ambari_user (TestAmbariServer.TestAmbariServer) ... ok
test_read_password (TestAmbariServer.TestAmbariServer) ... ok
test_refresh_stack_hash (TestAmbariServer.TestAmbariServer) ... ok
test_regexps (TestAmbariServer.TestAmbariServer) ... ok
test_remove_file (TestAmbariServer.TestAmbariServer) ... ok
test_reset_default (TestAmbariServer.TestAmbariServer) ... ok
test_reset_master_key_not_persisted (TestAmbariServer.TestAmbariServer) ... ok
test_reset_master_key_persisted (TestAmbariServer.TestAmbariServer) ... ok
test_restart_postgres (TestAmbariServer.TestAmbariServer) ... ok
test_restore (TestAmbariServer.TestAmbariServer) ... ok
test_restore_no_path (TestAmbariServer.TestAmbariServer) ... ok
test_run_metainfo_upgrade (TestAmbariServer.TestAmbariServer) ... ok
test_run_schema_upgrade (TestAmbariServer.TestAmbariServer) ... ok
test_run_stack_upgrade (TestAmbariServer.TestAmbariServer) ... ok
test_run_stack_upgrade_with_url_os (TestAmbariServer.TestAmbariServer) ... ok
test_search_file (TestAmbariServer.TestAmbariServer) ... ok
test_servicename_regex (TestAmbariServer.TestAmbariServer)
Test to make sure the service name can contain digits ... ok
test_set_file_permissions (TestAmbariServer.TestAmbariServer) ... ok
test_setup_ambari_krb5_jaas (TestAmbariServer.TestAmbariServer) ... ok
test_setup_db (TestAmbariServer.TestAmbariServer) ... ok
test_setup_db_connect_attempts_fail (TestAmbariServer.TestAmbariServer) ... ok
test_setup_db_connect_attempts_success (TestAmbariServer.TestAmbariServer) ... ok
test_setup_https (TestAmbariServer.TestAmbariServer) ... ok
test_setup_jce_policy (TestAmbariServer.TestAmbariServer) ... ok
test_setup_ldap (TestAmbariServer.TestAmbariServer) ... ok
test_setup_ldap_invalid_input (TestAmbariServer.TestAmbariServer) ... ok
test_setup_master_key_not_persist (TestAmbariServer.TestAmbariServer) ... ok
test_setup_master_key_persist (TestAmbariServer.TestAmbariServer) ... ok
test_setup_remote_db_wo_client (TestAmbariServer.TestAmbariServer) ... ok
test_setup_security (TestAmbariServer.TestAmbariServer) ... ok
test_setup_truststore (TestAmbariServer.TestAmbariServer) ... ok
test_start (TestAmbariServer.TestAmbariServer) ... ok
test_store_password_file (TestAmbariServer.TestAmbariServer) ... ok
test_store_remote_properties (TestAmbariServer.TestAmbariServer) ... ok
test_sync_ldap_ambari_stopped (TestAmbariServer.TestAmbariServer) ... ok
test_sync_ldap_forbidden (TestAmbariServer.TestAmbariServer) ... ok
test_sync_ldap_not_configured (TestAmbariServer.TestAmbariServer) ... ok
test_unpack_jce_policy (TestAmbariServer.TestAmbariServer) ... ok
test_update_ambari_properties (TestAmbariServer.TestAmbariServer) ... ok
test_update_ambari_properties_negative_case (TestAmbariServer.TestAmbariServer) ... ok
test_update_ambari_properties_without_some_properties (TestAmbariServer.TestAmbariServer) ... ok
test_update_properties_2 (TestAmbariServer.TestAmbariServer) ... ok
test_upgrade_from_161 (TestAmbariServer.TestAmbariServer) ... ok
test_upgrade_local_repo (TestAmbariServer.TestAmbariServer) ... ok
test_upgrade_local_repo_nochange (TestAmbariServer.TestAmbariServer) ... ok
test_upgrade_stack (TestAmbariServer.TestAmbariServer) ... ok
test_validate_jdk (TestAmbariServer.TestAmbariServer) ... ok
test_checkServerReachability (TestSetupAgent.TestSetupAgent) ... ok
test_configureAgent (TestSetupAgent.TestSetupAgent) ... ok
test_findNearestAgentPackageVersion (TestSetupAgent.TestSetupAgent) ... ok
test_getAvailableAgentPackageVersions (TestSetupAgent.TestSetupAgent) ... ok
test_installAgent (TestSetupAgent.TestSetupAgent) ... ok
test_isAgentPackageAlreadyInstalled (TestSetupAgent.TestSetupAgent) ... ok
test_returned_optimal_version_is_default (TestSetupAgent.TestSetupAgent) ... ok
test_returned_optimal_version_is_initial (TestSetupAgent.TestSetupAgent) ... ok
test_returned_optimal_version_is_initial_on_ubuntu (TestSetupAgent.TestSetupAgent) ... ok
test_returned_optimal_version_is_nearest_on_suse (TestSetupAgent.TestSetupAgent) ... bash: zypper: command not found
ok
test_returned_optimal_version_is_nearest_on_ubuntu (TestSetupAgent.TestSetupAgent) ... E: No packages found
ok
test_setup_agent_main (TestSetupAgent.TestSetupAgent) ... ok
test_ParseOptions (TestUpgradeHelper.TestUpgradeHelper) ... ok
test_add_services (TestUpgradeHelper.TestUpgradeHelper) ... ok
test_backup_configs (TestUpgradeHelper.TestUpgradeHelper) ... ok
test_coerce_tag (TestUpgradeHelper.TestUpgradeHelper) ... ok
test_conditional_replace (TestUpgradeHelper.TestUpgradeHelper) ... ok
test_configuration_diff_analyze (TestUpgradeHelper.TestUpgradeHelper) ... ok
test_delete_mr (TestUpgradeHelper.TestUpgradeHelper) ... ok
test_get_YN_input (TestUpgradeHelper.TestUpgradeHelper) ... ok
test_get_choice_string_input (TestUpgradeHelper.TestUpgradeHelper) ... ok
test_get_cluster_stackname (TestUpgradeHelper.TestUpgradeHelper) ... ok
test_get_config_resp_all (TestUpgradeHelper.TestUpgradeHelper) ... ok
test_get_mr1_mapping (TestUpgradeHelper.TestUpgradeHelper) ... ok
test_get_ranger_xaaudit_hdfs_destination_directory (TestUpgradeHelper.TestUpgradeHelper) ... ok
test_get_tez_history_url_base (TestUpgradeHelper.TestUpgradeHelper) ... ok
test_get_zookeeper_quorum (TestUpgradeHelper.TestUpgradeHelper) ... ok
test_has_component_in_stack_def (TestUpgradeHelper.TestUpgradeHelper) ... ok
test_install_services (TestUpgradeHelper.TestUpgradeHelper) ... ok
test_is_services_exists (TestUpgradeHelper.TestUpgradeHelper) ... ok
test_override_tag (TestUpgradeHelper.TestUpgradeHelper) ... ok
test_read_mapping (TestUpgradeHelper.TestUpgradeHelper) ... ok
test_replace_tag (TestUpgradeHelper.TestUpgradeHelper) ... ok
test_report_formatter (TestUpgradeHelper.TestUpgradeHelper) ... ok
test_update_config (TestUpgradeHelper.TestUpgradeHelper) ... ok
test_verify_configuration (TestUpgradeHelper.TestUpgradeHelper) ... ok
test_write_mapping (TestUpgradeHelper.TestUpgradeHelper) ... ok
test_check_exitcode (TestUtils.TestUtils) ... ok
test_compare_versions (TestUtils.TestUtils) ... ok
test_format_with_reload (TestUtils.TestUtils) ... ok
test_get_postgre_running_status (TestUtils.TestUtils) ... ok
test_get_symlink_path (TestUtils.TestUtils) ... ok
test_get_ubuntu_pg_version (TestUtils.TestUtils) ... ok
test_locate_file (TestUtils.TestUtils) ... ok
test_looking_for_pid (TestUtils.TestUtils) ... ok
test_pid_exists (TestUtils.TestUtils) ... ok
test_save_main_pid_ex (TestUtils.TestUtils) ... ok
test_wait_for_pid (TestUtils.TestUtils) ... ok
test_check_directories (TestValidateConfigs.TestValidateConfigs) ... Error: Validation failed. Directory / can't be created!
ok
test_check_user_in_group (TestValidateConfigs.TestValidateConfigs) ... ok
test_check_users (TestValidateConfigs.TestValidateConfigs) ... Error: Validation failed. root is not a member of wrong_group group and root account can't be created!
Error: Validation failed. wrong_user is not a member of root group and wrong_user account can't be created!
Error: Validation failed. wrong_user is not a member of wrong_group group and wrong_user account can't be created!
ok
test_flatten_dict (TestValidateConfigs.TestValidateConfigs) ... ok
test_get_value (TestValidateConfigs.TestValidateConfigs) ... ok
test_stackAdvisorDefaultImpl (TestStackAdvisor.TestStackAdvisorInitialization) ... Traceback (most recent call last):
  File "/home/lestat/git/ambari/ambari-server/src/test/python/../../main/resources/scripts/stack_advisor.py", line 138, in instantiateStackAdvisor
    with open(path, 'rb') as fp:
IOError: [Errno 2] No such file or directory: '/home/lestat/git/ambari/ambari-server/src/main/resources/scripts/./../stacks/HDP1/2.0.6/services/stack_advisor.py'
ok
test_stackAdvisorLoadedForNotHDPStack (TestStackAdvisor.TestStackAdvisorInitialization) ... 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
ok
test_PBootstrap (TestBootstrap.TestBootstrap) ... ok
test_SCP (TestBootstrap.TestBootstrap) ... ok
test_SSH (TestBootstrap.TestBootstrap) ... ok
test_agent_setup_command_without_project_version (TestBootstrap.TestBootstrap) ... ok
test_bootstrap_main (TestBootstrap.TestBootstrap) ... ok
test_changePasswordFileModeOnHost (TestBootstrap.TestBootstrap) ... ok
test_checkSudoPackage (TestBootstrap.TestBootstrap) ... ok
test_checkSudoPackageUbuntu (TestBootstrap.TestBootstrap) ... ok
test_copyNeededFiles (TestBootstrap.TestBootstrap) ... ok
test_copyOsCheckScript (TestBootstrap.TestBootstrap) ... ok
test_copyPasswordFile (TestBootstrap.TestBootstrap) ... ok
test_createDoneFile (TestBootstrap.TestBootstrap) ... ok
test_createTargetDir (TestBootstrap.TestBootstrap) ... ok
test_deletePasswordFile (TestBootstrap.TestBootstrap) ... ok
test_generateRandomFileName (TestBootstrap.TestBootstrap) ... ok
test_getAmbariPort (TestBootstrap.TestBootstrap) ... ok
test_getOsCheckScript (TestBootstrap.TestBootstrap) ... ok
test_getOsCheckScriptRemoteLocation (TestBootstrap.TestBootstrap) ... ok
test_getRemoteName (TestBootstrap.TestBootstrap) ... ok
test_getRepoDir (TestBootstrap.TestBootstrap) ... ok
test_getRepoFile (TestBootstrap.TestBootstrap) ... ok
test_getRunSetupCommand (TestBootstrap.TestBootstrap) ... ok
test_getRunSetupWithPasswordCommand (TestBootstrap.TestBootstrap) ... ok
test_getSetupScript (TestBootstrap.TestBootstrap) ... ok
test_host_log (TestBootstrap.TestBootstrap) ... ok
test_interruptBootstrap (TestBootstrap.TestBootstrap) ... ok
test_run (TestBootstrap.TestBootstrap) ... ok
test_runOsCheckScript (TestBootstrap.TestBootstrap) ... ok
test_runSetupAgent (TestBootstrap.TestBootstrap) ... ok
test_run_setup_agent_command_ends_with_project_version (TestBootstrap.TestBootstrap) ... ok
test_try_to_execute (TestBootstrap.TestBootstrap) ... ok
test_perform_backup (TestBackupRestore.TestBKRestore) ... Creating zip file...
<MagicMock name='mock.__radd__().__add__()' id='140524514289744'>
Creating zip file...
<MagicMock name='mock.__radd__().__add__()' id='140524515099664'>
<MagicMock name='mock.__radd__().__add__()' id='140524515099664'>
ok
test_perform_restore (TestBackupRestore.TestBKRestore) ... ok
testCurrentVersionOptions (TestServerUpgrade.TestServerUpgrade) ... ok
test_set_current (TestServerUpgrade.TestServerUpgrade) ... ok
test_exportBlueprint (TestClusterBlueprint.TestClusterBlueprint) ... 
Calling API http://127.0.0.1:8080/api/v1/clusters/cc/stack_versions : {'ClusterStackVersions': {'state': 'CURRENT', 'repository_version': 'HDP-2.2.2.0-2561'}}

Current version successfully updated to HDP-2.2.2.0-2561
ok
test_importBlueprint (TestClusterBlueprint.TestClusterBlueprint) ... ok
test_get_ambari_server_api_base (TestServerUtils.TestServerUtils) ... ok
test_get_component_version (TestVersionSelectUtil.TestVersionSelectUtil) ... ok
test_get_os_family (TestOSCheck.TestOSCheck) ... ok
test_get_os_major_version (TestOSCheck.TestOSCheck) ... ok
test_get_os_release_name (TestOSCheck.TestOSCheck) ... ok
test_get_os_type (TestOSCheck.TestOSCheck) ... ok
test_get_os_version (TestOSCheck.TestOSCheck) ... ok
test_is_redhat_family (TestOSCheck.TestOSCheck) ... ok
test_is_suse_family (TestOSCheck.TestOSCheck) ... ok
test_os_type_check (TestOSCheck.TestOSCheck) ... ok
test_update_ambari_properties_os (TestOSCheck.TestOSCheck) ... ok
test_delete_config (TestConfigs.TestConfigs) ... Cluster primary/cluster OS family is aaa11 and local/current OS family is aaa11
Cluster primary/cluster OS family is zzz_x77 and local/current OS family is ddd33
WARNING: Can not find /tmp/ambari-test/tmp6JXBlb file from previous version, skipping import of settings
ok
test_delete_config_with_attributes (TestConfigs.TestConfigs) ... ok
test_get_config_to_file (TestConfigs.TestConfigs) ... ok
test_update_from_file (TestConfigs.TestConfigs) ... ok
test_update_specific_config (TestConfigs.TestConfigs) ... ok
test_update_specific_config_with_attributes (TestConfigs.TestConfigs) ... ok
test_count_hash_sum (TestResourceFilesKeeper.TestResourceFilesKeeper) ... ok
test_is_ignored (TestResourceFilesKeeper.TestResourceFilesKeeper) ... ok
test_list_common_services (TestResourceFilesKeeper.TestResourceFilesKeeper) ... ok
test_list_stacks (TestResourceFilesKeeper.TestResourceFilesKeeper) ... ok
test_perform_housekeeping (TestResourceFilesKeeper.TestResourceFilesKeeper) ... ok
test_read_hash_sum (TestResourceFilesKeeper.TestResourceFilesKeeper) ... ok
test_update_directory_archieves (TestResourceFilesKeeper.TestResourceFilesKeeper) ... ok
test_update_directory_archive (TestResourceFilesKeeper.TestResourceFilesKeeper) ... ok
test_write_hash_sum (TestResourceFilesKeeper.TestResourceFilesKeeper) ... ok
test_zip_directory (TestResourceFilesKeeper.TestResourceFilesKeeper) ... ok
test_comparison (TestVersion.TestVersion) ... ok
test_format (TestVersion.TestVersion) ... ok

----------------------------------------------------------------------
Ran 242 tests in 6.220s

OK
----------------------------------------------------------------------
Total run:833
Total errors:0
Total failures:0
OK

Process finished with exit code 0


Thanks,

Andrew Onischuk


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