Project Number Date
test_Tails_ISO_feature-arti 33 18 Dec 2024, 16: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 53:19.722 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:35.470
Before features/support/hooks.rb:269 0.007
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:51.378
And I update APT using apt 14.962
And I install "python3-behave" using apt 26.052
Then the Tails Persistent Storage behave tests pass 3.078
After features/support/hooks.rb:326 1.017
After features/support/hooks.rb:100 0.000
Tags: @product
1:24.572
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 44.439
When I log in to a new session without activating the Persistent Storage 29.632
Then Tails is running from USB drive "__internal" 0.678
And persistence is disabled 0.482
But a Tails persistence partition exists on USB drive "__internal" 9.339
After features/support/hooks.rb:326 1.825
After features/support/hooks.rb:100 0.000
Tags: @product
4:27.953
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 28.167
Then Tails is running from USB drive "__internal" 0.518
When I create a file in the Persistent directory 0.122
And I create a persistent partition with the default settings 35.294
Then the file I created was copied to the Persistent Storage 0.556
When I shutdown Tails and wait for the computer to power off 16.060
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:6.006
Then persistence for "Persistent" is active 1.162
And the file I created in the Persistent directory exists 0.064
After features/support/hooks.rb:326 1.068
After features/support/hooks.rb:100 0.009
Tags: @product
1:3.508
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 15.014
And the system is very low on memory 4.510
When I create a file in the Persistent directory 1.360
When I try to create a persistent partition 23.853
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.407
When I close the Persistent Storage app 2.625
And I free up some memory 1.705
And I create a persistent partition with the default settings 13.733
Then the file I created was copied to the Persistent Storage 0.296
After features/support/hooks.rb:326 1.439
After features/support/hooks.rb:100 0.000
Tags: @product
3:23.871
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 14.184
Then Tails is running from USB drive "__internal" 0.377
And all tps features are active 2.680
And all persistent directories have safe access rights 2.708
When I disable the first tps feature 5.829
Then all tps features but the first one are active 2.590
And I shutdown Tails and wait for the computer to power off 15.546
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:37.276
Then all tps features but the first one are active 2.675
After features/support/hooks.rb:326 0.998
After features/support/hooks.rb:100 0.012
Tags: @product
21.277
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.908
Then persistence for "Persistent" is active 0.155
And I create a file in the Persistent directory 0.090
Then the file I created was copied to the Persistent Storage 0.124
When I disable the first tps feature 6.458
Then persistence for "Persistent" is not active 0.086
And the Persistent directory does not exist 0.072
When I enable the first tps feature 3.192
Then persistence for "Persistent" is active 0.079
And the file I created in the Persistent directory exists 0.109
After features/support/hooks.rb:326 0.953
After features/support/hooks.rb:100 0.000
Tags: @product
21.245
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.688
Then persistence for "Persistent" is active 0.868
When I create a file in the Persistent directory 0.142
And I disable the first tps feature 5.743
And I delete the data of the Persistent Folder feature 3.722
Then the file I created does not exist on the Persistent Storage 0.080
After features/support/hooks.rb:326 1.076
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.995
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 11.401
And the network is plugged 0.375
And Tor is ready 19.831
And I take note of which tps features are available 0.655
When I write some files expected to persist 1.779
And I shutdown Tails and wait for the computer to power off 8.925
# 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" 26.026
After features/support/hooks.rb:326 0.127
After features/support/hooks.rb:100 0.000
Tags: @product
3:29.462
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.857
And the network is plugged 0.129
And Tor is ready 20.139
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.219
And I shutdown Tails and wait for the computer to power off 10.649
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:28.318
And I capture all network traffic 0.016
And the network is plugged 0.093
And Tor is ready 19.332
And I switch to the "persistent-con-current" NetworkManager connection 0.380
And the 1st network device has a spoofed MAC address configured 0.124
And no network device leaked the real MAC address 0.201
After features/support/hooks.rb:326 0.693
After features/support/hooks.rb:100 0.057
Tags: @product
1:23.563
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 28.307
And I enable persistence creation in Tails Greeter 1.202
And I log in to a new session expecting no warning about the Persistent Storage not being activated 25.837
Then I create a persistent partition with the default settings using the wizard that was already open 28.215
After features/support/hooks.rb:326 1.961
After features/support/hooks.rb:100 0.000
Tags: @product
5:5.761
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 29.767
When I enable persistence 46.777
Then no persistent Greeter options were restored 14.518
When I set all Greeter options to non-default values 26.931
And I log in to a new session in German (de) after having activated the Persistent Storage 57.809
Then all Greeter options are set to non-default values 0.588
When I cold reboot the computer 7.697
And the computer reboots Tails 1:1.553
Given I enable persistence 18.593
Then persistent Greeter options were restored 0.628
When I log in to a new session after having activated the Persistent Storage 40.322
Then all Greeter options are set to non-default values 0.573
After features/support/hooks.rb:326 1.148
After features/support/hooks.rb:100 0.011
Tags: @product
4:16.735
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 11.459
# 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 48.296
And I shutdown Tails and wait for the computer to power off 15.401
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:23.464
And I change the passphrase of the Persistent Storage back to the original 38.113
After features/support/hooks.rb:326 2.157
After features/support/hooks.rb:100 0.011
Tags: @product
55.678
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.964
And I log in to a new session without activating the Persistent Storage 21.793
Then persistence is disabled 0.303
But a Tails persistence partition exists on USB drive "__internal" 8.058
And all notifications have disappeared 8.955
When I delete the persistent partition 6.122
Then there is no persistence partition on USB drive "__internal" 0.480
After features/support/hooks.rb:326 0.854
After features/support/hooks.rb:100 0.000
Tags: @product
2:51.449
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.622
When I write some dotfile expected to persist 0.093
And I shutdown Tails and wait for the computer to power off 11.432
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:29.614
Then the expected persistent dotfile is present in the filesystem 0.686
After features/support/hooks.rb:326 1.001
After features/support/hooks.rb:100 0.013
Tags: @product
1:54.554
Before features/support/hooks.rb:269 0.011
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.723
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.105
When I try to enable persistence 0.311
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 35.823
When I log in to a new session after having activated the Persistent Storage 48.518
And all notifications have disappeared 9.595
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.776
And all tps features are enabled 2.877
And all tps features but the first one are active 2.822
After features/support/hooks.rb:326 1.213
After features/support/hooks.rb:100 0.000
Tags: @product
12:39.291
Before features/support/hooks.rb:269 0.008
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:53.851
And I enable persistence 43.588
And I log in to a new session after having activated the Persistent Storage 54.285
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.784
And persistence is enabled 3.782
After features/support/hooks.rb:326 1.652
After features/support/hooks.rb:100 0.000
Tags: @product
47.361
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 20.262
And I enable persistence but something goes wrong during the LUKS header upgrade 26.170
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.928
After features/support/hooks.rb:326 0.815
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.479
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 10.262
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.740
When I enable persistence 45.931
Then the filesystem of the Persistent Storage was repaired 0.102
And persistence is successfully enabled 4.443
After features/support/hooks.rb:326 1.231
After features/support/hooks.rb:100 0.000
Tags: @product
35.998
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 11.207
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 12.863
When I try to enable persistence 0.434
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 7.023
When I repair the filesystem of the Persistent Storage 1.221
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.253
And the filesystem of the Persistent Storage was repaired 0.081
When I close the filesystem repair dialog 1.284
Then persistence is successfully enabled 1.626
After features/support/hooks.rb:326 0.847
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:1.402
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.440
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.127
When I try to enable persistence 0.278
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 43.003
When I repair the filesystem of the Persistent Storage 1.301
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.103
When I log in to a new session 40.070
And all notifications have disappeared 8.781
# 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" 2.242
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.631
When I close the "whisperback" window 1.446
Then the Tor Browser starts 12.874
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.101
After features/support/hooks.rb:326 2.901
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:25.090
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.427
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.609
And Tails detects disk read failures on the boot device 1.606
When I try to enable persistence 0.467
Then the Welcome Screen tells me that my hardware is probably failing 6.928
When I log in to a new session 22.144
And all notifications have disappeared 7.935
Then the Tor Browser starts 24.263
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 3.707
After features/support/hooks.rb:326 1.243
After features/support/hooks.rb:100 0.000