Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 64 12 Dec 2024, 06:58

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 36:42.734 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:14.511
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:33.696
And I update APT using apt 12.747
And I install "python3-behave" using apt 25.578
Then the Tails Persistent Storage behave tests pass 2.489
After features/support/hooks.rb:326 0.614
After features/support/hooks.rb:100 0.000
Tags: @product
45.273
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.542
When I log in to a new session without activating the Persistent Storage 24.615
Then Tails is running from USB drive "__internal" 0.559
And persistence is disabled 0.656
But a Tails persistence partition exists on USB drive "__internal" 7.898
After features/support/hooks.rb:326 1.303
After features/support/hooks.rb:100 0.000
Tags: @product
2:47.806
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 13.130
Then Tails is running from USB drive "__internal" 0.537
When I create a file in the Persistent directory 0.130
And I create a persistent partition with the default settings 19.616
Then the file I created was copied to the Persistent Storage 0.453
When I shutdown Tails and wait for the computer to power off 12.559
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:0.972
Then persistence for "Persistent" is active 0.341
And the file I created in the Persistent directory exists 0.063
After features/support/hooks.rb:326 0.827
After features/support/hooks.rb:100 0.009
Tags: @product
50.945
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 11.208
And the system is very low on memory 2.869
When I create a file in the Persistent directory 1.293
When I try to create a persistent partition 19.336
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.181
When I close the Persistent Storage app 2.577
And I free up some memory 1.013
And I create a persistent partition with the default settings 12.216
Then the file I created was copied to the Persistent Storage 0.249
After features/support/hooks.rb:326 1.188
After features/support/hooks.rb:100 0.000
Tags: @product
2:39.759
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.487
Then Tails is running from USB drive "__internal" 0.703
And all tps features are active 2.535
And all persistent directories have safe access rights 2.496
When I disable the first tps feature 8.711
Then all tps features but the first one are active 2.103
And I shutdown Tails and wait for the computer to power off 10.505
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:59.960
Then all tps features but the first one are active 2.255
After features/support/hooks.rb:326 1.365
After features/support/hooks.rb:100 0.007
Tags: @product
18.986
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.774
Then persistence for "Persistent" is active 0.235
And I create a file in the Persistent directory 0.159
Then the file I created was copied to the Persistent Storage 0.126
When I disable the first tps feature 5.344
Then persistence for "Persistent" is not active 0.077
And the Persistent directory does not exist 0.058
When I enable the first tps feature 3.054
Then persistence for "Persistent" is active 0.079
And the file I created in the Persistent directory exists 0.074
After features/support/hooks.rb:326 2.473
After features/support/hooks.rb:100 0.000
Tags: @product
18.910
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.610
Then persistence for "Persistent" is active 0.126
When I create a file in the Persistent directory 0.176
And I disable the first tps feature 5.358
And I delete the data of the Persistent Folder feature 3.571
Then the file I created does not exist on the Persistent Storage 0.067
After features/support/hooks.rb:326 1.352
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.340
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.348
And the network is plugged 0.100
And Tor is ready 22.410
And I take note of which tps features are available 0.610
When I write some files expected to persist 1.511
And I shutdown Tails and wait for the computer to power off 8.250
# 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.109
After features/support/hooks.rb:326 0.132
After features/support/hooks.rb:100 0.000
Tags: @product
2:50.210
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.485
And the network is plugged 0.082
And Tor is ready 18.499
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.197
And I shutdown Tails and wait for the computer to power off 8.642
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:53.552
And I capture all network traffic 0.005
And the network is plugged 0.075
And Tor is ready 19.073
And I switch to the "persistent-con-current" NetworkManager connection 0.359
And the 1st network device has a spoofed MAC address configured 0.124
And no network device leaked the real MAC address 0.111
After features/support/hooks.rb:326 0.702
After features/support/hooks.rb:100 0.057
Tags: @product
55.054
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 12.275
And I enable persistence creation in Tails Greeter 1.103
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.802
Then I create a persistent partition with the default settings using the wizard that was already open 19.873
After features/support/hooks.rb:326 1.420
After features/support/hooks.rb:100 0.000
Tags: @product
4:4.896
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 12.855
When I enable persistence 38.510
Then no persistent Greeter options were restored 13.781
When I set all Greeter options to non-default values 21.008
And I log in to a new session in German (de) after having activated the Persistent Storage 38.634
Then all Greeter options are set to non-default values 0.884
When I cold reboot the computer 7.744
And the computer reboots Tails 1:4.967
Given I enable persistence 16.737
Then persistent Greeter options were restored 0.538
When I log in to a new session after having activated the Persistent Storage 28.679
Then all Greeter options are set to non-default values 0.553
After features/support/hooks.rb:326 2.095
After features/support/hooks.rb:100 0.008
Tags: @product
3:23.769
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.178
# 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.899
And I shutdown Tails and wait for the computer to power off 12.467
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:55.431
And I change the passphrase of the Persistent Storage back to the original 31.793
After features/support/hooks.rb:326 2.156
After features/support/hooks.rb:100 0.013
Tags: @product
55.472
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.714
And I log in to a new session without activating the Persistent Storage 21.974
Then persistence is disabled 0.638
But a Tails persistence partition exists on USB drive "__internal" 7.543
And all notifications have disappeared 8.643
When I delete the persistent partition 6.550
Then there is no persistence partition on USB drive "__internal" 0.407
After features/support/hooks.rb:326 0.823
After features/support/hooks.rb:100 0.000
Tags: @product
2:15.249
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.818
When I write some dotfile expected to persist 0.082
And I shutdown Tails and wait for the computer to power off 8.415
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:56.571
Then the expected persistent dotfile is present in the filesystem 0.362
After features/support/hooks.rb:326 1.128
After features/support/hooks.rb:100 0.009
Tags: @product
1:24.612
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.007
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.092
When I try to enable persistence 0.433
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 28.077
When I log in to a new session after having activated the Persistent Storage 32.435
And all notifications have disappeared 6.529
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.522
And all tps features are enabled 2.369
And all tps features but the first one are active 2.145
After features/support/hooks.rb:326 1.121
After features/support/hooks.rb:100 0.000
Tags: @product
5:18.135
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 4:5.365
And I enable persistence 37.530
And I log in to a new session after having activated the Persistent Storage 30.605
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.026
And persistence is enabled 2.607
After features/support/hooks.rb:326 1.519
After features/support/hooks.rb:100 0.000
Tags: @product
28.141
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.654
And I enable persistence but something goes wrong during the LUKS header upgrade 18.752
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.734
After features/support/hooks.rb:326 0.750
After features/support/hooks.rb:100 0.000
Tags: @product
43.537
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.131
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.156
When I enable persistence 26.437
Then the filesystem of the Persistent Storage was repaired 0.095
And persistence is successfully enabled 2.716
After features/support/hooks.rb:326 0.868
After features/support/hooks.rb:100 0.000
Tags: @product
25.757
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.503
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 4.570
When I try to enable persistence 1.753
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.951
When I repair the filesystem of the Persistent Storage 1.339
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.624
And the filesystem of the Persistent Storage was repaired 0.420
When I close the filesystem repair dialog 1.238
Then persistence is successfully enabled 1.357
After features/support/hooks.rb:326 0.775
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:36.816
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 8.951
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.088
When I try to enable persistence 0.379
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.191
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.067
When I log in to a new session 29.935
And all notifications have disappeared 7.263
# 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.621
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.209
When I close the "whisperback" window 1.804
Then the Tor Browser starts 13.477
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 5.553
After features/support/hooks.rb:326 1.848
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:18.545
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.642
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 4.340
And Tails detects disk read failures on the boot device 1.587
When I try to enable persistence 0.581
Then the Welcome Screen tells me that my hardware is probably failing 4.760
When I log in to a new session 25.898
And all notifications have disappeared 9.259
Then the Tor Browser starts 22.652
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.822
After features/support/hooks.rb:326 2.103
After features/support/hooks.rb:100 0.000