LAVA: Use bash as first step to spawn a bash shell
[lttng-ci.git] / scripts / system-tests / template_lava_job.jinja2
index 8d9f02595a27273a477af03b2a876635b2547d42..599e58a0de3b8de9dd41838d7bda43f881b349a1 100644 (file)
@@ -7,10 +7,9 @@ priority: medium
 visibility: public
 {% if device_type == DeviceType.kvm %}
 context:
-  # tell the qemu template which architecture is being tested
-  # the template uses that to ensure that qemu-system-x86_64 is executed.
-  {# Used amd64 as a default #}
-  arch: amd64
+  extra_kernel_args: cpuidle.off=1
+  extra_nfsroot_args: ",nfsvers=3 nfsrootdebug"
+
 tags:
   - qemu
 {% endif %}
@@ -36,7 +35,6 @@ actions:
           type: zimage
         modules:
           url: {{ lttng_modules_url }}
-          archive: tar
           compression: gz
         nfsrootfs:
           url: {{ nfsrootfs_url }}
@@ -70,8 +68,10 @@ actions:
                     - groupadd tracing
                   {% if device_type == DeviceType.x86 %}
                     - mount /dev/sda1 /tmp
-                    - rm -rf /tmp/*
+                  {% elif device_type == DeviceType.kvm %}
+                    - mount /dev/sda /tmp
                   {% endif %}
+                    - rm -rf /tmp/*
                     - depmod -a
                     - locale-gen en_US.UTF-8
                     - apt-get update
This page took 0.022951 seconds and 4 git commands to generate.