|
|
@ -1284,9 +1284,6 @@ class AutopkgtestPolicy(BasePolicy):
|
|
|
|
target_suite = self.suite_info.target_suite
|
|
|
|
target_suite = self.suite_info.target_suite
|
|
|
|
binaries_info = target_suite.binaries[arch]
|
|
|
|
binaries_info = target_suite.binaries[arch]
|
|
|
|
|
|
|
|
|
|
|
|
# determine current test result status
|
|
|
|
|
|
|
|
baseline_result = self.result_in_baseline(src, arch)[0]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# determine current test result status
|
|
|
|
# determine current test result status
|
|
|
|
until = self.find_max_lower_force_reset_test(src, ver, arch)
|
|
|
|
until = self.find_max_lower_force_reset_test(src, ver, arch)
|
|
|
|
|
|
|
|
|
|
|
@ -1312,6 +1309,9 @@ class AutopkgtestPolicy(BasePolicy):
|
|
|
|
run_id = r[2]
|
|
|
|
run_id = r[2]
|
|
|
|
|
|
|
|
|
|
|
|
if r[0] in {Result.FAIL, Result.OLD_FAIL}:
|
|
|
|
if r[0] in {Result.FAIL, Result.OLD_FAIL}:
|
|
|
|
|
|
|
|
# determine current test result status
|
|
|
|
|
|
|
|
baseline_result = self.result_in_baseline(src, arch)[0]
|
|
|
|
|
|
|
|
|
|
|
|
if baseline_result == Result.FAIL:
|
|
|
|
if baseline_result == Result.FAIL:
|
|
|
|
result = 'ALWAYSFAIL'
|
|
|
|
result = 'ALWAYSFAIL'
|
|
|
|
elif baseline_result in {Result.NONE, Result.OLD_FAIL}:
|
|
|
|
elif baseline_result in {Result.NONE, Result.OLD_FAIL}:
|
|
|
@ -1369,6 +1369,7 @@ class AutopkgtestPolicy(BasePolicy):
|
|
|
|
except KeyError:
|
|
|
|
except KeyError:
|
|
|
|
# no result for src/arch; still running?
|
|
|
|
# no result for src/arch; still running?
|
|
|
|
if arch in self.pending_tests.get(trigger, {}).get(src, []):
|
|
|
|
if arch in self.pending_tests.get(trigger, {}).get(src, []):
|
|
|
|
|
|
|
|
baseline_result = self.result_in_baseline(src, arch)[0]
|
|
|
|
if baseline_result != Result.FAIL and not self.has_force_badtest(src, ver, arch):
|
|
|
|
if baseline_result != Result.FAIL and not self.has_force_badtest(src, ver, arch):
|
|
|
|
result = 'RUNNING'
|
|
|
|
result = 'RUNNING'
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|