Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 51 27 Nov 2024, 07:28

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 41:20.925 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:39.305
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:56.557
And I update APT using apt 13.760
And I install "python3-behave" using apt 26.131
Then the Tails Persistent Storage behave tests pass 2.855
After features/support/hooks.rb:326 1.179
After features/support/hooks.rb:100 0.000
Tags: @product
47.274
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 12.989
When I log in to a new session without activating the Persistent Storage 25.276
Then Tails is running from USB drive "__internal" 0.690
And persistence is disabled 0.477
But a Tails persistence partition exists on USB drive "__internal" 7.841
After features/support/hooks.rb:326 1.245
After features/support/hooks.rb:100 0.000
Tags: @product
2:59.224
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.864
Then Tails is running from USB drive "__internal" 0.385
When I create a file in the Persistent directory 0.122
And I create a persistent partition with the default settings 19.705
Then the file I created was copied to the Persistent Storage 0.528
When I shutdown Tails and wait for the computer to power off 12.908
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.242
Then persistence for "Persistent" is active 0.390
And the file I created in the Persistent directory exists 0.074
After features/support/hooks.rb:326 2.089
After features/support/hooks.rb:100 0.008
Tags: @product
49.364
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.925
And the system is very low on memory 2.884
When I create a file in the Persistent directory 1.203
When I try to create a persistent partition 15.906
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.220
When I close the Persistent Storage app 2.604
And I free up some memory 1.018
And I create a persistent partition with the default settings 13.326
Then the file I created was copied to the Persistent Storage 0.274
After features/support/hooks.rb:326 1.439
After features/support/hooks.rb:100 0.000
Tags: @product
2:40.609
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 11.008
Then Tails is running from USB drive "__internal" 0.666
And all tps features are active 2.491
And all persistent directories have safe access rights 2.658
When I disable the first tps feature 6.128
Then all tps features but the first one are active 2.133
And I shutdown Tails and wait for the computer to power off 10.757
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:2.428
Then all tps features but the first one are active 2.337
After features/support/hooks.rb:326 1.001
After features/support/hooks.rb:100 0.009
Tags: @product
20.138
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.156
Then persistence for "Persistent" is active 0.083
And I create a file in the Persistent directory 0.085
Then the file I created was copied to the Persistent Storage 0.094
When I disable the first tps feature 6.280
Then persistence for "Persistent" is not active 0.088
And the Persistent directory does not exist 0.057
When I enable the first tps feature 3.146
Then persistence for "Persistent" is active 0.077
And the file I created in the Persistent directory exists 0.068
After features/support/hooks.rb:326 1.411
After features/support/hooks.rb:100 0.000
Tags: @product
20.076
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.861
Then persistence for "Persistent" is active 0.105
When I create a file in the Persistent directory 0.077
And I disable the first tps feature 5.856
And I delete the data of the Persistent Folder feature 4.103
Then the file I created does not exist on the Persistent Storage 0.072
After features/support/hooks.rb:326 1.813
After features/support/hooks.rb:100 0.000
Tags: @product
1:9.767
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 12.378
And the network is plugged 0.125
And Tor is ready 21.051
And I take note of which tps features are available 0.617
When I write some files expected to persist 1.886
And I shutdown Tails and wait for the computer to power off 8.550
# 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" 25.157
After features/support/hooks.rb:326 0.102
After features/support/hooks.rb:100 0.000
Tags: @product
3:10.637
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.721
And the network is plugged 0.078
And Tor is ready 19.636
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.188
And I shutdown Tails and wait for the computer to power off 11.597
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.759
And I capture all network traffic 0.015
And the network is plugged 0.115
And Tor is ready 18.815
And I switch to the "persistent-con-current" NetworkManager connection 0.436
And the 1st network device has a spoofed MAC address configured 0.139
And no network device leaked the real MAC address 0.133
After features/support/hooks.rb:326 0.643
After features/support/hooks.rb:100 0.075
Tags: @product
1:1.944
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 15.723
And I enable persistence creation in Tails Greeter 1.169
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.831
Then I create a persistent partition with the default settings using the wizard that was already open 22.219
After features/support/hooks.rb:326 1.696
After features/support/hooks.rb:100 0.000
Tags: @product
4:30.047
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 16.831
When I enable persistence 51.652
Then no persistent Greeter options were restored 14.220
When I set all Greeter options to non-default values 22.023
And I log in to a new session in German (de) after having activated the Persistent Storage 42.954
Then all Greeter options are set to non-default values 1.378
When I cold reboot the computer 9.768
And the computer reboots Tails 1:5.611
Given I enable persistence 18.106
Then persistent Greeter options were restored 0.576
When I log in to a new session after having activated the Persistent Storage 26.181
Then all Greeter options are set to non-default values 0.740
After features/support/hooks.rb:326 1.536
After features/support/hooks.rb:100 0.009
Tags: @product
3:27.659
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.243
# 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.189
And I shutdown Tails and wait for the computer to power off 10.424
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:2.421
And I change the passphrase of the Persistent Storage back to the original 29.380
After features/support/hooks.rb:326 1.630
After features/support/hooks.rb:100 0.048
Tags: @product
1:1.909
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.210
And I log in to a new session without activating the Persistent Storage 26.360
Then persistence is disabled 0.670
But a Tails persistence partition exists on USB drive "__internal" 9.804
And all notifications have disappeared 8.225
When I delete the persistent partition 6.250
Then there is no persistence partition on USB drive "__internal" 0.387
After features/support/hooks.rb:326 0.722
After features/support/hooks.rb:100 0.000
Tags: @product
2:43.212
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.021
When I write some dotfile expected to persist 0.077
And I shutdown Tails and wait for the computer to power off 8.716
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:23.964
Then the expected persistent dotfile is present in the filesystem 0.433
After features/support/hooks.rb:326 1.502
After features/support/hooks.rb:100 0.010
Tags: @product
1:45.974
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 25.729
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.084
When I try to enable persistence 0.366
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 33.360
When I log in to a new session after having activated the Persistent Storage 29.888
And all notifications have disappeared 7.472
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.277
And all tps features are enabled 2.598
And all tps features but the first one are active 2.196
After features/support/hooks.rb:326 1.370
After features/support/hooks.rb:100 0.000
Tags: @product
7:3.401
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 5:48.657
And I enable persistence 39.690
And I log in to a new session after having activated the Persistent Storage 29.652
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.372
And persistence is enabled 3.027
After features/support/hooks.rb:326 1.114
After features/support/hooks.rb:100 0.000
Tags: @product
32.174
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 10.917
And I enable persistence but something goes wrong during the LUKS header upgrade 20.304
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.952
After features/support/hooks.rb:326 0.854
After features/support/hooks.rb:100 0.000
Tags: @product
52.942
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 10.180
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.040
When I enable persistence 33.791
Then the filesystem of the Persistent Storage was repaired 0.095
And persistence is successfully enabled 2.834
After features/support/hooks.rb:326 1.350
After features/support/hooks.rb:100 0.000
Tags: @product
25.178
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.285
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.225
When I try to enable persistence 0.659
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.642
When I repair the filesystem of the Persistent Storage 1.303
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.261
And the filesystem of the Persistent Storage was repaired 0.078
When I close the filesystem repair dialog 1.248
Then persistence is successfully enabled 1.474
After features/support/hooks.rb:326 0.733
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:36.763
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.255
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.117
When I try to enable persistence 0.383
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.969
When I repair the filesystem of the Persistent Storage 1.289
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.079
When I log in to a new session 25.755
And all notifications have disappeared 9.422
# 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.739
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.638
When I close the "whisperback" window 1.443
Then the Tor Browser starts 19.640
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.028
After features/support/hooks.rb:326 2.485
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:23.318
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.976
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.153
And Tails detects disk read failures on the boot device 1.662
When I try to enable persistence 0.505
Then the Welcome Screen tells me that my hardware is probably failing 4.942
When I log in to a new session 24.797
And all notifications have disappeared 8.718
Then the Tor Browser starts 24.988
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 3.572
After features/support/hooks.rb:326 2.451
After features/support/hooks.rb:100 0.000