aurora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Jenkins Server <jenk...@builds.apache.org>
Subject Build failed in Jenkins: Aurora #116
Date Tue, 18 Feb 2014 23:25:53 GMT
See <https://builds.apache.org/job/Aurora/116/changes>

Changes:

[kevints] Use GMT in generated cron predictions.

[jon] Remove appapp references from schema

------------------------------------------
[...truncated 3279 lines...]
src/test/python/apache/aurora/client/commands/test_create.py:152: TestClientCreateCommand.test_create_job_wait_until_finished
PASSED
src/test/python/apache/aurora/client/commands/test_create.py:217: TestClientCreateCommand.test_delayed_job
PASSED
src/test/python/apache/aurora/client/commands/test_create.py:108: TestClientCreateCommand.test_simple_successful_create_job
PASSED
src/test/python/apache/aurora/client/commands/test_diff.py:142: TestDiffCommand.test_diff_invalid_config
PASSED
src/test/python/apache/aurora/client/commands/test_diff.py:168: TestDiffCommand.test_diff_server_error
CRITICAL:root:Request failed, server responded with "No tasks found for query"
PASSED
src/test/python/apache/aurora/client/commands/test_diff.py:107: TestDiffCommand.test_successful_diff
PASSED
src/test/python/apache/aurora/client/commands/test_kill.py:119: TestClientKillCommand.test_kill_job_api_level
PASSED
src/test/python/apache/aurora/client/commands/test_kill.py:147: TestClientKillCommand.test_kill_job_api_level_with_shards
PASSED
src/test/python/apache/aurora/client/commands/test_kill.py:84: TestClientKillCommand.test_simple_successful_kill_job
PASSED
src/test/python/apache/aurora/client/commands/test_listjobs.py:75: TestListJobs.test_listjobs_badcluster
CRITICAL:root:Unknown cluster: smoof
PASSED
src/test/python/apache/aurora/client/commands/test_listjobs.py:59: TestListJobs.test_successful_listjobs
west/mchucarroll/test/foo	'<Mock name='mock.cronSchedule' id='45173008'>'	<Mock name='mock.cronCollisionPolicy'
id='45173712'>
west/mchucarroll/test/baz	'<Mock name='mock.cronSchedule' id='45173776'>'	<Mock name='mock.cronCollisionPolicy'
id='45174544'>
west/mchucarroll/test/bar	'<Mock name='mock.cronSchedule' id='45174096'>'	<Mock name='mock.cronCollisionPolicy'
id='45174224'>
PASSED
src/test/python/apache/aurora/client/commands/test_restart.py:159: TestRestartCommand.test_restart_failed_restart
ERROR:root:Error restarting instances: Damn
PASSED
src/test/python/apache/aurora/client/commands/test_restart.py:133: TestRestartCommand.test_restart_failed_status
PASSED
src/test/python/apache/aurora/client/commands/test_restart.py:101: TestRestartCommand.test_restart_simple
PASSED
src/test/python/apache/aurora/client/commands/test_status.py:89: TestListJobs.test_successful_status
PASSED
src/test/python/apache/aurora/client/commands/test_status.py:109: TestListJobs.test_unsuccessful_status
PASSED
src/test/python/apache/aurora/client/commands/test_update.py:75: TestUpdateCommand.test_update_command_line_succeeds
PASSED
src/test/python/apache/aurora/client/commands/test_update.py:98: TestUpdateCommand.test_update_invalid_config
PASSED
src/test/python/apache/aurora/client/commands/test_update.py:209: TestUpdateCommand.test_updater_simple
PASSED

========================== 24 passed in 1.35 seconds ===========================
============================= test session starts ==============================
platform linux2 -- Python 2.7.3 -- py-1.4.20 -- pytest-2.5.2 -- /usr/bin/python2.7
collecting ... collected 1 items

src/test/python/apache/aurora/client/commands/test_run.py:98: TestRunCommand.test_successful_run
slavehost:  hello
slavehost:  hello
slavehost:  hello
PASSED

