2 job_name: {{ job_name }}
8 {% if device_type == DeviceType.kvm %}
10 # tell the qemu template which architecture is being tested
11 # the template uses that to ensure that qemu-system-x86_64 is executed.
12 {# Used amd64 as a default #}
17 {% if device_type == DeviceType.x86 %}
23 jenkins_jobname: {{ job_name }}
24 {% if test_type == TestType.kvm_fuzzing_tests %}
25 nb_iterations: {{ kprobe_round_nb }}
38 url: {{ linux_modules_url }}
42 url: {{ lttng_modules_url }}
46 url: {{ nfsrootfs_url }}
56 - 'root@linaro-server:~#'
60 # Base setup of environment #
63 format: Lava-Test Test Definition 1.0
65 description: "Basic environment setup for x86 board"
72 - cat /etc/resolv.conf
73 - echo nameserver 172.18.0.12 > /etc/resolv.conf
75 {% if device_type == DeviceType.x86 %}
76 - mount /dev/sda1 /tmp
80 - locale-gen en_US.UTF-8
83 - apt-get install -y {{ packages|join(" ") }}
84 {% if test_type != TestType.kvm_fuzzing_tests %}
85 - pip3 install --upgrade pip
89 - ln -s {{ vlttng_path }} /root/lttngvenv
93 name: x86-env-setup-inline
94 path: inline/x86-env-setup.yaml
95 {% if test_type == TestType.baremetal_benchmarks %}
96 - repository: https://github.com/lttng/lttng-ci.git
98 path: lava/system-tests/failing-close.yml
100 - repository: https://github.com/lttng/lttng-ci.git
102 path: lava/system-tests/failing-ioctl.yml
104 - repository: https://github.com/lttng/lttng-ci.git
106 path: lava/system-tests/failing-open-efault.yml
107 name: failing-open-efault
108 - repository: https://github.com/lttng/lttng-ci.git
110 path: lava/system-tests/success-dup-close.yml
111 name: success-dup-close
112 - repository: https://github.com/lttng/lttng-ci.git
114 path: lava/system-tests/raw-syscall-getpid.yml
115 name: raw-syscall-getpid
116 - repository: https://github.com/lttng/lttng-ci.git
118 path: lava/system-tests/failing-open-enoent.yml
119 name: failing-open-enoent
120 - repository: https://github.com/lttng/lttng-ci.git
122 path: lava/system-tests/lttng-test-filter.yml
123 name: lttng-test-filter
124 {% elif test_type == TestType.baremetal_tests %}
125 - repository: https://github.com/lttng/lttng-ci.git
127 path: lava/system-tests/perf-tests.yml
129 {% elif test_type == TestType.kvm_tests %}
130 - repository: https://github.com/lttng/lttng-ci.git
132 path: lava/system-tests/kernel-tests.yml
134 - repository: https://github.com/lttng/lttng-ci.git
136 path: lava/system-tests/destructive-tests.yml
137 name: destructive-tests
138 {% elif test_type == TestType.kvm_fuzzing_tests %}
139 - repository: https://github.com/lttng/lttng-ci.git
141 path: lava/system-tests/kprobe-fuzzing-generate-data.yml
142 name: kprobe-fuzzing-generate-data
144 RANDOM_SEED: {{ random_seed }}
145 {% for i in range(kprobe_round_nb) %}
146 - repository: https://github.com/lttng/lttng-ci.git
148 path: lava/system-tests/kprobe-fuzzing-tests.yml
149 name: kprobe-fuzzing-tests