You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aurora.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2016/01/11 20:08:16 UTC

Build failed in Jenkins: Aurora #1326

See <https://builds.apache.org/job/Aurora/1326/changes>

Changes:

[zmanji] Enable H2 query statistics collection.

------------------------------------------
[...truncated 3345 lines...]
                     src/test/python/apache/aurora/client/cli/test_restart.py::TestRestartCommand::test_restart_no_such_job_with_instances PASSED
                     src/test/python/apache/aurora/client/cli/test_restart.py::TestRestartCommand::test_restart_simple PASSED
                     src/test/python/apache/aurora/client/cli/test_restart.py::TestRestartCommand::test_restart_simple_no_config PASSED
                     src/test/python/apache/aurora/client/cli/test_restart.py::TestRestartCommand::test_restart_simple_output PASSED
                     src/test/python/apache/aurora/client/cli/test_status.py::TestJobStatus::test_no_jobs_found_status_shallow PASSED
                     src/test/python/apache/aurora/client/cli/test_status.py::TestJobStatus::test_status_job_not_found PASSED
                     src/test/python/apache/aurora/client/cli/test_status.py::TestJobStatus::test_status_wildcard PASSED
                     src/test/python/apache/aurora/client/cli/test_status.py::TestJobStatus::test_status_wildcard_two PASSED
                     src/test/python/apache/aurora/client/cli/test_status.py::TestJobStatus::test_successful_status_deep PASSED
                     src/test/python/apache/aurora/client/cli/test_status.py::TestJobStatus::test_successful_status_deep_null_metadata PASSED
                     src/test/python/apache/aurora/client/cli/test_status.py::TestJobStatus::test_successful_status_json_output_no_metadata PASSED
                     src/test/python/apache/aurora/client/cli/test_status.py::TestJobStatus::test_successful_status_output_no_metadata PASSED
                     src/test/python/apache/aurora/client/cli/test_status.py::TestJobStatus::test_successful_status_output_with_inactives PASSED
                     src/test/python/apache/aurora/client/cli/test_status.py::TestJobStatus::test_successful_status_output_with_metadata PASSED
                     src/test/python/apache/aurora/client/cli/test_status.py::TestJobStatus::test_successful_status_shallow PASSED
                     src/test/python/apache/aurora/client/cli/test_status.py::TestJobStatus::test_successful_status_shallow_nometadata PASSED
                     src/test/python/apache/aurora/client/cli/test_status.py::TestJobStatus::test_unsuccessful_status_shallow PASSED
                     src/test/python/apache/aurora/client/cli/test_diff.py::TestDiffCommand::test_cron_diff PASSED
                     src/test/python/apache/aurora/client/cli/test_diff.py::TestDiffCommand::test_service_diff PASSED
                     src/test/python/apache/aurora/client/cli/test_diff.py::TestDiffCommand::test_service_diff_old_api PASSED
                     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_cron_status_multiple_jobs 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 PASSED
                     src/test/python/apache/aurora/client/cli/test_cron.py::TestCronNoun::test_schedule_failed PASSED
                     src/test/python/apache/aurora/client/cli/test_cron.py::TestCronNoun::test_schedule_failed_non_cron 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_start_cron_open_browser PASSED
                     src/test/python/apache/aurora/client/cli/test_cron.py::TestCronNoun::test_successful_schedule PASSED
                     src/test/python/apache/aurora/client/cli/test_command_hooks.py::TestClientCreateCommand::test_create_job_with_failed_hook PASSED
                     src/test/python/apache/aurora/client/cli/test_command_hooks.py::TestClientCreateCommand::test_create_job_with_successful_hook PASSED
                     src/test/python/apache/aurora/client/cli/test_options.py::TestParseInstances::test_parse_instances_invalid_ranges PASSED
                     src/test/python/apache/aurora/client/cli/test_options.py::TestParseInstances::test_parse_instances_mixed PASSED
                     src/test/python/apache/aurora/client/cli/test_options.py::TestParseInstances::test_parse_instances_with_range PASSED
                     src/test/python/apache/aurora/client/cli/test_task.py::TestRunCommand::test_successful_run PASSED
                     src/test/python/apache/aurora/client/cli/test_task.py::TestRunCommand::test_successful_run_with_instances PASSED
                     src/test/python/apache/aurora/client/cli/test_task.py::TestRunCommand::test_successful_run_with_ssh_options PASSED
                     src/test/python/apache/aurora/client/cli/test_task.py::TestSshCommand::test_ssh_job_not_found PASSED
                     src/test/python/apache/aurora/client/cli/test_task.py::TestSshCommand::test_successful_ssh PASSED
                     src/test/python/apache/aurora/client/cli/test_create.py::TestCreateJobCommand::test_create_with_lock PASSED
                     src/test/python/apache/aurora/client/cli/test_create.py::TestClientCreateCommand::test_create_cron_job_fails PASSED
                     src/test/python/apache/aurora/client/cli/test_create.py::TestClientCreateCommand::test_create_job_delayed PASSED
                     src/test/python/apache/aurora/client/cli/test_create.py::TestClientCreateCommand::test_create_job_failed PASSED
                     src/test/python/apache/aurora/client/cli/test_create.py::TestClientCreateCommand::test_create_job_failed_invalid_config PASSED
                     src/test/python/apache/aurora/client/cli/test_create.py::TestClientCreateCommand::test_create_job_failed_output PASSED
                     src/test/python/apache/aurora/client/cli/test_create.py::TestClientCreateCommand::test_create_job_startup_fails PASSED
                     src/test/python/apache/aurora/client/cli/test_create.py::TestClientCreateCommand::test_failed_create_job_with_incomplete_bindings PASSED
                     src/test/python/apache/aurora/client/cli/test_create.py::TestClientCreateCommand::test_interrupt PASSED
                     src/test/python/apache/aurora/client/cli/test_create.py::TestClientCreateCommand::test_interrupt_error PASSED
                     src/test/python/apache/aurora/client/cli/test_create.py::TestClientCreateCommand::test_simple_successful_create_job PASSED
                     src/test/python/apache/aurora/client/cli/test_create.py::TestClientCreateCommand::test_simple_successful_create_job_open_page PASSED
                     src/test/python/apache/aurora/client/cli/test_create.py::TestClientCreateCommand::test_simple_successful_create_job_output PASSED
                     src/test/python/apache/aurora/client/cli/test_create.py::TestClientCreateCommand::test_simple_successful_create_job_with_bindings PASSED
                     src/test/python/apache/aurora/client/cli/test_kill.py::TestInstancesParser::test_parse_instances PASSED
                     src/test/python/apache/aurora/client/cli/test_kill.py::TestInstancesParser::test_parse_none PASSED
                     src/test/python/apache/aurora/client/cli/test_kill.py::TestKillCommand::test_kill_batched_passes_config PASSED
                     src/test/python/apache/aurora/client/cli/test_kill.py::TestKillCommand::test_kill_batched_queries_active_instances PASSED
                     src/test/python/apache/aurora/client/cli/test_kill.py::TestKillCommand::test_kill_inactive_instance_spec PASSED
                     src/test/python/apache/aurora/client/cli/test_kill.py::TestKillCommand::test_kill_lock_error_batches PASSED
                     src/test/python/apache/aurora/client/cli/test_kill.py::TestKillCommand::test_kill_lock_error_nobatch PASSED
                     src/test/python/apache/aurora/client/cli/test_kill.py::TestKillCommand::test_kill_nobatch_passes_config PASSED
                     src/test/python/apache/aurora/client/cli/test_kill.py::TestKillCommand::test_kill_opens_url PASSED
                     src/test/python/apache/aurora/client/cli/test_kill.py::TestKillAllCommand::test_killall_nobatch_passes_config PASSED
                     src/test/python/apache/aurora/client/cli/test_kill.py::TestClientKillCommand::test_kill_job_with_empty_instances_batched PASSED
                     src/test/python/apache/aurora/client/cli/test_kill.py::TestClientKillCommand::test_kill_job_with_instances_batched PASSED
                     src/test/python/apache/aurora/client/cli/test_kill.py::TestClientKillCommand::test_kill_job_with_instances_batched_maxerrors PASSED
                     src/test/python/apache/aurora/client/cli/test_kill.py::TestClientKillCommand::test_kill_job_with_instances_batched_maxerrors_output PASSED
                     src/test/python/apache/aurora/client/cli/test_kill.py::TestClientKillCommand::test_kill_job_with_instances_batched_output PASSED
                     src/test/python/apache/aurora/client/cli/test_kill.py::TestClientKillCommand::test_kill_job_with_instances_nobatching PASSED
                     src/test/python/apache/aurora/client/cli/test_kill.py::TestClientKillCommand::test_kill_job_with_invalid_instances_nonstrict PASSED
                     src/test/python/apache/aurora/client/cli/test_kill.py::TestClientKillCommand::test_kill_job_with_invalid_instances_strict PASSED
                     src/test/python/apache/aurora/client/cli/test_kill.py::TestClientKillCommand::test_killall_job PASSED
                     src/test/python/apache/aurora/client/cli/test_kill.py::TestClientKillCommand::test_killall_job_batched PASSED
                     src/test/python/apache/aurora/client/cli/test_kill.py::TestClientKillCommand::test_killall_job_output PASSED
                     src/test/python/apache/aurora/client/cli/test_inspect.py::TestInspectCommand::test_inspect_job PASSED
                     src/test/python/apache/aurora/client/cli/test_inspect.py::TestInspectCommand::test_inspect_job_raw PASSED
                     src/test/python/apache/aurora/client/cli/test_inspect.py::TestInspectCommand::test_inspect_job_raw_success PASSED
                     src/test/python/apache/aurora/client/cli/test_api_from_cli.py::TestApiFromCLI::test_status_api_failure PASSED
                     src/test/python/apache/aurora/client/cli/test_api_from_cli.py::TestApiFromCLI::test_successful_status_deep PASSED
                     
                      generated xml file: <https://builds.apache.org/job/Aurora/ws/dist/test-results/src.test.python.apache.aurora.client.cli.cli.xml> 
                     ========== 142 passed in 22.08 seconds ===========
                     
