You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aurora.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2014/09/04 18:46:33 UTC

Build failed in Jenkins: Aurora #532

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

Jenkins build is back to normal : Aurora #536

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Aurora/536/changes>


Re: Build failed in Jenkins: Aurora #535

Posted by Bill Farner <wf...@apache.org>.
This is https://issues.apache.org/jira/browse/AURORA-682

-=Bill


On Thu, Sep 4, 2014 at 1:20 PM, Mark Chu-Carroll <mc...@apache.org>
wrote:

> Heads up: This is no longer the issue with my test.
>
>
>
> On Thu, Sep 4, 2014 at 4:19 PM, Apache Jenkins Server <
> jenkins@builds.apache.org> wrote:
>
>> See <https://builds.apache.org/job/Aurora/535/changes>
>>
>> Changes:
>>
>> [mchucarroll] Fix build failure caused by timezone issue in tests.
>>
>> ------------------------------------------
>> [...truncated 6905 lines...]
>> src/test/python/apache/aurora/config/test_base.py::test_binding PASSED
>> src/test/python/apache/aurora/config/test_base.py::test_cycle PASSED
>> src/test/python/apache/aurora/config/test_base.py::test_empty_config
>> PASSED
>> src/test/python/apache/aurora/config/test_base.py::test_simple_config
>> PASSED
>> src/test/python/apache/aurora/config/test_base.py::test_ports PASSED
>> src/test/python/apache/aurora/config/test_base.py::test_static_port_aliasing
>> PASSED
>>
>> =========================== 7 passed in 1.26 seconds
>> ===========================
>> ============================= test session starts
>> ==============================
>> platform linux2 -- Python 2.7.6 -- py-1.4.23 -- pytest-2.6.1 --
>> /usr/bin/python2.7
>> plugins: cov, timeout
>> collecting ... collected 2 items
>>
>> src/test/python/apache/thermos/core/test_helper.py::test_this_is_really_our_pid
>> PASSED
>> src/test/python/apache/thermos/core/test_helper.py::test_scan_process
>> WARNING:root:  Error gathering information on pid 12345:
>> WARNING:root:  Error gathering information on pid 13337:
>> PASSED
>>
>> =========================== 2 passed in 0.14 seconds
>> ===========================
>> ============================= test session starts
>> ==============================
>> platform linux2 -- Python 2.7.6 -- py-1.4.23 -- pytest-2.6.1 --
>> /usr/bin/python2.7
>> plugins: cov, timeout
>> collecting ... collected 1 items
>>
>> src/test/python/apache/aurora/common/test_shellify.py::test_shellify
>> PASSED
>>
>> =========================== 1 passed in 0.01 seconds
>> ===========================
>> ============================= test session starts
>> ==============================
>> platform linux2 -- Python 2.7.6 -- py-1.4.23 -- pytest-2.6.1 --
>> /usr/bin/python2.7
>> plugins: cov, timeout
>> collecting ... collected 9 items
>>
>> src/test/python/apache/aurora/admin/test_host_maintenance.py <- <
>> https://builds.apache.org/job/Aurora/ws/src/test/python/apache/aurora/admin/test_host_maintenance.py>::TestHostMaintenance::test_check_status
>> PASSED
>> src/test/python/apache/aurora/admin/test_host_maintenance.py <- <
>> https://builds.apache.org/job/Aurora/ws/src/test/python/apache/aurora/admin/test_host_maintenance.py>::TestHostMaintenance::test_complete_maintenance
>> PASSED
>> src/test/python/apache/aurora/admin/test_host_maintenance.py <- <
>> https://builds.apache.org/job/Aurora/ws/src/test/python/apache/aurora/admin/test_host_maintenance.py>::TestHostMaintenance::test_drain_hosts
>> WARNING:root:us-west-002.example.com is currently in status SCHEDULED
>> WARNING:root:us-west-001.example.com is currently in status SCHEDULED
>> WARNING:root:us-west-003.example.com is currently in status SCHEDULED
>> WARNING:root:us-west-002.example.com is currently in status DRAINING
>> WARNING:root:us-west-001.example.com is currently in status DRAINING
>> WARNING:root:us-west-003.example.com is currently in status DRAINING
>> WARNING:root:us-west-001.example.com is currently in status DRAINING
>> PASSED
>> src/test/python/apache/aurora/admin/test_host_maintenance.py <- <
>> https://builds.apache.org/job/Aurora/ws/src/test/python/apache/aurora/admin/test_host_maintenance.py>::TestHostMaintenance::test_end_maintenance
>> PASSED
>> src/test/python/apache/aurora/admin/test_host_maintenance.py <- <
>> https://builds.apache.org/job/Aurora/ws/src/test/python/apache/aurora/admin/test_host_maintenance.py>::TestHostMaintenance::test_perform_maintenance
>> PASSED
>> src/test/python/apache/aurora/admin/test_host_maintenance.py <- <
>> https://builds.apache.org/job/Aurora/ws/src/test/python/apache/aurora/admin/test_host_maintenance.py>::TestHostMaintenance::test_perform_maintenance_partial_sla_failure
>> WARNING:root:Some hosts did not pass SLA check and will not be drained!
>> Skipping hosts: set(['us-west-001.example.com'])
>> us-west-001.example.com
>> PASSED
>> src/test/python/apache/aurora/admin/test_host_maintenance.py <- <
>> https://builds.apache.org/job/Aurora/ws/src/test/python/apache/aurora/admin/test_host_maintenance.py>::TestHostMaintenance::test_start_maintenance
>> WARNING:root:Skipping maintenance for unknown hosts: set(['
>> us-west-001.example.com', 'us-west-003.example.com', '
>> us-west-002.example.com'])
>> PASSED
>> src/test/python/apache/aurora/admin/test_host_maintenance.py <- <
>> https://builds.apache.org/job/Aurora/ws/src/test/python/apache/aurora/admin/test_host_maintenance.py>::test_default_grouping
>> PASSED
>> src/test/python/apache/aurora/admin/test_host_maintenance.py <- <
>> https://builds.apache.org/job/Aurora/ws/src/test/python/apache/aurora/admin/test_host_maintenance.py>::test_rack_grouping
>> PASSED
>>
>> =========================== 9 passed in 0.56 seconds
>> ===========================
>> ============================= test session starts
>> ==============================
>> platform linux2 -- Python 2.7.6 -- py-1.4.23 -- pytest-2.6.1 --
>> /usr/bin/python2.7
>> plugins: cov, timeout
>> collecting ... collected 2 items
>>
>> src/test/python/apache/aurora/executor/common/test_executor_timeout.py::TestExecutorTimeout::test_run
>> PASSED
>> src/test/python/apache/aurora/executor/common/test_executor_timeout.py::TestExecutorTimeout::test_run_timeout
>> ERROR:root:Executor timing out.
>> PASSED
>>
>> =========================== 2 passed in 0.07 seconds
>> ===========================
>> ============================= test session starts
>> ==============================
>> platform linux2 -- Python 2.7.6 -- py-1.4.23 -- pytest-2.6.1 --
>> /usr/bin/python2.7
>> plugins: cov, timeout
>> collecting ... collected 5 items
>>
>> src/test/python/apache/aurora/executor/test_thermos_task_runner.py::TestThermosTaskRunnerIntegration::test_integration_success
>> Writing log files to disk in /tmp/tmpRT2K1K
>> Build operating on top level addresses: set([BuildFileAddress(<
>> https://builds.apache.org/job/Aurora/ws/src/main/python/apache/aurora/executor/bin/BUILD,>
>> thermos_runner)])
>> Building PythonBinary PythonBinary(BuildFileAddress(<
>> https://builds.apache.org/job/Aurora/ws/src/main/python/apache/aurora/executor/bin/BUILD,>
>> thermos_runner)):
>> Wrote <https://builds.apache.org/job/Aurora/ws/dist/thermos_runner.pex>
>> Writing log files to disk in /tmp/tmpRT2K1K
>> PASSED
>> src/test/python/apache/aurora/executor/test_thermos_task_runner.py::TestThermosTaskRunnerIntegration::test_integration_failed
>> Writing log files to disk in /tmp/tmpRT2K1K
>> PASSED
>> src/test/python/apache/aurora/executor/test_thermos_task_runner.py::TestThermosTaskRunnerIntegration::test_integration_stop
>> Writing log files to disk in /tmp/tmpRT2K1K
>> PASSED
>> src/test/python/apache/aurora/executor/test_thermos_task_runner.py::TestThermosTaskRunnerIntegration::test_integration_lose
>> Writing log files to disk in /tmp/tmpRT2K1K
>> PASSED
>> src/test/python/apache/aurora/executor/test_thermos_task_runner.py::TestThermosTaskRunnerIntegration::test_integration_quitquitquit
>> Writing log files to disk in /tmp/tmpRT2K1K
>> ERROR] is_alive got OSError: [Errno 10] No child processes
>> PASSED
>>
>> ========================== 5 passed in 14.92 seconds
>> ===========================
>> ============================= test session starts
>> ==============================
>> platform linux2 -- Python 2.7.6 -- py-1.4.23 -- pytest-2.6.1 --
>> /usr/bin/python2.7
>> plugins: cov, timeout
>> collecting ... collected 15 items
>>
>> src/test/python/apache/aurora/executor/test_thermos_executor.py::TestThermosExecutor::test_basic
>> Writing log files to disk in /tmp/tmpWS64G6
>> Build operating on top level addresses: set([BuildFileAddress(<
>> https://builds.apache.org/job/Aurora/ws/src/main/python/apache/aurora/executor/bin/BUILD,>
>> thermos_runner)])
>> Building PythonBinary PythonBinary(BuildFileAddress(<
>> https://builds.apache.org/job/Aurora/ws/src/main/python/apache/aurora/executor/bin/BUILD,>
>> thermos_runner)):
>> Wrote <https://builds.apache.org/job/Aurora/ws/dist/thermos_runner.pex>
>> Writing log files to disk in /tmp/tmpWS64G6
>> PASSED
>> src/test/python/apache/aurora/executor/test_thermos_executor.py::TestThermosExecutor::test_basic_as_job
>> Writing log files to disk in /tmp/tmpWS64G6
>> PASSED
>> src/test/python/apache/aurora/executor/test_thermos_executor.py::TestThermosExecutor::test_runner_disappears
>> Writing log files to disk in /tmp/tmpWS64G6
>> PASSED
>> src/test/python/apache/aurora/executor/test_thermos_executor.py::TestThermosExecutor::test_task_killed
>> Writing log files to disk in /tmp/tmpWS64G6
>> ERROR] Received unexpected exit state from TaskMonitor.
>> ERROR] Received unexpected exit state from TaskMonitor.
>> PASSED
>> src/test/python/apache/aurora/executor/test_thermos_executor.py::TestThermosExecutor::test_killTask
>> Writing log files to disk in /tmp/tmpWS64G6
>> PASSED
>> src/test/python/apache/aurora/executor/test_thermos_executor.py::TestThermosExecutor::test_shutdown
>> Writing log files to disk in /tmp/tmpWS64G6
>> PASSED
>> src/test/python/apache/aurora/executor/test_thermos_executor.py::TestThermosExecutor::test_task_lost
>> Writing log files to disk in /tmp/tmpWS64G6
>> PASSED
>> src/test/python/apache/aurora/executor/test_thermos_executor.py::TestThermosExecutor::test_task_health_failed
>> Writing log files to disk in /tmp/tmpWS64G6
>> FAILED
>>
>> =================================== FAILURES
>> ===================================
>> _________________ TestThermosExecutor.test_task_health_failed
>> __________________
>>
>> self = <test_thermos_executor.TestThermosExecutor object at
>> 0x7fe3bab59110>
>>
>>     def test_task_health_failed(self):
>>       proxy_driver = ProxyDriver()
>>       with SignalServer(UnhealthyHandler) as port:
>>         with temporary_dir() as checkpoint_root:
>>           health_check_config =
>> HealthCheckConfig(initial_interval_secs=0.1, interval_secs=0.1)
>>           _, executor = make_executor(
>>               proxy_driver,
>>               checkpoint_root,
>>               MESOS_JOB(task=SLEEP60,
>> health_check_config=health_check_config),
>>               ports={'health': port},
>>               fast_status=True,
>> >             status_providers=(HealthCheckerProvider(),))
>>
>> src/test/python/apache/aurora/executor/test_thermos_executor.py:405:
>> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>> _ _ _
>>
>> proxy_driver = <test_thermos_executor.ProxyDriver object at
>> 0x7fe3bab592d0>
>> checkpoint_root = '/tmp/tmpHNMy2h'
>> task =
>> MesosJob(health_check_config=HealthCheckConfig(initial_interval_secs=0.1,
>>     ...traints=ConstraintList()),
>>          name=does_not_matter,
>>          instances=1)
>> ports = {'health': 58869}, fast_status = True
>> runner_class = <class
>> 'apache.aurora.executor.thermos_task_runner.ThermosTaskRunner'>
>> status_providers =
>> (<apache.aurora.executor.common.health_checker.HealthCheckerProvider object
>> at 0x7fe3bb216890>,)
>>
>>     def make_executor(
>>         proxy_driver,
>>         checkpoint_root,
>>         task,
>>         ports={},
>>         fast_status=False,
>>         runner_class=ThermosTaskRunner,
>>         status_providers=()):
>>
>>       status_manager_class = FastStatusManager if fast_status else
>> StatusManager
>>       runner_provider = make_provider(checkpoint_root, runner_class)
>>       te = FastThermosExecutor(
>>           runner_provider=runner_provider,
>>           status_manager_class=status_manager_class,
>>           sandbox_provider=DefaultTestSandboxProvider,
>>           status_providers=status_providers,
>>       )
>>
>>       ExecutorTimeout(te.launched, proxy_driver, timeout=Amount(100,
>> Time.MILLISECONDS)).start()
>>       task_description = make_task(task, assigned_ports=ports,
>> instanceId=0)
>>       te.launchTask(proxy_driver, task_description)
>>
>>       te.status_manager_started.wait()
>>       sampled_metrics = te.metrics.sample()
>>       assert 'kill_manager.enabled' in sampled_metrics
>>       for checker in te._chained_checker._status_checkers:  # hacky
>> >       assert ('%s.enabled' % checker.name()) in sampled_metrics
>> E       TypeError: 'str' object is not callable
>>
>> src/test/python/apache/aurora/executor/test_thermos_executor.py:204:
>> TypeError
>> !!!!!!!!!!!!!!!!!!!! Interrupted: stopping after 1 failures
>> !!!!!!!!!!!!!!!!!!!!
>> ===================== 1 failed, 7 passed in 15.94 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.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.restarter
>>       .....   SUCCESS
>> src.test.python.apache.aurora.client.api.scheduler_client
>>        .....   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.api
>>       .....   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.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.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.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.common.test_transport
>>        .....   SUCCESS
>> src.test.python.apache.aurora.config.test_base
>>       .....   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.executor_timeout
>>       .....   SUCCESS
>> src.test.python.apache.aurora.executor.common.health_checker
>>       .....   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.aurora.executor.gc_executor
>>       .....   SUCCESS
>> src.test.python.apache.aurora.executor.status_manager
>>        .....   SUCCESS
>> src.test.python.apache.aurora.executor.thermos_executor
>>        .....   FAILURE
>> src.test.python.apache.aurora.executor.thermos_task_runner
>>       .....   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_angry
>>       .....   SUCCESS
>> src.test.python.apache.thermos.core.test_failing_runner
>>        .....   SUCCESS
>> src.test.python.apache.thermos.core.test_failure_limit
>>       .....   SUCCESS
>> src.test.python.apache.thermos.core.test_finalization
>>        .....   SUCCESS
>> src.test.python.apache.thermos.core.test_helper
>>        .....   SUCCESS
>> src.test.python.apache.thermos.core.test_runner_integration
>>        .....   SUCCESS
>> src.test.python.apache.thermos.monitoring.test_disk
>>        .....   SUCCESS
>> Process leaked file descriptors. See
>> http://wiki.jenkins-ci.org/display/JENKINS/Spawning+processes+from+build
>> for more information
>> Build step 'Execute shell' marked build as failure
>> Recording test results
>> ERROR] Caught exception in self.control(): [Errno 2] No such file or
>> directory: '/tmp/tmpHNMy2h/checkpoints/sleep60-001/runner'
>> ERROR]   Traceback (most recent call last):
>>   File "<
>> https://builds.apache.org/job/Aurora/ws/dist/thermos_runner.pex/apache/thermos/core/runner.py",>
>> line 556, in control
>>     yield
>>   File "<
>> https://builds.apache.org/job/Aurora/ws/dist/thermos_runner.pex/apache/thermos/core/runner.py",>
>> line 843, in run
>>     self._run()
>>   File "<
>> https://builds.apache.org/job/Aurora/ws/dist/thermos_runner.pex/apache/thermos/core/runner.py",>
>> line 867, in _run
>>     os.utime(self._pathspec.getpath('runner_checkpoint'), None)
>> OSError: [Errno 2] No such file or directory:
>> '/tmp/tmpHNMy2h/checkpoints/sleep60-001/runner'
>>
>>
>

