New issue
Advanced search Search tips

Issue 613574 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Jun 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug



Sign in to add a comment

Swarmbucket: add support for blamelist

Project Member Reported by no...@chromium.org, May 20 2016

Issue description

Currently tryjobs scheduled on swarmbucket and displayed on milo do not mention the user who scheduled the job. On buildbot "blamelist" property contains it.

Example: https://luci-milo.appspot.com/swarming/prod/2ee4a4b86a844610
 

Comment 1 by estaab@chromium.org, May 20 2016

Owner: estaab@chromium.org
Status: Assigned (was: Untriaged)
This depends on info in Revision and Build entities to calculate - I will work on this.

Comment 2 by estaab@chromium.org, May 20 2016

Oops, I didn't see this was for swarmbucket. I want to calculate this on the milo side. Is there a reason we need this in buildbucket?

Comment 3 by no...@chromium.org, May 20 2016

In general, buildbot and buildbucket supports a list of change per build, where a change includes person email, revision, revision link, etc. This bug is scopes to "blamelist" property.

Currently swarmbucket has information about change, but does not set list of emails to blamelist property. This needs to be fixed. A blamelist property is enough for now, I think. I am not sure people pay attention to "changes" displayed on buildbot build page below steps.

Comment 4 by no...@chromium.org, May 20 2016

Owner: no...@chromium.org

Comment 5 by estaab@chromium.org, May 20 2016

Are the list of changes provided by the client to buildbucket? luci-cron won't have access to the previous builds and won't be able to calculate the list. If buildbucket can calculate it that sounds fine.

Comment 6 by no...@chromium.org, May 20 2016

I was mostly concerned about tryjobs, buildbucket has change information for tryjob builds.

If we implement CI builds as a cron job, then buildbucket won't have information  about changes indeed. I guess we won't have blamelist in that case. When we implement CI builds as gitiles poller/listener in (future) scheduling service, the change information will be present.

Let's scope this bug to tryjobs.

Comment 7 by estaab@chromium.org, May 20 2016

sgtm

Comment 8 by no...@chromium.org, May 30 2016

Labels: luci

Comment 9 by estaab@chromium.org, May 31 2016

Components: Infra>Platform>Buildbucket
Status: Started (was: Assigned)
Project Member

Comment 11 by bugdroid1@chromium.org, Jun 7 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/infra/infra.git/+/3df91a50eede9cafd7011f1b6bc6b7833d5b6ef8

commit 3df91a50eede9cafd7011f1b6bc6b7833d5b6ef8
Author: nodir <nodir@chromium.org>
Date: Tue Jun 07 22:42:01 2016

swarmbucket: add support for blamelist

Convert "changes" build parameter in format supported by
Buildbot-Buildbucket integration to "blamelist" build property in format
supported by Buildbot (list of emails) and expected by recipes

R=estaab@chromium.org, vadimsh@chromium.org
BUG= 613574 

Review-Url: https://codereview.chromium.org/2044253002

[modify] https://crrev.com/3df91a50eede9cafd7011f1b6bc6b7833d5b6ef8/appengine/cr-buildbucket/swarming/swarming.py
[modify] https://crrev.com/3df91a50eede9cafd7011f1b6bc6b7833d5b6ef8/appengine/cr-buildbucket/swarming/test/swarming_test.py

Comment 12 by no...@chromium.org, Jun 14 2016

Status: ix (was: Started)

Comment 13 by no...@chromium.org, Jun 14 2016

Status: Fix (was: ix)

Comment 14 by no...@chromium.org, Jun 14 2016

Status: Fixed (was: Fix)

Sign in to add a comment