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

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:53.537 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:19.262
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:37.051
And I update APT using apt 14.365
And I install "python3-behave" using apt 25.750
Then the Tails Persistent Storage behave tests pass 2.094
After features/support/hooks.rb:326 0.898
After features/support/hooks.rb:100 0.000
Tags: @product
59.913
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 16.506
When I log in to a new session without activating the Persistent Storage 27.422
Then Tails is running from USB drive "__internal" 0.595
And persistence is disabled 0.438
But a Tails persistence partition exists on USB drive "__internal" 14.950
After features/support/hooks.rb:326 1.438
After features/support/hooks.rb:100 0.000
Tags: @product
3:17.368
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 12.392
Then Tails is running from USB drive "__internal" 0.807
When I create a file in the Persistent directory 0.176
And I create a persistent partition with the default settings 23.983
Then the file I created was copied to the Persistent Storage 0.580
When I shutdown Tails and wait for the computer to power off 17.136
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:21.958
Then persistence for "Persistent" is active 0.272
And the file I created in the Persistent directory exists 0.060
After features/support/hooks.rb:326 0.829
After features/support/hooks.rb:100 0.009
Tags: @product
1:3.400
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.682
And the system is very low on memory 5.665
When I create a file in the Persistent directory 1.434
When I try to create a persistent partition 25.714
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.933
When I close the Persistent Storage app 2.736
And I free up some memory 1.676
And I create a persistent partition with the default settings 13.284
Then the file I created was copied to the Persistent Storage 0.271
After features/support/hooks.rb:326 1.568
After features/support/hooks.rb:100 0.000
Tags: @product
2:53.510
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 12.344
Then Tails is running from USB drive "__internal" 0.513
And all tps features are active 2.436
And all persistent directories have safe access rights 2.584
When I disable the first tps feature 7.069
Then all tps features but the first one are active 2.124
And I shutdown Tails and wait for the computer to power off 11.022
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.868
Then all tps features but the first one are active 2.546
After features/support/hooks.rb:326 1.088
After features/support/hooks.rb:100 0.010
Tags: @product
21.884
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 11.060
Then persistence for "Persistent" is active 0.253
And I create a file in the Persistent directory 0.139
Then the file I created was copied to the Persistent Storage 0.133
When I disable the first tps feature 6.774
Then persistence for "Persistent" is not active 0.120
And the Persistent directory does not exist 0.081
When I enable the first tps feature 3.160
Then persistence for "Persistent" is active 0.079
And the file I created in the Persistent directory exists 0.080
After features/support/hooks.rb:326 0.801
After features/support/hooks.rb:100 0.000
Tags: @product
21.762
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.278
Then persistence for "Persistent" is active 0.108
When I create a file in the Persistent directory 0.078
And I disable the first tps feature 7.183
And I delete the data of the Persistent Folder feature 4.047
Then the file I created does not exist on the Persistent Storage 0.066
After features/support/hooks.rb:326 0.925
After features/support/hooks.rb:100 0.000
Tags: @product
1:13.143
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 11.202
And the network is plugged 0.150
And Tor is ready 26.038
And I take note of which tps features are available 0.607
When I write some files expected to persist 1.386
And I shutdown Tails and wait for the computer to power off 9.173
# 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.583
After features/support/hooks.rb:326 0.132
After features/support/hooks.rb:100 0.000
Tags: @product
3:14.195
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.856
And the network is plugged 0.108
And Tor is ready 23.180
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.212
And I shutdown Tails and wait for the computer to power off 8.784
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.820
And I capture all network traffic 0.015
And the network is plugged 0.087
And Tor is ready 23.504
And I switch to the "persistent-con-current" NetworkManager connection 0.352
And the 1st network device has a spoofed MAC address configured 0.119
And no network device leaked the real MAC address 0.152
After features/support/hooks.rb:326 0.709
After features/support/hooks.rb:100 0.055
Tags: @product
1:17.007
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 28.531
And I enable persistence creation in Tails Greeter 1.154
And I log in to a new session expecting no warning about the Persistent Storage not being activated 25.370
Then I create a persistent partition with the default settings using the wizard that was already open 21.950
After features/support/hooks.rb:326 2.096
After features/support/hooks.rb:100 0.000
Tags: @product
4:26.239
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 13.000
When I enable persistence 39.266
Then no persistent Greeter options were restored 14.142
When I set all Greeter options to non-default values 25.572
And I log in to a new session in German (de) after having activated the Persistent Storage 46.965
Then all Greeter options are set to non-default values 0.406
When I cold reboot the computer 7.248
And the computer reboots Tails 59.917
Given I enable persistence 19.697
Then persistent Greeter options were restored 0.592
When I log in to a new session after having activated the Persistent Storage 38.857
Then all Greeter options are set to non-default values 0.571
After features/support/hooks.rb:326 1.223
After features/support/hooks.rb:100 0.010
Tags: @product
3:55.202
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 12.260
# 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 35.046
And I shutdown Tails and wait for the computer to power off 12.733
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:17.116
And I change the passphrase of the Persistent Storage back to the original 38.045
After features/support/hooks.rb:326 1.908
After features/support/hooks.rb:100 0.008
Tags: @product
1:0.997
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.877
And I log in to a new session without activating the Persistent Storage 22.030
Then persistence is disabled 0.345
But a Tails persistence partition exists on USB drive "__internal" 10.441
And all notifications have disappeared 9.542
When I delete the persistent partition 7.250
Then there is no persistence partition on USB drive "__internal" 0.509
After features/support/hooks.rb:326 1.014
After features/support/hooks.rb:100 0.000
Tags: @product
2:32.502
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.395
When I write some dotfile expected to persist 0.405
And I shutdown Tails and wait for the computer to power off 11.112
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.121
Then the expected persistent dotfile is present in the filesystem 0.467
After features/support/hooks.rb:326 0.796
After features/support/hooks.rb:100 0.021
Tags: @product
1:48.296
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.894
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.105
When I try to enable persistence 0.276
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 34.912
When I log in to a new session after having activated the Persistent Storage 44.806
And all notifications have disappeared 9.651
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.005
And all tps features are enabled 2.595
And all tps features but the first one are active 2.049
After features/support/hooks.rb:326 1.175
After features/support/hooks.rb:100 0.000
Tags: @product
6:3.314
Before features/support/hooks.rb:269 0.006
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:28.209
And I enable persistence 42.612
And I log in to a new session after having activated the Persistent Storage 47.327
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.955
And persistence is enabled 3.209
After features/support/hooks.rb:326 1.038
After features/support/hooks.rb:100 0.000
Tags: @product
30.575
Before features/support/hooks.rb:269 0.005
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.047
And I enable persistence but something goes wrong during the LUKS header upgrade 20.721
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.806
After features/support/hooks.rb:326 0.797
After features/support/hooks.rb:100 0.000
Tags: @product
48.119
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.561
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.046
When I enable persistence 29.590
Then the filesystem of the Persistent Storage was repaired 0.085
And persistence is successfully enabled 2.835
After features/support/hooks.rb:326 1.540
After features/support/hooks.rb:100 0.000
Tags: @product
49.616
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.742
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.708
When I try to enable persistence 0.403
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 23.156
When I repair the filesystem of the Persistent Storage 2.461
Then the Welcome Screen tells me that the filesystem was repaired successfully 4.736
And the filesystem of the Persistent Storage was repaired 1.570
When I close the filesystem repair dialog 1.311
Then persistence is successfully enabled 1.526
After features/support/hooks.rb:326 1.211
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:0.026
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 23.768
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.139
When I try to enable persistence 1.379
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.078
When I repair the filesystem of the Persistent Storage 2.761
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.071
When I log in to a new session 37.187
And all notifications have disappeared 7.602
# 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.685
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.349
When I close the "whisperback" window 1.435
Then the Tor Browser starts 16.787
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.777
After features/support/hooks.rb:326 1.902
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:57.197
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.198
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.962
And Tails detects disk read failures on the boot device 1.561
When I try to enable persistence 0.467
Then the Welcome Screen tells me that my hardware is probably failing 19.152
When I log in to a new session 50.159
And all notifications have disappeared 7.591
Then the Tor Browser starts 19.295
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.809
After features/support/hooks.rb:326 2.750
After features/support/hooks.rb:100 0.000