← Back to team overview

kubuntu-council team mailing list archive

[Merge] ~xnox/ubuntu-manual-tests:riscv64-tests into ubuntu-manual-tests:master

 

Dimitri John Ledkov has proposed merging ~xnox/ubuntu-manual-tests:riscv64-tests into ubuntu-manual-tests:master.

Commit message:
1735 & 1737 tests are for the Unleashed image
1736 & 1737 tests are for the Unmatched image


Requested reviews:
  Ubuntu Testcase Admins (ubuntu-testcase)

For more details, see:
https://code.launchpad.net/~xnox/ubuntu-manual-tests/+git/ubuntu-manual-tests/+merge/401604
-- 
Your team Ubuntu Testcase Admins is requested to review the proposed merge of ~xnox/ubuntu-manual-tests:riscv64-tests into ubuntu-manual-tests:master.
diff --git a/testcases/image/1735_Install Unleashed b/testcases/image/1735_Install Unleashed
new file mode 100755
index 0000000..556fe1f
--- /dev/null
+++ b/testcases/image/1735_Install Unleashed
@@ -0,0 +1,37 @@
+The scope of this test is to ensure that riscv64+unleashed image boots from SD card on SiFive Hifive Unleashed 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>MicroUSB cable for serial console</dd>
+    <dt>Check the board switches to ensure they are in sdcard mode</dt>	
+        <dd>MSEL=1011 (MSEL2 to the outside of the board, the rest to the inside)</dd>
+    <dt>Connect to the serial console</dt>
+        <dd>sudo screen /dev/ttyUSB1 115200</dd>
+    <dt>Power on the board</dt>
+        <dd>You should see U-BOOT menu</dd>
+	<dd>It should then boot default entry after a delay</dd>
+	<dd>After a while cloud-init will run</dd>
+	<dd>Then serial login will appear, but will not work</dd>
+	<dd>Then cloud-init will finally finish (~250s)</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>I.e. hello</dd>
+	<dd>Install a package and check that it works, i.e. hello</dd>
+    <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>
diff --git a/testcases/image/1736_Install Unmatched b/testcases/image/1736_Install Unmatched
new file mode 100755
index 0000000..3bfdca9
--- /dev/null
+++ b/testcases/image/1736_Install Unmatched
@@ -0,0 +1,37 @@
+The scope of this test is to ensure that riscv64+unmatched image boots from SD card on SiFive Hifive Unmatched 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>MicroUSB cable for serial console</dd>
+    <dt>Check the board switches to ensure they are in sdcard mode</dt>	
+        <dd>MSEL2 to the inside of the board, the rest to the outside</dd>
+    <dt>Connect to the serial console</dt>
+        <dd>sudo screen /dev/ttyUSB1 115200</dd>
+    <dt>Power on the board</dt>
+        <dd>You should see U-BOOT menu</dd>
+	<dd>It should then boot default entry after a delay</dd>
+	<dd>After a while cloud-init will run</dd>
+	<dd>Then serial login will appear, but will not work</dd>
+	<dd>Then cloud-init will finally finish (~250s)</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>I.e. hello</dd>
+	<dd>Install a package and check that it works, i.e. hello</dd>
+    <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>
diff --git a/testcases/image/1737_Install Qemu b/testcases/image/1737_Install Qemu
new file mode 100755
index 0000000..c0af34a
--- /dev/null
+++ b/testcases/image/1737_Install Qemu
@@ -0,0 +1,22 @@
+The scope of this test is to ensure that riscv64+unleashed and riscv64+unmatched images boot in qemu.
+
+<dl>
+    <dt>Boot with qemu</dt>
+        <dd>Follow instructions from <a href="https://wiki.ubuntu.com/RISC-V";>wiki</a> on how to boot with QEMU</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>I.e. hello</dd>
+	<dd>Install a package and check that it works, i.e. hello</dd>
+    <dt>Poweroff</dt>
+        <dd>Console messages should reach poweroff target</dd>
+	<dd>There should be final kernel dmsg powering off</dd>
+	<dd>Press "CTRL+a c" and type quit</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