See <https://builds.apache.org/job/Aurora/489/changes>
Changes: [wfarner] Always log unexpected scheduler lifecycle death. [wfarner] Add an InstanceUpdater to fit into rolling update coordination in the scheduler. [maxim] Defining stubs for the Update APIs. ------------------------------------------ [...truncated 1329 lines...] src/test/python/apache/aurora/client/commands/test_admin.py@81::TestQueryCommand::test_query test_role/test_job/0 RUNNING PASSED src/test/python/apache/aurora/client/commands/test_admin.py@96::TestQueryCommand::test_query_fails CRITICAL:root:--force is required for expensive queries (no role specified) PASSED src/test/python/apache/aurora/client/commands/test_admin.py@131::TestIncreaseQuotaCommand::test_increase_quota PASSED src/test/python/apache/aurora/client/commands/test_admin.py@173::TestSetQuotaCommand::test_set_quota PASSED src/test/python/apache/aurora/client/commands/test_admin.py@218::TestGetLocksCommand::test_get_locks PASSED src/test/python/apache/aurora/client/commands/test_admin_sla.py@89::TestAdminSlaListSafeDomainCommand::test_safe_domain_exclude_hosts PASSED src/test/python/apache/aurora/client/commands/test_admin_sla.py@115::TestAdminSlaListSafeDomainCommand::test_safe_domain_exclude_hosts_from_list PASSED src/test/python/apache/aurora/client/commands/test_admin_sla.py@284::TestAdminSlaListSafeDomainCommand::test_safe_domain_grouping_error CRITICAL:root:Unknown grouping function foo. Must be one of: ['by_host'] PASSED src/test/python/apache/aurora/client/commands/test_admin_sla.py@272::TestAdminSlaListSafeDomainCommand::test_safe_domain_hosts_error CRITICAL:root:Cannot specify both filename and list for the same option. PASSED src/test/python/apache/aurora/client/commands/test_admin_sla.py@138::TestAdminSlaListSafeDomainCommand::test_safe_domain_include_hosts PASSED src/test/python/apache/aurora/client/commands/test_admin_sla.py@167::TestAdminSlaListSafeDomainCommand::test_safe_domain_include_hosts_from_list PASSED src/test/python/apache/aurora/client/commands/test_admin_sla.py@246::TestAdminSlaListSafeDomainCommand::test_safe_domain_invalid_percentage CRITICAL:root:Invalid percentage 0. Must be within (0, 100]. PASSED src/test/python/apache/aurora/client/commands/test_admin_sla.py@221::TestAdminSlaListSafeDomainCommand::test_safe_domain_list_jobs PASSED src/test/python/apache/aurora/client/commands/test_admin_sla.py@257::TestAdminSlaListSafeDomainCommand::test_safe_domain_malformed_job_override CRITICAL:root:Invalid line in /tmp/tmpWl5V94:30 200s PASSED src/test/python/apache/aurora/client/commands/test_admin_sla.py@67::TestAdminSlaListSafeDomainCommand::test_safe_domain_no_options PASSED src/test/python/apache/aurora/client/commands/test_admin_sla.py@193::TestAdminSlaListSafeDomainCommand::test_safe_domain_override_jobs PASSED src/test/python/apache/aurora/client/commands/test_admin_sla.py@395::TestAdminSlaProbeHostsCommand::test_probe_grouping_error CRITICAL:root:Unknown grouping function foo. Must be one of: ['by_host'] PASSED src/test/python/apache/aurora/client/commands/test_admin_sla.py@380::TestAdminSlaProbeHostsCommand::test_probe_hosts_error CRITICAL:root:Please specify either --filename or --hosts PASSED src/test/python/apache/aurora/client/commands/test_admin_sla.py@351::TestAdminSlaProbeHostsCommand::test_probe_hosts_with_file PASSED src/test/python/apache/aurora/client/commands/test_admin_sla.py@323::TestAdminSlaProbeHostsCommand::test_probe_hosts_with_list PASSED ========================== 20 passed in 0.68 seconds =========================== ============================= test session starts ============================== platform linux2 -- Python 2.7.6 -- py-1.4.22 -- pytest-2.6.0 -- /usr/bin/python2.7 plugins: cov, timeout collecting ... collected 1 items src/test/python/apache/aurora/common/test_aurora_job_key.py@22::AuroraJobKeyTest::test_basic PASSED =========================== 1 passed in 0.10 seconds =========================== ============================= test session starts ============================== platform linux2 -- Python 2.7.6 -- py-1.4.22 -- pytest-2.6.0 -- /usr/bin/python2.7 plugins: cov, timeout collecting ... collected 33 items src/test/python/apache/aurora/client/commands/test_cancel_update.py@113::TestClientCancelUpdateCommand::test_cancel_update_api_level PASSED src/test/python/apache/aurora/client/commands/test_cancel_update.py@83::TestClientCancelUpdateCommand::test_simple_successful_cancel_update PASSED src/test/python/apache/aurora/client/commands/test_create.py@172::TestClientCreateCommand::test_create_job_failed PASSED src/test/python/apache/aurora/client/commands/test_create.py@226::TestClientCreateCommand::test_create_job_failed_invalid_config PASSED src/test/python/apache/aurora/client/commands/test_create.py@249::TestClientCreateCommand::test_create_job_failed_invalid_config_two PASSED src/test/python/apache/aurora/client/commands/test_create.py@139::TestClientCreateCommand::test_create_job_wait_until_finished PASSED src/test/python/apache/aurora/client/commands/test_create.py@196::TestClientCreateCommand::test_delayed_job PASSED src/test/python/apache/aurora/client/commands/test_create.py@96::TestClientCreateCommand::test_simple_successful_create_job PASSED src/test/python/apache/aurora/client/commands/test_diff.py@142::TestDiffCommand::test_diff_invalid_config PASSED src/test/python/apache/aurora/client/commands/test_diff.py@168::TestDiffCommand::test_diff_server_error CRITICAL:root:Request failed, server responded with "No tasks found for query" PASSED src/test/python/apache/aurora/client/commands/test_diff.py@107::TestDiffCommand::test_successful_diff PASSED src/test/python/apache/aurora/client/commands/test_kill.py@189::TestClientKillCommand::test_happy_hook PASSED src/test/python/apache/aurora/client/commands/test_kill.py@240::TestClientKillCommand::test_hook_aborts_kill Command execution aborted by hook failure PASSED src/test/python/apache/aurora/client/commands/test_kill.py@340::TestClientKillCommand::test_kill_job_api_level PASSED src/test/python/apache/aurora/client/commands/test_kill.py@373::TestClientKillCommand::test_kill_job_api_level_with_shards PASSED src/test/python/apache/aurora/client/commands/test_kill.py@407::TestClientKillCommand::test_kill_job_api_level_with_shards_batched PASSED src/test/python/apache/aurora/client/commands/test_kill.py@437::TestClientKillCommand::test_kill_job_api_level_with_shards_batched_and_some_errors ERROR IN KILL_JOB ERROR IN KILL_JOB Warning: errors occurred during batch kill PASSED src/test/python/apache/aurora/client/commands/test_kill.py@135::TestClientKillCommand::test_kill_job_noshards_fail Shards option is required for kill; use killall to kill all shards PASSED src/test/python/apache/aurora/client/commands/test_kill.py@96::TestClientKillCommand::test_kill_job_tasks_not_killed_in_time CRITICAL:root:Tasks were not killed in time. PASSED src/test/python/apache/aurora/client/commands/test_kill.py@154::TestClientKillCommand::test_simple_successful_killall_job PASSED src/test/python/apache/aurora/client/commands/test_kill.py@304::TestClientKillCommand::test_successful_batched_killall_job PASSED src/test/python/apache/aurora/client/commands/test_listjobs.py@68::TestListJobs::test_listjobs_badcluster CRITICAL:root:Unknown cluster: smoof PASSED src/test/python/apache/aurora/client/commands/test_listjobs.py@52::TestListJobs::test_successful_listjobs west/mchucarroll/test/foo '<Mock name='mock.cronSchedule' id='140158649289104'>' <Mock name='mock.cronCollisionPolicy' id='140158649289616'> west/mchucarroll/test/bar '<Mock name='mock.cronSchedule' id='140158649289360'>' <Mock name='mock.cronCollisionPolicy' id='140158649260432'> west/mchucarroll/test/baz '<Mock name='mock.cronSchedule' id='140158649258768'>' <Mock name='mock.cronCollisionPolicy' id='140158649260752'> PASSED src/test/python/apache/aurora/client/commands/test_restart.py@189::TestRestartCommand::test_restart_failed_restart ERROR:root:Error restarting instances: Damn PASSED src/test/python/apache/aurora/client/commands/test_restart.py@165::TestRestartCommand::test_restart_failed_status PASSED src/test/python/apache/aurora/client/commands/test_restart.py@103::TestRestartCommand::test_restart_simple PASSED src/test/python/apache/aurora/client/commands/test_restart.py@135::TestRestartCommand::test_restart_simple_invalid_max_failures max_total_failures option must be >0, but you specified -1 PASSED src/test/python/apache/aurora/client/commands/test_status.py@99::TestListJobs::test_successful_status PASSED src/test/python/apache/aurora/client/commands/test_status.py@131::TestListJobs::test_successful_status_nometadata PASSED src/test/python/apache/aurora/client/commands/test_status.py@116::TestListJobs::test_unsuccessful_status PASSED src/test/python/apache/aurora/client/commands/test_update.py@78::TestUpdateCommand::test_update_command_line_succeeds PASSED src/test/python/apache/aurora/client/commands/test_update.py@99::TestUpdateCommand::test_update_invalid_config PASSED src/test/python/apache/aurora/client/commands/test_update.py@217::TestUpdateCommand::test_updater_simple PASSED ========================== 33 passed in 7.80 seconds =========================== Exception in thread Thread-1 [TID=4426] (most likely raised during interpreter shutdown): Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner File "/tmp/tmpe6Mxa4/.deps/twitter.common.decorators-0.3.0-py2-none-any.whl/twitter/common/decorators/threads.py", line 115, in identified File "/tmp/tmpe6Mxa4/apache/aurora/client/api/error_handling_thread.py", line 43, in _excepting_run File "/usr/lib/python2.7/threading.py", line 763, in run File "/tmp/tmpe6Mxa4/apache/aurora/client/api/scheduler_mux.py", line 56, in __monitor File "/usr/lib/python2.7/Queue.py", line 174, in get <type 'exceptions.TypeError'>: 'NoneType' object is not callable ============================= test session starts ============================== platform linux2 -- Python 2.7.6 -- py-1.4.22 -- pytest-2.6.0 -- /usr/bin/python2.7 plugins: cov, timeout collecting ... collected 3 items src/test/python/apache/aurora/common/test_cluster_option.py@33::test_constructors PASSED src/test/python/apache/aurora/common/test_cluster_option.py@66::test_parsable PASSED src/test/python/apache/aurora/common/test_cluster_option.py@73::test_not_parsable PASSED =========================== 3 passed in 0.06 seconds =========================== ============================= test session starts ============================== platform linux2 -- Python 2.7.6 -- py-1.4.22 -- pytest-2.6.0 -- /usr/bin/python2.7 plugins: cov, timeout collecting ... collected 4 items src/test/python/apache/aurora/client/cli/test_quota.py@49::TestGetQuotaCommand::test_get_quota_no_consumption PASSED src/test/python/apache/aurora/client/cli/test_quota.py@53::TestGetQuotaCommand::test_get_quota_with_consumption PASSED src/test/python/apache/aurora/client/cli/test_quota.py@65::TestGetQuotaCommand::test_get_quota_with_consumption_json PASSED src/test/python/apache/aurora/client/cli/test_quota.py@61::TestGetQuotaCommand::test_get_quota_with_no_consumption_json PASSED =========================== 4 passed in 0.66 seconds =========================== ============================= test session starts ============================== platform linux2 -- Python 2.7.6 -- py-1.4.22 -- pytest-2.6.0 -- /usr/bin/python2.7 plugins: cov, timeout collecting ... collected 1 items src/test/python/apache/thermos/core/test_angry.py@35::test_flaky_runner Run #1 Completed in 1 runs PASSED =========================== 1 passed in 4.68 seconds =========================== ============================= test session starts ============================== platform linux2 -- Python 2.7.6 -- py-1.4.22 -- pytest-2.6.0 -- /usr/bin/python2.7 plugins: cov, timeout collecting ... collected 3 items src/test/python/apache/aurora/executor/common/test_health_checker.py@74::TestHealthChecker::test_consecutive_failures WARNING:root:Health check failure: reason WARNING:root:Health check failure: reason WARNING:root:Health check failure: reason WARNING:root:Health check failure: reason WARNING:root:Health check failure: reason WARNING:root:Reached consecutive failure limit. Time now: 0 Time now: 2 Time now: 2 Time now: 3 Time now: 3 Time now: 4 Time now: 4 Time now: 5 Time now: 5 Time now: 6 Time now: 6 Time now: 7 PASSED src/test/python/apache/aurora/executor/common/test_health_checker.py@44::TestHealthChecker::test_initial_interval_2x WARNING:root:Health check failure: reason WARNING:root:Reached consecutive failure limit. Time now: 0 Time now: 6 Time now: 9 Time now: 10 PASSED src/test/python/apache/aurora/executor/common/test_health_checker.py@61::TestHealthChecker::test_initial_interval_whatev PASSED =========================== 3 passed in 1.41 seconds =========================== ============================= test session starts ============================== platform linux2 -- Python 2.7.6 -- py-1.4.22 -- pytest-2.6.0 -- /usr/bin/python2.7 plugins: cov, timeout collecting ... collected 4 items src/test/python/apache/aurora/client/cli/test_plugins.py@150::TestPlugins::test_empty_plugins_in_create_job PASSED src/test/python/apache/aurora/client/cli/test_plugins.py@183::TestPlugins::test_plugin_options_in_help PASSED src/test/python/apache/aurora/client/cli/test_plugins.py@113::TestPlugins::test_plugin_runs_in_create_job PASSED src/test/python/apache/aurora/client/cli/test_plugins.py@198::TestPlugins::test_verbose_logging_plugin_in_create_job log(info): Message from scheduler: OK log(info): Command terminated successfully PASSED =========================== 4 passed in 1.01 seconds =========================== ============================= test session starts ============================== platform linux2 -- Python 2.7.6 -- py-1.4.22 -- pytest-2.6.0 -- /usr/bin/python2.7 plugins: cov, timeout collecting ... collected 2 items src/test/python/apache/aurora/client/cli/test_logging.py@97::TestLogging::test_command_invocation_logging PASSED src/test/python/apache/aurora/client/cli/test_logging.py@134::TestLogging::test_configuration_logging PASSED =========================== 2 passed in 0.64 seconds =========================== ============================= test session starts ============================== platform linux2 -- Python 2.7.6 -- py-1.4.22 -- pytest-2.6.0 -- /usr/bin/python2.7 plugins: cov, timeout collecting ... collected 53 items src/test/python/apache/aurora/client/api/test_scheduler_client.py@55::test_coverage FAILED =================================== FAILURES =================================== ________________________________ test_coverage _________________________________ def test_coverage(): """Make sure a new thrift RPC doesn't get added without minimal test coverage.""" for name, klass in inspect.getmembers(AuroraAdmin) + inspect.getmembers(AuroraSchedulerManager): if name.endswith('_args'): rpc_name = name[:-len('_args')] assert hasattr(TestSchedulerProxyAdminInjection, 'test_%s' % rpc_name), ( > 'No test defined for RPC %s' % rpc_name) E AssertionError: No test defined for RPC abortUpdate src/test/python/apache/aurora/client/api/test_scheduler_client.py:61: AssertionError !!!!!!!!!!!!!!!!!!!! Interrupted: stopping after 1 failures !!!!!!!!!!!!!!!!!!!! ===================== 1 failed, 1 warnings in 0.47 seconds ===================== Build operating on top level addresses: set([BuildFileAddress(<https://builds.apache.org/job/Aurora/ws/src/test/python/BUILD,> all)]) src.test.python.apache.aurora.client.api.disambiguator ..... SUCCESS src.test.python.apache.aurora.client.api.instance_watcher ..... SUCCESS src.test.python.apache.aurora.client.api.job_monitor ..... SUCCESS src.test.python.apache.aurora.client.api.mux ..... SUCCESS src.test.python.apache.aurora.client.api.scheduler_client ..... FAILURE src.test.python.apache.aurora.client.api.updater ..... SUCCESS src.test.python.apache.aurora.client.binding_helper ..... SUCCESS src.test.python.apache.aurora.client.cli.config ..... SUCCESS src.test.python.apache.aurora.client.cli.job ..... SUCCESS src.test.python.apache.aurora.client.cli.logging ..... SUCCESS src.test.python.apache.aurora.client.cli.plugins ..... SUCCESS src.test.python.apache.aurora.client.cli.quota ..... SUCCESS src.test.python.apache.aurora.client.cli.sla ..... SUCCESS src.test.python.apache.aurora.client.cli.task ..... SUCCESS src.test.python.apache.aurora.client.commands.admin ..... SUCCESS src.test.python.apache.aurora.client.commands.core ..... SUCCESS src.test.python.apache.aurora.client.config ..... SUCCESS src.test.python.apache.aurora.client.hooks.hooked_api ..... SUCCESS src.test.python.apache.aurora.client.hooks.non_hooked_api ..... SUCCESS src.test.python.apache.aurora.common.test_aurora_job_key ..... SUCCESS src.test.python.apache.aurora.common.test_cluster ..... SUCCESS src.test.python.apache.aurora.common.test_cluster_option ..... SUCCESS src.test.python.apache.aurora.common.test_clusters ..... SUCCESS src.test.python.apache.aurora.common.test_http_signaler ..... SUCCESS src.test.python.apache.aurora.config.test_loader ..... SUCCESS src.test.python.apache.aurora.config.test_thrift ..... SUCCESS src.test.python.apache.aurora.executor.common.directory_sandbox ..... SUCCESS src.test.python.apache.aurora.executor.common.health_checker ..... SUCCESS src.test.python.apache.aurora.executor.common.task_info ..... SUCCESS src.test.python.apache.aurora.executor.executor_vars ..... SUCCESS src.test.python.apache.thermos.bin.test_thermos ..... SUCCESS src.test.python.apache.thermos.common.test_pathspec ..... SUCCESS src.test.python.apache.thermos.common.test_task_planner ..... SUCCESS src.test.python.apache.thermos.core.test_angry ..... SUCCESS src.test.python.apache.thermos.core.test_failing_runner ..... SUCCESS src.test.python.apache.thermos.core.test_runner_integration ..... SUCCESS src.test.python.apache.thermos.monitoring.test_disk ..... SUCCESS Build step 'Execute shell' marked build as failure Recording test results