Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 49 26 Nov 2024, 21:31

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 40:9.110 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:28.182
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:46.076
And I update APT using apt 13.596
And I install "python3-behave" using apt 26.008
Then the Tails Persistent Storage behave tests pass 2.500
After features/support/hooks.rb:326 0.807
After features/support/hooks.rb:100 0.000
Tags: @product
49.963
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 14.303
When I log in to a new session without activating the Persistent Storage 24.690
Then Tails is running from USB drive "__internal" 0.875
And persistence is disabled 0.525
But a Tails persistence partition exists on USB drive "__internal" 9.568
After features/support/hooks.rb:326 1.746
After features/support/hooks.rb:100 0.000
Tags: @product
3:4.284
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 13.986
Then Tails is running from USB drive "__internal" 0.408
When I create a file in the Persistent directory 0.152
And I create a persistent partition with the default settings 20.590
Then the file I created was copied to the Persistent Storage 0.541
When I shutdown Tails and wait for the computer to power off 13.178
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.906
Then persistence for "Persistent" is active 0.442
And the file I created in the Persistent directory exists 0.076
After features/support/hooks.rb:326 0.895
After features/support/hooks.rb:100 0.009
Tags: @product
1:24.517
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 43.866
And the system is very low on memory 4.586
When I create a file in the Persistent directory 1.751
When I try to create a persistent partition 16.190
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.508
When I close the Persistent Storage app 2.539
And I free up some memory 1.144
And I create a persistent partition with the default settings 13.692
Then the file I created was copied to the Persistent Storage 0.237
After features/support/hooks.rb:326 1.463
After features/support/hooks.rb:100 0.000
Tags: @product
2:56.701
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 28.348
Then Tails is running from USB drive "__internal" 0.631
And all tps features are active 2.568
And all persistent directories have safe access rights 2.491
When I disable the first tps feature 5.861
Then all tps features but the first one are active 2.354
And I shutdown Tails and wait for the computer to power off 10.972
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:0.745
Then all tps features but the first one are active 2.727
After features/support/hooks.rb:326 1.377
After features/support/hooks.rb:100 0.009
Tags: @product
22.395
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 11.965
Then persistence for "Persistent" is active 0.101
And I create a file in the Persistent directory 0.304
Then the file I created was copied to the Persistent Storage 0.128
When I disable the first tps feature 6.143
Then persistence for "Persistent" is not active 0.073
And the Persistent directory does not exist 0.055
When I enable the first tps feature 3.469
Then persistence for "Persistent" is active 0.084
And the file I created in the Persistent directory exists 0.067
After features/support/hooks.rb:326 1.472
After features/support/hooks.rb:100 0.000
Tags: @product
19.895
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.682
Then persistence for "Persistent" is active 0.104
When I create a file in the Persistent directory 0.152
And I disable the first tps feature 5.949
And I delete the data of the Persistent Folder feature 3.948
Then the file I created does not exist on the Persistent Storage 0.058
After features/support/hooks.rb:326 1.848
After features/support/hooks.rb:100 0.000
Tags: @product
1:9.143
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 9.765
And the network is plugged 0.074
And Tor is ready 23.858
And I take note of which tps features are available 0.600
When I write some files expected to persist 1.731
And I shutdown Tails and wait for the computer to power off 8.370
# 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.742
After features/support/hooks.rb:326 0.132
After features/support/hooks.rb:100 0.000
Tags: @product
3:3.028
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 11.657
And the network is plugged 0.073
And Tor is ready 21.524
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.211
And I shutdown Tails and wait for the computer to power off 10.557
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:58.637
And I capture all network traffic 0.008
And the network is plugged 0.077
And Tor is ready 19.633
And I switch to the "persistent-con-current" NetworkManager connection 0.388
And the 1st network device has a spoofed MAC address configured 0.125
And no network device leaked the real MAC address 0.134
After features/support/hooks.rb:326 0.601
After features/support/hooks.rb:100 0.049
Tags: @product
57.726
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 12.639
And I enable persistence creation in Tails Greeter 1.247
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.537
Then I create a persistent partition with the default settings using the wizard that was already open 20.301
After features/support/hooks.rb:326 2.289
After features/support/hooks.rb:100 0.000
Tags: @product
4:28.132
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 13.932
When I enable persistence 48.304
Then no persistent Greeter options were restored 14.547
When I set all Greeter options to non-default values 22.290
And I log in to a new session in German (de) after having activated the Persistent Storage 40.444
Then all Greeter options are set to non-default values 0.545
When I cold reboot the computer 7.755
And the computer reboots Tails 1:13.347
Given I enable persistence 19.388
Then persistent Greeter options were restored 0.510
When I log in to a new session after having activated the Persistent Storage 26.625
Then all Greeter options are set to non-default values 0.439
After features/support/hooks.rb:326 2.617
After features/support/hooks.rb:100 0.008
Tags: @product
3:52.071
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.106
# 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 45.154
And I shutdown Tails and wait for the computer to power off 12.683
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:14.036
And I change the passphrase of the Persistent Storage back to the original 30.089
After features/support/hooks.rb:326 2.013
After features/support/hooks.rb:100 0.008
Tags: @product
59.973
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.662
And I log in to a new session without activating the Persistent Storage 23.046
Then persistence is disabled 0.517
But a Tails persistence partition exists on USB drive "__internal" 8.294
And all notifications have disappeared 10.499
When I delete the persistent partition 6.489
Then there is no persistence partition on USB drive "__internal" 0.463
After features/support/hooks.rb:326 0.902
After features/support/hooks.rb:100 0.000
Tags: @product
2:30.097
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.171
When I write some dotfile expected to persist 0.295
And I shutdown Tails and wait for the computer to power off 11.544
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.539
Then the expected persistent dotfile is present in the filesystem 0.546
After features/support/hooks.rb:326 0.946
After features/support/hooks.rb:100 0.084
Tags: @product
1:34.036
Before features/support/hooks.rb:269 0.013
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.435
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.076
When I try to enable persistence 0.356
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.939
When I log in to a new session after having activated the Persistent Storage 35.464
And all notifications have disappeared 7.623
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.799
And all tps features are enabled 2.285
And all tps features but the first one are active 2.056
After features/support/hooks.rb:326 1.143
After features/support/hooks.rb:100 0.000
Tags: @product
5:0.723
Before features/support/hooks.rb:269 0.007
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:52.128
And I enable persistence 36.685
And I log in to a new session after having activated the Persistent Storage 25.880
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.015
And persistence is enabled 3.012
After features/support/hooks.rb:326 1.212
After features/support/hooks.rb:100 0.000
Tags: @product
33.214
Before features/support/hooks.rb:269 0.008
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.711
And I enable persistence but something goes wrong during the LUKS header upgrade 22.613
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.889
After features/support/hooks.rb:326 1.270
After features/support/hooks.rb:100 0.000
Tags: @product
46.512
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.734
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 3.839
When I enable persistence 30.202
Then the filesystem of the Persistent Storage was repaired 0.087
And persistence is successfully enabled 2.647
After features/support/hooks.rb:326 1.497
After features/support/hooks.rb:100 0.000
Tags: @product
36.433
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 21.950
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 4.540
When I try to enable persistence 0.694
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 4.988
When I repair the filesystem of the Persistent Storage 1.218
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.297
And the filesystem of the Persistent Storage was repaired 0.107
When I close the filesystem repair dialog 1.221
Then persistence is successfully enabled 1.415
After features/support/hooks.rb:326 0.754
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:45.027
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.294
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.097
When I try to enable persistence 0.375
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 31.770
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.082
When I log in to a new session 30.214
And all notifications have disappeared 8.920
# 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.499
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.207
When I close the "whisperback" window 1.768
Then the Tor Browser starts 19.626
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.901
After features/support/hooks.rb:326 2.712
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:27.050
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.133
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 4.510
And Tails detects disk read failures on the boot device 1.629
When I try to enable persistence 0.676
Then the Welcome Screen tells me that my hardware is probably failing 5.079
When I log in to a new session 23.827
And all notifications have disappeared 6.620
Then the Tor Browser starts 28.277
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 7.297
After features/support/hooks.rb:326 1.520
After features/support/hooks.rb:100 0.000