jjb: lava: Move kprobe test to different test shell
[lttng-ci.git] / scripts / lttng-baremetal-tests / lava-submit.py
index 5a3ed94e02f50af4e846eb6f85b7685f9d2ca0d7..834cc4433c99ffde85d30a42a296fab367572756 100644 (file)
@@ -157,7 +157,7 @@ def get_config_cmd(build_device):
     packages=['bsdtar', 'psmisc', 'wget', 'python3', 'python3-pip', \
             'libglib2.0-dev', 'libffi-dev', 'elfutils', 'libdw-dev', \
             'libelf-dev', 'libmount-dev', 'libxml2', 'libpfm4-dev', \
-            'libnuma-dev', 'python3-dev']
+            'libnuma-dev', 'python3-dev', 'swig', 'stress']
     command = OrderedDict({
         'command': 'lava_command_run',
         'parameters': {
@@ -265,6 +265,21 @@ def get_kvm_tests_cmd():
             }
         })
     return command
+def get_kprobes_test_cmd():
+    command = OrderedDict({
+        'command': 'lava_test_shell',
+        'parameters': {
+            'testdef_repos': [
+                {
+                    'git-repo': 'https://github.com/lttng/lttng-ci.git',
+                    'revision': 'master',
+                    'testdef': 'lava/baremetal-tests/kprobe-fuzzing-tests.yml'
+                }
+                ],
+            'timeout': 18000
+            }
+        })
+    return command
 
 def get_results_cmd(stream_name):
     command = OrderedDict({
@@ -422,6 +437,7 @@ def main():
         j['actions'].append(get_config_cmd('kvm'))
         j['actions'].append(get_env_setup_cmd('kvm', args.tools_commit, args.ust_commit))
         j['actions'].append(get_kvm_tests_cmd())
+        j['actions'].append(get_kprobes_test_cmd())
         j['actions'].append(get_results_cmd(stream_name='tests-kernel'))
     else:
         assert False, 'Unknown test type'
This page took 0.02232 seconds and 4 git commands to generate.