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

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:51.801 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:50.012
Before features/support/hooks.rb:269 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 2:6.918
And I update APT using apt 13.971
And I install "python3-behave" using apt 26.337
Then the Tails Persistent Storage behave tests pass 2.785
After features/support/hooks.rb:326 0.968
After features/support/hooks.rb:100 0.000
Tags: @product
1:27.776
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 47.071
When I log in to a new session without activating the Persistent Storage 26.598
Then Tails is running from USB drive "__internal" 0.729
And persistence is disabled 0.855
But a Tails persistence partition exists on USB drive "__internal" 12.522
After features/support/hooks.rb:326 2.924
After features/support/hooks.rb:100 0.000
Tags: @product
3:27.203
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 38.192
Then Tails is running from USB drive "__internal" 0.605
When I create a file in the Persistent directory 0.157
And I create a persistent partition with the default settings 20.168
Then the file I created was copied to the Persistent Storage 0.636
When I shutdown Tails and wait for the computer to power off 13.257
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.661
Then persistence for "Persistent" is active 0.433
And the file I created in the Persistent directory exists 0.089
After features/support/hooks.rb:326 1.366
After features/support/hooks.rb:100 0.007
Tags: @product
51.370
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.240
And the system is very low on memory 3.562
When I create a file in the Persistent directory 1.086
When I try to create a persistent partition 16.367
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.225
When I close the Persistent Storage app 2.958
And I free up some memory 1.325
And I create a persistent partition with the default settings 13.264
Then the file I created was copied to the Persistent Storage 0.340
After features/support/hooks.rb:326 1.269
After features/support/hooks.rb:100 0.000
Tags: @product
2:48.878
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.761
Then Tails is running from USB drive "__internal" 0.726
And all tps features are active 2.326
And all persistent directories have safe access rights 2.645
When I disable the first tps feature 5.547
Then all tps features but the first one are active 2.120
And I shutdown Tails and wait for the computer to power off 10.571
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.898
Then all tps features but the first one are active 3.279
After features/support/hooks.rb:326 0.843
After features/support/hooks.rb:100 0.009
Tags: @product
20.019
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 10.219
Then persistence for "Persistent" is active 0.156
And I create a file in the Persistent directory 0.074
Then the file I created was copied to the Persistent Storage 0.139
When I disable the first tps feature 5.890
Then persistence for "Persistent" is not active 0.077
And the Persistent directory does not exist 0.069
When I enable the first tps feature 3.195
Then persistence for "Persistent" is active 0.101
And the file I created in the Persistent directory exists 0.095
After features/support/hooks.rb:326 1.246
After features/support/hooks.rb:100 0.000
Tags: @product
19.215
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.464
Then persistence for "Persistent" is active 0.278
When I create a file in the Persistent directory 0.102
And I disable the first tps feature 5.453
And I delete the data of the Persistent Folder feature 3.842
Then the file I created does not exist on the Persistent Storage 0.073
After features/support/hooks.rb:326 1.244
After features/support/hooks.rb:100 0.000
Tags: @product
1:9.929
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.928
And the network is plugged 0.114
And Tor is ready 23.821
And I take note of which tps features are available 0.692
When I write some files expected to persist 1.522
And I shutdown Tails and wait for the computer to power off 8.449
# 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" 25.400
After features/support/hooks.rb:326 0.164
After features/support/hooks.rb:100 0.000
Tags: @product
3:7.910
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.192
And the network is plugged 0.117
And Tor is ready 20.381
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.188
And I shutdown Tails and wait for the computer to power off 8.353
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.121
And I capture all network traffic 0.004
And the network is plugged 0.085
And Tor is ready 18.731
And I switch to the "persistent-con-current" NetworkManager connection 0.422
And the 1st network device has a spoofed MAC address configured 0.135
And no network device leaked the real MAC address 0.174
After features/support/hooks.rb:326 0.755
After features/support/hooks.rb:100 0.057
Tags: @product
1:0.485
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.100
And I enable persistence creation in Tails Greeter 1.153
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.505
Then I create a persistent partition with the default settings using the wizard that was already open 22.726
After features/support/hooks.rb:326 1.864
After features/support/hooks.rb:100 0.000
Tags: @product
4:32.814
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.189
When I enable persistence 43.914
Then no persistent Greeter options were restored 14.410
When I set all Greeter options to non-default values 22.615
And I log in to a new session in German (de) after having activated the Persistent Storage 44.735
Then all Greeter options are set to non-default values 0.239
When I cold reboot the computer 9.715
And the computer reboots Tails 1:6.388
Given I enable persistence 24.225
Then persistent Greeter options were restored 0.621
When I log in to a new session after having activated the Persistent Storage 32.224
Then all Greeter options are set to non-default values 0.534
After features/support/hooks.rb:326 1.347
After features/support/hooks.rb:100 0.012
Tags: @product
4:0.599
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 12.036
# 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 39.291
And I shutdown Tails and wait for the computer to power off 11.179
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:19.338
And I change the passphrase of the Persistent Storage back to the original 38.752
After features/support/hooks.rb:326 2.537
After features/support/hooks.rb:100 0.027
Tags: @product
1:5.467
Before features/support/hooks.rb:269 0.027
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 11.895
And I log in to a new session without activating the Persistent Storage 25.201
Then persistence is disabled 0.613
But a Tails persistence partition exists on USB drive "__internal" 9.176
And all notifications have disappeared 10.451
When I delete the persistent partition 7.724
Then there is no persistence partition on USB drive "__internal" 0.405
After features/support/hooks.rb:326 0.845
After features/support/hooks.rb:100 0.000
Tags: @product
2:33.691
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.653
When I write some dotfile expected to persist 0.366
And I shutdown Tails and wait for the computer to power off 14.020
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.195
Then the expected persistent dotfile is present in the filesystem 0.455
After features/support/hooks.rb:326 1.422
After features/support/hooks.rb:100 0.007
Tags: @product
1:29.003
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.073
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.077
When I try to enable persistence 0.376
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 30.706
When I log in to a new session after having activated the Persistent Storage 31.433
And all notifications have disappeared 7.424
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.536
And all tps features are enabled 2.500
And all tps features but the first one are active 2.875
After features/support/hooks.rb:326 1.955
After features/support/hooks.rb:100 0.000
Tags: @product
5:34.839
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 4:8.069
And I enable persistence 48.516
And I log in to a new session after having activated the Persistent Storage 32.660
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.761
And persistence is enabled 2.830
After features/support/hooks.rb:326 1.534
After features/support/hooks.rb:100 0.000
Tags: @product
34.332
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 9.897
And I enable persistence but something goes wrong during the LUKS header upgrade 23.519
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.915
After features/support/hooks.rb:326 0.775
After features/support/hooks.rb:100 0.000
Tags: @product
52.648
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 9.339
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.216
When I enable persistence 36.168
Then the filesystem of the Persistent Storage was repaired 0.107
And persistence is successfully enabled 2.816
After features/support/hooks.rb:326 1.246
After features/support/hooks.rb:100 0.000
Tags: @product
29.058
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.282
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.474
When I try to enable persistence 1.818
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.452
When I repair the filesystem of the Persistent Storage 1.435
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.287
And the filesystem of the Persistent Storage was repaired 0.410
When I close the filesystem repair dialog 1.267
Then persistence is successfully enabled 1.629
After features/support/hooks.rb:326 0.918
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:47.638
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.191
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.133
When I try to enable persistence 0.393
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 33.728
When I repair the filesystem of the Persistent Storage 1.292
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.360
When I log in to a new session 35.703
And all notifications have disappeared 6.864
# 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.917
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.345
When I close the "whisperback" window 1.519
Then the Tor Browser starts 16.302
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.885
After features/support/hooks.rb:326 3.610
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:28.904
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.289
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.620
And Tails detects disk read failures on the boot device 1.628
When I try to enable persistence 0.720
Then the Welcome Screen tells me that my hardware is probably failing 5.501
When I log in to a new session 29.031
And all notifications have disappeared 10.308
Then the Tor Browser starts 24.571
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 2.233
After features/support/hooks.rb:326 1.664
After features/support/hooks.rb:100 0.000