My break, completely neglected to run python tests. Fixing. -=Bill
On Wed, Sep 24, 2014 at 10:16 PM, Apache Jenkins Server < jenk...@builds.apache.org> wrote: > See <https://builds.apache.org/job/Aurora/590/changes> > > Changes: > > [wfarner] When creating an update, store only the delta between the > initial and desired states. > > ------------------------------------------ > [...truncated 1323 lines...] > WARNING:root:* Job ambiguously specified - querying the scheduler to > disambiguate > > WARNING:root:******************************************************************************** > WARNING:root: > CRITICAL:root:Multiple jobs match > (smf1/mesos/devel/labrat,smf1/mesos/prod/labrat) - disambiguate by using > the CLUSTER/ROLE/ENV/NAME form > WARNING:root:Failed to parse job path, falling back to compatibility mode > 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 > src/test/python/apache/aurora/client/api/test_disambiguator.py <- > ../../../../../tmp/tmpEQMZF2/.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/tmpEQMZF2/.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/tmpEQMZF2/.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/tmpEQMZF2/.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.50 seconds > =========================== > ============================= test session starts > ============================== > platform linux2 -- Python 2.7.6 -- py-1.4.25 -- pytest-2.6.3 -- > /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.25 -- pytest-2.6.3 -- > /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.64 seconds > =========================== > ============================= test session starts > ============================== > platform linux2 -- Python 2.7.6 -- py-1.4.25 -- pytest-2.6.3 -- > /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.25 -- pytest-2.6.3 -- > /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.51 seconds > =========================== > ============================= test session starts > ============================== > platform linux2 -- Python 2.7.6 -- py-1.4.25 -- pytest-2.6.3 -- > /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.25 -- pytest-2.6.3 -- > /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='139764863618064'> > 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/tmpozVxHv: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.66 seconds > =========================== > ============================= test session starts > ============================== > platform linux2 -- Python 2.7.6 -- py-1.4.25 -- pytest-2.6.3 -- > /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: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ _ _ > > cls = <class 'test_api.TestJobUpdateApis'> > task_config = TaskConfig(isService=None, priority=None, taskLinks=None, > executorConfig=None,... diskMb=None, owner=None, maxTaskFailures=None, > numCpus=None, constraints=None) > > @classmethod > def create_update_request(cls, task_config): > return JobUpdateRequest( > jobKey=cls.JOB_KEY.to_thrift(), > instanceCount=5, > settings=cls.create_update_settings(), > > taskConfig=task_config) > E TypeError: __init__() got an unexpected keyword argument 'jobKey' > > src/test/python/apache/aurora/client/api/test_api.py:90: TypeError > !!!!!!!!!!!!!!!!!!!! Interrupted: stopping after 1 failures > !!!!!!!!!!!!!!!!!!!! > ====================== 1 failed, 9 passed in 0.57 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 >