Re: Build failed in Jenkins: Aurora #535

Posted by Mark Chu-Carroll <mc...@apache.org>.
Heads up: This is no longer the issue with my test.



On Thu, Sep 4, 2014 at 4:19 PM, Apache Jenkins Server <
jenkins@builds.apache.org> wrote:

> See <https://builds.apache.org/job/Aurora/535/changes>
>
> Changes:
>
> [mchucarroll] Fix build failure caused by timezone issue in tests.
>
> ------------------------------------------
> [...truncated 6905 lines...]
> src/test/python/apache/aurora/config/test_base.py::test_binding PASSED
> src/test/python/apache/aurora/config/test_base.py::test_cycle PASSED
> src/test/python/apache/aurora/config/test_base.py::test_empty_config PASSED
> src/test/python/apache/aurora/config/test_base.py::test_simple_config
> PASSED
> src/test/python/apache/aurora/config/test_base.py::test_ports PASSED
> src/test/python/apache/aurora/config/test_base.py::test_static_port_aliasing
> PASSED
>
> =========================== 7 passed in 1.26 seconds
> ===========================
> ============================= test session starts
> ==============================
> platform linux2 -- Python 2.7.6 -- py-1.4.23 -- pytest-2.6.1 --
> /usr/bin/python2.7
> plugins: cov, timeout
> collecting ... collected 2 items
>
> src/test/python/apache/thermos/core/test_helper.py::test_this_is_really_our_pid
> PASSED
> src/test/python/apache/thermos/core/test_helper.py::test_scan_process
> WARNING:root:  Error gathering information on pid 12345:
> WARNING:root:  Error gathering information on pid 13337:
> PASSED
>
> =========================== 2 passed in 0.14 seconds
> ===========================
> ============================= test session starts
> ==============================
> platform linux2 -- Python 2.7.6 -- py-1.4.23 -- pytest-2.6.1 --
> /usr/bin/python2.7
> plugins: cov, timeout
> collecting ... collected 1 items
>
> src/test/python/apache/aurora/common/test_shellify.py::test_shellify PASSED
>
> =========================== 1 passed in 0.01 seconds
> ===========================
> ============================= test session starts
> ==============================
> platform linux2 -- Python 2.7.6 -- py-1.4.23 -- pytest-2.6.1 --
> /usr/bin/python2.7
> plugins: cov, timeout
> collecting ... collected 9 items
>
> src/test/python/apache/aurora/admin/test_host_maintenance.py <- <
> https://builds.apache.org/job/Aurora/ws/src/test/python/apache/aurora/admin/test_host_maintenance.py>::TestHostMaintenance::test_check_status
> PASSED
> src/test/python/apache/aurora/admin/test_host_maintenance.py <- <
> https://builds.apache.org/job/Aurora/ws/src/test/python/apache/aurora/admin/test_host_maintenance.py>::TestHostMaintenance::test_complete_maintenance
> PASSED
> src/test/python/apache/aurora/admin/test_host_maintenance.py <- <
> https://builds.apache.org/job/Aurora/ws/src/test/python/apache/aurora/admin/test_host_maintenance.py>::TestHostMaintenance::test_drain_hosts
> WARNING:root:us-west-002.example.com is currently in status SCHEDULED
> WARNING:root:us-west-001.example.com is currently in status SCHEDULED
> WARNING:root:us-west-003.example.com is currently in status SCHEDULED
> WARNING:root:us-west-002.example.com is currently in status DRAINING
> WARNING:root:us-west-001.example.com is currently in status DRAINING
> WARNING:root:us-west-003.example.com is currently in status DRAINING
> WARNING:root:us-west-001.example.com is currently in status DRAINING
> PASSED
> src/test/python/apache/aurora/admin/test_host_maintenance.py <- <
> https://builds.apache.org/job/Aurora/ws/src/test/python/apache/aurora/admin/test_host_maintenance.py>::TestHostMaintenance::test_end_maintenance
> PASSED
> src/test/python/apache/aurora/admin/test_host_maintenance.py <- <
> https://builds.apache.org/job/Aurora/ws/src/test/python/apache/aurora/admin/test_host_maintenance.py>::TestHostMaintenance::test_perform_maintenance
> PASSED
> src/test/python/apache/aurora/admin/test_host_maintenance.py <- <
> https://builds.apache.org/job/Aurora/ws/src/test/python/apache/aurora/admin/test_host_maintenance.py>::TestHostMaintenance::test_perform_maintenance_partial_sla_failure
> WARNING:root:Some hosts did not pass SLA check and will not be drained!
> Skipping hosts: set(['us-west-001.example.com'])
> us-west-001.example.com
> PASSED
> src/test/python/apache/aurora/admin/test_host_maintenance.py <- <
> https://builds.apache.org/job/Aurora/ws/src/test/python/apache/aurora/admin/test_host_maintenance.py>::TestHostMaintenance::test_start_maintenance
> WARNING:root:Skipping maintenance for unknown hosts: set(['
> us-west-001.example.com', 'us-west-003.example.com', '
> us-west-002.example.com'])
> PASSED
> src/test/python/apache/aurora/admin/test_host_maintenance.py <- <
> https://builds.apache.org/job/Aurora/ws/src/test/python/apache/aurora/admin/test_host_maintenance.py>::test_default_grouping
> PASSED
> src/test/python/apache/aurora/admin/test_host_maintenance.py <- <
> https://builds.apache.org/job/Aurora/ws/src/test/python/apache/aurora/admin/test_host_maintenance.py>::test_rack_grouping
> PASSED
>
> =========================== 9 passed in 0.56 seconds
> ===========================
> ============================= test session starts
> ==============================
> platform linux2 -- Python 2.7.6 -- py-1.4.23 -- pytest-2.6.1 --
> /usr/bin/python2.7
> plugins: cov, timeout
> collecting ... collected 2 items
>
> src/test/python/apache/aurora/executor/common/test_executor_timeout.py::TestExecutorTimeout::test_run
> PASSED
> src/test/python/apache/aurora/executor/common/test_executor_timeout.py::TestExecutorTimeout::test_run_timeout
> ERROR:root:Executor timing out.
> PASSED
>
> =========================== 2 passed in 0.07 seconds
> ===========================
> ============================= test session starts
> ==============================
> platform linux2 -- Python 2.7.6 -- py-1.4.23 -- pytest-2.6.1 --
> /usr/bin/python2.7
> plugins: cov, timeout
> collecting ... collected 5 items
>
> src/test/python/apache/aurora/executor/test_thermos_task_runner.py::TestThermosTaskRunnerIntegration::test_integration_success
> Writing log files to disk in /tmp/tmpRT2K1K
> Build operating on top level addresses: set([BuildFileAddress(<
> https://builds.apache.org/job/Aurora/ws/src/main/python/apache/aurora/executor/bin/BUILD,>
> thermos_runner)])
> Building PythonBinary PythonBinary(BuildFileAddress(<
> https://builds.apache.org/job/Aurora/ws/src/main/python/apache/aurora/executor/bin/BUILD,>
> thermos_runner)):
> Wrote <https://builds.apache.org/job/Aurora/ws/dist/thermos_runner.pex>
> Writing log files to disk in /tmp/tmpRT2K1K
> PASSED
> src/test/python/apache/aurora/executor/test_thermos_task_runner.py::TestThermosTaskRunnerIntegration::test_integration_failed
> Writing log files to disk in /tmp/tmpRT2K1K
> PASSED
> src/test/python/apache/aurora/executor/test_thermos_task_runner.py::TestThermosTaskRunnerIntegration::test_integration_stop
> Writing log files to disk in /tmp/tmpRT2K1K
> PASSED
> src/test/python/apache/aurora/executor/test_thermos_task_runner.py::TestThermosTaskRunnerIntegration::test_integration_lose
> Writing log files to disk in /tmp/tmpRT2K1K
> PASSED
> src/test/python/apache/aurora/executor/test_thermos_task_runner.py::TestThermosTaskRunnerIntegration::test_integration_quitquitquit
> Writing log files to disk in /tmp/tmpRT2K1K
> ERROR] is_alive got OSError: [Errno 10] No child processes
> PASSED
>
> ========================== 5 passed in 14.92 seconds
> ===========================
> ============================= test session starts
> ==============================
> platform linux2 -- Python 2.7.6 -- py-1.4.23 -- pytest-2.6.1 --
> /usr/bin/python2.7
> plugins: cov, timeout
> collecting ... collected 15 items
>
> src/test/python/apache/aurora/executor/test_thermos_executor.py::TestThermosExecutor::test_basic
> Writing log files to disk in /tmp/tmpWS64G6
> Build operating on top level addresses: set([BuildFileAddress(<
> https://builds.apache.org/job/Aurora/ws/src/main/python/apache/aurora/executor/bin/BUILD,>
> thermos_runner)])
> Building PythonBinary PythonBinary(BuildFileAddress(<
> https://builds.apache.org/job/Aurora/ws/src/main/python/apache/aurora/executor/bin/BUILD,>
> thermos_runner)):
> Wrote <https://builds.apache.org/job/Aurora/ws/dist/thermos_runner.pex>
> Writing log files to disk in /tmp/tmpWS64G6
> PASSED
> src/test/python/apache/aurora/executor/test_thermos_executor.py::TestThermosExecutor::test_basic_as_job
> Writing log files to disk in /tmp/tmpWS64G6
> PASSED
> src/test/python/apache/aurora/executor/test_thermos_executor.py::TestThermosExecutor::test_runner_disappears
> Writing log files to disk in /tmp/tmpWS64G6
> PASSED
> src/test/python/apache/aurora/executor/test_thermos_executor.py::TestThermosExecutor::test_task_killed
> Writing log files to disk in /tmp/tmpWS64G6
> ERROR] Received unexpected exit state from TaskMonitor.
> ERROR] Received unexpected exit state from TaskMonitor.
> PASSED
> src/test/python/apache/aurora/executor/test_thermos_executor.py::TestThermosExecutor::test_killTask
> Writing log files to disk in /tmp/tmpWS64G6
> PASSED
> src/test/python/apache/aurora/executor/test_thermos_executor.py::TestThermosExecutor::test_shutdown
> Writing log files to disk in /tmp/tmpWS64G6
> PASSED
> src/test/python/apache/aurora/executor/test_thermos_executor.py::TestThermosExecutor::test_task_lost
> Writing log files to disk in /tmp/tmpWS64G6
> PASSED
> src/test/python/apache/aurora/executor/test_thermos_executor.py::TestThermosExecutor::test_task_health_failed
> Writing log files to disk in /tmp/tmpWS64G6
> FAILED
>
> =================================== FAILURES
> ===================================
> _________________ TestThermosExecutor.test_task_health_failed
> __________________
>
> self = <test_thermos_executor.TestThermosExecutor object at 0x7fe3bab59110>
>
>     def test_task_health_failed(self):
>       proxy_driver = ProxyDriver()
>       with SignalServer(UnhealthyHandler) as port:
>         with temporary_dir() as checkpoint_root:
>           health_check_config =
> HealthCheckConfig(initial_interval_secs=0.1, interval_secs=0.1)
>           _, executor = make_executor(
>               proxy_driver,
>               checkpoint_root,
>               MESOS_JOB(task=SLEEP60,
> health_check_config=health_check_config),
>               ports={'health': port},
>               fast_status=True,
> >             status_providers=(HealthCheckerProvider(),))
>
> src/test/python/apache/aurora/executor/test_thermos_executor.py:405:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _ _ _
>
> proxy_driver = <test_thermos_executor.ProxyDriver object at 0x7fe3bab592d0>
> checkpoint_root = '/tmp/tmpHNMy2h'
> task =
> MesosJob(health_check_config=HealthCheckConfig(initial_interval_secs=0.1,
>     ...traints=ConstraintList()),
>          name=does_not_matter,
>          instances=1)
> ports = {'health': 58869}, fast_status = True
> runner_class = <class
> 'apache.aurora.executor.thermos_task_runner.ThermosTaskRunner'>
> status_providers =
> (<apache.aurora.executor.common.health_checker.HealthCheckerProvider object
> at 0x7fe3bb216890>,)
>
>     def make_executor(
>         proxy_driver,
>         checkpoint_root,
>         task,
>         ports={},
>         fast_status=False,
>         runner_class=ThermosTaskRunner,
>         status_providers=()):
>
>       status_manager_class = FastStatusManager if fast_status else
> StatusManager
>       runner_provider = make_provider(checkpoint_root, runner_class)
>       te = FastThermosExecutor(
>           runner_provider=runner_provider,
>           status_manager_class=status_manager_class,
>           sandbox_provider=DefaultTestSandboxProvider,
>           status_providers=status_providers,
>       )
>
>       ExecutorTimeout(te.launched, proxy_driver, timeout=Amount(100,
> Time.MILLISECONDS)).start()
>       task_description = make_task(task, assigned_ports=ports,
> instanceId=0)
>       te.launchTask(proxy_driver, task_description)
>
>       te.status_manager_started.wait()
>       sampled_metrics = te.metrics.sample()
>       assert 'kill_manager.enabled' in sampled_metrics
>       for checker in te._chained_checker._status_checkers:  # hacky
> >       assert ('%s.enabled' % checker.name()) in sampled_metrics
> E       TypeError: 'str' object is not callable
>
> src/test/python/apache/aurora/executor/test_thermos_executor.py:204:
> TypeError
> !!!!!!!!!!!!!!!!!!!! Interrupted: stopping after 1 failures
> !!!!!!!!!!!!!!!!!!!!
> ===================== 1 failed, 7 passed in 15.94 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.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.restarter
>       .....   SUCCESS
> src.test.python.apache.aurora.client.api.scheduler_client
>      .....   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.api
>       .....   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.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.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.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.common.test_transport
>      .....   SUCCESS
> src.test.python.apache.aurora.config.test_base
>       .....   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.executor_timeout
>       .....   SUCCESS
> src.test.python.apache.aurora.executor.common.health_checker
>       .....   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.aurora.executor.gc_executor
>       .....   SUCCESS
> src.test.python.apache.aurora.executor.status_manager
>      .....   SUCCESS
> src.test.python.apache.aurora.executor.thermos_executor
>      .....   FAILURE
> src.test.python.apache.aurora.executor.thermos_task_runner
>       .....   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_angry
>       .....   SUCCESS
> src.test.python.apache.thermos.core.test_failing_runner
>      .....   SUCCESS
> src.test.python.apache.thermos.core.test_failure_limit
>       .....   SUCCESS
> src.test.python.apache.thermos.core.test_finalization
>      .....   SUCCESS
> src.test.python.apache.thermos.core.test_helper
>      .....   SUCCESS
> src.test.python.apache.thermos.core.test_runner_integration
>      .....   SUCCESS
> src.test.python.apache.thermos.monitoring.test_disk
>      .....   SUCCESS
> Process leaked file descriptors. See
> http://wiki.jenkins-ci.org/display/JENKINS/Spawning+processes+from+build
> for more information
> Build step 'Execute shell' marked build as failure
> Recording test results
> ERROR] Caught exception in self.control(): [Errno 2] No such file or
> directory: '/tmp/tmpHNMy2h/checkpoints/sleep60-001/runner'
> ERROR]   Traceback (most recent call last):
>   File "<
> https://builds.apache.org/job/Aurora/ws/dist/thermos_runner.pex/apache/thermos/core/runner.py",>
> line 556, in control
>     yield
>   File "<
> https://builds.apache.org/job/Aurora/ws/dist/thermos_runner.pex/apache/thermos/core/runner.py",>
> line 843, in run
>     self._run()
>   File "<
> https://builds.apache.org/job/Aurora/ws/dist/thermos_runner.pex/apache/thermos/core/runner.py",>
> line 867, in _run
>     os.utime(self._pathspec.getpath('runner_checkpoint'), None)
> OSError: [Errno 2] No such file or directory:
> '/tmp/tmpHNMy2h/checkpoints/sleep60-001/runner'
>
>

