|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [OSSTEST PATCH 5/6] sg-run-job: Spawn ts-syslog-server
Every job now gets a syslog server, which starts up after host
allocation.
The server's address and port are recorded by ts-syslog-server in a
runvar and can be used by subsequent test steps.
Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
sg-run-job | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/sg-run-job b/sg-run-job
index 34462c7..38557d1 100755
--- a/sg-run-job
+++ b/sg-run-job
@@ -73,6 +73,8 @@ proc run-job {job} {
if {$ok} { setstatus running }
+ set syslog [spawn-ts !broken . ts-syslog-server]
+
per-host-ts broken host-install/@(*) ts-host-install-twice
per-host-prep
@@ -93,6 +95,8 @@ proc run-job {job} {
run-ts !broken capture-logs ts-logs-capture + host
}
+ reap-ts $syslog
+
if {$ok} {
if {[jobdb::job-check-escaped-steps $flight $job]} {
set ok 0
--
2.1.4
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |