@@ -1418,6 +1418,8 @@ sub selecthost ($;$$) {
}
}
+ host_update_lifecycle_info($ho, $isprep ? 'selectprep' : 'select');
+
return $ho;
}
@@ -1,4 +1,4 @@
+-- ##OSSTEST## 012 Needed
--
-- Records the jobs which have touched a host, for host sharing/reuse
-- The information here is ephemeral - it is cleared when a host is
@@ -295,3 +295,4 @@ setup_netboot_local($ho);
# Proceed with the install
install();
+host_update_lifecycle_info($ho, 'wiped');
@@ -297,3 +297,4 @@ END
}
install();
+host_update_lifecycle_info($ho, 'wiped');
@@ -158,6 +158,7 @@ sub act_post_test () {
return unless $ho->{Shared};
die unless $ho->{Shared}{State} eq 'mid-test';
post_test_cleanup();
+ host_update_lifecycle_info($ho, 'final');
host_shared_mark_ready($ho, $sharetype, 'mid-test', 'ready');
}
@@ -309,3 +309,4 @@ if (fetch_logs_host()) {
}
}
logm("logs captured to $stash");
+host_update_lifecycle_info($ho, 'final');