See <https://builds.apache.org/job/Aurora/570/changes>

Changes:

[dmclaughlin] Fix the default values for min/max time running while updating.

------------------------------------------
[...truncated 1340 lines...]
PASSED
src/test/python/apache/aurora/client/api/test_disambiguator.py <- 
../../../../../tmp/tmpMWOvkU/.deps/mox-0.5.3-py2-none-any.whl/mox.py::LiveJobDisambiguatorTest::test_disambiguate_args_or_die_unambiguous_with_config
 PASSED
src/test/python/apache/aurora/client/api/test_disambiguator.py <- 
../../../../../tmp/tmpMWOvkU/.deps/mox-0.5.3-py2-none-any.whl/mox.py::LiveJobDisambiguatorTest::test_disambiguate_args_or_die_unambiguous_with_no_config
 PASSED
src/test/python/apache/aurora/client/api/test_disambiguator.py <- 
../../../../../tmp/tmpMWOvkU/.deps/mox-0.5.3-py2-none-any.whl/mox.py::LiveJobDisambiguatorTest::test_disambiguate_job_path_or_die_unambiguous
 PASSED
src/test/python/apache/aurora/client/api/test_disambiguator.py <- 
../../../../../tmp/tmpMWOvkU/.deps/mox-0.5.3-py2-none-any.whl/mox.py::LiveJobDisambiguatorTest::test_disambiguate_or_die_ambiguous
 WARNING:root:
WARNING:root:********************************************************************************
WARNING:root:* The command you ran is deprecated and will soon break!
WARNING:root:* Job ambiguously specified - querying the scheduler to 
disambiguate
WARNING:root:********************************************************************************
WARNING:root:
WARNING:root:
WARNING:root:********************************************************************************
WARNING:root:* The command you ran is deprecated and will soon break!
WARNING:root:* Job ambiguously specified - querying the scheduler to 
disambiguate
WARNING:root:********************************************************************************
WARNING:root:
WARNING:root:
WARNING:root:********************************************************************************
WARNING:root:* The command you ran is deprecated and will soon break!
WARNING:root:* Job ambiguously specified - querying the scheduler to 
disambiguate
WARNING:root:********************************************************************************
WARNING:root:
CRITICAL:root:Multiple jobs match 
(smf1/mesos/test/labrat,smf1/mesos/devel/labrat) - disambiguate by using the 
CLUSTER/ROLE/ENV/NAME form
WARNING:root:
WARNING:root:********************************************************************************
WARNING:root:* The command you ran is deprecated and will soon break!
WARNING:root:* Job ambiguously specified - querying the scheduler to 
disambiguate
WARNING:root:********************************************************************************
WARNING:root:
CRITICAL:root:No jobs found
PASSED

=========================== 6 passed in 0.51 seconds ===========================
============================= test session starts ==============================
platform linux2 -- Python 2.7.6 -- py-1.4.24 -- pytest-2.6.2 -- 
/usr/bin/python2.7
plugins: cov, timeout
collecting ... collected 4 items

src/test/python/apache/aurora/common/test_clusters.py::test_load_json PASSED
src/test/python/apache/aurora/common/test_clusters.py::test_load_yaml PASSED
src/test/python/apache/aurora/common/test_clusters.py::test_load_without_yaml_loader
 PASSED
src/test/python/apache/aurora/common/test_clusters.py::test_load_invalid_syntax 
PASSED

=========================== 4 passed in 0.13 seconds ===========================
============================= test session starts ==============================
platform linux2 -- Python 2.7.6 -- py-1.4.24 -- pytest-2.6.2 -- 
/usr/bin/python2.7
plugins: cov, timeout
collecting ... collected 1 items

