Project Number Date
test_Tails_ISO_devel 3597 23 Nov 2024, 12:22

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:35.430 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:16.024
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:36.586
And I update APT using apt 13.542
And I install "python3-behave" using apt 22.774
Then the Tails Persistent Storage behave tests pass 3.121
After features/support/hooks.rb:326 0.731
After features/support/hooks.rb:100 0.000
Tags: @product
41.476
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 11.893
When I log in to a new session without activating the Persistent Storage 23.631
Then Tails is running from USB drive "__internal" 0.578
And persistence is disabled 0.252
But a Tails persistence partition exists on USB drive "__internal" 5.120
After features/support/hooks.rb:326 1.298
After features/support/hooks.rb:100 0.000
Tags: @product
3:25.869
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 12.053
Then Tails is running from USB drive "__internal" 0.562
When I create a file in the Persistent directory 0.226
And I create a persistent partition with the default settings 32.969
Then the file I created was copied to the Persistent Storage 0.776
When I shutdown Tails and wait for the computer to power off 12.881
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:25.826
Then persistence for "Persistent" is active 0.471
And the file I created in the Persistent directory exists 0.101
After features/support/hooks.rb:326 0.852
After features/support/hooks.rb:100 0.012
Tags: @product
1:21.185
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 23.312
And the system is very low on memory 5.181
When I create a file in the Persistent directory 2.888
When I try to create a persistent partition 28.764
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 1.486
When I close the Persistent Storage app 2.593
And I free up some memory 3.018
And I create a persistent partition with the default settings 13.699
Then the file I created was copied to the Persistent Storage 0.239
After features/support/hooks.rb:326 1.741
After features/support/hooks.rb:100 0.000
Tags: @product
3:0.356
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.007
Then Tails is running from USB drive "__internal" 0.596
And all tps features are active 2.683
And all persistent directories have safe access rights 2.736
When I disable the first tps feature 5.788
Then all tps features but the first one are active 2.100
And I shutdown Tails and wait for the computer to power off 8.950
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:24.195
Then all tps features but the first one are active 2.298
After features/support/hooks.rb:326 0.648
After features/support/hooks.rb:100 0.013
Tags: @product
20.613
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 9.574
Then persistence for "Persistent" is active 0.296
And I create a file in the Persistent directory 0.123
Then the file I created was copied to the Persistent Storage 0.163
When I disable the first tps feature 6.410
Then persistence for "Persistent" is not active 0.123
And the Persistent directory does not exist 0.052
When I enable the first tps feature 3.708
Then persistence for "Persistent" is active 0.081
And the file I created in the Persistent directory exists 0.078
After features/support/hooks.rb:326 1.049
After features/support/hooks.rb:100 0.000
Tags: @product
19.940
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.741
Then persistence for "Persistent" is active 0.218
When I create a file in the Persistent directory 0.088
And I disable the first tps feature 6.191
And I delete the data of the Persistent Folder feature 3.639
Then the file I created does not exist on the Persistent Storage 0.061
After features/support/hooks.rb:326 0.882
After features/support/hooks.rb:100 0.000
Tags: @product
1:9.291
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.358
And the network is plugged 0.077
And Tor is ready 19.512
And I take note of which tps features are available 0.554
When I write some files expected to persist 1.563
And I shutdown Tails and wait for the computer to power off 13.455
# 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.769
After features/support/hooks.rb:326 0.126
After features/support/hooks.rb:100 0.000
Tags: @product
3:15.761
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.827
And the network is plugged 0.087
And Tor is ready 20.645
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.220
And I shutdown Tails and wait for the computer to power off 8.643
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.542
And I capture all network traffic 0.009
And the network is plugged 0.070
And Tor is ready 19.086
And I switch to the "persistent-con-current" NetworkManager connection 0.360
And the 1st network device has a spoofed MAC address configured 0.123
And no network device leaked the real MAC address 0.144
After features/support/hooks.rb:326 0.668
After features/support/hooks.rb:100 0.070
Tags: @product
58.385
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 15.598
And I enable persistence creation in Tails Greeter 1.136
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.151
Then I create a persistent partition with the default settings using the wizard that was already open 21.499
After features/support/hooks.rb:326 1.608
After features/support/hooks.rb:100 0.000
Tags: @product
4:18.996
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 13.190
When I enable persistence 36.288
Then no persistent Greeter options were restored 14.011
When I set all Greeter options to non-default values 24.076
And I log in to a new session in German (de) after having activated the Persistent Storage 42.316
Then all Greeter options are set to non-default values 0.404
When I cold reboot the computer 7.523
And the computer reboots Tails 1:6.090
Given I enable persistence 15.383
Then persistent Greeter options were restored 0.472
When I log in to a new session after having activated the Persistent Storage 38.795
Then all Greeter options are set to non-default values 0.443
After features/support/hooks.rb:326 1.213
After features/support/hooks.rb:100 0.008
Tags: @product
3:38.578
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.562
# 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 34.705
And I shutdown Tails and wait for the computer to power off 12.351
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:2.879
And I change the passphrase of the Persistent Storage back to the original 39.080
After features/support/hooks.rb:326 2.067
After features/support/hooks.rb:100 0.007
Tags: @product
54.704
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.371
And I log in to a new session without activating the Persistent Storage 21.230
Then persistence is disabled 0.400
But a Tails persistence partition exists on USB drive "__internal" 7.226
And all notifications have disappeared 8.940
When I delete the persistent partition 6.119
Then there is no persistence partition on USB drive "__internal" 0.415
After features/support/hooks.rb:326 0.956
After features/support/hooks.rb:100 0.000
Tags: @product
2:21.570
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.463
When I write some dotfile expected to persist 0.092
And I shutdown Tails and wait for the computer to power off 8.774
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:2.792
Then the expected persistent dotfile is present in the filesystem 0.447
After features/support/hooks.rb:326 0.616
After features/support/hooks.rb:100 0.007
Tags: @product
1:37.387
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.776
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.086
When I try to enable persistence 0.252
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 27.542
When I log in to a new session after having activated the Persistent Storage 42.700
And all notifications have disappeared 8.741
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.038
And all tps features are enabled 2.270
And all tps features but the first one are active 1.977
After features/support/hooks.rb:326 1.266
After features/support/hooks.rb:100 0.000
Tags: @product
4:24.457
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:2.246
And I enable persistence 31.043
And I log in to a new session after having activated the Persistent Storage 45.940
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.133
And persistence is enabled 3.094
After features/support/hooks.rb:326 1.264
After features/support/hooks.rb:100 0.000
Tags: @product
29.644
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.276
And I enable persistence but something goes wrong during the LUKS header upgrade 19.646
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.721
After features/support/hooks.rb:326 0.694
After features/support/hooks.rb:100 0.000
Tags: @product
43.995
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.735
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 7.269
When I enable persistence 25.323
Then the filesystem of the Persistent Storage was repaired 0.088
And persistence is successfully enabled 2.578
After features/support/hooks.rb:326 0.938
After features/support/hooks.rb:100 0.000
Tags: @product
25.464
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.195
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.890
When I try to enable persistence 0.400
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.611
When I repair the filesystem of the Persistent Storage 1.333
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.305
And the filesystem of the Persistent Storage was repaired 0.065
When I close the filesystem repair dialog 1.242
Then persistence is successfully enabled 1.422
After features/support/hooks.rb:326 0.915
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:43.636
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.018
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.134
When I try to enable persistence 0.251
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.692
When I repair the filesystem of the Persistent Storage 1.264
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.099
When I log in to a new session 38.358
And all notifications have disappeared 8.239
# 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.466
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.374
When I close the "whisperback" window 1.571
Then the Tor Browser starts 15.289
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.875
After features/support/hooks.rb:326 2.137
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:8.089
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 8.721
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.855
And Tails detects disk read failures on the boot device 1.561
When I try to enable persistence 0.393
Then the Welcome Screen tells me that my hardware is probably failing 5.025
When I log in to a new session 19.452
And all notifications have disappeared 7.246
Then the Tor Browser starts 19.102
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.728
After features/support/hooks.rb:326 1.597
After features/support/hooks.rb:100 0.000