2 job_name: {{ job_name }}
8 {% if device_type == DeviceType.kvm %}
10 extra_kernel_args: cpuidle.off=1
11 extra_nfsroot_args: ",nfsvers=3 nfsrootdebug"
16 {% if device_type == DeviceType.x86 %}
22 jenkins_jobname: {{ job_name }}
23 {% if test_type == TestType.kvm_fuzzing_tests %}
24 nb_iterations: {{ kprobe_round_nb }}
37 url: {{ lttng_modules_url }}
40 url: {{ nfsrootfs_url }}
50 - 'root@linaro-server:~#'
54 # Base setup of environment #
57 format: Lava-Test Test Definition 1.0
59 description: "Basic environment setup for x86 board"
66 - cat /etc/resolv.conf
67 - echo nameserver 172.18.0.12 > /etc/resolv.conf
69 {% if device_type == DeviceType.x86 %}
70 - mount /dev/sda1 /tmp
74 - locale-gen en_US.UTF-8
77 - apt-get install -y {{ packages|join(" ") }}
78 {% if test_type != TestType.kvm_fuzzing_tests %}
79 - pip3 install --upgrade pip
83 - ln -s {{ vlttng_path }} /root/lttngvenv
87 name: x86-env-setup-inline
88 path: inline/x86-env-setup.yaml
89 {% if test_type == TestType.baremetal_benchmarks %}
90 - repository: https://github.com/lttng/lttng-ci.git
92 path: lava/system-tests/failing-close.yml
94 - repository: https://github.com/lttng/lttng-ci.git
96 path: lava/system-tests/failing-ioctl.yml
98 - repository: https://github.com/lttng/lttng-ci.git
100 path: lava/system-tests/failing-open-efault.yml
101 name: failing-open-efault
102 - repository: https://github.com/lttng/lttng-ci.git
104 path: lava/system-tests/success-dup-close.yml
105 name: success-dup-close
106 - repository: https://github.com/lttng/lttng-ci.git
108 path: lava/system-tests/raw-syscall-getpid.yml
109 name: raw-syscall-getpid
110 - repository: https://github.com/lttng/lttng-ci.git
112 path: lava/system-tests/failing-open-enoent.yml
113 name: failing-open-enoent
114 - repository: https://github.com/lttng/lttng-ci.git
116 path: lava/system-tests/lttng-test-filter.yml
117 name: lttng-test-filter
118 {% elif test_type == TestType.baremetal_tests %}
119 - repository: https://github.com/lttng/lttng-ci.git
121 path: lava/system-tests/perf-tests.yml
123 {% elif test_type == TestType.kvm_tests %}
124 - repository: https://github.com/lttng/lttng-ci.git
126 path: lava/system-tests/kernel-tests.yml
128 - repository: https://github.com/lttng/lttng-ci.git
130 path: lava/system-tests/destructive-tests.yml
131 name: destructive-tests
132 {% elif test_type == TestType.kvm_fuzzing_tests %}
133 - repository: https://github.com/lttng/lttng-ci.git
135 path: lava/system-tests/kprobe-fuzzing-generate-data.yml
136 name: kprobe-fuzzing-generate-data
138 RANDOM_SEED: {{ random_seed }}
139 {% for i in range(kprobe_round_nb) %}
140 - repository: https://github.com/lttng/lttng-ci.git
142 path: lava/system-tests/kprobe-fuzzing-tests.yml
143 name: kprobe-fuzzing-tests