Lava: Add perf regression test suite to baremetal runs
[lttng-ci.git] / scripts / lttng-baremetal-tests / lava-submit.py
index 52bc4d7be5b3f4de7a1b2bdb3b7b348ec6e03b68..f9c7f0614be02e3d1dc5648645369d996c0f7faa 100644 (file)
@@ -159,6 +159,11 @@ def get_benchmarks_cmd():
                     'git-repo': 'https://github.com/lttng/lttng-ci.git',
                     'revision': 'master',
                     'testdef': 'lava/baremetal-tests/failing-open-enoent.yml'
+                },
+                {
+                    'git-repo': 'https://github.com/lttng/lttng-ci.git',
+                    'revision': 'master',
+                    'testdef': 'lava/baremetal-tests/perf-tests.yml'
                 }
                 ],
             'timeout': 18000
@@ -320,6 +325,8 @@ def main():
 
     jobid = server.scheduler.submit_job(json.dumps(j))
 
+    print('Lava jobid:{}'.format(jobid))
+
     #Check the status of the job every 30 seconds
     jobstatus = server.scheduler.job_status(jobid)['job_status']
     while jobstatus in 'Submitted' or jobstatus in 'Running':
@@ -332,12 +339,12 @@ def main():
 
     passed, failed=check_job_all_test_cases_state_count(server, jobid)
 
-    print('With {} passed tests and {} failed tests.'.format(passed, failed))
+    print('With {} passed and {} failed Lava test cases.'.format(passed, failed))
 
     if test_type is TestType.tests:
         print_test_output(server, jobid)
 
-    if  failed == 0:
+    if failed == 0:
         return 0
     else:
         return -1
This page took 0.0246 seconds and 4 git commands to generate.