jjb: clean-up: remove deactivated fuzzing job
[lttng-ci.git] / scripts / system-tests / lava2-submit.py
index a72aee75d978bb31366d12d1587c242e6bc7d944..c61e86aaaab82d16323fafef5d79c3ca58b18bbe 100644 (file)
@@ -37,12 +37,10 @@ class TestType:
     baremetal_benchmarks = 1
     baremetal_tests = 2
     kvm_tests = 3
-    kvm_fuzzing_tests = 4
     values = {
         'baremetal-benchmarks': baremetal_benchmarks,
         'baremetal-tests': baremetal_tests,
         'kvm-tests': kvm_tests,
-        'kvm-fuzzing-tests': kvm_fuzzing_tests,
     }
 
 
@@ -72,7 +70,7 @@ def check_job_all_test_cases_state_count(server, job):
     """
     print("Testcase result:")
     content = server.results.get_testjob_results_yaml(str(job))
-    testcases = yaml.load(content)
+    testcases = yaml.unsafe_load(content)
 
     passed_tests = 0
     failed_tests = 0
@@ -114,7 +112,7 @@ def print_test_output(server, job):
     Parse the attachment of the testcase to fetch the stdout of the test suite
     """
     job_finished, log = server.scheduler.jobs.logs(str(job))
-    logs = yaml.load(log.data.decode('ascii'))
+    logs = yaml.unsafe_load(log.data.decode('ascii'))
     print_line = False
     for line in logs:
         if line['lvl'] != 'target':
@@ -125,7 +123,8 @@ def print_test_output(server, job):
             continue
         if line['msg'] == '<LAVA_SIGNAL_ENDTC run-tests>':
             print('----- TEST SUITE OUTPUT END -----')
-            break
+            print_line = False
+            continue
         if print_line:
             print("{} {}".format(line['dt'], line['msg']))
 
This page took 0.022949 seconds and 4 git commands to generate.