Project Number Date
test_Tails_ISO_feature-arti 14 29 Nov 2024, 16:24

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:44.002 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:40.896
Before features/support/hooks.rb:269 0.015
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:57.621
And I update APT using apt 14.052
And I install "python3-behave" using apt 25.539
Then the Tails Persistent Storage behave tests pass 3.683
After features/support/hooks.rb:326 0.672
After features/support/hooks.rb:100 0.000
Tags: @product
51.957
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 15.411
When I log in to a new session without activating the Persistent Storage 27.325
Then Tails is running from USB drive "__internal" 0.775
And persistence is disabled 0.308
But a Tails persistence partition exists on USB drive "__internal" 8.137
After features/support/hooks.rb:326 1.048
After features/support/hooks.rb:100 0.000
Tags: @product
3:9.157
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 15.228
Then Tails is running from USB drive "__internal" 0.429
When I create a file in the Persistent directory 0.132
And I create a persistent partition with the default settings 23.435
Then the file I created was copied to the Persistent Storage 0.754
When I shutdown Tails and wait for the computer to power off 12.942
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.798
Then persistence for "Persistent" is active 1.349
And the file I created in the Persistent directory exists 0.087
After features/support/hooks.rb:326 0.776
After features/support/hooks.rb:100 0.011
Tags: @product
1:4.789
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 10.891
And the system is very low on memory 6.027
When I create a file in the Persistent directory 1.415
When I try to create a persistent partition 26.018
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.262
When I close the Persistent Storage app 2.664
And I free up some memory 2.288
And I create a persistent partition with the default settings 14.922
Then the file I created was copied to the Persistent Storage 0.298
After features/support/hooks.rb:326 1.416
After features/support/hooks.rb:100 0.000
Tags: @product
3:1.825
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.832
Then Tails is running from USB drive "__internal" 0.678
And all tps features are active 2.664
And all persistent directories have safe access rights 3.448
When I disable the first tps feature 6.934
Then all tps features but the first one are active 2.504
And I shutdown Tails and wait for the computer to power off 13.272
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.727
Then all tps features but the first one are active 2.763
After features/support/hooks.rb:326 0.814
After features/support/hooks.rb:100 0.013
Tags: @product
23.744
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.468
Then persistence for "Persistent" is active 0.126
And I create a file in the Persistent directory 0.105
Then the file I created was copied to the Persistent Storage 0.108
When I disable the first tps feature 6.505
Then persistence for "Persistent" is not active 0.121
And the Persistent directory does not exist 0.067
When I enable the first tps feature 4.056
Then persistence for "Persistent" is active 0.097
And the file I created in the Persistent directory exists 0.088
After features/support/hooks.rb:326 1.204
After features/support/hooks.rb:100 0.000
Tags: @product
23.086
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.397
Then persistence for "Persistent" is active 0.296
When I create a file in the Persistent directory 0.097
And I disable the first tps feature 6.837
And I delete the data of the Persistent Folder feature 4.387
Then the file I created does not exist on the Persistent Storage 0.069
After features/support/hooks.rb:326 1.004
After features/support/hooks.rb:100 0.000
Tags: @product
1:13.102
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.960
And the network is plugged 0.101
And Tor is ready 21.313
And I take note of which tps features are available 0.651
When I write some files expected to persist 1.595
And I shutdown Tails and wait for the computer to power off 13.340
# 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.139
After features/support/hooks.rb:326 0.120
After features/support/hooks.rb:100 0.000
Tags: @product
3:19.212
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.327
And the network is plugged 0.090
And Tor is ready 20.199
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.533
And I shutdown Tails and wait for the computer to power off 11.564
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.897
And I capture all network traffic 0.008
And the network is plugged 0.093
And Tor is ready 19.854
And I switch to the "persistent-con-current" NetworkManager connection 0.383
And the 1st network device has a spoofed MAC address configured 0.085
And no network device leaked the real MAC address 0.174
After features/support/hooks.rb:326 0.636
After features/support/hooks.rb:100 0.048
Tags: @product
1:7.086
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 16.433
And I enable persistence creation in Tails Greeter 1.109
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.184
Then I create a persistent partition with the default settings using the wizard that was already open 25.359
After features/support/hooks.rb:326 1.831
After features/support/hooks.rb:100 0.000
Tags: @product
5:7.857
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 13.430
When I enable persistence 46.505
Then no persistent Greeter options were restored 14.335
When I set all Greeter options to non-default values 32.717
And I log in to a new session in German (de) after having activated the Persistent Storage 58.732
Then all Greeter options are set to non-default values 0.530
When I cold reboot the computer 10.461
And the computer reboots Tails 1:8.592
Given I enable persistence 20.261
Then persistent Greeter options were restored 0.613
When I log in to a new session after having activated the Persistent Storage 41.233
Then all Greeter options are set to non-default values 0.444
After features/support/hooks.rb:326 1.078
After features/support/hooks.rb:100 0.010
Tags: @product
3:51.254
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.406
# 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 36.915
And I shutdown Tails and wait for the computer to power off 13.308
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:17.388
And I change the passphrase of the Persistent Storage back to the original 33.235
After features/support/hooks.rb:326 2.202
After features/support/hooks.rb:100 0.011
Tags: @product
1:7.286
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 17.147
And I log in to a new session without activating the Persistent Storage 22.120
Then persistence is disabled 0.330
But a Tails persistence partition exists on USB drive "__internal" 8.657
And all notifications have disappeared 10.347
When I delete the persistent partition 8.219
Then there is no persistence partition on USB drive "__internal" 0.463
After features/support/hooks.rb:326 0.979
After features/support/hooks.rb:100 0.000
Tags: @product
2:43.367
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.533
When I write some dotfile expected to persist 0.077
And I shutdown Tails and wait for the computer to power off 13.160
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.177
Then the expected persistent dotfile is present in the filesystem 0.418
After features/support/hooks.rb:326 0.964
After features/support/hooks.rb:100 0.015
Tags: @product
1:54.398
Before features/support/hooks.rb:269 0.015
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.039
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.086
When I try to enable persistence 0.268
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 37.479
When I log in to a new session after having activated the Persistent Storage 47.797
And all notifications have disappeared 9.978
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.003
And all tps features are enabled 2.509
And all tps features but the first one are active 2.235
After features/support/hooks.rb:326 1.247
After features/support/hooks.rb:100 0.000
Tags: @product
5:13.899
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 3:41.219
And I enable persistence 40.787
And I log in to a new session after having activated the Persistent Storage 45.855
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.997
And persistence is enabled 4.038
After features/support/hooks.rb:326 1.295
After features/support/hooks.rb:100 0.000
Tags: @product
32.895
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 9.020
And I enable persistence but something goes wrong during the LUKS header upgrade 23.139
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.736
After features/support/hooks.rb:326 0.761
After features/support/hooks.rb:100 0.000
Tags: @product
1:2.915
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.383
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.313
When I enable persistence 37.701
Then the filesystem of the Persistent Storage was repaired 0.159
And persistence is successfully enabled 9.358
After features/support/hooks.rb:326 1.288
After features/support/hooks.rb:100 0.000
Tags: @product
31.874
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 12.180
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.613
When I try to enable persistence 0.475
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 7.325
When I repair the filesystem of the Persistent Storage 1.255
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.196
And the filesystem of the Persistent Storage was repaired 0.058
When I close the filesystem repair dialog 1.245
Then persistence is successfully enabled 1.523
After features/support/hooks.rb:326 0.806
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:8.089
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 23.042
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.106
When I try to enable persistence 0.295
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 36.440
When I repair the filesystem of the Persistent Storage 1.303
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.121
When I log in to a new session 41.727
And all notifications have disappeared 9.437
# 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.578
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.556
When I close the "whisperback" window 2.600
Then the Tor Browser starts 10.889
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.990
After features/support/hooks.rb:326 3.341
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:15.303
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 9.908
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.629
And Tails detects disk read failures on the boot device 0.523
When I try to enable persistence 0.409
Then the Welcome Screen tells me that my hardware is probably failing 6.019
When I log in to a new session 22.506
And all notifications have disappeared 7.763
Then the Tor Browser starts 21.587
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.954
After features/support/hooks.rb:326 1.500
After features/support/hooks.rb:100 0.000