Build failed in Jenkins: Aurora #535

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Aurora/535/changes>

Changes:

[mchucarroll] Fix build failure caused by timezone issue in tests.

------------------------------------------
[...truncated 6905 lines...]
src/test/python/apache/aurora/config/test_base.py::test_binding PASSED
src/test/python/apache/aurora/config/test_base.py::test_cycle PASSED
src/test/python/apache/aurora/config/test_base.py::test_empty_config PASSED
src/test/python/apache/aurora/config/test_base.py::test_simple_config PASSED
src/test/python/apache/aurora/config/test_base.py::test_ports PASSED
src/test/python/apache/aurora/config/test_base.py::test_static_port_aliasing PASSED

=========================== 7 passed in 1.26 seconds ===========================
============================= test session starts ==============================
platform linux2 -- Python 2.7.6 -- py-1.4.23 -- pytest-2.6.1 -- /usr/bin/python2.7
plugins: cov, timeout
collecting ... collected 2 items

src/test/python/apache/thermos/core/test_helper.py::test_this_is_really_our_pid PASSED
src/test/python/apache/thermos/core/test_helper.py::test_scan_process WARNING:root:  Error gathering information on pid 12345: 
WARNING:root:  Error gathering information on pid 13337: 
PASSED

=========================== 2 passed in 0.14 seconds ===========================
============================= test session starts ==============================
platform linux2 -- Python 2.7.6 -- py-1.4.23 -- pytest-2.6.1 -- /usr/bin/python2.7
plugins: cov, timeout
collecting ... collected 1 items

