> On Dec. 22, 2014, 12:56 p.m., Nate Cole wrote: > > Please also make sure jonathan hurley reviews this change. Also, it would > > be nice to have some tests surrounding this logic. > > Vitalyi Brodetskyi wrote: > Thank you Nate. For tests i think we should create new ticket to cover > alert functionality.
We do have a ticket for adding new test cases. However, because this is a targetted case with a specific string that can reproduce the problem, why not just write up the test case to go along with this fix? - Jonathan ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/29317/#review65798 ----------------------------------------------------------- On Dec. 22, 2014, 12:55 p.m., Vitalyi Brodetskyi wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/29317/ > ----------------------------------------------------------- > > (Updated Dec. 22, 2014, 12:55 p.m.) > > > Review request for Ambari, Dmitro Lisnichenko, Jonathan Hurley, and Nate Cole. > > > Bugs: AMBARI-8864 > https://issues.apache.org/jira/browse/AMBARI-8864 > > > Repository: ambari > > > Description > ------- > > Pay attention that hive.metastore.uris property that we are using as url in > definition, has such value like: > thrift://c6402.ambari.apache.org:9083,thrift://c6401.ambari.apache.org:9083 > > > Diffs > ----- > > ambari-agent/src/main/python/ambari_agent/alerts/port_alert.py b965fdd > > Diff: https://reviews.apache.org/r/29317/diff/ > > > Testing > ------- > > /usr/bin/python2.6 > /home/vtkhir/projects/ACTUAL-AMBARI/incubator-ambari/ambari-agent/src/test/python/unitTests.py > test_download_source_get_content_cache_existent > (TestContentSources.TestContentSources) ... ok > test_download_source_get_content_cache_existent_md5_match > (TestContentSources.TestContentSources) ... ok > test_download_source_get_content_cache_existent_md5_unmatch > (TestContentSources.TestContentSources) ... ok > test_download_source_get_content_cache_new > (TestContentSources.TestContentSources) ... ok > test_download_source_get_content_nocache > (TestContentSources.TestContentSources) ... ok > test_download_source_init_existent_download_directory > (TestContentSources.TestContentSources) ... ok > test_download_source_init_nonexistent_download_directory > (TestContentSources.TestContentSources) ... ok > test_inline_template (TestContentSources.TestContentSources) ... ok > test_static_file_absolute_path (TestContentSources.TestContentSources) ... ok > test_static_file_relative_path (TestContentSources.TestContentSources) ... ok > test_template_imports (TestContentSources.TestContentSources) ... ok > test_template_loader (TestContentSources.TestContentSources) ... ok > test_template_loader_absolute_path (TestContentSources.TestContentSources) > ... ok > test_template_loader_arguments (TestContentSources.TestContentSources) ... ok > test_template_loader_fail (TestContentSources.TestContentSources) ... ok > test_install_packages (TestScript.TestScript) ... ok > test_structured_out (TestScript.TestScript) ... ok > test_action_create_existent (TestGroupResource.TestGroupResource) ... ok > test_action_create_fail (TestGroupResource.TestGroupResource) ... ok > test_action_create_nonexistent (TestGroupResource.TestGroupResource) ... ok > test_action_remove (TestGroupResource.TestGroupResource) ... ok > test_action_remove_fail (TestGroupResource.TestGroupResource) ... ok > test_create_directory_failed_no_parent > (TestDirectoryResource.TestDirectoryResource) ... ok > test_create_directory_not_recursive > (TestDirectoryResource.TestDirectoryResource) ... ok > test_create_directory_path_is_file_or_line > (TestDirectoryResource.TestDirectoryResource) ... ok > test_create_directory_recursive (TestDirectoryResource.TestDirectoryResource) > ... ok > test_delete_directory (TestDirectoryResource.TestDirectoryResource) ... ok > test_delete_directory_with_path_to_file > (TestDirectoryResource.TestDirectoryResource) ... ok > test_delete_noexisting_directory > (TestDirectoryResource.TestDirectoryResource) ... ok > test_action_create_failed_due_to_file_exists > (TestLinkResource.TestLinkResource) ... ok > test_action_create_hardlink_clean_create (TestLinkResource.TestLinkResource) > ... ok > test_action_create_hardlink_target_doesnt_exist > (TestLinkResource.TestLinkResource) ... ok > test_action_create_hardlink_target_is_dir (TestLinkResource.TestLinkResource) > ... ok > test_action_create_relink (TestLinkResource.TestLinkResource) ... ok > test_action_create_symlink_clean_create (TestLinkResource.TestLinkResource) > ... ok > test_action_delete (TestLinkResource.TestLinkResource) ... ok > test_create_repo_redhat (TestRepositoryResource.TestRepositoryResource) ... ok > test_create_repo_suse (TestRepositoryResource.TestRepositoryResource) ... ok > test_create_repo_ubuntu_doesnt_repo_exist > (TestRepositoryResource.TestRepositoryResource) ... ok > test_create_repo_ubuntu_repo_exists > (TestRepositoryResource.TestRepositoryResource) ... ok > test_remove_repo_redhat (TestRepositoryResource.TestRepositoryResource) ... ok > test_remove_repo_suse (TestRepositoryResource.TestRepositoryResource) ... ok > test_remove_repo_ubuntu_repo_doenst_exist > (TestRepositoryResource.TestRepositoryResource) ... ok > test_remove_repo_ubuntu_repo_exist > (TestRepositoryResource.TestRepositoryResource) ... ok > test_create_template_with_tag > (TestTemplateConfigResource.TestTemplateConfigResource) ... ok > test_create_template_wo_tag > (TestTemplateConfigResource.TestTemplateConfigResource) ... ok > test_at_drive (TestFileSystem.TestFileSystem) ... ok > test_at_root (TestFileSystem.TestFileSystem) ... ok > test_invalid (TestFileSystem.TestFileSystem) ... ok > test_attribute_command_escaping (TestExecuteResource.TestExecuteResource) ... > ok > test_attribute_command_one_line (TestExecuteResource.TestExecuteResource) ... > ok > test_attribute_creates (TestExecuteResource.TestExecuteResource) ... ok > test_attribute_cwd (TestExecuteResource.TestExecuteResource) ... ok > test_attribute_environment (TestExecuteResource.TestExecuteResource) ... ok > test_attribute_environment_non_root (TestExecuteResource.TestExecuteResource) > ... ok > test_attribute_group (TestExecuteResource.TestExecuteResource) ... ok > test_attribute_logoutput (TestExecuteResource.TestExecuteResource) ... ok > test_attribute_path (TestExecuteResource.TestExecuteResource) ... ok > test_attribute_try_sleep_tries (TestExecuteResource.TestExecuteResource) ... > ok > test_attribute_wait (TestExecuteResource.TestExecuteResource) ... ok > test_run_command_list (TestExecuteHadoopResource.TestExecuteHadoopResource) > ... ok > test_run_command_tuple (TestExecuteHadoopResource.TestExecuteHadoopResource) > ... ok > test_run_default_args (TestExecuteHadoopResource.TestExecuteHadoopResource) > ... ok > test_run_defined_args (TestExecuteHadoopResource.TestExecuteHadoopResource) > ... ok > test_run_secured (TestExecuteHadoopResource.TestExecuteHadoopResource) ... ok > test_run_secured_kinit_override > (TestExecuteHadoopResource.TestExecuteHadoopResource) ... ok > test_run_secured_principal > (TestExecuteHadoopResource.TestExecuteHadoopResource) ... ok > test_run_unknown_conf (TestExecuteHadoopResource.TestExecuteHadoopResource) > ... ok > test_action_create_dir_exist (TestFileResource.TestFileResource) ... ok > test_action_create_encoding (TestFileResource.TestFileResource) ... ok > test_action_create_non_existent_file (TestFileResource.TestFileResource) ... > ok > test_action_create_parent_dir_non_exist (TestFileResource.TestFileResource) > ... ok > test_action_create_replace (TestFileResource.TestFileResource) ... ok > test_action_delete (TestFileResource.TestFileResource) ... ok > test_action_delete_is_directory (TestFileResource.TestFileResource) ... ok > test_attribute_backup (TestFileResource.TestFileResource) ... ok > test_attribute_path (TestFileResource.TestFileResource) ... ok > test_attribute_replace (TestFileResource.TestFileResource) ... ok > test_ensure_metadata (TestFileResource.TestFileResource) ... ok > test_action_create_existent (TestUserResource.TestUserResource) ... ok > test_action_create_nonexistent (TestUserResource.TestUserResource) ... ok > test_action_delete (TestUserResource.TestUserResource) ... ok > test_attribute_comment (TestUserResource.TestUserResource) ... ok > test_attribute_gid (TestUserResource.TestUserResource) ... ok > test_attribute_groups (TestUserResource.TestUserResource) ... ok > test_attribute_home (TestUserResource.TestUserResource) ... ok > test_attribute_password (TestUserResource.TestUserResource) ... ok > test_attribute_shell (TestUserResource.TestUserResource) ... ok > test_attribute_uid (TestUserResource.TestUserResource) ... ok > test_missing_shell_argument (TestUserResource.TestUserResource) ... ok > test_action_create_arguments (TestXmlConfigResource.TestXmlConfigResource) > ... ok > test_action_create_empty_xml_config > (TestXmlConfigResource.TestXmlConfigResource) ... ok > test_action_create_simple_xml_config > (TestXmlConfigResource.TestXmlConfigResource) ... ok > test_action_create_xml_config_sorted_by_key > (TestXmlConfigResource.TestXmlConfigResource) ... ok > test_action_create_xml_config_with_metacharacters > (TestXmlConfigResource.TestXmlConfigResource) ... ok > test_normal_flow_rhel (TestListAmbariManagedRepos.TestListAmbariManagedRepos) > ... ok > test_normal_flow_sles (TestListAmbariManagedRepos.TestListAmbariManagedRepos) > ... ok > test_normal_flow_ubuntu > (TestListAmbariManagedRepos.TestListAmbariManagedRepos) ... ok > test_normal_flow_unknown_os > (TestListAmbariManagedRepos.TestListAmbariManagedRepos) ... ok > test_substitute_vars (TestSubstituteVars.TestSubstituteVars) ... ok > testReplaceUnderscore (TestPackageResource.TestPackageResource) ... ok > test_action_install_existent_rhel (TestPackageResource.TestPackageResource) > ... ok > test_action_install_existent_suse (TestPackageResource.TestPackageResource) > ... ok > test_action_install_rhel (TestPackageResource.TestPackageResource) ... ok > test_action_install_suse (TestPackageResource.TestPackageResource) ... ok > test_action_install_ubuntu (TestPackageResource.TestPackageResource) ... ok > test_action_install_ubuntu_update (TestPackageResource.TestPackageResource) > ... ok > test_action_install_use_repos_rhel (TestPackageResource.TestPackageResource) > ... ok > test_action_install_version_attr (TestPackageResource.TestPackageResource) > ... ok > test_action_remove_rhel (TestPackageResource.TestPackageResource) ... ok > test_action_remove_suse (TestPackageResource.TestPackageResource) ... ok > test_action_not_existing (TestServiceResource.TestServiceResource) ... ok > test_action_nothing (TestServiceResource.TestServiceResource) ... ok > test_action_reload (TestServiceResource.TestServiceResource) ... ok > test_action_reload_stopped (TestServiceResource.TestServiceResource) ... ok > test_action_restart (TestServiceResource.TestServiceResource) ... ok > test_action_restart_stopped (TestServiceResource.TestServiceResource) ... ok > test_action_start (TestServiceResource.TestServiceResource) ... ok > test_action_start_running (TestServiceResource.TestServiceResource) ... ok > test_action_stop (TestServiceResource.TestServiceResource) ... ok > test_action_stop_stopped (TestServiceResource.TestServiceResource) ... ok > test_get_port_from_url (TestLibraryFunctions.TestLibraryFunctions) ... ok > test_action_create_empty_properties_with_dir > (TestPropertiesFileResource.TestPropertiesFIleResource) ... ok > test_action_create_empty_properties_without_dir > (TestPropertiesFileResource.TestPropertiesFIleResource) ... ok > test_action_create_properties_rewrite_content > (TestPropertiesFileResource.TestPropertiesFIleResource) ... ok > test_action_create_properties_simple > (TestPropertiesFileResource.TestPropertiesFIleResource) ... ok > test_action_create_properties_with_metacharacters > (TestPropertiesFileResource.TestPropertiesFIleResource) ... ok > test_setup_redhat (TestMonitorWebserverResource.TestMonitorWebserverResource) > ... ok > test_setup_suse (TestMonitorWebserverResource.TestMonitorWebserverResource) > ... ok > test_stop_redhat (TestMonitorWebserverResource.TestMonitorWebserverResource) > ... ok > test_stop_suse (TestMonitorWebserverResource.TestMonitorWebserverResource) > ... ok > test_run_default_args (TestCopyFromLocal.TestCopyFromLocal) ... {'not_if': > "/usr/bin/sudo su user1 -l -s /bin/bash -c > '[RMF_EXPORT_PLACEHOLDER]PATH=$PATH:/usr/bin hadoop fs -ls > /apps/test//*.files'", 'bin_dir': '/usr/bin', 'user': 'user1', 'conf_dir': > '/etc/hadoop/conf'} > ok > test_run_with_chmod (TestCopyFromLocal.TestCopyFromLocal) ... ok > test_build (TestHardware.TestHardware) ... ok > test_extractMountInfo (TestHardware.TestHardware) ... ok > test_facterDataIfConfigOutput (TestHardware.TestHardware) ... ok > test_facterDataOperatingsystemVsFamily (TestHardware.TestHardware) ... ok > test_facterMemInfoOutput (TestHardware.TestHardware) ... ok > test_fqdnDomainHostname (TestHardware.TestHardware) ... ok > test_uptimeSecondsHoursDays (TestHardware.TestHardware) ... ok > test_clean (TestProcessHelper.TestProcessHelper) ... ok > test_restartAgent (TestProcessHelper.TestProcessHelper) ... ok > test_stopAgent (TestProcessHelper.TestProcessHelper) ... ok > test_addToQueue (TestController.TestController) ... ok > test_addToStatusQueue (TestController.TestController) ... ok > test_certSigningFailed (TestController.TestController) ... ok > test_heartbeatWithServer (TestController.TestController) ... ok > test_registerAndHeartbeat (TestController.TestController) ... ok > test_registerAndHeartbeatWithException (TestController.TestController) ... ok > test_registerAndHeartbeat_check_registration_listener > (TestController.TestController) ... ok > test_registerWithIOErrors (TestController.TestController) ... ok > test_registerWithServer (TestController.TestController) ... ok > test_repeatRegistration (TestController.TestController) ... ok > test_restartAgent (TestController.TestController) ... ok > test_run (TestController.TestController) ... ok > test_sendRequest (TestController.TestController) ... ok > test_updateComponents (TestController.TestController) ... ok > test_build (TestLiveStatus.TestLiveStatus) ... ok > test_build_predefined (TestLiveStatus.TestLiveStatus) ... ok > test_read_actual_component_inmemory > (TestActualConfigHandler.TestActualConfigHandler) ... ok > test_read_empty (TestActualConfigHandler.TestActualConfigHandler) ... ok > test_read_write (TestActualConfigHandler.TestActualConfigHandler) ... ok > test_read_write_component (TestActualConfigHandler.TestActualConfigHandler) > ... ok > test_write_actual_component_and_client_components > (TestActualConfigHandler.TestActualConfigHandler) ... ok > test_write_client_components > (TestActualConfigHandler.TestActualConfigHandler) ... ok > test_write_empty_client_components > (TestActualConfigHandler.TestActualConfigHandler) ... ok > test_CachedHTTPSConnection_connect (TestSecurity.TestSecurity) ... ok > test_VerifiedHTTPSConnection_connect (TestSecurity.TestSecurity) ... ok > test_Verified_HTTPSConnection_non_secure_connect (TestSecurity.TestSecurity) > ... ok > test_Verified_HTTPSConnection_two_way_ssl_connect (TestSecurity.TestSecurity) > ... ok > test_checkCertExists (TestSecurity.TestSecurity) ... ok > test_forceClear (TestSecurity.TestSecurity) ... ok > test_genAgentCrtReq (TestSecurity.TestSecurity) ... ok > test_getAgentCrtName (TestSecurity.TestSecurity) ... ok > test_getAgentCrtReqName (TestSecurity.TestSecurity) ... ok > test_getAgentKeyName (TestSecurity.TestSecurity) ... ok > test_getSrvrCrtName (TestSecurity.TestSecurity) ... ok > test_initSecurity (TestSecurity.TestSecurity) ... ok > test_loadSrvrCrt (TestSecurity.TestSecurity) ... ok > test_reqSignCrt (TestSecurity.TestSecurity) ... ok > test_reqSignCrt_malformedJson (TestSecurity.TestSecurity) ... ok > test_request (TestSecurity.TestSecurity) ... ok > test_write_host_check_report > (TestHostCheckReportFileHandler.TestHostCheckReportFileHandler) ... ok > test_write_host_check_report_empty > (TestHostCheckReportFileHandler.TestHostCheckReportFileHandler) ... ok > test_write_host_check_report_really_empty > (TestHostCheckReportFileHandler.TestHostCheckReportFileHandler) ... ok > test_init_success (TestPingPortListener.TestPingPortListener) ... ok > test_init_warn (TestPingPortListener.TestPingPortListener) ... ok > test_build (TestHeartbeat.TestHeartbeat) ... ok > test_build_long_result (TestHeartbeat.TestHeartbeat) ... ok > test_heartbeat_host_check_no_cmd (TestHeartbeat.TestHeartbeat) ... ok > test_heartbeat_no_host_check_cmd_in_queue (TestHeartbeat.TestHeartbeat) ... ok > test_no_mapping (TestHeartbeat.TestHeartbeat) ... ok > test_dead (TestStatusCheck.TestStatusCheck) ... ok > test_dont_relog_serToPidDict (TestStatusCheck.TestStatusCheck) ... ok > test_live (TestStatusCheck.TestStatusCheck) ... ok > test_live_if_multiple_pids (TestStatusCheck.TestStatusCheck) ... ok > test_no_user_mapping (TestStatusCheck.TestStatusCheck) ... ok > test_installAndConfigAction (TestAgentActions.TestAgentActions) ... ok > test_startAndStopAction (TestAgentActions.TestAgentActions) ... ok > test_generation (TestCertGeneration.TestCertGeneration) ... Generating a 1024 > bit RSA private key > ...................................................++++++ > .++++++ > writing new private key to '/tmp/tmpIHikgt/localhost.localdomain.key' > ----- > ok > test_alert_collector_purge (TestAlerts.TestAlerts) ... ok > test_alert_uri_structure (TestAlerts.TestAlerts) ... ok > test_default_reporting_text (TestAlerts.TestAlerts) ... ok > test_disabled_definitions (TestAlerts.TestAlerts) ... ok > test_immediate_alert (TestAlerts.TestAlerts) ... ok > test_metric_alert (TestAlerts.TestAlerts) ... ok > test_port_alert (TestAlerts.TestAlerts) ... ok > test_port_alert_complex_uri (TestAlerts.TestAlerts) ... ok > test_port_alert_no_sub (TestAlerts.TestAlerts) ... ok > test_reschedule (TestAlerts.TestAlerts) ... ok > test_script_alert (TestAlerts.TestAlerts) ... ok > test_skipped_alert (TestAlerts.TestAlerts) ... ok > test_start (TestAlerts.TestAlerts) ... ok > test_web_alert (TestAlerts.TestAlerts) ... ok > test_IpTablesRunning (TestHostInfo.TestHostInfo) ... ok > test_IpTablesStopped (TestHostInfo.TestHostInfo) ... ok > test_analyze_yum_output (TestHostInfo.TestHostInfo) ... ok > test_analyze_yum_output_err (TestHostInfo.TestHostInfo) ... ok > test_analyze_zypper_out (TestHostInfo.TestHostInfo) ... ok > test_checkFolders (TestHostInfo.TestHostInfo) ... ok > test_checkLiveServices (TestHostInfo.TestHostInfo) ... ok > test_checkReverseLookup (TestHostInfo.TestHostInfo) ... ok > test_checkUsers (TestHostInfo.TestHostInfo) ... [call('/etc/oracle-release'), > call('/usr/lib/hadoop'), > call('/var/run/zookeeper')] > ok > test_dirType (TestHostInfo.TestHostInfo) ... ok > test_etcAlternativesConf (TestHostInfo.TestHostInfo) ... ok > test_getReposToRemove (TestHostInfo.TestHostInfo) ... ok > test_hadoopVarLogCount (TestHostInfo.TestHostInfo) ... ok > test_hadoopVarRunCount (TestHostInfo.TestHostInfo) ... ok > test_hostinfo_register (TestHostInfo.TestHostInfo) ... ok > test_hostinfo_register_suse (TestHostInfo.TestHostInfo) ... ok > test_javaProcs (TestHostInfo.TestHostInfo) ... ok > test_osdiskAvailableSpace (TestHostInfo.TestHostInfo) ... ok > test_perform_package_analysis (TestHostInfo.TestHostInfo) ... ok > test_transparent_huge_page (TestHostInfo.TestHostInfo) ... ok > test_check_web_ui (TestCheckWebUI.TestMain) ... ok > test_clear_cache (TestHostCleanup.TestHostCleanup) ... ok > test_do_cleanup_all (TestHostCleanup.TestHostCleanup) ... ok > test_do_cleanup_default (TestHostCleanup.TestHostCleanup) ... ok > test_do_cleanup_with_skip (TestHostCleanup.TestHostCleanup) ... ok > test_do_delete_by_owner (TestHostCleanup.TestHostCleanup) ... ok > test_do_delete_users (TestHostCleanup.TestHostCleanup) ... ok > test_do_earse_packages (TestHostCleanup.TestHostCleanup) ... ok > test_do_erase_alternatives (TestHostCleanup.TestHostCleanup) ... ok > test_find_repo_files_for_repos (TestHostCleanup.TestHostCleanup) ... ok > test_options (TestHostCleanup.TestHostCleanup) ... ok > test_options_silent (TestHostCleanup.TestHostCleanup) ... ok > test_read_host_check_file (TestHostCleanup.TestHostCleanup) ... ok > test_read_host_check_file_with_content (TestHostCleanup.TestHostCleanup) ... > ok > test_bind_signal_handlers (TestMain.TestMain) ... ok > test_daemonize_and_stop (TestMain.TestMain) ... ok > test_main (TestMain.TestMain) ... ok > test_perform_prestart_checks (TestMain.TestMain) ... ok > test_reset (TestMain.TestMain) ... ok > test_reset_invalid_path (TestMain.TestMain) ... ok > test_resolve_ambari_config (TestMain.TestMain) ... ok > test_setup_logging (TestMain.TestMain) ... ok > test_signal_handler (TestMain.TestMain) ... ok > test_update_log_level (TestMain.TestMain) ... ok > test_cleanup_remove_error (TestDataCleaner.TestDataCleaner) ... ok > test_cleanup_success (TestDataCleaner.TestDataCleaner) ... ok > test_config (TestDataCleaner.TestDataCleaner) ... ok > test_init_success (TestDataCleaner.TestDataCleaner) ... ok > test_init_warn (TestDataCleaner.TestDataCleaner) ... ok > test_registration_build (TestRegistration.TestRegistration) ... 18 > ok > test_execution_results (TestPythonExecutor.TestPythonExecutor) ... ok > test_is_successfull (TestPythonExecutor.TestPythonExecutor) ... ok > test_python_command (TestPythonExecutor.TestPythonExecutor) ... ok > test_watchdog_1 (TestPythonExecutor.TestPythonExecutor) ... ok > test_watchdog_2 (TestPythonExecutor.TestPythonExecutor) ... ok > test_build_download_url (TestFileCache.TestFileCache) ... ok > test_fetch_url (TestFileCache.TestFileCache) ... ok > test_get_custom_actions_base_dir (TestFileCache.TestFileCache) ... ok > test_get_hook_base_dir (TestFileCache.TestFileCache) ... ok > test_get_service_base_dir (TestFileCache.TestFileCache) ... ok > test_invalidate_directory (TestFileCache.TestFileCache) ... ok > test_provide_directory (TestFileCache.TestFileCache) ... ok > test_read_write_hash_sum (TestFileCache.TestFileCache) ... ok > test_reset (TestFileCache.TestFileCache) ... ok > test_unpack_archive (TestFileCache.TestFileCache) ... ok > test_cleanByTemplate (TestGrep.TestGrep) ... ok > test_grep_all (TestGrep.TestGrep) ... ok > test_grep_empty_string (TestGrep.TestGrep) ... ok > test_grep_few_lines (TestGrep.TestGrep) ... ok > test_grep_many_lines (TestGrep.TestGrep) ... ok > test_grep_no_result (TestGrep.TestGrep) ... ok > test_tail_all (TestGrep.TestGrep) ... ok > test_tail_few_lines (TestGrep.TestGrep) ... ok > test_tail_many_lines (TestGrep.TestGrep) ... ok > test_tail_no_lines (TestGrep.TestGrep) ... ok > test_add_reg_listener_to_controller > (TestCustomServiceOrchestrator.TestCustomServiceOrchestrator) ... ok > test_cancel_backgound_command > (TestCustomServiceOrchestrator.TestCustomServiceOrchestrator) ... ok > test_cancel_command > (TestCustomServiceOrchestrator.TestCustomServiceOrchestrator) ... ok > test_dump_command_to_json > (TestCustomServiceOrchestrator.TestCustomServiceOrchestrator) ... ok > test_requestComponentSecurityState > (TestCustomServiceOrchestrator.TestCustomServiceOrchestrator) ... ok > test_requestComponentSecurityState_realFailure > (TestCustomServiceOrchestrator.TestCustomServiceOrchestrator) ... ok > test_requestComponentStatus > (TestCustomServiceOrchestrator.TestCustomServiceOrchestrator) ... ok > test_resolve_hook_script_path > (TestCustomServiceOrchestrator.TestCustomServiceOrchestrator) ... ok > test_resolve_script_path > (TestCustomServiceOrchestrator.TestCustomServiceOrchestrator) ... ok > test_runCommand (TestCustomServiceOrchestrator.TestCustomServiceOrchestrator) > ... ok > test_runCommand_background_action > (TestCustomServiceOrchestrator.TestCustomServiceOrchestrator) ... ok > test_runCommand_custom_action > (TestCustomServiceOrchestrator.TestCustomServiceOrchestrator) ... ok > test_ActionQueueStartStop (TestActionQueue.TestActionQueue) ... ok > test_cancel (TestActionQueue.TestActionQueue) ... ok > test_execute_background_command (TestActionQueue.TestActionQueue) ... ok > test_execute_command (TestActionQueue.TestActionQueue) ... ok > test_execute_python_executor (TestActionQueue.TestActionQueue) ... ok > test_execute_status_command (TestActionQueue.TestActionQueue) ... ok > test_execute_status_command_with_alerts (TestActionQueue.TestActionQueue) ... > ok > test_process_command (TestActionQueue.TestActionQueue) ... ok > test_reset_queue (TestActionQueue.TestActionQueue) ... ok > test_store_configuration_tags (TestActionQueue.TestActionQueue) ... ok > test_store_configuration_tags_no_clients (TestActionQueue.TestActionQueue) > ... ok > test_changeUid (TestShell.TestShell) ... ok > test_kill_process_with_children (TestShell.TestShell) ... ok > test_shellRunner_run (TestShell.TestShell) ... ok > test_extract (TestStackVersionsFileHandler.TestStackVersionsFileHandler) ... > ok > test_read_all_stack_versions > (TestStackVersionsFileHandler.TestStackVersionsFileHandler) ... ok > test_read_stack_version > (TestStackVersionsFileHandler.TestStackVersionsFileHandler) ... ok > test_touch_file (TestStackVersionsFileHandler.TestStackVersionsFileHandler) > ... ok > test_write_stack_version > (TestStackVersionsFileHandler.TestStackVersionsFileHandler) ... ok > test_put_and_generate (TestCommandStatusDict.TestCommandStatusDict) ... ok > test_put_command_status (TestCommandStatusDict.TestCommandStatusDict) ... ok > test_structured_output (TestCommandStatusDict.TestCommandStatusDict) ... ok > test_checkURL (TestNetUtil.TestNetUtil) ... ok > test_try_to_connect (TestNetUtil.TestNetUtil) ... ok > test_caching (TestHostname.TestHostname) ... ok > test_hostname (TestHostname.TestHostname) ... ok > test_hostname_override (TestHostname.TestHostname) ... ok > test_public_hostname_override (TestHostname.TestHostname) ... ok > test_main (TestAmbariAgent.TestAmbariAgent) ... ok > > ---------------------------------------------------------------------- > Ran 330 tests in 8.863s > > OK > > Process finished with exit code 0 > > > Thanks, > > Vitalyi Brodetskyi > >
