Commit 4c05ab13 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Add -j option when creating system experiments, so that they get

marked as active instead of new.

Add another system experiment, hwcheckup for automated testing of
nodes that have failed during a swapin.
parent fd015646
......@@ -231,6 +231,8 @@ my %EXPERIMENTS =
"description" => "Nodes in a holding pattern"},
"shared-nodes" => {"pid" => "emulab-ops",
"description" => "Nodes in shared mode"},
"hwcheckup" => {"pid" => "emulab-ops",
"description" => "Nodes being testing after failure"},
);
#
......@@ -1455,7 +1457,7 @@ Phase "experiments", "Setting up system experiments", sub {
PhaseSkip("Experiment Created")
if (-d "$PROJROOT/$pid/exp/$eid");
ExecQuietFatal("$SUDO -u $PROTOUSER $WAP $BATCHEXP ".
" -q -i -k -w -f -n -S 'System Experiment' ".
" -q -i -k -j -w -f -n -S 'System Experiment' ".
" -L 'System Experiment' ".
" -E '$desc - DO NOT DELETE' ".
" -p $pid -e $eid");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment