New issue
Advanced search Search tips

Issue 645616 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Nov 2016
Cc:
Components:
EstimatedDays: ----
NextAction: 2016-10-17
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

CQ && recipes: refactor gerrit tryjob properties

Project Member Reported by tandrii@chromium.org, Sep 9 2016

Issue description

1. CQ: use $HOST/project/path instead of project/path
2. rename weird event.ref etc.
 
Labels: Type-Bug
I mark it as a bug because this legacy really should be cleaned up.
Labels: -Pri-2 Milestone-Launch Pri-3
Project Member

Comment 5 by bugdroid1@chromium.org, Oct 25 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/tools/depot_tools.git/+/51a7b096ca3e9a16e175794de001f9f04e066839

commit 51a7b096ca3e9a16e175794de001f9f04e066839
Author: tandrii <tandrii@chromium.org>
Date: Tue Oct 25 13:38:28 2016

bot_update: understand new Gerrit patch properties.

This change is backwards compatible, so no expectation changes expected
in downstream rolls.

Depends on https://codereview.chromium.org/2442173003 recipe_engine
change.

BUG= 645616 
R=martiniss@chromium.org,machenbach@chromium.org

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

[modify] https://crrev.com/51a7b096ca3e9a16e175794de001f9f04e066839/recipe_modules/bot_update/__init__.py
[modify] https://crrev.com/51a7b096ca3e9a16e175794de001f9f04e066839/recipe_modules/bot_update/api.py
[modify] https://crrev.com/51a7b096ca3e9a16e175794de001f9f04e066839/recipe_modules/bot_update/example.expected/tryjob_gerrit_angle.json
[add] https://crrev.com/51a7b096ca3e9a16e175794de001f9f04e066839/recipe_modules/bot_update/example.expected/tryjob_gerrit_angle_deprecated.json
[modify] https://crrev.com/51a7b096ca3e9a16e175794de001f9f04e066839/recipe_modules/bot_update/example.py
[modify] https://crrev.com/51a7b096ca3e9a16e175794de001f9f04e066839/recipe_modules/tryserver/api.py
[add] https://crrev.com/51a7b096ca3e9a16e175794de001f9f04e066839/recipe_modules/tryserver/example.expected/with_gerrit_patch.json
[add] https://crrev.com/51a7b096ca3e9a16e175794de001f9f04e066839/recipe_modules/tryserver/example.expected/with_gerrit_patch_deprecated.json
[modify] https://crrev.com/51a7b096ca3e9a16e175794de001f9f04e066839/recipe_modules/tryserver/example.py

Project Member

Comment 6 by bugdroid1@chromium.org, Oct 26 2016

Project Member

Comment 7 by bugdroid1@chromium.org, Oct 26 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/tools/build.git/+/e3c40663ad7cee755da129417d624c0a72962723

commit e3c40663ad7cee755da129417d624c0a72962723
Author: tandrii <tandrii@chromium.org>
Date: Wed Oct 26 12:47:25 2016

Update recipes to understand new Gerrit patch properties.

Backwards compatible. Depends on
https://codereview.chromium.org/2439373002 change to bot_update.

BUG= 645616 
R=machenbach@chromium.org,martiniss@chromium.org

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

[modify] https://crrev.com/e3c40663ad7cee755da129417d624c0a72962723/scripts/slave/recipes/boringssl.expected/gerrit_cl.json
[add] https://crrev.com/e3c40663ad7cee755da129417d624c0a72962723/scripts/slave/recipes/boringssl.expected/gerrit_cl_deprecated.json
[modify] https://crrev.com/e3c40663ad7cee755da129417d624c0a72962723/scripts/slave/recipes/boringssl.py
[add] https://crrev.com/e3c40663ad7cee755da129417d624c0a72962723/scripts/slave/recipes/boringssl_docs.expected/boringssl-docs-gerrit-deprecated.json
[modify] https://crrev.com/e3c40663ad7cee755da129417d624c0a72962723/scripts/slave/recipes/boringssl_docs.expected/boringssl-docs-gerrit.json
[modify] https://crrev.com/e3c40663ad7cee755da129417d624c0a72962723/scripts/slave/recipes/boringssl_docs.py
[modify] https://crrev.com/e3c40663ad7cee755da129417d624c0a72962723/scripts/slave/recipes/run_presubmit.expected/depot_tools_and_gerrit.json
[modify] https://crrev.com/e3c40663ad7cee755da129417d624c0a72962723/scripts/slave/recipes/run_presubmit.expected/infra_with_runhooks_and_gerrit.json
[add] https://crrev.com/e3c40663ad7cee755da129417d624c0a72962723/scripts/slave/recipes/run_presubmit.expected/infra_with_runhooks_and_gerrit_deprecated.json
[modify] https://crrev.com/e3c40663ad7cee755da129417d624c0a72962723/scripts/slave/recipes/run_presubmit.py
[modify] https://crrev.com/e3c40663ad7cee755da129417d624c0a72962723/scripts/slave/recipes/simple_ci.expected/cq_try.json
[modify] https://crrev.com/e3c40663ad7cee755da129417d624c0a72962723/scripts/slave/recipes/simple_ci.py

