Recent Pre-CQ runs are all failing:
https://cros-goldeneye.corp.google.com/chromeos/legoland/builderHistory?buildConfig=lakitu-no-vmtest-pre-cq&buildBranch=master
Error is:
autotest-0.0.2-r9759: ======================================================================
autotest-0.0.2-r9759: ERROR: test_broken (autotest_lib.site_utils.lab_inventory_unittest.HostSetInventoryTestCase)
autotest-0.0.2-r9759: Test counting for broken DUTs.
autotest-0.0.2-r9759: ----------------------------------------------------------------------
autotest-0.0.2-r9759: Traceback (most recent call last):
autotest-0.0.2-r9759: File "/build/lakitu/tmp/portage/chromeos-base/autotest-0.0.2-r9759/work/autotest-0.0.2/site_utils/lab_inventory_unittest.py", line 108, in test_broken
autotest-0.0.2-r9759: self._check_counts(0, 1, 0)
autotest-0.0.2-r9759: File "/build/lakitu/tmp/portage/chromeos-base/autotest-0.0.2-r9759/work/autotest-0.0.2/site_utils/lab_inventory_unittest.py", line 95, in _check_counts
autotest-0.0.2-r9759: self.assertEqual(self.histories.get_working(), working)
autotest-0.0.2-r9759: File "/build/lakitu/tmp/portage/chromeos-base/autotest-0.0.2-r9759/work/autotest-0.0.2/site_utils/lab_inventory.py", line 244, in get_working
autotest-0.0.2-r9759: return len(self.get_working_list())
autotest-0.0.2-r9759: File "/build/lakitu/tmp/portage/chromeos-base/autotest-0.0.2-r9759/work/autotest-0.0.2/site_utils/lab_inventory.py", line 239, in get_working_list
autotest-0.0.2-r9759: if _host_is_working(h)]
autotest-0.0.2-r9759: File "/build/lakitu/tmp/portage/chromeos-base/autotest-0.0.2-r9759/work/autotest-0.0.2/site_utils/lab_inventory.py", line 161, in _host_is_working
autotest-0.0.2-r9759: return _get_diagnosis(history).status == status_history.WORKING
autotest-0.0.2-r9759: File "/build/lakitu/tmp/portage/chromeos-base/autotest-0.0.2-r9759/work/autotest-0.0.2/site_utils/lab_inventory.py", line 149, in _get_diagnosis
autotest-0.0.2-r9759: and diagnosis.task.end_time < history.start_time):
autotest-0.0.2-r9759: AttributeError: 'NoneType' object has no attribute 'end_time'
I believe it's caused by chump of
https://chromium-review.googlesource.com/c/chromiumos/third_party/autotest/+/1226921
Comment 1 by bugdroid1@chromium.org
, Sep 20