src/test/python/apache/aurora/client/cli/test_inspect.py::TestInspectCommand::test_inspect_job
 ['Job level information', "  name:       'the_job'", "  role:       'bozo'", " 
 contact:    'bozo@the.clown'", "  cluster:    'west'", "  instances:  '3'", '  
cron:', "    schedule: '* * * * *'", "    policy:   '0'", '  service:    
False', '  production: False', '', 'Task level information', "  name: 'task'", 
'', "Process 'process':", '  cmdline:', '    ls -la', '']
PASSED

=========================== 1 passed in 0.67 seconds ===========================
============================= test session starts ==============================
platform linux2 -- Python 2.7.6 -- py-1.4.24 -- pytest-2.6.2 -- 
/usr/bin/python2.7
plugins: cov, timeout
collecting ... collected 13 items

src/test/python/apache/aurora/client/api/test_instance_watcher.py::InstanceWatcherTest::test_all_instance_failure
 PASSED
src/test/python/apache/aurora/client/api/test_instance_watcher.py::InstanceWatcherTest::test_io_failure
 ERROR:root:IO Exception during scheduler call: oops
ERROR:root:IO Exception during scheduler call: oops
ERROR:root:IO Exception during scheduler call: oops
ERROR:root:IO Exception during scheduler call: oops
ERROR:root:IO Exception during scheduler call: oops
ERROR:root:IO Exception during scheduler call: oops
ERROR:root:IO Exception during scheduler call: oops
ERROR:root:IO Exception during scheduler call: oops
ERROR:root:IO Exception during scheduler call: oops
ERROR:root:IO Exception during scheduler call: oops
ERROR:root:IO Exception during scheduler call: oops
ERROR:root:IO Exception during scheduler call: oops
ERROR:root:IO Exception during scheduler call: oops
ERROR:root:IO Exception during scheduler call: oops
ERROR:root:IO Exception during scheduler call: oops
ERROR:root:IO Exception during scheduler call: oops
ERROR:root:IO Exception during scheduler call: oops
ERROR:root:IO Exception during scheduler call: oops
PASSED
src/test/python/apache/aurora/client/api/test_instance_watcher.py::InstanceWatcherTest::test_restart_threshold
 PASSED
src/test/python/apache/aurora/client/api/test_instance_watcher.py::InstanceWatcherTest::test_restart_threshold_fail_fast
 PASSED
src/test/python/apache/aurora/client/api/test_instance_watcher.py::InstanceWatcherTest::test_single_instance_failure
 PASSED
src/test/python/apache/aurora/client/api/test_instance_watcher.py::InstanceWatcherTest::test_single_watch_period_failure
 PASSED
src/test/python/apache/aurora/client/api/test_instance_watcher.py::InstanceWatcherTest::test_successful_watch
 PASSED
src/test/python/apache/aurora/client/api/test_instance_watcher.py::InstanceWatcherTest::test_terminated_exits_immediately
 PASSED
src/test/python/apache/aurora/client/api/test_instance_watcher.py::InstanceWatcherTest::test_watch_period_failure
 PASSED
src/test/python/apache/aurora/client/api/test_health_check.py::HealthCheckTest::test_changed_task_id
 PASSED
src/test/python/apache/aurora/client/api/test_health_check.py::HealthCheckTest::test_failed_status_health_check
 PASSED
src/test/python/apache/aurora/client/api/test_health_check.py::HealthCheckTest::test_health_statuses
 PASSED
src/test/python/apache/aurora/client/api/test_health_check.py::HealthCheckTest::test_simple_status_health_check
 PASSED

========================== 13 passed in 0.32 seconds ===========================
============================= test session starts ==============================
platform linux2 -- Python 2.7.6 -- py-1.4.24 -- pytest-2.6.2 -- 
/usr/bin/python2.7
plugins: cov, timeout
collecting ... collected 10 items

src/test/python/apache/aurora/config/test_thrift.py::test_simple_config PASSED
src/test/python/apache/aurora/config/test_thrift.py::test_config_with_options 
PASSED
src/test/python/apache/aurora/config/test_thrift.py::test_config_with_ports 
PASSED
src/test/python/apache/aurora/config/test_thrift.py::test_config_with_bad_resources
 PASSED
