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

Issue 806529 link

Starred by 3 users

Issue metadata

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



Sign in to add a comment

Risk_report: TypeError when we can't reach CL-Scanner service.

Project Member Reported by pho...@chromium.org, Jan 27 2018

Issue description

GetCLRiskReport now returns a dictionary of step links, so we need to keep that consistent when we catch an exception.
 

Comment 1 by pho...@chromium.org, Jan 29 2018

Cc: pho...@chromium.org akes...@chromium.org abhishekbh@chromium.org ravisadineni@chromium.org
 Issue 806688  has been merged into this issue.
Project Member

Comment 2 by bugdroid1@chromium.org, Jan 30 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/chromite/+/bb167004f675bc481a8d0e8141136dfac1a8f311

commit bb167004f675bc481a8d0e8141136dfac1a8f311
Author: Paul Hobbs <phobbs@google.com>
Date: Tue Jan 30 00:38:28 2018

risk_report: Fix TypeError when unable to reach service

The type of GetCLRiskReport is now int -> Dict[str, str], so we can't return a
string when we encounter an exception trying to reach CL-Scanner.

BUG= chromium:806529 
TEST=unit test

Change-Id: Ia2818c7d6558e466f773ee327878b34a6d1ce89d
Reviewed-on: https://chromium-review.googlesource.com/890459
Commit-Ready: Paul Hobbs <phobbs@google.com>
Tested-by: Paul Hobbs <phobbs@google.com>
Reviewed-by: Paul Hobbs <phobbs@google.com>
Reviewed-by: Ningning Xia <nxia@chromium.org>

[modify] https://crrev.com/bb167004f675bc481a8d0e8141136dfac1a8f311/lib/risk_report.py

Status: Fixed (was: Started)

Sign in to add a comment