aboutsummaryrefslogtreecommitdiffstats
path: root/templates/tests
diff options
context:
space:
mode:
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>2020-11-27 14:38:47 +0100
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>2020-11-27 14:40:46 +0100
commit1b09e43c7c7f9532b56ddd825f9f2afd5a860bee (patch)
tree4b1b5ecc4354ce50e560cffe2b3771797f7140cb /templates/tests
parent3999ea8f05650ebe1715199ea24bf42b7c7f7a28 (diff)
Dump the journal at the end of a job
For debugging purposes, dump the journal at the very end. Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: Ib31764edb57827fbf2deb6ef5705da8783d17c30
Diffstat (limited to 'templates/tests')
-rw-r--r--templates/tests/application-lifecycle.jinja211
-rw-r--r--templates/tests/dumpjournal.jinja29
2 files changed, 20 insertions, 0 deletions
diff --git a/templates/tests/application-lifecycle.jinja2 b/templates/tests/application-lifecycle.jinja2
index c9e6242..536ac4a 100644
--- a/templates/tests/application-lifecycle.jinja2
+++ b/templates/tests/application-lifecycle.jinja2
@@ -5,6 +5,7 @@
definitions:
- repository: https://git.automotivelinux.org/src/qa-testdefinitions
from: git
+ history: False
path: test-suites/short-smoke/application-lifecycle.yaml
name: application-lifecycle
parameters:
@@ -13,3 +14,13 @@
{%- else %}
APPURL: "{{app_url_base}}/{{ app_changeid }}/{{ app_patchset }}/{{ app_branch }}/{{ sdk_arch }}"
{%- endif %}
+
+- test:
+ timeout:
+ minutes: 15
+ definitions:
+ - repository: https://git.automotivelinux.org/src/qa-testdefinitions
+ from: git
+ history: False
+ path: test-suites/short-smoke/dumpjournal.yaml
+ name: ci-dumpjournal
diff --git a/templates/tests/dumpjournal.jinja2 b/templates/tests/dumpjournal.jinja2
new file mode 100644
index 0000000..a3011db
--- /dev/null
+++ b/templates/tests/dumpjournal.jinja2
@@ -0,0 +1,9 @@
+- test:
+ timeout:
+ minutes: 15
+ definitions:
+ - repository: https://git.automotivelinux.org/src/qa-testdefinitions
+ from: git
+ history: False
+ path: test-suites/short-smoke/dumpjournal.yaml
+ name: ci-dumpjournal