aurora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Jenkins Server <jenk...@builds.apache.org>
Subject Build failed in Jenkins: Aurora #785
Date Mon, 08 Dec 2014 18:17:19 GMT
See <https://builds.apache.org/job/Aurora/785/changes>

Changes:

[wfarner] Don't fall back to old command syntax in the new client.

[wfarner] Use abstract decorators in CommandLine class.

------------------------------------------
[...truncated 4243 lines...]
src/test/python/apache/aurora/config/test_base.py::test_ports PASSED
src/test/python/apache/aurora/config/test_base.py::test_static_port_aliasing PASSED

 generated xml file: <https://builds.apache.org/job/Aurora/ws/dist/test-results/src.test.python.apache.aurora.config.test_base.xml>

=========================== 7 passed in 1.45 seconds ===========================
============================= test session starts ==============================
platform linux2 -- Python 2.7.6 -- py-1.4.26 -- pytest-2.6.4 -- <https://builds.apache.org/job/Aurora/ws/build-support/pants.venv/bin/python2.7>
plugins: cov, timeout
collecting ... collected 1 items

src/test/python/apache/aurora/config/test_constraint_parsing.py::test_parsing_constraints
limit:a is not a valid limit value, must be integer
PASSED

 generated xml file: <https://builds.apache.org/job/Aurora/ws/dist/test-results/src.test.python.apache.aurora.config.test_constraint_parsing.xml>

=========================== 1 passed in 0.21 seconds ===========================
============================= test session starts ==============================
platform linux2 -- Python 2.7.6 -- py-1.4.26 -- pytest-2.6.4 -- <https://builds.apache.org/job/Aurora/ws/build-support/pants.venv/bin/python2.7>
plugins: cov, timeout
collecting ... collected 6 items

src/test/python/apache/aurora/config/test_loader.py::test_enoent PASSED
src/test/python/apache/aurora/config/test_loader.py::test_bad_config PASSED
src/test/python/apache/aurora/config/test_loader.py::test_empty_config PASSED
src/test/python/apache/aurora/config/test_loader.py::test_load_json PASSED
src/test/python/apache/aurora/config/test_loader.py::test_load PASSED
src/test/python/apache/aurora/config/test_loader.py::test_pick PASSED

 generated xml file: <https://builds.apache.org/job/Aurora/ws/dist/test-results/src.test.python.apache.aurora.config.test_loader.xml>

=========================== 6 passed in 0.28 seconds ===========================
============================= test session starts ==============================
platform linux2 -- Python 2.7.6 -- py-1.4.26 -- pytest-2.6.4 -- <https://builds.apache.org/job/Aurora/ws/build-support/pants.venv/bin/python2.7>
plugins: cov, timeout
collecting ... collected 10 items

src/test/python/apache/aurora/config/test_thrift.py::test_simple_config PASSED
src/test/python/apache/aurora/config/test_thrift.py::test_config_with_options PASSED
src/test/python/apache/aurora/config/test_thrift.py::test_config_with_ports PASSED
src/test/python/apache/aurora/config/test_thrift.py::test_config_with_bad_resources PASSED
src/test/python/apache/aurora/config/test_thrift.py::test_config_with_task_links PASSED
src/test/python/apache/aurora/config/test_thrift.py::test_unbound_references PASSED
src/test/python/apache/aurora/config/test_thrift.py::test_cron_collision_policy PASSED
src/test/python/apache/aurora/config/test_thrift.py::test_metadata_in_config PASSED
src/test/python/apache/aurora/config/test_thrift.py::test_task_instance_from_job PASSED
src/test/python/apache/aurora/config/test_thrift.py::test_identifier_validation PASSED

 generated xml file: <https://builds.apache.org/job/Aurora/ws/dist/test-results/src.test.python.apache.aurora.config.test_thrift.xml>

========================== 10 passed in 1.57 seconds ===========================
============================= test session starts ==============================
platform linux2 -- Python 2.7.6 -- py-1.4.26 -- pytest-2.6.4 -- <https://builds.apache.org/job/Aurora/ws/build-support/pants.venv/bin/python2.7>
plugins: cov, timeout
collecting ... collected 8 items

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

 generated xml file: <https://builds.apache.org/job/Aurora/ws/dist/test-results/src.test.python.apache.aurora.executor.executor_base.xml>

