See <https://builds.apache.org/job/Aurora/947/changes>
Changes: [maxim] Moving pending task search into PreemptorImpl ------------------------------------------ [...truncated 4690 lines...] [1m============== test session starts ===============[0m 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 [1m collecting 0 items[0m[1m collecting 8 items[0m[1m collected 8 items [0m src/test/python/apache/aurora/executor/common/test_announcer.py::test_serverset_join_thread [32mPASSED[0m src/test/python/apache/aurora/executor/common/test_announcer.py::test_announcer_under_normal_circumstances [32mPASSED[0m src/test/python/apache/aurora/executor/common/test_announcer.py::test_announcer_on_expiration [33mSKIPPED[0m src/test/python/apache/aurora/executor/common/test_announcer.py::test_announcer_under_abnormal_circumstances [33mSKIPPED[0m src/test/python/apache/aurora/executor/common/test_announcer.py::test_make_empty_endpoints [32mPASSED[0m src/test/python/apache/aurora/executor/common/test_announcer.py::test_announcer_provider_with_timeout [32mPASSED[0m src/test/python/apache/aurora/executor/common/test_announcer.py::test_default_announcer_provider [32mPASSED[0m src/test/python/apache/aurora/executor/common/test_announcer.py::test_default_announcer_provider_without_announce [32mPASSED[0m generated xml file: <https://builds.apache.org/job/Aurora/ws/dist/test-results/src.test.python.apache.aurora.executor.common.announcer.xml> [32m[1m====== 6 passed, 2 skipped in 0.68 seconds =======[0m [1m============== test session starts ===============[0m 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 [1m collecting 0 items[0m[1m collecting 5 items[0m[1m collected 5 items [0m src/test/python/apache/aurora/executor/common/test_directory_sandbox.py::test_directory_sandbox [32mPASSED[0m src/test/python/apache/aurora/executor/common/test_directory_sandbox.py::test_create [32mPASSED[0m src/test/python/apache/aurora/executor/common/test_directory_sandbox.py::test_user_does_not_exist [32mPASSED[0m src/test/python/apache/aurora/executor/common/test_directory_sandbox.py::test_create_ioerror [32mPASSED[0m src/test/python/apache/aurora/executor/common/test_directory_sandbox.py::test_destroy_ioerror [32mPASSED[0m generated xml file: <https://builds.apache.org/job/Aurora/ws/dist/test-results/src.test.python.apache.aurora.executor.common.directory_sandbox.xml> [32m[1m============ 5 passed in 0.07 seconds ============[0m [1m============== test session starts ===============[0m 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 [1m collecting 0 items[0m[1m collecting 4 items[0m[1m collected 4 items [0m src/test/python/apache/aurora/executor/common/test_executor_detector.py::test_find_root [32mPASSED[0m src/test/python/apache/aurora/executor/common/test_executor_detector.py::test_match_inverse [32mPASSED[0m src/test/python/apache/aurora/executor/common/test_executor_detector.py::test_bad_match [32mPASSED[0m src/test/python/apache/aurora/executor/common/test_executor_detector.py::test_integration [32mPASSED[0m generated xml file: <https://builds.apache.org/job/Aurora/ws/dist/test-results/src.test.python.apache.aurora.executor.common.executor_detector.xml> [32m[1m============ 4 passed in 0.05 seconds ============[0m [1m============== test session starts ===============[0m 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 [1m collecting 0 items[0m[1m collecting 2 items[0m[1m collecting 2 items[0m[1m collecting 2 items[0m[1m collected 2 items [0m src/test/python/apache/aurora/executor/common/test_executor_timeout.py::TestExecutorTimeout::test_run [32mPASSED[0m src/test/python/apache/aurora/executor/common/test_executor_timeout.py::TestExecutorTimeout::test_run_timeout [32mPASSED[0m generated xml file: <https://builds.apache.org/job/Aurora/ws/dist/test-results/src.test.python.apache.aurora.executor.common.executor_timeout.xml> [32m[1m============ 2 passed in 0.08 seconds ============[0m [1m============== test session starts ===============[0m 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 [1m collecting 0 items[0m[1m collecting 4 items[0m[1m collecting 5 items[0m[1m collecting 12 items[0m[1m collecting 12 items[0m[1m collected 12 items [0m src/test/python/apache/aurora/executor/common/test_health_checker.py::TestHealthChecker::test_consecutive_failures [32mPASSED[0m src/test/python/apache/aurora/executor/common/test_health_checker.py::TestHealthChecker::test_health_checker_metrics [32mPASSED[0m src/test/python/apache/aurora/executor/common/test_health_checker.py::TestHealthChecker::test_initial_interval_2x [32mPASSED[0m src/test/python/apache/aurora/executor/common/test_health_checker.py::TestHealthChecker::test_initial_interval_whatev [32mPASSED[0m src/test/python/apache/aurora/executor/common/test_health_checker.py::TestHealthCheckerProvider::test_from_assigned_task [32mPASSED[0m src/test/python/apache/aurora/executor/common/test_health_checker.py::TestThreadedHealthChecker::test_maybe_update_failure_count [32mPASSED[0m src/test/python/apache/aurora/executor/common/test_health_checker.py::TestThreadedHealthChecker::test_perform_check_if_not_disabled_no_snooze_file [32mPASSED[0m src/test/python/apache/aurora/executor/common/test_health_checker.py::TestThreadedHealthChecker::test_perform_check_if_not_disabled_snooze_file_exists [32mPASSED[0m src/test/python/apache/aurora/executor/common/test_health_checker.py::TestThreadedHealthChecker::test_perform_check_if_not_disabled_snooze_file_is_none [32mPASSED[0m src/test/python/apache/aurora/executor/common/test_health_checker.py::TestThreadedHealthChecker::test_run [32mPASSED[0m src/test/python/apache/aurora/executor/common/test_health_checker.py::TestThreadedHealthChecker::test_start [32mPASSED[0m src/test/python/apache/aurora/executor/common/test_health_checker.py::TestThreadedHealthChecker::test_stop [32mPASSED[0m generated xml file: <https://builds.apache.org/job/Aurora/ws/dist/test-results/src.test.python.apache.aurora.executor.common.health_checker.xml> [32m[1m=========== 12 passed in 0.85 seconds ============[0m [1m============== test session starts ===============[0m 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 [1m collecting 0 items[0m[1m collecting 3 items[0m[1m collecting 3 items[0m[1m collecting 3 items[0m[1m collected 3 items [0m src/test/python/apache/aurora/executor/common/test_kill_manager.py::TestKillManager::test_kill [32mPASSED[0m src/test/python/apache/aurora/executor/common/test_kill_manager.py::TestKillManager::test_name [32mPASSED[0m src/test/python/apache/aurora/executor/common/test_kill_manager.py::TestKillManager::test_status [32mPASSED[0m generated xml file: <https://builds.apache.org/job/Aurora/ws/dist/test-results/src.test.python.apache.aurora.executor.common.kill_manager.xml> [32m[1m============ 3 passed in 0.17 seconds ============[0m [1m============== test session starts ===============[0m 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 [1m collecting 0 items[0m[1m collecting 1 items[0m[1m collected 1 items [0m src/test/python/apache/aurora/executor/common/test_status_checker.py::test_chained_health_interface [32mPASSED[0m generated xml file: <https://builds.apache.org/job/Aurora/ws/dist/test-results/src.test.python.apache.aurora.executor.common.status_checker.xml> [32m[1m============ 1 passed in 0.17 seconds ============[0m [1m============== test session starts ===============[0m 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 [1m collecting 0 items[0m[1m collecting 6 items[0m[1m collecting 28 items[0m[1m collected 28 items [0m src/test/python/apache/aurora/executor/test_gc_executor.py::test_state_reconciliation_no_ops [32mPASSED[0m src/test/python/apache/aurora/executor/test_gc_executor.py::test_state_reconciliation_active_terminal [32mPASSED[0m src/test/python/apache/aurora/executor/test_gc_executor.py::test_state_reconciliation_active_nexist [32mPASSED[0m src/test/python/apache/aurora/executor/test_gc_executor.py::test_state_reconciliation_terminal_active [32mPASSED[0m src/test/python/apache/aurora/executor/test_gc_executor.py::test_state_reconciliation_corrupt_tasks [32mPASSED[0m src/test/python/apache/aurora/executor/test_gc_executor.py::test_state_reconciliation_terminal_nexist [32mPASSED[0m src/test/python/apache/aurora/executor/test_gc_executor.py::test_state_reconciliation_nexist_active [32mPASSED[0m src/test/python/apache/aurora/executor/test_gc_executor.py::test_state_reconciliation_nexist_terminal [32mPASSED[0m src/test/python/apache/aurora/executor/test_gc_executor.py::test_real_get_states [32mPASSED[0m src/test/python/apache/aurora/executor/test_gc_executor.py::test_gc_with_loss [32mPASSED[0m src/test/python/apache/aurora/executor/test_gc_executor.py::test_gc_with_starting_task [32mPASSED[0m src/test/python/apache/aurora/executor/test_gc_executor.py::test_gc_without_task_missing [32mPASSED[0m src/test/python/apache/aurora/executor/test_gc_executor.py::test_gc_without_loss [32mPASSED[0m src/test/python/apache/aurora/executor/test_gc_executor.py::test_gc_withheld [32mPASSED[0m src/test/python/apache/aurora/executor/test_gc_executor.py::test_gc_withheld_and_executor_missing [32mPASSED[0m src/test/python/apache/aurora/executor/test_gc_executor.py::test_gc_killtask_noop [32mPASSED[0m src/test/python/apache/aurora/executor/test_gc_executor.py::test_gc_killtask_current [32mPASSED[0m src/test/python/apache/aurora/executor/test_gc_executor.py::test_gc_killtask_queued [32mPASSED[0m src/test/python/apache/aurora/executor/test_gc_executor.py::test_gc_multiple_launchtasks [32mPASSED[0m src/test/python/apache/aurora/executor/test_gc_executor.py::test_gc_shutdown [32mPASSED[0m src/test/python/apache/aurora/executor/test_gc_executor.py::test_ignores_launch_task_when_shutting_down [32mPASSED[0m src/test/python/apache/aurora/executor/test_gc_executor.py::test_gc_lifetime [31mFAILED[0m src/test/python/apache/aurora/executor/test_gc_executor.py::TestRealGC::test_active_task_no_runners [32mPASSED[0m src/test/python/apache/aurora/executor/test_gc_executor.py::TestRealGC::test_active_task_running [32mPASSED[0m src/test/python/apache/aurora/executor/test_gc_executor.py::TestRealGC::test_finished_task_corrupt [32mPASSED[0m src/test/python/apache/aurora/executor/test_gc_executor.py::TestRealGC::test_gc_ignore_retained_task [32mPASSED[0m src/test/python/apache/aurora/executor/test_gc_executor.py::TestRealGC::test_gc_task_directory_sandbox [32mPASSED[0m src/test/python/apache/aurora/executor/test_gc_executor.py::TestRealGC::test_gc_task_no_sandbox [32mPASSED[0m ==================== FAILURES ==================== ________________ test_gc_lifetime ________________ [1m def test_gc_lifetime():[0m [1m with run_gc_with_timeout(maximum_executor_lifetime=Amount(500, Time.MILLISECONDS)) as ([0m [1m proxy_driver, executor):[0m [1m executor._clock.tick(1)[0m [1m proxy_driver.stopped.wait(timeout=EVENT_WAIT_TIMEOUT_SECS)[0m [1m> assert proxy_driver.stopped.is_set()[0m [1m[31mE assert <bound method _Event.isSet of <threading._Event object at 0x7fd8eb15af50>>()[0m [1m[31mE + where <bound method _Event.isSet of <threading._Event object at 0x7fd8eb15af50>> = <threading._Event object at 0x7fd8eb15af50>.is_set[0m [1m[31mE + where <threading._Event object at 0x7fd8eb15af50> = <test_gc_executor.ProxyDriver object at 0x7fd8eb15a210>.stopped[0m src/test/python/apache/aurora/executor/test_gc_executor.py:548: AssertionError -------------- Captured stderr call -------------- [<twitter.common.testing.clock.ThreadedClock object at 0x7fd8eb15a590>] Time now: 1426718212.7 generated xml file: <https://builds.apache.org/job/Aurora/ws/dist/test-results/src.test.python.apache.aurora.executor.gc_executor.xml> [1m[31m====== 1 failed, 27 passed in 12.55 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.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 ..... SUCCESS src.test.python.apache.aurora.executor.common.kill_manager ..... SUCCESS src.test.python.apache.aurora.executor.common.path_detector ..... SUCCESS src.test.python.apache.aurora.executor.common.status_checker ..... 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.gc_executor ..... FAILURE src.test.python.apache.aurora.executor.status_manager ..... SUCCESS src.test.python.apache.aurora.executor.thermos_task_runner ..... SUCCESS 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