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 #889
Date Sat, 21 Feb 2015 00:15:52 GMT
See <https://builds.apache.org/job/Aurora/889/changes>

Changes:

[zmanji] Remove single caller methods from AuroraCommandContext

[wickman] Instrument the HealthChecker to export stats.

------------------------------------------
[...truncated 4179 lines...]
                     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.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 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.6.4 -- <https://builds.apache.org/job/Aurora/ws/build-support/pants.venv/bin/python2.7>
                     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.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 0 items
                     collecting 8 items
                     collecting 8 items
                     collecting 8 items
                     collected 8 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
PASSED
                     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
PASSED
                     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
                     
                      generated xml file: <https://builds.apache.org/job/Aurora/ws/dist/test-results/src.test.python.apache.aurora.executor.thermos_task_runner.xml>

                     =========== 8 passed in 76.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 0 items
                     collecting 8 items
                     collected 8 items 
                     
                     src/test/python/apache/aurora/executor/common/test_announcer.py::test_serverset_join_thread
PASSED
                     src/test/python/apache/aurora/executor/common/test_announcer.py::test_announcer_under_normal_circumstances
PASSED
                     src/test/python/apache/aurora/executor/common/test_announcer.py::test_announcer_on_expiration
SKIPPED
                     src/test/python/apache/aurora/executor/common/test_announcer.py::test_announcer_under_abnormal_circumstances
SKIPPED
                     src/test/python/apache/aurora/executor/common/test_announcer.py::test_make_empty_endpoints
PASSED
                     src/test/python/apache/aurora/executor/common/test_announcer.py::test_announcer_provider_with_timeout
PASSED
                     src/test/python/apache/aurora/executor/common/test_announcer.py::test_default_announcer_provider
PASSED
                     src/test/python/apache/aurora/executor/common/test_announcer.py::test_default_announcer_provider_without_announce
PASSED
                     
                      generated xml file: <https://builds.apache.org/job/Aurora/ws/dist/test-results/src.test.python.apache.aurora.executor.common.announcer.xml>

                     ====== 6 passed, 2 skipped in 0.67 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 0 items
                     collecting 5 items
                     collected 5 items 
                     
                     src/test/python/apache/aurora/executor/common/test_directory_sandbox.py::test_directory_sandbox
PASSED
                     src/test/python/apache/aurora/executor/common/test_directory_sandbox.py::test_create
PASSED
                     src/test/python/apache/aurora/executor/common/test_directory_sandbox.py::test_user_does_not_exist
PASSED
                     src/test/python/apache/aurora/executor/common/test_directory_sandbox.py::test_create_ioerror
PASSED
                     src/test/python/apache/aurora/executor/common/test_directory_sandbox.py::test_destroy_ioerror
PASSED
                     
                      generated xml file: <https://builds.apache.org/job/Aurora/ws/dist/test-results/src.test.python.apache.aurora.executor.common.directory_sandbox.xml>

                     ============ 5 passed in 0.07 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 0 items
                     collecting 4 items
                     collected 4 items 
                     
                     src/test/python/apache/aurora/executor/common/test_executor_detector.py::test_find_root
PASSED
                     src/test/python/apache/aurora/executor/common/test_executor_detector.py::test_match_inverse
PASSED
                     src/test/python/apache/aurora/executor/common/test_executor_detector.py::test_bad_match
PASSED
                     src/test/python/apache/aurora/executor/common/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.common.executor_detector.xml>

                     ============ 4 passed in 0.04 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 0 items
                     collecting 2 items
                     collecting 2 items
                     collecting 2 items
                     collected 2 items 
                     
                     src/test/python/apache/aurora/executor/common/test_executor_timeout.py::TestExecutorTimeout::test_run
PASSED
                     src/test/python/apache/aurora/executor/common/test_executor_timeout.py::TestExecutorTimeout::test_run_timeout
PASSED
                     
                      generated xml file: <https://builds.apache.org/job/Aurora/ws/dist/test-results/src.test.python.apache.aurora.executor.common.executor_timeout.xml>

                     ============ 2 passed in 0.07 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 0 items
                     collecting 4 items
                     collecting 5 items
                     collecting 12 items
                     collecting 12 items
                     collected 12 items 
                     
                     src/test/python/apache/aurora/executor/common/test_health_checker.py::TestHealthChecker::test_consecutive_failures
