Skip to content

0.5.6 Test Plan

Conor Schaefer edited this page Oct 27, 2021 · 3 revisions

This test plan covers release 0.5.6 of the SecureDrop Workstation.

Test plan

Test parameters

  • 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.6-rcN

Acceptance Testing

Scenario: Fresh Install

  • 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 clean all
    qvm-ls | grep securedrop-workstation # should show no hits
    
  • Observe that a clean install completes successfully, with no errors
  • Double-check the SD desktop icon, and observe the updater completes successfully, with no errors
  • Observe that sys-whonix and sd-whonix are using whonix-gw-16 as their TemplateVM, e.g. qvm-prefs sd-whonix template
  • Observe that anon-whonix is using whonix-ws-16 as its TemplateVM.
  • When running the updater, confirm that no Whonix-related warning messages are displayed.

Scenario: Upgrade

We want to simulate what an in-place upgrade would do on an active prod instance. Ideally use staging for this setup. Make sure in particular that the Whonix 16 Templates are removed, if already present (previous updater runs would have installed them, even if you haven't been testing 0.5.6~rc1 yet).

qvm-prefs sys-whonix template whonix-gw-15
qvm-prefs anon-whonix template whonix-ws-15
qvm-remove whonix-ws-16-dvm
sudo dnf remove qubes-template-whonix-ws-16
sudo dnf remove qubes-template-whonix-gw-16

Then run the updater, and confirm that:

  • Observe that sys-whonix and sd-whonix are using whonix-gw-16 as their TemplateVM, e.g. qvm-prefs sd-whonix template
  • Observe that anon-whonix is using whonix-ws-16 as its TemplateVM.
  • When running the updater, confirm that no Whonix-related warning messages are displayed.
  • The updater completes successfully, with no errors