Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 70 16 Dec 2024, 07: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 37:14.212 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:13.991
Before features/support/hooks.rb:269 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:34.607
And I update APT using apt 13.785
And I install "python3-behave" using apt 22.818
Then the Tails Persistent Storage behave tests pass 2.779
After features/support/hooks.rb:326 1.077
After features/support/hooks.rb:100 0.000
Tags: @product
44.043
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 11.786
When I log in to a new session without activating the Persistent Storage 23.403
Then Tails is running from USB drive "__internal" 0.761
And persistence is disabled 0.529
But a Tails persistence partition exists on USB drive "__internal" 7.562
After features/support/hooks.rb:326 1.284
After features/support/hooks.rb:100 0.000
Tags: @product
2:57.342
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive without a persistent partition and logged in 18.717
Then Tails is running from USB drive "__internal" 0.506
When I create a file in the Persistent directory 0.138
And I create a persistent partition with the default settings 18.951
Then the file I created was copied to the Persistent Storage 0.572
When I shutdown Tails and wait for the computer to power off 12.383
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.432
Then persistence for "Persistent" is active 0.558
And the file I created in the Persistent directory exists 0.081
After features/support/hooks.rb:326 1.077
After features/support/hooks.rb:100 0.008
Tags: @product
45.113
Before features/support/hooks.rb:269 0.029
Given I have started Tails without network from a USB drive without a persistent partition and logged in 10.731
And the system is very low on memory 3.095
When I create a file in the Persistent directory 1.082
When I try to create a persistent partition 14.162
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.390
When I close the Persistent Storage app 2.598
And I free up some memory 0.965
And I create a persistent partition with the default settings 11.864
Then the file I created was copied to the Persistent Storage 0.221
After features/support/hooks.rb:326 1.386
After features/support/hooks.rb:100 0.000
Tags: @product
2:32.108
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 10.560
Then Tails is running from USB drive "__internal" 0.515
And all tps features are active 2.244
And all persistent directories have safe access rights 2.559
When I disable the first tps feature 5.320
Then all tps features but the first one are active 2.153
And I shutdown Tails and wait for the computer to power off 8.473
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:57.950
Then all tps features but the first one are active 2.331
After features/support/hooks.rb:326 1.181
After features/support/hooks.rb:100 0.007
Tags: @product
18.504
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.828
Then persistence for "Persistent" is active 0.139
And I create a file in the Persistent directory 0.073
Then the file I created was copied to the Persistent Storage 0.073
When I disable the first tps feature 5.018
Then persistence for "Persistent" is not active 0.070
And the Persistent directory does not exist 0.063
When I enable the first tps feature 3.082
Then persistence for "Persistent" is active 0.077
And the file I created in the Persistent directory exists 0.076
After features/support/hooks.rb:326 1.144
After features/support/hooks.rb:100 0.000
Tags: @product
18.574
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.699
Then persistence for "Persistent" is active 0.157
When I create a file in the Persistent directory 0.067
And I disable the first tps feature 4.914
And I delete the data of the Persistent Folder feature 3.676
Then the file I created does not exist on the Persistent Storage 0.060
After features/support/hooks.rb:326 1.670
After features/support/hooks.rb:100 0.000
Tags: @product
1:5.976
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.489
And the network is plugged 0.103
And Tor is ready 23.709
And I take note of which tps features are available 0.618
When I write some files expected to persist 1.481
And I shutdown Tails and wait for the computer to power off 6.440
# 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.133
After features/support/hooks.rb:326 0.161
After features/support/hooks.rb:100 0.000
Tags: @product
2:48.036
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.666
And the network is plugged 0.089
And Tor is ready 18.719
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.214
And I shutdown Tails and wait for the computer to power off 6.562
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:52.397
And I capture all network traffic 0.008
And the network is plugged 0.075
And Tor is ready 19.665
And I switch to the "persistent-con-current" NetworkManager connection 0.406
And the 1st network device has a spoofed MAC address configured 0.092
And no network device leaked the real MAC address 0.136
After features/support/hooks.rb:326 0.647
After features/support/hooks.rb:100 0.070
Tags: @product
55.666
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 12.490
And I enable persistence creation in Tails Greeter 1.123
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.108
Then I create a persistent partition with the default settings using the wizard that was already open 20.943
After features/support/hooks.rb:326 1.474
After features/support/hooks.rb:100 0.000
Tags: @product
4:3.822
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 12.881
When I enable persistence 34.679
Then no persistent Greeter options were restored 13.629
When I set all Greeter options to non-default values 21.960
And I log in to a new session in German (de) after having activated the Persistent Storage 39.753
Then all Greeter options are set to non-default values 0.603
When I cold reboot the computer 7.603
And the computer reboots Tails 1:4.709
Given I enable persistence 17.702
Then persistent Greeter options were restored 0.542
When I log in to a new session after having activated the Persistent Storage 29.416
Then all Greeter options are set to non-default values 0.340
After features/support/hooks.rb:326 0.964
After features/support/hooks.rb:100 0.007
Tags: @product
3:42.253
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.884
# 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 35.018
And I shutdown Tails and wait for the computer to power off 10.569
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:10.646
And I change the passphrase of the Persistent Storage back to the original 36.134
After features/support/hooks.rb:326 1.735
After features/support/hooks.rb:100 0.008
Tags: @product
1:1.549
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 10.482
And I log in to a new session without activating the Persistent Storage 25.444
Then persistence is disabled 0.696
But a Tails persistence partition exists on USB drive "__internal" 8.725
And all notifications have disappeared 9.551
When I delete the persistent partition 6.352
Then there is no persistence partition on USB drive "__internal" 0.295
After features/support/hooks.rb:326 0.929
After features/support/hooks.rb:100 0.000
Tags: @product
2:17.857
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.576
When I write some dotfile expected to persist 0.188
And I shutdown Tails and wait for the computer to power off 8.613
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:58.997
Then the expected persistent dotfile is present in the filesystem 0.481
After features/support/hooks.rb:326 1.449
After features/support/hooks.rb:100 0.031
Tags: @product
1:28.138
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.381
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.081
When I try to enable persistence 0.369
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 28.306
When I log in to a new session after having activated the Persistent Storage 34.786
And all notifications have disappeared 7.153
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.678
And all tps features are enabled 2.316
And all tps features but the first one are active 2.064
After features/support/hooks.rb:326 1.141
After features/support/hooks.rb:100 0.000
Tags: @product
5:15.889
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 4:6.025
And I enable persistence 33.436
And I log in to a new session after having activated the Persistent Storage 31.695
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.726
And persistence is enabled 3.004
After features/support/hooks.rb:326 1.338
After features/support/hooks.rb:100 0.000
Tags: @product
31.936
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 8.946
And I enable persistence but something goes wrong during the LUKS header upgrade 22.244
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.745
After features/support/hooks.rb:326 0.836
After features/support/hooks.rb:100 0.000
Tags: @product
49.056
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.105
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.494
When I enable persistence 30.765
Then the filesystem of the Persistent Storage was repaired 0.085
And persistence is successfully enabled 2.606
After features/support/hooks.rb:326 1.334
After features/support/hooks.rb:100 0.000
Tags: @product
24.352
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 8.883
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.603
When I try to enable persistence 0.597
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.119
When I repair the filesystem of the Persistent Storage 1.259
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.219
And the filesystem of the Persistent Storage was repaired 0.070
When I close the filesystem repair dialog 1.245
Then persistence is successfully enabled 1.355
After features/support/hooks.rb:326 0.791
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:42.780
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.075
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.100
When I try to enable persistence 0.384
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.070
When I repair the filesystem of the Persistent Storage 4.998
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 3.913
When I log in to a new session 26.382
And all notifications have disappeared 6.637
# 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.980
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.414
When I close the "whisperback" window 2.189
Then the Tor Browser starts 20.274
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.358
After features/support/hooks.rb:326 3.094
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:17.218
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.018
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 4.378
And Tails detects disk read failures on the boot device 1.514
When I try to enable persistence 0.674
Then the Welcome Screen tells me that my hardware is probably failing 4.589
When I log in to a new session 22.915
And all notifications have disappeared 8.350
Then the Tor Browser starts 24.838
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.938
After features/support/hooks.rb:326 1.320
After features/support/hooks.rb:100 0.000