src/test/python/apache/aurora/config/test_thrift.py::test_config_with_task_links
 PASSED
src/test/python/apache/aurora/config/test_thrift.py::test_unbound_references 
PASSED
src/test/python/apache/aurora/config/test_thrift.py::test_cron_policy_alias 
PASSED
src/test/python/apache/aurora/config/test_thrift.py::test_metadata_in_config 
PASSED
src/test/python/apache/aurora/config/test_thrift.py::test_task_instance_from_job
 PASSED
src/test/python/apache/aurora/config/test_thrift.py::test_identifier_validation 
PASSED

========================== 10 passed in 1.57 seconds ===========================
============================= test session starts ==============================
platform linux2 -- Python 2.7.6 -- py-1.4.24 -- pytest-2.6.2 -- 
/usr/bin/python2.7
plugins: cov, timeout
collecting ... collected 1 items

src/test/python/apache/aurora/common/test_cluster.py::test_simple PASSED

=========================== 1 passed in 0.04 seconds ===========================
============================= test session starts ==============================
platform linux2 -- Python 2.7.6 -- py-1.4.24 -- pytest-2.6.2 -- 
/usr/bin/python2.7
plugins: cov, timeout
collecting ... collected 21 items

src/test/python/apache/aurora/client/commands/test_admin.py::TestQueryCommand::test_query
 test_role/test_job/0 RUNNING
PASSED
src/test/python/apache/aurora/client/commands/test_admin.py::TestQueryCommand::test_query_fails
 CRITICAL:root:--force is required for expensive queries (no role specified)
PASSED
src/test/python/apache/aurora/client/commands/test_admin.py::TestIncreaseQuotaCommand::test_increase_quota
 PASSED
src/test/python/apache/aurora/client/commands/test_admin.py::TestSetQuotaCommand::test_set_quota
 PASSED
src/test/python/apache/aurora/client/commands/test_admin.py::TestGetLocksCommand::test_get_locks
 PASSED
src/test/python/apache/aurora/client/commands/test_admin.py::TestGetSchedulerCommand::test_get_scheduler
 Found leading scheduler at: <MagicMock 
name='mock().scheduler_proxy.scheduler_client().raw_url' id='139778957514064'>
PASSED
src/test/python/apache/aurora/client/commands/test_admin_sla.py::TestAdminSlaListSafeDomainCommand::test_safe_domain_exclude_hosts
 PASSED
src/test/python/apache/aurora/client/commands/test_admin_sla.py::TestAdminSlaListSafeDomainCommand::test_safe_domain_exclude_hosts_from_list
 PASSED
src/test/python/apache/aurora/client/commands/test_admin_sla.py::TestAdminSlaListSafeDomainCommand::test_safe_domain_grouping_error
 CRITICAL:root:Unknown grouping function foo. Must be one of: ['by_host']
PASSED
src/test/python/apache/aurora/client/commands/test_admin_sla.py::TestAdminSlaListSafeDomainCommand::test_safe_domain_hosts_error
 CRITICAL:root:Cannot specify both filename and list for the same option.
PASSED
src/test/python/apache/aurora/client/commands/test_admin_sla.py::TestAdminSlaListSafeDomainCommand::test_safe_domain_include_hosts
 PASSED
src/test/python/apache/aurora/client/commands/test_admin_sla.py::TestAdminSlaListSafeDomainCommand::test_safe_domain_include_hosts_from_list
 PASSED
src/test/python/apache/aurora/client/commands/test_admin_sla.py::TestAdminSlaListSafeDomainCommand::test_safe_domain_invalid_percentage
 CRITICAL:root:Invalid percentage 0. Must be within (0, 100].
PASSED
src/test/python/apache/aurora/client/commands/test_admin_sla.py::TestAdminSlaListSafeDomainCommand::test_safe_domain_list_jobs
 PASSED