=========================== 1 passed in 0.38 seconds ===========================
============================= test session starts ==============================
platform linux2 -- Python 2.7.3 -- py-1.4.20 -- pytest-2.5.2 -- /usr/bin/python2.7
collecting ... collected 1 items

src/test/python/apache/aurora/client/commands/test_ssh.py:91: TestSshCommand.test_successful_ssh
PASSED

=========================== 1 passed in 0.38 seconds ===========================
============================= test session starts ==============================
platform linux2 -- Python 2.7.3 -- py-1.4.20 -- pytest-2.5.2 -- /usr/bin/python2.7
collecting ... collected 12 items

src/test/python/apache/aurora/client/hooks/test_hooked_api.py:35: test_api_methods_exist[cancel_update]
PASSED
src/test/python/apache/aurora/client/hooks/test_hooked_api.py:35: test_api_methods_exist[create_job]
PASSED
src/test/python/apache/aurora/client/hooks/test_hooked_api.py:35: test_api_methods_exist[kill_job]
PASSED
src/test/python/apache/aurora/client/hooks/test_hooked_api.py:35: test_api_methods_exist[restart]
PASSED
src/test/python/apache/aurora/client/hooks/test_hooked_api.py:35: test_api_methods_exist[start_cronjob]
PASSED
src/test/python/apache/aurora/client/hooks/test_hooked_api.py:35: test_api_methods_exist[update_job]
PASSED
src/test/python/apache/aurora/client/hooks/test_hooked_api.py:42: test_api_methods_params[cancel_update]
PASSED
src/test/python/apache/aurora/client/hooks/test_hooked_api.py:42: test_api_methods_params[create_job]
PASSED
src/test/python/apache/aurora/client/hooks/test_hooked_api.py:42: test_api_methods_params[kill_job]
PASSED
src/test/python/apache/aurora/client/hooks/test_hooked_api.py:42: test_api_methods_params[restart]
PASSED
src/test/python/apache/aurora/client/hooks/test_hooked_api.py:42: test_api_methods_params[start_cronjob]
PASSED
src/test/python/apache/aurora/client/hooks/test_hooked_api.py:42: test_api_methods_params[update_job]
PASSED

========================== 12 passed in 0.37 seconds ===========================
============================= test session starts ==============================
platform linux2 -- Python 2.7.3 -- py-1.4.20 -- pytest-2.5.2 -- /usr/bin/python2.7
collecting ... collected 4 items

src/test/python/apache/aurora/client/hooks/test_non_hooked_api.py:88: TestNonHookedAuroraClientAPI.test_cancel_update_discards_config
PASSED
src/test/python/apache/aurora/client/hooks/test_non_hooked_api.py:92: TestNonHookedAuroraClientAPI.test_kill_job_discards_config
PASSED
src/test/python/apache/aurora/client/hooks/test_non_hooked_api.py:100: TestNonHookedAuroraClientAPI.test_restart_discards_config
PASSED
src/test/python/apache/aurora/client/hooks/test_non_hooked_api.py:106: TestNonHookedAuroraClientAPI.test_start_cronjob_discards_config
PASSED

=========================== 4 passed in 0.34 seconds ===========================
============================= test session starts ==============================
platform linux2 -- Python 2.7.3 -- py-1.4.20 -- pytest-2.5.2 -- /usr/bin/python2.7
collecting ... collected 1 items

src/test/python/apache/aurora/common/test_aurora_job_key.py:23: AuroraJobKeyTest.test_basic
PASSED

=========================== 1 passed in 0.08 seconds ===========================
============================= test session starts ==============================
platform linux2 -- Python 2.7.3 -- py-1.4.20 -- pytest-2.5.2 -- /usr/bin/python2.7
collecting ... collected 1 items

src/test/python/apache/aurora/common/test_cluster.py:27: test_simple PASSED

=========================== 1 passed in 0.04 seconds ===========================
============================= test session starts ==============================
platform linux2 -- Python 2.7.3 -- py-1.4.20 -- pytest-2.5.2 -- /usr/bin/python2.7
collecting ... collected 4 items

