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

Changes:

[kevints] Document Aurora security features.

------------------------------------------
[...truncated 4470 lines...]
                     
                     
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.21 seconds 
============
                     ============== test session starts ===============
                     platform linux2 -- Python 2.7.6 -- py-1.4.26 -- 
pytest-2.7.0 -- 
<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/config,> 
inifile: 
                     plugins: cov, timeout
                     
                     collecting 0 items
                     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_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.42 seconds 
============
                     ============== test session starts ===============
                     platform linux2 -- Python 2.7.6 -- py-1.4.26 -- 
pytest-2.7.0 -- 
<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.19 seconds 
============
                     ============== test session starts ===============
                     platform linux2 -- Python 2.7.6 -- py-1.4.26 -- 
pytest-2.7.0 -- 
<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.11 seconds 
============
                     ============== test session starts ===============
                     platform linux2 -- Python 2.7.6 -- py-1.4.26 -- 
pytest-2.7.0 -- 
<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.19 seconds 
============
                     ============== test session starts ===============
                     platform linux2 -- Python 2.7.6 -- py-1.4.26 -- 
pytest-2.7.0 -- 
<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_quitquitquit
 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 
0x7f28fae2a4d0>, <MagicMock name='HttpSignaler' id='139813984579536'>)
                     keywargs = {}
                     extra_args = [<MagicMock name='HttpSignaler' 
id='139813984579536'>]
                     entered_patchers = [<mock._patch object at 0x7f28fa44be10>]
                     exc_info = (<class 
'apache.aurora.executor.common.task_runner.TaskError'>, TaskError('Task did not 
stop within deadline.',), <traceback object at 0x7f28fae0a098>)
                     patching = <mock._patch object at 0x7f28fa44be10>
                     arg = <MagicMock name='HttpSignaler' id='139813984579536'>
                     
                         @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/20000/tmpBfglF_/.deps/mock-1.0.1-py2-none-any.whl/mock.py:1201: 
                     _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
                     
src/test/python/apache/aurora/executor/test_thermos_task_runner.py:239: in 
test_integration_http_teardown
                         task_runner.stop()
                     _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
                     
                     self = <test_thermos_task_runner.ShortEscalationRunner 
object at 0x7f28fae3ce50>
                     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/20000/tmpBfglF_/apache/aurora/executor/thermos_task_runner.py:342: 
TaskError
                     -------------- Captured stderr call --------------
                     Writing log files to disk in /tmp/user/20000/tmpN_68nO
                     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 68.27 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.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.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

Reply via email to