Project Number Date
test_Tails_ISO_feature-arti 4 19 Nov 2024, 16:43

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 44:32.841 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:22.272
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.118
And I update APT using apt 15.409
And I install "python3-behave" using apt 27.111
Then the Tails Persistent Storage behave tests pass 2.633
After features/support/hooks.rb:326 0.755
After features/support/hooks.rb:100 0.000
Tags: @product
51.497
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.662
When I log in to a new session without activating the Persistent Storage 24.686
Then Tails is running from USB drive "__internal" 0.587
And persistence is disabled 0.338
But a Tails persistence partition exists on USB drive "__internal" 10.222
After features/support/hooks.rb:326 1.292
After features/support/hooks.rb:100 0.000
Tags: @product
3:21.484
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 19.265
Then Tails is running from USB drive "__internal" 0.409
When I create a file in the Persistent directory 0.129
And I create a persistent partition with the default settings 23.744
Then the file I created was copied to the Persistent Storage 0.687
When I shutdown Tails and wait for the computer to power off 13.209
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:23.564
Then persistence for "Persistent" is active 0.383
And the file I created in the Persistent directory exists 0.092
After features/support/hooks.rb:326 1.054
After features/support/hooks.rb:100 0.010
Tags: @product
1:8.267
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.164
And the system is very low on memory 6.747
When I create a file in the Persistent directory 0.734
When I try to create a persistent partition 30.211
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.165
When I close the Persistent Storage app 2.597
And I free up some memory 1.973
And I create a persistent partition with the default settings 14.358
Then the file I created was copied to the Persistent Storage 0.316
After features/support/hooks.rb:326 1.502
After features/support/hooks.rb:100 0.000
Tags: @product
2:57.445
Before features/support/hooks.rb:269 0.010
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.862
Then Tails is running from USB drive "__internal" 0.940
And all tps features are active 2.601
And all persistent directories have safe access rights 2.853
When I disable the first tps feature 6.568
Then all tps features but the first one are active 2.302
And I shutdown Tails and wait for the computer to power off 13.186
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.742
Then all tps features but the first one are active 2.387
After features/support/hooks.rb:326 0.861
After features/support/hooks.rb:100 0.007
Tags: @product
20.244
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.837
Then persistence for "Persistent" is active 0.095
And I create a file in the Persistent directory 0.084
Then the file I created was copied to the Persistent Storage 0.069
When I disable the first tps feature 6.561
Then persistence for "Persistent" is not active 0.086
And the Persistent directory does not exist 0.056
When I enable the first tps feature 3.271
Then persistence for "Persistent" is active 0.085
And the file I created in the Persistent directory exists 0.094
After features/support/hooks.rb:326 0.769
After features/support/hooks.rb:100 0.000
Tags: @product
34.621
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 24.134
Then persistence for "Persistent" is active 0.219
When I create a file in the Persistent directory 0.154
And I disable the first tps feature 6.141
And I delete the data of the Persistent Folder feature 3.908
Then the file I created does not exist on the Persistent Storage 0.063
After features/support/hooks.rb:326 0.848
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.279
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.427
And the network is plugged 0.109
And Tor is ready 21.086
And I take note of which tps features are available 0.612
When I write some files expected to persist 1.584
And I shutdown Tails and wait for the computer to power off 8.793
# 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.664
After features/support/hooks.rb:326 0.165
After features/support/hooks.rb:100 0.000
Tags: @product
3:9.410
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 9.933
And the network is plugged 0.081
And Tor is ready 19.115
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.249
And I shutdown Tails and wait for the computer to power off 9.159
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.732
And I capture all network traffic 0.009
And the network is plugged 0.104
And Tor is ready 19.400
And I switch to the "persistent-con-current" NetworkManager connection 0.350
And the 1st network device has a spoofed MAC address configured 0.089
And no network device leaked the real MAC address 0.183
After features/support/hooks.rb:326 0.591
After features/support/hooks.rb:100 0.064
Tags: @product
1:2.057
Before features/support/hooks.rb:269 0.010
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 13.901
And I enable persistence creation in Tails Greeter 1.625
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.470
Then I create a persistent partition with the default settings using the wizard that was already open 24.060
After features/support/hooks.rb:326 1.828
After features/support/hooks.rb:100 0.000
Tags: @product
4:41.739
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.513
When I enable persistence 39.118
Then no persistent Greeter options were restored 14.619
When I set all Greeter options to non-default values 26.760
And I log in to a new session in German (de) after having activated the Persistent Storage 55.557
Then all Greeter options are set to non-default values 0.545
When I cold reboot the computer 7.671
And the computer reboots Tails 1:0.961
Given I enable persistence 19.462
Then persistent Greeter options were restored 0.553
When I log in to a new session after having activated the Persistent Storage 42.349
Then all Greeter options are set to non-default values 0.627
After features/support/hooks.rb:326 1.038
After features/support/hooks.rb:100 0.011
Tags: @product
3:44.864
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 10.774
# 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 38.096
And I shutdown Tails and wait for the computer to power off 11.017
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:8.321
And I change the passphrase of the Persistent Storage back to the original 36.655
After features/support/hooks.rb:326 2.533
After features/support/hooks.rb:100 0.013
Tags: @product
1:3.895
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 11.989
And I log in to a new session without activating the Persistent Storage 22.933
Then persistence is disabled 0.340
But a Tails persistence partition exists on USB drive "__internal" 9.562
And all notifications have disappeared 10.290
When I delete the persistent partition 8.299
Then there is no persistence partition on USB drive "__internal" 0.480
After features/support/hooks.rb:326 0.931
After features/support/hooks.rb:100 0.000
Tags: @product
2:40.908
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.124
When I write some dotfile expected to persist 0.633
And I shutdown Tails and wait for the computer to power off 10.765
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.909
Then the expected persistent dotfile is present in the filesystem 0.474
After features/support/hooks.rb:326 0.919
After features/support/hooks.rb:100 0.017
Tags: @product
1:54.684
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 11.372
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.111
When I try to enable persistence 0.334
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 36.378
When I log in to a new session after having activated the Persistent Storage 46.787
And all notifications have disappeared 10.041
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.200
And all tps features are enabled 2.845
And all tps features but the first one are active 2.610
After features/support/hooks.rb:326 0.879
After features/support/hooks.rb:100 0.000
Tags: @product
8:13.056
Before features/support/hooks.rb:269 0.007
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 6:37.865
And I enable persistence 39.732
And I log in to a new session after having activated the Persistent Storage 50.134
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.216
And persistence is enabled 3.107
After features/support/hooks.rb:326 1.080
After features/support/hooks.rb:100 0.000
Tags: @product
36.353
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 11.488
And I enable persistence but something goes wrong during the LUKS header upgrade 23.852
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 1.012
After features/support/hooks.rb:326 2.687
After features/support/hooks.rb:100 0.000
Tags: @product
57.005
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.882
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 7.676
When I enable persistence 34.077
Then the filesystem of the Persistent Storage was repaired 0.088
And persistence is successfully enabled 4.280
After features/support/hooks.rb:326 0.983
After features/support/hooks.rb:100 0.000
Tags: @product
32.339
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.798
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.833
When I try to enable persistence 0.574
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 7.248
When I repair the filesystem of the Persistent Storage 1.332
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.224
And the filesystem of the Persistent Storage was repaired 0.379
When I close the filesystem repair dialog 1.280
Then persistence is successfully enabled 1.667
After features/support/hooks.rb:326 0.998
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:56.521
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.571
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.117
When I try to enable persistence 0.295
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 31.183
When I repair the filesystem of the Persistent Storage 1.253
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 3.912
When I log in to a new session 38.931
And all notifications have disappeared 10.013
# 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.910
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.843
When I close the "whisperback" window 2.387
Then the Tor Browser starts 16.250
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 2.518
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:16.891
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.124
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.269
And Tails detects disk read failures on the boot device 1.596
When I try to enable persistence 0.430
Then the Welcome Screen tells me that my hardware is probably failing 6.331
When I log in to a new session 21.832
And all notifications have disappeared 8.070
Then the Tor Browser starts 21.311
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.924
After features/support/hooks.rb:326 1.321
After features/support/hooks.rb:100 0.000