freedomofpress / securedrop

GitHub repository for the SecureDrop whistleblower platform. Do not submit tips here!
https://securedrop.org/
Other
3.62k stars 687 forks source link

Release SecureDrop 1.8.0 #5794

Closed eloquence closed 3 years ago

eloquence commented 3 years ago

This is a tracking issue for the release of SecureDrop 1.8.0

Tentatively scheduled as follows:

String and feature freeze: 2021-02-23 String comment period: 2021-02-23 - 2021-02-26 Translation period: 2021-02-26 - 2021-03-08 Pre-release announcement: 2021-03-02 Release date: ~2021-03-09~ 2021-03-11

Release manager: @zenmonkeykstop Deputy release manager: @emkll Localization manager: @rmol Deputy localization manager: @emkll Communications manager:: @rocodes

SecureDrop maintainers and testers: As you QA 1.8.0, please report back your testing results as comments on this ticket. File GitHub issues for any problems found, tag them "QA: Release", and associate them with the 1.8.0 milestone for tracking (or ask a maintainer to do so).

Test debian packages will be posted on https://apt-test.freedom.press signed with the test key. An Ansible playbook testing the upgrade path is here.

QA Matrix for 1.8.0

Test Plan for 1.8.0

Supplementary notes for Xenial->Focal Migrations

Prepare release candidate (1.8.0~rc1)

Prepare release candidate (1.8.0~rc2)

After each test, please update the QA matrix and post details for Basic Server Testing, Application Acceptance Testing and 1.8.0-specific testing below in comments to this ticket.

Final release

Post release

eloquence commented 3 years ago

(Just a placeholder for now based on the last release, will likely need some fleshing out to account for the additional complexity of adding and testing support for Ubuntu 20.04.)

kushaldas commented 3 years ago

Initial testing on NUC5 hardware looks solid. I do have a few questions:

kushaldas commented 3 years ago

1.8.0 QA Checklist

Environment

Command Line User Generation

Application Acceptance Testing

Source Interface

Landing page base cases
First submission base cases
Returning source base cases

Journalist Interface

Login base cases
Index base cases
Individual source page

1.8.0 release-specific changes (common)

ssh app apt list --installed | grep cloud-init

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

cloud-initramfs-copymods/now 0.27ubuntu1.6 all [installed,local]
cloud-initramfs-dyn-netconf/now 0.27ubuntu1.6 all [installed,local]
amnesia@amnesia:~/Persistent/securedrop$ ssh mon apt list --installed | grep cloud-init

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

cloud-initramfs-copymods/now 0.27ubuntu1.6 all [installed,local]
cloud-initramfs-dyn-netconf/now 0.27ubuntu1.6 all [installed,local]

1.8.0 release-specific changes (Xenial only)

1.8.0 release-specific changes (Focal only)

Preflight testing

Basic testing

Tails

zenmonkeykstop commented 3 years ago

1.8.0 QA Checklist

Environment

Basic Server Testing

Command Line User Generation

Administration

Application Acceptance Testing

Source Interface

Landing page base cases
First submission base cases
Returning source base cases

Journalist Interface

Login base cases
Index base cases
Individual source page

Basic Tails Testing

After updating to this release candidate and running securedrop-admin tailsconfig

1.8.0 release-specific changes (common)

1.8.0 release-specific changes (Xenial only)

1.8.0 release-specific changes (Focal only)

Preflight testing

Basic testing

Tails

emkll commented 3 years ago

1.8.0-rc1 Mac minis install-and-restore on Focal (in progress)

Environment

Basic Server Testing

Command Line User Generation

Administration

Application Acceptance Testing

Source Interface

Landing page base cases
First submission base cases
Returning source base cases

Journalist Interface

Login base cases
Index base cases
Individual source page

Basic Tails Testing

After updating to this release candidate and running securedrop-admin tailsconfig

1.8.0 release-specific changes (common)

1.8.0 release-specific changes (Xenial only)

1.8.0 release-specific changes (Focal only)

Preflight testing

Basic testing

Tails

zenmonkeykstop commented 3 years ago

v2+v3 Xenial to focal migrations:

Just completed a migration from a v2+v3 Xenial to a v3 Focal (using the branch in #5834 for the restore, as this is currently broken in RC1). Steps are as follows, starting in ~/Persistent on the same admin stick as was used for the Xenial install:

The v3 addresses and auth keys for the JI, SI, and ssh should match the ones in sd.bak. The mon ssh address will change but the key should be the same. All services should be accessible without any manual editing of the configuration. V2 services should not be present.

V3 Xenial to Focal migrations

The process should be identical to the v2+v3 case, except it should not be necessary to disable v2 in sdconfig (vbut step through sdconfig anyway

V2 Xenial to Focal migrations

As v2 onion services can't be migrated to Focal, this case should be easier (again, using #5834 if it's not merged and RCed yet):

kushaldas commented 3 years ago

Tested RC2 for specially:

V2 Xenial to Focal migrations

As v2 onion services can't be migrated to Focal, this case should be easier (again, using #5834 if it's not merged and RCed yet):

I can still do ssh, both source and journalist address work. I can also do standard application specific steps (source submission + decryption at the journalist end) following regular steps.

kushaldas commented 3 years ago

1.8.0 QA Checklist

Environment

Command Line User Generation

Application Acceptance Testing

Source Interface

Landing page base cases
First submission base cases
Returning source base cases

Journalist Interface

Login base cases
Index base cases
Individual source page

1.8.0 release-specific changes (common)

1.8.0 release-specific changes (Focal only)

Preflight testing

Basic testing

Tails

emkll commented 3 years ago

1.7.1->1.8.0-rc4 (VMs) In progress

Environment

Basic Server Testing

Command Line User Generation

Administration

Application Acceptance Testing

Source Interface

Landing page base cases
First submission base cases
Returning source base cases

Journalist Interface

Login base cases
Index base cases
Individual source page

Basic Tails Testing

After updating to this release candidate and running securedrop-admin tailsconfig

1.8.0 release-specific changes (common)

1.8.0 release-specific changes (Xenial only)

RC3/RC4 specific testing

zenmonkeykstop commented 3 years ago

1.8.0-rc4 (NUC8+NUC7)

Environment

Basic Server Testing

Command Line User Generation

Administration

Application Acceptance Testing SKIPPED

Source Interface

Landing page base cases
First submission base cases
Returning source base cases

Journalist Interface

Login base cases
Index base cases
Individual source page

Basic Tails Testing

After updating to this release candidate and running securedrop-admin tailsconfig

1.8.0 release-specific changes (common)

1.8.0 release-specific changes (Xenial only)

1.8.0 release-specific changes (Focal only)

Preflight testing

Basic testing

Tails

kushaldas commented 3 years ago

The fresh VM I created yesterday on RC4 did get apply the RC5 update. Other than that the rest of the standard tests + focal based tests are good. I will post a detailed copy later in the evening.

conorsch commented 3 years ago

Update upgrade testing boxes

I took a quick stab at this on Friday, but was surprised to encounter https://github.com/freedomofpress/securedrop/issues/5781. Will need to adjust the box slightly, perhaps fall back to an older version, to get it to build. I can do that today if no one else is looking at it.

conorsch commented 3 years ago

Will need to adjust the box slightly, perhaps fall back to an older version, to get it to build.

Falling back to box version v202008.16.0 was enough to clear the problem. PR in #5870.

eloquence commented 3 years ago

1.8.0 was released on 2021-03-11; as usual we have left this ticket open until upgrade boxes for the next release are ready. Due to complications, this may be only done for Focal; tracked separately in #5512.