Clarify status of excluded reverse dependencies

Commit 463 introduced waiting on reverse dependencies which are not built or⎵
installable yet, but set their status as "RUNNING". This is confusing as there
is no actual test in progress yet.

Instead, set their status to a new UNINST value, displaying as⎵
"Unbuilt/uninstallable"
bzr-import-20160707
Martin Pitt 10 years ago
parent 191025cacd
commit 65c6e4df2a

@ -38,6 +38,7 @@ ADT_EXCUSES_LABELS = {
"ALWAYSFAIL": '<span style="background:#e5c545">Always failed</span>', "ALWAYSFAIL": '<span style="background:#e5c545">Always failed</span>',
"REGRESSION": '<span style="background:#ff6666">Regression</span>', "REGRESSION": '<span style="background:#ff6666">Regression</span>',
"RUNNING": '<span style="background:#99ddff">Test in progress</span>', "RUNNING": '<span style="background:#99ddff">Test in progress</span>',
"UNINST": '<span style="background:#99ddff">Unbuilt/uninstallable</span>',
} }
@ -495,7 +496,7 @@ class AutoPackageTest(object):
def results(self, trigsrc, trigver): def results(self, trigsrc, trigver):
'''Return test results for triggering package '''Return test results for triggering package
Return (passed, src, ver, arch -> ALWAYSFAIL|PASS|FAIL|RUNNING) Return (passed, src, ver, arch -> ALWAYSFAIL|PASS|FAIL|RUNNING|UNINST)
iterator for all package tests that got triggered by trigsrc/trigver. iterator for all package tests that got triggered by trigsrc/trigver.
''' '''
for testsrc, testver in self.tests_for_source(trigsrc, trigver): for testsrc, testver in self.tests_for_source(trigsrc, trigver):
@ -526,7 +527,7 @@ class AutoPackageTest(object):
except KeyError: except KeyError:
# neither done nor pending; excluded? # neither done nor pending; excluded?
if testsrc in self.excludes: if testsrc in self.excludes:
arch_status[arch] = 'RUNNING' arch_status[arch] = 'UNINST'
passed = False passed = False
continue continue

@ -387,7 +387,7 @@ lightgreen 1 i386 green 2
r'\blightgreen\b.*>1</a> to .*>2<', r'\blightgreen\b.*>1</a> to .*>2<',
r'autopkgtest for green 2: .*amd64.*Pass.*i386.*Pass', r'autopkgtest for green 2: .*amd64.*Pass.*i386.*Pass',
r'autopkgtest for darkgreen 1: .*amd64.*Pass.*i386.*Pass', r'autopkgtest for darkgreen 1: .*amd64.*Pass.*i386.*Pass',
r'autopkgtest for lightgreen 2: .*amd64.*in progress.*i386.*in progress', r'autopkgtest for lightgreen 2: .*amd64.*Unbuilt/uninstallable.*i386.*Unbuilt/uninstallable',
r'lightgreen has no up-to-date binaries on any arch'], r'lightgreen has no up-to-date binaries on any arch'],
['Valid candidate']) ['Valid candidate'])

Loading…
Cancel
Save