summaryrefslogtreecommitdiffstats
path: root/templates
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
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')
-rw-r--r--templates/config/default.cfg6
-rw-r--r--templates/tests/application-lifecycle.jinja211
-rw-r--r--templates/tests/dumpjournal.jinja29
3 files changed, 23 insertions, 3 deletions
diff --git a/templates/config/default.cfg b/templates/config/default.cfg
index 0bc2f62..a66d75e 100644
--- a/templates/config/default.cfg
+++ b/templates/config/default.cfg
@@ -4,7 +4,7 @@ style = AGL
[default]
[release]
urlbase = http://download.automotivelinux.org/AGL/release/
-test_plan = ["release", "pyagl", "can"]
+test_plan = ["release", "pyagl", "can", "dumpjournal"]
[prerelease]
urlbase = http://download.automotivelinux.org/AGL/upload/ci/
@@ -14,9 +14,9 @@ test_plan = ["release", "pyagl", "can"]
[daily]
[snapshot]
urlbase = http://download.automotivelinux.org/AGL/snapshots/
-test_plan = ["release", "pyagl", "can"]
+test_plan = ["release", "pyagl", "can", "dumpjournal"]
[ci]
urlbase = http://download.automotivelinux.org/AGL/upload/ci/
-test_plan = ["ci", "pyagl", "can"]
+test_plan = ["ci", "pyagl", "can", "dumpjournal"]
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