Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 18 04 Nov 2024, 06:50

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 39:2.581 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:25.759
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:39.157
And I update APT using apt 17.554
And I install "python3-behave" using apt 25.774
Then the Tails Persistent Storage behave tests pass 3.273
After features/support/hooks.rb:326 0.715
After features/support/hooks.rb:100 0.000
Tags: @product
48.474
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 14.125
When I log in to a new session without activating the Persistent Storage 23.650
Then Tails is running from USB drive "__internal" 0.809
And persistence is disabled 0.946
But a Tails persistence partition exists on USB drive "__internal" 8.941
After features/support/hooks.rb:326 1.574
After features/support/hooks.rb:100 0.000
Tags: @product
2:52.200
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.893
Then Tails is running from USB drive "__internal" 0.750
When I create a file in the Persistent directory 0.130
And I create a persistent partition with the default settings 16.901
Then the file I created was copied to the Persistent Storage 0.556
When I shutdown Tails and wait for the computer to power off 12.696
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.771
Then persistence for "Persistent" is active 0.389
And the file I created in the Persistent directory exists 0.109
After features/support/hooks.rb:326 1.310
After features/support/hooks.rb:100 0.006
Tags: @product
51.446
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 10.712
And the system is very low on memory 4.934
When I create a file in the Persistent directory 0.414
When I try to create a persistent partition 18.893
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.298
When I close the Persistent Storage app 2.583
And I free up some memory 0.912
And I create a persistent partition with the default settings 12.469
Then the file I created was copied to the Persistent Storage 0.226
After features/support/hooks.rb:326 1.294
After features/support/hooks.rb:100 0.000
Tags: @product
2:37.200
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 11.079
Then Tails is running from USB drive "__internal" 0.423
And all tps features are active 2.432
And all persistent directories have safe access rights 2.833
When I disable the first tps feature 5.680
Then all tps features but the first one are active 2.115
And I shutdown Tails and wait for the computer to power off 10.624
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:59.643
Then all tps features but the first one are active 2.365
After features/support/hooks.rb:326 0.792
After features/support/hooks.rb:100 0.007
Tags: @product
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 enabled and logged in 10.423
Then persistence for "Persistent" is active 0.211
And I create a file in the Persistent directory 0.148
Then the file I created was copied to the Persistent Storage 0.112
When I disable the first tps feature 5.964
Then persistence for "Persistent" is not active 0.072
And the Persistent directory does not exist 0.067
When I enable the first tps feature 3.093
Then persistence for "Persistent" is active 0.065
And the file I created in the Persistent directory exists 0.065
After features/support/hooks.rb:326 1.272
After features/support/hooks.rb:100 0.000
Tags: @product
18.828
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.294
Then persistence for "Persistent" is active 0.169
When I create a file in the Persistent directory 0.125
And I disable the first tps feature 5.516
And I delete the data of the Persistent Folder feature 3.650
Then the file I created does not exist on the Persistent Storage 0.071
After features/support/hooks.rb:326 1.571
After features/support/hooks.rb:100 0.000
Tags: @product
1:5.862
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.746
And the network is plugged 0.176
And Tor is ready 21.047
And I take note of which tps features are available 0.577
When I write some files expected to persist 1.475
And I shutdown Tails and wait for the computer to power off 8.564
# 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.273
After features/support/hooks.rb:326 0.134
After features/support/hooks.rb:100 0.000
Tags: @product
2:56.561
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.310
And the network is plugged 0.071
And Tor is ready 18.289
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.219
And I shutdown Tails and wait for the computer to power off 8.572
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:58.313
And I capture all network traffic 0.009
And the network is plugged 0.071
And Tor is ready 21.012
And I switch to the "persistent-con-current" NetworkManager connection 0.404
And the 1st network device has a spoofed MAC address configured 0.118
And no network device leaked the real MAC address 0.168
After features/support/hooks.rb:326 0.700
After features/support/hooks.rb:100 0.066
Tags: @product
1:13.543
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 18.371
And I enable persistence creation in Tails Greeter 1.409
And I log in to a new session expecting no warning about the Persistent Storage not being activated 25.862
Then I create a persistent partition with the default settings using the wizard that was already open 27.900
After features/support/hooks.rb:326 1.462
After features/support/hooks.rb:100 0.000
Tags: @product
4:6.587
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 12.237
When I enable persistence 37.636
Then no persistent Greeter options were restored 14.691
When I set all Greeter options to non-default values 24.724
And I log in to a new session in German (de) after having activated the Persistent Storage 38.983
Then all Greeter options are set to non-default values 0.598
When I cold reboot the computer 7.369
And the computer reboots Tails 1:6.183
Given I enable persistence 18.813
Then persistent Greeter options were restored 0.478
When I log in to a new session after having activated the Persistent Storage 23.484
Then all Greeter options are set to non-default values 1.386
After features/support/hooks.rb:326 1.701
After features/support/hooks.rb:100 0.006
Tags: @product
3:22.134
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.673
# 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 33.670
And I shutdown Tails and wait for the computer to power off 10.311
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:55.806
And I change the passphrase of the Persistent Storage back to the original 32.671
After features/support/hooks.rb:326 3.089
After features/support/hooks.rb:100 0.007
Tags: @product
1:5.203
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 11.035
And I log in to a new session without activating the Persistent Storage 32.130
Then persistence is disabled 0.649
But a Tails persistence partition exists on USB drive "__internal" 4.356
And all notifications have disappeared 9.513
When I delete the persistent partition 7.110
Then there is no persistence partition on USB drive "__internal" 0.408
After features/support/hooks.rb:326 0.980
After features/support/hooks.rb:100 0.000
Tags: @product
2:20.912
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.516
When I write some dotfile expected to persist 0.079
And I shutdown Tails and wait for the computer to power off 9.056
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:0.846
Then the expected persistent dotfile is present in the filesystem 0.414
After features/support/hooks.rb:326 1.230
After features/support/hooks.rb:100 0.006
Tags: @product
1:36.610
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.565
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.137
When I try to enable persistence 0.435
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 32.792
When I log in to a new session after having activated the Persistent Storage 35.961
And all notifications have disappeared 7.465
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.011
And all tps features are enabled 4.023
And all tps features but the first one are active 2.215
After features/support/hooks.rb:326 2.759
After features/support/hooks.rb:100 0.000
Tags: @product
6:18.882
Before features/support/hooks.rb:269 0.002
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 5:7.825
And I enable persistence 36.564
And I log in to a new session after having activated the Persistent Storage 29.606
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.024
And persistence is enabled 2.861
After features/support/hooks.rb:326 2.032
After features/support/hooks.rb:100 0.000
Tags: @product
32.055
Before features/support/hooks.rb:269 0.002
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.438
And I enable persistence but something goes wrong during the LUKS header upgrade 21.745
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.871
After features/support/hooks.rb:326 0.739
After features/support/hooks.rb:100 0.000
Tags: @product
52.193
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.575
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.730
When I enable persistence 34.806
Then the filesystem of the Persistent Storage was repaired 0.228
And persistence is successfully enabled 2.853
After features/support/hooks.rb:326 1.702
After features/support/hooks.rb:100 0.000
Tags: @product
27.037
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.929
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.004
When I try to enable persistence 0.633
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.893
When I repair the filesystem of the Persistent Storage 1.276
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.256
And the filesystem of the Persistent Storage was repaired 0.089
When I close the filesystem repair dialog 1.333
Then persistence is successfully enabled 1.620
After features/support/hooks.rb:326 1.109
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:31.355
Before features/support/hooks.rb:269 0.011
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.217
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.101
When I try to enable persistence 0.404
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.694
When I repair the filesystem of the Persistent Storage 1.195
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.080
When I log in to a new session 25.734
And all notifications have disappeared 8.364
# 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.789
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.186
When I close the "whisperback" window 1.529
Then the Tor Browser starts 16.230
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.826
After features/support/hooks.rb:326 2.110
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:19.506
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.846
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.649
And Tails detects disk read failures on the boot device 1.681
When I try to enable persistence 0.815
Then the Welcome Screen tells me that my hardware is probably failing 4.927
When I log in to a new session 25.170
And all notifications have disappeared 9.921
Then the Tor Browser starts 20.590
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.903
After features/support/hooks.rb:326 1.909
After features/support/hooks.rb:100 0.000