canonical-ubuntu-qa team mailing list archive
-
canonical-ubuntu-qa team
-
Mailing list archive
-
Message #06444
[Merge] ~cpete/ubuntu-manual-tests:automatic-kdump-very-specific-setup into ubuntu-manual-tests:main
Chris Peterson has proposed merging ~cpete/ubuntu-manual-tests:automatic-kdump-very-specific-setup into ubuntu-manual-tests:main.
Requested reviews:
Ubuntu Testcase Admins (ubuntu-testcase)
For more details, see:
https://code.launchpad.net/~cpete/ubuntu-manual-tests/+git/ubuntu-manual-tests/+merge/483502
During Plucky beta testing we found out that the instructions for the automatic kernel crash dumps enablement test were too vague and the test case would fail for very subtle reasons. Let's be more specific about a test case that should work.
I chose 8GiB for the memory size (which may be too much for someone on a laptop, sorry) since specifying 6 will be too small and 7 seems weird and not much better than 8.
As a result, we lose the exact enablement criteria we're testing here, particular concerning the mem_total vs free space in /var relationship. That being said we know this specification is well within the enablement parameters and those parameters are subject to change anyways.
--
Your team Canonical's Ubuntu QA is subscribed to branch ubuntu-manual-tests:main.
diff --git a/testcases/image/1822_Install Kernel Crash Dumps Automatic (Enabled) b/testcases/image/1822_Install Kernel Crash Dumps Automatic (Enabled)
index 7632763..5cfac7f 100644
--- a/testcases/image/1822_Install Kernel Crash Dumps Automatic (Enabled)
+++ b/testcases/image/1822_Install Kernel Crash Dumps Automatic (Enabled)
@@ -2,17 +2,17 @@
<strong>This test is only valid for Oracular (24.10) and later releases. If testing pre-Oracular media, please just mark this test as passing.</strong>
</p>
<p>
-The purpose of this testcase is to test that kernel crash dumps are <strong>successfully enabled</strong> on installed systems which meet certain criteria. The result of this test case will depend on the specifics of your hardware. Please perform the test using a system that <strong>meets</strong> the following minimum
-criteria:
+The purpose of this testcase is to test that kernel crash dumps are <strong>successfully enabled</strong> on installed systems which meet certain criteria. The result of this test case will depend on the specifics of your hardware and the steps you perform during the course of the install. Please perform the test using a system that <strong>meets</strong> the following criteria:
</p>
<ul>
<li><strong> CPU Architecture</strong>: amd64 (x86_64), arm64 (aarch64), or s390x </li>
<li><strong> CPU Cores</strong>: >=4 </li>
- <li><strong> Memory (RAM + SWAP)</strong>: >=6GiB</li>
- <li><strong> Disk space in /var</strong>: 5 x (Memory)</li>
+ <li><strong> Memory (RAM + SWAP)</strong>: 8GiB</li>
+ <li><strong> Disk size </strong>: 100GiB</li>
</ul>
+
<em>
Proceed in your native language if you wish. Instructions will remain in
English.
@@ -21,11 +21,36 @@ criteria:
<p> The test steps are as follows: </p>
<ol>
- <li> Perform a standard install using the linked installation media, ensuring
- the drive <code>/var</code> is mounted to has sufficient free space.
- No other special steps are required during the installation. </li>
- <li> Reboot into the newly installed system. </li>
- <li> Check on the status of kdump-tools using the following command: <code>kdump-config show</code></li>
+ <li> Perform the install as desired, up until the "Guided storage configuration" (Server) or "Disk setup" (Desktop) screen. Follow step 2 for Server and step 3 for Desktop.</li>
+ <li> Server:
+ <ol>
+ <li> Ensure that "Use an entire disk" is selected and <strong> unselect </strong> "Set up this disk as an LVM group".</li>
+ <li> Select "Done" then confirm the creation of two partitions on the next screen.
+ <ul>
+ <li> A partition mounted at "/" with an ext4 filesystem. </li>
+ <li> A partition mounted at "/boot/efi" with a fat32 filesystem. </li>
+ </ul>
+ <li> Select "Done" again, confirm the install, and proced with the remainder of the install as desired. </li>
+ <li> Go to step 4. </li>
+ </li>
+ </ol>
+ </li>
+ <li> Desktop:
+ <ol>
+ <li> Choose the default "Erase disk and install Ubuntu" option. </li>
+ <li> Continue with the install as desired until the confirmation screen. </li>
+ <li> Confirm the creation of two partitions:
+ <ul>
+ <li> A partition mounted at "/" with an ext4 filesystem. </li>
+ <li> A partition mounted at "/boot/efi" with a fat32 filesystem. </li>
+ </ul>
+ </li>
+ <li> Select "Install" and let the install proceed. </li>
+ <li> Proceed to step 4. </li>
+ </ol>
+ </li>
+ <li> Once the install has finished, reboot into the newly installed system. </li>
+ <li> Check on the status of kdump-tools using the following command in the terminal: <code>kdump-config show</code></li>
<li> Compare the result of the command with the guidance below. </li>
</ol>
@@ -61,14 +86,16 @@ something similar to:</p>
<strong> Some special notes about testing: </strong>
<ul>
- <li> If the results are not as expected, please include the output of the
- following command in your bug report:
- <code>sudo /usr/share/kdump-tools/kdump_set_default</code>
+ <li> If the results are not as expected, please include:
+ <ul>
+ <li> The output of the following command in your bug report: <code>sudo /usr/share/kdump-tools/kdump_set_default</code> </li>
+ <li> The contents of "/var/log/installer/curtin-install.log" </li>
+ </ul>
</li>
<li> If performing the test with a VM, note that it has been reported that
thin provisioning of disk images may cause the enablement to fail
where it was otherwise expected. Check the output of
- <code>df -h /var</code> within the VM in these cases.
+ <code>df -h /var</code> within the VM (in the newly installed system) in these cases.
</li>
</ul>
diff --git a/testcases/image/1823_Install Kernel Crash Dumps Automatic (Disabled) b/testcases/image/1823_Install Kernel Crash Dumps Automatic (Disabled)
index 2b2b733..eaf7dd4 100644
--- a/testcases/image/1823_Install Kernel Crash Dumps Automatic (Disabled)
+++ b/testcases/image/1823_Install Kernel Crash Dumps Automatic (Disabled)
@@ -9,7 +9,7 @@ The purpose of this testcase is to test that kernel crash dumps are <strong>succ
<li><strong> CPU Architecture</strong>: amd64 (x86_64), arm64 (aarch64), or s390x </li>
<li><strong> CPU Cores</strong>: >=4 </li>
<li><strong> Memory (RAM + SWAP)</strong>: >=6GiB</li>
- <li><strong> Disk space in /var</strong>: 5 x (Memory)</li>
+ <li><strong> Disk size</strong>: >= 5 x (Memory)</li>
</ul>
<em>
Follow ups