'Check that all client stats cron jobs are run.
All machines should be in All once.
Windows machines should be in Label1 and Label2.
There should be no stats for UserLabel.'

def testGRRVersionBreakDown(self):

    for _ in flow_test_lib.TestFlowHelper(system.GRRVersionBreakDown.__name__, token=self.token):
        pass
    histogram = aff4_stats.ClientFleetStats.SchemaCls.GRRVERSION_HISTOGRAM
    self._CheckVersionStats('All', histogram, [0, 0, 20, 20])
    self._CheckVersionStats('Label1', histogram, [0, 0, 10, 10])
    self._CheckVersionStats('Label2', histogram, [0, 0, 10, 10])
    aff4.FACTORY.Open('aff4:/stats/ClientFleetStats/UserLabel', aff4.AFF4Volume, token=self.token)
