Restraint KCIDB reporting
SKIP
The SKIP
KCIDB status will be used for Restraint tasks when all results
reported as skipped.
rstrnt-report-result / SKIP
Restraint:
<task status="Completed" result="None" start_time>
<results><result result="SKIP" /></result>
</task>
Beaker:
<task status="Completed" result="Skip" start_time />
Details for SKIP
Click on any of the arrows to view the corresponding file:
runtest.sh
#!/bin/bash
rstrnt-report-result / SKIP
metadata
[General]
[restraint]
entry_point=bash ./runtest.sh
job.xml
<?xml version="1.0"?>
<job>
<whiteboard>skip</whiteboard>
<recipeSet>
<recipe>
<distroRequires>
<and>
<distro_family op="=" value="Fedorarawhide"/>
<distro_variant op="=" value="Server"/>
</and>
</distroRequires>
<hostRequires>
<hostname op="like" value="kvm-%-guest%.lab.eng.rdu2.redhat.com"/>
</hostRequires>
<task name="skip">
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/skip"/>
<params/>
</task>
<task name="pass">
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/pass"/>
<params/>
</task>
</recipe>
</recipeSet>
</job>
restraint.xml
<?xml version="1.0"?>
<job>
<recipeSet>
<recipe id="1" status="Completed" result="PASS" checkpoint_file="checkpoint_176167.conf">
<task name="skip" keepchanges="" id="1" status="Completed" result="None" start_time="2023-09-15T06:54:21-0400" end_time="2023-09-15T06:54:22-0400" duration="01">
<logs>
<log path="recipes/1/tasks/1/logs/harness.log" filename="harness.log"/>
<log path="recipes/1/tasks/1/logs/taskout.log" filename="taskout.log"/>
</logs>
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/skip"/>
<params>
<param name="JOB_MEMBERS" value="localhost"/>
<param name="RECIPE_MEMBERS" value="localhost"/>
</params>
<results>
<result id="1694775262" path="/" result="SKIP">
<logs>
<log path="recipes/1/tasks/1/results/1694775262/logs/avc.log" filename="avc.log"/>
</logs>
</result>
</results>
</task>
<task name="pass" keepchanges="" id="2" status="Completed" result="PASS" start_time="2023-09-15T06:54:22-0400" end_time="2023-09-15T06:54:23-0400" duration="01">
<logs>
<log path="recipes/1/tasks/2/logs/harness.log" filename="harness.log"/>
<log path="recipes/1/tasks/2/logs/taskout.log" filename="taskout.log"/>
</logs>
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/pass"/>
<params>
<param name="JOB_MEMBERS" value="localhost"/>
<param name="RECIPE_MEMBERS" value="localhost"/>
</params>
<results>
<result id="1694775266" path="exit_code" result="PASS" score="0">
<logs/>
</result>
</results>
</task>
</recipe>
</recipeSet>
</job>
beaker.xml
<job id="8314568" owner="mhofmann@redhat.com" result="Pass" status="Completed" retention_tag="scratch">
<whiteboard>skip</whiteboard>
<recipeSet priority="Normal" response="ack" id="12377018">
<recipe id="14620790" job_id="8314568" recipe_set_id="12377018" whiteboard="" role="None" kickstart_url="http://beaker.engineering.redhat.com/kickstart/12561587" ks_meta="" kernel_options="" kernel_options_post="" start_time="2023-09-15 10:57:27" finish_time="2023-09-15 11:15:28" duration="0:18:01" result="Pass" status="Completed" distro="Fedora-Rawhide-20230914.n.0" arch="x86_64" family="Fedorarawhide" variant="Server" system="kvm-03-guest11.lab.eng.rdu2.redhat.com">
<autopick random="false"/>
<watchdog/>
<installation install_started="2023-09-15 10:58:56" install_finished="2023-09-15 11:08:11" postinstall_finished="2023-09-15 11:12:15"/>
<packages/>
<ks_appends/>
<roles>
<role value="None">
<system value="kvm-03-guest11.lab.eng.rdu2.redhat.com"/>
</role>
</roles>
<repos/>
<distroRequires>
<and>
<distro_family op="=" value="Fedorarawhide"/>
<distro_variant op="=" value="Server"/>
</and>
</distroRequires>
<hostRequires>
<hostname op="like" value="kvm-%-guest%.lab.eng.rdu2.redhat.com"/>
<system_type value="Machine"/></hostRequires>
<partitions/>
<logs>
<log href="https://beaker.engineering.redhat.com/recipes/14620790/logs/console.log" name="console.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14620790/logs/systemd_journal.log" name="systemd_journal.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14620790/logs/anaconda.log" name="anaconda.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14620790/logs/sys.log" name="sys.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14620790/logs/storage.log" name="storage.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14620790/logs/program.log" name="program.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14620790/logs/ks.cfg" name="ks.cfg"/>
<log href="https://beaker.engineering.redhat.com/recipes/14620790/logs/packaging.log" name="packaging.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14620790/logs/lvm.log" name="lvm.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14620790/logs/hawkey.log" name="hawkey.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14620790/logs/boot.log" name="boot.log"/>
</logs>
<task name="skip" role="None" id="166230290" result="Skip" status="Completed" start_time="2023-09-15 11:13:48" finish_time="2023-09-15 11:13:52" duration="0:00:04">
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/skip"/>
<roles>
<role value="None">
<system value="kvm-03-guest11.lab.eng.rdu2.redhat.com"/>
</role>
</roles>
<logs>
<log href="https://beaker.engineering.redhat.com/recipes/14620790/tasks/166230290/logs/taskout.log" name="taskout.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14620790/tasks/166230290/logs/harness.log" name="harness.log"/>
</logs>
<results>
<result path="/" start_time="2023-09-15 11:13:50" score="None" result="Skip" id="776592745">None<logs><log href="https://beaker.engineering.redhat.com/recipes/14620790/tasks/166230290/results/776592745/logs/dmesg.log" name="dmesg.log"/><log href="https://beaker.engineering.redhat.com/recipes/14620790/tasks/166230290/results/776592745/logs/avc.log" name="avc.log"/></logs></result>
</results>
</task>
<task name="pass" role="None" id="166230291" result="Pass" status="Completed" start_time="2023-09-15 11:13:52" finish_time="2023-09-15 11:13:54" duration="0:00:02">
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/pass"/>
<roles>
<role value="None">
<system value="kvm-03-guest11.lab.eng.rdu2.redhat.com"/>
</role>
</roles>
<logs>
<log href="https://beaker.engineering.redhat.com/recipes/14620790/tasks/166230291/logs/taskout.log" name="taskout.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14620790/tasks/166230291/logs/harness.log" name="harness.log"/>
</logs>
<results>
<result path="exit_code" start_time="2023-09-15 11:13:54" score="0" result="Pass" id="776592766">None</result>
</results>
</task>
</recipe>
</recipeSet>
</job>
DONE
The DONE
KCIDB status is not available via Restraint-based tests.
PASS
Only exit code 0
Test code:
exit 0
Restraint output:
<task status="Completed" result="PASS" start_time>
<results>
<result path="exit_code" result="PASS" />
</results>
</task>
Beaker output:
<task status="Completed" result="Pass" start_time>
<results>
<result path="exit_code" result="Pass" />
</results>
</task>
PASS test result reported
Test code:
rstrnt-report-result / PASS
Restraint output:
<task status="Completed" result="PASS" start_time>
<results>
<result result="PASS" />
</results>
</task>
Beaker output:
<task status="Completed" result="Pass" start_time>
<results>
<result result="Pass" />
</results>
</task>
Details for PASS
Only exit code 0:
runtest.sh
#!/bin/bash
exit 0
metadata
[General]
[restraint]
entry_point=bash ./runtest.sh
job.xml
<?xml version="1.0"?>
<job>
<whiteboard>exit0</whiteboard>
<recipeSet>
<recipe>
<distroRequires>
<and>
<distro_family op="=" value="Fedorarawhide"/>
<distro_variant op="=" value="Server"/>
</and>
</distroRequires>
<hostRequires>
<hostname op="like" value="kvm-%-guest%.lab.eng.rdu2.redhat.com"/>
</hostRequires>
<task name="exit0">
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/exit0"/>
<params/>
</task>
<task name="pass">
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/pass"/>
<params/>
</task>
</recipe>
</recipeSet>
</job>
restraint.xml
<?xml version="1.0"?>
<job>
<recipeSet>
<recipe id="1" status="Completed" result="PASS" checkpoint_file="checkpoint_178582.conf">
<task name="exit0" keepchanges="" id="1" status="Completed" result="PASS" start_time="2023-09-15T12:21:45-0400" end_time="2023-09-15T12:21:45-0400">
<logs>
<log path="recipes/1/tasks/1/logs/harness.log" filename="harness.log"/>
<log path="recipes/1/tasks/1/logs/taskout.log" filename="taskout.log"/>
</logs>
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/exit0"/>
<params>
<param name="JOB_MEMBERS" value="localhost"/>
<param name="RECIPE_MEMBERS" value="localhost"/>
</params>
<results>
<result id="1694794906" path="exit_code" result="PASS" score="0">
<logs/>
</result>
</results>
</task>
<task name="pass" keepchanges="" id="2" status="Completed" result="PASS" start_time="2023-09-15T12:21:46-0400" end_time="2023-09-15T12:21:47-0400" duration="01">
<logs>
<log path="recipes/1/tasks/2/logs/harness.log" filename="harness.log"/>
<log path="recipes/1/tasks/2/logs/taskout.log" filename="taskout.log"/>
</logs>
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/pass"/>
<params>
<param name="JOB_MEMBERS" value="localhost"/>
<param name="RECIPE_MEMBERS" value="localhost"/>
</params>
<results>
<result id="1694794910" path="/" result="PASS">
<logs>
<log path="recipes/1/tasks/2/results/1694794910/logs/avc.log" filename="avc.log"/>
</logs>
</result>
</results>
</task>
</recipe>
</recipeSet>
</job>
beaker.xml
<job id="8315815" owner="mhofmann@redhat.com" result="Pass" status="Completed" retention_tag="scratch">
<whiteboard>exit0</whiteboard>
<recipeSet priority="Normal" response="ack" id="12378693">
<recipe id="14622611" job_id="8315815" recipe_set_id="12378693" whiteboard="" role="None" kickstart_url="http://beaker.engineering.redhat.com/kickstart/12563446" ks_meta="" kernel_options="" kernel_options_post="" start_time="2023-09-15 16:05:41" finish_time="2023-09-15 16:21:17" duration="0:15:36" result="Pass" status="Completed" distro="Fedora-Rawhide-20230915.n.0" arch="x86_64" family="Fedorarawhide" variant="Server" system="kvm-02-guest02.lab.eng.rdu2.redhat.com">
<autopick random="false"/>
<watchdog/>
<installation install_started="2023-09-15 16:07:13" install_finished="2023-09-15 16:16:34" postinstall_finished="2023-09-15 16:19:40"/>
<packages/>
<ks_appends/>
<roles>
<role value="None">
<system value="kvm-02-guest02.lab.eng.rdu2.redhat.com"/>
</role>
</roles>
<repos/>
<distroRequires>
<and>
<distro_family op="=" value="Fedorarawhide"/>
<distro_variant op="=" value="Server"/>
</and>
</distroRequires>
<hostRequires>
<hostname op="like" value="kvm-%-guest%.lab.eng.rdu2.redhat.com"/>
<system_type value="Machine"/></hostRequires>
<partitions/>
<logs>
<log href="https://beaker.engineering.redhat.com/recipes/14622611/logs/console.log" name="console.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14622611/logs/systemd_journal.log" name="systemd_journal.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14622611/logs/anaconda.log" name="anaconda.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14622611/logs/sys.log" name="sys.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14622611/logs/storage.log" name="storage.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14622611/logs/program.log" name="program.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14622611/logs/ks.cfg" name="ks.cfg"/>
<log href="https://beaker.engineering.redhat.com/recipes/14622611/logs/packaging.log" name="packaging.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14622611/logs/lvm.log" name="lvm.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14622611/logs/hawkey.log" name="hawkey.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14622611/logs/boot.log" name="boot.log"/>
</logs>
<task name="exit0" role="None" id="166242116" result="Pass" status="Completed" start_time="2023-09-15 16:21:10" finish_time="2023-09-15 16:21:13" duration="0:00:03">
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/exit0"/>
<roles>
<role value="None">
<system value="kvm-02-guest02.lab.eng.rdu2.redhat.com"/>
</role>
</roles>
<logs>
<log href="https://beaker.engineering.redhat.com/recipes/14622611/tasks/166242116/logs/taskout.log" name="taskout.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14622611/tasks/166242116/logs/harness.log" name="harness.log"/>
</logs>
<results>
<result path="exit_code" start_time="2023-09-15 16:21:12" score="0" result="Pass" id="776652814">None</result>
</results>
</task>
<task name="pass" role="None" id="166242117" result="Pass" status="Completed" start_time="2023-09-15 16:21:13" finish_time="2023-09-15 16:21:16" duration="0:00:03">
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/pass"/>
<roles>
<role value="None">
<system value="kvm-02-guest02.lab.eng.rdu2.redhat.com"/>
</role>
</roles>
<logs>
<log href="https://beaker.engineering.redhat.com/recipes/14622611/tasks/166242117/logs/taskout.log" name="taskout.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14622611/tasks/166242117/logs/harness.log" name="harness.log"/>
</logs>
<results>
<result path="/" start_time="2023-09-15 16:21:15" score="None" result="Pass" id="776652819">None<logs><log href="https://beaker.engineering.redhat.com/recipes/14622611/tasks/166242117/results/776652819/logs/dmesg.log" name="dmesg.log"/><log href="https://beaker.engineering.redhat.com/recipes/14622611/tasks/166242117/results/776652819/logs/avc.log" name="avc.log"/></logs></result>
</results>
</task>
</recipe>
</recipeSet>
</job>
PASS test result reported:
runtest.sh
#!/bin/bash
rstrnt-report-result / PASS
metadata
[General]
[restraint]
entry_point=bash ./runtest.sh
job.xml
<?xml version="1.0"?>
<job>
<whiteboard>pass</whiteboard>
<recipeSet>
<recipe>
<distroRequires>
<and>
<distro_family op="=" value="Fedorarawhide"/>
<distro_variant op="=" value="Server"/>
</and>
</distroRequires>
<hostRequires>
<hostname op="like" value="kvm-%-guest%.lab.eng.rdu2.redhat.com"/>
</hostRequires>
<task name="pass-1">
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/pass"/>
<params/>
</task>
<task name="pass-2">
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/pass"/>
<params/>
</task>
</recipe>
</recipeSet>
</job>
restraint.xml
<?xml version="1.0"?>
<job>
<recipeSet>
<recipe id="1" status="Completed" result="PASS" checkpoint_file="checkpoint_284826.conf">
<task name="pass-1" keepchanges="" id="1" status="Completed" result="PASS" start_time="2023-09-15T12:05:32-0400" end_time="2023-09-15T12:05:33-0400" duration="01">
<logs>
<log path="recipes/1/tasks/1/logs/harness.log" filename="harness.log"/>
<log path="recipes/1/tasks/1/logs/taskout.log" filename="taskout.log"/>
</logs>
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/pass"/>
<params>
<param name="JOB_MEMBERS" value="localhost"/>
<param name="RECIPE_MEMBERS" value="localhost"/>
</params>
<results>
<result id="1694793934" path="/" result="PASS">
<logs>
<log path="recipes/1/tasks/1/results/1694793934/logs/avc.log" filename="avc.log"/>
</logs>
</result>
</results>
</task>
<task name="pass-2" keepchanges="" id="2" status="Completed" result="PASS" start_time="2023-09-15T12:05:33-0400" end_time="2023-09-15T12:05:34-0400" duration="01">
<logs>
<log path="recipes/1/tasks/2/logs/harness.log" filename="harness.log"/>
<log path="recipes/1/tasks/2/logs/taskout.log" filename="taskout.log"/>
</logs>
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/pass"/>
<params>
<param name="JOB_MEMBERS" value="localhost"/>
<param name="RECIPE_MEMBERS" value="localhost"/>
</params>
<results>
<result id="1694793938" path="/" result="PASS">
<logs>
<log path="recipes/1/tasks/2/results/1694793938/logs/avc.log" filename="avc.log"/>
</logs>
</result>
</results>
</task>
</recipe>
</recipeSet>
</job>
beaker.xml
<job id="8315814" owner="mhofmann@redhat.com" result="Pass" status="Completed" retention_tag="scratch">
<whiteboard>pass</whiteboard>
<recipeSet priority="Normal" response="ack" id="12378692">
<recipe id="14622610" job_id="8315814" recipe_set_id="12378692" whiteboard="" role="None" kickstart_url="http://beaker.engineering.redhat.com/kickstart/12563443" ks_meta="" kernel_options="" kernel_options_post="" start_time="2023-09-15 16:05:35" finish_time="2023-09-15 16:25:09" duration="0:19:34" result="Pass" status="Completed" distro="Fedora-Rawhide-20230915.n.0" arch="x86_64" family="Fedorarawhide" variant="Server" system="kvm-02-guest03.lab.eng.rdu2.redhat.com">
<autopick random="false"/>
<watchdog/>
<installation install_started="2023-09-15 16:07:09" install_finished="2023-09-15 16:17:01" postinstall_finished="2023-09-15 16:23:34"/>
<packages/>
<ks_appends/>
<roles>
<role value="None">
<system value="kvm-02-guest03.lab.eng.rdu2.redhat.com"/>
</role>
</roles>
<repos/>
<distroRequires>
<and>
<distro_family op="=" value="Fedorarawhide"/>
<distro_variant op="=" value="Server"/>
</and>
</distroRequires>
<hostRequires>
<hostname op="like" value="kvm-%-guest%.lab.eng.rdu2.redhat.com"/>
<system_type value="Machine"/></hostRequires>
<partitions/>
<logs>
<log href="https://beaker.engineering.redhat.com/recipes/14622610/logs/console.log" name="console.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14622610/logs/systemd_journal.log" name="systemd_journal.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14622610/logs/anaconda.log" name="anaconda.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14622610/logs/sys.log" name="sys.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14622610/logs/storage.log" name="storage.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14622610/logs/program.log" name="program.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14622610/logs/ks.cfg" name="ks.cfg"/>
<log href="https://beaker.engineering.redhat.com/recipes/14622610/logs/packaging.log" name="packaging.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14622610/logs/lvm.log" name="lvm.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14622610/logs/hawkey.log" name="hawkey.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14622610/logs/boot.log" name="boot.log"/>
</logs>
<task name="pass-1" role="None" id="166242114" result="Pass" status="Completed" start_time="2023-09-15 16:25:02" finish_time="2023-09-15 16:25:06" duration="0:00:04">
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/pass"/>
<roles>
<role value="None">
<system value="kvm-02-guest03.lab.eng.rdu2.redhat.com"/>
</role>
</roles>
<logs>
<log href="https://beaker.engineering.redhat.com/recipes/14622610/tasks/166242114/logs/taskout.log" name="taskout.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14622610/tasks/166242114/logs/harness.log" name="harness.log"/>
</logs>
<results>
<result path="/" start_time="2023-09-15 16:25:05" score="None" result="Pass" id="776653803">None<logs><log href="https://beaker.engineering.redhat.com/recipes/14622610/tasks/166242114/results/776653803/logs/dmesg.log" name="dmesg.log"/><log href="https://beaker.engineering.redhat.com/recipes/14622610/tasks/166242114/results/776653803/logs/avc.log" name="avc.log"/></logs></result>
</results>
</task>
<task name="pass-2" role="None" id="166242115" result="Pass" status="Completed" start_time="2023-09-15 16:25:06" finish_time="2023-09-15 16:25:09" duration="0:00:03">
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/pass"/>
<roles>
<role value="None">
<system value="kvm-02-guest03.lab.eng.rdu2.redhat.com"/>
</role>
</roles>
<logs>
<log href="https://beaker.engineering.redhat.com/recipes/14622610/tasks/166242115/logs/taskout.log" name="taskout.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14622610/tasks/166242115/logs/harness.log" name="harness.log"/>
</logs>
<results>
<result path="/" start_time="2023-09-15 16:25:08" score="None" result="Pass" id="776653814">None<logs><log href="https://beaker.engineering.redhat.com/recipes/14622610/tasks/166242115/results/776653814/logs/avc.log" name="avc.log"/></logs></result>
</results>
</task>
</recipe>
</recipeSet>
</job>
MISS
The MISS
KCIDB status is used for tasks that would have run after an
aborted tasks.
When aborting tasks, the result of the aborted tasks will differ between Restraint and Beaker. While Restraint will happily use any result (None/PASS/WARN/FAIL), Beaker will “upgrade” the task result to at least WARN.
No result set before aborting
Test code (previous task):
rstrnt-abort
Restraint output:
<task status="Aborted" result="None" start_time />
<task status="Aborted" result="None" />
Beaker output:
<task status="Aborted" result="Warn" start_time>
<results>
<result result="Warn" />
</results>
</task>
<task status="Aborted" result="Warn">
<results>
<result result="Warn" />
</results>
</task>
PASS test result reported before aborting
Test code:
rstrnt-report-result / PASS
rstrnt-abort
Restraint output:
<task status="Aborted" result="PASS" start_time>
<results>
<result result="Pass" />
</results>
</task>
<task status="Aborted" result="None" />
Beaker output:
<task status="Aborted" result="Warn" start_time>
<results>
<result result="Pass" />
<result result="Warn" />
</results>
</task>
<task status="Aborted" result="Warn">
<results>
<result result="Warn" />
</results>
</task>
SKIP test result reported before aborting
Test code:
rstrnt-report-result / SKIP
rstrnt-abort
Restraint output:
<task status="Aborted" result="None" start_time>
<results>
<result result="SKIP" />
</results>
</task>
<task status="Aborted" result="None" />
Beaker output:
<task status="Aborted" result="Warn" start_time>
<results>
<result result="Skip" />
<result result="Warn" />
</results>
</task>
<task status="Aborted" result="Warn">
<results>
<result result="Warn" />
</results>
</task>
WARN test result reported before aborting
Test code:
rstrnt-report-result / WARN
rstrnt-abort
Restraint output:
<task status="Aborted" result="WARN" start_time>
<results>
<result result="WARN" />
</results>
</task>
<task status="Aborted" result="None" />
Beaker output:
<task status="Aborted" result="Warn" start_time>
<results>
<result result="Warn" />
<result result="Warn" />
</results>
</task>
<task status="Aborted" result="Warn">
<results>
<result result="Warn" />
</results>
</task>
FAIL test result reported before aborting
Test code:
rstrnt-report-result / FAIL
rstrnt-abort
Restraint output:
<task status="Aborted" result="FAIL" start_time>
<results>
<result result="FAIL" />
</results>
</task>
<task status="Aborted" result="None" />
Beaker output:
<task status="Aborted" result="Fail" start_time>
<results>
<result result="Fail" />
<result result="Warn" />
</results>
</task>
<task status="Aborted" result="Warn">
<results>
<result result="Warn" />
</results>
</task>
Details for MISS
No result set before aborting:
runtest.sh
#!/bin/bash
rstrnt-abort
metadata
[General]
[restraint]
entry_point=bash ./runtest.sh
job.xml
<?xml version="1.0"?>
<job>
<whiteboard>abort</whiteboard>
<recipeSet>
<recipe>
<distroRequires>
<and>
<distro_family op="=" value="Fedorarawhide"/>
<distro_variant op="=" value="Server"/>
</and>
</distroRequires>
<hostRequires>
<hostname op="like" value="kvm-%-guest%.lab.eng.rdu2.redhat.com"/>
</hostRequires>
<task name="abort">
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/abort"/>
<params/>
</task>
<task name="pass">
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/pass"/>
<params/>
</task>
</recipe>
</recipeSet>
</job>
restraint.xml
<?xml version="1.0"?>
<job>
<recipeSet>
<recipe id="1" status="Aborted" result="None" checkpoint_file="checkpoint_227346.conf">
<task name="abort" keepchanges="" id="1" status="Aborted" result="None" start_time="2023-09-14T06:03:25-0400" end_time="2023-09-14T06:03:25-0400">
<logs>
<log path="recipes/1/tasks/1/logs/harness.log" filename="harness.log"/>
<log path="recipes/1/tasks/1/logs/taskout.log" filename="taskout.log"/>
</logs>
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/abort"/>
<params>
<param name="JOB_MEMBERS" value="localhost"/>
<param name="RECIPE_MEMBERS" value="localhost"/>
</params>
</task>
<task name="pass" keepchanges="" id="2" status="Aborted" result="None" end_time="2023-09-14T06:03:25-0400">
<logs/>
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/pass"/>
<params>
<param name="JOB_MEMBERS" value="localhost"/>
<param name="RECIPE_MEMBERS" value="localhost"/>
</params>
</task>
</recipe>
</recipeSet>
</job>
beaker.xml
<?xml version="1.0"?>
<job id="8309271" owner="mhofmann@redhat.com" result="Warn" status="Aborted" retention_tag="scratch">
<whiteboard>abort</whiteboard>
<recipeSet priority="Normal" response="ack" id="12368624">
<recipe id="14611695" job_id="8309271" recipe_set_id="12368624" whiteboard="" role="None" kickstart_url="http://beaker.engineering.redhat.com/kickstart/12552854" ks_meta="" kernel_options="" kernel_options_post="" start_time="2023-09-14 10:12:22" finish_time="2023-09-14 10:50:35" duration="0:38:13" result="Warn" status="Aborted" distro="Fedora-Rawhide-20230913.n.0" arch="x86_64" family="Fedorarawhide" variant="Server" system="kvm-02-guest12.lab.eng.rdu2.redhat.com">
<autopick random="false"/>
<watchdog/>
<installation install_started="2023-09-14 10:13:50" install_finished="2023-09-14 10:23:10" postinstall_finished="2023-09-14 10:31:42"/>
<packages/>
<ks_appends/>
<roles>
<role value="None">
<system value="kvm-02-guest12.lab.eng.rdu2.redhat.com"/>
</role>
</roles>
<repos/>
<distroRequires>
<and>
<distro_family op="=" value="Fedorarawhide"/>
<distro_variant op="=" value="Server"/>
</and>
</distroRequires>
<hostRequires>
<hostname op="like" value="kvm-%-guest%.lab.eng.rdu2.redhat.com"/>
<system_type value="Machine"/>
</hostRequires>
<partitions/>
<logs>
<log href="https://beaker.engineering.redhat.com/recipes/14611695/logs/console.log" name="console.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14611695/logs/systemd_journal.log" name="systemd_journal.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14611695/logs/anaconda.log" name="anaconda.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14611695/logs/sys.log" name="sys.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14611695/logs/storage.log" name="storage.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14611695/logs/program.log" name="program.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14611695/logs/ks.cfg" name="ks.cfg"/>
<log href="https://beaker.engineering.redhat.com/recipes/14611695/logs/packaging.log" name="packaging.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14611695/logs/lvm.log" name="lvm.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14611695/logs/hawkey.log" name="hawkey.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14611695/logs/boot.log" name="boot.log"/>
</logs>
<task name="abort" role="None" id="166159030" result="Warn" status="Aborted" start_time="2023-09-14 10:33:12" finish_time="2023-09-14 10:33:15" duration="0:00:03">
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/abort"/>
<roles>
<role value="None">
<system value="kvm-02-guest12.lab.eng.rdu2.redhat.com"/>
</role>
</roles>
<logs>
<log href="https://beaker.engineering.redhat.com/recipes/14611695/tasks/166159030/logs/taskout.log" name="taskout.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14611695/tasks/166159030/logs/harness.log" name="harness.log"/>
</logs>
<results>
<result path="/" start_time="2023-09-14 10:33:15" score="0" result="Warn" id="776309429">None</result>
</results>
</task>
<task name="pass" role="None" id="166159031" result="Warn" status="Aborted">
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/pass"/>
<roles>
<role value="None">
<system value="kvm-02-guest12.lab.eng.rdu2.redhat.com"/>
</role>
</roles>
<logs>
<log href="https://beaker.engineering.redhat.com/recipes/14611695/tasks/166159031/logs/harness.log" name="harness.log"/>
</logs>
<results>
<result path="/" start_time="2023-09-14 10:33:15" score="0" result="Warn" id="776309432">None</result>
</results>
</task>
</recipe>
</recipeSet>
</job>
PASS test result reported before aborting:
runtest.sh
#!/bin/bash
rstrnt-report-result / PASS
rstrnt-abort
exit 0
metadata
[General]
[restraint]
entry_point=bash ./runtest.sh
job.xml
<?xml version="1.0"?>
<job>
<whiteboard>abortpass</whiteboard>
<recipeSet>
<recipe>
<distroRequires>
<and>
<distro_family op="=" value="Fedorarawhide"/>
<distro_variant op="=" value="Server"/>
</and>
</distroRequires>
<hostRequires>
<hostname op="like" value="kvm-%-guest%.lab.eng.rdu2.redhat.com"/>
</hostRequires>
<task name="abortpass">
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/abortpass"/>
<params/>
</task>
<task name="pass">
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/pass"/>
<params/>
</task>
</recipe>
</recipeSet>
</job>
restraint.xml
<?xml version="1.0"?>
<job>
<recipeSet>
<recipe id="1" status="Aborted" result="PASS" checkpoint_file="checkpoint_252651.conf">
<task name="abortpass" keepchanges="" id="1" status="Aborted" result="PASS" start_time="2023-09-14T08:29:56-0400" end_time="2023-09-14T08:29:56-0400">
<logs>
<log path="recipes/1/tasks/1/logs/harness.log" filename="harness.log"/>
<log path="recipes/1/tasks/1/logs/taskout.log" filename="taskout.log"/>
</logs>
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/abortpass"/>
<params>
<param name="JOB_MEMBERS" value="localhost"/>
<param name="RECIPE_MEMBERS" value="localhost"/>
</params>
<results>
<result id="1694694597" path="abortpass" result="PASS">
<logs>
<log path="recipes/1/tasks/1/results/1694694597/logs/avc.log" filename="avc.log"/>
</logs>
</result>
</results>
</task>
<task name="pass" keepchanges="" id="2" status="Aborted" result="None" end_time="2023-09-14T08:29:56-0400">
<logs/>
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/pass"/>
<params>
<param name="JOB_MEMBERS" value="localhost"/>
<param name="RECIPE_MEMBERS" value="localhost"/>
</params>
</task>
</recipe>
</recipeSet>
</job>
beaker.xml
<job id="8309894" owner="mhofmann@redhat.com" result="Warn" status="Aborted" retention_tag="scratch">
<whiteboard>abortpass</whiteboard>
<recipeSet priority="Normal" response="ack" id="12369849">
<recipe id="14613072" job_id="8309894" recipe_set_id="12369849" whiteboard="" role="None" kickstart_url="http://beaker.engineering.redhat.com/kickstart/12554010" ks_meta="" kernel_options="" kernel_options_post="" start_time="2023-09-14 13:23:11" finish_time="2023-09-14 13:32:14" duration="0:09:03" result="Warn" status="Aborted" distro="Fedora-Rawhide-20230914.n.0" arch="x86_64" family="Fedorarawhide" variant="Server" system="kvm-03-guest24.lab.eng.rdu2.redhat.com">
<autopick random="false"/>
<watchdog/>
<installation install_started="2023-09-14 13:24:28" install_finished="2023-09-14 13:29:20" postinstall_finished="2023-09-14 13:30:56"/>
<packages/>
<ks_appends/>
<roles>
<role value="None">
<system value="kvm-03-guest24.lab.eng.rdu2.redhat.com"/>
</role>
</roles>
<repos/>
<distroRequires>
<and>
<distro_family op="=" value="Fedorarawhide"/>
<distro_variant op="=" value="Server"/>
</and>
</distroRequires>
<hostRequires>
<hostname op="like" value="kvm-%-guest%.lab.eng.rdu2.redhat.com"/>
<system_type value="Machine"/></hostRequires>
<partitions/>
<logs>
<log href="https://beaker.engineering.redhat.com/recipes/14613072/logs/console.log" name="console.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14613072/logs/systemd_journal.log" name="systemd_journal.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14613072/logs/anaconda.log" name="anaconda.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14613072/logs/sys.log" name="sys.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14613072/logs/storage.log" name="storage.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14613072/logs/program.log" name="program.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14613072/logs/ks.cfg" name="ks.cfg"/>
<log href="https://beaker.engineering.redhat.com/recipes/14613072/logs/packaging.log" name="packaging.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14613072/logs/hawkey.log" name="hawkey.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14613072/logs/lvm.log" name="lvm.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14613072/logs/boot.log" name="boot.log"/>
</logs>
<task name="abortpass" role="None" id="166171001" result="Warn" status="Aborted" start_time="2023-09-14 13:32:09" finish_time="2023-09-14 13:32:12" duration="0:00:03">
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/abortpass"/>
<roles>
<role value="None">
<system value="kvm-03-guest24.lab.eng.rdu2.redhat.com"/>
</role>
</roles>
<logs>
<log href="https://beaker.engineering.redhat.com/recipes/14613072/tasks/166171001/logs/taskout.log" name="taskout.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14613072/tasks/166171001/logs/harness.log" name="harness.log"/>
</logs>
<results>
<result path="abortpass" start_time="2023-09-14 13:32:11" score="None" result="Pass" id="776340720">None<logs><log href="https://beaker.engineering.redhat.com/recipes/14613072/tasks/166171001/results/776340720/logs/dmesg.log" name="dmesg.log"/><log href="https://beaker.engineering.redhat.com/recipes/14613072/tasks/166171001/results/776340720/logs/avc.log" name="avc.log"/></logs></result>
<result path="/" start_time="2023-09-14 13:32:12" score="0" result="Warn" id="776340728">None</result>
</results>
</task>
<task name="pass" role="None" id="166171002" result="Warn" status="Aborted">
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/pass"/>
<roles>
<role value="None">
<system value="kvm-03-guest24.lab.eng.rdu2.redhat.com"/>
</role>
</roles>
<logs>
<log href="https://beaker.engineering.redhat.com/recipes/14613072/tasks/166171002/logs/harness.log" name="harness.log"/>
</logs>
<results>
<result path="/" start_time="2023-09-14 13:32:13" score="0" result="Warn" id="776340736">None</result>
</results>
</task>
</recipe>
</recipeSet>
</job>
SKIP test result reported before aborting:
runtest.sh
#!/bin/bash
rstrnt-report-result / SKIP
rstrnt-abort
exit 0
metadata
[General]
[restraint]
entry_point=bash ./runtest.sh
job.xml
<?xml version="1.0"?>
<job>
<whiteboard>abortskip</whiteboard>
<recipeSet>
<recipe>
<distroRequires>
<and>
<distro_family op="=" value="Fedorarawhide"/>
<distro_variant op="=" value="Server"/>
</and>
</distroRequires>
<hostRequires>
<hostname op="like" value="kvm-%-guest%.lab.eng.rdu2.redhat.com"/>
</hostRequires>
<task name="abortskip">
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/abortskip"/>
<params/>
</task>
<task name="pass">
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/pass"/>
<params/>
</task>
</recipe>
</recipeSet>
</job>
restraint.xml
<?xml version="1.0"?>
<job>
<recipeSet>
<recipe id="1" status="Aborted" result="None" checkpoint_file="checkpoint_133732.conf">
<task name="abortskip" keepchanges="" id="1" status="Aborted" result="None" start_time="2023-09-15T07:05:34-0400" end_time="2023-09-15T07:05:34-0400">
<logs>
<log path="recipes/1/tasks/1/logs/harness.log" filename="harness.log"/>
<log path="recipes/1/tasks/1/logs/taskout.log" filename="taskout.log"/>
</logs>
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/abortskip"/>
<params>
<param name="JOB_MEMBERS" value="localhost"/>
<param name="RECIPE_MEMBERS" value="localhost"/>
</params>
<results>
<result id="1694775935" path="/" result="SKIP">
<logs>
<log path="recipes/1/tasks/1/results/1694775935/logs/avc.log" filename="avc.log"/>
</logs>
</result>
</results>
</task>
<task name="pass" keepchanges="" id="2" status="Aborted" result="None" end_time="2023-09-15T07:05:34-0400">
<logs/>
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/pass"/>
<params>
<param name="JOB_MEMBERS" value="localhost"/>
<param name="RECIPE_MEMBERS" value="localhost"/>
</params>
</task>
</recipe>
</recipeSet>
</job>
beaker.xml
<job id="8314582" owner="mhofmann@redhat.com" result="Warn" status="Aborted" retention_tag="scratch">
<whiteboard>abortskip</whiteboard>
<recipeSet priority="Normal" response="ack" id="12377064">
<recipe id="14620841" job_id="8314582" recipe_set_id="12377064" whiteboard="" role="None" kickstart_url="http://beaker.engineering.redhat.com/kickstart/12561637" ks_meta="" kernel_options="" kernel_options_post="" start_time="2023-09-15 11:05:13" finish_time="2023-09-15 11:20:26" duration="0:15:13" result="Warn" status="Aborted" distro="Fedora-Rawhide-20230914.n.0" arch="x86_64" family="Fedorarawhide" variant="Server" system="kvm-04-guest12.lab.eng.rdu2.redhat.com">
<autopick random="false"/>
<watchdog/>
<installation install_started="2023-09-15 11:06:41" install_finished="2023-09-15 11:15:57" postinstall_finished="2023-09-15 11:18:53"/>
<packages/>
<ks_appends/>
<roles>
<role value="None">
<system value="kvm-04-guest12.lab.eng.rdu2.redhat.com"/>
</role>
</roles>
<repos/>
<distroRequires>
<and>
<distro_family op="=" value="Fedorarawhide"/>
<distro_variant op="=" value="Server"/>
</and>
</distroRequires>
<hostRequires>
<hostname op="like" value="kvm-%-guest%.lab.eng.rdu2.redhat.com"/>
<system_type value="Machine"/></hostRequires>
<partitions/>
<logs>
<log href="https://beaker.engineering.redhat.com/recipes/14620841/logs/console.log" name="console.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14620841/logs/systemd_journal.log" name="systemd_journal.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14620841/logs/anaconda.log" name="anaconda.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14620841/logs/sys.log" name="sys.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14620841/logs/storage.log" name="storage.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14620841/logs/program.log" name="program.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14620841/logs/ks.cfg" name="ks.cfg"/>
<log href="https://beaker.engineering.redhat.com/recipes/14620841/logs/packaging.log" name="packaging.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14620841/logs/lvm.log" name="lvm.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14620841/logs/hawkey.log" name="hawkey.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14620841/logs/boot.log" name="boot.log"/>
</logs>
<task name="abortskip" role="None" id="166230776" result="Warn" status="Aborted" start_time="2023-09-15 11:20:21" finish_time="2023-09-15 11:20:25" duration="0:00:04">
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/abortskip"/>
<roles>
<role value="None">
<system value="kvm-04-guest12.lab.eng.rdu2.redhat.com"/>
</role>
</roles>
<logs>
<log href="https://beaker.engineering.redhat.com/recipes/14620841/tasks/166230776/logs/taskout.log" name="taskout.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14620841/tasks/166230776/logs/harness.log" name="harness.log"/>
</logs>
<results>
<result path="/" start_time="2023-09-15 11:20:24" score="None" result="Skip" id="776594897">None<logs><log href="https://beaker.engineering.redhat.com/recipes/14620841/tasks/166230776/results/776594897/logs/dmesg.log" name="dmesg.log"/><log href="https://beaker.engineering.redhat.com/recipes/14620841/tasks/166230776/results/776594897/logs/avc.log" name="avc.log"/></logs></result>
<result path="/" start_time="2023-09-15 11:20:25" score="0" result="Warn" id="776594901">None</result>
</results>
</task>
<task name="pass" role="None" id="166230777" result="Warn" status="Aborted">
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/pass"/>
<roles>
<role value="None">
<system value="kvm-04-guest12.lab.eng.rdu2.redhat.com"/>
</role>
</roles>
<logs>
<log href="https://beaker.engineering.redhat.com/recipes/14620841/tasks/166230777/logs/harness.log" name="harness.log"/>
</logs>
<results>
<result path="/" start_time="2023-09-15 11:20:25" score="0" result="Warn" id="776594904">None</result>
</results>
</task>
</recipe>
</recipeSet>
</job>
WARN test result reported before aborting:
runtest.sh
#!/bin/bash
rstrnt-report-result / WARN
rstrnt-abort
exit 0
metadata
[General]
[restraint]
entry_point=bash ./runtest.sh
job.xml
<?xml version="1.0"?>
<job>
<whiteboard>abortwarn</whiteboard>
<recipeSet>
<recipe>
<distroRequires>
<and>
<distro_family op="=" value="Fedorarawhide"/>
<distro_variant op="=" value="Server"/>
</and>
</distroRequires>
<hostRequires>
<hostname op="like" value="kvm-%-guest%.lab.eng.rdu2.redhat.com"/>
</hostRequires>
<task name="abortwarn">
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/abortwarn"/>
<params/>
</task>
<task name="pass">
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/pass"/>
<params/>
</task>
</recipe>
</recipeSet>
</job>
restraint.xml
<?xml version="1.0"?>
<job>
<recipeSet>
<recipe id="1" status="Aborted" result="WARN" checkpoint_file="checkpoint_176236.conf">
<task name="abortwarn" keepchanges="" id="1" status="Aborted" result="WARN" start_time="2023-09-15T07:06:53-0400" end_time="2023-09-15T07:06:54-0400" duration="01">
<logs>
<log path="recipes/1/tasks/1/logs/harness.log" filename="harness.log"/>
<log path="recipes/1/tasks/1/logs/taskout.log" filename="taskout.log"/>
</logs>
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/abortwarn"/>
<params>
<param name="JOB_MEMBERS" value="localhost"/>
<param name="RECIPE_MEMBERS" value="localhost"/>
</params>
<results>
<result id="1694776015" path="/" result="WARN">
<logs>
<log path="recipes/1/tasks/1/results/1694776015/logs/avc.log" filename="avc.log"/>
</logs>
</result>
</results>
</task>
<task name="pass" keepchanges="" id="2" status="Aborted" result="None" end_time="2023-09-15T07:06:54-0400">
<logs/>
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/pass"/>
<params>
<param name="JOB_MEMBERS" value="localhost"/>
<param name="RECIPE_MEMBERS" value="localhost"/>
</params>
</task>
</recipe>
</recipeSet>
</job>
beaker.xml
<job id="8314583" owner="mhofmann@redhat.com" result="Warn" status="Aborted" retention_tag="scratch">
<whiteboard>abortwarn</whiteboard>
<recipeSet priority="Normal" response="ack" id="12377065">
<recipe id="14620842" job_id="8314583" recipe_set_id="12377065" whiteboard="" role="None" kickstart_url="http://beaker.engineering.redhat.com/kickstart/12561639" ks_meta="" kernel_options="" kernel_options_post="" start_time="2023-09-15 11:05:19" finish_time="2023-09-15 11:23:22" duration="0:18:03" result="Warn" status="Aborted" distro="Fedora-Rawhide-20230914.n.0" arch="x86_64" family="Fedorarawhide" variant="Server" system="kvm-04-guest01.lab.eng.rdu2.redhat.com">
<autopick random="false"/>
<watchdog/>
<installation install_started="2023-09-15 11:06:42" install_finished="2023-09-15 11:15:57" postinstall_finished="2023-09-15 11:21:52"/>
<packages/>
<ks_appends/>
<roles>
<role value="None">
<system value="kvm-04-guest01.lab.eng.rdu2.redhat.com"/>
</role>
</roles>
<repos/>
<distroRequires>
<and>
<distro_family op="=" value="Fedorarawhide"/>
<distro_variant op="=" value="Server"/>
</and>
</distroRequires>
<hostRequires>
<hostname op="like" value="kvm-%-guest%.lab.eng.rdu2.redhat.com"/>
<system_type value="Machine"/></hostRequires>
<partitions/>
<logs>
<log href="https://beaker.engineering.redhat.com/recipes/14620842/logs/console.log" name="console.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14620842/logs/systemd_journal.log" name="systemd_journal.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14620842/logs/anaconda.log" name="anaconda.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14620842/logs/sys.log" name="sys.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14620842/logs/storage.log" name="storage.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14620842/logs/program.log" name="program.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14620842/logs/ks.cfg" name="ks.cfg"/>
<log href="https://beaker.engineering.redhat.com/recipes/14620842/logs/packaging.log" name="packaging.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14620842/logs/lvm.log" name="lvm.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14620842/logs/hawkey.log" name="hawkey.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14620842/logs/boot.log" name="boot.log"/>
</logs>
<task name="abortwarn" role="None" id="166230778" result="Warn" status="Aborted" start_time="2023-09-15 11:23:17" finish_time="2023-09-15 11:23:20" duration="0:00:03">
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/abortwarn"/>
<roles>
<role value="None">
<system value="kvm-04-guest01.lab.eng.rdu2.redhat.com"/>
</role>
</roles>
<logs>
<log href="https://beaker.engineering.redhat.com/recipes/14620842/tasks/166230778/logs/taskout.log" name="taskout.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14620842/tasks/166230778/logs/harness.log" name="harness.log"/>
</logs>
<results>
<result path="/" start_time="2023-09-15 11:23:19" score="None" result="Warn" id="776595690">None<logs><log href="https://beaker.engineering.redhat.com/recipes/14620842/tasks/166230778/results/776595690/logs/dmesg.log" name="dmesg.log"/><log href="https://beaker.engineering.redhat.com/recipes/14620842/tasks/166230778/results/776595690/logs/avc.log" name="avc.log"/></logs></result>
<result path="/" start_time="2023-09-15 11:23:20" score="0" result="Warn" id="776595697">None</result>
</results>
</task>
<task name="pass" role="None" id="166230779" result="Warn" status="Aborted">
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/pass"/>
<roles>
<role value="None">
<system value="kvm-04-guest01.lab.eng.rdu2.redhat.com"/>
</role>
</roles>
<logs>
<log href="https://beaker.engineering.redhat.com/recipes/14620842/tasks/166230779/logs/harness.log" name="harness.log"/>
</logs>
<results>
<result path="/" start_time="2023-09-15 11:23:20" score="0" result="Warn" id="776595698">None</result>
</results>
</task>
</recipe>
</recipeSet>
</job>
FAIL test result reported before aborting:
runtest.sh
#!/bin/bash
rstrnt-report-result / FAIL
rstrnt-abort
exit 0
metadata
[General]
[restraint]
entry_point=bash ./runtest.sh
job.xml
<?xml version="1.0"?>
<job>
<whiteboard>abortfail</whiteboard>
<recipeSet>
<recipe>
<distroRequires>
<and>
<distro_family op="=" value="Fedorarawhide"/>
<distro_variant op="=" value="Server"/>
</and>
</distroRequires>
<hostRequires>
<hostname op="like" value="kvm-%-guest%.lab.eng.rdu2.redhat.com"/>
</hostRequires>
<task name="abortfail">
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/abortfail"/>
<params/>
</task>
<task name="pass">
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/pass"/>
<params/>
</task>
</recipe>
</recipeSet>
</job>
restraint.xml
<?xml version="1.0"?>
<job>
<recipeSet>
<recipe id="1" status="Aborted" result="FAIL" checkpoint_file="checkpoint_198062.conf">
<task name="abortfail" keepchanges="" id="1" status="Aborted" result="FAIL" start_time="2023-09-14T08:30:08-0400" end_time="2023-09-14T08:30:08-0400">
<logs>
<log path="recipes/1/tasks/1/logs/harness.log" filename="harness.log"/>
<log path="recipes/1/tasks/1/logs/taskout.log" filename="taskout.log"/>
</logs>
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/abortfail"/>
<params>
<param name="JOB_MEMBERS" value="localhost"/>
<param name="RECIPE_MEMBERS" value="localhost"/>
</params>
<results>
<result id="1694694609" path="abortfail" result="FAIL">
<logs>
<log path="recipes/1/tasks/1/results/1694694609/logs/avc.log" filename="avc.log"/>
</logs>
</result>
</results>
</task>
<task name="pass" keepchanges="" id="2" status="Aborted" result="None" end_time="2023-09-14T08:30:08-0400">
<logs/>
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/pass"/>
<params>
<param name="JOB_MEMBERS" value="localhost"/>
<param name="RECIPE_MEMBERS" value="localhost"/>
</params>
</task>
</recipe>
</recipeSet>
</job>
beaker.xml
<job id="8309892" owner="mhofmann@redhat.com" result="Fail" status="Aborted" retention_tag="scratch">
<whiteboard>abortfail</whiteboard>
<recipeSet priority="Normal" response="ack" id="12369847">
<recipe id="14613070" job_id="8309892" recipe_set_id="12369847" whiteboard="" role="None" kickstart_url="http://beaker.engineering.redhat.com/kickstart/12554006" ks_meta="" kernel_options="" kernel_options_post="" start_time="2023-09-14 13:22:31" finish_time="2023-09-14 14:59:40" duration="1:37:09" result="Fail" status="Aborted" distro="Fedora-Rawhide-20230914.n.0" arch="x86_64" family="Fedorarawhide" variant="Server" system="kvm-03-guest18.lab.eng.rdu2.redhat.com">
<autopick random="false"/>
<watchdog/>
<installation install_started="2023-09-14 13:23:51" install_finished="2023-09-14 13:28:51" postinstall_finished="2023-09-14 13:30:25"/>
<packages/>
<ks_appends/>
<roles>
<role value="None">
<system value="kvm-03-guest18.lab.eng.rdu2.redhat.com"/>
</role>
</roles>
<repos/>
<distroRequires>
<and>
<distro_family op="=" value="Fedorarawhide"/>
<distro_variant op="=" value="Server"/>
</and>
</distroRequires>
<hostRequires>
<hostname op="like" value="kvm-%-guest%.lab.eng.rdu2.redhat.com"/>
<system_type value="Machine"/></hostRequires>
<partitions/>
<logs>
<log href="https://beaker.engineering.redhat.com/recipes/14613070/logs/console.log" name="console.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14613070/logs/systemd_journal.log" name="systemd_journal.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14613070/logs/anaconda.log" name="anaconda.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14613070/logs/sys.log" name="sys.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14613070/logs/storage.log" name="storage.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14613070/logs/program.log" name="program.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14613070/logs/ks.cfg" name="ks.cfg"/>
<log href="https://beaker.engineering.redhat.com/recipes/14613070/logs/packaging.log" name="packaging.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14613070/logs/lvm.log" name="lvm.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14613070/logs/hawkey.log" name="hawkey.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14613070/logs/boot.log" name="boot.log"/>
</logs>
<task name="abortfail" role="None" id="166170998" result="Fail" status="Aborted" start_time="2023-09-14 13:31:52" finish_time="2023-09-14 13:31:56" duration="0:00:04">
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/abortfail"/>
<roles>
<role value="None">
<system value="kvm-03-guest18.lab.eng.rdu2.redhat.com"/>
</role>
</roles>
<logs>
<log href="https://beaker.engineering.redhat.com/recipes/14613070/tasks/166170998/logs/taskout.log" name="taskout.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14613070/tasks/166170998/logs/harness.log" name="harness.log"/>
</logs>
<results>
<result path="abortfail" start_time="2023-09-14 13:31:55" score="None" result="Fail" id="776340640">None<logs><log href="https://beaker.engineering.redhat.com/recipes/14613070/tasks/166170998/results/776340640/logs/dmesg.log" name="dmesg.log"/><log href="https://beaker.engineering.redhat.com/recipes/14613070/tasks/166170998/results/776340640/logs/avc.log" name="avc.log"/></logs></result>
<result path="/" start_time="2023-09-14 13:31:56" score="0" result="Warn" id="776340646">None</result>
</results>
</task>
<task name="pass" role="None" id="166170999" result="Warn" status="Aborted">
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/pass"/>
<roles>
<role value="None">
<system value="kvm-03-guest18.lab.eng.rdu2.redhat.com"/>
</role>
</roles>
<logs>
<log href="https://beaker.engineering.redhat.com/recipes/14613070/tasks/166170999/logs/harness.log" name="harness.log"/>
</logs>
<results>
<result path="/" start_time="2023-09-14 13:31:57" score="0" result="Warn" id="776340649">None</result>
</results>
</task>
<reservesys duration="86400" when="always"/>
</recipe>
</recipeSet>
</job>
ERROR
Test code:
rstrnt-report-result / WARN
Restraint:
<task status="Completed" result="WARN" start_time>
<results>
<result result="WARN" />
</results>
</task>
Beaker:
<task status="Completed" result="Warn" start_time>
<results>
<result result="Warn" />
</results>
</task>
Details for ERROR
runtest.sh
#!/bin/bash
rstrnt-report-result / WARN
metadata
[General]
[restraint]
entry_point=bash ./runtest.sh
job.xml
<?xml version="1.0"?>
<job>
<whiteboard>warn</whiteboard>
<recipeSet>
<recipe>
<distroRequires>
<and>
<distro_family op="=" value="Fedorarawhide"/>
<distro_variant op="=" value="Server"/>
</and>
</distroRequires>
<hostRequires>
<hostname op="like" value="kvm-%-guest%.lab.eng.rdu2.redhat.com"/>
</hostRequires>
<task name="warn">
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/warn"/>
<params/>
</task>
<task name="pass">
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/pass"/>
<params/>
</task>
</recipe>
</recipeSet>
</job>
restraint.xml
<?xml version="1.0"?>
<job>
<recipeSet>
<recipe id="1" status="Completed" result="WARN" checkpoint_file="checkpoint_164151.conf">
<task name="warn" keepchanges="" id="1" status="Completed" result="WARN" start_time="2023-09-15T07:12:50-0400" end_time="2023-09-15T07:12:51-0400" duration="01">
<logs>
<log path="recipes/1/tasks/1/logs/harness.log" filename="harness.log"/>
<log path="recipes/1/tasks/1/logs/taskout.log" filename="taskout.log"/>
</logs>
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/warn"/>
<params>
<param name="JOB_MEMBERS" value="localhost"/>
<param name="RECIPE_MEMBERS" value="localhost"/>
</params>
<results>
<result id="1694776371" path="/" result="WARN">
<logs>
<log path="recipes/1/tasks/1/results/1694776371/logs/avc.log" filename="avc.log"/>
</logs>
</result>
</results>
</task>
<task name="pass" keepchanges="" id="2" status="Completed" result="PASS" start_time="2023-09-15T07:12:51-0400" end_time="2023-09-15T07:12:52-0400" duration="01">
<logs>
<log path="recipes/1/tasks/2/logs/harness.log" filename="harness.log"/>
<log path="recipes/1/tasks/2/logs/taskout.log" filename="taskout.log"/>
</logs>
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/pass"/>
<params>
<param name="JOB_MEMBERS" value="localhost"/>
<param name="RECIPE_MEMBERS" value="localhost"/>
</params>
<results>
<result id="1694776375" path="exit_code" result="PASS" score="0">
<logs/>
</result>
</results>
</task>
</recipe>
</recipeSet>
</job>
beaker.xml
<job id="8314641" owner="mhofmann@redhat.com" result="Warn" status="Completed" retention_tag="scratch">
<whiteboard>warn</whiteboard>
<recipeSet priority="Normal" response="ack" id="12377211">
<recipe id="14620989" job_id="8314641" recipe_set_id="12377211" whiteboard="" role="None" kickstart_url="http://beaker.engineering.redhat.com/kickstart/12561763" ks_meta="" kernel_options="" kernel_options_post="" start_time="2023-09-15 11:18:24" finish_time="2023-09-15 11:35:15" duration="0:16:51" result="Warn" status="Completed" distro="Fedora-Rawhide-20230914.n.0" arch="x86_64" family="Fedorarawhide" variant="Server" system="kvm-03-guest11.lab.eng.rdu2.redhat.com">
<autopick random="false"/>
<watchdog/>
<installation install_started="2023-09-15 11:19:53" install_finished="2023-09-15 11:29:00" postinstall_finished="2023-09-15 11:33:39"/>
<packages/>
<ks_appends/>
<roles>
<role value="None">
<system value="kvm-03-guest11.lab.eng.rdu2.redhat.com"/>
</role>
</roles>
<repos/>
<distroRequires>
<and>
<distro_family op="=" value="Fedorarawhide"/>
<distro_variant op="=" value="Server"/>
</and>
</distroRequires>
<hostRequires>
<hostname op="like" value="kvm-%-guest%.lab.eng.rdu2.redhat.com"/>
<system_type value="Machine"/></hostRequires>
<partitions/>
<logs>
<log href="https://beaker.engineering.redhat.com/recipes/14620989/logs/console.log" name="console.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14620989/logs/systemd_journal.log" name="systemd_journal.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14620989/logs/anaconda.log" name="anaconda.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14620989/logs/sys.log" name="sys.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14620989/logs/storage.log" name="storage.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14620989/logs/program.log" name="program.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14620989/logs/ks.cfg" name="ks.cfg"/>
<log href="https://beaker.engineering.redhat.com/recipes/14620989/logs/packaging.log" name="packaging.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14620989/logs/lvm.log" name="lvm.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14620989/logs/hawkey.log" name="hawkey.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14620989/logs/boot.log" name="boot.log"/>
</logs>
<task name="warn" role="None" id="166231215" result="Warn" status="Completed" start_time="2023-09-15 11:35:09" finish_time="2023-09-15 11:35:12" duration="0:00:03">
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/warn"/>
<roles>
<role value="None">
<system value="kvm-03-guest11.lab.eng.rdu2.redhat.com"/>
</role>
</roles>
<logs>
<log href="https://beaker.engineering.redhat.com/recipes/14620989/tasks/166231215/logs/taskout.log" name="taskout.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14620989/tasks/166231215/logs/harness.log" name="harness.log"/>
</logs>
<results>
<result path="/" start_time="2023-09-15 11:35:11" score="None" result="Warn" id="776599641">None<logs><log href="https://beaker.engineering.redhat.com/recipes/14620989/tasks/166231215/results/776599641/logs/dmesg.log" name="dmesg.log"/><log href="https://beaker.engineering.redhat.com/recipes/14620989/tasks/166231215/results/776599641/logs/avc.log" name="avc.log"/></logs></result>
</results>
</task>
<task name="pass" role="None" id="166231216" result="Pass" status="Completed" start_time="2023-09-15 11:35:12" finish_time="2023-09-15 11:35:15" duration="0:00:03">
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/pass"/>
<roles>
<role value="None">
<system value="kvm-03-guest11.lab.eng.rdu2.redhat.com"/>
</role>
</roles>
<logs>
<log href="https://beaker.engineering.redhat.com/recipes/14620989/tasks/166231216/logs/taskout.log" name="taskout.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14620989/tasks/166231216/logs/harness.log" name="harness.log"/>
</logs>
<results>
<result path="exit_code" start_time="2023-09-15 11:35:14" score="0" result="Pass" id="776599646">None</result>
</results>
</task>
</recipe>
</recipeSet>
</job>
FAIL
Exiting with a non-zero exit code
Test code:
exit 1
Restraint:
<task status="Completed" result="FAIL" start_time>
<results>
<result path="exit_code" result="FAIL" />
</results>
</task>
Beaker:
<task status="Completed" result="Fail" start_time />
<results>
<result path="exit_code" result="Fail" />
</results>
</task>
FAIL test result reported
Test code:
rstrnt-report-result / FAIL
Restraint output:
<task status="Completed" result="FAIL" start_time>
<results>
<result result="FAIL" />
</results>
</task>
Beaker output:
<task status="Completed" result="Fail" start_time>
<results>
<result result="Fail" />
</results>
</task>
FAIL test result reported and non-zero exit code
Test code:
rstrnt-report-result / FAIL
exit 1
Restraint:
<task status="Completed" result="FAIL" start_time>
<results>
<result result="FAIL" />
<result path="exit_code" result="FAIL" />
</results>
</task>
Beaker:
<task status="Completed" result="Fail" start_time>
<results>
<result result="Fail" />
<result path="exit_code" result="Fail" />
</results>
</task>
With a panic
Test code:
echo 1 > /proc/sys/kernel/sysrq
echo c > /proc/sysrq-trigger
Restraint:
<task status="Aborted" result="None" start_time />
</task>
Beaker:
<task status="Aborted" result="Panic" start_time />
<results>
<result result="Panic" />
</results>
</task>
Details for FAIL
Exiting with a non-zero exit code:
runtest.sh
#!/bin/bash
exit 1
metadata
[General]
[restraint]
entry_point=bash ./runtest.sh
job.xml
<?xml version="1.0"?>
<job>
<whiteboard>exit1</whiteboard>
<recipeSet>
<recipe>
<distroRequires>
<and>
<distro_family op="=" value="Fedorarawhide"/>
<distro_variant op="=" value="Server"/>
</and>
</distroRequires>
<hostRequires>
<hostname op="like" value="kvm-%-guest%.lab.eng.rdu2.redhat.com"/>
</hostRequires>
<task name="exit1">
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/exit1"/>
<params/>
</task>
<task name="pass">
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/pass"/>
<params/>
</task>
</recipe>
</recipeSet>
</job>
restraint.xml
<?xml version="1.0"?>
<job>
<recipeSet>
<recipe id="1" status="Completed" result="FAIL" checkpoint_file="checkpoint_146179.conf">
<task name="exit1" keepchanges="" id="1" status="Completed" result="FAIL" start_time="2023-09-14T06:03:28-0400" end_time="2023-09-14T06:03:28-0400">
<logs>
<log path="recipes/1/tasks/1/logs/harness.log" filename="harness.log"/>
<log path="recipes/1/tasks/1/logs/taskout.log" filename="taskout.log"/>
</logs>
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/exit1"/>
<params>
<param name="JOB_MEMBERS" value="localhost"/>
<param name="RECIPE_MEMBERS" value="localhost"/>
</params>
<results>
<result id="1694685809" path="exit_code" result="FAIL" score="256">Command returned non-zero<logs/></result>
</results>
</task>
<task name="pass" keepchanges="" id="2" status="Completed" result="PASS" start_time="2023-09-14T06:03:28-0400" end_time="2023-09-14T06:03:29-0400" duration="01">
<logs>
<log path="recipes/1/tasks/2/logs/harness.log" filename="harness.log"/>
<log path="recipes/1/tasks/2/logs/taskout.log" filename="taskout.log"/>
</logs>
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/pass"/>
<params>
<param name="JOB_MEMBERS" value="localhost"/>
<param name="RECIPE_MEMBERS" value="localhost"/>
</params>
<results>
<result id="1694685813" path="exit_code" result="PASS" score="0">
<logs/>
</result>
</results>
</task>
</recipe>
</recipeSet>
</job>
beaker.xml
<?xml version="1.0"?>
<job id="8309272" owner="mhofmann@redhat.com" result="Fail" status="Completed" retention_tag="scratch">
<whiteboard>exit1</whiteboard>
<recipeSet priority="Normal" response="ack" id="12368625">
<recipe id="14611696" job_id="8309272" recipe_set_id="12368625" whiteboard="" role="None" kickstart_url="http://beaker.engineering.redhat.com/kickstart/12552855" ks_meta="" kernel_options="" kernel_options_post="" start_time="2023-09-14 10:12:28" finish_time="2023-09-14 10:50:27" duration="0:37:59" result="Fail" status="Completed" distro="Fedora-Rawhide-20230913.n.0" arch="x86_64" family="Fedorarawhide" variant="Server" system="kvm-02-guest13.lab.eng.rdu2.redhat.com">
<autopick random="false"/>
<watchdog/>
<installation install_started="2023-09-14 10:13:59" install_finished="2023-09-14 10:22:54" postinstall_finished="2023-09-14 10:25:50"/>
<packages/>
<ks_appends/>
<roles>
<role value="None">
<system value="kvm-02-guest13.lab.eng.rdu2.redhat.com"/>
</role>
</roles>
<repos/>
<distroRequires>
<and>
<distro_family op="=" value="Fedorarawhide"/>
<distro_variant op="=" value="Server"/>
</and>
</distroRequires>
<hostRequires>
<hostname op="like" value="kvm-%-guest%.lab.eng.rdu2.redhat.com"/>
<system_type value="Machine"/>
</hostRequires>
<partitions/>
<logs>
<log href="https://beaker.engineering.redhat.com/recipes/14611696/logs/console.log" name="console.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14611696/logs/anaconda.log" name="anaconda.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14611696/logs/sys.log" name="sys.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14611696/logs/systemd_journal.log" name="systemd_journal.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14611696/logs/storage.log" name="storage.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14611696/logs/program.log" name="program.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14611696/logs/ks.cfg" name="ks.cfg"/>
<log href="https://beaker.engineering.redhat.com/recipes/14611696/logs/packaging.log" name="packaging.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14611696/logs/lvm.log" name="lvm.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14611696/logs/hawkey.log" name="hawkey.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14611696/logs/boot.log" name="boot.log"/>
</logs>
<task name="exit1" role="None" id="166159032" result="Fail" status="Completed" start_time="2023-09-14 10:27:15" finish_time="2023-09-14 10:27:18" duration="0:00:03">
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/exit1"/>
<roles>
<role value="None">
<system value="kvm-02-guest13.lab.eng.rdu2.redhat.com"/>
</role>
</roles>
<logs>
<log href="https://beaker.engineering.redhat.com/recipes/14611696/tasks/166159032/logs/taskout.log" name="taskout.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14611696/tasks/166159032/logs/harness.log" name="harness.log"/>
</logs>
<results>
<result path="exit_code" start_time="2023-09-14 10:27:17" score="256" result="Fail" id="776308711">Command returned non-zero</result>
</results>
</task>
<task name="pass" role="None" id="166159033" result="Pass" status="Completed" start_time="2023-09-14 10:27:18" finish_time="2023-09-14 10:27:20" duration="0:00:02">
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/pass"/>
<roles>
<role value="None">
<system value="kvm-02-guest13.lab.eng.rdu2.redhat.com"/>
</role>
</roles>
<logs>
<log href="https://beaker.engineering.redhat.com/recipes/14611696/tasks/166159033/logs/taskout.log" name="taskout.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14611696/tasks/166159033/logs/harness.log" name="harness.log"/>
</logs>
<results>
<result path="exit_code" start_time="2023-09-14 10:27:20" score="0" result="Pass" id="776308717">None</result>
</results>
</task>
</recipe>
</recipeSet>
</job>
FAIL test result reported:
runtest.sh
#!/bin/bash
rstrnt-report-result / FAIL
metadata
[General]
[restraint]
entry_point=bash ./runtest.sh
job.xml
<?xml version="1.0"?>
<job>
<whiteboard>fail</whiteboard>
<recipeSet>
<recipe>
<distroRequires>
<and>
<distro_family op="=" value="Fedorarawhide"/>
<distro_variant op="=" value="Server"/>
</and>
</distroRequires>
<hostRequires>
<hostname op="like" value="kvm-%-guest%.lab.eng.rdu2.redhat.com"/>
</hostRequires>
<task name="fail">
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/fail"/>
<params/>
</task>
<task name="pass">
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/pass"/>
<params/>
</task>
</recipe>
</recipeSet>
</job>
restraint.xml
<?xml version="1.0"?>
<job>
<recipeSet>
<recipe id="1" status="Completed" result="FAIL" checkpoint_file="checkpoint_193781.conf">
<task name="fail" keepchanges="" id="1" status="Completed" result="FAIL" start_time="2023-09-19T21:16:45+0200" end_time="2023-09-19T21:16:45+0200">
<logs>
<log path="recipes/1/tasks/1/logs/harness.log" filename="harness.log"/>
<log path="recipes/1/tasks/1/logs/taskout.log" filename="taskout.log"/>
</logs>
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/fail"/>
<params>
<param name="JOB_MEMBERS" value="kvm-02-guest08.lab.eng.rdu2.redhat.com"/>
<param name="RECIPE_MEMBERS" value="kvm-02-guest08.lab.eng.rdu2.redhat.com"/>
</params>
<results>
<result id="1695150997" path="/" result="FAIL">
<logs>
<log path="recipes/1/tasks/1/results/1695150997/logs/avc.log" filename="avc.log"/>
</logs>
</result>
</results>
</task>
<task name="pass" keepchanges="" id="2" status="Completed" result="PASS" start_time="2023-09-19T21:16:54+0200" end_time="2023-09-19T21:16:55+0200" duration="01">
<logs>
<log path="recipes/1/tasks/2/logs/harness.log" filename="harness.log"/>
<log path="recipes/1/tasks/2/logs/taskout.log" filename="taskout.log"/>
</logs>
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/pass"/>
<params>
<param name="JOB_MEMBERS" value="kvm-02-guest08.lab.eng.rdu2.redhat.com"/>
<param name="RECIPE_MEMBERS" value="kvm-02-guest08.lab.eng.rdu2.redhat.com"/>
</params>
<results>
<result id="1695151001" path="/" result="PASS">
<logs>
<log path="recipes/1/tasks/2/results/1695151001/logs/avc.log" filename="avc.log"/>
</logs>
</result>
</results>
</task>
</recipe>
</recipeSet>
</job>
beaker.xml
<job id="8330824" owner="mhofmann@redhat.com" result="Fail" status="Completed" retention_tag="scratch">
<whiteboard>fail</whiteboard>
<recipeSet priority="Normal" response="ack" id="12399293">
<recipe id="14645695" job_id="8330824" recipe_set_id="12399293" whiteboard="" role="None" kickstart_url="http://beaker.engineering.redhat.com/kickstart/12586189" ks_meta="" kernel_options="" kernel_options_post="" start_time="2023-09-19 18:38:50" finish_time="2023-09-19 18:48:37" duration="0:09:47" result="Fail" status="Completed" distro="Fedora-Rawhide-20230919.n.0" arch="x86_64" family="Fedorarawhide" variant="Server" system="kvm-02-guest19.lab.eng.rdu2.redhat.com">
<autopick random="false"/>
<watchdog/>
<installation install_started="2023-09-19 18:40:08" install_finished="2023-09-19 18:45:10" postinstall_finished="2023-09-19 18:46:53"/>
<packages/>
<ks_appends/>
<roles>
<role value="None">
<system value="kvm-02-guest19.lab.eng.rdu2.redhat.com"/>
</role>
</roles>
<repos/>
<distroRequires>
<and>
<distro_family op="=" value="Fedorarawhide"/>
<distro_variant op="=" value="Server"/>
</and>
</distroRequires>
<hostRequires>
<hostname op="like" value="kvm-%-guest%.lab.eng.rdu2.redhat.com"/>
<system_type value="Machine"/></hostRequires>
<partitions/>
<logs>
<log href="https://beaker.engineering.redhat.com/recipes/14645695/logs/console.log" name="console.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14645695/logs/systemd_journal.log" name="systemd_journal.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14645695/logs/anaconda.log" name="anaconda.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14645695/logs/sys.log" name="sys.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14645695/logs/storage.log" name="storage.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14645695/logs/program.log" name="program.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14645695/logs/ks.cfg" name="ks.cfg"/>
<log href="https://beaker.engineering.redhat.com/recipes/14645695/logs/packaging.log" name="packaging.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14645695/logs/lvm.log" name="lvm.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14645695/logs/hawkey.log" name="hawkey.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14645695/logs/boot.log" name="boot.log"/>
</logs>
<task name="fail" role="None" id="166401668" result="Fail" status="Completed" start_time="2023-09-19 18:48:12" finish_time="2023-09-19 18:48:24" duration="0:00:12">
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/fail"/>
<roles>
<role value="None">
<system value="kvm-02-guest19.lab.eng.rdu2.redhat.com"/>
</role>
</roles>
<logs>
<log href="https://beaker.engineering.redhat.com/recipes/14645695/tasks/166401668/logs/taskout.log" name="taskout.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14645695/tasks/166401668/logs/harness.log" name="harness.log"/>
</logs>
<results>
<result path="/" start_time="2023-09-19 18:48:23" score="None" result="Fail" id="777320332">None<logs><log href="https://beaker.engineering.redhat.com/recipes/14645695/tasks/166401668/results/777320332/logs/dmesg.log" name="dmesg.log"/><log href="https://beaker.engineering.redhat.com/recipes/14645695/tasks/166401668/results/777320332/logs/avc.log" name="avc.log"/></logs></result>
</results>
</task>
<task name="pass" role="None" id="166401669" result="Pass" status="Completed" start_time="2023-09-19 18:48:24" finish_time="2023-09-19 18:48:37" duration="0:00:13">
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/pass"/>
<roles>
<role value="None">
<system value="kvm-02-guest19.lab.eng.rdu2.redhat.com"/>
</role>
</roles>
<logs>
<log href="https://beaker.engineering.redhat.com/recipes/14645695/tasks/166401669/logs/taskout.log" name="taskout.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14645695/tasks/166401669/logs/harness.log" name="harness.log"/>
</logs>
<results>
<result path="/" start_time="2023-09-19 18:48:36" score="None" result="Pass" id="777320356">None<logs><log href="https://beaker.engineering.redhat.com/recipes/14645695/tasks/166401669/results/777320356/logs/avc.log" name="avc.log"/></logs></result>
</results>
</task>
</recipe>
</recipeSet>
</job>
FAIL test result reported and non-zero exit code:
runtest.sh
#!/bin/bash
rstrnt-report-result / FAIL
exit 1
metadata
[General]
[restraint]
entry_point=bash ./runtest.sh
job.xml
<?xml version="1.0"?>
<job>
<whiteboard>fail1</whiteboard>
<recipeSet>
<recipe>
<distroRequires>
<and>
<distro_family op="=" value="Fedorarawhide"/>
<distro_variant op="=" value="Server"/>
</and>
</distroRequires>
<hostRequires>
<hostname op="like" value="kvm-%-guest%.lab.eng.rdu2.redhat.com"/>
</hostRequires>
<task name="fail1">
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/fail1"/>
<params/>
</task>
<task name="pass">
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/pass"/>
<params/>
</task>
</recipe>
</recipeSet>
</job>
restraint.xml
<?xml version="1.0"?>
<job>
<recipeSet>
<recipe id="1" status="Completed" result="FAIL" checkpoint_file="checkpoint_182730.conf">
<task name="fail1" keepchanges="" id="1" status="Completed" result="FAIL" start_time="2023-09-21T12:37:00+0200" end_time="2023-09-21T12:37:00+0200">
<logs>
<log path="recipes/1/tasks/1/logs/harness.log" filename="harness.log"/>
<log path="recipes/1/tasks/1/logs/taskout.log" filename="taskout.log"/>
</logs>
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip?sha=merge-requests/402/merge#content/docs/test-maintainers/status-meaning/restraint/fail1"/>
<params>
<param name="JOB_MEMBERS" value="kvm-02-guest08.lab.eng.rdu2.redhat.com"/>
<param name="RECIPE_MEMBERS" value="kvm-02-guest08.lab.eng.rdu2.redhat.com"/>
</params>
<results>
<result id="1695292612" path="/" result="FAIL">
<logs>
<log path="recipes/1/tasks/1/results/1695292612/logs/avc.log" filename="avc.log"/>
</logs>
</result>
<result id="1695292613" path="exit_code" result="FAIL" score="256">Command returned non-zero<logs/></result>
</results>
</task>
<task name="pass" keepchanges="" id="2" status="Completed" result="PASS" start_time="2023-09-21T12:37:09+0200" end_time="2023-09-21T12:37:10+0200" duration="01">
<logs>
<log path="recipes/1/tasks/2/logs/harness.log" filename="harness.log"/>
<log path="recipes/1/tasks/2/logs/taskout.log" filename="taskout.log"/>
</logs>
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip?sha=merge-requests/402/merge#content/docs/test-maintainers/status-meaning/restraint/pass"/>
<params>
<param name="JOB_MEMBERS" value="kvm-02-guest08.lab.eng.rdu2.redhat.com"/>
<param name="RECIPE_MEMBERS" value="kvm-02-guest08.lab.eng.rdu2.redhat.com"/>
</params>
<results>
<result id="1695292617" path="/" result="PASS">
<logs>
<log path="recipes/1/tasks/2/results/1695292617/logs/avc.log" filename="avc.log"/>
</logs>
</result>
</results>
</task>
</recipe>
</recipeSet>
</job>
beaker.xml
<job id="8338923" owner="mhofmann@redhat.com" result="Fail" status="Completed" retention_tag="scratch">
<whiteboard>fail1</whiteboard>
<recipeSet priority="Normal" response="ack" id="12409528">
<recipe id="14657079" job_id="8338923" recipe_set_id="12409528" whiteboard="" role="None" kickstart_url="http://beaker.engineering.redhat.com/kickstart/12596579" ks_meta="" kernel_options="" kernel_options_post="" start_time="2023-09-21 10:43:33" finish_time="2023-09-21 11:00:19" duration="0:16:46" result="Fail" status="Completed" distro="Fedora-38" arch="x86_64" family="Fedora38" variant="Server" system="kvm-03-guest02.lab.eng.rdu2.redhat.com">
<autopick random="false"/>
<watchdog panic="None"/>
<installation install_started="2023-09-21 10:44:57" install_finished="2023-09-21 10:55:10" postinstall_finished="2023-09-21 10:58:20"/>
<packages/>
<ks_appends/>
<roles>
<role value="None">
<system value="kvm-03-guest02.lab.eng.rdu2.redhat.com"/>
</role>
</roles>
<repos/>
<distroRequires>
<and>
<distro_family op="=" value="Fedora38"/>
<distro_variant op="=" value="Server"/>
</and>
</distroRequires>
<hostRequires>
<hostname op="like" value="kvm-%-guest%.lab.eng.rdu2.redhat.com"/>
<system_type value="Machine"/></hostRequires>
<partitions/>
<logs>
<log href="https://beaker.engineering.redhat.com/recipes/14657079/logs/console.log" name="console.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14657079/logs/systemd_journal.log" name="systemd_journal.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14657079/logs/anaconda.log" name="anaconda.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14657079/logs/sys.log" name="sys.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14657079/logs/storage.log" name="storage.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14657079/logs/program.log" name="program.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14657079/logs/ks.cfg" name="ks.cfg"/>
<log href="https://beaker.engineering.redhat.com/recipes/14657079/logs/dnf.librepo.log" name="dnf.librepo.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14657079/logs/lvm.log" name="lvm.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14657079/logs/packaging.log" name="packaging.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14657079/logs/hawkey.log" name="hawkey.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14657079/logs/boot.log" name="boot.log"/>
</logs>
<task name="fail1" role="None" id="166490971" result="Fail" status="Completed" start_time="2023-09-21 10:59:54" finish_time="2023-09-21 11:00:07" duration="0:00:13">
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip?sha=merge-requests/402/merge#content/docs/test-maintainers/status-meaning/restraint/fail1"/>
<roles>
<role value="None">
<system value="kvm-03-guest02.lab.eng.rdu2.redhat.com"/>
</role>
</roles>
<logs>
<log href="https://beaker.engineering.redhat.com/recipes/14657079/tasks/166490971/logs/taskout.log" name="taskout.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14657079/tasks/166490971/logs/harness.log" name="harness.log"/>
</logs>
<results>
<result path="/" start_time="2023-09-21 11:00:05" score="None" result="Fail" id="777692830">None<logs><log href="https://beaker.engineering.redhat.com/recipes/14657079/tasks/166490971/results/777692830/logs/dmesg.log" name="dmesg.log"/><log href="https://beaker.engineering.redhat.com/recipes/14657079/tasks/166490971/results/777692830/logs/avc.log" name="avc.log"/></logs></result>
<result path="exit_code" start_time="2023-09-21 11:00:06" score="256" result="Fail" id="777692833">Command returned non-zero</result>
</results>
</task>
<task name="pass" role="None" id="166490972" result="Pass" status="Completed" start_time="2023-09-21 11:00:07" finish_time="2023-09-21 11:00:18" duration="0:00:11">
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip?sha=merge-requests/402/merge#content/docs/test-maintainers/status-meaning/restraint/pass"/>
<roles>
<role value="None">
<system value="kvm-03-guest02.lab.eng.rdu2.redhat.com"/>
</role>
</roles>
<logs>
<log href="https://beaker.engineering.redhat.com/recipes/14657079/tasks/166490972/logs/taskout.log" name="taskout.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14657079/tasks/166490972/logs/harness.log" name="harness.log"/>
</logs>
<results>
<result path="/" start_time="2023-09-21 11:00:17" score="None" result="Pass" id="777692883">None<logs><log href="https://beaker.engineering.redhat.com/recipes/14657079/tasks/166490972/results/777692883/logs/avc.log" name="avc.log"/></logs></result>
</results>
</task>
</recipe>
</recipeSet>
</job>
With a panic:
runtest.sh
#!/bin/bash
echo 1 > /proc/sys/kernel/sysrq
echo c > /proc/sysrq-trigger
metadata
[General]
[restraint]
entry_point=bash ./runtest.sh
max_time=10s
job.xml
<?xml version="1.0"?>
<job>
<whiteboard>panic</whiteboard>
<recipeSet>
<recipe>
<distroRequires>
<and>
<distro_family op="=" value="Fedorarawhide"/>
<distro_variant op="=" value="Server"/>
</and>
</distroRequires>
<hostRequires>
<hostname op="like" value="kvm-%-guest%.lab.eng.rdu2.redhat.com"/>
</hostRequires>
<task name="panic">
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/panic"/>
<params/>
</task>
<task name="pass">
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/pass"/>
<params/>
</task>
</recipe>
</recipeSet>
</job>
restraint.xml
<?xml version="1.0"?>
<job>
<recipeSet>
<recipe id="1" status="Aborted" result="None" checkpoint_file="checkpoint_764815.conf">
<task name="panic" keepchanges="" id="1" status="Aborted" result="None">
<logs>
<log path="recipes/1/tasks/1/logs/harness.log" filename="harness.log"/>
<log path="recipes/1/tasks/1/logs/taskout.log" filename="taskout.log"/>
</logs>
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/panic"/>
<params>
<param name="JOB_MEMBERS" value="kvm-02-guest01.lab.eng.rdu2.redhat.com"/>
<param name="RECIPE_MEMBERS" value="kvm-02-guest01.lab.eng.rdu2.redhat.com"/>
</params>
</task>
<task name="pass" keepchanges="" id="2" status="Aborted" result="None">
<logs/>
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/pass"/>
<params>
<param name="JOB_MEMBERS" value="kvm-02-guest01.lab.eng.rdu2.redhat.com"/>
<param name="RECIPE_MEMBERS" value="kvm-02-guest01.lab.eng.rdu2.redhat.com"/>
</params>
</task>
</recipe>
</recipeSet>
</job>
beaker.xml
<job id="8323993" owner="mhofmann@redhat.com" result="Panic" status="Aborted" retention_tag="scratch">
<whiteboard>panic</whiteboard>
<recipeSet priority="Normal" response="ack" id="12390683">
<recipe id="14636068" job_id="8323993" recipe_set_id="12390683" whiteboard="" role="None" kickstart_url="http://beaker.engineering.redhat.com/kickstart/12576758" ks_meta="" kernel_options="" kernel_options_post="" start_time="2023-09-18 11:43:34" finish_time="2023-09-18 12:10:53" duration="0:27:19" result="Panic" status="Aborted" distro="Fedora-Rawhide-20230917.n.0" arch="x86_64" family="Fedorarawhide" variant="Server" system="kvm-02-guest08.lab.eng.rdu2.redhat.com">
<autopick random="false"/>
<watchdog/>
<installation install_started="2023-09-18 11:45:00" install_finished="2023-09-18 11:55:27" postinstall_finished="2023-09-18 11:58:50"/>
<packages/>
<ks_appends/>
<roles>
<role value="None">
<system value="kvm-02-guest08.lab.eng.rdu2.redhat.com"/>
</role>
</roles>
<repos/>
<distroRequires>
<and>
<distro_family op="=" value="Fedorarawhide"/>
<distro_variant op="=" value="Server"/>
</and>
</distroRequires>
<hostRequires>
<hostname op="like" value="kvm-%-guest%.lab.eng.rdu2.redhat.com"/>
<system_type value="Machine"/></hostRequires>
<partitions/>
<logs>
<log href="https://beaker.engineering.redhat.com/recipes/14636068/logs/console.log" name="console.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14636068/logs/systemd_journal.log" name="systemd_journal.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14636068/logs/anaconda.log" name="anaconda.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14636068/logs/sys.log" name="sys.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14636068/logs/storage.log" name="storage.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14636068/logs/program.log" name="program.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14636068/logs/ks.cfg" name="ks.cfg"/>
<log href="https://beaker.engineering.redhat.com/recipes/14636068/logs/packaging.log" name="packaging.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14636068/logs/lvm.log" name="lvm.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14636068/logs/hawkey.log" name="hawkey.log"/>
<log href="https://beaker.engineering.redhat.com/recipes/14636068/logs/boot.log" name="boot.log"/>
</logs>
<task name="panic" role="None" id="166336718" result="Panic" status="Aborted" start_time="2023-09-18 12:00:24" finish_time="2023-09-18 12:10:53" duration="0:10:29">
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/panic"/>
<roles>
<role value="None">
<system value="kvm-02-guest08.lab.eng.rdu2.redhat.com"/>
</role>
</roles>
<logs/>
<results>
<result path="/" start_time="2023-09-18 12:00:43" score="0" result="Panic" id="777089332">Kernel panic</result>
<result path="/" start_time="2023-09-18 12:10:53" score="0" result="Warn" id="777090451">External Watchdog Expired</result>
</results>
</task>
<task name="pass" role="None" id="166336719" result="Warn" status="Aborted">
<fetch url="https://gitlab.com/api/v4/projects/cki-project%2fdocumentation/repository/archive.zip#content/docs/test-maintainers/status-meaning/restraint/pass"/>
<roles>
<role value="None">
<system value="kvm-02-guest08.lab.eng.rdu2.redhat.com"/>
</role>
</roles>
<logs/>
<results>
<result path="/" start_time="2023-09-18 12:10:53" score="0" result="Warn" id="777090452">External Watchdog Expired</result>
</results>
</task>
</recipe>
</recipeSet>
</job>
Reproducing the results above
Running via Restraint on a Beaker machine
wget -O /etc/yum.repos.d/beaker-harness.repo \
https://beaker-project.org/yum/beaker-harness-Fedora.repo
dnf install -y restraint-client
restraint --job job.xml --host 1=root@beaker.host
Submitting to Beaker
dnf install -y beaker-client krb5-workstation
mkdir ~/.beaker_client
echo 'HUB_URL = "https://beaker.instance.url"' \
> ~/.beaker_client/config
kinit user@DOMAIN
bkr job-submit job.xml