Project Number Date
test_Tails_ISO_20634-greeter-tps-upgrade-failure-fix 13 01 Nov 2024, 18:36

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:40.902 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:23.016
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 1:39.086
And I update APT using apt 13.390
And I install "python3-behave" using apt 26.194
Then the Tails Persistent Storage behave tests pass 4.346
After features/support/hooks.rb:326 0.673
After features/support/hooks.rb:100 0.000
Tags: @product
55.218
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 20.682
When I log in to a new session without activating the Persistent Storage 26.033
Then Tails is running from USB drive "__internal" 0.455
And persistence is disabled 0.280
But a Tails persistence partition exists on USB drive "__internal" 7.767
After features/support/hooks.rb:326 1.017
After features/support/hooks.rb:100 0.000
Tags: @product
3:15.188
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 17.233
Then Tails is running from USB drive "__internal" 0.900
When I create a file in the Persistent directory 0.138
And I create a persistent partition with the default settings 24.193
Then the file I created was copied to the Persistent Storage 0.608
When I shutdown Tails and wait for the computer to power off 12.591
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.703
Then persistence for "Persistent" is active 0.732
And the file I created in the Persistent directory exists 0.085
After features/support/hooks.rb:326 0.931
After features/support/hooks.rb:100 0.027
Tags: @product
1:7.307
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 13.456
And the system is very low on memory 5.619
When I create a file in the Persistent directory 1.473
When I try to create a persistent partition 28.863
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.261
When I close the Persistent Storage app 2.575
And I free up some memory 1.440
And I create a persistent partition with the default settings 13.313
Then the file I created was copied to the Persistent Storage 0.302
After features/support/hooks.rb:326 1.450
After features/support/hooks.rb:100 0.000
Tags: @product
2:56.002
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.093
Then Tails is running from USB drive "__internal" 0.397
And all tps features are active 2.439
And all persistent directories have safe access rights 2.446
When I disable the first tps feature 6.191
Then all tps features but the first one are active 1.927
And I shutdown Tails and wait for the computer to power off 10.638
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.480
Then all tps features but the first one are active 2.387
After features/support/hooks.rb:326 0.684
After features/support/hooks.rb:100 0.009
Tags: @product
22.947
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.049
Then persistence for "Persistent" is active 0.387
And I create a file in the Persistent directory 0.102
Then the file I created was copied to the Persistent Storage 0.118
When I disable the first tps feature 6.617
Then persistence for "Persistent" is not active 0.069
And the Persistent directory does not exist 0.065
When I enable the first tps feature 5.401
Then persistence for "Persistent" is active 0.073
And the file I created in the Persistent directory exists 0.063
After features/support/hooks.rb:326 1.088
After features/support/hooks.rb:100 0.000
Tags: @product
21.016
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.267
Then persistence for "Persistent" is active 0.213
When I create a file in the Persistent directory 0.109
And I disable the first tps feature 6.573
And I delete the data of the Persistent Folder feature 3.790
Then the file I created does not exist on the Persistent Storage 0.061
After features/support/hooks.rb:326 1.014
After features/support/hooks.rb:100 0.000
Tags: @product
1:3.596
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.494
And the network is plugged 0.211
And Tor is ready 18.942
And I take note of which tps features are available 0.764
When I write some files expected to persist 1.566
And I shutdown Tails and wait for the computer to power off 8.511
# 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.105
After features/support/hooks.rb:326 0.139
After features/support/hooks.rb:100 0.000
Tags: @product
3:6.550
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.259
And the network is plugged 0.113
And Tor is ready 16.774
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.189
And I shutdown Tails and wait for the computer to power off 11.240
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.699
And I capture all network traffic 0.005
And the network is plugged 0.089
And Tor is ready 21.630
And I switch to the "persistent-con-current" NetworkManager connection 0.334
And the 1st network device has a spoofed MAC address configured 0.079
And no network device leaked the real MAC address 0.134
After features/support/hooks.rb:326 0.618
After features/support/hooks.rb:100 0.054
Tags: @product
58.667
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 13.391
And I enable persistence creation in Tails Greeter 1.242
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.591
Then I create a persistent partition with the default settings using the wizard that was already open 23.442
After features/support/hooks.rb:326 1.745
After features/support/hooks.rb:100 0.000
Tags: @product
4:45.270
Before features/support/hooks.rb:269 0.013
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 19.938
When I enable persistence 45.329
Then no persistent Greeter options were restored 14.310
When I set all Greeter options to non-default values 25.726
And I log in to a new session in German (de) after having activated the Persistent Storage 52.847
Then all Greeter options are set to non-default values 0.340
When I cold reboot the computer 7.582
And the computer reboots Tails 59.266
Given I enable persistence 18.655
Then persistent Greeter options were restored 0.679
When I log in to a new session after having activated the Persistent Storage 40.267
Then all Greeter options are set to non-default values 0.324
After features/support/hooks.rb:326 1.133
After features/support/hooks.rb:100 0.007
Tags: @product
4:15.131
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 9.899
# 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 52.891
And I shutdown Tails and wait for the computer to power off 12.659
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:20.142
And I change the passphrase of the Persistent Storage back to the original 39.538
After features/support/hooks.rb:326 1.901
After features/support/hooks.rb:100 0.009
Tags: @product
56.880
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 11.851
And I log in to a new session without activating the Persistent Storage 21.821
Then persistence is disabled 0.246
But a Tails persistence partition exists on USB drive "__internal" 8.682
And all notifications have disappeared 7.815
When I delete the persistent partition 6.133
Then there is no persistence partition on USB drive "__internal" 0.329
After features/support/hooks.rb:326 0.993
After features/support/hooks.rb:100 0.000
Tags: @product
2:29.712
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.444
When I write some dotfile expected to persist 0.077
And I shutdown Tails and wait for the computer to power off 9.038
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.802
Then the expected persistent dotfile is present in the filesystem 0.349
After features/support/hooks.rb:326 0.676
After features/support/hooks.rb:100 0.035
Tags: @product
1:45.844
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.672
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.097
When I try to enable persistence 0.317
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 32.791
When I log in to a new session after having activated the Persistent Storage 43.905
And all notifications have disappeared 10.002
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.164
And all tps features are enabled 2.655
And all tps features but the first one are active 2.237
After features/support/hooks.rb:326 1.126
After features/support/hooks.rb:100 0.000
Tags: @product
6:4.678
Before features/support/hooks.rb:269 0.007
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:42.309
And I enable persistence 32.049
And I log in to a new session after having activated the Persistent Storage 42.675
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.601
And persistence is enabled 5.041
After features/support/hooks.rb:326 1.243
After features/support/hooks.rb:100 0.000
Tags: @product
32.617
Before features/support/hooks.rb:269 0.007
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 9.175
And I enable persistence but something goes wrong during the LUKS header upgrade 22.672
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.769
After features/support/hooks.rb:326 0.829
After features/support/hooks.rb:100 0.000
Tags: @product
49.604
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.477
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.116
When I enable persistence 32.132
Then the filesystem of the Persistent Storage was repaired 0.095
And persistence is successfully enabled 2.782
After features/support/hooks.rb:326 1.238
After features/support/hooks.rb:100 0.000
Tags: @product
46.304
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.900
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.317
When I try to enable persistence 0.477
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 23.065
When I repair the filesystem of the Persistent Storage 1.932
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.501
And the filesystem of the Persistent Storage was repaired 1.331
When I close the filesystem repair dialog 1.257
Then persistence is successfully enabled 1.520
After features/support/hooks.rb:326 1.046
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:46.789
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.403
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.108
When I try to enable persistence 0.269
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.427
When I repair the filesystem of the Persistent Storage 1.219
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.095
When I log in to a new session 41.586
And all notifications have disappeared 8.280
# 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.592
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.285
When I close the "whisperback" window 1.647
Then the Tor Browser starts 16.101
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.770
After features/support/hooks.rb:326 1.844
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:58.554
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.813
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 14.344
And Tails detects disk read failures on the boot device 1.635
When I try to enable persistence 0.412
Then the Welcome Screen tells me that my hardware is probably failing 18.572
When I log in to a new session 46.304
And all notifications have disappeared 8.496
Then the Tor Browser starts 19.111
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.862
After features/support/hooks.rb:326 1.489
After features/support/hooks.rb:100 0.000