New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 827330 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Apr 2018
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug

Blocking:
issue 825051



Sign in to add a comment

Do not crash shard_client with MultipleObjectsReturned exception

Project Member Reported by nxia@chromium.org, Mar 29 2018

Issue description

_remove_incorrect_hosts threw MultipleObjectsReturned and crashed shard_cient. Fix it by catching the error and logging errors instead.
 

Comment 1 by nxia@chromium.org, Mar 29 2018

Blocking: 825051

Comment 2 by nxia@chromium.org, Mar 29 2018

Description: Show this description
Project Member

Comment 3 by bugdroid1@chromium.org, Mar 30 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/autotest/+/cdc2310f288555f91078babb02c151bc1dbe6cbd

commit cdc2310f288555f91078babb02c151bc1dbe6cbd
Author: Ningning Xia <nxia@google.com>
Date: Fri Mar 30 21:40:12 2018

Do not crash shard_client with MultipleObjectsReturned exception

BUG= chromium:827330 
TEST=unit test

Change-Id: I22d3bcc4ac9c041bc350f1741898728d0b0aff31
Reviewed-on: https://chromium-review.googlesource.com/986925
Commit-Ready: Ningning Xia <nxia@chromium.org>
Tested-by: Ningning Xia <nxia@chromium.org>
Reviewed-by: Ningning Xia <nxia@chromium.org>

[modify] https://crrev.com/cdc2310f288555f91078babb02c151bc1dbe6cbd/scheduler/shard/shard_client.py
[modify] https://crrev.com/cdc2310f288555f91078babb02c151bc1dbe6cbd/scheduler/shard/shard_client_unittest.py

Status: Fixed (was: Untriaged)

Sign in to add a comment