src/test/python/apache/aurora/client/commands/test_admin_sla.py::TestAdminSlaListSafeDomainCommand::test_safe_domain_malformed_job_override
 CRITICAL:root:Invalid line in /tmp/tmpA5Wfl_:30 200s
PASSED
src/test/python/apache/aurora/client/commands/test_admin_sla.py::TestAdminSlaListSafeDomainCommand::test_safe_domain_no_options
 PASSED
src/test/python/apache/aurora/client/commands/test_admin_sla.py::TestAdminSlaListSafeDomainCommand::test_safe_domain_override_jobs
 PASSED
src/test/python/apache/aurora/client/commands/test_admin_sla.py::TestAdminSlaProbeHostsCommand::test_probe_grouping_error
 CRITICAL:root:Unknown grouping function foo. Must be one of: ['by_host']
PASSED
src/test/python/apache/aurora/client/commands/test_admin_sla.py::TestAdminSlaProbeHostsCommand::test_probe_hosts_error
 CRITICAL:root:Please specify either --filename or --hosts
PASSED
src/test/python/apache/aurora/client/commands/test_admin_sla.py::TestAdminSlaProbeHostsCommand::test_probe_hosts_with_file
 PASSED
src/test/python/apache/aurora/client/commands/test_admin_sla.py::TestAdminSlaProbeHostsCommand::test_probe_hosts_with_list
 PASSED

========================== 21 passed in 0.65 seconds ===========================
============================= test session starts ==============================
platform linux2 -- Python 2.7.6 -- py-1.4.24 -- pytest-2.6.2 -- 
/usr/bin/python2.7
plugins: cov, timeout
collecting ... collected 11 items

src/test/python/apache/aurora/client/api/test_api.py::TestJobUpdateApis::test_abort_job_update
 PASSED
src/test/python/apache/aurora/client/api/test_api.py::TestJobUpdateApis::test_abort_job_update_invalid_key
 PASSED
src/test/python/apache/aurora/client/api/test_api.py::TestJobUpdateApis::test_get_job_update_details
 PASSED
src/test/python/apache/aurora/client/api/test_api.py::TestJobUpdateApis::test_pause_job_update
 PASSED
src/test/python/apache/aurora/client/api/test_api.py::TestJobUpdateApis::test_pause_job_update_invalid_key
 PASSED
src/test/python/apache/aurora/client/api/test_api.py::TestJobUpdateApis::test_query_job_updates
 PASSED
src/test/python/apache/aurora/client/api/test_api.py::TestJobUpdateApis::test_query_job_updates_no_filter
 PASSED
src/test/python/apache/aurora/client/api/test_api.py::TestJobUpdateApis::test_resume_job_update
 PASSED
src/test/python/apache/aurora/client/api/test_api.py::TestJobUpdateApis::test_resume_job_update_invalid_key
 PASSED
src/test/python/apache/aurora/client/api/test_api.py::TestJobUpdateApis::test_start_job_update
 FAILED

=================================== FAILURES ===================================
___________________ TestJobUpdateApis.test_start_job_update ____________________

self = <test_api.TestJobUpdateApis testMethod=test_start_job_update>

    def test_start_job_update(self):
      """Test successful job update start."""
      api, mock_proxy = self.mock_api()
      task_config = TaskConfig()
      mock_proxy.startJobUpdate.return_value = 
self.create_simple_success_response()
    
      api.start_job_update(self.mock_job_config())
>     
> mock_proxy.startJobUpdate.assert_called_once_with(self.create_update_request(task_config))

