aurora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Jenkins Server <jenk...@builds.apache.org>
Subject Build failed in Jenkins: Aurora #532
Date Thu, 04 Sep 2014 16:46:33 GMT
See <https://builds.apache.org/job/Aurora/532/changes>

Changes:

[mchucarroll] Fix output formatting error in "job status".

------------------------------------------
[...truncated 1098 lines...]
PASSED
src/test/python/apache/aurora/client/cli/test_diff.py::TestDiffCommand::test_diff_invalid_config
Error executing command: Error loading configuration: invalid syntax (tmpXYnu8v, line 9)
PASSED
src/test/python/apache/aurora/client/cli/test_diff.py::TestDiffCommand::test_diff_server_error
Error executing command: Could not find job to diff against
PASSED
src/test/python/apache/aurora/client/cli/test_diff.py::TestDiffCommand::test_successful_diff
PASSED
src/test/python/apache/aurora/client/cli/test_kill.py::TestInstancesParser::test_parse_instances
PASSED
src/test/python/apache/aurora/client/cli/test_kill.py::TestInstancesParser::test_parse_none
PASSED
src/test/python/apache/aurora/client/cli/test_kill.py::TestClientKillCommand::test_kill_job_with_empty_instances_batched
PASSED
src/test/python/apache/aurora/client/cli/test_kill.py::TestClientKillCommand::test_kill_job_with_instances_batched
PASSED
src/test/python/apache/aurora/client/cli/test_kill.py::TestClientKillCommand::test_kill_job_with_instances_batched_large
PASSED
src/test/python/apache/aurora/client/cli/test_kill.py::TestClientKillCommand::test_kill_job_with_instances_batched_maxerrors
Error executing command: Exceeded maximum number of errors while killing instances
PASSED
src/test/python/apache/aurora/client/cli/test_kill.py::TestClientKillCommand::test_kill_job_with_instances_batched_maxerrors_output
Error executing command: Exceeded maximum number of errors while killing instances
['Kill of shards [0, 2, 4, 5, 6] failed with error; see log for details', 'Kill of shards
[7, 8, 9, 10, 11] failed with error; see log for details', 'Exceeded maximum number of errors
while killing instances']
PASSED
src/test/python/apache/aurora/client/cli/test_kill.py::TestClientKillCommand::test_kill_job_with_instances_batched_output
PASSED
src/test/python/apache/aurora/client/cli/test_kill.py::TestClientKillCommand::test_kill_job_with_instances_deep_api
Tasks were not killed in time.
Kill of shards [0, 2, 4, 5, 6] failed with error; see log for details
Exceeded maximum number of errors while killing instances
Error executing command: Exceeded maximum number of errors while killing instances
PASSED
src/test/python/apache/aurora/client/cli/test_kill.py::TestClientKillCommand::test_kill_job_with_instances_nobatching
PASSED
src/test/python/apache/aurora/client/cli/test_kill.py::TestClientKillCommand::test_kill_job_with_invalid_instances_nonstrict
PASSED
src/test/python/apache/aurora/client/cli/test_kill.py::TestClientKillCommand::test_kill_job_with_invalid_instances_strict
Error executing command: Invalid shards parameter: west/bozo/test/hello only has 5 shards
PASSED
src/test/python/apache/aurora/client/cli/test_kill.py::TestClientKillCommand::test_killall_job
PASSED
src/test/python/apache/aurora/client/cli/test_kill.py::TestClientKillCommand::test_killall_job_output
PASSED
src/test/python/apache/aurora/client/cli/test_kill.py::TestClientKillCommand::test_killall_job_something_else
PASSED
src/test/python/apache/aurora/client/cli/test_kill.py::TestClientKillCommand::test_killall_job_wait_until_timeout
PASSED
src/test/python/apache/aurora/client/cli/test_open.py::TestClientOpenCommand::test_open_cluster
PASSED
src/test/python/apache/aurora/client/cli/test_open.py::TestClientOpenCommand::test_open_env
PASSED
src/test/python/apache/aurora/client/cli/test_open.py::TestClientOpenCommand::test_open_job
PASSED
src/test/python/apache/aurora/client/cli/test_open.py::TestClientOpenCommand::test_open_noparam
usage: tmpY14l6L job open [-h] [--verbose-logging]
                          [--logging-level LOGGING_LEVEL] [--reveal-errors]
                          [--skip-hooks hook,hook,...]
                          cluster[/role[/env[/job]]]
tmpY14l6L job open: error: too few arguments
PASSED
src/test/python/apache/aurora/client/cli/test_open.py::TestClientOpenCommand::test_open_role
PASSED
src/test/python/apache/aurora/client/cli/test_restart.py::TestRestartCommand::test_restart_failed_restart
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
Error restarting job west/bozo/test/hello; see log for details
Error executing command: Damn
PASSED
src/test/python/apache/aurora/client/cli/test_restart.py::TestRestartCommand::test_restart_failed_restart_output
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
log(ERROR): Error restarting instances: Damn
Error executing command: Damn
PASSED
src/test/python/apache/aurora/client/cli/test_restart.py::TestRestartCommand::test_restart_failed_status
Error restarting job west/bozo/test/hello; see log for details
Error executing command: Damn
PASSED
src/test/python/apache/aurora/client/cli/test_restart.py::TestRestartCommand::test_restart_invalid_shards
max_total_failures option must be >0, but you specified -1
PASSED
src/test/python/apache/aurora/client/cli/test_restart.py::TestRestartCommand::test_restart_no_such_job_with_instances
Error restarting job west/bozo/test/hello; see log for details
Error executing command: Damn
PASSED
src/test/python/apache/aurora/client/cli/test_restart.py::TestRestartCommand::test_restart_simple
Job west/bozo/test/hello restarted successfully
PASSED
src/test/python/apache/aurora/client/cli/test_restart.py::TestRestartCommand::test_restart_simple_no_config
Job west/bozo/test/hello restarted successfully
PASSED
src/test/python/apache/aurora/client/cli/test_restart.py::TestRestartCommand::test_restart_simple_output
['Job west/bozo/test/hello restarted successfully']
PASSED
src/test/python/apache/aurora/client/cli/test_status.py::TestJobStatus::test_status_wildcard
PASSED
src/test/python/apache/aurora/client/cli/test_status.py::TestJobStatus::test_status_wildcard_two
PASSED
src/test/python/apache/aurora/client/cli/test_status.py::TestJobStatus::test_successful_status_deep
Active tasks (3):
	Task:
	  cpus: 2, ram: 2 MB, disk: 2 MB
	  events:
	   1970-11-23 18:58:46 RUNNING: Hi there
	Task:
	  cpus: 2, ram: 2 MB, disk: 2 MB
	  events:
	   1970-11-23 18:58:46 RUNNING: Hi there
	Task:
	  cpus: 2, ram: 2 MB, disk: 2 MB
	  events:
	   1970-11-23 18:58:46 RUNNING: Hi there
Inactive tasks (0):

PASSED
src/test/python/apache/aurora/client/cli/test_status.py::TestJobStatus::test_successful_status_deep_null_metadata
Active tasks (3):
	Task:
	  cpus: 2, ram: 2 MB, disk: 2 MB
	  events:
	   1970-11-23 18:58:46 RUNNING: Hi there
	Task:
	  cpus: 2, ram: 2 MB, disk: 2 MB
	  events:
	   1970-11-23 18:58:46 RUNNING: Hi there
	Task:
	  cpus: 2, ram: 2 MB, disk: 2 MB
	  events:
	   1970-11-23 18:58:46 RUNNING: Hi there
Inactive tasks (0):

PASSED
src/test/python/apache/aurora/client/cli/test_status.py::TestJobStatus::test_successful_status_output_no_metadata
FAILED

=================================== FAILURES ===================================
___________ TestJobStatus.test_successful_status_output_no_metadata ____________

self = <test_status.TestJobStatus testMethod=test_successful_status_output_no_metadata>

    def test_successful_status_output_no_metadata(self):
      """Test the status command more deeply: in a request with a fully specified
        job, it should end up doing a query using getTasksWithoutConfigs."""
      mock_context = FakeAuroraCommandContext()
      mock_context.add_expected_status_query_result(self.create_status_null_metadata())
      with contextlib.nested(
          patch('apache.aurora.client.cli.jobs.Job.create_context', return_value=mock_context),
          patch('apache.aurora.client.factory.CLUSTERS', new=self.TEST_CLUSTERS)):
        cmd = AuroraCommandLine()
        cmd.execute(['job', 'status', 'west/bozo/test/hello'])
        expected = textwrap.dedent("""\
              Active tasks (3):
              \tTask:
              \t  cpus: 2, ram: 2 MB, disk: 2 MB
              \t  events:
              \t   1970-11-23 13:58:46 RUNNING: Hi there
              \tTask:
              \t  cpus: 2, ram: 2 MB, disk: 2 MB
              \t  events:
              \t   1970-11-23 13:58:46 RUNNING: Hi there
              \tTask:
              \t  cpus: 2, ram: 2 MB, disk: 2 MB
              \t  events:
              \t   1970-11-23 13:58:46 RUNNING: Hi there
              Inactive tasks (0):
              """)
    
>       assert '\n'.join(mock_context.get_out()) == expected
E       AssertionError: assert 'Active tasks... tasks (0):\n' == 'Active tasks ... tasks (0):\n'
E           Active tasks (3):
E           \tTask:
E           \t  cpus: 2, ram: 2 MB, disk: 2 MB
E           \t  events:
E         - \t   1970-11-23 18:58:46 RUNNING: Hi there
E         ?                  ^
E         + \t   1970-11-23 13:58:46 RUNNING: Hi there
E         ?                  ^
E           \tTask:
E           \t  cpus: 2, ram: 2 MB, disk: 2 MB
E           \t  events:
E         - \t   1970-11-23 18:58:46 RUNNING: Hi there
E         ?                  ^
E         + \t   1970-11-23 13:58:46 RUNNING: Hi there
E         ?                  ^
E           \tTask:
E           \t  cpus: 2, ram: 2 MB, disk: 2 MB
E           \t  events:
E         - \t   1970-11-23 18:58:46 RUNNING: Hi there
E         ?                  ^
E         + \t   1970-11-23 13:58:46 RUNNING: Hi there
E         ?                  ^
E           Inactive tasks (0):

src/test/python/apache/aurora/client/cli/test_status.py:191: AssertionError
!!!!!!!!!!!!!!!!!!!! Interrupted: stopping after 1 failures !!!!!!!!!!!!!!!!!!!!
===================== 1 failed, 47 passed in 2.35 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.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.cli.config                                 .....   SUCCESS
src.test.python.apache.aurora.client.cli.job                                    .....   FAILURE
src.test.python.apache.aurora.client.cli.sla                                    .....   SUCCESS
src.test.python.apache.aurora.client.cli.task                                   .....   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_http_signaler                         .....   SUCCESS
src.test.python.apache.aurora.executor.common.announcer                         .....   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.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

Mime
View raw message