aurora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Sweeney <kevi...@apache.org>
Subject Re: Build failed in Jenkins: Aurora #566
Date Thu, 18 Sep 2014 20:25:21 GMT
This was a java change and this appears to be a python error

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

> See <https://builds.apache.org/job/Aurora/566/changes>
>
> Changes:
>
> [kevints] Performance improvements and instrumentation for snapshot
>
> ------------------------------------------
> [...truncated 8526 lines...]
> ========================== 15 passed in 35.42 seconds
> ==========================
> Writing log files to disk in /tmp/tmpy5lNDv
> ============================= test session starts
> ==============================
> platform linux2 -- Python 2.7.6 -- py-1.4.24 -- pytest-2.6.2 --
> /usr/bin/python2.7
> plugins: cov, timeout
> collecting ... collected 3 items
>
> src/test/python/apache/aurora/client/commands/test_hooks.py::TestClientCreateCommand::test_block_hooks
> WARNING: create is an aurora clientv1 command which will be deprecated soon
> To run this command using clientv2, use 'aurora job create
> west/mchucarroll/test/hello /tmp/tmptN6025 --wait-until=RUNNING'
> PASSED
> src/test/python/apache/aurora/client/commands/test_hooks.py::TestClientCreateCommand::test_create_job_hook_aborts
> WARNING: create is an aurora clientv1 command which will be deprecated soon
> To run this command using clientv2, use 'aurora job create
> west/mchucarroll/test/hello /tmp/tmp0BQMBP --wait-until=RUNNING'
> PASSED
> src/test/python/apache/aurora/client/commands/test_hooks.py::TestClientCreateCommand::test_create_job_hook_called
> WARNING: create is an aurora clientv1 command which will be deprecated soon
> To run this command using clientv2, use 'aurora job create
> west/mchucarroll/test/hello /tmp/tmpIbPKuZ --wait-until=RUNNING'
> PASSED
>
> =========================== 3 passed in 1.35 seconds
> ===========================
> ============================= test session starts
> ==============================
> platform linux2 -- Python 2.7.6 -- py-1.4.24 -- pytest-2.6.2 --
> /usr/bin/python2.7
> plugins: cov, timeout
> collecting ... collected 7 items
>
> src/test/python/apache/aurora/client/cli/test_cron.py::TestCronNoun::test_cron_status
> PASSED
> src/test/python/apache/aurora/client/cli/test_cron.py::TestCronNoun::test_deschedule_cron_deep_api
> PASSED
> src/test/python/apache/aurora/client/cli/test_cron.py::TestCronNoun::test_schedule_cron_deep_api
> PASSED
> src/test/python/apache/aurora/client/cli/test_cron.py::TestCronNoun::test_schedule_cron_failed_invalid_config
> Error executing command: Error loading configuration: invalid syntax
> (tmpsoTKmz, line 9)
> PASSED
> src/test/python/apache/aurora/client/cli/test_cron.py::TestCronNoun::test_schedule_failed
> Error executing command: Error scheduling job west/bozo/test/hello; see log
> for details
> PASSED
> src/test/python/apache/aurora/client/cli/test_cron.py::TestCronNoun::test_start_cron
> PASSED
> src/test/python/apache/aurora/client/cli/test_cron.py::TestCronNoun::test_successful_schedule
> PASSED
>
> =========================== 7 passed in 1.11 seconds
> ===========================
> ============================= test session starts
> ==============================
> platform linux2 -- Python 2.7.6 -- py-1.4.24 -- pytest-2.6.2 --
> /usr/bin/python2.7
> plugins: cov, timeout
> collecting ... collected 1 items
>
> src/test/python/apache/aurora/executor/common/test_status_checker.py::test_chained_health_interface
> PASSED
>
> =========================== 1 passed in 0.15 seconds
> ===========================
> ============================= test session starts
> ==============================
> platform linux2 -- Python 2.7.6 -- py-1.4.24 -- pytest-2.6.2 --
> /usr/bin/python2.7
> plugins: cov, timeout
> collecting ... collected 10 items
>
> src/test/python/apache/aurora/client/commands/test_maintenance.py::TestMaintenanceCommands::test_end_maintenance_hosts
> PASSED
> src/test/python/apache/aurora/client/commands/test_maintenance.py::TestMaintenanceCommands::test_host_maintenance_status
> PASSED
> src/test/python/apache/aurora/client/commands/test_maintenance.py::TestMaintenanceCommands::test_perform_maintenance_hosts
> PASSED
> src/test/python/apache/aurora/client/commands/test_maintenance.py::TestMaintenanceCommands::test_perform_maintenance_hosts_failed_custom_sla
> WARNING:root:Some hosts did not pass SLA check and will not be drained!
> Skipping hosts: set(['us-grf-20'])
> WARNING:root:Some hosts did not pass SLA check and will not be drained!
> Skipping hosts: set(['us-jim-47'])
> WARNING:root:Some hosts did not pass SLA check and will not be drained!
> Skipping hosts: set(['us-suz-01'])
> us-grf-20       west/role/env/job-us-grf-20     95.00   False   n/a
> us-jim-47       west/role/env/job-us-jim-47     95.00   False   n/a
> us-suz-01       west/role/env/job-us-suz-01     95.00   False   n/a
> us-grf-20
> us-suz-01
> us-jim-47
> PASSED
> src/test/python/apache/aurora/client/commands/test_maintenance.py::TestMaintenanceCommands::test_perform_maintenance_hosts_failed_default_sla
> WARNING:root:Some hosts did not pass SLA check and will not be drained!
> Skipping hosts: set(['us-grf-20'])
> WARNING:root:Some hosts did not pass SLA check and will not be drained!
> Skipping hosts: set(['us-jim-47'])
> WARNING:root:Some hosts did not pass SLA check and will not be drained!
> Skipping hosts: set(['us-suz-01'])
> us-grf-20       west/role/env/job-us-grf-20     95.00   False   n/a
> us-jim-47       west/role/env/job-us-jim-47     95.00   False   n/a
> us-suz-01       west/role/env/job-us-suz-01     95.00   False   n/a
> us-grf-20
> us-suz-01
> us-jim-47
> PASSED
> src/test/python/apache/aurora/client/commands/test_maintenance.py::TestMaintenanceCommands::test_perform_maintenance_hosts_multiple_sla_groups_failure
> ERROR:root:Illegal multiple groups detected in SLA results. Skipping hosts:
> ['us-grf-20']
> WARNING:root:Some hosts did not pass SLA check and will not be drained!
> Skipping hosts: set(['us-grf-20'])
> ERROR:root:Illegal multiple groups detected in SLA results. Skipping
> hosts: ['us-jim-47']
> WARNING:root:Some hosts did not pass SLA check and will not be drained!
> Skipping hosts: set(['us-jim-47'])
> ERROR:root:Illegal multiple groups detected in SLA results. Skipping
> hosts: ['us-suz-01']
> WARNING:root:Some hosts did not pass SLA check and will not be drained!
> Skipping hosts: set(['us-suz-01'])
> us-grf-20
> us-suz-01
> us-jim-47
> PASSED
> src/test/python/apache/aurora/client/commands/test_maintenance.py::TestMaintenanceCommands::test_perform_maintenance_hosts_no_prod_tasks
> PASSED
> src/test/python/apache/aurora/client/commands/test_maintenance.py::TestMaintenanceCommands::test_perform_maintenance_hosts_reason_missing
> CRITICAL:root:All --override_* options are required when attempting to
> override default SLA values.
> PASSED
> src/test/python/apache/aurora/client/commands/test_maintenance.py::TestMaintenanceCommands::test_perform_maintenance_hosts_unknown_hosts_skipped
> WARNING:root:Skipping maintenance for unknown hosts: set(['us-grf-20'])
> PASSED
> src/test/python/apache/aurora/client/commands/test_maintenance.py::TestMaintenanceCommands::test_start_maintenance_hosts
> PASSED
>
> ========================== 10 passed in 0.67 seconds
> ===========================
> ============================= test session starts
> ==============================
> platform linux2 -- Python 2.7.6 -- py-1.4.24 -- pytest-2.6.2 --
> /usr/bin/python2.7
> plugins: cov, timeout
> collecting ... collected 6 items
>
> src/test/python/apache/thermos/core/test_process.py::test_simple_process
> PASSED
> src/test/python/apache/thermos/core/test_process.py::test_simple_process_other_user
> PASSED
> src/test/python/apache/thermos/core/test_process.py::test_other_user_fails_nonroot
> PASSED
> src/test/python/apache/thermos/core/test_process.py::test_log_permissions
> PASSED
> src/test/python/apache/thermos/core/test_process.py::test_log_permissions_other_user
> PASSED
> src/test/python/apache/thermos/core/test_process.py::test_cloexec PASSED
>
> ===================== 6 passed, 1 warnings in 1.39 seconds
> =====================
> ============================= test session starts
> ==============================
> platform linux2 -- Python 2.7.6 -- py-1.4.24 -- pytest-2.6.2 --
> /usr/bin/python2.7
> plugins: cov, timeout
> collecting ... collected 3 items
>
> src/test/python/apache/thermos/core/test_ephemerals.py::TestEphemeralTask::test_runner_state
> PASSED
> src/test/python/apache/thermos/core/test_ephemerals.py::TestEphemeralTask::test_runner_process_in_expected_states
> PASSED
> src/test/python/apache/thermos/core/test_ephemerals.py <-
> ../../../../../tmp/tmp4tyHon/apache/thermos/testing/runner.py::TestEphemeralTask::test_runner_state_reconstruction
> PASSEDFailed to kill runner: [Errno 3] No such process
>
>
> =========================== 3 passed in 2.66 seconds
> ===========================
> ============================= test session starts
> ==============================
> platform linux2 -- Python 2.7.6 -- py-1.4.24 -- pytest-2.6.2 --
> /usr/bin/python2.7
> plugins: cov, timeout
> collecting ... collected 4 items
>
> src/test/python/apache/aurora/client/cli/test_bridge.py::TestBridgedCommandLine::test_bridge_ordering
> PASSED
> src/test/python/apache/aurora/client/cli/test_bridge.py::TestBridgedCommandLine::test_bridge_with_default_one
> PASSED
> src/test/python/apache/aurora/client/cli/test_bridge.py::TestBridgedCommandLine::test_bridge_with_default_three
> PASSED
> src/test/python/apache/aurora/client/cli/test_bridge.py::TestBridgedCommandLine::test_bridge_with_no_default
> Unknown command: seven
> PASSED
>
> =========================== 4 passed in 0.06 seconds
> ===========================
> ============================= test session starts
> ==============================
> platform linux2 -- Python 2.7.6 -- py-1.4.24 -- pytest-2.6.2 --
> /usr/bin/python2.7
> plugins: cov, timeout
> collecting ... collected 1 items
>
> src/test/python/apache/aurora/client/commands/test_run.py::TestRunCommand::test_successful_run
> WARNING: ssh is an aurora clientv1 command which will be deprecated soon
> To run this command using clientv2, use 'aurora task run --threads=4 "ls"'
> slavehost:  hello
> slavehost:  hello
> slavehost:  hello
> FAILED
>
> =================================== FAILURES
> ===================================
> ______________________ TestRunCommand.test_successful_run
> ______________________
>
> self = <test_run.TestRunCommand testMethod=test_successful_run>
>
>     def test_successful_run(self):
>       """Test the run command."""
>       # Calls api.check_status, which calls scheduler_proxy.getJobs
>       mock_options = self.setup_mock_options()
>       (mock_api, mock_scheduler_proxy) = self.create_mock_api()
>       mock_scheduler_proxy.getTasksStatus.return_value =
> self.create_status_response()
>       sandbox_args = {'slave_root': '/slaveroot', 'slave_run_directory':
> 'slaverun'}
>       with contextlib.nested(
>           patch('apache.aurora.client.api.SchedulerProxy',
> return_value=mock_scheduler_proxy),
>           patch('apache.aurora.client.factory.CLUSTERS',
> new=self.TEST_CLUSTERS),
>           patch('apache.aurora.client.commands.run.CLUSTERS',
> new=self.TEST_CLUSTERS),
>           patch('twitter.common.app.get_options',
> return_value=mock_options),
>
> patch('apache.aurora.client.api.command_runner.DistributedCommandRunner.sandbox_args',
>               return_value=sandbox_args),
>           patch('subprocess.Popen',
> return_value=self.create_mock_process())) as (
>               mock_scheduler_proxy_class,
>               mock_clusters,
>               mock_clusters_runpatch,
>               options,
>               mock_runner_args_patch,
>               mock_subprocess):
>         run(['west/mchucarroll/test/hello', 'ls'], mock_options)
>
>         # The status command sends a getTasksStatus query to the scheduler,
>         # and then prints the result.
>
> mock_scheduler_proxy.getTasksStatus.assert_called_with(TaskQuery(jobName='hello',
>             environment='test', owner=Identity(role='mchucarroll'),
>             statuses=LIVE_STATES))
>
>         # The mock status call returns 3 three ScheduledTasks, so three
> commands should have been run
> >       assert mock_subprocess.call_count == 3
> E       AssertionError: assert 1 == 3
> E        +  where 1 = <MagicMock name='Popen'
> id='140133669544592'>.call_count
>
> src/test/python/apache/aurora/client/commands/test_run.py:127:
> AssertionError
> !!!!!!!!!!!!!!!!!!!! Interrupted: stopping after 1 failures
> !!!!!!!!!!!!!!!!!!!!
> =========================== 1 failed in 0.68 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.bridge
>      .....   SUCCESS
> src.test.python.apache.aurora.client.cli.command_hooks
>       .....   SUCCESS
> src.test.python.apache.aurora.client.cli.config
>      .....   SUCCESS
> src.test.python.apache.aurora.client.cli.cron
>      .....   SUCCESS
> src.test.python.apache.aurora.client.cli.help
>      .....   SUCCESS
> src.test.python.apache.aurora.client.cli.inspect
>       .....   SUCCESS
> src.test.python.apache.aurora.client.cli.job
>       .....   SUCCESS
> src.test.python.apache.aurora.client.cli.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.supdate
>       .....   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.hooks
>      .....   SUCCESS
> src.test.python.apache.aurora.client.commands.maintenance
>      .....   SUCCESS
> src.test.python.apache.aurora.client.commands.run
>      .....   FAILURE
> 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.status_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
>      .....   SUCCESS
> 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_ephemerals
>      .....   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_process
>       .....   SUCCESS
> src.test.python.apache.thermos.core.test_runner_integration
>      .....   SUCCESS
> src.test.python.apache.thermos.monitoring.test_disk
>      .....   SUCCESS
> Build step 'Execute shell' marked build as failure
> Recording test results
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message