gitlab-ci: Display Avocado log content when tests timeout
commitc071f19b0dfaedd87d7f4ef18d6dc3e1e298674d
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Mon, 15 Feb 2021 17:14:38 +0000 (15 18:14 +0100)
committerThomas Huth <thuth@redhat.com>
Fri, 19 Feb 2021 05:29:05 +0000 (19 06:29 +0100)
tree452e06b370a6e7edee5146d22cca31030a53ac03
parentf5157dc770c6a8ac22872ea7959bc9d93d02ec10
gitlab-ci: Display Avocado log content when tests timeout

Since commit ba2232bae6d ("gitlab-ci: Refactor code that show logs
of failed acceptances") we display the log content of failing tests
(Avocado "FAIL" event).

Since we are also interested in tests timeouting, update our global
Avocado config to display log content for the "INTERRUPT" event,
"possible when the timeout is reached" (See [*]).

[*] https://avocado-framework.readthedocs.io/en/latest/guides/writer/chapters/writing.html#test-statuses

Suggested-by: Willian Rampazzo <willianr@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Willian Rampazzo <willianr@redhat.com>
Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
Message-Id: <20210215171438.935665-1-philmd@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
.gitlab-ci.yml