[OSSTEST PATCH] host reuse: Reuse hosts only in same role (for now)

Ian Jackson posted 1 patch 2 weeks ago
Failed in applying to current master (apply log)
ts-host-reuse | 1 +
1 file changed, 1 insertion(+)

[OSSTEST PATCH] host reuse: Reuse hosts only in same role (for now)

Posted by Ian Jackson 2 weeks ago
This is a workaround.  There is a problem with hoat key setup in a
group of hosts, which means that when a pair test reuses a host set up
by a different test, we can get
   Host key verification failed.
during the src-to-dst migration.

Signed-off-by: Ian Jackson <iwj@xenproject.org>
---
 ts-host-reuse | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ts-host-reuse b/ts-host-reuse
index ae967304..8d674257 100755
--- a/ts-host-reuse
+++ b/ts-host-reuse
@@ -67,6 +67,7 @@ sub sharetype_add ($$) {
 sub compute_test_sharetype () {
     my @runvartexts;
     my %done;
+    push @runvartexts, $ho->{Ident};
     foreach my $key (runvar_glob(@accessible_runvar_pats)) {
 	next if runvar_is_synth($key);
 	my $val = $r{$key};
-- 
2.20.1