Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 56 06 Dec 2024, 00:00

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 39:53.008 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:30.387
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:48.429
And I update APT using apt 14.192
And I install "python3-behave" using apt 25.517
Then the Tails Persistent Storage behave tests pass 2.247
After features/support/hooks.rb:326 0.680
After features/support/hooks.rb:100 0.000
Tags: @product
1:17.674
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 43.086
When I log in to a new session without activating the Persistent Storage 25.077
Then Tails is running from USB drive "__internal" 1.033
And persistence is disabled 0.743
But a Tails persistence partition exists on USB drive "__internal" 7.734
After features/support/hooks.rb:326 1.418
After features/support/hooks.rb:100 0.000
Tags: @product
3:18.616
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 34.728
Then Tails is running from USB drive "__internal" 0.466
When I create a file in the Persistent directory 0.120
And I create a persistent partition with the default settings 19.407
Then the file I created was copied to the Persistent Storage 0.624
When I shutdown Tails and wait for the computer to power off 14.872
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.819
Then persistence for "Persistent" is active 0.495
And the file I created in the Persistent directory exists 0.081
After features/support/hooks.rb:326 1.340
After features/support/hooks.rb:100 0.008
Tags: @product
46.655
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.007
And the system is very low on memory 3.930
When I create a file in the Persistent directory 1.325
When I try to create a persistent partition 13.499
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.134
When I close the Persistent Storage app 2.533
And I free up some memory 1.035
And I create a persistent partition with the default settings 11.925
Then the file I created was copied to the Persistent Storage 0.264
After features/support/hooks.rb:326 1.714
After features/support/hooks.rb:100 0.000
Tags: @product
2:35.310
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 10.951
Then Tails is running from USB drive "__internal" 0.399
And all tps features are active 2.513
And all persistent directories have safe access rights 2.674
When I disable the first tps feature 4.972
Then all tps features but the first one are active 2.149
And I shutdown Tails and wait for the computer to power off 8.645
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:0.829
Then all tps features but the first one are active 2.174
After features/support/hooks.rb:326 0.688
After features/support/hooks.rb:100 0.008
Tags: @product
18.384
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.824
Then persistence for "Persistent" is active 0.083
And I create a file in the Persistent directory 0.094
Then the file I created was copied to the Persistent Storage 0.064
When I disable the first tps feature 4.983
Then persistence for "Persistent" is not active 0.079
And the Persistent directory does not exist 0.054
When I enable the first tps feature 3.071
Then persistence for "Persistent" is active 0.061
And the file I created in the Persistent directory exists 0.066
After features/support/hooks.rb:326 1.372
After features/support/hooks.rb:100 0.000
Tags: @product
18.732
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.938
Then persistence for "Persistent" is active 0.072
When I create a file in the Persistent directory 0.071
And I disable the first tps feature 4.943
And I delete the data of the Persistent Folder feature 3.643
Then the file I created does not exist on the Persistent Storage 0.061
After features/support/hooks.rb:326 1.516
After features/support/hooks.rb:100 0.000
Tags: @product
1:35.309
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.608
And the network is plugged 0.346
And Tor is ready 49.750
And I take note of which tps features are available 0.855
When I write some files expected to persist 1.474
And I shutdown Tails and wait for the computer to power off 8.356
# 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" 23.918
After features/support/hooks.rb:326 0.103
After features/support/hooks.rb:100 0.000
Tags: @product
3:2.198
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.849
And the network is plugged 0.096
And Tor is ready 18.504
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.213
And I shutdown Tails and wait for the computer to power off 6.599
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.108
And I capture all network traffic 0.006
And the network is plugged 0.081
And Tor is ready 19.138
And I switch to the "persistent-con-current" NetworkManager connection 0.359
And the 1st network device has a spoofed MAC address configured 0.094
And no network device leaked the real MAC address 0.146
After features/support/hooks.rb:326 0.594
After features/support/hooks.rb:100 0.041
Tags: @product
59.336
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 12.609
And I enable persistence creation in Tails Greeter 1.115
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.100
Then I create a persistent partition with the default settings using the wizard that was already open 22.511
After features/support/hooks.rb:326 1.869
After features/support/hooks.rb:100 0.000
Tags: @product
4:14.397
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 12.156
When I enable persistence 44.319
Then no persistent Greeter options were restored 14.421
When I set all Greeter options to non-default values 22.959
And I log in to a new session in German (de) after having activated the Persistent Storage 39.087
Then all Greeter options are set to non-default values 0.672
When I cold reboot the computer 7.420
And the computer reboots Tails 1:5.090
Given I enable persistence 17.478
Then persistent Greeter options were restored 0.541
When I log in to a new session after having activated the Persistent Storage 29.754
Then all Greeter options are set to non-default values 0.495
After features/support/hooks.rb:326 1.592
After features/support/hooks.rb:100 0.007
Tags: @product
3:41.277
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 10.609
# 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.494
And I shutdown Tails and wait for the computer to power off 10.364
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:12.098
And I change the passphrase of the Persistent Storage back to the original 29.710
After features/support/hooks.rb:326 2.057
After features/support/hooks.rb:100 0.054
Tags: @product
55.151
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.858
And I log in to a new session without activating the Persistent Storage 22.444
Then persistence is disabled 0.672
But a Tails persistence partition exists on USB drive "__internal" 7.903
And all notifications have disappeared 6.868
When I delete the persistent partition 7.004
Then there is no persistence partition on USB drive "__internal" 0.400
After features/support/hooks.rb:326 0.830
After features/support/hooks.rb:100 0.000
Tags: @product
2:26.047
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 10.768
When I write some dotfile expected to persist 0.071
And I shutdown Tails and wait for the computer to power off 10.679
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.174
Then the expected persistent dotfile is present in the filesystem 0.353
After features/support/hooks.rb:326 1.082
After features/support/hooks.rb:100 0.007
Tags: @product
1:28.295
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.758
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.075
When I try to enable persistence 0.466
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.276
When I log in to a new session after having activated the Persistent Storage 31.679
And all notifications have disappeared 6.984
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.365
And all tps features are enabled 2.586
And all tps features but the first one are active 2.102
After features/support/hooks.rb:326 0.809
After features/support/hooks.rb:100 0.000
Tags: @product
5:37.269
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 4:24.939
And I enable persistence 35.036
And I log in to a new session after having activated the Persistent Storage 33.484
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.115
And persistence is enabled 2.692
After features/support/hooks.rb:326 1.206
After features/support/hooks.rb:100 0.000
Tags: @product
31.227
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 9.415
And I enable persistence but something goes wrong during the LUKS header upgrade 21.069
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.742
After features/support/hooks.rb:326 0.677
After features/support/hooks.rb:100 0.000
Tags: @product
45.588
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 8.791
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.029
When I enable persistence 30.086
Then the filesystem of the Persistent Storage was repaired 0.075
And persistence is successfully enabled 2.605
After features/support/hooks.rb:326 1.267
After features/support/hooks.rb:100 0.000
Tags: @product
22.565
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.831
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 4.391
When I try to enable persistence 0.692
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 4.550
When I repair the filesystem of the Persistent Storage 1.218
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.177
And the filesystem of the Persistent Storage was repaired 0.091
When I close the filesystem repair dialog 1.203
Then persistence is successfully enabled 1.408
After features/support/hooks.rb:326 0.758
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:43.347
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.431
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.107
When I try to enable persistence 0.506
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.278
When I repair the filesystem of the Persistent Storage 1.268
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.076
When I log in to a new session 29.871
And all notifications have disappeared 7.097
# 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.875
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.334
When I close the "whisperback" window 1.793
Then the Tor Browser starts 22.816
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.890
After features/support/hooks.rb:326 2.427
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:25.233
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.135
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 4.716
And Tails detects disk read failures on the boot device 1.743
When I try to enable persistence 0.588
Then the Welcome Screen tells me that my hardware is probably failing 5.322
When I log in to a new session 24.262
And all notifications have disappeared 4.610
Then the Tor Browser starts 33.943
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.910
After features/support/hooks.rb:326 2.116
After features/support/hooks.rb:100 0.000