1 device_type: {{ device_type }}
2 job_name: {{ job_name }}
9 {% if device_type is 'qemu' -%}
11 # tell the qemu template which architecture is being tested
12 # the template uses that to ensure that qemu-system-x86_64 is executed.
13 {# Used amd64 as a default #}
18 {% if device_type is 'x86' -%}
24 jenkins_jobname: {{jenkins_job}}
25 {% if test_type is 'kvm-fuzzing-tests' -%}
26 nb_iterations: {{ kprobe_round_nb }}
39 url: {{ linux_modules_url }}
43 url: {{ lttng_modules_url }}
47 url: {{ nfsrootfs_url }}
54 {% if device_type is 'x86' -%}
58 - 'root@linaro-server:~#'
59 {% elif device_type is 'kvm' -%}
63 login_prompt: "kvm02 login:"
71 # Base setup of environment #
74 format: Lava-Test Test Definition 1.0
76 description: "Basic environment setup for x86 board"
83 - cat /etc/resolv.conf
84 - echo nameserver 172.18.0.12 > /etc/resolv.conf
86 {% if device_type is 'x86' -%}
87 - mount /dev/sda1 /tmp
91 - locale-gen en_US.UTF-8
94 - apt-get install -y {{ packages|join(' ') }}
95 {% if test_type is not 'kvm-fuzzing-tests' -%}
96 - pip3 install --upgrade pip
100 - ln -s {{ vlttng_path }} /root/lttngvenv
104 name: x86-env-setup-inline
105 path: inline/x86-env-setup.yaml
106 {% if test_type is 'baremetal-benchmarks' -%}
107 - repository: https://github.com/lttng/lttng-ci.git
109 path: lava/system-tests/failing-close.yml
111 - repository: https://github.com/lttng/lttng-ci.git
113 path: lava/system-tests/failing-ioctl.yml
115 - repository: https://github.com/lttng/lttng-ci.git
117 path: lava/system-tests/failing-open-efault.yml
118 name: failing-open-efault
119 - repository: https://github.com/lttng/lttng-ci.git
121 path: lava/system-tests/success-dup-close.yml
122 name: success-dup-close
123 - repository: https://github.com/lttng/lttng-ci.git
125 path: lava/system-tests/raw-syscall-getpid.yml
126 name: raw-syscall-getpid
127 - repository: https://github.com/lttng/lttng-ci.git
129 path: lava/system-tests/failing-open-enoent.yml
130 name: failing-open-enoent
131 - repository: https://github.com/lttng/lttng-ci.git
133 path: lava/system-tests/lttng-test-filter.yml
134 name: lttng-test-filter
135 {% elif test_type is 'baremetal-tests' -%}
136 - repository: https://github.com/lttng/lttng-ci.git
138 path: lava/system-tests/perf-tests.yml
140 {% elif test_type is 'kvm-tests' -%}
141 - repository: https://github.com/lttng/lttng-ci.git
143 path: lava/system-tests/kernel-tests.yml
145 - repository: https://github.com/lttng/lttng-ci.git
147 path: lava/system-tests/destructive-tests.yml
148 name: destructive-tests
149 {% elif test_type is 'kvm-fuzzing-tests' -%}
150 - repository: https://github.com/lttng/lttng-ci.git
152 path: lava/system-tests/kprobe-fuzzing-generate-data.yml
153 name: kprobe-fuzzing-generate-data
155 RANDOM_SEED: {{ random_seed }}
156 {% for i in range(kprobe_round_nb) i-%}
157 - repository: https://github.com/lttng/lttng-ci.git
159 path: lava/system-tests/kprobe-fuzzing-tests.yml
160 name: kprobe-fuzzing-tests