shard_client_integration_test is broken |
|||||
Issue description
$ python ./scheduler/shard/shard_client_integration_tests.py
WARNING:root:/usr/local/google/home/akeshet/chromiumos/src/third_party/autotest/files/scheduler/scheduler_models.py:183: DeprecationWarning: object() takes no parameters
return super(DBObject, cls).__new__(cls, id=id, **kwargs)
INFO:root:Setting leased = False for the hosts that match {'hostname__in': [u'host1', u'host2', u'host3', u'host4', u'host5', u'host6', u'host7', u'host8', u'host9']}
INFO:root:HQE: 1, for job: 1 and host: no host has status:Queued -> Completed
DEBUG:root:Update Field Complete
DEBUG:root:HQE Set Status Complete
EINFO:root:Setting leased = False for the hosts that match {'hostname__in': [u'host1', u'host2', u'host3', u'host4', u'host5', u'host6', u'host7', u'host8', u'host9']}
.INFO:root:Setting leased = False for the hosts that match {'hostname__in': [u'host1', u'host2', u'host3', u'host4', u'host5', u'host6', u'host7', u'host8', u'host9']}
INFO:root:HQE: 1, for job: 1 and host: no host has status:Queued -> Completed
DEBUG:root:Update Field Complete
DEBUG:root:HQE Set Status Complete
EINFO:root:Setting leased = False for the hosts that match {'hostname__in': [u'host1', u'host2', u'host3', u'host4', u'host5', u'host6', u'host7', u'host8', u'host9']}
.
======================================================================
ERROR: testCompleteStatusBasic (__main__.ShardClientIntegrationTest)
Test that complete jobs are uploaded properly.
----------------------------------------------------------------------
Traceback (most recent call last):
File "./scheduler/shard/shard_client_integration_tests.py", line 51, in testCompleteStatusBasic
job_ids, host_ids = client._get_known_ids()
AttributeError: 'ShardClient' object has no attribute '_get_known_ids'
======================================================================
ERROR: testOnlyShardId (__main__.ShardClientIntegrationTest)
Test that setting only the shardid prevents the job from upload.
----------------------------------------------------------------------
Traceback (most recent call last):
File "./scheduler/shard/shard_client_integration_tests.py", line 92, in testOnlyShardId
job_ids, host_ids = client._get_known_ids()
AttributeError: 'ShardClient' object has no attribute '_get_known_ids'
----------------------------------------------------------------------
Ran 4 tests in 2.134s
FAILED (errors=2)
git bisect reveals that it was broken by https://chromium-review.googlesource.com/#/c/357330/
,
Mar 23 2017
Actually was broken by https://chromium-review.googlesource.com/#/c/287615/ but have a fix available https://chromium-review.googlesource.com/#/c/457928/
,
Mar 23 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/third_party/autotest/+/6358168009dad043ff738fb1cdfb31e2ed2a2ba6 commit 6358168009dad043ff738fb1cdfb31e2ed2a2ba6 Author: Aviv Keshet <akeshet@chromium.org> Date: Thu Mar 23 08:35:16 2017 autotest: fix shard_client_integration_test BUG= chromium:704400 TEST=shard_client_integration_test Change-Id: I67b55b410270b27158b449088272bd2294e73951 Reviewed-on: https://chromium-review.googlesource.com/457928 Commit-Ready: Aviv Keshet <akeshet@chromium.org> Tested-by: Aviv Keshet <akeshet@chromium.org> Reviewed-by: Dan Shi <dshi@google.com> [modify] https://crrev.com/6358168009dad043ff738fb1cdfb31e2ed2a2ba6/scheduler/shard/shard_client_integration_tests.py
,
Mar 23 2017
,
May 30 2017
,
Aug 1 2017
,
Jan 22 2018
|
|||||
►
Sign in to add a comment |
|||||
Comment 1 by akes...@chromium.org
, Mar 23 2017