From: Roger Pau Monne <roger.pau@citrix.com>
To: xen-devel@lists.xenproject.org
Cc: Ian Jackson <ian.jackson@eu.citrix.com>,
Roger Pau Monne <roger.pau@citrix.com>
Subject: [PATCH OSSTEST v3 8/8] sg-run-job: hook the memdisk test into examine
Date: Wed, 2 Aug 2017 12:52:21 +0100 [thread overview]
Message-ID: <20170802115221.29116-9-roger.pau@citrix.com> (raw)
In-Reply-To: <20170802115221.29116-1-roger.pau@citrix.com>
Hook the memdisk parameter detection and the saving of the host
properties into the examine jobs.
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
---
Changes since v2:
- Do not pass a host ident to ts-examine-hostprops-save.
- Use .- for ts-memdisk-try-append so that the rest of the job will
run even if this step fails.
Changes since v1:
- Run the memdisk test first (so that we don't leave the host in a
weird state).
- Pass a host to the examine-hostprops-save.
---
sg-run-job | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sg-run-job b/sg-run-job
index ed1ed3c8..de6e3f76 100755
--- a/sg-run-job
+++ b/sg-run-job
@@ -655,6 +655,7 @@ proc examine-host-install-xen {} {
proc examine-host-examine {install} {
global ok
catching-otherwise fail {
+ run-ts -. = ts-memdisk-try-append + host
examine-host-install-$install
run-ts . = ts-examine-serial-pre + host
run-ts . reboot ts-host-reboot + host
@@ -663,6 +664,7 @@ proc examine-host-examine {install} {
if {$ok} {
run-ts -. = ts-examine-serial-post + host
run-ts . = ts-examine-logs-save + host
+ run-ts . = ts-examine-hostprops-save
}
}
--
2.11.0 (Apple Git-81)
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
prev parent reply other threads:[~2017-08-02 11:52 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-02 11:52 [PATCH OSSTEST v3 0/8] Add support to examine the needed memdisk flags for each hos Roger Pau Monne
2017-08-02 11:52 ` [PATCH OSSTEST v3 1/8] HostDB: introduce set_property Roger Pau Monne
2017-08-02 11:52 ` [PATCH OSSTEST v3 2/8] mfi-common: move set_freebsd_runvars to mfi-common Roger Pau Monne
2017-08-02 11:52 ` [PATCH OSSTEST v3 3/8] TestSupport: introduce hostprop_putative_record Roger Pau Monne
2017-08-02 11:52 ` [PATCH OSSTEST v3 4/8] ts-freebsd-host-install: add arguments to test memdisk append options Roger Pau Monne
2017-08-02 11:52 ` [PATCH OSSTEST v3 5/8] ts-memdisk-try-append: introduce a script to test memdisk options Roger Pau Monne
2017-08-02 11:52 ` [PATCH OSSTEST v3 6/8] ts-examine-hostprops-save: introduce a script to save properties Roger Pau Monne
2017-08-02 11:52 ` [PATCH OSSTEST v3 7/8] make-hosts-flight: set runvars for FreeBSD test Roger Pau Monne
2017-08-02 11:52 ` Roger Pau Monne [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170802115221.29116-9-roger.pau@citrix.com \
--to=roger.pau@citrix.com \
--cc=ian.jackson@eu.citrix.com \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).