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

Issue 863562 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Aug 17
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug



Sign in to add a comment

Add support for the NO_RESOURCE swarming status

Project Member Reported by robert...@chromium.org, Jul 13

Issue description

When swarming lacks a bot capable of running a given swarming job, it returns NO_RESOURCE.

We currently don't have support for such error code in Findit.
 
Project Member

Comment 2 by bugdroid1@chromium.org, Jul 13

The following revision refers to this bug:
  https://chromium.googlesource.com/infra/infra/+/351d21f80e6297fdb16b4151a1115cfdf041ee21

commit 351d21f80e6297fdb16b4151a1115cfdf041ee21
Author: Roberto Carrillo <robertocn@google.com>
Date: Fri Jul 13 21:17:09 2018

[Findit] Add support for swarming's NO_RESOURCE status.

This status will be returned when there are no alive bots that can serve
the request (either bots are not there, all available ones are dead or
quarantined).

Also adding to the error log the task_id for debugging.

R=chanli

Bug:  863562 
Change-Id: I271775e230dc84203974708524972ef342acb53f
Reviewed-on: https://chromium-review.googlesource.com/1137018
Reviewed-by: Chan Li <chanli@chromium.org>
Commit-Queue: Roberto Carrillo <robertocn@chromium.org>

[modify] https://crrev.com/351d21f80e6297fdb16b4151a1115cfdf041ee21/appengine/findit/services/swarmed_test_util.py
[modify] https://crrev.com/351d21f80e6297fdb16b4151a1115cfdf041ee21/appengine/findit/services/constants.py
[modify] https://crrev.com/351d21f80e6297fdb16b4151a1115cfdf041ee21/appengine/findit/dto/swarming_task_error.py

Status: Fixed (was: Assigned)

Sign in to add a comment