[MacPorts] #45337: py-graveyard: avoid useless binary package download and buildbot errors
#45337: py-graveyard: avoid useless binary package download and buildbot errors --------------------+-------------------------- Reporter: petr@… | Owner: larryv@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Keywords: | Port: py-graveyard --------------------+-------------------------- The current implementation of the Python graveyard causes quite some useless actions on the buildbots. When the list of buried ports grows larger, this may create a significant extra load. (1) It tries to get a binary packages for `py-graveyard`: {{{ sudo port install py-graveyard ---> Fetching archive for py-graveyard ---> Attempting to fetch py-graveyard-0.0_0.darwin_12.noarch.tbz2 from http://nue.de.packages.macports.org/macports/packages/py-graveyard ---> Attempting to fetch py-graveyard-0.0_0.darwin_12.noarch.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/py- graveyard ---> Attempting to fetch py-graveyard-0.0_0.darwin_12.noarch.tbz2 from http://lil.fr.packages.macports.org/py-graveyard ---> Fetching distfiles for py-graveyard Error: This is a metaport for obsolete Python subports. Error: org.macports.fetch for port py-graveyard returned: non-installable metaport Please see the log file for port py-graveyard for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_python_py-graveyard/py-graveyard/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port py-graveyard failed }}} (2) The buildbot fails on all buried port and on `py-graveyard` itself. Can this behavior be avoided? -- Ticket URL: <https://trac.macports.org/ticket/45337> MacPorts <http://www.macports.org/> Ports system for OS X
#45337: py-graveyard: avoid useless binary package download and buildbot errors ---------------------------+---------------------- Reporter: petr@… | Owner: larryv@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: py-graveyard | ---------------------------+---------------------- Changes (by larryv@…): * cc: skarulkar@…, jmr@… (added) Comment: Replying to [ticket:45337 petr@…]:
(1) It tries to get a binary packages for `py-graveyard`:
I cleared `archive_sites` in r126541.
(2) The buildbot fails on all buried port and on `py-graveyard` itself.
Can this behavior be avoided?
I don’t know how Buildbot decides which ports to try rebuilding. I assume that the buildslaves reindex their ports trees and process the ports that have changed. -- Ticket URL: <https://trac.macports.org/ticket/45337#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#45337: py-graveyard: avoid useless binary package download and buildbot errors ---------------------------+---------------------- Reporter: petr@… | Owner: larryv@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: py-graveyard | ---------------------------+---------------------- Comment (by jmr@…): Replying to [comment:1 larryv@…]:
I don’t know how Buildbot decides which ports to try rebuilding. I assume that the buildslaves reindex their ports trees and process the ports that have changed.
It simply builds all portfiles touched by each changeset. source:contrib/buildbot/master.cfg#L189 -- Ticket URL: <https://trac.macports.org/ticket/45337#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#45337: py-graveyard: avoid useless binary package download and buildbot errors ---------------------------+---------------------- Reporter: petr@… | Owner: larryv@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: py-graveyard | ---------------------------+---------------------- Comment (by larryv@…): Could we filter out graveyards specifically? Something like this? {{{ Index: master.cfg =================================================================== --- master.cfg (revision 126498) +++ master.cfg (working copy) @@ -189,7 +189,8 @@ # paths should be dports/category/portdir(/...) for f in self.build.allFiles(): comps = f.split('/') - if len(comps) >= 3 and comps[0] == 'dports' and comps[1] != '_resources': + if (len(comps) >= 3 and comps[0] == 'dports' and comps[1] != '_resources' and + !comps[2].endswith('-graveyard')): portset.add(comps[2]) portlist += ' ' + ' '.join(portset) self.setProperty('portlist', portlist) }}} -- Ticket URL: <https://trac.macports.org/ticket/45337#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#45337: py-graveyard: avoid useless binary package download and buildbot errors ---------------------------+---------------------- Reporter: petr@… | Owner: larryv@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: py-graveyard | ---------------------------+---------------------- Comment (by jmr@…): I’d rather we didn’t. -- Ticket URL: <https://trac.macports.org/ticket/45337#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts