-
Notifications
You must be signed in to change notification settings - Fork 5
/
tortillas_config.yml
61 lines (51 loc) · 1.5 KB
/
tortillas_config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# _______ __ __ __ __
# | .-----.----| |_|__| | .---.-.-----.
# |.| | | _ | _| _| | | | _ |__ --|
# `-|. |-|_____|__| |____|__|__|__|___._|_____|
# |: |
# |::.| Configuration file
# `---'
threads: 8
# Timeouts
bootup_timeout_secs: 20
default_test_timeout_secs: 120
# Syscall numbers to detect bootup and test completion
sc_tortillas_bootup: 1337
sc_tortillas_finished: 1338
# The analyze config field contains entries that describe
# how tortillas parses sweb logs.
analyze:
# Exit codes
- name: exit_codes # Unique identifier
scope: SYSCALL # as in `debug(SYSCALL, ...)`
pattern: 'Syscall::EXIT: called, exit_code: (\d+)' # match exit code
mode: exit_codes # special mode that checks exit codes
set_status: FAILED # set status FAILED, if unexpected exit codes
# Userspace asserts
- name: userspace_asserts
scope: SYSCALL
pattern: 'Syscall::write: (Assertion failed:.*)'
mode: add_as_error # add matches as errors
set_status: FAILED
# Locking errors
- name: lock_logs
scope: LOCK
pattern: '(.*)'
mode: add_as_error
# Command not understood
- name: command_not_understood
scope: SYSCALL
pattern: 'Syscall::write: (Unknown command)'
mode: add_as_error
set_status: FAILED
# Kernel panics
- name: kernel_panics
scope: 'KERNEL PANIC'
pattern: '(.*)'
mode: add_as_error
set_status: PANIC
# Backtraces
- name: backtrace
scope: BACKTRACE
pattern: '(.*)'
mode: add_as_error_join