[MacPorts] #52766: buildbot: portwatcher should trigger portbuilder builds in predictable order

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[MacPorts] #52766: buildbot: portwatcher should trigger portbuilder builds in predictable order

MacPorts
#52766: buildbot: portwatcher should trigger portbuilder builds in predictable
order
----------------------------+---------------------
 Reporter:  ryandesign      |      Owner:  admin@…
     Type:  enhancement     |     Status:  new
 Priority:  Normal          |  Milestone:
Component:  server/hosting  |    Version:
 Keywords:                  |       Port:
----------------------------+---------------------
 Currently, portwatcher triggers portbuilder builds in random order. (Well,
 they're triggered in alphabetical order, but buildbot then adds them to an
 unordered python dictionary from which they're pulled out in random
 order.)

 Per [https://lists.buildbot.net/pipermail/users/2016-August/000679.html a
 suggestion on the buildbot users mailing list], we should add a custom
 "priority" property to each triggered build, and then write a
 [http://docs.buildbot.net/0.8.12/manual/cfg-builders.html#builder-
 configuration nextBuild function] which determines which of the pending
 BuildRequests to build next by examining their "priority" properties.

 Once this is working and causing builds to happen in alphabetical order,
 we can try to do the more complicated dependency order.

--
Ticket URL: <https://trac.macports.org/ticket/52766>
MacPorts <https://www.macports.org/>
Ports system for macOS
_______________________________________________
macports-tickets mailing list
[hidden email]
https://lists.macosforge.org/mailman/listinfo/macports-tickets
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #52766: buildbot: portwatcher should trigger portbuilder builds in predictable order

MacPorts
#52766: buildbot: portwatcher should trigger portbuilder builds in predictable
order
-----------------------------+----------------------
  Reporter:  ryandesign      |      Owner:  admin@…
      Type:  enhancement     |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  server/hosting  |    Version:
Resolution:                  |   Keywords:  buildbot
      Port:                  |
-----------------------------+----------------------
Changes (by mojca):

 * keywords:   => buildbot


--
Ticket URL: <https://trac.macports.org/ticket/52766#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
_______________________________________________
macports-tickets mailing list
[hidden email]
https://lists.macosforge.org/mailman/listinfo/macports-tickets
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #52766: buildbot: portwatcher should trigger portbuilder builds in predictable order

MacPorts
In reply to this post by MacPorts
#52766: buildbot: portwatcher should trigger portbuilder builds in predictable
order
-----------------------------+----------------------
  Reporter:  ryandesign      |      Owner:  admin@…
      Type:  enhancement     |     Status:  new
  Priority:  High            |  Milestone:
 Component:  server/hosting  |    Version:
Resolution:                  |   Keywords:  buildbot
      Port:                  |
-----------------------------+----------------------
Changes (by neverpanic):

 * priority:  Normal => High


--
Ticket URL: <https://trac.macports.org/ticket/52766#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #52766: buildbot: portwatcher should trigger portbuilder builds in predictable order

MacPorts
In reply to this post by MacPorts
#52766: buildbot: portwatcher should trigger portbuilder builds in predictable
order
----------------------------+----------------------
  Reporter:  ryandesign     |      Owner:  admin@…
      Type:  enhancement    |     Status:  new
  Priority:  High           |  Milestone:
 Component:  buildbot/mpbb  |    Version:
Resolution:                 |   Keywords:  buildbot
      Port:                 |
----------------------------+----------------------

Comment (by mojca):

 In [changeset:"bf29a890d45aea8c4627c01f289cf45e0f1eebf7/macports-
 infrastructure" bf29a890d45aea8c4627c01f289cf45e0f1eebf7/macports-
 infrastructure]:
 {{{
 #!ConfigurableCommitTicketReference repository="macports-infrastructure"
 revision="bf29a890d45aea8c4627c01f289cf45e0f1eebf7"
 buildbot: Guarantee stable order of builds

 See: https://trac.macports.org/ticket/52766
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/52766#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #52766: buildbot: portwatcher should trigger portbuilder builds in predictable order

MacPorts
In reply to this post by MacPorts
#52766: buildbot: portwatcher should trigger portbuilder builds in predictable
order
----------------------------+------------------------
  Reporter:  ryandesign     |      Owner:  neverpanic
      Type:  enhancement    |     Status:  assigned
  Priority:  High           |  Milestone:
 Component:  buildbot/mpbb  |    Version:
Resolution:                 |   Keywords:  buildbot
      Port:                 |
----------------------------+------------------------
Changes (by neverpanic):

 * owner:  admin@… => neverpanic
 * status:  new => assigned


Comment:

 Thanks. Now we need to sort the output of list-subports in dependency
 order.

--
Ticket URL: <https://trac.macports.org/ticket/52766#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #52766: buildbot: portwatcher should trigger portbuilder builds in predictable order

MacPorts
In reply to this post by MacPorts
#52766: buildbot: portwatcher should trigger portbuilder builds in predictable
order
----------------------------+------------------------
  Reporter:  ryandesign     |      Owner:  neverpanic
      Type:  enhancement    |     Status:  closed
  Priority:  High           |  Milestone:
 Component:  buildbot/mpbb  |    Version:
Resolution:  fixed          |   Keywords:  buildbot
      Port:                 |
----------------------------+------------------------
Changes (by jmroot):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"97f4db4f3eabaabcf005b0758a3b32d36525c395/mpbb"
 97f4db4f3eabaabcf005b0758a3b32d36525c395/mpbb]:
 {{{
 #!ConfigurableCommitTicketReference repository="mpbb"
 revision="97f4db4f3eabaabcf005b0758a3b32d36525c395"
 List subports in dependency order

 Closes: https://trac.macports.org/ticket/52766
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/52766#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #52766: buildbot: portwatcher should trigger portbuilder builds in predictable order

MacPorts
In reply to this post by MacPorts
#52766: buildbot: portwatcher should trigger portbuilder builds in predictable
order
----------------------------+------------------------
  Reporter:  ryandesign     |      Owner:  neverpanic
      Type:  enhancement    |     Status:  closed
  Priority:  High           |  Milestone:
 Component:  buildbot/mpbb  |    Version:
Resolution:  fixed          |   Keywords:  buildbot
      Port:                 |
----------------------------+------------------------

Comment (by jmroot):

 In [changeset:"3521080355275ad6f48a9e2036b296fe1cae30aa/macports-
 infrastructure" 3521080355275ad6f48a9e2036b296fe1cae30aa/macports-
 infrastructure]:
 {{{
 #!ConfigurableCommitTicketReference repository="macports-infrastructure"
 revision="3521080355275ad6f48a9e2036b296fe1cae30aa"
 buildbot: don't sort the subports

 They're already sorted in dependency order, which is what we want, so
 it's no good sorting alphabetically.

 Fixes: https://trac.macports.org/ticket/52766
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/52766#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS