Project Number Date
test_Tails_ISO_20634-greeter-tps-upgrade-failure-fix 22 09 Nov 2024, 18:10

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 157 0 0 0 0 157 21 0 21 42:10.438 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:50.926
Before features/support/hooks.rb:269 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 2:6.720
And I update APT using apt 14.333
And I install "python3-behave" using apt 25.929
Then the Tails Persistent Storage behave tests pass 3.943
After features/support/hooks.rb:326 0.698
After features/support/hooks.rb:100 0.000
Tags: @product
54.119
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 15.921
When I log in to a new session without activating the Persistent Storage 26.208
Then Tails is running from USB drive "__internal" 0.651
And persistence is disabled 0.484
But a Tails persistence partition exists on USB drive "__internal" 10.852
After features/support/hooks.rb:326 0.978
After features/support/hooks.rb:100 0.000
Tags: @product
3:20.213
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive without a persistent partition and logged in 18.731
Then Tails is running from USB drive "__internal" 0.436
When I create a file in the Persistent directory 0.130
And I create a persistent partition with the default settings 25.787
Then the file I created was copied to the Persistent Storage 0.831
When I shutdown Tails and wait for the computer to power off 13.177
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:20.664
Then persistence for "Persistent" is active 0.381
And the file I created in the Persistent directory exists 0.073
After features/support/hooks.rb:326 0.895
After features/support/hooks.rb:100 0.008
Tags: @product
1:8.543
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive without a persistent partition and logged in 24.883
And the system is very low on memory 4.442
When I create a file in the Persistent directory 1.137
When I try to create a persistent partition 20.172
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.204
When I close the Persistent Storage app 2.545
And I free up some memory 1.748
And I create a persistent partition with the default settings 13.155
Then the file I created was copied to the Persistent Storage 0.253
After features/support/hooks.rb:326 1.401
After features/support/hooks.rb:100 0.000
Tags: @product
2:41.152
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.921
Then Tails is running from USB drive "__internal" 0.491
And all tps features are active 2.476
And all persistent directories have safe access rights 2.861
When I disable the first tps feature 5.684
Then all tps features but the first one are active 2.186
And I shutdown Tails and wait for the computer to power off 10.790
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:3.524
Then all tps features but the first one are active 2.217
After features/support/hooks.rb:326 1.031
After features/support/hooks.rb:100 0.008
Tags: @product
19.853
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.038
Then persistence for "Persistent" is active 0.213
And I create a file in the Persistent directory 0.148
Then the file I created was copied to the Persistent Storage 0.072
When I disable the first tps feature 5.984
Then persistence for "Persistent" is not active 0.068
And the Persistent directory does not exist 0.064
When I enable the first tps feature 3.102
Then persistence for "Persistent" is active 0.085
And the file I created in the Persistent directory exists 0.074
After features/support/hooks.rb:326 1.178
After features/support/hooks.rb:100 0.000
Tags: @product
19.043
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.510
Then persistence for "Persistent" is active 0.287
When I create a file in the Persistent directory 0.082
And I disable the first tps feature 5.464
And I delete the data of the Persistent Folder feature 3.635
Then the file I created does not exist on the Persistent Storage 0.063
After features/support/hooks.rb:326 0.820
After features/support/hooks.rb:100 0.000
Tags: @product
1:3.296
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.601
And the network is plugged 0.107
And Tor is ready 17.762
And I take note of which tps features are available 0.607
When I write some files expected to persist 1.864
And I shutdown Tails and wait for the computer to power off 8.528
# XXX: The next step succeeds (and the --debug output confirms that it's actually looking for the files) but will fail in a subsequent scenario restoring the same snapshot. This exactly what we want, but why does it work? What is guestfs's behaviour when qcow2 internal snapshots are involved?
Then only the expected files are present on the persistence partition on USB drive "__internal" 24.825
After features/support/hooks.rb:326 0.109
After features/support/hooks.rb:100 0.000
Tags: @product
3:15.746
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.738
And the network is plugged 0.084
And Tor is ready 20.058
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.266
And I shutdown Tails and wait for the computer to power off 10.768
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.756
And I capture all network traffic 0.014
And the network is plugged 0.102
And Tor is ready 17.240
And I switch to the "persistent-con-current" NetworkManager connection 0.463
And the 1st network device has a spoofed MAC address configured 0.125
And no network device leaked the real MAC address 0.125
After features/support/hooks.rb:326 0.820
After features/support/hooks.rb:100 0.047
Tags: @product
54.013
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 12.064
And I enable persistence creation in Tails Greeter 1.102
And I log in to a new session expecting no warning about the Persistent Storage not being activated 18.647
Then I create a persistent partition with the default settings using the wizard that was already open 22.198
After features/support/hooks.rb:326 1.420
After features/support/hooks.rb:100 0.000
Tags: @product
4:30.886
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 12.683
When I enable persistence 37.022
Then no persistent Greeter options were restored 14.188
When I set all Greeter options to non-default values 25.432
And I log in to a new session in German (de) after having activated the Persistent Storage 48.125
Then all Greeter options are set to non-default values 0.336
When I cold reboot the computer 9.349
And the computer reboots Tails 59.776
Given I enable persistence 20.275
Then persistent Greeter options were restored 0.688
When I log in to a new session after having activated the Persistent Storage 42.424
Then all Greeter options are set to non-default values 0.581
After features/support/hooks.rb:326 0.718
After features/support/hooks.rb:100 0.008
Tags: @product
3:45.975
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.957
# Note that if anything fails after the passphrase was changed and
# before it's changed back below, subsequent scenarios might fail
# because the Persistent Storage doesn't have the expected passphrase.
When I change the passphrase of the Persistent Storage 34.282
And I shutdown Tails and wait for the computer to power off 14.816
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:8.984
And I change the passphrase of the Persistent Storage back to the original 36.934
After features/support/hooks.rb:326 1.493
After features/support/hooks.rb:100 0.006
Tags: @product
1:2.813
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 11.683
And I log in to a new session without activating the Persistent Storage 22.679
Then persistence is disabled 0.402
But a Tails persistence partition exists on USB drive "__internal" 9.449
And all notifications have disappeared 10.651
When I delete the persistent partition 7.557
Then there is no persistence partition on USB drive "__internal" 0.389
After features/support/hooks.rb:326 0.814
After features/support/hooks.rb:100 0.000
Tags: @product
2:27.111
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.705
When I write some dotfile expected to persist 0.104
And I shutdown Tails and wait for the computer to power off 8.924
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.963
Then the expected persistent dotfile is present in the filesystem 0.413
After features/support/hooks.rb:326 0.631
After features/support/hooks.rb:100 0.007
Tags: @product
1:44.687
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.574
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.086
When I try to enable persistence 0.420
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 33.327
When I log in to a new session after having activated the Persistent Storage 42.603
And all notifications have disappeared 8.173
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.775
And all tps features are enabled 2.588
And all tps features but the first one are active 3.136
After features/support/hooks.rb:326 1.205
After features/support/hooks.rb:100 0.000
Tags: @product
6:10.261
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a LUKS 1 persistent partition and stopped at Tails Greeter's login screen 4:46.465
And I enable persistence 33.647
And I log in to a new session after having activated the Persistent Storage 43.696
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.770
And persistence is enabled 3.681
After features/support/hooks.rb:326 1.344
After features/support/hooks.rb:100 0.000
Tags: @product
29.645
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a LUKS 1 persistent partition and stopped at Tails Greeter's login screen 10.489
And I enable persistence but something goes wrong during the LUKS header upgrade 18.491
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.665
After features/support/hooks.rb:326 0.670
After features/support/hooks.rb:100 0.000
Tags: @product
46.458
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.203
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 7.728
When I enable persistence 26.693
Then the filesystem of the Persistent Storage was repaired 0.104
And persistence is successfully enabled 2.728
After features/support/hooks.rb:326 1.283
After features/support/hooks.rb:100 0.000
Tags: @product
47.249
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.114
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.798
When I try to enable persistence 0.385
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 24.161
When I repair the filesystem of the Persistent Storage 2.479
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.455
And the filesystem of the Persistent Storage was repaired 1.070
When I close the filesystem repair dialog 1.241
Then persistence is successfully enabled 1.543
After features/support/hooks.rb:326 0.895
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:50.175
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.842
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.092
When I try to enable persistence 0.264
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.489
When I repair the filesystem of the Persistent Storage 1.229
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.071
When I log in to a new session 42.477
And all notifications have disappeared 9.857
# Now both WhisperBack and Tor Browser has started at the same
# time, so we do not know which window is focused. The steps about
# Tor Browser care about that, but the ones about WhisperBack do
# not, so we first deal with WhisperBack and then kill it to
# ensure that Tor Browser is focused.
Then WhisperBack is prefilled for fsck with summary: "Failed to repair the file system of your Persistent Storage" 0.402
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.641
When I close the "whisperback" window 1.907
Then the Tor Browser starts 14.078
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.820
After features/support/hooks.rb:326 1.821
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:48.264
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.554
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.813
And Tails detects disk read failures on the boot device 1.607
When I try to enable persistence 0.481
Then the Welcome Screen tells me that my hardware is probably failing 18.844
When I log in to a new session 45.226
And all notifications have disappeared 8.749
Then the Tor Browser starts 18.129
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.857
After features/support/hooks.rb:326 1.880
After features/support/hooks.rb:100 0.000