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 #892
Date Tue, 24 Feb 2015 00:30:59 GMT
See <https://builds.apache.org/job/Aurora/892/changes>

Changes:

[kevints] Split out ReadOnlySchedulerImplTest.

[wickman] Fix swallowed exceptions in health check test, improve gc executor tests.

------------------------------------------
[...truncated 4197 lines...]
                     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.17 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.26 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 14.05 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.74 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.10 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.05 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.08 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
PASSED
                     src/test/python/apache/aurora/executor/common/test_health_checker.py::TestHealthChecker::test_health_checker_metrics
FAILED
                     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_health_checker_metrics __
                     
                     self = <common.test_health_checker.TestHealthChecker testMethod=test_health_checker_metrics>
                     
                         def test_health_checker_metrics(self):
                           def slow_check():
                             self._clock.sleep(0.5)
                             return (True, None)
                           hct = HealthChecker(slow_check, interval_secs=1, initial_interval_secs=1,
clock=self._clock)
                           hct.start()
                           self._clock.converge(threads=[hct.threaded_health_checker])
                           self._clock.assert_waiting(hct.threaded_health_checker, amount=1)
                         
                           assert hct._total_latency == 0
                           assert hct.metrics.sample()['total_latency_secs'] == 0
                         
                           # start the health check (during health check it is still 0)
                           epsilon = 0.001
                           self._clock.tick(1.0 + epsilon)
                           self._clock.converge(threads=[hct.threaded_health_checker])
                           self._clock.assert_waiting(hct.threaded_health_checker, amount=0.5)
                           assert hct._total_latency == 0
                           assert hct.metrics.sample()['total_latency_secs'] == 0
                           assert hct.metrics.sample()['checks'] == 0
                         
                           # finish the health check
                           self._clock.tick(0.5 + epsilon)
                           self._clock.converge(threads=[hct.threaded_health_checker])
                           self._clock.assert_waiting(hct.threaded_health_checker, amount=1)
 # interval_secs
                     >     assert hct._total_latency == 0.5
                     E     AssertionError: assert 0.5009999999999999 == 0.5
                     E      +  where 0.5009999999999999 = <apache.aurora.executor.common.health_checker.HealthChecker
object at 0x7f07b8b81450>._total_latency
                     
                     src/test/python/apache/aurora/executor/common/test_health_checker.py:168:
AssertionError
                     -------------- Captured stderr call --------------
                     [<twitter.common.testing.clock.ThreadedClock object at 0x7f07b8b813d0>]
Time now: 0.0
                     [<twitter.common.testing.clock.ThreadedClock object at 0x7f07b8b813d0>]
Time now: 0.0
                     [<twitter.common.testing.clock.ThreadedClock object at 0x7f07b8b813d0>]
Time now: 1.0
                     [<twitter.common.testing.clock.ThreadedClock object at 0x7f07b8b813d0>]
Time now: 1.001
                     [<twitter.common.testing.clock.ThreadedClock object at 0x7f07b8b813d0>]
Time now: 1.001
                     [<twitter.common.testing.clock.ThreadedClock object at 0x7f07b8b813d0>]
Time now: 1.501
                     [<twitter.common.testing.clock.ThreadedClock object at 0x7f07b8b813d0>]
Time now: 1.502
                      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 1.00 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