|
|
|
@ -555,7 +555,7 @@ class AutopkgtestPolicy(BasePolicy):
|
|
|
|
|
try:
|
|
|
|
|
source_of_bin = packages_s_a[binary.package_name].source
|
|
|
|
|
triggers.add(
|
|
|
|
|
source_of_bin + '/' + \
|
|
|
|
|
source_of_bin + '/' +
|
|
|
|
|
sources_s[source_of_bin].version)
|
|
|
|
|
except KeyError:
|
|
|
|
|
# Apparently the package was removed from
|
|
|
|
@ -566,7 +566,7 @@ class AutopkgtestPolicy(BasePolicy):
|
|
|
|
|
for tdep_src in self.testsuite_triggers.get(binary.package_name, set()):
|
|
|
|
|
try:
|
|
|
|
|
triggers.add(
|
|
|
|
|
tdep_src + '/' + \
|
|
|
|
|
tdep_src + '/' +
|
|
|
|
|
sources_s[tdep_src].version)
|
|
|
|
|
except KeyError:
|
|
|
|
|
# Apparently the source was removed from
|
|
|
|
@ -842,7 +842,8 @@ class AutopkgtestPolicy(BasePolicy):
|
|
|
|
|
else:
|
|
|
|
|
result = Result.FAIL
|
|
|
|
|
|
|
|
|
|
self.logger.info('Fetched test result for %s/%s/%s %s (triggers: %s): %s',
|
|
|
|
|
self.logger.info(
|
|
|
|
|
'Fetched test result for %s/%s/%s %s (triggers: %s): %s',
|
|
|
|
|
src, ver, arch, run_id, result_triggers, result.name.lower())
|
|
|
|
|
|
|
|
|
|
# remove matching test requests
|
|
|
|
@ -894,7 +895,6 @@ class AutopkgtestPolicy(BasePolicy):
|
|
|
|
|
result[2] = run_id
|
|
|
|
|
result[3] = seen
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def send_test_request(self, src, arch, trigger, huge=False):
|
|
|
|
|
'''Send out AMQP request for testing src/arch for trigger
|
|
|
|
|
|
|
|
|
@ -1123,4 +1123,3 @@ class AutopkgtestPolicy(BasePolicy):
|
|
|
|
|
return True
|
|
|
|
|
|
|
|
|
|
return False
|
|
|
|
|
|
|
|
|
|