src/test/python/apache/aurora/client/api/test_api.py:117: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/tmp/tmpQy7NvS/.deps/mock-1.0.1-py2-none-any.whl/mock.py:846: in 
assert_called_once_with
    return self.assert_called_with(*args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

_mock_self = <Mock name='mock.startJobUpdate' id='139759766677200'>
args = (JobUpdateRequest(jobKey=JobKey(environment='env', role='role', 
name='name'), i...diskMb=None, owner=None, maxTaskFailures=None, numCpus=None, 
constraints=None)),)
kwargs = {}, self = <Mock name='mock.startJobUpdate' id='139759766677200'>
msg = "Expected call: 
startJobUpdate(JobUpdateRequest(jobKey=JobKey(environment='env', role='role', 
name='name'), instanceCo..., contactEmail=None, production=None, diskMb=None, 
owner=None, maxTaskFailures=None, numCpus=None, constraints=None)))"

    def assert_called_with(_mock_self, *args, **kwargs):
        """assert that the mock was called with the specified arguments.
    
            Raises an AssertionError if the args and keyword args passed in are
            different to the last call to the mock."""
        self = _mock_self
        if self.call_args is None:
            expected = self._format_mock_call_signature(args, kwargs)
            raise AssertionError('Expected call: %s\nNot called' % (expected,))
    
        if self.call_args != (args, kwargs):
            msg = self._format_mock_failure_message(args, kwargs)
>           raise AssertionError(msg)
E           AssertionError: Expected call: 
startJobUpdate(JobUpdateRequest(jobKey=JobKey(environment='env', role='role', 
name='name'), instanceCount=5, 
settings=JobUpdateSettings(updateOnlyTheseInstances=None, 
maxPerInstanceFailures=2, maxWaitToInstanceRunningMs=50, 
rollbackOnFailure=True, minWaitInInstanceRunningMs=50, updateGroupSize=1, 
maxFailedInstances=1), taskConfig=TaskConfig(isService=None, priority=None, 
taskLinks=None, executorConfig=None, metadata=None, requestedPorts=None, 
jobName=None, environment=None, ramMb=None, contactEmail=None, production=None, 
diskMb=None, owner=None, maxTaskFailures=None, numCpus=None, constraints=None)))
E           Actual call: 
startJobUpdate(JobUpdateRequest(jobKey=JobKey(environment='env', role='role', 
name='name'), instanceCount=5, 
settings=JobUpdateSettings(updateOnlyTheseInstances=None, 
maxPerInstanceFailures=2, maxWaitToInstanceRunningMs=50000, 
rollbackOnFailure=True, minWaitInInstanceRunningMs=50000, updateGroupSize=1, 
maxFailedInstances=1), taskConfig=TaskConfig(isService=None, priority=None, 
taskLinks=None, executorConfig=None, metadata=None, requestedPorts=None, 
jobName=None, environment=None, ramMb=None, contactEmail=None, production=None, 
diskMb=None, owner=None, maxTaskFailures=None, numCpus=None, constraints=None)))

/tmp/tmpQy7NvS/.deps/mock-1.0.1-py2-none-any.whl/mock.py:835: AssertionError
!!!!!!!!!!!!!!!!!!!! Interrupted: stopping after 1 failures !!!!!!!!!!!!!!!!!!!!
====================== 1 failed, 9 passed in 0.61 seconds ======================
Build operating on top level addresses: 
set([BuildFileAddress(<https://builds.apache.org/job/Aurora/ws/src/test/python/BUILD,>
 all)])
src.test.python.apache.aurora.client.api.api                                    
.....   FAILURE
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.mux                                    
.....   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.binding_helper                             
.....   SUCCESS
src.test.python.apache.aurora.client.cli.config                                 
.....   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.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.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_cluster                               
.....   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.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.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.thermos.bin.test_thermos                                 
.....   SUCCESS
src.test.python.apache.thermos.common.test_pathspec                             
.....   SUCCESS
src.test.python.apache.thermos.common.test_task_planner                         
.....   SUCCESS
src.test.python.apache.thermos.core.test_failing_runner                         
.....   SUCCESS
src.test.python.apache.thermos.core.test_runner_integration                     
.....   SUCCESS
src.test.python.apache.thermos.monitoring.test_disk                             
.....   SUCCESS
Build step 'Execute shell' marked build as failure
Recording test results

Reply via email to