aurora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Suman Karumuri <skarum...@twitter.com>
Subject Re: Build failed in Jenkins: Aurora #150
Date Sat, 01 Mar 2014 05:19:49 GMT
Fixed.

On Fri, Feb 28, 2014 at 6:45 PM, Apache Jenkins Server
<jenkins@builds.apache.org> wrote:
> See <https://builds.apache.org/job/Aurora/150/changes>
>
> Changes:
>
> [skarumuri] Added non-prod consumption info to getQuota call.
>
> ------------------------------------------
> [...truncated 3583 lines...]
> collecting ... collected 6 items
>
> src/test/python/apache/aurora/client/api/test_restarter.py <- ../../../../../tmp/tmpf6dgfW/.deps/mox-0.5.3-py2.7.egg/mox.py:1858:
TestRestarter.test_restart_all_instances PASSED
> src/test/python/apache/aurora/client/api/test_restarter.py <- ../../../../../tmp/tmpf6dgfW/.deps/mox-0.5.3-py2.7.egg/mox.py:1858:
TestRestarter.test_restart_instance_fails ERROR:root:Error restarting instances: test error
> PASSED
> src/test/python/apache/aurora/client/api/test_restarter.py <- ../../../../../tmp/tmpf6dgfW/.deps/mox-0.5.3-py2.7.egg/mox.py:1858:
TestRestarter.test_restart_instances_watch_fails ERROR:root:2 failed instances observed, maximum
allowed is 0
> ERROR:root:1 instance failures for instance 0, maximum allowed is 0
> ERROR:root:1 instance failures for instance 1, maximum allowed is 0
> ERROR:root:2 failed instances observed, maximum allowed is 0
> ERROR:root:1 instance failures for instance 0, maximum allowed is 0
> ERROR:root:1 instance failures for instance 1, maximum allowed is 0
> PASSED
> src/test/python/apache/aurora/client/api/test_restarter.py <- ../../../../../tmp/tmpf6dgfW/.deps/mox-0.5.3-py2.7.egg/mox.py:1858:
TestRestarter.test_restart_no_instance_active PASSED
> src/test/python/apache/aurora/client/api/test_restarter.py <- ../../../../../tmp/tmpf6dgfW/.deps/mox-0.5.3-py2.7.egg/mox.py:1858:
TestRestarter.test_restart_one_iteration PASSED
> src/test/python/apache/aurora/client/api/test_restarter.py <- ../../../../../tmp/tmpf6dgfW/.deps/mox-0.5.3-py2.7.egg/mox.py:1858:
TestRestarter.test_rolling_restart PASSED
>
> =========================== 6 passed in 0.65 seconds ===========================
> ============================= test session starts ==============================
> platform linux2 -- Python 2.7.3 -- py-1.4.20 -- pytest-2.5.2 -- /usr/bin/python2.7
> collecting ... collected 47 items / 1 skipped
>
> src/test/python/apache/aurora/client/api/test_scheduler_client.py:39: test_testCoverage
PASSED
> src/test/python/apache/aurora/client/api/test_scheduler_client.py:189: TestSchedulerProxyInjection.test_acquireLock
PASSED
> src/test/python/apache/aurora/client/api/test_scheduler_client.py:182: TestSchedulerProxyInjection.test_addInstances
PASSED
> src/test/python/apache/aurora/client/api/test_scheduler_client.py:91: TestSchedulerProxyInjection.test_createJob
PASSED
> src/test/python/apache/aurora/client/api/test_scheduler_client.py:154: TestSchedulerProxyInjection.test_drainHosts
PASSED
> src/test/python/apache/aurora/client/api/test_scheduler_client.py:168: TestSchedulerProxyInjection.test_endMaintenance
PASSED
> src/test/python/apache/aurora/client/api/test_scheduler_client.py:126: TestSchedulerProxyInjection.test_getJobs
PASSED
> src/test/python/apache/aurora/client/api/test_scheduler_client.py:140: TestSchedulerProxyInjection.test_getQuota
PASSED
> src/test/python/apache/aurora/client/api/test_scheduler_client.py:119: TestSchedulerProxyInjection.test_getTasksStatus
PASSED
> src/test/python/apache/aurora/client/api/test_scheduler_client.py:175: TestSchedulerProxyInjection.test_getVersion
PASSED
> src/test/python/apache/aurora/client/api/test_scheduler_client.py:133: TestSchedulerProxyInjection.test_killTasks
PASSED
> src/test/python/apache/aurora/client/api/test_scheduler_client.py:161: TestSchedulerProxyInjection.test_maintenanceStatus
PASSED
> src/test/python/apache/aurora/client/api/test_scheduler_client.py:105: TestSchedulerProxyInjection.test_populateJobConfig
PASSED
> src/test/python/apache/aurora/client/api/test_scheduler_client.py:196: TestSchedulerProxyInjection.test_releaseLock
PASSED
> src/test/python/apache/aurora/client/api/test_scheduler_client.py:98: TestSchedulerProxyInjection.test_replaceCronTemplate
PASSED
> src/test/python/apache/aurora/client/api/test_scheduler_client.py:112: TestSchedulerProxyInjection.test_restartShards
PASSED
> src/test/python/apache/aurora/client/api/test_scheduler_client.py:84: TestSchedulerProxyInjection.test_startCronJob
PASSED
> src/test/python/apache/aurora/client/api/test_scheduler_client.py:147: TestSchedulerProxyInjection.test_startMaintenance
PASSED
> src/test/python/apache/aurora/client/api/test_scheduler_client.py:189: TestSchedulerProxyAdminInjection.test_acquireLock
PASSED
> src/test/python/apache/aurora/client/api/test_scheduler_client.py:182: TestSchedulerProxyAdminInjection.test_addInstances
PASSED
> src/test/python/apache/aurora/client/api/test_scheduler_client.py:254: TestSchedulerProxyAdminInjection.test_commitRecovery
PASSED
> src/test/python/apache/aurora/client/api/test_scheduler_client.py:91: TestSchedulerProxyAdminInjection.test_createJob
PASSED
> src/test/python/apache/aurora/client/api/test_scheduler_client.py:247: TestSchedulerProxyAdminInjection.test_deleteRecoveryTasks
PASSED
> src/test/python/apache/aurora/client/api/test_scheduler_client.py:154: TestSchedulerProxyAdminInjection.test_drainHosts
PASSED
> src/test/python/apache/aurora/client/api/test_scheduler_client.py:168: TestSchedulerProxyAdminInjection.test_endMaintenance
PASSED
> src/test/python/apache/aurora/client/api/test_scheduler_client.py:212: TestSchedulerProxyAdminInjection.test_forceTaskState
PASSED
> src/test/python/apache/aurora/client/api/test_scheduler_client.py:126: TestSchedulerProxyAdminInjection.test_getJobs
PASSED
> src/test/python/apache/aurora/client/api/test_scheduler_client.py:140: TestSchedulerProxyAdminInjection.test_getQuota
PASSED
> src/test/python/apache/aurora/client/api/test_scheduler_client.py:119: TestSchedulerProxyAdminInjection.test_getTasksStatus
PASSED
> src/test/python/apache/aurora/client/api/test_scheduler_client.py:175: TestSchedulerProxyAdminInjection.test_getVersion
PASSED
> src/test/python/apache/aurora/client/api/test_scheduler_client.py:133: TestSchedulerProxyAdminInjection.test_killTasks
PASSED
> src/test/python/apache/aurora/client/api/test_scheduler_client.py:226: TestSchedulerProxyAdminInjection.test_listBackups
PASSED
> src/test/python/apache/aurora/client/api/test_scheduler_client.py:161: TestSchedulerProxyAdminInjection.test_maintenanceStatus
PASSED
> src/test/python/apache/aurora/client/api/test_scheduler_client.py:219: TestSchedulerProxyAdminInjection.test_performBackup
PASSED
> src/test/python/apache/aurora/client/api/test_scheduler_client.py:105: TestSchedulerProxyAdminInjection.test_populateJobConfig
PASSED
> src/test/python/apache/aurora/client/api/test_scheduler_client.py:240: TestSchedulerProxyAdminInjection.test_queryRecovery
PASSED
> src/test/python/apache/aurora/client/api/test_scheduler_client.py:196: TestSchedulerProxyAdminInjection.test_releaseLock
PASSED
> src/test/python/apache/aurora/client/api/test_scheduler_client.py:98: TestSchedulerProxyAdminInjection.test_replaceCronTemplate
PASSED
> src/test/python/apache/aurora/client/api/test_scheduler_client.py:112: TestSchedulerProxyAdminInjection.test_restartShards
PASSED
> src/test/python/apache/aurora/client/api/test_scheduler_client.py:275: TestSchedulerProxyAdminInjection.test_rewriteConfigs
PASSED
> src/test/python/apache/aurora/client/api/test_scheduler_client.py:205: TestSchedulerProxyAdminInjection.test_setQuota
PASSED
> src/test/python/apache/aurora/client/api/test_scheduler_client.py:268: TestSchedulerProxyAdminInjection.test_snapshot
PASSED
> src/test/python/apache/aurora/client/api/test_scheduler_client.py:233: TestSchedulerProxyAdminInjection.test_stageRecovery
PASSED
> src/test/python/apache/aurora/client/api/test_scheduler_client.py:84: TestSchedulerProxyAdminInjection.test_startCronJob
PASSED
> src/test/python/apache/aurora/client/api/test_scheduler_client.py:147: TestSchedulerProxyAdminInjection.test_startMaintenance
PASSED
> src/test/python/apache/aurora/client/api/test_scheduler_client.py:261: TestSchedulerProxyAdminInjection.test_unloadRecovery
PASSED
> src/test/python/apache/aurora/client/api/test_scheduler_client.py:291: TestZookeeperSchedulerClient.test_url_when_not_connected_and_cluster_has_no_proxy_url
PASSED
>
> ===================== 47 passed, 1 skipped in 4.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 20 items
>
> src/test/python/apache/aurora/client/api/test_instance_watcher.py:148: InstanceWatcherTest.test_all_instance_failure
PASSED
> src/test/python/apache/aurora/client/api/test_instance_watcher.py:138: InstanceWatcherTest.test_io_failure
ERROR:root:IO Exception during scheduler call: oops
> ERROR:root:IO Exception during scheduler call: oops
> ERROR:root:IO Exception during scheduler call: oops
> ERROR:root:IO Exception during scheduler call: oops
> ERROR:root:IO Exception during scheduler call: oops
> ERROR:root:IO Exception during scheduler call: oops
> ERROR:root:IO Exception during scheduler call: oops
> ERROR:root:IO Exception during scheduler call: oops
> ERROR:root:IO Exception during scheduler call: oops
> ERROR:root:IO Exception during scheduler call: oops
> ERROR:root:IO Exception during scheduler call: oops
> ERROR:root:IO Exception during scheduler call: oops
> ERROR:root:IO Exception during scheduler call: oops
> ERROR:root:IO Exception during scheduler call: oops
> ERROR:root:IO Exception during scheduler call: oops
> ERROR:root:IO Exception during scheduler call: oops
> ERROR:root:IO Exception during scheduler call: oops
> ERROR:root:IO Exception during scheduler call: oops
> PASSED
> src/test/python/apache/aurora/client/api/test_instance_watcher.py:168: InstanceWatcherTest.test_restart_threshold
PASSED
> src/test/python/apache/aurora/client/api/test_instance_watcher.py:158: InstanceWatcherTest.test_restart_threshold_fail_fast
PASSED
> src/test/python/apache/aurora/client/api/test_instance_watcher.py:128: InstanceWatcherTest.test_single_instance_failure
PASSED
> src/test/python/apache/aurora/client/api/test_instance_watcher.py:195: InstanceWatcherTest.test_single_watch_period_failure
PASSED
> src/test/python/apache/aurora/client/api/test_instance_watcher.py:118: InstanceWatcherTest.test_successful_watch
PASSED
> src/test/python/apache/aurora/client/api/test_instance_watcher.py:182: InstanceWatcherTest.test_watch_period_failure
PASSED
> src/test/python/apache/aurora/client/api/test_health_check.py:95: HealthCheckTest.test_changed_task_id
PASSED
> src/test/python/apache/aurora/client/api/test_health_check.py:137: HealthCheckTest.test_failed_primary_health_check
PASSED
> src/test/python/apache/aurora/client/api/test_health_check.py:148: HealthCheckTest.test_failed_secondary_health_check
PASSED
> src/test/python/apache/aurora/client/api/test_health_check.py:88: HealthCheckTest.test_failed_status_health_check
PASSED
> src/test/python/apache/aurora/client/api/test_health_check.py:158: HealthCheckTest.test_health_statuses
PASSED
> src/test/python/apache/aurora/client/api/test_health_check.py:102: HealthCheckTest.test_http_health_check
PASSED
> src/test/python/apache/aurora/client/api/test_health_check.py:165: HealthCheckTest.test_instancewatcher_health_check
PASSED
> src/test/python/apache/aurora/client/api/test_health_check.py:172: HealthCheckTest.test_instancewatcher_http_health_check
PASSED
> src/test/python/apache/aurora/client/api/test_health_check.py:181: HealthCheckTest.test_instancewatcher_http_health_check_one_http_signaler
PASSED
> src/test/python/apache/aurora/client/api/test_health_check.py:127: HealthCheckTest.test_simple_chained_health_check
PASSED
> src/test/python/apache/aurora/client/api/test_health_check.py:81: HealthCheckTest.test_simple_status_health_check
PASSED
> src/test/python/apache/aurora/client/api/test_health_check.py:113: HealthCheckTest.test_unmatched_host_port
PASSED
>
> ========================== 20 passed in 0.28 seconds ===========================
> ============================= test session starts ==============================
> platform linux2 -- Python 2.7.3 -- py-1.4.20 -- pytest-2.5.2 -- /usr/bin/python2.7
> collecting ... collected 27 items
>
> src/test/python/apache/aurora/client/api/test_updater.py:751: UpdaterTest.test_diff_unordered_configs
PASSED
> src/test/python/apache/aurora/client/api/test_updater.py:721: UpdaterTest.test_failed_unretryable_do_not_cause_rollback
ERROR:root:Failed instances: set([0])
> ERROR:root:Failed instances: set([0])
> ERROR:root:Failed instances: set([0])
> WARNING:root:Not restarting failed instances [0], which exceeded maximum allowed instance
failure limit of 2
> PASSED
> src/test/python/apache/aurora/client/api/test_updater.py:605: UpdaterTest.test_finish_invalid_response
ERROR:root:There was an error finalizing the update: test
> PASSED
> src/test/python/apache/aurora/client/api/test_updater.py:269: UpdaterTest.test_grow PASSED
> src/test/python/apache/aurora/client/api/test_updater.py:289: UpdaterTest.test_grow_fails_quota_check
PASSED
> src/test/python/apache/aurora/client/api/test_updater.py:394: UpdaterTest.test_grow_with_instance_option
PASSED
> src/test/python/apache/aurora/client/api/test_updater.py:671: UpdaterTest.test_instances_outside_range
PASSED
> src/test/python/apache/aurora/client/api/test_updater.py:618: UpdaterTest.test_invalid_batch_size
PASSED
> src/test/python/apache/aurora/client/api/test_updater.py:625: UpdaterTest.test_invalid_restart_threshold
PASSED
> src/test/python/apache/aurora/client/api/test_updater.py:632: UpdaterTest.test_invalid_watch_secs
PASSED
> src/test/python/apache/aurora/client/api/test_updater.py:656: UpdaterTest.test_job_does_not_exist
PASSED
> src/test/python/apache/aurora/client/api/test_updater.py:469: UpdaterTest.test_noop_update
PASSED
> src/test/python/apache/aurora/client/api/test_updater.py:451: UpdaterTest.test_patch_hole_with_instance_option
PASSED
> src/test/python/apache/aurora/client/api/test_updater.py:305: UpdaterTest.test_shrink
PASSED
> src/test/python/apache/aurora/client/api/test_updater.py:412: UpdaterTest.test_shrink_with_instance_option
PASSED
> src/test/python/apache/aurora/client/api/test_updater.py:597: UpdaterTest.test_start_invalid_response
PASSED
> src/test/python/apache/aurora/client/api/test_updater.py:555: UpdaterTest.test_update_after_restart
ERROR:root:Failed instances: set([0, 1, 2])
> PASSED
> src/test/python/apache/aurora/client/api/test_updater.py:324: UpdaterTest.test_update_and_grow
PASSED
> src/test/python/apache/aurora/client/api/test_updater.py:348: UpdaterTest.test_update_and_shrink
PASSED
> src/test/python/apache/aurora/client/api/test_updater.py:584: UpdaterTest.test_update_cron_job
PASSED
> src/test/python/apache/aurora/client/api/test_updater.py:371: UpdaterTest.test_update_instances
PASSED
> src/test/python/apache/aurora/client/api/test_updater.py:639: UpdaterTest.test_update_invalid_response
PASSED
> src/test/python/apache/aurora/client/api/test_updater.py:774: UpdaterTest.test_update_no_rollback
ERROR:root:Failed instances: set([0, 1, 2])
> ERROR:root:Failed instances: set([0, 1, 2])
> WARNING:root:Not restarting failed instances [0, 1, 2], which exceeded maximum allowed
instance failure limit of 1
> ERROR:root:3 failed instances observed, maximum allowed is 2
> ERROR:root:2 instance failures for instance 0, maximum allowed is 1
> ERROR:root:2 instance failures for instance 1, maximum allowed is 1
> ERROR:root:2 instance failures for instance 2, maximum allowed is 1
> ERROR:root:3 failed instances observed, maximum allowed is 2
> ERROR:root:2 instance failures for instance 0, maximum allowed is 1
> ERROR:root:2 instance failures for instance 1, maximum allowed is 1
> ERROR:root:2 instance failures for instance 2, maximum allowed is 1
> ERROR:root:3 failed instances observed, maximum allowed is 2
> ERROR:root:2 instance failures for instance 0, maximum allowed is 1
> ERROR:root:2 instance failures for instance 1, maximum allowed is 1
> ERROR:root:2 instance failures for instance 2, maximum allowed is 1
> WARNING:root:Update failures threshold reached
> PASSED
> src/test/python/apache/aurora/client/api/test_updater.py:485: UpdaterTest.test_update_rollback
ERROR:root:Failed instances: set([0, 1, 2])
> ERROR:root:Failed instances: set([0, 1, 2])
> WARNING:root:Not restarting failed instances [0, 1, 2], which exceeded maximum allowed
instance failure limit of 1
> ERROR:root:3 failed instances observed, maximum allowed is 2
> ERROR:root:2 instance failures for instance 0, maximum allowed is 1
> ERROR:root:2 instance failures for instance 1, maximum allowed is 1
> ERROR:root:2 instance failures for instance 2, maximum allowed is 1
> ERROR:root:3 failed instances observed, maximum allowed is 2
> ERROR:root:2 instance failures for instance 0, maximum allowed is 1
> ERROR:root:2 instance failures for instance 1, maximum allowed is 1
> ERROR:root:2 instance failures for instance 2, maximum allowed is 1
> ERROR:root:3 failed instances observed, maximum allowed is 2
> ERROR:root:2 instance failures for instance 0, maximum allowed is 1
> ERROR:root:2 instance failures for instance 1, maximum allowed is 1
> ERROR:root:2 instance failures for instance 2, maximum allowed is 1
> WARNING:root:Update failures threshold reached
> PASSED
> src/test/python/apache/aurora/client/api/test_updater.py:514: UpdaterTest.test_update_rollback_sorted
ERROR:root:Failed instances: set([2])
> ERROR:root:Failed instances: set([2])
> WARNING:root:Not restarting failed instances [2], which exceeded maximum allowed instance
failure limit of 1
> ERROR:root:1 failed instances observed, maximum allowed is 0
> ERROR:root:2 instance failures for instance 2, maximum allowed is 1
> ERROR:root:1 failed instances observed, maximum allowed is 0
> ERROR:root:2 instance failures for instance 2, maximum allowed is 1
> ERROR:root:1 failed instances observed, maximum allowed is 0
> ERROR:root:2 instance failures for instance 2, maximum allowed is 1
> WARNING:root:Update failures threshold reached
> PASSED
> src/test/python/apache/aurora/client/api/test_updater.py:686: UpdaterTest.test_update_skips_unretryable
ERROR:root:Failed instances: set([0])
> ERROR:root:Failed instances: set([0])
> ERROR:root:Failed instances: set([0])
> WARNING:root:Not restarting failed instances [0], which exceeded maximum allowed instance
failure limit of 2
> PASSED
> src/test/python/apache/aurora/client/api/test_updater.py:430: UpdaterTest.test_update_with_instance_option
PASSED
>
> ========================== 27 passed in 0.60 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/client/api/test_quota_check.py:95: QuotaCheckTest.test_fail
FAILED
>
> =================================== FAILURES ===================================
> ___________________________ QuotaCheckTest.test_fail ___________________________
>
> self = <test_quota_check.QuotaCheckTest testMethod=test_fail>
>
>     def test_fail(self):
>       allocated = ResourceAggregate(numCpus=50.0, ramMb=1000, diskMb=3000)
>       consumed = ResourceAggregate(numCpus=25.0, ramMb=500, diskMb=2000)
>       released = CapacityRequest(ResourceAggregate(numCpus=5.0, ramMb=100, diskMb=500))
>       acquired = CapacityRequest(ResourceAggregate(numCpus=35.0, ramMb=300, diskMb=800))
>
>>     self.mock_get_quota(allocated, consumed)
>
> src/test/python/apache/aurora/client/api/test_quota_check.py:101:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> self = <test_quota_check.QuotaCheckTest testMethod=test_fail>
> allocated = ResourceAggregate(ramMb=1000, diskMb=3000, numCpus=50.0)
> consumed = ResourceAggregate(ramMb=500, diskMb=2000, numCpus=25.0)
> response_code = 1
>
>     def mock_get_quota(self, allocated, consumed, response_code=None):
>       response_code = ResponseCode.OK if response_code is None else response_code
>
>       resp = Response(responseCode=response_code, message='test')
>       resp.result = Result(
>>         getQuotaResult=GetQuotaResult(quota=deepcopy(allocated), consumed=deepcopy(consumed)))
> E     TypeError: __init__() got an unexpected keyword argument 'consumed'
>
> src/test/python/apache/aurora/client/api/test_quota_check.py:49: TypeError
> !!!!!!!!!!!!!!!!!!!! Interrupted: stopping after 1 failures !!!!!!!!!!!!!!!!!!!!
> =========================== 1 failed in 0.72 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                            .....
  FAILURE
> 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.binding_helper                             .....
  SUCCESS
> src.test.python.apache.aurora.client.config                                     .....
  SUCCESS
> Build step 'Execute shell' marked build as failure

Mime
View raw message