src/test/python/apache/aurora/common/test_shellify.py::test_shellify PASSED

=========================== 1 passed in 0.01 seconds ===========================
============================= test session starts ==============================
platform linux2 -- Python 2.7.6 -- py-1.4.23 -- pytest-2.6.1 -- /usr/bin/python2.7
plugins: cov, timeout
collecting ... collected 9 items

src/test/python/apache/aurora/admin/test_host_maintenance.py <- <https://builds.apache.org/job/Aurora/ws/src/test/python/apache/aurora/admin/test_host_maintenance.py>::TestHostMaintenance::test_check_status PASSED
src/test/python/apache/aurora/admin/test_host_maintenance.py <- <https://builds.apache.org/job/Aurora/ws/src/test/python/apache/aurora/admin/test_host_maintenance.py>::TestHostMaintenance::test_complete_maintenance PASSED
src/test/python/apache/aurora/admin/test_host_maintenance.py <- <https://builds.apache.org/job/Aurora/ws/src/test/python/apache/aurora/admin/test_host_maintenance.py>::TestHostMaintenance::test_drain_hosts WARNING:root:us-west-002.example.com is currently in status SCHEDULED
WARNING:root:us-west-001.example.com is currently in status SCHEDULED
WARNING:root:us-west-003.example.com is currently in status SCHEDULED
WARNING:root:us-west-002.example.com is currently in status DRAINING
WARNING:root:us-west-001.example.com is currently in status DRAINING
WARNING:root:us-west-003.example.com is currently in status DRAINING
WARNING:root:us-west-001.example.com is currently in status DRAINING
PASSED
src/test/python/apache/aurora/admin/test_host_maintenance.py <- <https://builds.apache.org/job/Aurora/ws/src/test/python/apache/aurora/admin/test_host_maintenance.py>::TestHostMaintenance::test_end_maintenance PASSED
src/test/python/apache/aurora/admin/test_host_maintenance.py <- <https://builds.apache.org/job/Aurora/ws/src/test/python/apache/aurora/admin/test_host_maintenance.py>::TestHostMaintenance::test_perform_maintenance PASSED
src/test/python/apache/aurora/admin/test_host_maintenance.py <- <https://builds.apache.org/job/Aurora/ws/src/test/python/apache/aurora/admin/test_host_maintenance.py>::TestHostMaintenance::test_perform_maintenance_partial_sla_failure WARNING:root:Some hosts did not pass SLA check and will not be drained! Skipping hosts: set(['us-west-001.example.com'])
us-west-001.example.com
PASSED
src/test/python/apache/aurora/admin/test_host_maintenance.py <- <https://builds.apache.org/job/Aurora/ws/src/test/python/apache/aurora/admin/test_host_maintenance.py>::TestHostMaintenance::test_start_maintenance WARNING:root:Skipping maintenance for unknown hosts: set(['us-west-001.example.com', 'us-west-003.example.com', 'us-west-002.example.com'])
PASSED
src/test/python/apache/aurora/admin/test_host_maintenance.py <- <https://builds.apache.org/job/Aurora/ws/src/test/python/apache/aurora/admin/test_host_maintenance.py>::test_default_grouping PASSED
src/test/python/apache/aurora/admin/test_host_maintenance.py <- <https://builds.apache.org/job/Aurora/ws/src/test/python/apache/aurora/admin/test_host_maintenance.py>::test_rack_grouping PASSED

