aurora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maxim Khutornenko <ma...@apache.org>
Subject Re: Build failed in Jenkins: Aurora #1145
Date Fri, 14 Aug 2015 20:10:34 GMT
This is unrelated to the above commit and is tracked by AURORA-1054.

On Fri, Aug 14, 2015 at 1:04 PM, Apache Jenkins Server
<jenkins@builds.apache.org> wrote:
> See <https://builds.apache.org/job/Aurora/1145/changes>
>
> Changes:
>
> [maxim] Resources: reversing Resource/ResourceSlot relationship
>
> ------------------------------------------
> [...truncated 4246 lines...]
>                      collecting 10 items [0m [1m
>                      collected 10 items
>                       [0m
>                      src/test/python/apache/aurora/config/test_thrift.py::test_simple_config
 [32mPASSED [0m
>                      src/test/python/apache/aurora/config/test_thrift.py::test_docker_with_parameters
 [32mPASSED [0m
>                      src/test/python/apache/aurora/config/test_thrift.py::test_config_with_options
 [32mPASSED [0m
>                      src/test/python/apache/aurora/config/test_thrift.py::test_config_with_ports
 [32mPASSED [0m
>                      src/test/python/apache/aurora/config/test_thrift.py::test_config_with_bad_resources
 [32mPASSED [0m
>                      src/test/python/apache/aurora/config/test_thrift.py::test_unbound_references
 [32mPASSED [0m
>                      src/test/python/apache/aurora/config/test_thrift.py::test_cron_collision_policy
 [32mPASSED [0m
>                      src/test/python/apache/aurora/config/test_thrift.py::test_metadata_in_config
 [32mPASSED [0m
>                      src/test/python/apache/aurora/config/test_thrift.py::test_task_instance_from_job
 [32mPASSED [0m
>                      src/test/python/apache/aurora/config/test_thrift.py::test_identifier_validation
 [32mPASSED [0m
>
>                       generated xml file: <https://builds.apache.org/job/Aurora/ws/dist/test-results/src.test.python.apache.aurora.config.test_thrift.xml>
>                       [32m [1m=========== 10 passed in 1.55 seconds ============ [0m
>                       [1m============== test session starts =============== [0m
>                      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
>                       [1m
>                      collecting 0 items [0m [1m
>                      collecting 8 items [0m [1m
>                      collecting 8 items [0m [1m
>                      collecting 8 items [0m [1m
>                      collected 8 items
>                       [0m
>                      src/test/python/apache/aurora/executor/test_executor_base.py::TestExecutorBase::test_disconnected
 [32mPASSED [0m
>                      src/test/python/apache/aurora/executor/test_executor_base.py::TestExecutorBase::test_error
 [32mPASSED [0m
>                      src/test/python/apache/aurora/executor/test_executor_base.py::TestExecutorBase::test_frameworkMessage
 [32mPASSED [0m
>                      src/test/python/apache/aurora/executor/test_executor_base.py::TestExecutorBase::test_log
 [32mPASSED [0m
>                      src/test/python/apache/aurora/executor/test_executor_base.py::TestExecutorBase::test_registered
 [32mPASSED [0m
>                      src/test/python/apache/aurora/executor/test_executor_base.py::TestExecutorBase::test_reregistered
 [32mPASSED [0m
>                      src/test/python/apache/aurora/executor/test_executor_base.py::TestExecutorBase::test_send_update
 [32mPASSED [0m
>                      src/test/python/apache/aurora/executor/test_executor_base.py::TestExecutorBase::test_status_is_terminal
 [32mPASSED [0m
>
>                       generated xml file: <https://builds.apache.org/job/Aurora/ws/dist/test-results/src.test.python.apache.aurora.executor.executor_base.xml>
>                       [32m [1m============ 8 passed in 0.23 seconds ============ [0m
>                       [1m============== test session starts =============== [0m
>                      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
>                       [1m
>                      collecting 0 items [0m [1m
>                      collecting 2 items [0m [1m
>                      collected 2 items
>                       [0m
>                      src/test/python/apache/aurora/executor/test_executor_vars.py::test_init
 [32mPASSED [0m
>                      src/test/python/apache/aurora/executor/test_executor_vars.py::test_sample
 [32mPASSED [0m
>
>                       generated xml file: <https://builds.apache.org/job/Aurora/ws/dist/test-results/src.test.python.apache.aurora.executor.executor_vars.xml>
>                       [32m [1m============ 2 passed in 0.16 seconds ============ [0m
>                       [1m============== test session starts =============== [0m
>                      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
>                       [1m
>                      collecting 0 items [0m [1m
>                      collecting 3 items [0m [1m
>                      collected 3 items
>                       [0m
>                      src/test/python/apache/aurora/executor/test_http_lifecycle.py::test_http_lifecycle_wrapper_without_lifecycle
 [32mPASSED [0m
>                      src/test/python/apache/aurora/executor/test_http_lifecycle.py::test_http_lifecycle_wrapper_with_lifecycle
 [32mPASSED [0m
>                      src/test/python/apache/aurora/executor/test_http_lifecycle.py::test_http_lifecycle_wraps_start_and_stop
 [32mPASSED [0m
>
>                       generated xml file: <https://builds.apache.org/job/Aurora/ws/dist/test-results/src.test.python.apache.aurora.executor.http_lifecycle.xml>
>                       [32m [1m============ 3 passed in 0.49 seconds ============ [0m
>                       [1m============== test session starts =============== [0m
>                      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
>                       [1m
>                      collecting 0 items [0m [1m
>                      collecting 1 items [0m [1m
>                      collecting 1 items [0m [1m
>                      collecting 1 items [0m [1m
>                      collected 1 items
>                       [0m
>                      src/test/python/apache/aurora/executor/test_status_manager.py::TestStatusManager::test_run
 [32mPASSED [0m
>
>                       generated xml file: <https://builds.apache.org/job/Aurora/ws/dist/test-results/src.test.python.apache.aurora.executor.status_manager.xml>
>                       [32m [1m============ 1 passed in 0.23 seconds ============ [0m
>                       [1m============== test session starts =============== [0m
>                      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
>                       [1m
>                      collecting 0 items [0m [1m
>                      collecting 9 items [0m [1m
>                      collecting 9 items [0m [1m
>                      collecting 9 items [0m [1m
>                      collected 9 items
>                       [0m
>                      src/test/python/apache/aurora/executor/test_thermos_task_runner.py::TestThermosTaskRunnerIntegration::test_integration_success
 [32mPASSED [0m
>                      src/test/python/apache/aurora/executor/test_thermos_task_runner.py::TestThermosTaskRunnerIntegration::test_integration_failed
 [32mPASSED [0m
>                      src/test/python/apache/aurora/executor/test_thermos_task_runner.py::TestThermosTaskRunnerIntegration::test_integration_stop
 [33mSKIPPED [0m
>                      src/test/python/apache/aurora/executor/test_thermos_task_runner.py::TestThermosTaskRunnerIntegration::test_integration_lose
 [32mPASSED [0m
>                      src/test/python/apache/aurora/executor/test_thermos_task_runner.py::TestThermosTaskRunnerIntegration::test_integration_ignores_sigterm
 [33mSKIPPED [0m
>                      src/test/python/apache/aurora/executor/test_thermos_task_runner.py::TestThermosTaskRunnerIntegration::test_integration_http_teardown
 [31mFAILED [0m
>                      src/test/python/apache/aurora/executor/test_thermos_task_runner.py::TestThermosTaskRunnerIntegration::test_thermos_normal_exit_status
 [32mPASSED [0m
>                      src/test/python/apache/aurora/executor/test_thermos_task_runner.py::TestThermosTaskRunnerIntegration::test_thermos_abnormal_exit_statuses
 [32mPASSED [0m
>                      src/test/python/apache/aurora/executor/test_thermos_task_runner.py::TestThermosTaskRunnerIntegration::test_thermos_runner_killed
 [32mPASSED [0m
>
>                      ==================== 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'>
>
>                       [1m    @wraps(func) [0m
>                       [1m    def patched(*args, **keywargs): [0m
>                       [1m        # don't use a with here (backwards compatability with
Python 2.4) [0m
>                       [1m        extra_args = [] [0m
>                       [1m        entered_patchers = [] [0m
>                       [1m     [0m
>                       [1m        # can't use try...except...finally because of Python
2.4 [0m
>                       [1m        # compatibility [0m
>                       [1m        exc_info = tuple() [0m
>                       [1m        try: [0m
>                       [1m            try: [0m
>                       [1m                for patching in patched.patchings: [0m
>                       [1m                    arg = patching.__enter__() [0m
>                       [1m                    entered_patchers.append(patching) [0m
>                       [1m                    if patching.attribute_name is not None:
[0m
>                       [1m                        keywargs.update(arg) [0m
>                       [1m                    elif patching.new is DEFAULT: [0m
>                       [1m                        extra_args.append(arg) [0m
>                       [1m     [0m
>                       [1m                args += tuple(extra_args) [0m
>                       [1m>               return func(*args, **keywargs) [0m
>
>                      /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
>                       [1m    http_task_runner.stop() [0m
>                      /tmp/user/2396/tmprM4b89/apache/aurora/executor/http_lifecycle.py:87:
in stop
>                       [1m    return self._runner.stop(timeout=timeout if timeout is not
None else self._runner.MAX_WAIT) [0m
>                      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
>                      self = <apache.aurora.executor.thermos_task_runner.ThermosTaskRunner
object at 0x7f870705ee50>
>                      timeout = Amount(1, mins)
>
>                       [1m    def stop(self, timeout=MAX_WAIT): [0m
>                       [1m      """Stop the runner.  If it's already completed, no-op.
 If it's still running, issue a kill.""" [0m
>                       [1m      log.info('ThermosTaskRunner is shutting down.') [0m
>                       [1m     [0m
>                       [1m      if not self.forking.is_set(): [0m
>                       [1m        raise TaskError('Failed to call TaskRunner.start.')
[0m
>                       [1m     [0m
>                       [1m      log.info('Invoking runner.kill') [0m
>                       [1m      self.kill() [0m
>                       [1m     [0m
>                       [1m      waited = Amount(0, Time.SECONDS) [0m
>                       [1m      while self.is_alive and waited < timeout: [0m
>                       [1m        self._clock.sleep(self.POLL_INTERVAL.as_(Time.SECONDS))
[0m
>                       [1m        waited += self.POLL_INTERVAL [0m
>                       [1m     [0m
>                       [1m      if not self.is_alive and self.task_state() != TaskState.ACTIVE:
[0m
>                       [1m        return [0m
>                       [1m     [0m
>                       [1m      log.info('Thermos task did not shut down cleanly, rebinding
to kill.') [0m
>                       [1m      self.quitquitquit() [0m
>                       [1m     [0m
>                       [1m      while not self._monitor.finished and waited < timeout:
[0m
>                       [1m        self._clock.sleep(self.POLL_INTERVAL.as_(Time.SECONDS))
[0m
>                       [1m        waited += self.POLL_INTERVAL [0m
>                       [1m     [0m
>                       [1m      if not self._monitor.finished: [0m
>                       [1m>       raise TaskError('Task did not stop within deadline.')
[0m
>                       [1m [31mE       TaskError: Task did not stop within deadline. [0m
>
>                      /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>
>                       [1m [31m= 1 failed, 6 passed, 2 skipped in 69.51 seconds = [0m
>                      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
>
>  [31m
>                FAILURE [0m
> Build step 'Execute shell' marked build as failure
> Recording test results

Mime
View raw message