2 job_name: {{ job_name }}
9 extra_kernel_args: cpuidle.off=1
10 extra_nfsroot_args: ",nfsvers=3 nfsrootdebug"
11 lava_test_sh_cmd: "/bin/bash"
13 {% if device_type == DeviceType.kvm %}
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 }}
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
95 JENKINS_BUILD_ID: {{ jenkins_build_id }}
96 - repository: https://github.com/lttng/lttng-ci.git
98 path: lava/system-tests/failing-ioctl.yml
101 JENKINS_BUILD_ID: {{ jenkins_build_id }}
102 - repository: https://github.com/lttng/lttng-ci.git
104 path: lava/system-tests/failing-open-efault.yml
105 name: failing-open-efault
107 JENKINS_BUILD_ID: {{ jenkins_build_id }}
108 - repository: https://github.com/lttng/lttng-ci.git
110 path: lava/system-tests/success-dup-close.yml
111 name: success-dup-close
113 JENKINS_BUILD_ID: {{ jenkins_build_id }}
114 - repository: https://github.com/lttng/lttng-ci.git
116 path: lava/system-tests/raw-syscall-getpid.yml
117 name: raw-syscall-getpid
119 JENKINS_BUILD_ID: {{ jenkins_build_id }}
120 - repository: https://github.com/lttng/lttng-ci.git
122 path: lava/system-tests/failing-open-enoent.yml
123 name: failing-open-enoent
125 JENKINS_BUILD_ID: {{ jenkins_build_id }}
126 - repository: https://github.com/lttng/lttng-ci.git
128 path: lava/system-tests/lttng-test-filter.yml
129 name: lttng-test-filter
131 JENKINS_BUILD_ID: {{ jenkins_build_id }}
132 {% elif test_type == TestType.baremetal_tests %}
133 - repository: https://github.com/lttng/lttng-ci.git
135 path: lava/system-tests/perf-tests.yml
138 JENKINS_BUILD_ID: {{ jenkins_build_id }}
139 {% elif test_type == TestType.kvm_tests %}
140 - repository: https://github.com/lttng/lttng-ci.git
142 path: lava/system-tests/kernel-tests.yml
145 JENKINS_BUILD_ID: {{ jenkins_build_id }}
146 - repository: https://github.com/lttng/lttng-ci.git
148 path: lava/system-tests/destructive-tests.yml
149 name: destructive-tests
151 JENKINS_BUILD_ID: {{ jenkins_build_id }}
152 {% elif test_type == TestType.kvm_fuzzing_tests %}
153 - repository: https://github.com/lttng/lttng-ci.git
155 path: lava/system-tests/kprobe-fuzzing-generate-data.yml
156 name: kprobe-fuzzing-generate-data
158 RANDOM_SEED: {{ random_seed }}
159 {% for i in range(kprobe_round_nb) %}
160 - repository: https://github.com/lttng/lttng-ci.git
162 path: lava/system-tests/kprobe-fuzzing-tests.yml
163 name: kprobe-fuzzing-tests