src/test/python/apache/aurora/common/test_clusters.py:65: test_load_json PASSED
src/test/python/apache/aurora/common/test_clusters.py:78: test_load_yaml PASSED
src/test/python/apache/aurora/common/test_clusters.py:86: test_load_without_yaml_loader PASSED
src/test/python/apache/aurora/common/test_clusters.py:97: test_load_invalid_syntax PASSED

=========================== 4 passed in 0.14 seconds ===========================
============================= test session starts ==============================
platform linux2 -- Python 2.7.3 -- py-1.4.20 -- pytest-2.5.2 -- /usr/bin/python2.7
collecting ... collected 2 items

src/test/python/apache/aurora/common/test_cluster_option.py:36: test_constructors PASSED
src/test/python/apache/aurora/common/test_cluster_option.py:50: test_parsable PASSED

=========================== 2 passed in 0.05 seconds ===========================
============================= test session starts ==============================
platform linux2 -- Python 2.7.3 -- py-1.4.20 -- pytest-2.5.2 -- /usr/bin/python2.7
collecting ... collected 3 items

src/test/python/apache/aurora/common/test_http_signaler.py:44: TestHttpSignaler.test_all_calls_ok
PASSED
src/test/python/apache/aurora/common/test_http_signaler.py:71: TestHttpSignaler.test_exception
PASSED
src/test/python/apache/aurora/common/test_http_signaler.py:60: TestHttpSignaler.test_health_not_ok
WARNING:root:Response differs from expected response (expected "ok", got "not ok")
PASSED

=========================== 3 passed in 0.06 seconds ===========================
============================= test session starts ==============================
platform linux2 -- Python 2.7.3 -- py-1.4.20 -- pytest-2.5.2 -- /usr/bin/python2.7
collecting ... collected 7 items

src/test/python/apache/aurora/config/test_base.py:38: test_all_static PASSED
src/test/python/apache/aurora/config/test_base.py:46: test_binding PASSED
src/test/python/apache/aurora/config/test_base.py:54: test_cycle PASSED
src/test/python/apache/aurora/config/test_base.py:148: test_empty_config PASSED
src/test/python/apache/aurora/config/test_base.py:156: test_simple_config PASSED
src/test/python/apache/aurora/config/test_base.py:181: test_ports PASSED
src/test/python/apache/aurora/config/test_base.py:202: test_static_port_aliasing PASSED

=========================== 7 passed in 1.31 seconds ===========================
============================= test session starts ==============================
platform linux2 -- Python 2.7.3 -- py-1.4.20 -- pytest-2.5.2 -- /usr/bin/python2.7
collecting ... collected 1 items

src/test/python/apache/aurora/config/test_constraint_parsing.py:23: test_parsing_constraints
limit:a is not a valid limit value, must be integer
PASSED

=========================== 1 passed in 0.13 seconds ===========================
============================= test session starts ==============================
platform linux2 -- Python 2.7.3 -- py-1.4.20 -- pytest-2.5.2 -- /usr/bin/python2.7
collecting ... collected 6 items

src/test/python/apache/aurora/config/test_loader.py:49: test_enoent PASSED
src/test/python/apache/aurora/config/test_loader.py:55: test_bad_config PASSED
src/test/python/apache/aurora/config/test_loader.py:63: test_empty_config PASSED
src/test/python/apache/aurora/config/test_loader.py:69: test_load_json PASSED
src/test/python/apache/aurora/config/test_loader.py:82: test_load PASSED
src/test/python/apache/aurora/config/test_loader.py:95: test_pick PASSED

=========================== 6 passed in 0.17 seconds ===========================
============================= test session starts ==============================
platform linux2 -- Python 2.7.3 -- py-1.4.20 -- pytest-2.5.2 -- /usr/bin/python2.7
collecting ... collected 10 items

