Skip to contentSkip to conversation

ts-debian-di-install: Don't set runvars for netboot kernel+ramdisk as outputs

PATCH In review Ian Campbell 2 participants 2 messages Nov 30, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ts-debian-di-install: Don't set runvars for netboot kernel+ramdisk as outputs

Currently these runvars are either URLs provided by the definition (e.g. make-flight) or output controller-relative paths created by the execution (in the case where they aren't from the definition).

This wierd dual-semantics is confusing and wrong, and in particular is broken if the test step is rerun (e.g. in standalone mode).

In the case where they are outputs only these paths is information only. The information is already available in the full logs so dropping the runvars here merely removes the information from the summary table. It's not so useful that this is an issue.

---
 ts-debian-di-install | 3 ---
 1 file changed, 3 deletions(-)
ts-debian-di-install +0 -3
index a9b3b20..96acd0e 100755
@@ -163,9 +163,6 @@ sub setup_netboot($$$)
 
 	target_putfile_root($ho, 60, $kernel, "$didir/kernel_${suite}_${arch}");
 	target_putfile_root($ho, 60, $ramdisk, "$didir/ramdisk_${suite}_${arch}");
-
-	store_runvar("$gho->{Guest}_netboot_kernel", $kernel);
-	store_runvar("$gho->{Guest}_netboot_ramdisk", $ramdisk);
     }
 
     return <<END;
Signature · 1 line
2.6.1
Acked-by on v1 1/1
#1 lore raw

Ian Campbell writes ("[PATCH OSSTEST] ts-debian-di-install: Don't set runvars for netboot kernel+ramdisk as outputs"):

Quoted 11 lines

Currently these runvars are either URLs provided by the definition (e.g. make-flight) or output controller-relative paths created by the execution (in the case where they aren't from the definition).

This wierd dual-semantics is confusing and wrong, and in particular is broken if the test step is rerun (e.g. in standalone mode).

In the case where they are outputs only these paths is information only. The information is already available in the full logs so dropping the runvars here merely removes the information from the summary table. It's not so useful that this is an issue.