See <https://builds.apache.org/job/Aurora/559/changes>
Changes: [maxim] Removing host_drain delay. ------------------------------------------ [...truncated 6876 lines...] 127.0.0.1 - - [15/Sep/2014 22:33:54] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:33:54] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:33:54] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:33:54] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:33:54] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:33:54] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:33:54] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:33:54] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:33:54] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:33:54] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:33:55] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:33:55] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:33:55] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:33:55] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:33:55] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:33:55] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:33:55] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:33:55] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:33:55] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:33:55] code 501, message Unsupported method ('POST') 127.0.0.1 - - [15/Sep/2014 22:33:55] "POST /quitquitquit HTTP/1.1" 501 - 127.0.0.1 - - [15/Sep/2014 22:33:55] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:33:56] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:33:56] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:33:56] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:33:56] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:33:56] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:33:56] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:33:56] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:33:56] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:33:56] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:33:56] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:33:57] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:33:57] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:33:57] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:33:57] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:33:57] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:33:57] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:33:57] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:33:57] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:33:57] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:33:57] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:33:58] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:33:58] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:33:58] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:33:58] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:33:58] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:33:58] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:33:58] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:33:58] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:33:58] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:33:58] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:33:59] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:33:59] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:33:59] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:33:59] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:33:59] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:33:59] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:33:59] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:33:59] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:33:59] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:34:00] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:34:00] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:34:00] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:34:00] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:34:00] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:34:00] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:34:00] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:34:00] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:34:00] "GET /health HTTP/1.1" 200 - 127.0.0.1 - - [15/Sep/2014 22:34:00] "GET /health HTTP/1.1" 200 - PASSED src/test/python/apache/aurora/executor/test_thermos_executor.py::TestThermosExecutor::test_failing_runner_start FATAL] Task initialization failed: I am an idiot! PASSED src/test/python/apache/aurora/executor/test_thermos_executor.py::TestThermosExecutor::test_failing_runner_initialize FATAL] Failed to initialize sandbox: Could not create directory! PASSED src/test/python/apache/aurora/executor/test_thermos_executor.py::TestThermosExecutor::test_slow_runner_initialize FATAL] Timed out waiting for sandbox to initialize! PASSED src/test/python/apache/aurora/executor/test_thermos_executor.py::TestThermosExecutor::test_killTask_during_runner_initialize ERROR] Asked to kill task with incomplete sandbox - aborting runner start FATAL] Task killed during initialization. PASSED src/test/python/apache/aurora/executor/test_thermos_executor.py::TestThermosExecutor::test_launchTask_deserialization_fail FATAL] Could not deserialize Thermos task from AssignedTask: Could not deserialize thermos config: No JSON object could be decoded PASSED src/test/python/apache/aurora/executor/test_thermos_executor.py::test_waiting_executor ERROR] Executor timing out. PASSED ========================== 15 passed in 35.45 seconds ========================== Writing log files to disk in /tmp/tmpSIz5hF ============================= test session starts ============================== platform linux2 -- Python 2.7.6 -- py-1.4.24 -- pytest-2.6.2 -- /usr/bin/python2.7 plugins: cov, timeout collecting ... collected 3 items src/test/python/apache/aurora/client/commands/test_hooks.py::TestClientCreateCommand::test_block_hooks WARNING: create is an aurora clientv1 command which will be deprecated soon To run this command using clientv2, use 'aurora job create west/mchucarroll/test/hello /tmp/tmp7sZbIp --wait-until=RUNNING' PASSED src/test/python/apache/aurora/client/commands/test_hooks.py::TestClientCreateCommand::test_create_job_hook_aborts WARNING: create is an aurora clientv1 command which will be deprecated soon To run this command using clientv2, use 'aurora job create west/mchucarroll/test/hello /tmp/tmpFtyGQA --wait-until=RUNNING' PASSED src/test/python/apache/aurora/client/commands/test_hooks.py::TestClientCreateCommand::test_create_job_hook_called WARNING: create is an aurora clientv1 command which will be deprecated soon To run this command using clientv2, use 'aurora job create west/mchucarroll/test/hello /tmp/tmpfGUDt_ --wait-until=RUNNING' PASSED =========================== 3 passed in 1.17 seconds =========================== ============================= test session starts ============================== platform linux2 -- Python 2.7.6 -- py-1.4.24 -- pytest-2.6.2 -- /usr/bin/python2.7 plugins: cov, timeout collecting ... collected 7 items src/test/python/apache/aurora/client/cli/test_cron.py::TestCronNoun::test_cron_status PASSED src/test/python/apache/aurora/client/cli/test_cron.py::TestCronNoun::test_deschedule_cron_deep_api PASSED src/test/python/apache/aurora/client/cli/test_cron.py::TestCronNoun::test_schedule_cron_deep_api PASSED src/test/python/apache/aurora/client/cli/test_cron.py::TestCronNoun::test_schedule_cron_failed_invalid_config Error executing command: Error loading configuration: invalid syntax (tmpYfs_eO, line 9) PASSED src/test/python/apache/aurora/client/cli/test_cron.py::TestCronNoun::test_schedule_failed Error executing command: Error scheduling job west/bozo/test/hello; see log for details PASSED src/test/python/apache/aurora/client/cli/test_cron.py::TestCronNoun::test_start_cron PASSED src/test/python/apache/aurora/client/cli/test_cron.py::TestCronNoun::test_successful_schedule PASSED =========================== 7 passed in 1.07 seconds =========================== ============================= test session starts ============================== platform linux2 -- Python 2.7.6 -- py-1.4.24 -- pytest-2.6.2 -- /usr/bin/python2.7 plugins: cov, timeout collecting ... collected 1 items src/test/python/apache/aurora/executor/common/test_status_checker.py::test_chained_health_interface PASSED =========================== 1 passed in 0.16 seconds =========================== ============================= test session starts ============================== platform linux2 -- Python 2.7.6 -- py-1.4.24 -- pytest-2.6.2 -- /usr/bin/python2.7 plugins: cov, timeout collecting ... collected 10 items src/test/python/apache/aurora/client/commands/test_maintenance.py::TestMaintenanceCommands::test_end_maintenance_hosts PASSED src/test/python/apache/aurora/client/commands/test_maintenance.py::TestMaintenanceCommands::test_host_maintenance_status PASSED src/test/python/apache/aurora/client/commands/test_maintenance.py::TestMaintenanceCommands::test_perform_maintenance_hosts FAILED =================================== FAILURES =================================== ____________ TestMaintenanceCommands.test_perform_maintenance_hosts ____________ self = <test_maintenance.TestMaintenanceCommands testMethod=test_perform_maintenance_hosts> def test_perform_maintenance_hosts(self): mock_options = self.make_mock_options() mock_options.post_drain_script = 'callback' mock_options.grouping = 'by_host' def host_status_results(hostnames): if isinstance(hostnames, Hosts): return self.create_drained_status_result(hostnames) return self.create_maintenance_status_result() mock_api, mock_scheduler_proxy = self.create_mock_api() mock_callback = Mock() mock_scheduler_proxy.maintenanceStatus.side_effect = host_status_results mock_scheduler_proxy.startMaintenance.return_value = self.create_start_maintenance_result() mock_scheduler_proxy.drainHosts.return_value = self.create_start_maintenance_result() mock_vector = self.create_mock_probe_hosts_vector([ self.create_probe_hosts(self.HOSTNAMES[0], 95, True, None), self.create_probe_hosts(self.HOSTNAMES[1], 95, True, None), self.create_probe_hosts(self.HOSTNAMES[2], 95, True, None) ]) with contextlib.nested( patch('time.sleep'), patch('apache.aurora.client.api.SchedulerProxy', return_value=mock_scheduler_proxy), patch('apache.aurora.client.api.sla.Sla.get_domain_uptime_vector', return_value=mock_vector), patch('apache.aurora.client.commands.maintenance.CLUSTERS', new=self.TEST_CLUSTERS), patch('apache.aurora.client.commands.maintenance.parse_script', return_value=mock_callback), patch('twitter.common.app.get_options', return_value=mock_options)) as ( mock_sleep, _, _, _, _, _): host_drain([self.TEST_CLUSTER]) mock_scheduler_proxy.startMaintenance.assert_called_with(Hosts(set(self.HOSTNAMES))) #TODO(jsmith): Consider not mocking out sleep and instead refactoring > assert mock_sleep.call_count == 3 E AssertionError: assert 0 == 3 E + where 0 = <MagicMock name='sleep' id='139768085936912'>.call_count src/test/python/apache/aurora/client/commands/test_maintenance.py:149: AssertionError !!!!!!!!!!!!!!!!!!!! Interrupted: stopping after 1 failures !!!!!!!!!!!!!!!!!!!! ====================== 1 failed, 2 passed in 0.63 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.admin.host_maintenance ..... SUCCESS src.test.python.apache.aurora.client.api.api ..... SUCCESS 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.restarter ..... SUCCESS src.test.python.apache.aurora.client.api.scheduler_client ..... SUCCESS src.test.python.apache.aurora.client.api.updater ..... SUCCESS src.test.python.apache.aurora.client.api.updater_util ..... SUCCESS src.test.python.apache.aurora.client.binding_helper ..... SUCCESS src.test.python.apache.aurora.client.cli.api ..... SUCCESS src.test.python.apache.aurora.client.cli.command_hooks ..... SUCCESS src.test.python.apache.aurora.client.cli.config ..... SUCCESS src.test.python.apache.aurora.client.cli.cron ..... SUCCESS src.test.python.apache.aurora.client.cli.help ..... SUCCESS src.test.python.apache.aurora.client.cli.inspect ..... 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.commands.hooks ..... SUCCESS src.test.python.apache.aurora.client.commands.maintenance ..... FAILURE src.test.python.apache.aurora.client.commands.ssh ..... 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.common.test_shellify ..... SUCCESS src.test.python.apache.aurora.common.test_transport ..... SUCCESS src.test.python.apache.aurora.config.test_base ..... 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.announcer ..... SUCCESS src.test.python.apache.aurora.executor.common.directory_sandbox ..... SUCCESS src.test.python.apache.aurora.executor.common.executor_timeout ..... SUCCESS src.test.python.apache.aurora.executor.common.health_checker ..... SUCCESS src.test.python.apache.aurora.executor.common.status_checker ..... SUCCESS src.test.python.apache.aurora.executor.common.task_info ..... SUCCESS src.test.python.apache.aurora.executor.executor_base ..... SUCCESS src.test.python.apache.aurora.executor.executor_vars ..... SUCCESS src.test.python.apache.aurora.executor.gc_executor ..... SUCCESS src.test.python.apache.aurora.executor.status_manager ..... SUCCESS src.test.python.apache.aurora.executor.thermos_executor ..... SUCCESS src.test.python.apache.aurora.executor.thermos_task_runner ..... 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_failure_limit ..... SUCCESS src.test.python.apache.thermos.core.test_finalization ..... SUCCESS src.test.python.apache.thermos.core.test_helper ..... 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