From 1b09e43c7c7f9532b56ddd825f9f2afd5a860bee Mon Sep 17 00:00:00 2001 From: Jan-Simon Möller Date: Fri, 27 Nov 2020 14:38:47 +0100 Subject: Dump the journal at the end of a job MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit For debugging purposes, dump the journal at the very end. Signed-off-by: Jan-Simon Möller Change-Id: Ib31764edb57827fbf2deb6ef5705da8783d17c30 --- templates/config/default.cfg | 6 +++--- templates/tests/application-lifecycle.jinja2 | 11 +++++++++++ templates/tests/dumpjournal.jinja2 | 9 +++++++++ 3 files changed, 23 insertions(+), 3 deletions(-) create mode 100644 templates/tests/dumpjournal.jinja2 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 -- cgit 1.2.3-korg