19:06:09 06:30         [chroot]============== test session starts ===============
                     platform linux2 -- Python 2.7.6 -- py-1.4.31 -- pytest-2.6.4 -- /usr/bin/python2.7
                     plugins: cov, timeout
                     
                     collecting 0 items
                     collecting 10 items
                     collecting 10 items
                     collecting 10 items
                     collecting 11 items
                     collecting 11 items
                     collecting 11 items
                     collecting 13 items
                     collecting 27 items
                     collecting 27 items
                     collecting 28 items
                     collecting 36 items
                     collecting 36 items
                     collecting 36 items
                     collecting 39 items
                     collected 39 items 
                     
                     src/test/python/apache/aurora/executor/test_thermos_task_runner.py::TestThermosTaskRunnerIntegration::test_integration_success PASSED
                     src/test/python/apache/aurora/executor/test_thermos_task_runner.py::TestThermosTaskRunnerIntegration::test_integration_failed PASSED
                     src/test/python/apache/aurora/executor/test_thermos_task_runner.py::TestThermosTaskRunnerIntegration::test_integration_stop SKIPPED
                     src/test/python/apache/aurora/executor/test_thermos_task_runner.py::TestThermosTaskRunnerIntegration::test_integration_lose PASSED
                     src/test/python/apache/aurora/executor/test_thermos_task_runner.py::TestThermosTaskRunnerIntegration::test_integration_ignores_sigterm SKIPPED
                     src/test/python/apache/aurora/executor/test_thermos_task_runner.py::TestThermosTaskRunnerIntegration::test_integration_http_teardown FAILED
                     src/test/python/apache/aurora/executor/test_thermos_task_runner.py::TestThermosTaskRunnerIntegration::test_thermos_normal_exit_status PASSED
                     src/test/python/apache/aurora/executor/test_thermos_task_runner.py::TestThermosTaskRunnerIntegration::test_thermos_abnormal_exit_statuses PASSED
                     src/test/python/apache/aurora/executor/test_thermos_task_runner.py::TestThermosTaskRunnerIntegration::test_thermos_runner_killed PASSED
                     src/test/python/apache/aurora/executor/test_thermos_task_runner.py::TestThermosTaskRunnerIntegration::test_thermos_preserve_env PASSED
                     src/test/python/apache/aurora/executor/test_status_manager.py::TestStatusManager::test_run PASSED
                     src/test/python/apache/aurora/executor/test_executor_vars.py::test_init PASSED
                     src/test/python/apache/aurora/executor/test_executor_vars.py::test_sample PASSED
                     src/test/python/apache/aurora/executor/test_thermos_executor.py::TestThermosExecutor::test_basic PASSED
                     src/test/python/apache/aurora/executor/test_thermos_executor.py::TestThermosExecutor::test_basic_as_job PASSED
                     src/test/python/apache/aurora/executor/test_thermos_executor.py::TestThermosExecutor::test_runner_disappears PASSED
                     src/test/python/apache/aurora/executor/test_thermos_executor.py::TestThermosExecutor::test_task_killed PASSED
                     src/test/python/apache/aurora/executor/test_thermos_executor.py::TestThermosExecutor::test_killTask PASSED
                     src/test/python/apache/aurora/executor/test_thermos_executor.py::TestThermosExecutor::test_shutdown PASSED
                     src/test/python/apache/aurora/executor/test_thermos_executor.py::TestThermosExecutor::test_shutdown_order PASSED
                     src/test/python/apache/aurora/executor/test_thermos_executor.py::TestThermosExecutor::test_task_health_failed PASSED
                     src/test/python/apache/aurora/executor/test_thermos_executor.py::TestThermosExecutor::test_task_health_ok /usr/bin/python2.7: can't open file '/tmp/user/2395/tmplzatNZ/thermos_runner.pex': [Errno 2] No such file or directory
                     PASSED
                     src/test/python/apache/aurora/executor/test_thermos_executor.py::TestThermosExecutor::test_failing_runner_start PASSED
                     src/test/python/apache/aurora/executor/test_thermos_executor.py::TestThermosExecutor::test_failing_runner_initialize PASSED
                     src/test/python/apache/aurora/executor/test_thermos_executor.py::TestThermosExecutor::test_slow_runner_initialize PASSED
                     src/test/python/apache/aurora/executor/test_thermos_executor.py::TestThermosExecutor::test_killTask_during_runner_initialize PASSED
                     src/test/python/apache/aurora/executor/test_thermos_executor.py::TestThermosExecutor::test_launchTask_deserialization_fail PASSED
                     src/test/python/apache/aurora/executor/test_thermos_executor.py::test_waiting_executor PASSED
                     src/test/python/apache/aurora/executor/test_executor_base.py::TestExecutorBase::test_disconnected PASSED
                     src/test/python/apache/aurora/executor/test_executor_base.py::TestExecutorBase::test_error PASSED
                     src/test/python/apache/aurora/executor/test_executor_base.py::TestExecutorBase::test_frameworkMessage PASSED
                     src/test/python/apache/aurora/executor/test_executor_base.py::TestExecutorBase::test_log PASSED
                     src/test/python/apache/aurora/executor/test_executor_base.py::TestExecutorBase::test_registered PASSED
                     src/test/python/apache/aurora/executor/test_executor_base.py::TestExecutorBase::test_reregistered PASSED
                     src/test/python/apache/aurora/executor/test_executor_base.py::TestExecutorBase::test_send_update PASSED
                     src/test/python/apache/aurora/executor/test_executor_base.py::TestExecutorBase::test_status_is_terminal PASSED
                     src/test/python/apache/aurora/executor/test_http_lifecycle.py::test_http_lifecycle_wrapper_without_lifecycle 
                     src.test.python.apache.aurora.admin.admin                                       .....   SUCCESS
                     src.test.python.apache.aurora.client.client                                     .....   SUCCESS
                     src.test.python.apache.aurora.client.cli.cli                                    .....   SUCCESS
                     src.test.python.apache.aurora.client.hooks.hooks                                .....   SUCCESS
                     src.test.python.apache.aurora.common.health_check.health_check                  .....   SUCCESS
                     src.test.python.apache.aurora.config.config                                     .....   SUCCESS
                     src.test.python.apache.aurora.executor.executor                                 .....   FAILURE
                     src.test.python.apache.aurora.executor.bin.bin                                  .....   SUCCESS
                     src.test.python.apache.aurora.executor.common.common                            .....   SUCCESS
                     src.test.python.apache.aurora.tools.tools                                       .....   SUCCESS
                     src.test.python.apache.thermos.cli.cli                                          .....   SUCCESS
                     src.test.python.apache.thermos.cli.commands.commands                            .....   SUCCESS
                     src.test.python.apache.thermos.config.config                                    .....   SUCCESS
                     src.test.python.apache.thermos.core.core                                        .....   SUCCESS
                     src.test.python.apache.thermos.monitoring.monitoring                            .....   SUCCESS
                     src.test.python.apache.thermos.observer.http.http                               .....   SUCCESSPASSED
                     src/test/python/apache/aurora/executor/test_http_lifecycle.py::test_http_lifecycle_wrapper_with_lifecycle PASSED
                     src/test/python/apache/aurora/executor/test_http_lifecycle.py::test_http_lifecycle_wraps_start_and_stop PASSED
                     
                     ==================== FAILURES ====================
                      TestThermosTaskRunnerIntegration.test_integration_http_teardown 
                     
                     args = (<test_thermos_task_runner.TestThermosTaskRunnerIntegration object at 0x7f7f8d3072d0>, <MagicMock name='HttpSignaler' id='140185806336080'>)
                     keywargs = {}
                     extra_args = [<MagicMock name='HttpSignaler' id='140185806336080'>]
                     entered_patchers = [<mock._patch object at 0x7f7f8d837190>]
                     exc_info = (<class 'apache.aurora.executor.common.task_runner.TaskError'>, TaskError('Task did not stop within deadline.',), <traceback object at 0x7f7f8d396b00>)
                     patching = <mock._patch object at 0x7f7f8d837190>
                     arg = <MagicMock name='HttpSignaler' id='140185806336080'>
                     
                         @wraps(func)
                         def patched(*args, **keywargs):
                             # don't use a with here (backwards compatability with Python 2.4)
                             extra_args = []
                             entered_patchers = []
                         
                             # can't use try...except...finally because of Python 2.4
                             # compatibility
                             exc_info = tuple()
                             try:
                                 try:
                                     for patching in patched.patchings:
                                         arg = patching.__enter__()
                                         entered_patchers.append(patching)
                                         if patching.attribute_name is not None:
                                             keywargs.update(arg)
                                         elif patching.new is DEFAULT:
                                             extra_args.append(arg)
                         
                                     args += tuple(extra_args)
                     >               return func(*args, **keywargs)
                     
                     .pants.d/python-setup/chroots/678949212c451cb573db667bb785ecc8d7a0d251/.deps/mock-1.0.1-py2-none-any.whl/mock.py:1201: 
                     _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
                     src/test/python/apache/aurora/executor/test_thermos_task_runner.py:250: in test_integration_http_teardown
                         http_task_runner.stop()
                     .pants.d/python-setup/chroots/678949212c451cb573db667bb785ecc8d7a0d251/apache/aurora/executor/http_lifecycle.py:87: in stop
                         return self._runner.stop(timeout=timeout if timeout is not None else self._runner.MAX_WAIT)
                     _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
                     
                     self = <apache.aurora.executor.thermos_task_runner.ThermosTaskRunner object at 0x7f7f8d4fd750>
                     timeout = Amount(1, mins)
                     
                         def stop(self, timeout=MAX_WAIT):
                           """Stop the runner.  If it's already completed, no-op.  If it's still running, issue a kill."""
                           log.info('ThermosTaskRunner is shutting down.')
                         
                           if not self.forking.is_set():
                             raise TaskError('Failed to call TaskRunner.start.')
                         
                           log.info('Invoking runner.kill')
                           self.kill()
                         
                           waited = Amount(0, Time.SECONDS)
                           while self.is_alive and waited < timeout:
                             self._clock.sleep(self.POLL_INTERVAL.as_(Time.SECONDS))
                             waited += self.POLL_INTERVAL
                         
                           if not self.is_alive and self.task_state() != TaskState.ACTIVE:
                             return
                         
                           log.info('Thermos task did not shut down cleanly, rebinding to kill.')
                           self.quitquitquit()
                         
                           while not self._monitor.finished and waited < timeout:
                             self._clock.sleep(self.POLL_INTERVAL.as_(Time.SECONDS))
                             waited += self.POLL_INTERVAL
                         
                           if not self._monitor.finished:
                     >       raise TaskError('Task did not stop within deadline.')
                     E       TaskError: Task did not stop within deadline.
                     
                     .pants.d/python-setup/chroots/678949212c451cb573db667bb785ecc8d7a0d251/apache/aurora/executor/thermos_task_runner.py:343: TaskError
                     -------------- Captured stderr call --------------
                     Writing log files to disk in /tmp/user/2395/tmpWtEyv3
                     ERROR] Could not quitquitquit runner: Cannot take control of a task in terminal state.
                      generated xml file: <https://builds.apache.org/job/Aurora/ws/dist/test-results/src.test.python.apache.aurora.executor.executor.xml> 
                      1 failed, 36 passed, 2 skipped in 114.83 seconds 
                     
FAILURE


19:08:15 08:36   [complete]
               FAILURE
Build step 'Execute shell' marked build as failure
Recording test results

Jenkins build is back to normal : Aurora #1327

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Aurora/1327/changes>