FAILED
                     src/test/python/apache/aurora/executor/common/test_health_checker.py::TestHealthChecker::test_health_checker_metrics
PASSED
                     src/test/python/apache/aurora/executor/common/test_health_checker.py::TestHealthChecker::test_initial_interval_2x
PASSED
                     src/test/python/apache/aurora/executor/common/test_health_checker.py::TestHealthChecker::test_initial_interval_whatev
PASSED
                     src/test/python/apache/aurora/executor/common/test_health_checker.py::TestHealthCheckerProvider::test_from_assigned_task
PASSED
                     src/test/python/apache/aurora/executor/common/test_health_checker.py::TestThreadedHealthChecker::test_maybe_update_failure_count
PASSED
                     src/test/python/apache/aurora/executor/common/test_health_checker.py::TestThreadedHealthChecker::test_perform_check_if_not_disabled_no_snooze_file
PASSED
                     src/test/python/apache/aurora/executor/common/test_health_checker.py::TestThreadedHealthChecker::test_perform_check_if_not_disabled_snooze_file_exists
PASSED
                     src/test/python/apache/aurora/executor/common/test_health_checker.py::TestThreadedHealthChecker::test_perform_check_if_not_disabled_snooze_file_is_none
PASSED
                     src/test/python/apache/aurora/executor/common/test_health_checker.py::TestThreadedHealthChecker::test_run
PASSED
                     src/test/python/apache/aurora/executor/common/test_health_checker.py::TestThreadedHealthChecker::test_start
PASSED
                     src/test/python/apache/aurora/executor/common/test_health_checker.py::TestThreadedHealthChecker::test_stop
PASSED
                     
                     ==================== FAILURES ====================
                     __ TestHealthChecker.test_consecutive_failures ___
                     
                     self = <common.test_health_checker.TestHealthChecker testMethod=test_consecutive_failures>
                     
                         def test_consecutive_failures(self):
                           '''Verify that a task is unhealthy only after max_consecutive_failures
is exceeded'''
                           initial_interval_secs = 2
                           interval_secs = 1
                           self.append_health_checks(False, num_calls=2)
                           self.append_health_checks(True)
                           self.append_health_checks(False, num_calls=3)
                           hct = HealthChecker(
                               self._checker.health,
                               interval_secs=interval_secs,
                               initial_interval_secs=initial_interval_secs,
                               max_consecutive_failures=2,
                               clock=self._clock)
                           hct.start()
                         
                           # 2 consecutive health check failures followed by a successful
health check.
                           self._clock.tick(initial_interval_secs)
                           assert self._clock.converge(threads=[hct.threaded_health_checker],
timeout=1)
                           assert hct.status is None
                     >     assert hct.metrics.sample()['consecutive_failures'] == 1
                     E     AssertionError: assert 0 == 1
                     
                     src/test/python/apache/aurora/executor/common/test_health_checker.py:108:
AssertionError
                     -------------- Captured stderr call --------------
                     [<twitter.common.testing.clock.ThreadedClock object at 0x7fc87bd87f10>]
Time now: 0.0
                     [<twitter.common.testing.clock.ThreadedClock object at 0x7fc87bd87f10>]
Time now: 2.0
                      generated xml file: <https://builds.apache.org/job/Aurora/ws/dist/test-results/src.test.python.apache.aurora.executor.common.health_checker.xml>

                     ====== 1 failed, 11 passed in 0.77 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.factory                        
           .....   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.announcer             
           .....   SUCCESS
                     src.test.python.apache.aurora.executor.common.directory_sandbox     
           .....   SUCCESS
                     src.test.python.apache.aurora.executor.common.executor_detector     
           .....   SUCCESS
                     src.test.python.apache.aurora.executor.common.executor_timeout      
           .....   SUCCESS
                     src.test.python.apache.aurora.executor.common.health_checker        
           .....   FAILURE
                     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          
           .....   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