Project Number Date
test_Tails_ISO_devel 3584 11 Nov 2024, 12:58

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:8.579 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:18.967
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:36.376
And I update APT using apt 13.826
And I install "python3-behave" using apt 25.555
Then the Tails Persistent Storage behave tests pass 3.209
After features/support/hooks.rb:326 0.774
After features/support/hooks.rb:100 0.000
Tags: @product
44.256
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 13.051
When I log in to a new session without activating the Persistent Storage 22.985
Then Tails is running from USB drive "__internal" 0.547
And persistence is disabled 0.400
But a Tails persistence partition exists on USB drive "__internal" 7.271
After features/support/hooks.rb:326 1.174
After features/support/hooks.rb:100 0.000
Tags: @product
3:17.767
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 14.929
Then Tails is running from USB drive "__internal" 0.972
When I create a file in the Persistent directory 0.138
And I create a persistent partition with the default settings 27.433
Then the file I created was copied to the Persistent Storage 0.714
When I shutdown Tails and wait for the computer to power off 12.855
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.077
Then persistence for "Persistent" is active 1.575
And the file I created in the Persistent directory exists 0.071
After features/support/hooks.rb:326 0.842
After features/support/hooks.rb:100 0.028
Tags: @product
1:9.886
Before features/support/hooks.rb:269 0.015
Given I have started Tails without network from a USB drive without a persistent partition and logged in 21.051
And the system is very low on memory 4.174
When I create a file in the Persistent directory 1.233
When I try to create a persistent partition 25.039
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.174
When I close the Persistent Storage app 2.928
And I free up some memory 1.435
And I create a persistent partition with the default settings 13.611
Then the file I created was copied to the Persistent Storage 0.237
After features/support/hooks.rb:326 1.385
After features/support/hooks.rb:100 0.000
Tags: @product
2:41.570
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.920
Then Tails is running from USB drive "__internal" 0.416
And all tps features are active 2.556
And all persistent directories have safe access rights 2.821
When I disable the first tps feature 5.456
Then all tps features but the first one are active 2.177
And I shutdown Tails and wait for the computer to power off 10.874
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.241
Then all tps features but the first one are active 2.104
After features/support/hooks.rb:326 1.048
After features/support/hooks.rb:100 0.052
Tags: @product
19.858
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.860
Then persistence for "Persistent" is active 0.135
And I create a file in the Persistent directory 0.094
Then the file I created was copied to the Persistent Storage 0.066
When I disable the first tps feature 6.315
Then persistence for "Persistent" is not active 0.069
And the Persistent directory does not exist 0.057
When I enable the first tps feature 3.113
Then persistence for "Persistent" is active 0.070
And the file I created in the Persistent directory exists 0.075
After features/support/hooks.rb:326 0.815
After features/support/hooks.rb:100 0.000
Tags: @product
19.771
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 9.739
Then persistence for "Persistent" is active 0.229
When I create a file in the Persistent directory 0.081
And I disable the first tps feature 6.035
And I delete the data of the Persistent Folder feature 3.618
Then the file I created does not exist on the Persistent Storage 0.067
After features/support/hooks.rb:326 0.858
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.656
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 9.927
And the network is plugged 0.072
And Tor is ready 22.469
And I take note of which tps features are available 0.620
When I write some files expected to persist 1.582
And I shutdown Tails and wait for the computer to power off 8.405
# 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.578
After features/support/hooks.rb:326 0.143
After features/support/hooks.rb:100 0.000
Tags: @product
3:7.857
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 9.164
And the network is plugged 0.079
And Tor is ready 19.974
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.211
And I shutdown Tails and wait for the computer to power off 7.568
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.437
And I capture all network traffic 0.006
And the network is plugged 0.385
And Tor is ready 22.380
And I switch to the "persistent-con-current" NetworkManager connection 0.384
And the 1st network device has a spoofed MAC address configured 0.116
And no network device leaked the real MAC address 0.148
After features/support/hooks.rb:326 0.652
After features/support/hooks.rb:100 0.052
Tags: @product
1:33.690
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 44.445
And I enable persistence creation in Tails Greeter 1.173
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.890
Then I create a persistent partition with the default settings using the wizard that was already open 23.181
After features/support/hooks.rb:326 2.500
After features/support/hooks.rb:100 0.000
Tags: @product
5:6.419
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 31.382
When I enable persistence 39.812
Then no persistent Greeter options were restored 14.325
When I set all Greeter options to non-default values 27.458
And I log in to a new session in German (de) after having activated the Persistent Storage 53.905
Then all Greeter options are set to non-default values 0.354
When I cold reboot the computer 9.816
And the computer reboots Tails 1:8.242
Given I enable persistence 19.208
Then persistent Greeter options were restored 0.499
When I log in to a new session after having activated the Persistent Storage 40.938
Then all Greeter options are set to non-default values 0.474
After features/support/hooks.rb:326 1.002
After features/support/hooks.rb:100 0.008
Tags: @product
3:34.321
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.185
# 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 30.840
And I shutdown Tails and wait for the computer to power off 12.896
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:6.828
And I change the passphrase of the Persistent Storage back to the original 33.570
After features/support/hooks.rb:326 2.660
After features/support/hooks.rb:100 0.011
Tags: @product
55.553
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.897
And I log in to a new session without activating the Persistent Storage 22.043
Then persistence is disabled 0.370
But a Tails persistence partition exists on USB drive "__internal" 6.285
And all notifications have disappeared 10.102
When I delete the persistent partition 6.385
Then there is no persistence partition on USB drive "__internal" 0.467
After features/support/hooks.rb:326 1.065
After features/support/hooks.rb:100 0.000
Tags: @product
2:38.240
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.555
When I write some dotfile expected to persist 0.119
And I shutdown Tails and wait for the computer to power off 9.128
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.982
Then the expected persistent dotfile is present in the filesystem 0.454
After features/support/hooks.rb:326 1.230
After features/support/hooks.rb:100 0.015
Tags: @product
1:35.013
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 9.751
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.077
When I try to enable persistence 0.285
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 32.158
When I log in to a new session after having activated the Persistent Storage 35.749
And all notifications have disappeared 7.654
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.512
And all tps features are enabled 2.329
And all tps features but the first one are active 2.495
After features/support/hooks.rb:326 2.770
After features/support/hooks.rb:100 0.000
Tags: @product
6:31.254
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 4:59.444
And I enable persistence 37.218
And I log in to a new session after having activated the Persistent Storage 49.886
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.700
And persistence is enabled 3.005
After features/support/hooks.rb:326 0.831
After features/support/hooks.rb:100 0.000
Tags: @product
31.180
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 9.207
And I enable persistence but something goes wrong during the LUKS header upgrade 21.121
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.851
After features/support/hooks.rb:326 0.886
After features/support/hooks.rb:100 0.000
Tags: @product
1:2.635
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.146
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.529
When I enable persistence 42.529
Then the filesystem of the Persistent Storage was repaired 0.136
And persistence is successfully enabled 3.292
After features/support/hooks.rb:326 0.724
After features/support/hooks.rb:100 0.000
Tags: @product
28.302
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.045
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.947
When I try to enable persistence 0.541
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 7.280
When I repair the filesystem of the Persistent Storage 1.315
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.270
And the filesystem of the Persistent Storage was repaired 0.072
When I close the filesystem repair dialog 1.293
Then persistence is successfully enabled 1.535
After features/support/hooks.rb:326 0.930
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:50.705
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 9.718
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.111
When I try to enable persistence 0.285
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.579
When I repair the filesystem of the Persistent Storage 1.262
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.152
When I log in to a new session 38.472
And all notifications have disappeared 12.054
# 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.575
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.661
When I close the "whisperback" window 1.647
Then the Tor Browser starts 14.331
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.853
After features/support/hooks.rb:326 2.116
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:13.670
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.105
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.285
And Tails detects disk read failures on the boot device 1.659
When I try to enable persistence 0.442
Then the Welcome Screen tells me that my hardware is probably failing 6.346
When I log in to a new session 21.256
And all notifications have disappeared 7.531
Then the Tor Browser starts 19.227
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.817
After features/support/hooks.rb:326 1.631
After features/support/hooks.rb:100 0.000