Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 11 30 Oct 2024, 22:44

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 35:22.995 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:11.199
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:32.908
And I update APT using apt 12.836
And I install "python3-behave" using apt 22.628
Then the Tails Persistent Storage behave tests pass 2.826
After features/support/hooks.rb:326 1.001
After features/support/hooks.rb:100 0.000
Tags: @product
41.606
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 11.378
When I log in to a new session without activating the Persistent Storage 21.690
Then Tails is running from USB drive "__internal" 0.664
And persistence is disabled 0.629
But a Tails persistence partition exists on USB drive "__internal" 7.243
After features/support/hooks.rb:326 1.449
After features/support/hooks.rb:100 0.000
Tags: @product
2:43.803
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.756
Then Tails is running from USB drive "__internal" 0.341
When I create a file in the Persistent directory 0.136
And I create a persistent partition with the default settings 18.543
Then the file I created was copied to the Persistent Storage 0.506
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 1:59.161
Then persistence for "Persistent" is active 0.392
And the file I created in the Persistent directory exists 0.083
After features/support/hooks.rb:326 0.767
After features/support/hooks.rb:100 0.007
Tags: @product
46.795
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.457
And the system is very low on memory 2.361
When I create a file in the Persistent directory 1.065
When I try to create a persistent partition 16.871
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.189
When I close the Persistent Storage app 2.878
And I free up some memory 1.000
And I create a persistent partition with the default settings 11.747
Then the file I created was copied to the Persistent Storage 0.222
After features/support/hooks.rb:326 1.204
After features/support/hooks.rb:100 0.000
Tags: @product
2:29.906
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.815
Then Tails is running from USB drive "__internal" 0.761
And all tps features are active 2.001
And all persistent directories have safe access rights 2.302
When I disable the first tps feature 5.189
Then all tps features but the first one are active 1.852
And I shutdown Tails and wait for the computer to power off 8.563
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:56.094
Then all tps features but the first one are active 2.325
After features/support/hooks.rb:326 0.754
After features/support/hooks.rb:100 0.006
Tags: @product
18.413
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.384
Then persistence for "Persistent" is active 0.113
And I create a file in the Persistent directory 0.077
Then the file I created was copied to the Persistent Storage 0.107
When I disable the first tps feature 5.356
Then persistence for "Persistent" is not active 0.069
And the Persistent directory does not exist 0.046
When I enable the first tps feature 3.102
Then persistence for "Persistent" is active 0.073
And the file I created in the Persistent directory exists 0.081
After features/support/hooks.rb:326 1.571
After features/support/hooks.rb:100 0.000
Tags: @product
18.955
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.730
Then persistence for "Persistent" is active 0.084
When I create a file in the Persistent directory 0.063
And I disable the first tps feature 5.389
And I delete the data of the Persistent Folder feature 3.637
Then the file I created does not exist on the Persistent Storage 0.049
After features/support/hooks.rb:326 1.764
After features/support/hooks.rb:100 0.000
Tags: @product
1:1.195
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.607
And the network is plugged 0.083
And Tor is ready 19.213
And I take note of which tps features are available 0.586
When I write some files expected to persist 1.414
And I shutdown Tails and wait for the computer to power off 6.329
# 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.961
After features/support/hooks.rb:326 0.132
After features/support/hooks.rb:100 0.000
Tags: @product
2:55.305
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 9.342
And the network is plugged 0.098
And Tor is ready 19.534
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.180
And I shutdown Tails and wait for the computer to power off 8.303
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:57.963
And I capture all network traffic 0.007
And the network is plugged 0.081
And Tor is ready 19.148
And I switch to the "persistent-con-current" NetworkManager connection 0.397
And the 1st network device has a spoofed MAC address configured 0.133
And no network device leaked the real MAC address 0.112
After features/support/hooks.rb:326 0.962
After features/support/hooks.rb:100 0.058
Tags: @product
56.111
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 12.902
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 22.384
Then I create a persistent partition with the default settings using the wizard that was already open 19.709
After features/support/hooks.rb:326 2.445
After features/support/hooks.rb:100 0.000
Tags: @product
4:31.768
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 11.901
When I enable persistence 33.808
Then no persistent Greeter options were restored 14.203
When I set all Greeter options to non-default values 21.483
And I log in to a new session in German (de) after having activated the Persistent Storage 43.617
Then all Greeter options are set to non-default values 0.688
When I cold reboot the computer 7.346
And the computer reboots Tails 1:5.571
Given I enable persistence 31.098
Then persistent Greeter options were restored 15.246
When I log in to a new session after having activated the Persistent Storage 25.826
Then all Greeter options are set to non-default values 0.976
After features/support/hooks.rb:326 1.912
After features/support/hooks.rb:100 0.006
Tags: @product
3:20.481
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.613
# 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.126
And I shutdown Tails and wait for the computer to power off 10.617
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:57.660
And I change the passphrase of the Persistent Storage back to the original 30.464
After features/support/hooks.rb:326 1.972
After features/support/hooks.rb:100 0.005
Tags: @product
55.076
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 9.835
And I log in to a new session without activating the Persistent Storage 20.925
Then persistence is disabled 0.405
But a Tails persistence partition exists on USB drive "__internal" 8.201
And all notifications have disappeared 8.429
When I delete the persistent partition 6.855
Then there is no persistence partition on USB drive "__internal" 0.422
After features/support/hooks.rb:326 0.874
After features/support/hooks.rb:100 0.000
Tags: @product
2:10.231
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.797
When I write some dotfile expected to persist 0.070
And I shutdown Tails and wait for the computer to power off 8.545
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:51.401
Then the expected persistent dotfile is present in the filesystem 0.416
After features/support/hooks.rb:326 0.752
After features/support/hooks.rb:100 0.007
Tags: @product
1:25.127
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.839
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.081
When I try to enable persistence 0.265
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.617
When I log in to a new session after having activated the Persistent Storage 31.930
And all notifications have disappeared 6.250
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.131
And all tps features are enabled 2.135
And all tps features but the first one are active 1.875
After features/support/hooks.rb:326 1.275
After features/support/hooks.rb:100 0.000
Tags: @product
4:16.524
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:11.895
And I enable persistence 32.476
And I log in to a new session after having activated the Persistent Storage 30.438
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.552
And persistence is enabled 0.161
After features/support/hooks.rb:326 1.335
After features/support/hooks.rb:100 0.000
Tags: @product
27.979
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.722
And I enable persistence but something goes wrong during the LUKS header upgrade 18.510
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.746
After features/support/hooks.rb:326 0.643
After features/support/hooks.rb:100 0.000
Tags: @product
41.711
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.625
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.695
When I enable persistence 27.676
Then the filesystem of the Persistent Storage was repaired 0.082
And persistence is successfully enabled 0.632
After features/support/hooks.rb:326 1.187
After features/support/hooks.rb:100 0.000
Tags: @product
22.171
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.502
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.679
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.264
When I repair the filesystem of the Persistent Storage 1.261
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.419
And the filesystem of the Persistent Storage was repaired 0.064
When I close the filesystem repair dialog 1.245
Then persistence is successfully enabled 0.340
After features/support/hooks.rb:326 0.741
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:32.734
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.948
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.115
When I try to enable persistence 0.350
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 24.410
When I repair the filesystem of the Persistent Storage 1.800
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.073
When I log in to a new session 29.242
And all notifications have disappeared 7.024
# 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.631
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.346
When I close the "whisperback" window 1.620
Then the Tor Browser starts 17.134
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.036
After features/support/hooks.rb:326 2.447
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:15.894
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.799
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 4.877
And Tails detects disk read failures on the boot device 0.511
When I try to enable persistence 0.662
Then the Welcome Screen tells me that my hardware is probably failing 4.620
When I log in to a new session 22.144
And all notifications have disappeared 8.547
Then the Tor Browser starts 24.989
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.742
After features/support/hooks.rb:326 1.394
After features/support/hooks.rb:100 0.000