Index: docs/manual/howto.txt ================================================================== --- docs/manual/howto.txt +++ docs/manual/howto.txt @@ -1,11 +1,14 @@ How To Do Things ================ +Process Runs +------------ + Remove Runs ------------ +~~~~~~~~~~~ From the dashboard click on the button (PASS/FAIL...) for one of the tests. From the test control panel that comes up push the clean test button. The command field will be prefilled with a template command for removing that test. You can edit the command, for example change the argument to -testpatt to "%" to remove all tests. @@ -18,30 +21,30 @@ ---------------- megatest -remove-runs -target %/%/% -runname % -testpatt % -v ---------------- Archive Runs ------------- +~~~~~~~~~~~~ Megatest supports using the bup backup tool (https://bup.github.io/) to archive your tests for efficient storage and retrieval. Archived data can be rapidly retrieved if needed. The metadata for the run (PASS/FAIL status, run durations, time stamps etc.) are all preserved in the megatest database. For setup information see the Archiving topic in the reference section of this manual. To Archive -~~~~~~~~~~ +^^^^^^^^^^ Hint: use the test control panel to create a template command by pushing the "Archive Tests" button. .Archive a full run ---------------- megatest -target ubuntu/nfs/none -runname ww28.1a -archive save-remove -testpatt % ---------------- To Restore -~~~~~~~~~~ +^^^^^^^^^^ .Retrieve a single test ---------------- megatest -target ubuntu/nfs/none -runname ww28.1a -archive restore -testpatt diskperf/% ---------------- @@ -51,11 +54,11 @@ ---------------- bup -d /path/to/bup/archive ftp ---------------- Submit jobs to Host Types based on Test Name --------------------------------------------- +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .In megatest.config ------------------------ [host-types] general ssh #{getbgesthost general} Index: docs/manual/megatest_manual.html ================================================================== --- docs/manual/megatest_manual.html +++ docs/manual/megatest_manual.html @@ -913,12 +913,14 @@

How To Do Things

-

Remove Runs

+

Process Runs

+
+

Remove Runs

From the dashboard click on the button (PASS/FAIL…) for one of the tests. From the test control panel that comes up push the clean test button. The command field will be prefilled with a template command for removing that test. You can edit the command, for example change the argument to -testpatt to "%" to remove all tests.

Remove the test diskperf and all it’s items
@@ -929,29 +931,27 @@
Remove all tests for all runs and all targets
megatest -remove-runs -target %/%/% -runname % -testpatt % -v
-
-
-

Archive Runs

-
+
+

Archive Runs

Megatest supports using the bup backup tool (https://bup.github.io/) to archive your tests for efficient storage and retrieval. Archived data can be rapidly retrieved if needed. The metadata for the run (PASS/FAIL status, run durations, time stamps etc.) are all preserved in the megatest database.

For setup information see the Archiving topic in the reference section of this manual.

-
-

To Archive

+
+

To Archive

Hint: use the test control panel to create a template command by pushing the "Archive Tests" button.

Archive a full run
megatest -target ubuntu/nfs/none -runname ww28.1a -archive save-remove -testpatt %
-
-

To Restore

+
+

To Restore

Retrieve a single test
megatest -target ubuntu/nfs/none -runname ww28.1a -archive restore -testpatt diskperf/%
@@ -960,14 +960,12 @@
bup -d /path/to/bup/archive ftp
-
-
-

Submit jobs to Host Types based on Test Name

-
+
+

Submit jobs to Host Types based on Test Name

In megatest.config
[host-types]
 general ssh #{getbgesthost general}
@@ -985,10 +983,11 @@
 launcher bsub
 # if defined and not "no" flexi-launcher will bypass launcher unless there is no
 # match.
 flexi-launcher yes
+

Tricks

@@ -1104,15 +1103,12 @@
[configf:settings trim-trailing-spaces yes]
-
-
-
-

Submit jobs to Host Types based on Test Name

-
+
+

Submit jobs to Host Types based on Test Name

In megatest.config
[host-types]
 general   nbfake
@@ -1126,26 +1122,27 @@
 launcher bsub
 # if defined and not "no" flexi-launcher will bypass launcher unless there is no
 # match.
 flexi-launcher yes
-
-

host-types

+
+

host-types

List of host types and the commandline to run a job on that host type.

host-type ⇒ launch command
general nbfake
-
-

launchers

+
+

launchers

test/itempath ⇒ host-type
runfirst/sum% remote
+

The testconfig File

Index: docs/manual/reference.txt ================================================================== --- docs/manual/reference.txt +++ docs/manual/reference.txt @@ -11,11 +11,11 @@ ------------------ [configf:settings trim-trailing-spaces yes] ------------------ Submit jobs to Host Types based on Test Name --------------------------------------------- +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .In megatest.config ------------------------ [host-types] general nbfake @@ -31,21 +31,21 @@ # match. flexi-launcher yes ------------------------ host-types -~~~~~~~~~~ +^^^^^^^^^^ List of host types and the commandline to run a job on that host type. .host-type => launch command ------------ general nbfake ------------ launchers -~~~~~~~~~ +^^^^^^^^^ .test/itempath => host-type ------------ runfirst/sum% remote ------------