Looking. Tests were passing before rebasing.
On Wed, Jan 7, 2015 at 1:20 PM, Apache Jenkins Server <jenk...@builds.apache.org> wrote: > See <https://builds.apache.org/job/Aurora/808/changes> > > Changes: > > [maxim] Implementing dual read the PopulatedJobConfig struct > > [wfarner] Change index to point to API thrift documentation. > > ------------------------------------------ > [...truncated 11910 lines...] > INFO] Killing instance: 1 > INFO] Killing instance: 1 > INFO] Killing instance: 1 > INFO] Killing instance: 1 > INFO] Killing instance: 1 > INFO] Killed: 1 > INFO] Killed: 1 > INFO] Killed: 1 > INFO] Killed: 1 > INFO] Killed: 1 > INFO] Killed: 1 > INFO] Killed: 1 > INFO] Killed: 1 > INFO] Adding instance: 1 > INFO] Adding instance: 1 > INFO] Adding instance: 1 > INFO] Adding instance: 1 > INFO] Adding instance: 1 > INFO] Adding instance: 1 > INFO] Adding instance: 1 > INFO] Adding instance: 1 > INFO] Added: 1 > INFO] Added: 1 > INFO] Added: 1 > INFO] Added: 1 > INFO] Added: 1 > INFO] Added: 1 > INFO] Added: 1 > INFO] Added: 1 > INFO] Watching instances: [1] > INFO] Watching instances: [1] > INFO] Watching instances: [1] > INFO] Watching instances: [1] > INFO] Watching instances: [1] > INFO] Watching instances: [1] > INFO] Watching instances: [1] > INFO] Watching instances: [1] > INFO] Instance 1 has been up and healthy for at least 45 seconds > INFO] Instance 1 has been up and healthy for at least 45 seconds > INFO] Instance 1 has been up and healthy for at least 45 seconds > INFO] Instance 1 has been up and healthy for at least 45 seconds > INFO] Instance 1 has been up and healthy for at least 45 seconds > INFO] Instance 1 has been up and healthy for at least 45 seconds > INFO] Instance 1 has been up and healthy for at least 45 seconds > INFO] Instance 1 has been up and healthy for at least 45 seconds > INFO] Update successful > INFO] Update successful > INFO] Update successful > INFO] Update successful > INFO] Update successful > INFO] Update successful > INFO] Update successful > INFO] Update successful > INFO] OK > INFO] OK > INFO] OK > INFO] OK > INFO] OK > INFO] OK > INFO] OK > INFO] OK > Update completed successfully > PASSED > > generated xml file: > <https://builds.apache.org/job/Aurora/ws/dist/test-results/src.test.python.apache.aurora.client.cli.update.xml> > ========================== 10 passed in 5.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 ... 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 > test_role/test_job/0 RUNNING > 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='139672508042896'> > 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/user/2395/tmptpWa8E: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 > > generated xml file: > <https://builds.apache.org/job/Aurora/ws/dist/test-results/src.test.python.apache.aurora.client.commands.admin.xml> > ========================== 21 passed in 0.94 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 ... collected 35 items > > src/test/python/apache/aurora/client/commands/test_cancel_update.py::TestClientCancelUpdateCommand::test_cancel_update_api_level > > /tmp/user/2395/tmpWcaWki/.deps/pex-0.8.2-py2.py3-none-any.whl/pex/pex_info.py:92: > UserWarning: Attempting to use deprecated PEX feature. Please upgrade past > PEX 0.8.x. > warnings.warn('Attempting to use deprecated PEX feature. Please upgrade > past PEX 0.8.x.') > WARNING: cancel_update is an aurora clientv1 command which will be deprecated > soon > To run this command using clientv2, use 'aurora job cancel_update > west/mchucarroll/test/hello' > WARNING: cancel_update is an aurora clientv1 command which will be deprecated > soon > To run this command using clientv2, use 'aurora job cancel-update > west/mchucarroll/test/hello' > PASSED > src/test/python/apache/aurora/client/commands/test_cancel_update.py::TestClientCancelUpdateCommand::test_simple_successful_cancel_update > WARNING: cancel_update is an aurora clientv1 command which will be > deprecated soon > To run this command using clientv2, use 'aurora job cancel_update > west/mchucarroll/test/hello' > WARNING: cancel_update is an aurora clientv1 command which will be deprecated > soon > To run this command using clientv2, use 'aurora job cancel-update > west/mchucarroll/test/hello' > PASSED > src/test/python/apache/aurora/client/commands/test_create.py::TestClientCreateCommand::test_create_job_failed > WARNING: create is an aurora clientv1 command which will be deprecated soon > To run this command using clientv2, use 'aurora job create > west/mchucarroll/test/hello /tmp/user/2395/tmpkhnZFf --wait-until=RUNNING' > PASSED > src/test/python/apache/aurora/client/commands/test_create.py::TestClientCreateCommand::test_create_job_failed_invalid_config > WARNING: create is an aurora clientv1 command which will be deprecated soon > To run this command using clientv2, use 'aurora job create > west/mchucarroll/test/hello /tmp/user/2395/tmpIG3ApZ --wait-until=RUNNING' > PASSED > src/test/python/apache/aurora/client/commands/test_create.py::TestClientCreateCommand::test_create_job_failed_invalid_config_two > WARNING: create is an aurora clientv1 command which will be deprecated soon > To run this command using clientv2, use 'aurora job create > west/mchucarroll/test/hello /tmp/user/2395/tmpuulGYt --wait-until=RUNNING' > PASSED > src/test/python/apache/aurora/client/commands/test_create.py::TestClientCreateCommand::test_create_job_wait_until_finished > WARNING: create is an aurora clientv1 command which will be deprecated soon > To run this command using clientv2, use 'aurora job create > west/mchucarroll/test/hello /tmp/user/2395/tmpHPWmCj --wait-until=FINISHED' > PASSED > src/test/python/apache/aurora/client/commands/test_create.py::TestClientCreateCommand::test_delayed_job > WARNING: create is an aurora clientv1 command which will be deprecated soon > To run this command using clientv2, use 'aurora job create > west/mchucarroll/test/hello /tmp/user/2395/tmppQ9hVA --wait-until=RUNNING' > PASSED > src/test/python/apache/aurora/client/commands/test_create.py::TestClientCreateCommand::test_simple_successful_create_job > WARNING: create is an aurora clientv1 command which will be deprecated soon > To run this command using clientv2, use 'aurora job create > west/mchucarroll/test/hello /tmp/user/2395/tmpZAjLDM --wait-until=RUNNING' > PASSED > src/test/python/apache/aurora/client/commands/test_diff.py::TestDiffCommand::test_diff_invalid_config > WARNING: diff is an aurora clientv1 command which will be deprecated soon > To run this command using clientv2, use 'aurora job diff > west/mchucarroll/test/hello /tmp/user/2395/tmpG0VSF5' > PASSED > src/test/python/apache/aurora/client/commands/test_diff.py::TestDiffCommand::test_diff_server_error > CRITICAL:root:Request failed, server responded with "No tasks found for > query" > WARNING: diff is an aurora clientv1 command which will be deprecated soon > To run this command using clientv2, use 'aurora job diff > west/mchucarroll/test/hello /tmp/user/2395/tmpKONR6P' > PASSED > src/test/python/apache/aurora/client/commands/test_diff.py::TestDiffCommand::test_successful_diff > WARNING: diff is an aurora clientv1 command which will be deprecated soon > To run this command using clientv2, use 'aurora job diff > west/mchucarroll/test/hello /tmp/user/2395/tmpN52RfK' > FAILED > > =================================== FAILURES > =================================== > _____________________ TestDiffCommand.test_successful_diff > _____________________ > > self = <client.commands.test_diff.TestDiffCommand > testMethod=test_successful_diff> > > def test_successful_diff(self): > """Test the diff command.""" > mock_options = self.setup_mock_options() > (mock_api, mock_scheduler_proxy) = self.create_mock_api() > mock_scheduler_proxy.getTasksStatus.return_value = > self.create_status_response() > self.setup_populate_job_config(mock_scheduler_proxy) > with contextlib.nested( > patch('apache.aurora.client.api.SchedulerProxy', > return_value=mock_scheduler_proxy), > patch('apache.aurora.client.factory.CLUSTERS', > new=self.TEST_CLUSTERS), > patch('twitter.common.app.get_options', return_value=mock_options), > patch('subprocess.call', return_value=0), > patch('json.loads', return_value=Mock())) as ( > mock_scheduler_proxy_class, > mock_clusters, > options, > subprocess_patch, > json_patch): > > with temporary_file() as fp: > fp.write(self.get_valid_config()) > fp.flush() >> diff(['west/mchucarroll/test/hello', fp.name]) > > src/test/python/apache/aurora/client/commands/test_diff.py:133: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > /tmp/user/2395/tmpWcaWki/apache/aurora/client/base.py:100: in wrapped_function > return fn(*args) > /tmp/user/2395/tmpWcaWki/apache/aurora/client/commands/core.py:290: in diff > local_tasks = [deepcopy(get_populated_task_config(resp)) for _ in > range(config.instances())] > /usr/lib/python2.7/copy.py:190: in deepcopy > y = _reconstruct(x, rv, 1, memo) > /usr/lib/python2.7/copy.py:334: in _reconstruct > state = deepcopy(state, memo) > /usr/lib/python2.7/copy.py:163: in deepcopy > y = copier(x, memo) > /usr/lib/python2.7/copy.py:257: in _deepcopy_dict > y[deepcopy(key, memo)] = deepcopy(value, memo) > /usr/lib/python2.7/copy.py:163: in deepcopy > y = copier(x, memo) > /usr/lib/python2.7/copy.py:257: in _deepcopy_dict > y[deepcopy(key, memo)] = deepcopy(value, memo) > /usr/lib/python2.7/copy.py:190: in deepcopy > y = _reconstruct(x, rv, 1, memo) > /usr/lib/python2.7/copy.py:329: in _reconstruct > y = callable(*args) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > cls = <type 'instancemethod'>, args = () > > def __newobj__(cls, *args): >> return cls.__new__(cls, *args) > E TypeError: instancemethod expected at least 2 arguments, got 0 > > build-support/pants.venv/lib/python2.7/copy_reg.py:93: TypeError > generated xml file: > <https://builds.apache.org/job/Aurora/ws/dist/test-results/src.test.python.apache.aurora.client.commands.core.xml> > !!!!!!!!!!!!!!!!!!!! Interrupted: stopping after 1 failures > !!!!!!!!!!!!!!!!!!!! > ===================== 1 failed, 10 passed in 1.53 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.admin.admin_util > ..... SUCCESS > src.test.python.apache.aurora.admin.host_maintenance > ..... SUCCESS > src.test.python.apache.aurora.client.api.api > ..... 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.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.bridge > ..... 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.cron > ..... SUCCESS > src.test.python.apache.aurora.client.cli.help > ..... 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.commands.admin > ..... SUCCESS > src.test.python.apache.aurora.client.commands.core > ..... FAILURE > src.test.python.apache.aurora.client.config > ..... SUCCESS > Build step 'Execute shell' marked build as failure > Recording test results