From Fedora Project Wiki

(Created page with "{{QA/Test_Case |description=Provision Fedora CoreOS and test kdump |setup= # Download and verify the latest [https://getfedora.org/coreos/download?tab=metal_virtualized&stream=next FCOS <b>next</b> image] (pick the right image for your environment). |actions= # Launch your Fedora CoreOS system. See [https://docs.fedoraproject.org/en-US/fedora-coreos/getting-started/#_quickstart the Quickstart] and the provisioning docs for a guide how to launch FCOS in most environments...")
 
No edit summary
 
Line 11: Line 11:


`# echo 1 > /proc/sys/kernel/sysrq`
`# echo 1 > /proc/sys/kernel/sysrq`
`# echo c > /proc/sysrq-trigger`
`# echo c > /proc/sysrq-trigger`


Line 19: Line 20:
# You can SSH successfully into your FCOS system.
# You can SSH successfully into your FCOS system.
# Verify triggering a kernel dump will produce crash files in /var/crash
# Verify triggering a kernel dump will produce crash files in /var/crash
# The linked documentation is clear, all steps are understandable, and nothing important is missing from it.
}}


[[Category:CoreOS Test Cases]]
[[Category:CoreOS Test Cases]]

Latest revision as of 17:33, 28 September 2022

Description

Provision Fedora CoreOS and test kdump

Setup

  1. Download and verify the latest FCOS next image (pick the right image for your environment).

How to test

  1. Launch your Fedora CoreOS system. See the Quickstart and the provisioning docs for a guide how to launch FCOS in most environments (bare metal, virtual, cloud, etc).
  2. Create an Ignition file that enables kdump
  3. Launch your Fedora CoreOS system using this Ignition file.
  4. Trigger a kernel dump using the following commands

# echo 1 > /proc/sys/kernel/sysrq

# echo c > /proc/sysrq-trigger

  1. The system will capture the kernel dump and reboot.
  2. Verify the kernel dump is captures in /var/crash

Expected Results

  1. You can SSH successfully into your FCOS system.
  2. Verify triggering a kernel dump will produce crash files in /var/crash
  3. The linked documentation is clear, all steps are understandable, and nothing important is missing from it.