Project Number Date
test_Tails_ISO_stable 5178 12 Oct 2024, 12:38

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 40:50.956 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:23.020
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.074
And I update APT using apt 15.313
And I install "python3-behave" using apt 25.698
Then the Tails Persistent Storage behave tests pass 2.933
After features/support/hooks.rb:326 0.738
After features/support/hooks.rb:100 0.000
Tags: @product
45.518
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 12.032
When I log in to a new session without activating the Persistent Storage 24.081
Then Tails is running from USB drive "__internal" 0.416
And persistence is disabled 0.319
But a Tails persistence partition exists on USB drive "__internal" 8.668
After features/support/hooks.rb:326 2.529
After features/support/hooks.rb:100 0.000
Tags: @product
3:10.150
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 14.130
Then Tails is running from USB drive "__internal" 2.126
When I create a file in the Persistent directory 0.176
And I create a persistent partition with the default settings 24.294
Then the file I created was copied to the Persistent Storage 0.465
When I shutdown Tails and wait for the computer to power off 12.647
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.249
Then persistence for "Persistent" is active 0.963
And the file I created in the Persistent directory exists 0.097
After features/support/hooks.rb:326 0.711
After features/support/hooks.rb:100 0.012
Tags: @product
1:2.996
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.853
And the system is very low on memory 5.167
When I create a file in the Persistent directory 2.277
When I try to create a persistent partition 25.472
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.138
When I close the Persistent Storage app 2.853
And I free up some memory 1.360
And I create a persistent partition with the default settings 13.632
Then the file I created was copied to the Persistent Storage 0.241
After features/support/hooks.rb:326 1.695
After features/support/hooks.rb:100 0.000
Tags: @product
2:51.407
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 13.835
Then Tails is running from USB drive "__internal" 0.528
And all tps features are active 2.499
And all persistent directories have safe access rights 2.598
When I disable the first tps feature 6.685
Then all tps features but the first one are active 2.211
And I shutdown Tails and wait for the computer to power off 10.792
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.928
Then all tps features but the first one are active 2.326
After features/support/hooks.rb:326 0.994
After features/support/hooks.rb:100 0.011
Tags: @product
20.154
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 9.864
Then persistence for "Persistent" is active 0.100
And I create a file in the Persistent directory 0.072
Then the file I created was copied to the Persistent Storage 0.075
When I disable the first tps feature 6.289
Then persistence for "Persistent" is not active 0.117
And the Persistent directory does not exist 0.073
When I enable the first tps feature 3.390
Then persistence for "Persistent" is active 0.096
And the file I created in the Persistent directory exists 0.074
After features/support/hooks.rb:326 1.220
After features/support/hooks.rb:100 0.000
Tags: @product
20.935
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.631
Then persistence for "Persistent" is active 0.108
When I create a file in the Persistent directory 0.072
And I disable the first tps feature 6.179
And I delete the data of the Persistent Folder feature 3.877
Then the file I created does not exist on the Persistent Storage 0.065
After features/support/hooks.rb:326 1.402
After features/support/hooks.rb:100 0.000
Tags: @product
1:12.705
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 9.154
And the network is plugged 0.069
And Tor is ready 24.976
And I take note of which tps features are available 0.674
When I write some files expected to persist 1.530
And I shutdown Tails and wait for the computer to power off 10.711
# 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" 25.587
After features/support/hooks.rb:326 0.100
After features/support/hooks.rb:100 0.000
Tags: @product
3:12.163
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.861
And the network is plugged 0.096
And Tor is ready 18.534
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.700
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.335
And I capture all network traffic 0.015
And the network is plugged 0.074
And Tor is ready 21.790
And I switch to the "persistent-con-current" NetworkManager connection 0.315
And the 1st network device has a spoofed MAC address configured 0.091
And no network device leaked the real MAC address 0.136
After features/support/hooks.rb:326 0.617
After features/support/hooks.rb:100 0.057
Tags: @product
1:2.845
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.004
And I enable persistence creation in Tails Greeter 1.774
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.248
Then I create a persistent partition with the default settings using the wizard that was already open 25.817
After features/support/hooks.rb:326 1.695
After features/support/hooks.rb:100 0.000
Tags: @product
5:1.237
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 12.567
When I enable persistence 40.424
Then no persistent Greeter options were restored 14.462
When I set all Greeter options to non-default values 25.801
And I log in to a new session in German (de) after having activated the Persistent Storage 52.723
Then all Greeter options are set to non-default values 0.532
When I cold reboot the computer 7.608
And the computer reboots Tails 1:1.394
Given I enable persistence 32.181
Then persistent Greeter options were restored 15.098
When I log in to a new session after having activated the Persistent Storage 37.770
Then all Greeter options are set to non-default values 0.670
After features/support/hooks.rb:326 1.133
After features/support/hooks.rb:100 0.009
Tags: @product
3:54.014
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.947
# 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 32.910
And I shutdown Tails and wait for the computer to power off 14.999
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:12.320
And I change the passphrase of the Persistent Storage back to the original 43.836
After features/support/hooks.rb:326 1.556
After features/support/hooks.rb:100 0.011
Tags: @product
1:13.435
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 11.293
And I log in to a new session without activating the Persistent Storage 28.429
Then persistence is disabled 0.903
But a Tails persistence partition exists on USB drive "__internal" 15.567
And all notifications have disappeared 10.651
When I delete the persistent partition 6.360
Then there is no persistence partition on USB drive "__internal" 0.230
After features/support/hooks.rb:326 0.846
After features/support/hooks.rb:100 0.000
Tags: @product
2:29.551
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 9.851
When I write some dotfile expected to persist 0.081
And I shutdown Tails and wait for the computer to power off 8.732
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.484
Then the expected persistent dotfile is present in the filesystem 0.400
After features/support/hooks.rb:326 0.708
After features/support/hooks.rb:100 0.008
Tags: @product
1:35.961
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 11.014
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.090
When I try to enable persistence 0.367
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 33.738
When I log in to a new session after having activated the Persistent Storage 33.538
And all notifications have disappeared 7.941
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.271
And all tps features are enabled 2.482
And all tps features but the first one are active 2.516
After features/support/hooks.rb:326 0.903
After features/support/hooks.rb:100 0.000
Tags: @product
5:19.981
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 3:50.555
And I enable persistence 39.071
And I log in to a new session after having activated the Persistent Storage 48.274
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.986
And persistence is enabled 0.094
After features/support/hooks.rb:326 1.334
After features/support/hooks.rb:100 0.000
Tags: @product
31.719
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 10.433
And I enable persistence but something goes wrong during the LUKS header upgrade 20.455
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.830
After features/support/hooks.rb:326 0.741
After features/support/hooks.rb:100 0.000
Tags: @product
45.347
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 10.103
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.492
When I enable persistence 28.266
Then the filesystem of the Persistent Storage was repaired 0.107
And persistence is successfully enabled 0.378
After features/support/hooks.rb:326 0.949
After features/support/hooks.rb:100 0.000
Tags: @product
27.379
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.877
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.081
When I try to enable persistence 1.743
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 7.252
When I repair the filesystem of the Persistent Storage 1.212
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.244
And the filesystem of the Persistent Storage was repaired 0.322
When I close the filesystem repair dialog 1.229
Then persistence is successfully enabled 0.416
After features/support/hooks.rb:326 0.751
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:55.690
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 8.675
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.112
When I try to enable persistence 0.288
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 39.061
When I repair the filesystem of the Persistent Storage 1.740
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.080
When I log in to a new session 37.497
And all notifications have disappeared 7.904
# 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.871
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.182
When I close the "whisperback" window 1.485
Then the Tor Browser starts 16.983
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.807
After features/support/hooks.rb:326 1.822
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:14.740
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.269
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.844
And Tails detects disk read failures on the boot device 1.628
When I try to enable persistence 0.425
Then the Welcome Screen tells me that my hardware is probably failing 5.942
When I log in to a new session 21.436
And all notifications have disappeared 8.971
Then the Tor Browser starts 19.489
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.731
After features/support/hooks.rb:326 1.906
After features/support/hooks.rb:100 0.000