-
Notifications
You must be signed in to change notification settings - Fork 46
0.5.4 Test Plan
Erik Moeller edited this page May 25, 2021
·
8 revisions
This test plan covers release 0.5.4 of the SecureDrop Workstation.
- Hardware target: e.g. Thinkpad X1 20KH002JUS
- Install type: fresh install/"happy path" upgrade/"sad path" upgrade
- securedrop-workstation-dom0-config version: Check via
dnf list
in dom0 - Release candidate version: 0.5.1-rcN
- standard acceptance tests should be completed for each release candidate
- If an existing production install is being used for testing, remove it completely with the following commands in
dom0
:sdw-admin --uninstall qvm-kill securedrop-workstation-buster sudo dnf remove qubes-template-securedrop-workstation-buster sudo dnf remove qubes-template-fedora-33 # may already be absent sudo dnf clean all qvm-ls | grep fedora-33 # should show no hits
- Observe that
sys-firewall
,sys-net
andsys-usb
are all based on fedora-33. - Observe that
qvm-prefs default-mgmt-dvm template
showsfedora-33
-
- Observe that "Suspend" and "Hibernate" options are not available in the top right user menu in Qubes, or on the "Log out" screen from the application menu. This confirms that the
update-xfce-settings
script is still doing its job.
- Observe that "Suspend" and "Hibernate" options are not available in the top right user menu in Qubes, or on the "Log out" screen from the application menu. This confirms that the
- In
dom0
, runsudo /srv/salt/update-xfce-settings
-
- Observe that the script exits with "This script should not be run as root"
- Modify your copy of
/srv/salt/update-xfce-settings
toexit 1
immediately - Run the updater with
/opt/securedrop/launcher/sdw-launcher.py --skip-delta 0
-
- Observe that the updater ultimately reports an error
-
- Observe that the
apply_dom0
error is logged in~/.securedrop_launcher/logs/launcher.log
, and that details are available in~/.securedrop_launcher/logs/launcher-detail.log
(launcher-detail.log
is newly added in this release).
- Observe that the
- Undo your local modification
- Ensure that you do not have a
fedora-33
template present on your system from prior runs or a manual update. If necessary, remove the template withsudo dnf remove qubes-template-fedora-33
. - Run the updater with
/opt/securedrop/launcher/sdw-launcher.py --skip-delta 0
. -
- Observe that the update completes successfully
-
- Observe that the
fedora-33
template is now installed
- Observe that the
-
- Observe that
qvm-ls | grep fedora
shows that sys-net, sys-usb, and sys-firewall are all based onfedora-33
.
- Observe that
-
- Observe that
qvm-prefs default-mgmt-dvm template
showsfedora-33
- Observe that
As above.
As above.