LAVA: increase timeout
[lttng-ci.git] / scripts / system-tests / template_lava_job.jinja2
index 3acf35468b93279584ee1e971e72418ba3e97858..c7ac308a941e682ed6116b7f431ba72d4bab477f 100644 (file)
@@ -3,13 +3,21 @@ job_name: {{ job_name }}
 timeouts:
   job:
     hours: 2
+  action:
+    hours: 2
+  connection:
+    minutes: 4
+  connections:
+    lava-test-shell:
+      minutes: 4
 priority: medium
 visibility: public
-{% if device_type == DeviceType.kvm %}
 context:
   extra_kernel_args: cpuidle.off=1
-  extra_nfsroot_args: ",nfsver=3 nfsrootdebug"
+  extra_nfsroot_args: ",nfsvers=3 nfsrootdebug"
+  lava_test_sh_cmd: "/bin/bash"
 
+{% if device_type == DeviceType.kvm %}
 tags:
   - qemu
 {% endif %}
@@ -39,7 +47,6 @@ actions:
         nfsrootfs:
           url: {{ nfsrootfs_url }}
           compression: gz
-        os: ubuntu
 
     - boot:
         timeout:
@@ -91,44 +98,64 @@ actions:
               from: git
               path: lava/system-tests/failing-close.yml
               name: failing-close
+              params:
+                JENKINS_BUILD_ID: {{ jenkins_build_id }}
             - repository: https://github.com/lttng/lttng-ci.git
               from: git
               path: lava/system-tests/failing-ioctl.yml
               name: failing-ioctl
+              params:
+                JENKINS_BUILD_ID: {{ jenkins_build_id }}
             - repository: https://github.com/lttng/lttng-ci.git
               from: git
               path: lava/system-tests/failing-open-efault.yml
               name: failing-open-efault
+              params:
+                JENKINS_BUILD_ID: {{ jenkins_build_id }}
             - repository: https://github.com/lttng/lttng-ci.git
               from: git
               path: lava/system-tests/success-dup-close.yml
               name: success-dup-close
+              params:
+                JENKINS_BUILD_ID: {{ jenkins_build_id }}
             - repository: https://github.com/lttng/lttng-ci.git
               from: git
               path: lava/system-tests/raw-syscall-getpid.yml
               name: raw-syscall-getpid
+              params:
+                JENKINS_BUILD_ID: {{ jenkins_build_id }}
             - repository: https://github.com/lttng/lttng-ci.git
               from: git
               path: lava/system-tests/failing-open-enoent.yml
               name: failing-open-enoent
+              params:
+                JENKINS_BUILD_ID: {{ jenkins_build_id }}
             - repository: https://github.com/lttng/lttng-ci.git
               from: git
               path: lava/system-tests/lttng-test-filter.yml
               name: lttng-test-filter
+              params:
+                JENKINS_BUILD_ID: {{ jenkins_build_id }}
           {% elif test_type == TestType.baremetal_tests %}
             - repository: https://github.com/lttng/lttng-ci.git
               from: git
               path: lava/system-tests/perf-tests.yml
               name: perf-tests
+              params:
+                JENKINS_BUILD_ID: {{ jenkins_build_id }}
           {% elif test_type == TestType.kvm_tests %}
             - repository: https://github.com/lttng/lttng-ci.git
               from: git
               path: lava/system-tests/kernel-tests.yml
               name: kernel-tests
+              params:
+                JENKINS_BUILD_ID: {{ jenkins_build_id }}
             - repository: https://github.com/lttng/lttng-ci.git
               from: git
               path: lava/system-tests/destructive-tests.yml
               name: destructive-tests
+              params:
+                JENKINS_BUILD_ID: {{ jenkins_build_id }}
           {% elif test_type == TestType.kvm_fuzzing_tests %}
             - repository: https://github.com/lttng/lttng-ci.git
               from: git
This page took 0.040661 seconds and 4 git commands to generate.