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

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 41:48.371 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:20.852
Before features/support/hooks.rb:269 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:36.771
And I update APT using apt 14.747
And I install "python3-behave" using apt 25.899
Then the Tails Persistent Storage behave tests pass 3.434
After features/support/hooks.rb:326 0.680
After features/support/hooks.rb:100 0.000
Tags: @product
49.275
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 15.586
When I log in to a new session without activating the Persistent Storage 25.700
Then Tails is running from USB drive "__internal" 0.494
And persistence is disabled 0.413
But a Tails persistence partition exists on USB drive "__internal" 7.079
After features/support/hooks.rb:326 1.021
After features/support/hooks.rb:100 0.000
Tags: @product
3:7.247
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 15.475
Then Tails is running from USB drive "__internal" 1.699
When I create a file in the Persistent directory 0.192
And I create a persistent partition with the default settings 25.356
Then the file I created was copied to the Persistent Storage 0.629
When I shutdown Tails and wait for the computer to power off 15.360
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.641
Then persistence for "Persistent" is active 0.812
And the file I created in the Persistent directory exists 0.080
After features/support/hooks.rb:326 1.123
After features/support/hooks.rb:100 0.010
Tags: @product
1:0.969
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive without a persistent partition and logged in 10.980
And the system is very low on memory 6.062
When I create a file in the Persistent directory 1.251
When I try to create a persistent partition 24.251
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.420
When I close the Persistent Storage app 2.619
And I free up some memory 1.644
And I create a persistent partition with the default settings 13.500
Then the file I created was copied to the Persistent Storage 0.238
After features/support/hooks.rb:326 1.391
After features/support/hooks.rb:100 0.000
Tags: @product
2:59.542
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 14.414
Then Tails is running from USB drive "__internal" 0.568
And all tps features are active 2.455
And all persistent directories have safe access rights 3.006
When I disable the first tps feature 6.049
Then all tps features but the first one are active 2.182
And I shutdown Tails and wait for the computer to power off 10.959
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.649
Then all tps features but the first one are active 2.257
After features/support/hooks.rb:326 0.677
After features/support/hooks.rb:100 0.008
Tags: @product
19.426
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.331
Then persistence for "Persistent" is active 0.101
And I create a file in the Persistent directory 0.098
Then the file I created was copied to the Persistent Storage 0.077
When I disable the first tps feature 5.522
Then persistence for "Persistent" is not active 0.070
And the Persistent directory does not exist 0.050
When I enable the first tps feature 4.000
Then persistence for "Persistent" is active 0.091
And the file I created in the Persistent directory exists 0.082
After features/support/hooks.rb:326 0.840
After features/support/hooks.rb:100 0.000
Tags: @product
19.549
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.144
Then persistence for "Persistent" is active 0.265
When I create a file in the Persistent directory 0.097
And I disable the first tps feature 5.648
And I delete the data of the Persistent Folder feature 4.322
Then the file I created does not exist on the Persistent Storage 0.069
After features/support/hooks.rb:326 0.945
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.436
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.329
And the network is plugged 0.076
And Tor is ready 21.213
And I take note of which tps features are available 0.593
When I write some files expected to persist 1.591
And I shutdown Tails and wait for the computer to power off 8.849
# 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.783
After features/support/hooks.rb:326 0.093
After features/support/hooks.rb:100 0.000
Tags: @product
3:33.515
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.111
And the network is plugged 0.117
And Tor is ready 19.809
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.178
And I shutdown Tails and wait for the computer to power off 10.720
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:3.221
And I capture all network traffic 0.005
And the network is plugged 0.085
And Tor is ready 49.579
And I switch to the "persistent-con-current" NetworkManager connection 0.362
And the 1st network device has a spoofed MAC address configured 0.115
And no network device leaked the real MAC address 0.208
After features/support/hooks.rb:326 0.880
After features/support/hooks.rb:100 0.051
Tags: @product
56.794
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 13.280
And I enable persistence creation in Tails Greeter 1.116
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.571
Then I create a persistent partition with the default settings using the wizard that was already open 21.826
After features/support/hooks.rb:326 2.866
After features/support/hooks.rb:100 0.000
Tags: @product
4:24.436
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 12.850
When I enable persistence 40.668
Then no persistent Greeter options were restored 14.389
When I set all Greeter options to non-default values 25.486
And I log in to a new session in German (de) after having activated the Persistent Storage 42.825
Then all Greeter options are set to non-default values 0.671
When I cold reboot the computer 9.756
And the computer reboots Tails 1:0.243
Given I enable persistence 19.782
Then persistent Greeter options were restored 0.556
When I log in to a new session after having activated the Persistent Storage 36.827
Then all Greeter options are set to non-default values 0.376
After features/support/hooks.rb:326 1.000
After features/support/hooks.rb:100 0.007
Tags: @product
4:2.469
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.059
# 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 45.341
And I shutdown Tails and wait for the computer to power off 10.427
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:23.003
And I change the passphrase of the Persistent Storage back to the original 33.638
After features/support/hooks.rb:326 2.086
After features/support/hooks.rb:100 0.009
Tags: @product
59.169
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 10.900
And I log in to a new session without activating the Persistent Storage 20.230
Then persistence is disabled 0.342
But a Tails persistence partition exists on USB drive "__internal" 9.461
And all notifications have disappeared 10.700
When I delete the persistent partition 7.091
Then there is no persistence partition on USB drive "__internal" 0.441
After features/support/hooks.rb:326 0.913
After features/support/hooks.rb:100 0.000
Tags: @product
2:26.078
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.422
When I write some dotfile expected to persist 0.064
And I shutdown Tails and wait for the computer to power off 9.228
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.948
Then the expected persistent dotfile is present in the filesystem 0.415
After features/support/hooks.rb:326 0.862
After features/support/hooks.rb:100 0.009
Tags: @product
1:39.746
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.678
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.082
When I try to enable persistence 1.350
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.112
When I log in to a new session after having activated the Persistent Storage 40.049
And all notifications have disappeared 8.055
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.206
And all tps features are enabled 3.063
And all tps features but the first one are active 2.145
After features/support/hooks.rb:326 1.165
After features/support/hooks.rb:100 0.000
Tags: @product
5:53.409
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:30.300
And I enable persistence 35.226
And I log in to a new session after having activated the Persistent Storage 41.801
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.730
And persistence is enabled 3.350
After features/support/hooks.rb:326 1.714
After features/support/hooks.rb:100 0.000
Tags: @product
31.374
Before features/support/hooks.rb:269 0.009
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.005
And I enable persistence but something goes wrong during the LUKS header upgrade 21.607
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.761
After features/support/hooks.rb:326 0.723
After features/support/hooks.rb:100 0.000
Tags: @product
45.729
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.530
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.655
When I enable persistence 28.790
Then the filesystem of the Persistent Storage was repaired 0.094
And persistence is successfully enabled 2.658
After features/support/hooks.rb:326 2.235
After features/support/hooks.rb:100 0.000
Tags: @product
51.195
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 I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.762
When I try to enable persistence 0.406
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.846
When I repair the filesystem of the Persistent Storage 1.290
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.569
And the filesystem of the Persistent Storage was repaired 1.476
When I close the filesystem repair dialog 1.406
Then persistence is successfully enabled 1.594
After features/support/hooks.rb:326 2.011
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:41.649
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.941
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.153
When I try to enable persistence 0.271
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.891
When I repair the filesystem of the Persistent Storage 1.260
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 3.889
When I log in to a new session 31.018
And all notifications have disappeared 8.828
# 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" 1.337
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.609
When I close the "whisperback" window 1.529
Then the Tor Browser starts 14.184
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.733
After features/support/hooks.rb:326 1.563
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:59.501
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.707
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.044
And Tails detects disk read failures on the boot device 1.797
When I try to enable persistence 0.401
Then the Welcome Screen tells me that my hardware is probably failing 24.725
When I log in to a new session 51.160
And all notifications have disappeared 9.504
Then the Tor Browser starts 14.310
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.849
After features/support/hooks.rb:326 1.898
After features/support/hooks.rb:100 0.000