Project Number Date
test_Tails_ISO_feature-arti 1 16 Nov 2024, 22:26

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 38:38.671 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:19.432
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:37.578
And I update APT using apt 13.571
And I install "python3-behave" using apt 26.078
Then the Tails Persistent Storage behave tests pass 2.204
After features/support/hooks.rb:326 0.842
After features/support/hooks.rb:100 0.000
Tags: @product
47.240
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 11.694
When I log in to a new session without activating the Persistent Storage 23.320
Then Tails is running from USB drive "__internal" 0.823
And persistence is disabled 0.472
But a Tails persistence partition exists on USB drive "__internal" 10.930
After features/support/hooks.rb:326 1.636
After features/support/hooks.rb:100 0.000
Tags: @product
3:5.670
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 12.462
Then Tails is running from USB drive "__internal" 0.651
When I create a file in the Persistent directory 0.152
And I create a persistent partition with the default settings 23.507
Then the file I created was copied to the Persistent Storage 0.705
When I shutdown Tails and wait for the computer to power off 12.857
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.492
Then persistence for "Persistent" is active 0.776
And the file I created in the Persistent directory exists 0.064
After features/support/hooks.rb:326 0.932
After features/support/hooks.rb:100 0.009
Tags: @product
1:2.998
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 11.824
And the system is very low on memory 5.147
When I create a file in the Persistent directory 1.705
When I try to create a persistent partition 26.462
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.455
When I close the Persistent Storage app 2.633
And I free up some memory 2.028
And I create a persistent partition with the default settings 12.501
Then the file I created was copied to the Persistent Storage 0.239
After features/support/hooks.rb:326 1.225
After features/support/hooks.rb:100 0.000
Tags: @product
2:51.248
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.016
Then Tails is running from USB drive "__internal" 0.406
And all tps features are active 2.325
And all persistent directories have safe access rights 2.570
When I disable the first tps feature 6.040
Then all tps features but the first one are active 2.034
And I shutdown Tails and wait for the computer to power off 10.913
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.337
Then all tps features but the first one are active 2.602
After features/support/hooks.rb:326 0.680
After features/support/hooks.rb:100 0.009
Tags: @product
19.587
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.714
Then persistence for "Persistent" is active 0.086
And I create a file in the Persistent directory 0.069
Then the file I created was copied to the Persistent Storage 0.065
When I disable the first tps feature 6.149
Then persistence for "Persistent" is not active 0.080
And the Persistent directory does not exist 0.047
When I enable the first tps feature 3.236
Then persistence for "Persistent" is active 0.063
And the file I created in the Persistent directory exists 0.074
After features/support/hooks.rb:326 0.976
After features/support/hooks.rb:100 0.000
Tags: @product
19.267
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.269
Then persistence for "Persistent" is active 0.092
When I create a file in the Persistent directory 0.085
And I disable the first tps feature 6.010
And I delete the data of the Persistent Folder feature 3.752
Then the file I created does not exist on the Persistent Storage 0.057
After features/support/hooks.rb:326 0.935
After features/support/hooks.rb:100 0.000
Tags: @product
1:5.443
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.427
And the network is plugged 0.072
And Tor is ready 20.679
And I take note of which tps features are available 0.535
When I write some files expected to persist 1.528
And I shutdown Tails and wait for the computer to power off 8.712
# 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.487
After features/support/hooks.rb:326 0.087
After features/support/hooks.rb:100 0.000
Tags: @product
3:18.785
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.581
And the network is plugged 0.084
And Tor is ready 20.295
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.192
And I shutdown Tails and wait for the computer to power off 8.614
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.853
And I capture all network traffic 0.010
And the network is plugged 0.077
And Tor is ready 23.341
And I switch to the "persistent-con-current" NetworkManager connection 0.430
And the 1st network device has a spoofed MAC address configured 0.111
And no network device leaked the real MAC address 0.189
After features/support/hooks.rb:326 0.687
After features/support/hooks.rb:100 0.054
Tags: @product
1:1.098
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 15.941
And I enable persistence creation in Tails Greeter 1.131
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.079
Then I create a persistent partition with the default settings using the wizard that was already open 22.946
After features/support/hooks.rb:326 1.823
After features/support/hooks.rb:100 0.000
Tags: @product
4:19.696
Before features/support/hooks.rb:269 0.016
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 13.373
When I enable persistence 37.341
Then no persistent Greeter options were restored 14.017
When I set all Greeter options to non-default values 23.310
And I log in to a new session in German (de) after having activated the Persistent Storage 45.941
Then all Greeter options are set to non-default values 0.512
When I cold reboot the computer 7.619
And the computer reboots Tails 1:1.748
Given I enable persistence 17.048
Then persistent Greeter options were restored 0.559
When I log in to a new session after having activated the Persistent Storage 37.643
Then all Greeter options are set to non-default values 0.579
After features/support/hooks.rb:326 0.861
After features/support/hooks.rb:100 0.009
Tags: @product
3:38.529
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.095
# 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 35.912
And I shutdown Tails and wait for the computer to power off 12.364
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:7.860
And I change the passphrase of the Persistent Storage back to the original 32.296
After features/support/hooks.rb:326 2.767
After features/support/hooks.rb:100 0.009
Tags: @product
58.194
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.245
And I log in to a new session without activating the Persistent Storage 24.213
Then persistence is disabled 0.580
But a Tails persistence partition exists on USB drive "__internal" 7.991
And all notifications have disappeared 8.367
When I delete the persistent partition 6.408
Then there is no persistence partition on USB drive "__internal" 0.386
After features/support/hooks.rb:326 0.949
After features/support/hooks.rb:100 0.000
Tags: @product
2:24.305
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.507
When I write some dotfile expected to persist 0.129
And I shutdown Tails and wait for the computer to power off 8.371
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.867
Then the expected persistent dotfile is present in the filesystem 0.429
After features/support/hooks.rb:326 0.765
After features/support/hooks.rb:100 0.008
Tags: @product
1:37.524
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.337
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.077
When I try to enable persistence 0.265
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.643
When I log in to a new session after having activated the Persistent Storage 41.984
And all notifications have disappeared 7.818
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.332
And all tps features are enabled 2.197
And all tps features but the first one are active 1.867
After features/support/hooks.rb:326 0.973
After features/support/hooks.rb:100 0.000
Tags: @product
4:40.338
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:10.490
And I enable persistence 35.725
And I log in to a new session after having activated the Persistent Storage 48.526
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.599
And persistence is enabled 2.996
After features/support/hooks.rb:326 1.256
After features/support/hooks.rb:100 0.000
Tags: @product
32.300
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 8.954
And I enable persistence but something goes wrong during the LUKS header upgrade 22.465
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.880
After features/support/hooks.rb:326 1.086
After features/support/hooks.rb:100 0.000
Tags: @product
46.360
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.474
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.949
When I enable persistence 28.057
Then the filesystem of the Persistent Storage was repaired 0.148
And persistence is successfully enabled 2.729
After features/support/hooks.rb:326 1.030
After features/support/hooks.rb:100 0.000
Tags: @product
26.043
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.842
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.235
When I try to enable persistence 0.490
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.248
When I repair the filesystem of the Persistent Storage 1.274
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.258
And the filesystem of the Persistent Storage was repaired 0.080
When I close the filesystem repair dialog 1.187
Then persistence is successfully enabled 1.424
After features/support/hooks.rb:326 0.809
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:47.679
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.447
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.124
When I try to enable persistence 0.395
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.294
When I repair the filesystem of the Persistent Storage 1.302
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.087
When I log in to a new session 40.154
And all notifications have disappeared 9.385
# 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.389
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.796
When I close the "whisperback" window 1.658
Then the Tor Browser starts 13.671
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.971
After features/support/hooks.rb:326 4.403
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:16.925
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.863
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.372
And Tails detects disk read failures on the boot device 1.577
When I try to enable persistence 0.526
Then the Welcome Screen tells me that my hardware is probably failing 5.394
When I log in to a new session 22.289
And all notifications have disappeared 8.443
Then the Tor Browser starts 22.675
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.782
After features/support/hooks.rb:326 1.352
After features/support/hooks.rb:100 0.000