Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 28 11 Nov 2024, 07:01

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:55.717 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:20.503
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:37.695
And I update APT using apt 14.777
And I install "python3-behave" using apt 25.865
Then the Tails Persistent Storage behave tests pass 2.165
After features/support/hooks.rb:326 0.612
After features/support/hooks.rb:100 0.000
Tags: @product
47.204
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 11.801
When I log in to a new session without activating the Persistent Storage 25.254
Then Tails is running from USB drive "__internal" 0.967
And persistence is disabled 0.462
But a Tails persistence partition exists on USB drive "__internal" 8.718
After features/support/hooks.rb:326 1.975
After features/support/hooks.rb:100 0.000
Tags: @product
2:55.121
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 14.219
Then Tails is running from USB drive "__internal" 0.405
When I create a file in the Persistent directory 0.120
And I create a persistent partition with the default settings 21.392
Then the file I created was copied to the Persistent Storage 0.667
When I shutdown Tails and wait for the computer to power off 12.950
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.773
Then persistence for "Persistent" is active 0.516
And the file I created in the Persistent directory exists 0.075
After features/support/hooks.rb:326 1.044
After features/support/hooks.rb:100 0.008
Tags: @product
52.681
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 11.360
And the system is very low on memory 2.953
When I create a file in the Persistent directory 1.039
When I try to create a persistent partition 20.754
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.560
When I close the Persistent Storage app 2.632
And I free up some memory 0.985
And I create a persistent partition with the default settings 12.148
Then the file I created was copied to the Persistent Storage 0.247
After features/support/hooks.rb:326 1.424
After features/support/hooks.rb:100 0.000
Tags: @product
2:39.504
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 10.348
Then Tails is running from USB drive "__internal" 0.508
And all tps features are active 2.294
And all persistent directories have safe access rights 2.669
When I disable the first tps feature 5.821
Then all tps features but the first one are active 2.185
And I shutdown Tails and wait for the computer to power off 9.139
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.058
Then all tps features but the first one are active 2.478
After features/support/hooks.rb:326 1.012
After features/support/hooks.rb:100 0.010
Tags: @product
18.960
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.474
Then persistence for "Persistent" is active 0.083
And I create a file in the Persistent directory 0.139
Then the file I created was copied to the Persistent Storage 0.104
When I disable the first tps feature 5.737
Then persistence for "Persistent" is not active 0.074
And the Persistent directory does not exist 0.050
When I enable the first tps feature 3.119
Then persistence for "Persistent" is active 0.090
And the file I created in the Persistent directory exists 0.086
After features/support/hooks.rb:326 1.164
After features/support/hooks.rb:100 0.000
Tags: @product
20.442
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.786
Then persistence for "Persistent" is active 0.108
When I create a file in the Persistent directory 0.339
And I disable the first tps feature 6.512
And I delete the data of the Persistent Folder feature 3.635
Then the file I created does not exist on the Persistent Storage 0.060
After features/support/hooks.rb:326 1.187
After features/support/hooks.rb:100 0.000
Tags: @product
1:4.843
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.644
And the network is plugged 0.106
And Tor is ready 19.707
And I take note of which tps features are available 0.703
When I write some files expected to persist 1.518
And I shutdown Tails and wait for the computer to power off 8.535
# 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.627
After features/support/hooks.rb:326 0.161
After features/support/hooks.rb:100 0.000
Tags: @product
3:1.506
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.042
And the network is plugged 0.130
And Tor is ready 18.141
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.212
And I shutdown Tails and wait for the computer to power off 8.709
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:2.826
And I capture all network traffic 0.007
And the network is plugged 0.074
And Tor is ready 20.784
And I switch to the "persistent-con-current" NetworkManager connection 0.340
And the 1st network device has a spoofed MAC address configured 0.101
And no network device leaked the real MAC address 0.134
After features/support/hooks.rb:326 0.577
After features/support/hooks.rb:100 0.049
Tags: @product
59.885
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 13.772
And I enable persistence creation in Tails Greeter 1.418
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.795
Then I create a persistent partition with the default settings using the wizard that was already open 19.899
After features/support/hooks.rb:326 1.413
After features/support/hooks.rb:100 0.000
Tags: @product
4:21.876
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 15.044
When I enable persistence 39.215
Then no persistent Greeter options were restored 14.428
When I set all Greeter options to non-default values 23.912
And I log in to a new session in German (de) after having activated the Persistent Storage 45.178
Then all Greeter options are set to non-default values 0.311
When I cold reboot the computer 7.741
And the computer reboots Tails 1:7.773
Given I enable persistence 18.010
Then persistent Greeter options were restored 0.635
When I log in to a new session after having activated the Persistent Storage 29.264
Then all Greeter options are set to non-default values 0.359
After features/support/hooks.rb:326 1.102
After features/support/hooks.rb:100 0.010
Tags: @product
3:38.131
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.966
# 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 35.855
And I shutdown Tails and wait for the computer to power off 10.416
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:56.512
And I change the passphrase of the Persistent Storage back to the original 45.381
After features/support/hooks.rb:326 2.338
After features/support/hooks.rb:100 0.012
Tags: @product
58.636
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 10.268
And I log in to a new session without activating the Persistent Storage 22.352
Then persistence is disabled 0.564
But a Tails persistence partition exists on USB drive "__internal" 8.506
And all notifications have disappeared 9.374
When I delete the persistent partition 7.129
Then there is no persistence partition on USB drive "__internal" 0.439
After features/support/hooks.rb:326 0.756
After features/support/hooks.rb:100 0.000
Tags: @product
2:14.501
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 10.525
When I write some dotfile expected to persist 0.282
And I shutdown Tails and wait for the computer to power off 8.976
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:54.319
Then the expected persistent dotfile is present in the filesystem 0.397
After features/support/hooks.rb:326 1.279
After features/support/hooks.rb:100 0.009
Tags: @product
1:31.978
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.086
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.125
When I try to enable persistence 1.451
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.167
When I log in to a new session after having activated the Persistent Storage 36.537
And all notifications have disappeared 6.332
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.016
And all tps features are enabled 2.749
And all tps features but the first one are active 2.510
After features/support/hooks.rb:326 1.476
After features/support/hooks.rb:100 0.000
Tags: @product
5:15.837
Before features/support/hooks.rb:269 0.004
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:58.767
And I enable persistence 39.460
And I log in to a new session after having activated the Persistent Storage 33.571
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.442
And persistence is enabled 2.595
After features/support/hooks.rb:326 1.198
After features/support/hooks.rb:100 0.000
Tags: @product
29.394
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.459
And I enable persistence but something goes wrong during the LUKS header upgrade 19.152
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.782
After features/support/hooks.rb:326 0.778
After features/support/hooks.rb:100 0.000
Tags: @product
46.669
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.105
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.075
When I enable persistence 30.526
Then the filesystem of the Persistent Storage was repaired 0.082
And persistence is successfully enabled 2.879
After features/support/hooks.rb:326 1.082
After features/support/hooks.rb:100 0.000
Tags: @product
24.858
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.226
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.140
When I try to enable persistence 0.587
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.499
When I repair the filesystem of the Persistent Storage 1.271
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.246
And the filesystem of the Persistent Storage was repaired 0.096
When I close the filesystem repair dialog 1.262
Then persistence is successfully enabled 1.529
After features/support/hooks.rb:326 0.895
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:37.625
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 8.673
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.101
When I try to enable persistence 0.379
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.653
When I repair the filesystem of the Persistent Storage 1.673
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.107
When I log in to a new session 29.910
And all notifications have disappeared 8.128
# 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.878
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.378
When I close the "whisperback" window 1.643
Then the Tor Browser starts 17.454
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.641
After features/support/hooks.rb:326 2.237
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:15.549
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.302
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.766
And Tails detects disk read failures on the boot device 1.495
When I try to enable persistence 0.620
Then the Welcome Screen tells me that my hardware is probably failing 4.176
When I log in to a new session 23.079
And all notifications have disappeared 9.042
Then the Tor Browser starts 21.245
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.820
After features/support/hooks.rb:326 1.510
After features/support/hooks.rb:100 0.000