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: {{ lttng_modules_url }}
41 url: {{ nfsrootfs_url }}
51 - 'root@linaro-server:~#'
55 # Base setup of environment #
58 format: Lava-Test Test Definition 1.0
60 description: "Basic environment setup for x86 board"
67 - cat /etc/resolv.conf
68 - echo nameserver 172.18.0.12 > /etc/resolv.conf
70 {% if device_type == DeviceType.x86 %}
71 - mount /dev/sda1 /tmp
75 - locale-gen en_US.UTF-8
78 - apt-get install -y {{ packages|join(" ") }}
79 {% if test_type != TestType.kvm_fuzzing_tests %}
80 - pip3 install --upgrade pip
84 - ln -s {{ vlttng_path }} /root/lttngvenv
88 name: x86-env-setup-inline
89 path: inline/x86-env-setup.yaml
90 {% if test_type == TestType.baremetal_benchmarks %}
91 - repository: https://github.com/lttng/lttng-ci.git
93 path: lava/system-tests/failing-close.yml
95 - repository: https://github.com/lttng/lttng-ci.git
97 path: lava/system-tests/failing-ioctl.yml
99 - repository: https://github.com/lttng/lttng-ci.git
101 path: lava/system-tests/failing-open-efault.yml
102 name: failing-open-efault
103 - repository: https://github.com/lttng/lttng-ci.git
105 path: lava/system-tests/success-dup-close.yml
106 name: success-dup-close
107 - repository: https://github.com/lttng/lttng-ci.git
109 path: lava/system-tests/raw-syscall-getpid.yml
110 name: raw-syscall-getpid
111 - repository: https://github.com/lttng/lttng-ci.git
113 path: lava/system-tests/failing-open-enoent.yml
114 name: failing-open-enoent
115 - repository: https://github.com/lttng/lttng-ci.git
117 path: lava/system-tests/lttng-test-filter.yml
118 name: lttng-test-filter
119 {% elif test_type == TestType.baremetal_tests %}
120 - repository: https://github.com/lttng/lttng-ci.git
122 path: lava/system-tests/perf-tests.yml
124 {% elif test_type == TestType.kvm_tests %}
125 - repository: https://github.com/lttng/lttng-ci.git
127 path: lava/system-tests/kernel-tests.yml
129 - repository: https://github.com/lttng/lttng-ci.git
131 path: lava/system-tests/destructive-tests.yml
132 name: destructive-tests
133 {% elif test_type == TestType.kvm_fuzzing_tests %}
134 - repository: https://github.com/lttng/lttng-ci.git
136 path: lava/system-tests/kprobe-fuzzing-generate-data.yml
137 name: kprobe-fuzzing-generate-data
139 RANDOM_SEED: {{ random_seed }}
140 {% for i in range(kprobe_round_nb) %}
141 - repository: https://github.com/lttng/lttng-ci.git
143 path: lava/system-tests/kprobe-fuzzing-tests.yml
144 name: kprobe-fuzzing-tests