← Back to team overview

kubuntu-council team mailing list archive

[Merge] ~xypron/ubuntu-manual-tests:milk-v-mars into ubuntu-manual-tests:main

 

Heinrich Schuchardt has proposed merging ~xypron/ubuntu-manual-tests:milk-v-mars into ubuntu-manual-tests:main.

Commit message:
Test case for pre-installed Milk-V Mars image

Requested reviews:
  Ubuntu Testcase Admins (ubuntu-testcase)

For more details, see:
https://code.launchpad.net/~xypron/ubuntu-manual-tests/+git/ubuntu-manual-tests/+merge/464815

Please, add the new test case to the Noble test plan.
-- 
Your team Ubuntu Testcase Admins is requested to review the proposed merge of ~xypron/ubuntu-manual-tests:milk-v-mars into ubuntu-manual-tests:main.
diff --git a/testcases/image/1795_Install Milk-V Mars b/testcases/image/1795_Install Milk-V Mars
new file mode 100755
index 0000000..5876f76
--- /dev/null
+++ b/testcases/image/1795_Install Milk-V Mars
@@ -0,0 +1,38 @@
+The scope of this test is to ensure that riscv64+visionfive2 image boots from SD card on Milk-V Mars board
+
+<dl>
+    <dt>Flash downloaded image onto SD card</dt>
+        <dd>You can use Gnome Disks app to restore img.xz onto the SD card</dd>
+        <dd>Alternatively you can use xz -d to decompress, and then dd to copy the image to the SD card</dd>
+    <dt>Connect networking, serial console to the board</dt>
+        <dd>Ethernet cable for networking</dd>
+        <dd>USB to TTL adapter for serial console (pinout available here: https://milkv.io/docs/mars/getting-started/setup)</dd>
+    <dt>Connect to the serial console</dt>
+        <dd>sudo screen /dev/ttyUSB0 115200</dd>
+    <dt>Power on the board</dt>
+        <dd>You should see U-BOOT output</dd>
+        <dd>It should then boot GRUB after a delay</dd>
+        <dd>You should see GRUB menu</dd>
+        <dd>It should then boot the default kernel after a delay</dd>
+        <dd>After a while cloud-init will run</dd>
+	<dd>Wait for the 'Cloud-init finished' message</dd>
+        <dd>Then one will be able to login</dd>
+    <dt>Login and change password</dt>
+        <dd>Login using ubuntu for both username and password</dd>
+        <dd>Reenter ubuntu password again</dd>
+        <dd>Set new password</dd>
+        <dd>Confirm the new password</dd>
+    <dt>Perform generic testing</dt>
+        <dd>Check that apt update works</dd>
+        <dd>Run any command that is not installed, check that command-not-found recommends things to install</dd>
+        <dd>e.g. hello</dd>
+        <dd>Install a package and check that it works, e.g. hello</dd>
+    <dt>Reboot</dt>
+        <dd>The board should reboot normally</dt>
+    <dt>Poweroff</dt>
+        <dd>Console messages should reach poweroff target</dd>
+        <dd>There should be final kernel dmsg powering off</dd>
+        <dd>Manually turn power-off from the board</dd>
+</dl>
+<strong>If all actions produce the expected results listed, please <a href="results#add_result">submit</a> a 'passed' result.
+    If an action fails, or produces an unexpected result, please <a href="results#add_result">submit</a> a 'failed' result and <a href="../../buginstructions">file a bug</a>. Please be sure to include the bug number when you <a href="results#add_result">submit</a> your result.</strong>

Follow ups