<BurnConfig>
  <default />
  <name>default-destructive</name>
  <description>Standard destructive burn test. Beware, wipes the disks!</description>
  <configuration>
<![CDATA[
    <burnconfig>

      <!-- The framework can send e-mail on failure. This is an optional tag. -->
      <!-- Multiple addresses can be specified. -->
      <mail>
        <address>root@master</address>
        <!-- <address>some@other.address</address> -->
      </mail>

      <!-- Tests executed from the installer -->
      <pre-install>

        <!-- Gather hardware information -->
        <phase name="01-hwinfo">
          <test name="hwinfo"/>
          <test name="sleep" args="10"/>
        </phase>

        <!-- Measure write speed of harddrive with CPUs idle -->
        <phase name="02-disks">
          <test name="disktest" args="30"/>
          <test name="mce_check" endless="1"/>
          <test name="kmon" endless="1"/>
        </phase>

        <!-- Measure write speed of harddrive while stressing CPUs -->
        <phase name="03-disks-cpu">
          <test name="disktest"/>
          <test name="stresscpu" args="60"/>
          <test name="mce_check" endless="1"/>
        <test name="kmon" endless="1"/>
        </phase>

        <!-- Check for bad blocks while running memory-test -->
        <phase name="04-bblocks-mem">
          <test name="memtester" args="1"/>
          <test name="bblocks"/>
          <test name="mce_check" endless="1"/>
          <test name="kmon" endless="1"/>
        </phase>

        <!-- Perform APC reset test -->
        <phase name="05-apc">
          <test name="powertest" args="25"/>
        </phase>

      </pre-install>

      <!-- Tests executed after a full installation -->
      <post-install>

        <!-- Check for bad blocks while running Linpack on all CPUs -->
        <phase name="06-hpl">
          <!-- hpl can have 3 args, first is desired runtime in hours  -->
          <!-- second is the percentage of mem to use, third is a marging in MB -->
          <test name="hpl"/>
          <test name="mce_check" endless="1"/>
          <test name="kmon" endless="1"/>
        </phase>

        <!-- Compile the Linux kernel a couple of times -->
        <phase name="07-compile">
          <test name="compile" args="6"/>
          <test name="mce_check" endless="1"/>
          <test name="kmon" endless="1"/>
        </phase>

        <!-- Run mprime torture test for an hour -->
        <phase name="08-mprime">
          <test name="mprime"/>
          <test name="mce_check" endless="1"/>
          <test name="kmon" endless="1"/>
        </phase>

      </post-install>

    </burnconfig>
]]>
  </configuration>
</BurnConfig>

<BurnConfig>
  <name>long-hpl</name>
  <description>Run HPL test for a long time.</description>
  <configuration>
<![CDATA[
    <burnconfig>

      <!-- The framework can send e-mail on failure. This is an optional tag. -->
      <!-- Multiple addresses can be specified. -->
      <mail>
	<address>root@master</address>
	<!-- <address>some@other.address</address> -->
      </mail>
      <!-- Tests executed from the installer -->
      <pre-install>
	<!-- Pre-installer is empty for this one -->
      </pre-install>
      <!-- Tests executed after a full installation -->
      <post-install>
	<!-- Check for bad blocks while running Linpack on all CPUs -->
	<phase name="01-hpl">
	  <!-- hpl can have 3 args, first is desired runtime in hours  -->
	  <!-- second is the percentage of mem to use, third is a marging in MB -->
	  <test name="hpl" args="72"/>
	  <test name="mce_check" endless="1"/>
	</phase>
      </post-install>

    </burnconfig>
]]>
  </configuration>
</BurnConfig>

<BurnConfig>
  <name>gpu-burn</name>
  <description>Run burn tests on NVIDIA GPUs</description>
  <configuration>
<![CDATA[
    <burnconfig>

      <!-- The framework can send e-mail on failure. This is an optional tag. -->
      <!-- Multiple addresses can be specified. -->
      <mail>
	<address>root@master</address>
        <!-- <address>some@other.address</address> -->
      </mail>
      <pre-install>
      </pre-install>

      <post-install>
        <phase name="01-GPUburn">
          <!-- Argument is test intensity from 1 to 3 -->
          <test name="gpu_burn" args="-r 3"/>
        </phase>
      </post-install>

    </burnconfig>
]]>
  </configuration>
</BurnConfig>

