Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 4 27 Oct 2024, 06:36

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 36:39.115 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:10.460
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:31.286
And I update APT using apt 13.016
And I install "python3-behave" using apt 22.954
Then the Tails Persistent Storage behave tests pass 3.202
After features/support/hooks.rb:326 0.825
After features/support/hooks.rb:100 0.000
Tags: @product
45.964
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 12.070
When I log in to a new session without activating the Persistent Storage 24.311
Then Tails is running from USB drive "__internal" 1.020
And persistence is disabled 0.849
But a Tails persistence partition exists on USB drive "__internal" 7.712
After features/support/hooks.rb:326 1.950
After features/support/hooks.rb:100 0.000
Tags: @product
2:53.299
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.594
Then Tails is running from USB drive "__internal" 0.433
When I create a file in the Persistent directory 0.140
And I create a persistent partition with the default settings 20.467
Then the file I created was copied to the Persistent Storage 0.421
When I shutdown Tails and wait for the computer to power off 12.616
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.204
Then persistence for "Persistent" is active 0.357
And the file I created in the Persistent directory exists 0.064
After features/support/hooks.rb:326 1.450
After features/support/hooks.rb:100 0.006
Tags: @product
53.189
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive without a persistent partition and logged in 10.587
And the system is very low on memory 3.036
When I create a file in the Persistent directory 1.839
When I try to create a persistent partition 20.669
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 1.085
When I close the Persistent Storage app 2.548
And I free up some memory 0.974
And I create a persistent partition with the default settings 12.209
Then the file I created was copied to the Persistent Storage 0.238
After features/support/hooks.rb:326 1.310
After features/support/hooks.rb:100 0.000
Tags: @product
2:35.180
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 11.000
Then Tails is running from USB drive "__internal" 0.585
And all tps features are active 2.212
And all persistent directories have safe access rights 2.399
When I disable the first tps feature 5.059
Then all tps features but the first one are active 1.897
And I shutdown Tails and wait for the computer to power off 10.750
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:58.642
Then all tps features but the first one are active 2.632
After features/support/hooks.rb:326 1.518
After features/support/hooks.rb:100 0.006
Tags: @product
20.465
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.393
Then persistence for "Persistent" is active 0.340
And I create a file in the Persistent directory 0.069
Then the file I created was copied to the Persistent Storage 0.120
When I disable the first tps feature 5.167
Then persistence for "Persistent" is not active 0.086
And the Persistent directory does not exist 0.052
When I enable the first tps feature 3.103
Then persistence for "Persistent" is active 0.062
And the file I created in the Persistent directory exists 0.068
After features/support/hooks.rb:326 0.985
After features/support/hooks.rb:100 0.000
Tags: @product
18.267
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.285
Then persistence for "Persistent" is active 0.219
When I create a file in the Persistent directory 0.084
And I disable the first tps feature 5.073
And I delete the data of the Persistent Folder feature 3.555
Then the file I created does not exist on the Persistent Storage 0.047
After features/support/hooks.rb:326 1.075
After features/support/hooks.rb:100 0.000
Tags: @product
1:30.453
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.547
And the network is plugged 0.088
And Tor is ready 48.130
And I take note of which tps features are available 0.680
When I write some files expected to persist 1.454
And I shutdown Tails and wait for the computer to power off 6.472
# 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.079
After features/support/hooks.rb:326 0.153
After features/support/hooks.rb:100 0.000
Tags: @product
3:2.020
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 23.449
And the network is plugged 0.088
And Tor is ready 17.130
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.227
And I shutdown Tails and wait for the computer to power off 6.394
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:54.745
And I capture all network traffic 0.012
And the network is plugged 0.085
And Tor is ready 19.191
And I switch to the "persistent-con-current" NetworkManager connection 0.399
And the 1st network device has a spoofed MAC address configured 0.143
And no network device leaked the real MAC address 0.150
After features/support/hooks.rb:326 0.600
After features/support/hooks.rb:100 0.041
Tags: @product
51.532
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 11.590
And I enable persistence creation in Tails Greeter 1.110
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.204
Then I create a persistent partition with the default settings using the wizard that was already open 18.625
After features/support/hooks.rb:326 1.400
After features/support/hooks.rb:100 0.000
Tags: @product
4:19.023
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 12.583
When I enable persistence 30.786
Then no persistent Greeter options were restored 13.953
When I set all Greeter options to non-default values 20.611
And I log in to a new session in German (de) after having activated the Persistent Storage 41.024
Then all Greeter options are set to non-default values 0.687
When I cold reboot the computer 7.657
And the computer reboots Tails 1:3.313
Given I enable persistence 28.725
Then persistent Greeter options were restored 14.862
When I log in to a new session after having activated the Persistent Storage 24.157
Then all Greeter options are set to non-default values 0.658
After features/support/hooks.rb:326 1.188
After features/support/hooks.rb:100 0.006
Tags: @product
3:11.847
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.524
# 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 32.940
And I shutdown Tails and wait for the computer to power off 10.209
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:48.099
And I change the passphrase of the Persistent Storage back to the original 31.074
After features/support/hooks.rb:326 2.314
After features/support/hooks.rb:100 0.005
Tags: @product
1:0.495
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.998
And I log in to a new session without activating the Persistent Storage 26.198
Then persistence is disabled 0.559
But a Tails persistence partition exists on USB drive "__internal" 7.281
And all notifications have disappeared 7.791
When I delete the persistent partition 7.304
Then there is no persistence partition on USB drive "__internal" 0.361
After features/support/hooks.rb:326 0.762
After features/support/hooks.rb:100 0.000
Tags: @product
2:13.546
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.751
When I write some dotfile expected to persist 0.226
And I shutdown Tails and wait for the computer to power off 8.514
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:54.635
Then the expected persistent dotfile is present in the filesystem 0.417
After features/support/hooks.rb:326 1.242
After features/support/hooks.rb:100 0.006
Tags: @product
1:18.389
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.908
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.136
When I try to enable persistence 0.367
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 27.555
When I log in to a new session after having activated the Persistent Storage 25.865
And all notifications have disappeared 6.924
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.251
And all tps features are enabled 2.157
And all tps features but the first one are active 2.221
After features/support/hooks.rb:326 0.875
After features/support/hooks.rb:100 0.000
Tags: @product
4:50.971
Before features/support/hooks.rb:269 0.003
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:50.308
And I enable persistence 33.917
And I log in to a new session after having activated the Persistent Storage 24.495
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.939
And persistence is enabled 0.310
After features/support/hooks.rb:326 1.483
After features/support/hooks.rb:100 0.000
Tags: @product
28.033
Before features/support/hooks.rb:269 0.003
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.772
And I enable persistence but something goes wrong during the LUKS header upgrade 18.509
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.751
After features/support/hooks.rb:326 0.675
After features/support/hooks.rb:100 0.000
Tags: @product
46.020
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.071
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.746
When I enable persistence 31.752
Then the filesystem of the Persistent Storage was repaired 0.096
And persistence is successfully enabled 0.353
After features/support/hooks.rb:326 1.306
After features/support/hooks.rb:100 0.000
Tags: @product
22.401
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.998
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 4.844
When I try to enable persistence 0.583
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 4.795
When I repair the filesystem of the Persistent Storage 1.235
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.233
And the filesystem of the Persistent Storage was repaired 0.102
When I close the filesystem repair dialog 1.257
Then persistence is successfully enabled 0.350
After features/support/hooks.rb:326 0.888
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:33.763
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.441
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.108
When I try to enable persistence 0.362
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.551
When I repair the filesystem of the Persistent Storage 2.186
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.075
When I log in to a new session 30.370
And all notifications have disappeared 7.893
# 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" 1.238
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.429
When I close the "whisperback" window 1.469
Then the Tor Browser starts 11.303
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 4.332
After features/support/hooks.rb:326 4.373
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:13.790
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.868
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 4.860
And Tails detects disk read failures on the boot device 0.640
When I try to enable persistence 0.583
Then the Welcome Screen tells me that my hardware is probably failing 4.274
When I log in to a new session 23.109
And all notifications have disappeared 7.864
Then the Tor Browser starts 22.743
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.844
After features/support/hooks.rb:326 1.634
After features/support/hooks.rb:100 0.000