Closed Bug 1384706 Opened 7 years ago Closed 7 years ago

trychooser syntax should not invoke buildbot jobs by default

Categories

(Infrastructure & Operations Graveyard :: CIDuty, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: kmoir, Assigned: kmoir)

References

Details

Attachments

(3 files, 5 obsolete files)

If you run -b do -p all  on try, the win buildbot build jobs run as well.  However, they shouldn't run now with the tcmigration of win32/win64
Assignee: nobody → kmoir
Blocks: 1383255
So would it be okay to change the scheduling for this to remove these extra windows builders on try but leave them on esr and release. Like what we did when removed them for mac. It seems like a cleaner change than changing the try syntax.
Flags: needinfo?(catlee)
I think we wanted to leave them on try so that people had some way of testing patches for ESR/Release without having to land there.

At this point, I'm not sure how much value there is in that.

How hard is it to update the Try syntax?
Flags: needinfo?(catlee)
I have some patches in progress to update the try syntax
Attached patch bug1384706.patch (obsolete) — Splinter Review
These are my initial patches but looking at them, I realize I need to take a completely different approach.
I need to add flag like like --winlegacy instead of modifying another value like alllegacy to strip out win builds on all and when the platform is specified explicitly.  If this flag is enabled, I can allow the filter to pass windows builders, if not then remove them by default.  Might need to modify the taskcluster try parser too so it doesn't break with the new syntax as well.
Attached patch bug1384706-3.patch (obsolete) — Splinter Review
Attachment #8898588 - Attachment is obsolete: true
Attached patch bug1384706-4.patch (obsolete) — Splinter Review
I modified the bb side of the trychooser syntax builder to include a new value called --win or -w all to include windows platforms to be run.   Without this value, all the windows platforms will be removed from the list of builds that are run.  I also fixed existing tests, added new tests and commented out some tests that I don't think are relevant anymore.  I looked at the taskcluster trychooser code and I don't think it needs to be modified to accommodate this since all windows jobs should be triggered by tc and the syntax isn't the same anyways.
Attachment #8899572 - Attachment is obsolete: true
Attachment #8899581 - Flags: feedback?
How about a '--buildbot' flag? If it's not set, then treat user_platforms as empty.

I think we need support for the old OSX jobs too, not just windows.
Attached patch bug1384706-5.patch (obsolete) — Splinter Review
Attachment #8899581 - Attachment is obsolete: true
Attachment #8899581 - Flags: feedback?
Attachment #8899605 - Flags: feedback?
Comment on attachment 8899605 [details] [diff] [review]
bug1384706-5.patch

Review of attachment 8899605 [details] [diff] [review]:
-----------------------------------------------------------------

::: try_parser.py
@@ +312,5 @@
>                          default='none',
>                          dest='talos',
>                          help='provide a list of talos tests, or specify all (default is None)')
> +    parser.add_argument('--buildbot',
> +                        default='none',

Should this be None? Or turn this into a boolean switch - see comments below.

@@ +397,2 @@
>          else:
>              user_platforms.add(platform)

If my try syntax includes '-p win32', then we would get buildbot jobs due to this line too.

What about if '--buildbot' isn't present, then user_platforms is just set(), and we exit?

So the try syntax required for windows buildbot jobs would be something like "try: -b do -p win32 --buildbot"
Attached patch bug1384706-6.patch (obsolete) — Splinter Review
Attachment #8899605 - Attachment is obsolete: true
Attachment #8899605 - Flags: feedback?
Attachment #8900855 - Flags: feedback?
Attachment #8900855 - Attachment is obsolete: true
Attachment #8900855 - Flags: feedback?
Attachment #8902401 - Flags: feedback?(catlee)
Comment on attachment 8902401 [details] [diff] [review]
bug1384706-8.patch

Review of attachment 8902401 [details] [diff] [review]:
-----------------------------------------------------------------

looks great, thanks!
Attachment #8902401 - Flags: feedback?(catlee) → feedback+
patch with commented out tests removed.
Attached file github pr
Attachment #8903656 - Flags: checked-in+
verified that the spurious windows jobs aren't running on try, still have to deploy a new version of releng services in bug 1397326 to fix the try chooser syntax
Depends on: 1398554
I think this broke try-comm-central.
This did break try-comm-central specifying linux/linux64 builds (see Bug 1402808).
Blocks: 1402808
The trychooser deploy happened today so closing.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Component: Platform Support → Buildduty
Product: Release Engineering → Infrastructure & Operations
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: