Fix the integrated gate filtering on uncategorized

When stackforge was compacted into the openstack/ git namespace this
broke our filtering on just integrated gate projects. This commit does
2 things to handle this. First it takes a list of the projects using
the integrated gate job template from zuul's layout.yaml and uses that
to be the filter. This way we actual have a view of the integrated gate
again. It then makes a second page for all the other projects failures
which can be used by those to track uncategorized failures. A future
next step will be to add a config file to make the functional split of
these views configurable so that we can more easily adjust the split
as the interactions between projects change.

Change-Id: I41c8ae1e75e8a3d8893f6af5af7c283b5f5c1bcf
This commit is contained in:
Matthew Treinish
2016-08-05 17:03:56 -04:00
parent 0a86472c2c
commit b5d3c22c9a
4 changed files with 183 additions and 18 deletions

View File

@@ -54,5 +54,8 @@ class TestUncategorizedFails(testtools.TestCase):
all_fails = fails.all_fails(classifier)
# assert that we only have the single result
self.assertThat(all_fails,
testtools.matchers.HasLength(2))
self.assertThat(all_fails['integrated_gate'],
testtools.matchers.HasLength(1))
self.assertIn('gate-tempest-dsvm-full', all_fails.keys()[0])
self.assertIn('gate-tempest-dsvm-full',
all_fails['integrated_gate'].keys()[0])