=========================== 8 passed in 0.19 seconds ===========================
============================= test session starts ==============================
platform linux2 -- Python 2.7.6 -- py-1.4.26 -- pytest-2.6.4 -- <https://builds.apache.org/job/Aurora/ws/build-support/pants.venv/bin/python2.7>
plugins: cov, timeout
collecting ... collected 4 items

src/test/python/apache/aurora/executor/test_executor_detector.py::test_find_root PASSED
src/test/python/apache/aurora/executor/test_executor_detector.py::test_match_inverse PASSED
src/test/python/apache/aurora/executor/test_executor_detector.py::test_bad_match PASSED
src/test/python/apache/aurora/executor/test_executor_detector.py::test_integration PASSED

 generated xml file: <https://builds.apache.org/job/Aurora/ws/dist/test-results/src.test.python.apache.aurora.executor.executor_detector.xml>

=========================== 4 passed in 0.05 seconds ===========================
============================= test session starts ==============================
platform linux2 -- Python 2.7.6 -- py-1.4.26 -- pytest-2.6.4 -- <https://builds.apache.org/job/Aurora/ws/build-support/pants.venv/bin/python2.7>
plugins: cov, timeout
collecting ... collected 4 items

src/test/python/apache/aurora/executor/test_executor_vars.py::test_release_from_tag PASSED
src/test/python/apache/aurora/executor/test_executor_vars.py::test_extract_pexinfo 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

 generated xml file: <https://builds.apache.org/job/Aurora/ws/dist/test-results/src.test.python.apache.aurora.executor.executor_vars.xml>

=========================== 4 passed in 0.18 seconds ===========================
============================= test session starts ==============================
platform linux2 -- Python 2.7.6 -- py-1.4.26 -- pytest-2.6.4 -- <https://builds.apache.org/job/Aurora/ws/build-support/pants.venv/bin/python2.7>
plugins: cov, timeout
collecting ... collected 1 items

src/test/python/apache/aurora/executor/test_status_manager.py::TestStatusManager::test_run
PASSED

 generated xml file: <https://builds.apache.org/job/Aurora/ws/dist/test-results/src.test.python.apache.aurora.executor.status_manager.xml>

=========================== 1 passed in 0.22 seconds ===========================
============================= test session starts ==============================
platform linux2 -- Python 2.7.6 -- py-1.4.26 -- pytest-2.6.4 -- <https://builds.apache.org/job/Aurora/ws/build-support/pants.venv/bin/python2.7>
plugins: cov, timeout
collecting ... collected 8 items

src/test/python/apache/aurora/executor/test_thermos_task_runner.py::TestThermosTaskRunnerIntegration::test_integration_success
Writing log files to disk in /tmp/user/2396/tmp2nSmJX
Build operating on top level addresses: set([BuildFileAddress(<https://builds.apache.org/job/Aurora/ws/src/main/python/apache/thermos/bin/BUILD,>
thermos_runner)])
Building PythonBinary PythonBinary(BuildFileAddress(<https://builds.apache.org/job/Aurora/ws/src/main/python/apache/thermos/bin/BUILD,>
thermos_runner)):
Wrote <https://builds.apache.org/job/Aurora/ws/dist/thermos_runner.pex>
Writing log files to disk in /tmp/user/2396/tmp2nSmJX
PASSED
src/test/python/apache/aurora/executor/test_thermos_task_runner.py::TestThermosTaskRunnerIntegration::test_integration_failed
Writing log files to disk in /tmp/user/2396/tmp2nSmJX
PASSED
src/test/python/apache/aurora/executor/test_thermos_task_runner.py::TestThermosTaskRunnerIntegration::test_integration_stop
Writing log files to disk in /tmp/user/2396/tmp2nSmJX
ERROR] Could not quitquitquit runner: Cannot take control of a task in terminal state.
ERROR] Caught exception in self.control(): Cannot finalize task with no "active" record!
ERROR]   Traceback (most recent call last):
  File "<https://builds.apache.org/job/Aurora/ws/dist/thermos_runner.pex/apache/thermos/core/runner.py",>
