diff options
-rw-r--r-- | dashboard/css/bootstrap.min.css (renamed from result_collection_api/tools/dashboard/css/bootstrap.min.css) | 0 | ||||
-rw-r--r-- | dashboard/css/opnfv_dashboard_tests.css (renamed from result_collection_api/tools/dashboard/css/opnfv_dashboard_tests.css) | 0 | ||||
-rw-r--r-- | dashboard/js/bootstrap.min.js (renamed from result_collection_api/tools/dashboard/js/bootstrap.min.js) | 0 | ||||
-rw-r--r-- | dashboard/js/dygraph-combined.js (renamed from result_collection_api/tools/dashboard/js/dygraph-combined.js) | 0 | ||||
-rw-r--r-- | dashboard/js/jquery-2.2.0.min.js (renamed from result_collection_api/tools/dashboard/js/jquery-2.2.0.min.js) | 0 | ||||
-rw-r--r-- | dashboard/js/opnfv_dashboard_tests.js (renamed from result_collection_api/tools/dashboard/js/opnfv_dashboard_tests.js) | 0 | ||||
-rw-r--r-- | dashboard/js/opnfv_dashboard_tests_conf.js (renamed from result_collection_api/tools/dashboard/js/opnfv_dashboard_tests_conf.js) | 0 | ||||
-rw-r--r-- | dashboard/opnfv_dashboard_tests.html (renamed from result_collection_api/tools/dashboard/opnfv_dashboard_tests.html) | 0 | ||||
-rw-r--r-- | reporting/default.css (renamed from result_collection_api/tools/reporting/default.css) | 0 | ||||
-rw-r--r-- | reporting/index-tempest-tmpl.html (renamed from result_collection_api/tools/reporting/index-tempest-tmpl.html) | 0 | ||||
-rw-r--r-- | reporting/index-tmpl.html (renamed from result_collection_api/tools/reporting/index-tmpl.html) | 0 | ||||
-rw-r--r-- | reporting/reporting-tempest.py (renamed from result_collection_api/tools/reporting/reporting-tempest.py) | 7 | ||||
-rw-r--r-- | reporting/reporting.py (renamed from result_collection_api/tools/reporting/reporting.py) | 0 | ||||
-rw-r--r-- | result_collection_api/samples/sample.json.postman_collection (renamed from result_collection_api/tools/samples/sample.json.postman_collection) | 0 | ||||
-rw-r--r-- | scripts/backup-db.sh (renamed from result_collection_api/tools/backup-db.sh) | 0 |
15 files changed, 4 insertions, 3 deletions
diff --git a/result_collection_api/tools/dashboard/css/bootstrap.min.css b/dashboard/css/bootstrap.min.css index 4cf729e..4cf729e 100644 --- a/result_collection_api/tools/dashboard/css/bootstrap.min.css +++ b/dashboard/css/bootstrap.min.css diff --git a/result_collection_api/tools/dashboard/css/opnfv_dashboard_tests.css b/dashboard/css/opnfv_dashboard_tests.css index 894725b..894725b 100644 --- a/result_collection_api/tools/dashboard/css/opnfv_dashboard_tests.css +++ b/dashboard/css/opnfv_dashboard_tests.css diff --git a/result_collection_api/tools/dashboard/js/bootstrap.min.js b/dashboard/js/bootstrap.min.js index e79c065..e79c065 100644 --- a/result_collection_api/tools/dashboard/js/bootstrap.min.js +++ b/dashboard/js/bootstrap.min.js diff --git a/result_collection_api/tools/dashboard/js/dygraph-combined.js b/dashboard/js/dygraph-combined.js index 7d6121e..7d6121e 100644 --- a/result_collection_api/tools/dashboard/js/dygraph-combined.js +++ b/dashboard/js/dygraph-combined.js diff --git a/result_collection_api/tools/dashboard/js/jquery-2.2.0.min.js b/dashboard/js/jquery-2.2.0.min.js index 06ac263..06ac263 100644 --- a/result_collection_api/tools/dashboard/js/jquery-2.2.0.min.js +++ b/dashboard/js/jquery-2.2.0.min.js diff --git a/result_collection_api/tools/dashboard/js/opnfv_dashboard_tests.js b/dashboard/js/opnfv_dashboard_tests.js index e5bcca6..e5bcca6 100644 --- a/result_collection_api/tools/dashboard/js/opnfv_dashboard_tests.js +++ b/dashboard/js/opnfv_dashboard_tests.js diff --git a/result_collection_api/tools/dashboard/js/opnfv_dashboard_tests_conf.js b/dashboard/js/opnfv_dashboard_tests_conf.js index 6778332..6778332 100644 --- a/result_collection_api/tools/dashboard/js/opnfv_dashboard_tests_conf.js +++ b/dashboard/js/opnfv_dashboard_tests_conf.js diff --git a/result_collection_api/tools/dashboard/opnfv_dashboard_tests.html b/dashboard/opnfv_dashboard_tests.html index 424b525..424b525 100644 --- a/result_collection_api/tools/dashboard/opnfv_dashboard_tests.html +++ b/dashboard/opnfv_dashboard_tests.html diff --git a/result_collection_api/tools/reporting/default.css b/reporting/default.css index 0e330e9..0e330e9 100644 --- a/result_collection_api/tools/reporting/default.css +++ b/reporting/default.css diff --git a/result_collection_api/tools/reporting/index-tempest-tmpl.html b/reporting/index-tempest-tmpl.html index 24d87be..24d87be 100644 --- a/result_collection_api/tools/reporting/index-tempest-tmpl.html +++ b/reporting/index-tempest-tmpl.html diff --git a/result_collection_api/tools/reporting/index-tmpl.html b/reporting/index-tmpl.html index 4d1c509..4d1c509 100644 --- a/result_collection_api/tools/reporting/index-tmpl.html +++ b/reporting/index-tmpl.html diff --git a/result_collection_api/tools/reporting/reporting-tempest.py b/reporting/reporting-tempest.py index 6d90f86..944b428 100644 --- a/result_collection_api/tools/reporting/reporting-tempest.py +++ b/reporting/reporting-tempest.py @@ -56,14 +56,15 @@ for installer in installers: crit_time = False # Expect that at least 200 tests are run - if nb_tests_run > 200: + if nb_tests_run >= 200: crit_tests = True # Expect that at least 90% of success - if success_rate > 90: + if success_rate >= 90: crit_rate = True - if result['details']['duration'] < 900: + # Expect that the suite duration is inferior to 45m + if result['details']['duration'] < 2700: crit_time = True result['criteria'] = {'tests': crit_tests, diff --git a/result_collection_api/tools/reporting/reporting.py b/reporting/reporting.py index 246c625..246c625 100644 --- a/result_collection_api/tools/reporting/reporting.py +++ b/reporting/reporting.py diff --git a/result_collection_api/tools/samples/sample.json.postman_collection b/result_collection_api/samples/sample.json.postman_collection index 9ee35d1..9ee35d1 100644 --- a/result_collection_api/tools/samples/sample.json.postman_collection +++ b/result_collection_api/samples/sample.json.postman_collection diff --git a/result_collection_api/tools/backup-db.sh b/scripts/backup-db.sh index aa36aa3..aa36aa3 100644 --- a/result_collection_api/tools/backup-db.sh +++ b/scripts/backup-db.sh |