Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 19 04 Nov 2024, 16:49

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 44:6.231 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:17.229
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:35.314
And I update APT using apt 13.065
And I install "python3-behave" using apt 26.271
Then the Tails Persistent Storage behave tests pass 2.577
After features/support/hooks.rb:326 0.707
After features/support/hooks.rb:100 0.000
Tags: @product
1:27.143
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 42.261
When I log in to a new session without activating the Persistent Storage 31.614
Then Tails is running from USB drive "__internal" 1.306
And persistence is disabled 0.914
But a Tails persistence partition exists on USB drive "__internal" 11.046
After features/support/hooks.rb:326 1.747
After features/support/hooks.rb:100 0.000
Tags: @product
4:3.930
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 57.868
Then Tails is running from USB drive "__internal" 0.592
When I create a file in the Persistent directory 0.178
And I create a persistent partition with the default settings 23.106
Then the file I created was copied to the Persistent Storage 0.529
When I shutdown Tails and wait for the computer to power off 13.663
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:26.997
Then persistence for "Persistent" is active 0.892
And the file I created in the Persistent directory exists 0.101
After features/support/hooks.rb:326 1.092
After features/support/hooks.rb:100 0.009
Tags: @product
1:10.416
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 23.041
And the system is very low on memory 4.655
When I create a file in the Persistent directory 1.430
When I try to create a persistent partition 21.992
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.344
When I close the Persistent Storage app 2.753
And I free up some memory 1.087
And I create a persistent partition with the default settings 14.808
Then the file I created was copied to the Persistent Storage 0.302
After features/support/hooks.rb:326 2.001
After features/support/hooks.rb:100 0.000
Tags: @product
2:58.821
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 17.203
Then Tails is running from USB drive "__internal" 0.520
And all tps features are active 3.049
And all persistent directories have safe access rights 3.035
When I disable the first tps feature 6.453
Then all tps features but the first one are active 3.108
And I shutdown Tails and wait for the computer to power off 11.561
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.656
Then all tps features but the first one are active 3.234
After features/support/hooks.rb:326 0.961
After features/support/hooks.rb:100 0.007
Tags: @product
20.435
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 10.605
Then persistence for "Persistent" is active 0.185
And I create a file in the Persistent directory 0.063
Then the file I created was copied to the Persistent Storage 0.095
When I disable the first tps feature 5.808
Then persistence for "Persistent" is not active 0.099
And the Persistent directory does not exist 0.063
When I enable the first tps feature 3.330
Then persistence for "Persistent" is active 0.084
And the file I created in the Persistent directory exists 0.099
After features/support/hooks.rb:326 1.594
After features/support/hooks.rb:100 0.000
Tags: @product
21.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 10.898
Then persistence for "Persistent" is active 0.088
When I create a file in the Persistent directory 0.083
And I disable the first tps feature 6.403
And I delete the data of the Persistent Folder feature 3.957
Then the file I created does not exist on the Persistent Storage 0.071
After features/support/hooks.rb:326 1.681
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.005
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.298
And the network is plugged 0.098
And Tor is ready 22.095
And I take note of which tps features are available 0.777
When I write some files expected to persist 1.645
And I shutdown Tails and wait for the computer to power off 7.041
# 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" 26.049
After features/support/hooks.rb:326 0.157
After features/support/hooks.rb:100 0.000
Tags: @product
3:28.825
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 11.028
And the network is plugged 0.620
And Tor is ready 21.159
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.191
And I shutdown Tails and wait for the computer to power off 10.288
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:20.693
And I capture all network traffic 0.011
And the network is plugged 0.116
And Tor is ready 23.855
And I switch to the "persistent-con-current" NetworkManager connection 0.522
And the 1st network device has a spoofed MAC address configured 0.160
And no network device leaked the real MAC address 0.177
After features/support/hooks.rb:326 0.846
After features/support/hooks.rb:100 0.055
Tags: @product
1:24.231
Before features/support/hooks.rb:269 0.036
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 29.196
And I enable persistence creation in Tails Greeter 1.168
And I log in to a new session expecting no warning about the Persistent Storage not being activated 29.221
Then I create a persistent partition with the default settings using the wizard that was already open 24.645
After features/support/hooks.rb:326 1.512
After features/support/hooks.rb:100 0.000
Tags: @product
5:24.400
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 1:10.210
When I enable persistence 41.091
Then no persistent Greeter options were restored 14.052
When I set all Greeter options to non-default values 23.004
And I log in to a new session in German (de) after having activated the Persistent Storage 42.042
Then all Greeter options are set to non-default values 0.736
When I cold reboot the computer 10.201
And the computer reboots Tails 1:11.135
Given I enable persistence 19.986
Then persistent Greeter options were restored 0.640
When I log in to a new session after having activated the Persistent Storage 30.475
Then all Greeter options are set to non-default values 0.822
After features/support/hooks.rb:326 1.355
After features/support/hooks.rb:100 0.006
Tags: @product
3:42.897
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.959
# 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.538
And I shutdown Tails and wait for the computer to power off 12.792
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:9.849
And I change the passphrase of the Persistent Storage back to the original 36.757
After features/support/hooks.rb:326 2.305
After features/support/hooks.rb:100 0.006
Tags: @product
1:1.040
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 9.891
And I log in to a new session without activating the Persistent Storage 22.337
Then persistence is disabled 0.649
But a Tails persistence partition exists on USB drive "__internal" 10.317
And all notifications have disappeared 10.337
When I delete the persistent partition 7.048
Then there is no persistence partition on USB drive "__internal" 0.458
After features/support/hooks.rb:326 0.833
After features/support/hooks.rb:100 0.000
Tags: @product
2:27.717
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.607
When I write some dotfile expected to persist 0.067
And I shutdown Tails and wait for the computer to power off 10.893
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.718
Then the expected persistent dotfile is present in the filesystem 0.430
After features/support/hooks.rb:326 0.759
After features/support/hooks.rb:100 0.007
Tags: @product
1:32.343
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.610
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.089
When I try to enable persistence 0.298
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 32.018
When I log in to a new session after having activated the Persistent Storage 32.891
And all notifications have disappeared 7.787
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.546
And all tps features are enabled 2.833
And all tps features but the first one are active 2.267
After features/support/hooks.rb:326 1.201
After features/support/hooks.rb:100 0.000
Tags: @product
6:8.462
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:45.361
And I enable persistence 41.153
And I log in to a new session after having activated the Persistent Storage 35.262
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.336
And persistence is enabled 5.348
After features/support/hooks.rb:326 1.189
After features/support/hooks.rb:100 0.000
Tags: @product
39.537
Before features/support/hooks.rb:269 0.003
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 10.107
And I enable persistence but something goes wrong during the LUKS header upgrade 28.499
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.930
After features/support/hooks.rb:326 0.827
After features/support/hooks.rb:100 0.000
Tags: @product
53.104
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 10.658
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.229
When I enable persistence 34.333
Then the filesystem of the Persistent Storage was repaired 0.086
And persistence is successfully enabled 2.797
After features/support/hooks.rb:326 1.028
After features/support/hooks.rb:100 0.000
Tags: @product
27.464
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 9.979
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.930
When I try to enable persistence 0.577
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.340
When I repair the filesystem of the Persistent Storage 1.239
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.332
And the filesystem of the Persistent Storage was repaired 0.119
When I close the filesystem repair dialog 1.299
Then persistence is successfully enabled 1.644
After features/support/hooks.rb:326 0.903
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:47.239
Before features/support/hooks.rb:269 0.012
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.185
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.102
When I try to enable persistence 0.440
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.248
When I repair the filesystem of the Persistent Storage 1.680
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.096
When I log in to a new session 32.241
And all notifications have disappeared 8.939
# 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.631
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.838
When I close the "whisperback" window 1.590
Then the Tor Browser starts 18.401
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.842
After features/support/hooks.rb:326 3.069
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:21.480
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 10.076
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 4.647
And Tails detects disk read failures on the boot device 1.587
When I try to enable persistence 0.571
Then the Welcome Screen tells me that my hardware is probably failing 5.714
When I log in to a new session 26.028
And all notifications have disappeared 9.085
Then the Tor Browser starts 22.859
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.909
After features/support/hooks.rb:326 1.368
After features/support/hooks.rb:100 0.000