=========================== 9 passed in 0.56 seconds ===========================
============================= test session starts ==============================
platform linux2 -- Python 2.7.6 -- py-1.4.23 -- pytest-2.6.1 -- /usr/bin/python2.7
plugins: cov, timeout
collecting ... collected 2 items

src/test/python/apache/aurora/executor/common/test_executor_timeout.py::TestExecutorTimeout::test_run PASSED
src/test/python/apache/aurora/executor/common/test_executor_timeout.py::TestExecutorTimeout::test_run_timeout ERROR:root:Executor timing out.
PASSED

=========================== 2 passed in 0.07 seconds ===========================
============================= test session starts ==============================
platform linux2 -- Python 2.7.6 -- py-1.4.23 -- pytest-2.6.1 -- /usr/bin/python2.7
plugins: cov, timeout
collecting ... collected 5 items

src/test/python/apache/aurora/executor/test_thermos_task_runner.py::TestThermosTaskRunnerIntegration::test_integration_success Writing log files to disk in /tmp/tmpRT2K1K
Build operating on top level addresses: set([BuildFileAddress(<https://builds.apache.org/job/Aurora/ws/src/main/python/apache/aurora/executor/bin/BUILD,> thermos_runner)])
Building PythonBinary PythonBinary(BuildFileAddress(<https://builds.apache.org/job/Aurora/ws/src/main/python/apache/aurora/executor/bin/BUILD,> thermos_runner)):
Wrote <https://builds.apache.org/job/Aurora/ws/dist/thermos_runner.pex>
Writing log files to disk in /tmp/tmpRT2K1K
PASSED
src/test/python/apache/aurora/executor/test_thermos_task_runner.py::TestThermosTaskRunnerIntegration::test_integration_failed Writing log files to disk in /tmp/tmpRT2K1K
PASSED
src/test/python/apache/aurora/executor/test_thermos_task_runner.py::TestThermosTaskRunnerIntegration::test_integration_stop Writing log files to disk in /tmp/tmpRT2K1K
PASSED
src/test/python/apache/aurora/executor/test_thermos_task_runner.py::TestThermosTaskRunnerIntegration::test_integration_lose Writing log files to disk in /tmp/tmpRT2K1K
PASSED
src/test/python/apache/aurora/executor/test_thermos_task_runner.py::TestThermosTaskRunnerIntegration::test_integration_quitquitquit Writing log files to disk in /tmp/tmpRT2K1K
ERROR] is_alive got OSError: [Errno 10] No child processes
PASSED

========================== 5 passed in 14.92 seconds ===========================
============================= test session starts ==============================
platform linux2 -- Python 2.7.6 -- py-1.4.23 -- pytest-2.6.1 -- /usr/bin/python2.7
plugins: cov, timeout
collecting ... collected 15 items

src/test/python/apache/aurora/executor/test_thermos_executor.py::TestThermosExecutor::test_basic Writing log files to disk in /tmp/tmpWS64G6
Build operating on top level addresses: set([BuildFileAddress(<https://builds.apache.org/job/Aurora/ws/src/main/python/apache/aurora/executor/bin/BUILD,> thermos_runner)])
Building PythonBinary PythonBinary(BuildFileAddress(<https://builds.apache.org/job/Aurora/ws/src/main/python/apache/aurora/executor/bin/BUILD,> thermos_runner)):
Wrote <https://builds.apache.org/job/Aurora/ws/dist/thermos_runner.pex>
Writing log files to disk in /tmp/tmpWS64G6
PASSED
src/test/python/apache/aurora/executor/test_thermos_executor.py::TestThermosExecutor::test_basic_as_job Writing log files to disk in /tmp/tmpWS64G6
PASSED
src/test/python/apache/aurora/executor/test_thermos_executor.py::TestThermosExecutor::test_runner_disappears Writing log files to disk in /tmp/tmpWS64G6
PASSED
src/test/python/apache/aurora/executor/test_thermos_executor.py::TestThermosExecutor::test_task_killed Writing log files to disk in /tmp/tmpWS64G6
ERROR] Received unexpected exit state from TaskMonitor.
ERROR] Received unexpected exit state from TaskMonitor.
PASSED
src/test/python/apache/aurora/executor/test_thermos_executor.py::TestThermosExecutor::test_killTask Writing log files to disk in /tmp/tmpWS64G6
PASSED
src/test/python/apache/aurora/executor/test_thermos_executor.py::TestThermosExecutor::test_shutdown Writing log files to disk in /tmp/tmpWS64G6
PASSED
src/test/python/apache/aurora/executor/test_thermos_executor.py::TestThermosExecutor::test_task_lost Writing log files to disk in /tmp/tmpWS64G6
PASSED
src/test/python/apache/aurora/executor/test_thermos_executor.py::TestThermosExecutor::test_task_health_failed Writing log files to disk in /tmp/tmpWS64G6
FAILED

=================================== FAILURES ===================================
_________________ TestThermosExecutor.test_task_health_failed __________________

self = <test_thermos_executor.TestThermosExecutor object at 0x7fe3bab59110>

    def test_task_health_failed(self):
      proxy_driver = ProxyDriver()
      with SignalServer(UnhealthyHandler) as port:
        with temporary_dir() as checkpoint_root:
          health_check_config = HealthCheckConfig(initial_interval_secs=0.1, interval_secs=0.1)
          _, executor = make_executor(
              proxy_driver,
              checkpoint_root,
              MESOS_JOB(task=SLEEP60, health_check_config=health_check_config),
              ports={'health': port},
              fast_status=True,
>             status_providers=(HealthCheckerProvider(),))

src/test/python/apache/aurora/executor/test_thermos_executor.py:405: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

proxy_driver = <test_thermos_executor.ProxyDriver object at 0x7fe3bab592d0>
checkpoint_root = '/tmp/tmpHNMy2h'
task = MesosJob(health_check_config=HealthCheckConfig(initial_interval_secs=0.1,
    ...traints=ConstraintList()),
         name=does_not_matter,
         instances=1)
ports = {'health': 58869}, fast_status = True
runner_class = <class 'apache.aurora.executor.thermos_task_runner.ThermosTaskRunner'>
status_providers = (<apache.aurora.executor.common.health_checker.HealthCheckerProvider object at 0x7fe3bb216890>,)

    def make_executor(
        proxy_driver,
        checkpoint_root,
        task,
        ports={},
        fast_status=False,
        runner_class=ThermosTaskRunner,
        status_providers=()):
    
      status_manager_class = FastStatusManager if fast_status else StatusManager
      runner_provider = make_provider(checkpoint_root, runner_class)
      te = FastThermosExecutor(
          runner_provider=runner_provider,
          status_manager_class=status_manager_class,
          sandbox_provider=DefaultTestSandboxProvider,
          status_providers=status_providers,
      )
    
      ExecutorTimeout(te.launched, proxy_driver, timeout=Amount(100, Time.MILLISECONDS)).start()
      task_description = make_task(task, assigned_ports=ports, instanceId=0)
      te.launchTask(proxy_driver, task_description)
    
      te.status_manager_started.wait()
      sampled_metrics = te.metrics.sample()
      assert 'kill_manager.enabled' in sampled_metrics
      for checker in te._chained_checker._status_checkers:  # hacky
>       assert ('%s.enabled' % checker.name()) in sampled_metrics
E       TypeError: 'str' object is not callable

src/test/python/apache/aurora/executor/test_thermos_executor.py:204: TypeError
!!!!!!!!!!!!!!!!!!!! Interrupted: stopping after 1 failures !!!!!!!!!!!!!!!!!!!!
===================== 1 failed, 7 passed in 15.94 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.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.restarter                              .....   SUCCESS
src.test.python.apache.aurora.client.api.scheduler_client                       .....   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.api                                    .....   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.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.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.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.common.test_transport                             .....   SUCCESS
src.test.python.apache.aurora.config.test_base                                  .....   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.executor_timeout                  .....   SUCCESS
src.test.python.apache.aurora.executor.common.health_checker                    .....   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.aurora.executor.gc_executor                              .....   SUCCESS
src.test.python.apache.aurora.executor.status_manager                           .....   SUCCESS
src.test.python.apache.aurora.executor.thermos_executor                         .....   FAILURE
src.test.python.apache.aurora.executor.thermos_task_runner                      .....   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_angry                                  .....   SUCCESS
src.test.python.apache.thermos.core.test_failing_runner                         .....   SUCCESS
src.test.python.apache.thermos.core.test_failure_limit                          .....   SUCCESS
src.test.python.apache.thermos.core.test_finalization                           .....   SUCCESS
src.test.python.apache.thermos.core.test_helper                                 .....   SUCCESS
src.test.python.apache.thermos.core.test_runner_integration                     .....   SUCCESS
src.test.python.apache.thermos.monitoring.test_disk                             .....   SUCCESS
Process leaked file descriptors. See http://wiki.jenkins-ci.org/display/JENKINS/Spawning+processes+from+build for more information
Build step 'Execute shell' marked build as failure
Recording test results
ERROR] Caught exception in self.control(): [Errno 2] No such file or directory: '/tmp/tmpHNMy2h/checkpoints/sleep60-001/runner'
ERROR]   Traceback (most recent call last):
  File "<https://builds.apache.org/job/Aurora/ws/dist/thermos_runner.pex/apache/thermos/core/runner.py",> line 556, in control
    yield
  File "<https://builds.apache.org/job/Aurora/ws/dist/thermos_runner.pex/apache/thermos/core/runner.py",> line 843, in run
    self._run()
  File "<https://builds.apache.org/job/Aurora/ws/dist/thermos_runner.pex/apache/thermos/core/runner.py",> line 867, in _run
    os.utime(self._pathspec.getpath('runner_checkpoint'), None)
OSError: [Errno 2] No such file or directory: '/tmp/tmpHNMy2h/checkpoints/sleep60-001/runner'


Build failed in Jenkins: Aurora #534

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Aurora/534/changes>

Changes:

[wfarner] Specify required vagrant version in Vagrantfile.

------------------------------------------
[...truncated 1097 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 (tmpTIPxaQ, 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: tmpJcyAJh job open [-h] [--verbose-logging]
                          [--logging-level LOGGING_LEVEL] [--reveal-errors]
                          [--skip-hooks hook,hook,...]
                          cluster[/role[/env[/job]]]
tmpJcyAJh 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.33 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

Re: Build failed in Jenkins: Aurora #533

Posted by Mark Chu-Carroll <mc...@apache.org>.
Working on fixing it. It's a time-zone issue: Jenkins build is using GMT,
my laptop is using EST, which creates a different timestamp in the output.
Dammit.



On Thu, Sep 4, 2014 at 3:07 PM, Bill Farner <wf...@apache.org> wrote:

> This was the previous commit.  Filed
> https://issues.apache.org/jira/browse/AURORA-684
>
> -=Bill
>
>
> On Thu, Sep 4, 2014 at 12:01 PM, Apache Jenkins Server <
> jenkins@builds.apache.org> wrote:
>
>> See <https://builds.apache.org/job/Aurora/533/changes>
>>
>> Changes:
>>
>> [wfarner] Upgrade to latest in jetty 7.x series.
>>
>> ------------------------------------------
>> [...truncated 1120 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
>> (tmpnTbNry, 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: tmpBqTqpk job open [-h] [--verbose-logging]
>>                           [--logging-level LOGGING_LEVEL]
>> [--reveal-errors]
>>                           [--skip-hooks hook,hook,...]
>>                           cluster[/role[/env[/job]]]
>> tmpBqTqpk 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.28 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
>>
>
>

Re: Build failed in Jenkins: Aurora #533

Posted by Bill Farner <wf...@apache.org>.
This was the previous commit.  Filed
https://issues.apache.org/jira/browse/AURORA-684

-=Bill


On Thu, Sep 4, 2014 at 12:01 PM, Apache Jenkins Server <
jenkins@builds.apache.org> wrote:

> See <https://builds.apache.org/job/Aurora/533/changes>
>
> Changes:
>
> [wfarner] Upgrade to latest in jetty 7.x series.
>
> ------------------------------------------
> [...truncated 1120 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
> (tmpnTbNry, 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: tmpBqTqpk job open [-h] [--verbose-logging]
>                           [--logging-level LOGGING_LEVEL] [--reveal-errors]
>                           [--skip-hooks hook,hook,...]
>                           cluster[/role[/env[/job]]]
> tmpBqTqpk 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.28 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
>

Build failed in Jenkins: Aurora #533

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Aurora/533/changes>

Changes:

[wfarner] Upgrade to latest in jetty 7.x series.

------------------------------------------
[...truncated 1120 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 (tmpnTbNry, 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: tmpBqTqpk job open [-h] [--verbose-logging]
                          [--logging-level LOGGING_LEVEL] [--reveal-errors]
                          [--skip-hooks hook,hook,...]
                          cluster[/role[/env[/job]]]
tmpBqTqpk 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.28 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