Skip to content

1.7.0 Test Plan

Kevin O'Gorman edited this page Jan 13, 2021 · 18 revisions

QA plan

  • NUC5s
  • NUC7s
  • Mac Minis
  • 1U test servers

1.7.0 QA Checklist

For both upgrades and fresh installs, here is a list of functionality that requires testing. You can use this for copy/pasting into your QA report. Note that in order to test #5483, you should select multiple languages when running ./securedrop-admin sdconfig.

If you have submitted a QA report already for a 1.7.0 release candidate with successful basic server testing and application acceptance testing sections, then you can skip these sections in subsequent reports, unless otherwise indicated by the Release Manager. This is to ensure that you focus your QA effort on the 1.7.0-specific changes as well as changes since the previous release candidate.

Environment

  • Install target:
  • Tails version:
  • Test Scenario:
  • SSH over Tor:
  • Onion service version:
  • Release candidate:
  • General notes: During fresh installs, attempt to select zh_hansas a language choice.

Basic Server Testing

  • I can access both the source and journalist interfaces
  • I can SSH into both machines over Tor
  • AppArmor is loaded on app
    • 0 processes are running unconfined
  • AppArmor is loaded on mon
    • 0 processes are running unconfined
  • Both servers are running grsec kernels
  • iptables rules loaded
  • OSSEC emails begin to flow after install
  • OSSEC emails are decrypted to correct key and I am able to decrypt them
  • After installing the testinfra dependencies, all tests in ./securedrop-admin verify are passing:
    • Install dependencies on Admin Workstation with cd ~/Persistent/securedrop && ./securedrop-admin setup -t
    • Run tests with ./securedrop-admin verify (this will take a while)
    • Remove test dependencies: rm -rf admin/.venv3/ && ./securedrop-admin setup
  • QA Matrix checks pass

Basic Tails Testing

1.7.0 release-specific changes

  • #

  • language support changes #5697

    • Simplified Chinese (zh_hans) is a listed option in language support in ./securedrop-admin sdconfig
    • When selected during installation, zh_hanz is listed as 中文 (简体) in the interfaces' language dropdown, and is selectable with pages then rendered in Simplified Chinese
    • With cleared browser data and the browser language set to traditional Chinese ("Chinese(Taiwan)") the interfaces are rendered in traditional Chinese by default
    • The Source Interface metadata endpoint lists zh_hans when selected during installation
  • TOTP secret style has been changed to match screenshot in PR #5574

  • v3 banner notification changes #5679

    • With v2 and v3 services both enabled, a red banner is displayed on Journalist Interface pages after login, with a message starting with "Complete the v3 Onion Services setup".
    • With only v2 services enabled, a red banner is displayed on Journalist Interface pages after login, with a message starting with "Set up v3 Onion Services before April 30".
    • With only v3 services enabled, no red banner is displayed on Journalist Interface pages after login.
    • No red banner is displayed on the login page in any of the 3 above cases
  • Added error handling for file deletions#

    • Log in to the Source Interface and submit 3 or more messages as a single source
    • Log in to the Journalist Interface and reply to the source from the previous step
    • log in to the application server, find the source's submission files under `/var/lib/securedrop/store, and delete the reply file and one of the submissions
    • in the Journalist Interface on the source's collection page, select the reply, the deleted message, and one other message, and delete the messages via Delete Selected
    • Deletion completes without error and all 3 rows are removed
    • on the Application server, errors are logged relating to the missing files in /var/log/apache2/journalist-error.log
    • in the Journalist Interface on the source's collection page, delete the source via *Delete Source and Submissions
    • the source collection is deleted and the source is no longer listed on the Journalist Interface
    • the source submissions directory is removed from /var/lib/securedrop/store

Preflight

  • Ensure the builder image is up-to-date on release day

These tests should be performed the day of release prior to live debian packages on apt.freedom.press

Basic testing

  • Install or upgrade occurs without error
  • Source interface is available and version string indicates it is 1.7.0
  • A message can be successfully submitted

Tails

  • The updater GUI appears on boot
  • The update successfully occurs to 1.7.0
  • After reboot, updater GUI no longer appears
Clone this wiki locally