From a8e84e5082d63c21fdfb691216ec54e549958840 Mon Sep 17 00:00:00 2001 From: Vratko Polak Date: Wed, 10 Apr 2019 10:33:17 +0200 Subject: Increase reliability of per patch perf job CSIT-1485 - Measurement results are inconsistent, creating false positives. - To avoid false positives, sensitivity has to be lowered. + Measurements are no more interleaved. + Measurement result are no longer filtered. + The job now runs faster. - Ip6base regressions smaller than 4% are tolerated. + Ip6base false positives can happen, but less than 10% of the time. - Part of job parameters is set on ci-management level. + Voter script output is improved. Change-Id: I0ec7d5df8b397daf7ff0277a1137ee9f36d8d866 Signed-off-by: Vratko Polak --- resources/libraries/bash/entry/per_patch_perf.sh | 12 +++-- resources/tools/scripts/compare_perpatch.py | 67 +++++++++++++++--------- 2 files changed, 49 insertions(+), 30 deletions(-) diff --git a/resources/libraries/bash/entry/per_patch_perf.sh b/resources/libraries/bash/entry/per_patch_perf.sh index d3aabfae17..82dadc2ed6 100644 --- a/resources/libraries/bash/entry/per_patch_perf.sh +++ b/resources/libraries/bash/entry/per_patch_perf.sh @@ -58,17 +58,21 @@ select_tags || die compose_pybot_arguments || die generate_tests || die archive_tests || die -iterations=8 +# Support for interleaved measurements is kept for future. +iterations=1 # 8 for ((iter=0; iter= 0 else "shorter" + print "Separate groups are {cmp} than single group by {bit} bits".format( + cmp=compared, bit=abs(bits)) + classified_list = classifier.classify([parent_stats, current_stats]) if len(classified_list) < 2: print "Test test_index {test_index}: normal (no anomaly)".format( test_index=test_index) @@ -112,5 +127,5 @@ for test_index in range(num_tests): continue print "Test test_index {test_index}: anomaly {anomaly}".format( test_index=test_index, anomaly=anomaly) -print "DEBUG exit code {code}".format(code=exit_code) +print "Exit code {code}".format(code=exit_code) sys.exit(exit_code) -- cgit 1.2.3-korg