line 557, in control
    yield
  File "<https://builds.apache.org/job/Aurora/ws/dist/thermos_runner.pex/apache/thermos/core/runner.py",>
line 903, in kill
    self._run()
  File "<https://builds.apache.org/job/Aurora/ws/dist/thermos_runner.pex/apache/thermos/core/runner.py",>
line 869, in _run
    self._set_task_status(runner.transition_to())
  File "<https://builds.apache.org/job/Aurora/ws/dist/thermos_runner.pex/apache/thermos/core/runner.py",>
line 640, in _set_task_status
    self._dispatcher.dispatch(self._state, runner_ckpt, self._recovery)
  File "<https://builds.apache.org/job/Aurora/ws/dist/thermos_runner.pex/apache/thermos/common/ckpt.py",>
line 349, in dispatch
    self._run_task_dispatch(new_state, runner_ckpt.task_status)
  File "<https://builds.apache.org/job/Aurora/ws/dist/thermos_runner.pex/apache/thermos/common/ckpt.py",>
line 222, in _run_task_dispatch
    getattr(handler, handler_function)(task_update)
  File "<https://builds.apache.org/job/Aurora/ws/dist/thermos_runner.pex/apache/thermos/core/runner.py",>
line 202, in on_killed
    self._cleanup()
  File "<https://builds.apache.org/job/Aurora/ws/dist/thermos_runner.pex/apache/thermos/core/runner.py",>
line 220, in _cleanup
    TaskRunnerHelper.finalize_task(self._pathspec)
  File "<https://builds.apache.org/job/Aurora/ws/dist/thermos_runner.pex/apache/thermos/core/helper.py",>
line 422, in finalize_task
    raise cls.Error('Cannot finalize task with no "active" record!')
Error: Cannot finalize task with no "active" record!

FAILED

=================================== FAILURES ===================================
____________ TestThermosTaskRunnerIntegration.test_integration_stop ____________

self = <test_thermos_task_runner.TestThermosTaskRunnerIntegration object at 0x7fc16fb25310>

    def test_integration_stop(self):
      with self.yield_sleepy(ThermosTaskRunner, sleep=1000, exit_code=0) as task_runner:
        task_runner.start()
        task_runner.forked.wait()
    
        assert task_runner.status is None
    
>       task_runner.stop()

src/test/python/apache/aurora/executor/test_thermos_task_runner.py:173: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <apache.aurora.executor.thermos_task_runner.ThermosTaskRunner object at 0x7fc16eb81e50>
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 HTTP teardown.')
      self._terminate_http()
    
      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.

/tmp/user/2396/tmp7ugbyH/apache/aurora/executor/thermos_task_runner.py:338: TaskError
 generated xml file: <https://builds.apache.org/job/Aurora/ws/dist/test-results/src.test.python.apache.aurora.executor.thermos_task_runner.xml>

!!!!!!!!!!!!!!!!!!!! Interrupted: stopping after 1 failures !!!!!!!!!!!!!!!!!!!!
===================== 1 failed, 2 passed in 66.37 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.admin_util                                  .....   SUCCESS
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.quota_check                            .....   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.sla                                    .....   SUCCESS
src.test.python.apache.aurora.client.api.task_util                              .....   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.bridge                                 .....   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.supdate                                .....   SUCCESS
src.test.python.apache.aurora.client.cli.task                                   .....   SUCCESS
src.test.python.apache.aurora.client.cli.update                                 .....   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                       .....   SUCCESS
src.test.python.apache.aurora.client.commands.run                               .....   SUCCESS
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_constraint_parsing                    .....   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.executor_base                            .....   SUCCESS
src.test.python.apache.aurora.executor.executor_detector                        .....   SUCCESS
src.test.python.apache.aurora.executor.executor_vars                            .....   SUCCESS
src.test.python.apache.aurora.executor.status_manager                           .....   SUCCESS
src.test.python.apache.aurora.executor.thermos_task_runner                      .....   FAILURE
Build step 'Execute shell' marked build as failure
Recording test results

Mime
View raw message