Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 57 06 Dec 2024, 07:15

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:33.063 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:28.021
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 1:46.367
And I update APT using apt 13.495
And I install "python3-behave" using apt 25.866
Then the Tails Persistent Storage behave tests pass 2.290
After features/support/hooks.rb:326 0.698
After features/support/hooks.rb:100 0.000
Tags: @product
1:3.428
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 31.352
When I log in to a new session without activating the Persistent Storage 22.962
Then Tails is running from USB drive "__internal" 1.072
And persistence is disabled 0.478
But a Tails persistence partition exists on USB drive "__internal" 7.561
After features/support/hooks.rb:326 1.452
After features/support/hooks.rb:100 0.000
Tags: @product
3:1.059
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 14.677
Then Tails is running from USB drive "__internal" 0.454
When I create a file in the Persistent directory 0.123
And I create a persistent partition with the default settings 20.774
Then the file I created was copied to the Persistent Storage 0.526
When I shutdown Tails and wait for the computer to power off 16.033
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.991
Then persistence for "Persistent" is active 0.406
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:326 1.243
After features/support/hooks.rb:100 0.009
Tags: @product
46.639
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.285
And the system is very low on memory 3.524
When I create a file in the Persistent directory 0.842
When I try to create a persistent partition 13.027
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.185
When I close the Persistent Storage app 2.648
And I free up some memory 1.266
And I create a persistent partition with the default settings 12.562
Then the file I created was copied to the Persistent Storage 0.295
After features/support/hooks.rb:326 1.273
After features/support/hooks.rb:100 0.000
Tags: @product
2:52.002
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.971
Then Tails is running from USB drive "__internal" 0.431
And all tps features are active 2.229
And all persistent directories have safe access rights 2.752
When I disable the first tps feature 5.086
Then all tps features but the first one are active 2.230
And I shutdown Tails and wait for the computer to power off 11.273
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.170
Then all tps features but the first one are active 2.856
After features/support/hooks.rb:326 1.085
After features/support/hooks.rb:100 0.011
Tags: @product
19.407
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.119
Then persistence for "Persistent" is active 0.087
And I create a file in the Persistent directory 0.115
Then the file I created was copied to the Persistent Storage 0.086
When I disable the first tps feature 5.421
Then persistence for "Persistent" is not active 0.079
And the Persistent directory does not exist 0.057
When I enable the first tps feature 3.262
Then persistence for "Persistent" is active 0.084
And the file I created in the Persistent directory exists 0.093
After features/support/hooks.rb:326 1.295
After features/support/hooks.rb:100 0.000
Tags: @product
18.983
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.760
Then persistence for "Persistent" is active 0.088
When I create a file in the Persistent directory 0.095
And I disable the first tps feature 5.329
And I delete the data of the Persistent Folder feature 3.647
Then the file I created does not exist on the Persistent Storage 0.062
After features/support/hooks.rb:326 1.150
After features/support/hooks.rb:100 0.000
Tags: @product
1:1.857
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.672
And the network is plugged 0.128
And Tor is ready 18.858
And I take note of which tps features are available 0.630
When I write some files expected to persist 1.563
And I shutdown Tails and wait for the computer to power off 6.759
# 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.243
After features/support/hooks.rb:326 0.152
After features/support/hooks.rb:100 0.000
Tags: @product
3:2.418
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.758
And the network is plugged 0.084
And Tor is ready 18.035
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.229
And I shutdown Tails and wait for the computer to power off 8.825
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.654
And I capture all network traffic 0.008
And the network is plugged 0.071
And Tor is ready 18.039
And I switch to the "persistent-con-current" NetworkManager connection 0.427
And the 1st network device has a spoofed MAC address configured 0.151
And no network device leaked the real MAC address 0.131
After features/support/hooks.rb:326 0.671
After features/support/hooks.rb:100 0.049
Tags: @product
1:1.963
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 17.601
And I enable persistence creation in Tails Greeter 1.156
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.974
Then I create a persistent partition with the default settings using the wizard that was already open 21.230
After features/support/hooks.rb:326 1.582
After features/support/hooks.rb:100 0.000
Tags: @product
4:12.002
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.193
When I enable persistence 39.722
Then no persistent Greeter options were restored 14.346
When I set all Greeter options to non-default values 21.458
And I log in to a new session in German (de) after having activated the Persistent Storage 43.117
Then all Greeter options are set to non-default values 0.687
When I cold reboot the computer 7.558
And the computer reboots Tails 1:9.971
Given I enable persistence 18.084
Then persistent Greeter options were restored 0.579
When I log in to a new session after having activated the Persistent Storage 24.170
Then all Greeter options are set to non-default values 1.110
After features/support/hooks.rb:326 2.429
After features/support/hooks.rb:100 0.009
Tags: @product
3:55.595
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.828
# 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 40.762
And I shutdown Tails and wait for the computer to power off 14.837
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:14.944
And I change the passphrase of the Persistent Storage back to the original 34.222
After features/support/hooks.rb:326 2.151
After features/support/hooks.rb:100 0.011
Tags: @product
57.286
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.377
And I log in to a new session without activating the Persistent Storage 22.116
Then persistence is disabled 0.771
But a Tails persistence partition exists on USB drive "__internal" 8.152
And all notifications have disappeared 9.829
When I delete the persistent partition 6.655
Then there is no persistence partition on USB drive "__internal" 0.384
After features/support/hooks.rb:326 1.183
After features/support/hooks.rb:100 0.000
Tags: @product
2:23.807
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.637
When I write some dotfile expected to persist 0.101
And I shutdown Tails and wait for the computer to power off 8.845
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:3.856
Then the expected persistent dotfile is present in the filesystem 0.366
After features/support/hooks.rb:326 1.081
After features/support/hooks.rb:100 0.008
Tags: @product
1:35.384
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.834
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.088
When I try to enable persistence 0.436
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 34.109
When I log in to a new session after having activated the Persistent Storage 35.650
And all notifications have disappeared 6.893
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.942
And all tps features are enabled 2.246
And all tps features but the first one are active 2.183
After features/support/hooks.rb:326 1.324
After features/support/hooks.rb:100 0.000
Tags: @product
5:24.613
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 4:12.451
And I enable persistence 37.522
And I log in to a new session after having activated the Persistent Storage 30.572
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.957
And persistence is enabled 3.109
After features/support/hooks.rb:326 1.029
After features/support/hooks.rb:100 0.000
Tags: @product
29.908
Before features/support/hooks.rb:269 0.006
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 8.919
And I enable persistence but something goes wrong during the LUKS header upgrade 20.163
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.825
After features/support/hooks.rb:326 0.829
After features/support/hooks.rb:100 0.000
Tags: @product
1:1.880
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.870
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.776
When I enable persistence 44.290
Then the filesystem of the Persistent Storage was repaired 0.085
And persistence is successfully enabled 2.856
After features/support/hooks.rb:326 1.471
After features/support/hooks.rb:100 0.000
Tags: @product
25.486
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.239
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.525
When I try to enable persistence 0.645
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.674
When I repair the filesystem of the Persistent Storage 1.280
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.249
And the filesystem of the Persistent Storage was repaired 0.068
When I close the filesystem repair dialog 1.280
Then persistence is successfully enabled 1.522
After features/support/hooks.rb:326 0.983
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:43.062
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 8.997
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.103
When I try to enable persistence 0.581
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 31.070
When I repair the filesystem of the Persistent Storage 1.270
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.097
When I log in to a new session 30.615
And all notifications have disappeared 8.013
# 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.806
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.447
When I close the "whisperback" window 1.833
Then the Tor Browser starts 15.842
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 3.381
After features/support/hooks.rb:326 3.280
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:28.252
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.289
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 4.239
And Tails detects disk read failures on the boot device 1.697
When I try to enable persistence 0.598
Then the Welcome Screen tells me that my hardware is probably failing 4.643
When I log in to a new session 26.476
And all notifications have disappeared 10.492
Then the Tor Browser starts 26.066
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 4.748
After features/support/hooks.rb:326 1.798
After features/support/hooks.rb:100 0.000