1 device_type: {{ device_type }}
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 #}
15 {% if device_type == DeviceType.x86 %}
21 jenkins_jobname: {{ job_name }}
22 {% if test_type == TestType.kvm_fuzzing_tests %}
23 nb_iterations: {{ kprobe_round_nb }}
36 url: {{ linux_modules_url }}
40 url: {{ lttng_modules_url }}
44 url: {{ nfsrootfs_url }}
51 {% if device_type == DeviceType.x86 %}
55 - 'root@linaro-server:~#'
56 {% elif device_type == DeviceType.kvm %}
60 login_prompt: "kvm02 login:"
68 # Base setup of environment #
71 format: Lava-Test Test Definition 1.0
73 description: "Basic environment setup for x86 board"
80 - cat /etc/resolv.conf
81 - echo nameserver 172.18.0.12 > /etc/resolv.conf
83 {% if device_type == DeviceType.x86 %}
84 - mount /dev/sda1 /tmp
88 - locale-gen en_US.UTF-8
91 - apt-get install -y {{ packages|join(" ") }}
92 {% if test_type != TestType.kvm_fuzzing_tests %}
93 - pip3 install --upgrade pip
97 - ln -s {{ vlttng_path }} /root/lttngvenv
101 name: x86-env-setup-inline
102 path: inline/x86-env-setup.yaml
103 {% if test_type == TestType.baremetal_benchmarks %}
104 - repository: https://github.com/lttng/lttng-ci.git
106 path: lava/system-tests/failing-close.yml
108 - repository: https://github.com/lttng/lttng-ci.git
110 path: lava/system-tests/failing-ioctl.yml
112 - repository: https://github.com/lttng/lttng-ci.git
114 path: lava/system-tests/failing-open-efault.yml
115 name: failing-open-efault
116 - repository: https://github.com/lttng/lttng-ci.git
118 path: lava/system-tests/success-dup-close.yml
119 name: success-dup-close
120 - repository: https://github.com/lttng/lttng-ci.git
122 path: lava/system-tests/raw-syscall-getpid.yml
123 name: raw-syscall-getpid
124 - repository: https://github.com/lttng/lttng-ci.git
126 path: lava/system-tests/failing-open-enoent.yml
127 name: failing-open-enoent
128 - repository: https://github.com/lttng/lttng-ci.git
130 path: lava/system-tests/lttng-test-filter.yml
131 name: lttng-test-filter
132 {% elif test_type == TestType.baremetal_tests %}
133 - repository: https://github.com/lttng/lttng-ci.git
135 path: lava/system-tests/perf-tests.yml
137 {% elif test_type == TestType.kvm_tests %}
138 - repository: https://github.com/lttng/lttng-ci.git
140 path: lava/system-tests/kernel-tests.yml
142 - repository: https://github.com/lttng/lttng-ci.git
144 path: lava/system-tests/destructive-tests.yml
145 name: destructive-tests
146 {% elif test_type == TestType.kvm_fuzzing_tests %}
147 - repository: https://github.com/lttng/lttng-ci.git
149 path: lava/system-tests/kprobe-fuzzing-generate-data.yml
150 name: kprobe-fuzzing-generate-data
152 RANDOM_SEED: {{ random_seed }}
153 {% for i in range(kprobe_round_nb) %}
154 - repository: https://github.com/lttng/lttng-ci.git
156 path: lava/system-tests/kprobe-fuzzing-tests.yml
157 name: kprobe-fuzzing-tests