Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 42 23 Nov 2024, 07:26

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 41:39.084 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:25.650
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:41.936
And I update APT using apt 13.951
And I install "python3-behave" using apt 26.000
Then the Tails Persistent Storage behave tests pass 3.761
After features/support/hooks.rb:326 0.947
After features/support/hooks.rb:100 0.000
Tags: @product
56.367
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 13.934
When I log in to a new session without activating the Persistent Storage 34.447
Then Tails is running from USB drive "__internal" 0.962
And persistence is disabled 0.666
But a Tails persistence partition exists on USB drive "__internal" 6.355
After features/support/hooks.rb:326 1.771
After features/support/hooks.rb:100 0.000
Tags: @product
3:0.180
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 12.615
Then Tails is running from USB drive "__internal" 0.392
When I create a file in the Persistent directory 0.212
And I create a persistent partition with the default settings 20.786
Then the file I created was copied to the Persistent Storage 0.682
When I shutdown Tails and wait for the computer to power off 19.107
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.907
Then persistence for "Persistent" is active 0.413
And the file I created in the Persistent directory exists 0.063
After features/support/hooks.rb:326 1.565
After features/support/hooks.rb:100 0.009
Tags: @product
1:0.039
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 12.541
And the system is very low on memory 4.309
When I create a file in the Persistent directory 1.237
When I try to create a persistent partition 21.066
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 4.008
When I close the Persistent Storage app 2.680
And I free up some memory 1.243
And I create a persistent partition with the default settings 12.709
Then the file I created was copied to the Persistent Storage 0.244
After features/support/hooks.rb:326 1.344
After features/support/hooks.rb:100 0.000
Tags: @product
2:39.415
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.533
Then Tails is running from USB drive "__internal" 0.562
And all tps features are active 2.328
And all persistent directories have safe access rights 2.662
When I disable the first tps feature 5.983
Then all tps features but the first one are active 2.254
And I shutdown Tails and wait for the computer to power off 13.696
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:57.989
Then all tps features but the first one are active 2.403
After features/support/hooks.rb:326 0.869
After features/support/hooks.rb:100 0.052
Tags: @product
18.963
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.567
Then persistence for "Persistent" is active 0.348
And I create a file in the Persistent directory 0.092
Then the file I created was copied to the Persistent Storage 0.069
When I disable the first tps feature 5.452
Then persistence for "Persistent" is not active 0.098
And the Persistent directory does not exist 0.051
When I enable the first tps feature 3.131
Then persistence for "Persistent" is active 0.083
And the file I created in the Persistent directory exists 0.065
After features/support/hooks.rb:326 1.046
After features/support/hooks.rb:100 0.000
Tags: @product
19.387
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.066
Then persistence for "Persistent" is active 0.717
When I create a file in the Persistent directory 0.090
And I disable the first tps feature 5.669
And I delete the data of the Persistent Folder feature 3.787
Then the file I created does not exist on the Persistent Storage 0.056
After features/support/hooks.rb:326 1.106
After features/support/hooks.rb:100 0.000
Tags: @product
1:5.277
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.821
And the network is plugged 0.100
And Tor is ready 20.167
And I take note of which tps features are available 0.645
When I write some files expected to persist 1.532
And I shutdown Tails and wait for the computer to power off 8.431
# 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.578
After features/support/hooks.rb:326 0.126
After features/support/hooks.rb:100 0.000
Tags: @product
3:0.263
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.199
And the network is plugged 0.081
And Tor is ready 17.921
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.226
And I shutdown Tails and wait for the computer to power off 8.623
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:3.920
And I capture all network traffic 0.008
And the network is plugged 0.102
And Tor is ready 18.521
And I switch to the "persistent-con-current" NetworkManager connection 0.388
And the 1st network device has a spoofed MAC address configured 0.106
And no network device leaked the real MAC address 0.162
After features/support/hooks.rb:326 0.665
After features/support/hooks.rb:100 0.045
Tags: @product
1:2.496
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 13.851
And I enable persistence creation in Tails Greeter 1.116
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.349
Then I create a persistent partition with the default settings using the wizard that was already open 25.178
After features/support/hooks.rb:326 1.850
After features/support/hooks.rb:100 0.000
Tags: @product
4:26.012
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.340
When I enable persistence 46.034
Then no persistent Greeter options were restored 14.266
When I set all Greeter options to non-default values 22.144
And I log in to a new session in German (de) after having activated the Persistent Storage 43.412
Then all Greeter options are set to non-default values 0.499
When I cold reboot the computer 7.609
And the computer reboots Tails 1:6.403
Given I enable persistence 18.949
Then persistent Greeter options were restored 0.610
When I log in to a new session after having activated the Persistent Storage 31.184
Then all Greeter options are set to non-default values 0.557
After features/support/hooks.rb:326 1.426
After features/support/hooks.rb:100 0.008
Tags: @product
3:33.526
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.808
# 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.681
And I shutdown Tails and wait for the computer to power off 12.637
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:1.061
And I change the passphrase of the Persistent Storage back to the original 37.336
After features/support/hooks.rb:326 2.418
After features/support/hooks.rb:100 0.008
Tags: @product
52.584
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 10.065
And I log in to a new session without activating the Persistent Storage 22.117
Then persistence is disabled 0.467
But a Tails persistence partition exists on USB drive "__internal" 7.516
And all notifications have disappeared 6.175
When I delete the persistent partition 5.934
Then there is no persistence partition on USB drive "__internal" 0.308
After features/support/hooks.rb:326 1.693
After features/support/hooks.rb:100 0.000
Tags: @product
2:33.572
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.315
When I write some dotfile expected to persist 0.064
And I shutdown Tails and wait for the computer to power off 8.730
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.950
Then the expected persistent dotfile is present in the filesystem 0.510
After features/support/hooks.rb:326 0.713
After features/support/hooks.rb:100 0.023
Tags: @product
1:34.446
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.971
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.075
When I try to enable persistence 0.367
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 35.909
When I log in to a new session after having activated the Persistent Storage 32.263
And all notifications have disappeared 7.328
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.886
And all tps features are enabled 2.679
And all tps features but the first one are active 1.964
After features/support/hooks.rb:326 1.204
After features/support/hooks.rb:100 0.000
Tags: @product
7:57.552
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 6:46.921
And I enable persistence 36.143
And I log in to a new session after having activated the Persistent Storage 30.877
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.125
And persistence is enabled 2.484
After features/support/hooks.rb:326 1.073
After features/support/hooks.rb:100 0.000
Tags: @product
35.217
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.123
And I enable persistence but something goes wrong during the LUKS header upgrade 25.373
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.719
After features/support/hooks.rb:326 0.706
After features/support/hooks.rb:100 0.000
Tags: @product
51.063
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.321
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.585
When I enable persistence 34.312
Then the filesystem of the Persistent Storage was repaired 0.090
And persistence is successfully enabled 2.752
After features/support/hooks.rb:326 1.291
After features/support/hooks.rb:100 0.000
Tags: @product
25.096
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.464
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.157
When I try to enable persistence 0.607
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.462
When I repair the filesystem of the Persistent Storage 1.514
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.243
And the filesystem of the Persistent Storage was repaired 0.086
When I close the filesystem repair dialog 1.251
Then persistence is successfully enabled 1.308
After features/support/hooks.rb:326 0.753
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:34.849
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.697
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.165
When I try to enable persistence 1.338
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.300
When I repair the filesystem of the Persistent Storage 1.713
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.089
When I log in to a new session 27.298
And all notifications have disappeared 7.675
# 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.903
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.467
When I close the "whisperback" window 1.678
Then the Tor Browser starts 14.784
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.737
After features/support/hooks.rb:326 2.628
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:27.119
Before features/support/hooks.rb:269 0.010
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 12.094
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.435
And Tails detects disk read failures on the boot device 1.602
When I try to enable persistence 0.594
Then the Welcome Screen tells me that my hardware is probably failing 4.642
When I log in to a new session 24.218
And all notifications have disappeared 6.562
Then the Tor Browser starts 27.153
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 4.816
After features/support/hooks.rb:326 1.834
After features/support/hooks.rb:100 0.000