Project Member

Comment 8 by bugdroid1@chromium.org, Oct 27 2016

The following revision refers to this bug:
  https://chrome-internal.googlesource.com/infra/infra_internal.git/+/9aa27bc3981a5141f7f3befcb105b0ff2de982b1

commit 9aa27bc3981a5141f7f3befcb105b0ff2de982b1
Author: tandrii <tandrii@google.com>
Date: Thu Oct 27 10:21:21 2016

The above commit is the one deploying new properties to CQ.
Cc: rmis...@chromium.org
+Ravi sorry for not including your earlier.
Project Member

Comment 13 by bugdroid1@chromium.org, Oct 31 2016

Project Member

Comment 14 by bugdroid1@chromium.org, Oct 31 2016

State so far: new properties deployed. Old properties are being cleaned up.
Project Member

Comment 16 by bugdroid1@chromium.org, Nov 2 2016

Project Member

Comment 17 by bugdroid1@chromium.org, Nov 2 2016

Status: Fixed (was: Started)
Project Member

Comment 22 by bugdroid1@chromium.org, Dec 2 2016

The following revision refers to this bug:
  https://chrome-internal.googlesource.com/chrome/tools/build_limited/scripts/slave/+/032cf1306dc5f966ee617908d2a3d518853a7d21

commit 032cf1306dc5f966ee617908d2a3d518853a7d21
Author: Yoshisato Yanagisawa <yyanagisawa@google.com>
Date: Fri Dec 02 01:44:10 2016

Project Member

Comment 23 by bugdroid1@chromium.org, Dec 2 2016

The following revision refers to this bug:
  https://chrome-internal.googlesource.com/chrome/tools/build_limited/scripts/slave/+/032cf1306dc5f966ee617908d2a3d518853a7d21

commit 032cf1306dc5f966ee617908d2a3d518853a7d21
Author: Yoshisato Yanagisawa <yyanagisawa@google.com>
Date: Fri Dec 02 01:44:10 2016

Project Member

Comment 24 by bugdroid1@chromium.org, Mar 2 2017

The following revision refers to this bug:
  https://chrome-internal.googlesource.com/infra/infra_internal/+/546bb3a34dfa8c072f4fea60ac00268a3fba5df2

commit 546bb3a34dfa8c072f4fea60ac00268a3fba5df2
Author: Andrii Shyshkalov <tandrii@chromium.org>
Date: Thu Mar 02 14:25:40 2017

Project Member

Comment 25 by bugdroid1@chromium.org, Mar 2 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/infra/gerrit-plugins/buildbucket/+/be1b6aafae6e95e1cc58d5b33ae92bc037efd46b

commit be1b6aafae6e95e1cc58d5b33ae92bc037efd46b
Author: Andrii Shyshkalov <tandrii@chromium.org>
Date: Thu Mar 02 16:47:09 2017

Use patch_repository_url in Gerrit.

CQ used incorrect property before (fixed in
https://chrome-internal-review.googlesource.com/c/332743),
and that's why I mistakenly asked to use the wrong property here.

R=andybons@chromium.org
BUG= 645616 , 685318 

Change-Id: Ibe381f9937bc39bb0fba19c08f1a52724ac2ee54
Reviewed-on: https://chromium-review.googlesource.com/448459
Reviewed-by: Andrew Bonventre <andybons@chromium.org>

[modify] https://crrev.com/be1b6aafae6e95e1cc58d5b33ae92bc037efd46b/test/cr-tryjob-picker_test.html
[modify] https://crrev.com/be1b6aafae6e95e1cc58d5b33ae92bc037efd46b/src/main/resources/static/cr-tryjob-picker.js

Sign in to add a comment