Home | History | Annotate | Download | only in cros_utils

Lines Matching full:slaves

558 class Slaves(AddressableNodeList):
559 """Buildbot slaves."""
564 super(Slavesslaves')
572 """Similar to Slaves but only list slaves connected to a specific builder."""
576 super(BuilderSlaves, self).__init__(parent, parent.parent.parent.slaves,
577 'slaves')
794 Goes up the hierarchy to find the Buildbot.slaves[slave] instance.
796 return self.parent.parent.parent.parent.slaves[self.data['slave']]
899 'slaves',
909 self.slaves = BuilderSlaves(self)
916 self.slaves.discard()
933 'slaves',
941 self._slaves = Slaves(self)
949 def slaves(self):
953 """Discards information about Builders and Slaves."""
1103 """Lists idle slaves."""
1109 """Lists idle slaves."""
1115 """Lists disconnected slaves."""
1119 for slave in buildbot.slaves:
1134 dest='slaves',
1137 help='Slaves to filter on')
1145 if options.slaves:
1146 # Only the subset of slaves connected to the builder.
1147 slaves = list(set(options.slaves).intersection(set(builder.slaves.names)))
1148 if not slaves:
1151 slaves = builder.slaves.names
1154 slaves = natsorted(set(slaves) - set(busy_slaves))
1156 slaves = natsorted(set(slaves) & set(busy_slaves))
1158 for slave in slaves:
1161 if slaves:
1162 print('Builder %s: %s' % (builder.name, ', '.join(slaves)))
1168 slaves=None,
1175 if slaves:
1176 # Only the subset of slaves connected to the builder.
1177 builder_slaves = list(set(slaves).intersection(set(builder.slaves.names)))
1181 builder_slaves = builder.slaves.names
1183 if not no_cache and len(builder.slaves) > 2:
1207 # Found all the slaves, quit.
1213 """Lists all slaves that failed on that step on their last build.
1215 Example: to find all slaves where their last build was a compile failure,
1224 help='List all slaves that failed on that step on their last build')
1233 dest='slaves',
1236 help='Slaves to filter on')
1248 slaves=options.slaves,
1257 if options.slaves:
1347 dest='slaves',
1350 help='Slaves to filter on')
1362 if not options.slaves or build.slave.name in options.slaves:
1367 if len(options.slaves) != 1: