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

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:25.681 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:33.375
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:50.616
And I update APT using apt 13.352
And I install "python3-behave" using apt 26.057
Then the Tails Persistent Storage behave tests pass 3.349
After features/support/hooks.rb:326 0.757
After features/support/hooks.rb:100 0.000
Tags: @product
52.881
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 15.101
When I log in to a new session without activating the Persistent Storage 27.079
Then Tails is running from USB drive "__internal" 1.196
And persistence is disabled 0.591
But a Tails persistence partition exists on USB drive "__internal" 8.912
After features/support/hooks.rb:326 1.732
After features/support/hooks.rb:100 0.000
Tags: @product
3:4.738
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive without a persistent partition and logged in 18.340
Then Tails is running from USB drive "__internal" 0.455
When I create a file in the Persistent directory 0.161
And I create a persistent partition with the default settings 20.150
Then the file I created was copied to the Persistent Storage 0.714
When I shutdown Tails and wait for the computer to power off 15.408
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.923
Then persistence for "Persistent" is active 0.510
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:326 1.547
After features/support/hooks.rb:100 0.009
Tags: @product
54.082
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 12.869
And the system is very low on memory 3.450
When I create a file in the Persistent directory 0.916
When I try to create a persistent partition 19.774
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.169
When I close the Persistent Storage app 3.145
And I free up some memory 1.354
And I create a persistent partition with the default settings 12.122
Then the file I created was copied to the Persistent Storage 0.280
After features/support/hooks.rb:326 1.466
After features/support/hooks.rb:100 0.000
Tags: @product
2:38.981
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 11.765
Then Tails is running from USB drive "__internal" 0.559
And all tps features are active 2.405
And all persistent directories have safe access rights 2.994
When I disable the first tps feature 5.802
Then all tps features but the first one are active 2.363
And I shutdown Tails and wait for the computer to power off 11.218
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:59.517
Then all tps features but the first one are active 2.354
After features/support/hooks.rb:326 0.946
After features/support/hooks.rb:100 0.008
Tags: @product
19.293
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.956
Then persistence for "Persistent" is active 0.193
And I create a file in the Persistent directory 0.128
Then the file I created was copied to the Persistent Storage 0.069
When I disable the first tps feature 5.524
Then persistence for "Persistent" is not active 0.081
And the Persistent directory does not exist 0.063
When I enable the first tps feature 3.105
Then persistence for "Persistent" is active 0.100
And the file I created in the Persistent directory exists 0.071
After features/support/hooks.rb:326 1.268
After features/support/hooks.rb:100 0.000
Tags: @product
18.851
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.143
Then persistence for "Persistent" is active 0.117
When I create a file in the Persistent directory 0.075
And I disable the first tps feature 5.782
And I delete the data of the Persistent Folder feature 3.665
Then the file I created does not exist on the Persistent Storage 0.066
After features/support/hooks.rb:326 5.248
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.941
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.758
And the network is plugged 0.083
And Tor is ready 21.141
And I take note of which tps features are available 0.659
When I write some files expected to persist 1.767
And I shutdown Tails and wait for the computer to power off 8.838
# 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.691
After features/support/hooks.rb:326 0.154
After features/support/hooks.rb:100 0.000
Tags: @product
3:1.850
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.449
And the network is plugged 0.066
And Tor is ready 18.687
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.215
And I shutdown Tails and wait for the computer to power off 8.587
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.596
And I capture all network traffic 0.007
And the network is plugged 0.072
And Tor is ready 19.533
And I switch to the "persistent-con-current" NetworkManager connection 0.377
And the 1st network device has a spoofed MAC address configured 0.100
And no network device leaked the real MAC address 0.156
After features/support/hooks.rb:326 0.770
After features/support/hooks.rb:100 0.058
Tags: @product
59.001
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.156
And I enable persistence creation in Tails Greeter 1.338
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.241
Then I create a persistent partition with the default settings using the wizard that was already open 20.264
After features/support/hooks.rb:326 1.478
After features/support/hooks.rb:100 0.000
Tags: @product
4:33.008
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.156
When I enable persistence 40.950
Then no persistent Greeter options were restored 14.321
When I set all Greeter options to non-default values 27.055
And I log in to a new session in German (de) after having activated the Persistent Storage 39.243
Then all Greeter options are set to non-default values 0.701
When I cold reboot the computer 9.422
And the computer reboots Tails 1:11.878
Given I enable persistence 24.908
Then persistent Greeter options were restored 0.563
When I log in to a new session after having activated the Persistent Storage 29.296
Then all Greeter options are set to non-default values 0.507
After features/support/hooks.rb:326 1.144
After features/support/hooks.rb:100 0.010
Tags: @product
3:35.980
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.207
# 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.527
And I shutdown Tails and wait for the computer to power off 10.718
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:5.869
And I change the passphrase of the Persistent Storage back to the original 29.657
After features/support/hooks.rb:326 2.323
After features/support/hooks.rb:100 0.009
Tags: @product
1:2.926
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 10.473
And I log in to a new session without activating the Persistent Storage 26.163
Then persistence is disabled 0.478
But a Tails persistence partition exists on USB drive "__internal" 7.743
And all notifications have disappeared 10.049
When I delete the persistent partition 7.700
Then there is no persistence partition on USB drive "__internal" 0.316
After features/support/hooks.rb:326 0.940
After features/support/hooks.rb:100 0.000
Tags: @product
2:24.373
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.343
When I write some dotfile expected to persist 0.191
And I shutdown Tails and wait for the computer to power off 15.439
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:57.728
Then the expected persistent dotfile is present in the filesystem 0.669
After features/support/hooks.rb:326 1.266
After features/support/hooks.rb:100 0.009
Tags: @product
1:35.940
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.044
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.091
When I try to enable persistence 0.400
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 34.600
When I log in to a new session after having activated the Persistent Storage 34.672
And all notifications have disappeared 7.537
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.157
And all tps features are enabled 3.072
And all tps features but the first one are active 2.363
After features/support/hooks.rb:326 1.516
After features/support/hooks.rb:100 0.000
Tags: @product
5:26.694
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 4:14.552
And I enable persistence 39.300
And I log in to a new session after having activated the Persistent Storage 27.024
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.991
And persistence is enabled 2.826
After features/support/hooks.rb:326 1.158
After features/support/hooks.rb:100 0.000
Tags: @product
31.356
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 9.099
And I enable persistence but something goes wrong during the LUKS header upgrade 21.100
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 1.157
After features/support/hooks.rb:326 0.907
After features/support/hooks.rb:100 0.000
Tags: @product
1:3.412
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.941
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.868
When I enable persistence 45.713
Then the filesystem of the Persistent Storage was repaired 0.073
And persistence is successfully enabled 2.815
After features/support/hooks.rb:326 1.534
After features/support/hooks.rb:100 0.000
Tags: @product
24.870
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.224
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.122
When I try to enable persistence 0.619
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.713
When I repair the filesystem of the Persistent Storage 1.215
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.279
And the filesystem of the Persistent Storage was repaired 0.087
When I close the filesystem repair dialog 1.231
Then persistence is successfully enabled 1.376
After features/support/hooks.rb:326 1.018
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:39.177
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.140
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.106
When I try to enable persistence 0.416
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.582
When I repair the filesystem of the Persistent Storage 1.596
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.150
When I log in to a new session 30.303
And all notifications have disappeared 8.162
# 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.790
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.397
When I close the "whisperback" window 1.551
Then the Tor Browser starts 18.249
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.728
After features/support/hooks.rb:326 2.773
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:17.941
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 8.863
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.144
And Tails detects disk read failures on the boot device 0.548
When I try to enable persistence 0.604
Then the Welcome Screen tells me that my hardware is probably failing 4.812
When I log in to a new session 23.490
And all notifications have disappeared 8.875
Then the Tor Browser starts 24.891
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.710
After features/support/hooks.rb:326 1.444
After features/support/hooks.rb:100 0.000