See <https://builds.apache.org/job/Aurora/358/changes>
Changes: [wfarner] Fix regression causing scheduling rate limiter to not be honored. [mchucarroll] Bugfix: restart doesn't notify user about invalid max_total_failures option. [mchucarroll] Make the "task run" command accept an instances spec. [skarumuri] Fixed duration calculation in the job page. [skarumuri] Enabling gzip encoding for /api/* end point. [maxim] Starting SLA calculations on SchedulerActive event. [maxim] Adding UpdateConfig value checks. [jfarrell] AURORA-392: Add apache- to source distribution name [jfarrell] AURORA-393: release candidate script doesn't need to create checksums for signature files [kevints] CronScheduler based on Quartz [kevints] AURORA-227: Aurora build should check for the Python version [skarumuri] Added a nav bar with Aurora logo. ------------------------------------------ [...truncated 4346 lines...] PASSED src/test/python/apache/aurora/client/commands/test_restart.py:166: TestRestartCommand.test_restart_failed_status PASSED src/test/python/apache/aurora/client/commands/test_restart.py:104: TestRestartCommand.test_restart_simple PASSED src/test/python/apache/aurora/client/commands/test_restart.py:136: TestRestartCommand.test_restart_simple_invalid_max_failures max_total_failures option must be >0, but you specified -1 PASSED src/test/python/apache/aurora/client/commands/test_status.py:104: TestListJobs.test_successful_status PASSED src/test/python/apache/aurora/client/commands/test_status.py:142: TestListJobs.test_successful_status_nometadata PASSED src/test/python/apache/aurora/client/commands/test_status.py:124: TestListJobs.test_unsuccessful_status PASSED src/test/python/apache/aurora/client/commands/test_update.py:77: TestUpdateCommand.test_update_command_line_succeeds PASSED src/test/python/apache/aurora/client/commands/test_update.py:100: TestUpdateCommand.test_update_invalid_config PASSED src/test/python/apache/aurora/client/commands/test_update.py:218: TestUpdateCommand.test_updater_simple PASSED ========================== 31 passed in 1.55 seconds =========================== ============================= test session starts ============================== platform linux2 -- Python 2.7.3 -- py-1.4.20 -- pytest-2.5.2 -- /usr/bin/python2.7 plugins: cov collecting ... collected 3 items src/test/python/apache/aurora/client/commands/test_hooks.py:206: TestClientCreateCommand.test_block_hooks PASSED src/test/python/apache/aurora/client/commands/test_hooks.py:163: TestClientCreateCommand.test_create_job_hook_aborts PASSED src/test/python/apache/aurora/client/commands/test_hooks.py:122: TestClientCreateCommand.test_create_job_hook_called PASSED =========================== 3 passed in 1.06 seconds =========================== ============================= test session starts ============================== platform linux2 -- Python 2.7.3 -- py-1.4.20 -- pytest-2.5.2 -- /usr/bin/python2.7 plugins: cov collecting ... collected 4 items src/test/python/apache/aurora/client/commands/test_maintenance.py:101: TestMaintenanceCommands.test_end_maintenance_hosts PASSED src/test/python/apache/aurora/client/commands/test_maintenance.py:153: TestMaintenanceCommands.test_host_maintenance_status PASSED src/test/python/apache/aurora/client/commands/test_maintenance.py:118: TestMaintenanceCommands.test_perform_maintenance_hosts WARNING:root:us-grf-20 is DRAINING or in DRAINED WARNING:root:us-suz-01 is DRAINING or in DRAINED WARNING:root:us-jim-47 is DRAINING or in DRAINED WARNING:root:us-grf-20 is DRAINING or in DRAINED WARNING:root:us-jim-47 is DRAINING or in DRAINED WARNING:root:us-suz-01 is DRAINING or in DRAINED PASSED src/test/python/apache/aurora/client/commands/test_maintenance.py:86: TestMaintenanceCommands.test_start_maintenance_hosts PASSED =========================== 4 passed in 0.41 seconds =========================== ============================= test session starts ============================== platform linux2 -- Python 2.7.3 -- py-1.4.20 -- pytest-2.5.2 -- /usr/bin/python2.7 plugins: cov collecting ... collected 1 items src/test/python/apache/aurora/client/commands/test_run.py:99: TestRunCommand.test_successful_run slavehost: hello slavehost: hello slavehost: hello PASSED =========================== 1 passed in 0.42 seconds =========================== ============================= test session starts ============================== platform linux2 -- Python 2.7.3 -- py-1.4.20 -- pytest-2.5.2 -- /usr/bin/python2.7 plugins: cov collecting ... collected 1 items src/test/python/apache/aurora/client/commands/test_ssh.py:92: TestSshCommand.test_successful_ssh PASSED =========================== 1 passed in 0.42 seconds =========================== ============================= test session starts ============================== platform linux2 -- Python 2.7.3 -- py-1.4.20 -- pytest-2.5.2 -- /usr/bin/python2.7 plugins: cov collecting ... collected 12 items src/test/python/apache/aurora/client/hooks/test_hooked_api.py:34: test_api_methods_exist[cancel_update] PASSED src/test/python/apache/aurora/client/hooks/test_hooked_api.py:34: test_api_methods_exist[create_job] PASSED src/test/python/apache/aurora/client/hooks/test_hooked_api.py:34: test_api_methods_exist[kill_job] PASSED src/test/python/apache/aurora/client/hooks/test_hooked_api.py:34: test_api_methods_exist[restart] PASSED src/test/python/apache/aurora/client/hooks/test_hooked_api.py:34: test_api_methods_exist[start_cronjob] PASSED src/test/python/apache/aurora/client/hooks/test_hooked_api.py:34: test_api_methods_exist[update_job] PASSED src/test/python/apache/aurora/client/hooks/test_hooked_api.py:41: test_api_methods_params[cancel_update] PASSED src/test/python/apache/aurora/client/hooks/test_hooked_api.py:41: test_api_methods_params[create_job] PASSED src/test/python/apache/aurora/client/hooks/test_hooked_api.py:41: test_api_methods_params[kill_job] PASSED src/test/python/apache/aurora/client/hooks/test_hooked_api.py:41: test_api_methods_params[restart] PASSED src/test/python/apache/aurora/client/hooks/test_hooked_api.py:41: test_api_methods_params[start_cronjob] PASSED src/test/python/apache/aurora/client/hooks/test_hooked_api.py:41: test_api_methods_params[update_job] PASSED ========================== 12 passed in 0.43 seconds =========================== ============================= test session starts ============================== platform linux2 -- Python 2.7.3 -- py-1.4.20 -- pytest-2.5.2 -- /usr/bin/python2.7 plugins: cov collecting ... collected 4 items src/test/python/apache/aurora/client/hooks/test_non_hooked_api.py:87: TestNonHookedAuroraClientAPI.test_cancel_update_discards_config PASSED src/test/python/apache/aurora/client/hooks/test_non_hooked_api.py:91: TestNonHookedAuroraClientAPI.test_kill_job_discards_config PASSED src/test/python/apache/aurora/client/hooks/test_non_hooked_api.py:99: TestNonHookedAuroraClientAPI.test_restart_discards_config PASSED src/test/python/apache/aurora/client/hooks/test_non_hooked_api.py:105: TestNonHookedAuroraClientAPI.test_start_cronjob_discards_config PASSED =========================== 4 passed in 0.38 seconds =========================== ============================= test session starts ============================== platform linux2 -- Python 2.7.3 -- py-1.4.20 -- pytest-2.5.2 -- /usr/bin/python2.7 plugins: cov collecting ... collected 1 items src/test/python/apache/aurora/common/test_aurora_job_key.py:24: AuroraJobKeyTest.test_basic PASSED =========================== 1 passed in 0.08 seconds =========================== ============================= test session starts ============================== platform linux2 -- Python 2.7.3 -- py-1.4.20 -- pytest-2.5.2 -- /usr/bin/python2.7 plugins: cov collecting ... collected 1 items src/test/python/apache/aurora/common/test_cluster.py:23: test_simple PASSED =========================== 1 passed in 0.04 seconds =========================== ============================= test session starts ============================== platform linux2 -- Python 2.7.3 -- py-1.4.20 -- pytest-2.5.2 -- /usr/bin/python2.7 plugins: cov collecting ... collected 4 items src/test/python/apache/aurora/common/test_clusters.py:64: test_load_json PASSED src/test/python/apache/aurora/common/test_clusters.py:77: test_load_yaml PASSED src/test/python/apache/aurora/common/test_clusters.py:85: test_load_without_yaml_loader PASSED src/test/python/apache/aurora/common/test_clusters.py:96: test_load_invalid_syntax PASSED =========================== 4 passed in 0.14 seconds =========================== ============================= test session starts ============================== platform linux2 -- Python 2.7.3 -- py-1.4.20 -- pytest-2.5.2 -- /usr/bin/python2.7 plugins: cov collecting ... collected 2 items src/test/python/apache/aurora/common/test_cluster_option.py:34: test_constructors PASSED src/test/python/apache/aurora/common/test_cluster_option.py:48: test_parsable PASSED =========================== 2 passed in 0.05 seconds =========================== ============================= test session starts ============================== platform linux2 -- Python 2.7.3 -- py-1.4.20 -- pytest-2.5.2 -- /usr/bin/python2.7 plugins: cov collecting ... collected 3 items src/test/python/apache/aurora/common/test_http_signaler.py:43: TestHttpSignaler.test_all_calls_ok PASSED src/test/python/apache/aurora/common/test_http_signaler.py:70: TestHttpSignaler.test_exception PASSED src/test/python/apache/aurora/common/test_http_signaler.py:59: TestHttpSignaler.test_health_not_ok WARNING:root:Response differs from expected response (expected "ok", got "not ok") PASSED =========================== 3 passed in 0.06 seconds =========================== ============================= test session starts ============================== platform linux2 -- Python 2.7.3 -- py-1.4.20 -- pytest-2.5.2 -- /usr/bin/python2.7 plugins: cov collecting ... collected 1 items src/test/python/apache/aurora/common/test_shellify.py:20: test_shellify PASSED =========================== 1 passed in 0.01 seconds =========================== ============================= test session starts ============================== platform linux2 -- Python 2.7.3 -- py-1.4.20 -- pytest-2.5.2 -- /usr/bin/python2.7 plugins: cov collecting ... collected 7 items src/test/python/apache/aurora/config/test_base.py:36: test_all_static PASSED src/test/python/apache/aurora/config/test_base.py:44: test_binding PASSED src/test/python/apache/aurora/config/test_base.py:52: test_cycle PASSED src/test/python/apache/aurora/config/test_base.py:146: test_empty_config PASSED src/test/python/apache/aurora/config/test_base.py:154: test_simple_config PASSED src/test/python/apache/aurora/config/test_base.py:179: test_ports PASSED src/test/python/apache/aurora/config/test_base.py:200: test_static_port_aliasing PASSED =========================== 7 passed in 1.38 seconds =========================== ============================= test session starts ============================== platform linux2 -- Python 2.7.3 -- py-1.4.20 -- pytest-2.5.2 -- /usr/bin/python2.7 plugins: cov collecting ... collected 1 items src/test/python/apache/aurora/config/test_constraint_parsing.py:24: test_parsing_constraints limit:a is not a valid limit value, must be integer PASSED =========================== 1 passed in 0.14 seconds =========================== ============================= test session starts ============================== platform linux2 -- Python 2.7.3 -- py-1.4.20 -- pytest-2.5.2 -- /usr/bin/python2.7 plugins: cov collecting ... collected 6 items src/test/python/apache/aurora/config/test_loader.py:47: test_enoent PASSED src/test/python/apache/aurora/config/test_loader.py:53: test_bad_config PASSED src/test/python/apache/aurora/config/test_loader.py:61: test_empty_config PASSED src/test/python/apache/aurora/config/test_loader.py:67: test_load_json PASSED src/test/python/apache/aurora/config/test_loader.py:80: test_load PASSED src/test/python/apache/aurora/config/test_loader.py:93: test_pick PASSED =========================== 6 passed in 0.19 seconds =========================== ============================= test session starts ============================== platform linux2 -- Python 2.7.3 -- py-1.4.20 -- pytest-2.5.2 -- /usr/bin/python2.7 plugins: cov collecting ... collected 10 items src/test/python/apache/aurora/config/test_thrift.py:47: test_simple_config FAILED =================================== FAILURES =================================== ______________________________ test_simple_config ______________________________ def test_simple_config(): job = convert_pystachio_to_thrift(HELLO_WORLD) assert job.instanceCount == 1 tti = job.taskConfig assert job.key == JobKey( role=HELLO_WORLD.role().get(), environment=HELLO_WORLD.environment().get(), name=HELLO_WORLD.name().get()) assert job.owner == Identity(role=HELLO_WORLD.role().get(), user=getpass.getuser()) > assert job.cronSchedule == '' E assert None == '' E + where None = JobConfiguration(instanceCount=1, cronSchedule=None, cronCollisionPolicy=0, ke...us=0.1, constraints=set([])), owner=Identity(role=u'john_doe', user='jenkins')).cronSchedule src/test/python/apache/aurora/config/test_thrift.py:56: AssertionError !!!!!!!!!!!!!!!!!!!! Interrupted: stopping after 1 failures !!!!!!!!!!!!!!!!!!!! =========================== 1 failed in 0.27 seconds =========================== Build operating on targets: OrderedSet([PythonTestSuite(src/test/python/BUILD:all)]) src.test.python.apache.aurora.admin.host_maintenance ..... SUCCESS src.test.python.apache.aurora.client.api.disambiguator ..... 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.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.updater ..... SUCCESS src.test.python.apache.aurora.client.binding_helper ..... SUCCESS src.test.python.apache.aurora.client.cli.bridge ..... SUCCESS src.test.python.apache.aurora.client.cli.command_hooks ..... SUCCESS src.test.python.apache.aurora.client.cli.help ..... SUCCESS src.test.python.apache.aurora.client.cli.job ..... SUCCESS src.test.python.apache.aurora.client.cli.logging ..... 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.task ..... SUCCESS src.test.python.apache.aurora.client.commands.admin ..... SUCCESS src.test.python.apache.aurora.client.commands.core ..... SUCCESS src.test.python.apache.aurora.client.commands.hooks ..... SUCCESS src.test.python.apache.aurora.client.commands.maintenance ..... SUCCESS src.test.python.apache.aurora.client.commands.run ..... SUCCESS src.test.python.apache.aurora.client.commands.ssh ..... 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_shellify ..... 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 ..... FAILURE Build step 'Execute shell' marked build as failure Updating AURORA-393 Updating AURORA-227 Updating AURORA-392