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 #1199
Date Mon, 21 Sep 2015 22:47:55 GMT
See <https://builds.apache.org/job/Aurora/1199/changes>

Changes:

[maxim] Adding ssh options into "aurora task" commands.

[maxim] Adding oversubscription summary.

------------------------------------------
[...truncated 4364 lines...]
                     collected 12 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_tier
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
                     src/test/python/apache/aurora/config/test_thrift.py::test_mesos_hostname_in_task
PASSED
                     
                      generated xml file: <https://builds.apache.org/job/Aurora/ws/dist/test-results/src.test.python.apache.aurora.config.test_thrift.xml>

                     == 12 passed, 1 pytest-warnings in 1.86 seconds ==
                     ============== test session starts ===============
                     platform linux2 -- Python 2.7.6, pytest-2.8.0, py-1.4.30, pluggy-0.3.1
-- <https://builds.apache.org/job/Aurora/ws/build-support/pants.venv/bin/python2.7>
                     cachedir: src/test/python/apache/aurora/executor/.cache
                     rootdir: <https://builds.apache.org/job/Aurora/ws/src/test/python/apache/aurora/executor,>
inifile: 
                     plugins: cov-2.1.0, timeout-0.5
                     
                     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, 1 pytest-warnings in 0.23 seconds ===
                     ============== test session starts ===============
                     platform linux2 -- Python 2.7.6, pytest-2.8.0, py-1.4.30, pluggy-0.3.1
-- <https://builds.apache.org/job/Aurora/ws/build-support/pants.venv/bin/python2.7>
                     cachedir: src/test/python/apache/aurora/executor/.cache
                     rootdir: <https://builds.apache.org/job/Aurora/ws/src/test/python/apache/aurora/executor,>
inifile: 
                     plugins: cov-2.1.0, timeout-0.5
                     
                     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, 1 pytest-warnings in 0.16 seconds ===
                     ============== test session starts ===============
                     platform linux2 -- Python 2.7.6, pytest-2.8.0, py-1.4.30, pluggy-0.3.1
-- <https://builds.apache.org/job/Aurora/ws/build-support/pants.venv/bin/python2.7>
                     cachedir: src/test/python/apache/aurora/executor/.cache
                     rootdir: <https://builds.apache.org/job/Aurora/ws/src/test/python/apache/aurora/executor,>
inifile: 
                     plugins: cov-2.1.0, timeout-0.5
                     
                     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, 1 pytest-warnings in 0.57 seconds ===
                     ============== test session starts ===============
                     platform linux2 -- Python 2.7.6, pytest-2.8.0, py-1.4.30, pluggy-0.3.1
-- <https://builds.apache.org/job/Aurora/ws/build-support/pants.venv/bin/python2.7>
                     cachedir: src/test/python/apache/aurora/executor/.cache
                     rootdir: <https://builds.apache.org/job/Aurora/ws/src/test/python/apache/aurora/executor,>
inifile: 
                     plugins: cov-2.1.0, timeout-0.5
                     
                     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, 1 pytest-warnings in 0.27 seconds ===
                     ============== test session starts ===============
                     platform linux2 -- Python 2.7.6, pytest-2.8.0, py-1.4.30, pluggy-0.3.1
-- <https://builds.apache.org/job/Aurora/ws/build-support/pants.venv/bin/python2.7>
                     cachedir: src/test/python/apache/aurora/executor/.cache
                     rootdir: <https://builds.apache.org/job/Aurora/ws/src/test/python/apache/aurora/executor,>
inifile: 
                     plugins: cov-2.1.0, timeout-0.5
                     
                     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 
                     
                     self = <test_thermos_task_runner.TestThermosTaskRunnerIntegration
object at 0x7f451832f590>
                     SignalerClass = <MagicMock name='HttpSignaler' id='139934735463184'>
                     
                         @patch('apache.aurora.executor.http_lifecycle.HttpSignaler')
                         def test_integration_http_teardown(self, SignalerClass):
                           signaler = SignalerClass.return_value
                           signaler.side_effect = lambda path, use_post_method: (path
!= '/quitquitquit', None)
                         
                           clock = Mock(wraps=time)
                         
                           with self.yield_sleepy(
                               ThermosTaskRunner,
                               portmap={'health': 3141},
                               clock=clock,
                               sleep=1000,
                               exit_code=0) as task_runner:
                         
                             class ImmediateHttpLifecycleManager(HttpLifecycleManager):
                               ESCALATION_WAIT = Amount(1, Time.MICROSECONDS)
                         
                             http_task_runner = ImmediateHttpLifecycleManager(
                                 task_runner, 3141, ['/quitquitquit', '/abortabortabort'],
clock=clock)
                             http_task_runner.start()
                             task_runner.forked.wait()
                     >       http_task_runner.stop()
                     
                     src/test/python/apache/aurora/executor/test_thermos_task_runner.py:242:

                     _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
                     /tmp/user/2395/tmpxtNc5E/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 0x7f451834efd0>
                     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/2395/tmpxtNc5E/apache/aurora/executor/thermos_task_runner.py:325:
TaskError
                     -------------- Captured stderr call --------------
                     Writing log files to disk in /tmp/user/2395/tmpuPQFbE
                     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, 1 pytest-warnings in 69.25 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