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 #1145
Date Fri, 14 Aug 2015 20:04:51 GMT
See <https://builds.apache.org/job/Aurora/1145/changes>

Changes:

[maxim] Resources: reversing Resource/ResourceSlot relationship

------------------------------------------
[...truncated 4246 lines...]
                     collecting 10 items
                     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_docker_with_parameters
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_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.55 seconds ============
                     ============== test session starts ===============
                     platform linux2 -- Python 2.7.6 -- py-1.4.30 -- pytest-2.7.2 -- <https://builds.apache.org/job/Aurora/ws/build-support/pants.venv/bin/python2.7>
                     rootdir: <https://builds.apache.org/job/Aurora/ws/src/test/python/apache/aurora/executor,>
inifile: 
                     plugins: cov, timeout
                     
                     collecting 0 items
                     collecting 8 items
                     collecting 8 items
                     collecting 8 items
                     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.23 seconds ============
                     ============== test session starts ===============
                     platform linux2 -- Python 2.7.6 -- py-1.4.30 -- pytest-2.7.2 -- <https://builds.apache.org/job/Aurora/ws/build-support/pants.venv/bin/python2.7>
                     rootdir: <https://builds.apache.org/job/Aurora/ws/src/test/python/apache/aurora/executor,>
inifile: 
                     plugins: cov, timeout
                     
                     collecting 0 items
                     collecting 2 items
                     collected 2 items 
                     
                     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>

                     ============ 2 passed in 0.16 seconds ============
                     ============== test session starts ===============
                     platform linux2 -- Python 2.7.6 -- py-1.4.30 -- pytest-2.7.2 -- <https://builds.apache.org/job/Aurora/ws/build-support/pants.venv/bin/python2.7>
                     rootdir: <https://builds.apache.org/job/Aurora/ws/src/test/python/apache/aurora/executor,>
inifile: 
                     plugins: cov, timeout
                     
                     collecting 0 items
                     collecting 3 items
                     collected 3 items 
                     
                     src/test/python/apache/aurora/executor/test_http_lifecycle.py::test_http_lifecycle_wrapper_without_lifecycle
PASSED
                     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
                     
                      generated xml file: <https://builds.apache.org/job/Aurora/ws/dist/test-results/src.test.python.apache.aurora.executor.http_lifecycle.xml>

                     ============ 3 passed in 0.49 seconds ============
                     ============== test session starts ===============
                     platform linux2 -- Python 2.7.6 -- py-1.4.30 -- pytest-2.7.2 -- <https://builds.apache.org/job/Aurora/ws/build-support/pants.venv/bin/python2.7>
                     rootdir: <https://builds.apache.org/job/Aurora/ws/src/test/python/apache/aurora/executor,>
inifile: 
                     plugins: cov, timeout
                     
                     collecting 0 items
                     collecting 1 items
                     collecting 1 items
                     collecting 1 items
                     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.23 seconds ============
                     ============== test session starts ===============
                     platform linux2 -- Python 2.7.6 -- py-1.4.30 -- pytest-2.7.2 -- <https://builds.apache.org/job/Aurora/ws/build-support/pants.venv/bin/python2.7>
                     rootdir: <https://builds.apache.org/job/Aurora/ws/src/test/python/apache/aurora/executor,>
inifile: 
                     plugins: cov, timeout
                     
                     collecting 0 items
                     collecting 9 items
                     collecting 9 items
                     collecting 9 items
                     collected 9 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
                     
                     ==================== FAILURES ====================
                      TestThermosTaskRunnerIntegration.test_integration_http_teardown 
                     
                     args = (<test_thermos_task_runner.TestThermosTaskRunnerIntegration
object at 0x7f870705e850>, <MagicMock name='HttpSignaler' id='140217915140368'>)
                     keywargs = {}
                     extra_args = [<MagicMock name='HttpSignaler' id='140217915140368'>]
                     entered_patchers = [<mock._patch object at 0x7f87074f7e90>]
                     exc_info = (<class 'apache.aurora.executor.common.task_runner.TaskError'>,
TaskError('Task did not stop within deadline.',), <traceback object at 0x7f87074ec830>)
                     patching = <mock._patch object at 0x7f87074f7e90>
                     arg = <MagicMock name='HttpSignaler' id='140217915140368'>
                     
                         @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)
                     
                     /tmp/user/2396/tmprM4b89/.deps/mock-1.0.1-py2-none-any.whl/mock.py:1201:

                     _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
                     src/test/python/apache/aurora/executor/test_thermos_task_runner.py:242:
in test_integration_http_teardown
                         http_task_runner.stop()
                     /tmp/user/2396/tmprM4b89/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 0x7f870705ee50>
                     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.
                     
                     /tmp/user/2396/tmprM4b89/apache/aurora/executor/thermos_task_runner.py:325:
TaskError
                     -------------- Captured stderr call --------------
                     Writing log files to disk in /tmp/user/2396/tmp51f0yU
                     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.thermos_task_runner.xml>

                     = 1 failed, 6 passed, 2 skipped in 69.51 seconds =
                     src.test.python.apache.aurora.admin.admin                           
           .....   SUCCESS
                     src.test.python.apache.aurora.admin.host_maintenance                
           .....   SUCCESS
                     src.test.python.apache.aurora.admin.maintenance                     
           .....   SUCCESS
                     src.test.python.apache.aurora.client.api.api                        
           .....   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.base                           
           .....   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.client                     
           .....   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.context                    
           .....   SUCCESS
                     src.test.python.apache.aurora.client.cli.cron                       
           .....   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.options                    
           .....   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.cli.version                    
           .....   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_pex_version               
           .....   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.common.path_detector         
           .....   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.http_lifecycle               
           .....   SUCCESS
                     src.test.python.apache.aurora.executor.status_manager               
           .....   SUCCESS
                     src.test.python.apache.aurora.executor.thermos_task_runner          
           .....   FAILURE
                     src.test.python.apache.thermos.cli.commands.commands                
           .....   SUCCESS
                     src.test.python.apache.thermos.cli.common                           
           .....   SUCCESS
                     src.test.python.apache.thermos.cli.main                             
           .....   SUCCESS
                     src.test.python.apache.thermos.common.test_pathspec                 
           .....   SUCCESS
                     src.test.python.apache.thermos.core.test_runner_integration         
           .....   SUCCESS
                     src.test.python.apache.thermos.monitoring.test_disk                 
           .....   SUCCESS
                     
FAILURE


               FAILURE
Build step 'Execute shell' marked build as failure
Recording test results

Mime
View raw message