Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 5 28 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 37:44.467 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:41.347
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 2:2.713
And I update APT using apt 13.147
And I install "python3-behave" using apt 22.626
Then the Tails Persistent Storage behave tests pass 2.859
After features/support/hooks.rb:326 0.806
After features/support/hooks.rb:100 0.000
Tags: @product
41.592
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.819
When I log in to a new session without activating the Persistent Storage 22.107
Then Tails is running from USB drive "__internal" 0.965
And persistence is disabled 0.502
But a Tails persistence partition exists on USB drive "__internal" 6.197
After features/support/hooks.rb:326 1.113
After features/support/hooks.rb:100 0.000
Tags: @product
2:45.694
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.964
Then Tails is running from USB drive "__internal" 0.352
When I create a file in the Persistent directory 0.132
And I create a persistent partition with the default settings 19.814
Then the file I created was copied to the Persistent Storage 0.455
When I shutdown Tails and wait for the computer to power off 12.440
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:59.918
Then persistence for "Persistent" is active 0.538
And the file I created in the Persistent directory exists 0.077
After features/support/hooks.rb:326 1.547
After features/support/hooks.rb:100 0.006
Tags: @product
54.859
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.534
And the system is very low on memory 4.083
When I create a file in the Persistent directory 1.148
When I try to create a persistent partition 21.465
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.295
When I close the Persistent Storage app 2.653
And I free up some memory 1.284
And I create a persistent partition with the default settings 12.179
Then the file I created was copied to the Persistent Storage 0.214
After features/support/hooks.rb:326 1.412
After features/support/hooks.rb:100 0.000
Tags: @product
2:30.880
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.729
Then Tails is running from USB drive "__internal" 0.422
And all tps features are active 2.458
And all persistent directories have safe access rights 2.253
When I disable the first tps feature 5.162
Then all tps features but the first one are active 2.212
And I shutdown Tails and wait for the computer to power off 10.607
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:54.747
Then all tps features but the first one are active 2.287
After features/support/hooks.rb:326 0.919
After features/support/hooks.rb:100 0.006
Tags: @product
19.216
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.884
Then persistence for "Persistent" is active 0.185
And I create a file in the Persistent directory 0.156
Then the file I created was copied to the Persistent Storage 0.069
When I disable the first tps feature 5.498
Then persistence for "Persistent" is not active 0.078
And the Persistent directory does not exist 0.054
When I enable the first tps feature 3.098
Then persistence for "Persistent" is active 0.119
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:326 0.977
After features/support/hooks.rb:100 0.000
Tags: @product
18.122
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.267
Then persistence for "Persistent" is active 0.166
When I create a file in the Persistent directory 0.074
And I disable the first tps feature 5.028
And I delete the data of the Persistent Folder feature 3.531
Then the file I created does not exist on the Persistent Storage 0.054
After features/support/hooks.rb:326 1.251
After features/support/hooks.rb:100 0.000
Tags: @product
1:2.136
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.220
And the network is plugged 0.098
And Tor is ready 20.435
And I take note of which tps features are available 0.552
When I write some files expected to persist 1.361
And I shutdown Tails and wait for the computer to power off 6.550
# 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.917
After features/support/hooks.rb:326 0.114
After features/support/hooks.rb:100 0.000
Tags: @product
2:54.784
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.789
And the network is plugged 0.067
And Tor is ready 18.092
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.199
And I shutdown Tails and wait for the computer to power off 13.135
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:52.087
And I capture all network traffic 0.004
And the network is plugged 0.074
And Tor is ready 20.779
And I switch to the "persistent-con-current" NetworkManager connection 0.329
And the 1st network device has a spoofed MAC address configured 0.090
And no network device leaked the real MAC address 0.131
After features/support/hooks.rb:326 0.615
After features/support/hooks.rb:100 0.045
Tags: @product
54.971
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.408
And I enable persistence creation in Tails Greeter 1.123
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.178
Then I create a persistent partition with the default settings using the wizard that was already open 20.260
After features/support/hooks.rb:326 2.081
After features/support/hooks.rb:100 0.000
Tags: @product
4:34.188
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.093
When I enable persistence 38.257
Then no persistent Greeter options were restored 14.040
When I set all Greeter options to non-default values 23.409
And I log in to a new session in German (de) after having activated the Persistent Storage 39.347
Then all Greeter options are set to non-default values 0.916
When I cold reboot the computer 9.201
And the computer reboots Tails 1:2.955
Given I enable persistence 31.409
Then persistent Greeter options were restored 14.652
When I log in to a new session after having activated the Persistent Storage 27.577
Then all Greeter options are set to non-default values 0.326
After features/support/hooks.rb:326 1.557
After features/support/hooks.rb:100 0.038
Tags: @product
3:45.333
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.712
# 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 42.010
And I shutdown Tails and wait for the computer to power off 10.539
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:10.956
And I change the passphrase of the Persistent Storage back to the original 32.113
After features/support/hooks.rb:326 1.751
After features/support/hooks.rb:100 0.006
Tags: @product
53.851
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 10.242
And I log in to a new session without activating the Persistent Storage 22.599
Then persistence is disabled 0.591
But a Tails persistence partition exists on USB drive "__internal" 6.780
And all notifications have disappeared 7.380
When I delete the persistent partition 5.822
Then there is no persistence partition on USB drive "__internal" 0.434
After features/support/hooks.rb:326 0.778
After features/support/hooks.rb:100 0.000
Tags: @product
2:16.668
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.497
When I write some dotfile expected to persist 0.150
And I shutdown Tails and wait for the computer to power off 8.546
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:58.121
Then the expected persistent dotfile is present in the filesystem 0.352
After features/support/hooks.rb:326 0.854
After features/support/hooks.rb:100 0.006
Tags: @product
1:20.224
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 9.011
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.084
When I try to enable persistence 0.365
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 27.647
When I log in to a new session after having activated the Persistent Storage 27.384
And all notifications have disappeared 7.442
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.077
And all tps features are enabled 2.292
And all tps features but the first one are active 1.917
After features/support/hooks.rb:326 1.381
After features/support/hooks.rb:100 0.000
Tags: @product
5:18.668
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 4:13.104
And I enable persistence 33.069
And I log in to a new session after having activated the Persistent Storage 31.297
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.036
And persistence is enabled 0.160
After features/support/hooks.rb:326 1.330
After features/support/hooks.rb:100 0.000
Tags: @product
30.395
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.463
And I enable persistence but something goes wrong during the LUKS header upgrade 21.167
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.764
After features/support/hooks.rb:326 0.760
After features/support/hooks.rb:100 0.000
Tags: @product
43.373
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 9.170
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.148
When I enable persistence 29.460
Then the filesystem of the Persistent Storage was repaired 0.085
And persistence is successfully enabled 0.507
After features/support/hooks.rb:326 1.352
After features/support/hooks.rb:100 0.000
Tags: @product
22.579
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.907
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 4.264
When I try to enable persistence 1.520
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 4.753
When I repair the filesystem of the Persistent Storage 1.259
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.186
And the filesystem of the Persistent Storage was repaired 0.091
When I close the filesystem repair dialog 1.253
Then persistence is successfully enabled 0.341
After features/support/hooks.rb:326 0.782
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:38.184
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.469
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.089
When I try to enable persistence 0.390
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.333
When I repair the filesystem of the Persistent Storage 1.251
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.086
When I log in to a new session 30.279
And all notifications have disappeared 7.844
# 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.067
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.308
When I close the "whisperback" window 1.538
Then the Tor Browser starts 17.824
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.701
After features/support/hooks.rb:326 3.013
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:17.393
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.721
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.057
And Tails detects disk read failures on the boot device 0.499
When I try to enable persistence 1.630
Then the Welcome Screen tells me that my hardware is probably failing 4.287
When I log in to a new session 22.772
And all notifications have disappeared 8.264
Then the Tor Browser starts 23.911
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.248
After features/support/hooks.rb:326 1.653
After features/support/hooks.rb:100 0.000