src/test/python/apache/aurora/config/test_thrift.py:62: test_simple_config PASSED
src/test/python/apache/aurora/config/test_thrift.py:86: test_config_with_options PASSED
src/test/python/apache/aurora/config/test_thrift.py:111: test_config_with_ports PASSED
src/test/python/apache/aurora/config/test_thrift.py:125: test_config_with_bad_resources PASSED
src/test/python/apache/aurora/config/test_thrift.py:151: test_config_with_task_links PASSED
src/test/python/apache/aurora/config/test_thrift.py:172: test_unbound_references PASSED
src/test/python/apache/aurora/config/test_thrift.py:186: test_cron_policy_alias PASSED
src/test/python/apache/aurora/config/test_thrift.py:210: test_packages_in_config PASSED
src/test/python/apache/aurora/config/test_thrift.py:222: test_task_instance_from_job FAILED

=================================== FAILURES ===================================
_________________________ test_task_instance_from_job __________________________

    def test_task_instance_from_job():
>     instance = task_instance_from_job(Job(health_check_interval_secs=30), 0)

src/test/python/apache/aurora/config/test_thrift.py:223: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

job = MesosJob(enable_hooks=False,
         max_task_failures=1,
         priority=0...alth_check_interval_secs=30,
         name={{task.name}},
         instances=1)
instance = 0

    def task_instance_from_job(job, instance):
      instance_context = MesosContext(instance=instance)
      # TODO(Sathya): Remove health_check_interval_secs references after deprecation cycle
is complete.
      health_check_config = HealthCheckConfig()
      if job.has_health_check_interval_secs():
        health_check_config = HealthCheckConfig(interval_secs=job.health_check_interval_secs().get())
      elif job.has_health_check_config():
        health_check_config = job.health_check_config()
      ti = MesosTaskInstance(task=job.task(),
>                            layout=job.layout(),
                             role=job.role(),
                             health_check_interval_secs=health_check_config.interval_secs().get(),
                             health_check_config=health_check_config,
                             instance=instance)

/tmp/tmpEd65vY/apache/aurora/config/thrift.py:92: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = MesosJob(enable_hooks=False,
         max_task_failures=1,
         priority=0...alth_check_interval_secs=30,
         name={{task.name}},
         instances=1)
attr = 'layout'

    def __getattr__(self, attr):
      if not hasattr(self, 'TYPEMAP'):
        raise AttributeError
    
      if attr.startswith('has_'):
        if attr[4:] in self.TYPEMAP:
          return lambda: self._schema_data[attr[4:]] != Empty
    
      if attr not in self.TYPEMAP:
>       raise AttributeError("%s has no attribute %s" % (self.__class__.__name__, attr))
E       AttributeError: MesosJob has no attribute layout

/tmp/tmpEd65vY/.deps/pystachio-0.7.2-py2.7.egg/pystachio/composite.py:214: AttributeError
!!!!!!!!!!!!!!!!!!!! Interrupted: stopping after 1 failures !!!!!!!!!!!!!!!!!!!!
====================== 1 failed, 8 passed in 1.58 seconds ======================
Build operating on targets: OrderedSet([PythonTestSuite(src/test/python/BUILD:all)])
src.test.python.apache.aurora.admin.mesos_maintenance                           .....   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.quota_check                            .....   SUCCESS
src.test.python.apache.aurora.client.api.restarter                              .....   SUCCESS
src.test.python.apache.aurora.client.api.scheduler_client                       .....   SUCCESS
src.test.python.apache.aurora.client.api.sla                                    .....   SUCCESS
src.test.python.apache.aurora.client.api.updater                                .....   SUCCESS
src.test.python.apache.aurora.client.binding_helper                             .....   SUCCESS
src.test.python.apache.aurora.client.cli.bridge                                 .....   SUCCESS
src.test.python.apache.aurora.client.cli.job                                    .....   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.core                              .....   SUCCESS
src.test.python.apache.aurora.client.commands.run                               .....   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.config.test_base                                  .....   SUCCESS
src.test.python.apache.aurora.config.test_constraint_parsing                    .....   SUCCESS
src.test.python.apache.aurora.config.test_loader                                .....   SUCCESS
src.test.python.apache.aurora.config.test_thrift                                .....   FAILURE
Build step 'Execute shell' marked build as failure

Mime
View raw message