Browse Source

Configure CI test cases timeouts

Set following default CI timeouts:
- 30 minutes for DevStack jobs
- 2 hours for IR plugin

Change-Id: I202bb5a6896817043b2514e591cc1ae37be7bf8f
changes/98/747398/4
Federico Ressi 8 months ago
parent
commit
c7d56d0213
3 changed files with 10 additions and 0 deletions
  1. +4
    -0
      infrared_plugin/plugin.spec
  2. +5
    -0
      roles/tobiko-configure/defaults/main.yaml
  3. +1
    -0
      zuul.d/devstack.yaml

+ 4
- 0
infrared_plugin/plugin.spec View File

@ -121,6 +121,10 @@ subparsers:
help: enable/disable verbose log entries in tests results log file
ansible_variable: test_log_debug
default: yes
test-case-timeout:
type: Value
help: Test case timeout in seconds
ansible_variable: test_case_timeout
- title: Run stage
options:


+ 5
- 0
roles/tobiko-configure/defaults/main.yaml View File

@ -6,7 +6,12 @@ test_default_conf:
log_dir: "{{ test_log_file | dirname }}"
log_file: "{{ test_log_file | basename }}"
testcase:
timeout: "{{ test_case_timeout }}"
test_log_debug: false
test_case_timeout: 7200.
# OpenStack client credentials
stackrc_file: '{{ ansible_user_dir }}/overcloudrc'

+ 1
- 0
zuul.d/devstack.yaml View File

@ -70,6 +70,7 @@
yaml: true
yml: true
test_log_debug: true
test_case_timeout: 1800
tobiko_dir: '/opt/stack/tobiko'
upper_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/openstack/requirements/upper-constraints.txt'


Loading…
Cancel
Save