Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 68 14 Dec 2024, 07:18

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:12.415 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:15.284
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:35.338
And I update APT using apt 13.610
And I install "python3-behave" using apt 22.853
Then the Tails Persistent Storage behave tests pass 3.481
After features/support/hooks.rb:326 2.292
After features/support/hooks.rb:100 0.000
Tags: @product
42.973
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.389
When I log in to a new session without activating the Persistent Storage 21.930
Then Tails is running from USB drive "__internal" 0.871
And persistence is disabled 0.835
But a Tails persistence partition exists on USB drive "__internal" 7.944
After features/support/hooks.rb:326 1.362
After features/support/hooks.rb:100 0.000
Tags: @product
2:59.644
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 12.888
Then Tails is running from USB drive "__internal" 0.672
When I create a file in the Persistent directory 0.125
And I create a persistent partition with the default settings 18.901
Then the file I created was copied to the Persistent Storage 0.565
When I shutdown Tails and wait for the computer to power off 12.578
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.405
Then persistence for "Persistent" is active 0.424
And the file I created in the Persistent directory exists 0.083
After features/support/hooks.rb:326 1.208
After features/support/hooks.rb:100 0.008
Tags: @product
45.221
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 10.633
And the system is very low on memory 2.472
When I create a file in the Persistent directory 1.323
When I try to create a persistent partition 14.659
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.275
When I close the Persistent Storage app 2.534
And I free up some memory 1.027
And I create a persistent partition with the default settings 12.085
Then the file I created was copied to the Persistent Storage 0.210
After features/support/hooks.rb:326 1.124
After features/support/hooks.rb:100 0.000
Tags: @product
2:36.259
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.922
Then Tails is running from USB drive "__internal" 0.396
And all tps features are active 2.224
And all persistent directories have safe access rights 2.540
When I disable the first tps feature 5.186
Then all tps features but the first one are active 2.212
And I shutdown Tails and wait for the computer to power off 8.657
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:1.435
Then all tps features but the first one are active 2.684
After features/support/hooks.rb:326 0.975
After features/support/hooks.rb:100 0.009
Tags: @product
18.138
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.152
Then persistence for "Persistent" is active 0.200
And I create a file in the Persistent directory 0.089
Then the file I created was copied to the Persistent Storage 0.108
When I disable the first tps feature 5.044
Then persistence for "Persistent" is not active 0.078
And the Persistent directory does not exist 0.051
When I enable the first tps feature 3.242
Then persistence for "Persistent" is active 0.077
And the file I created in the Persistent directory exists 0.093
After features/support/hooks.rb:326 1.284
After features/support/hooks.rb:100 0.000
Tags: @product
18.476
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.193
Then persistence for "Persistent" is active 0.089
When I create a file in the Persistent directory 0.077
And I disable the first tps feature 5.292
And I delete the data of the Persistent Folder feature 3.747
Then the file I created does not exist on the Persistent Storage 0.075
After features/support/hooks.rb:326 1.446
After features/support/hooks.rb:100 0.000
Tags: @product
1:30.440
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.021
And the network is plugged 0.076
And Tor is ready 46.448
And I take note of which tps features are available 0.637
When I write some files expected to persist 1.526
And I shutdown Tails and wait for the computer to power off 8.573
# 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.156
After features/support/hooks.rb:326 0.083
After features/support/hooks.rb:100 0.000
Tags: @product
3:2.198
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.073
And the network is plugged 0.106
And Tor is ready 18.928
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.209
And I shutdown Tails and wait for the computer to power off 8.489
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.221
And I capture all network traffic 0.005
And the network is plugged 0.092
And Tor is ready 19.460
And I switch to the "persistent-con-current" NetworkManager connection 0.326
And the 1st network device has a spoofed MAC address configured 0.130
And no network device leaked the real MAC address 0.154
After features/support/hooks.rb:326 0.621
After features/support/hooks.rb:100 0.043
Tags: @product
56.874
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.236
And I enable persistence creation in Tails Greeter 1.115
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.241
Then I create a persistent partition with the default settings using the wizard that was already open 19.281
After features/support/hooks.rb:326 1.782
After features/support/hooks.rb:100 0.000
Tags: @product
4:9.798
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.549
When I enable persistence 37.486
Then no persistent Greeter options were restored 14.121
When I set all Greeter options to non-default values 23.880
And I log in to a new session in German (de) after having activated the Persistent Storage 38.968
Then all Greeter options are set to non-default values 0.996
When I cold reboot the computer 7.330
And the computer reboots Tails 1:6.529
Given I enable persistence 18.094
Then persistent Greeter options were restored 0.604
When I log in to a new session after having activated the Persistent Storage 29.715
Then all Greeter options are set to non-default values 0.520
After features/support/hooks.rb:326 1.051
After features/support/hooks.rb:100 0.008
Tags: @product
3:29.287
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.923
# 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.711
And I shutdown Tails and wait for the computer to power off 10.628
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:50.097
And I change the passphrase of the Persistent Storage back to the original 42.926
After features/support/hooks.rb:326 2.352
After features/support/hooks.rb:100 0.011
Tags: @product
59.479
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.776
And I log in to a new session without activating the Persistent Storage 23.048
Then persistence is disabled 0.374
But a Tails persistence partition exists on USB drive "__internal" 8.262
And all notifications have disappeared 10.396
When I delete the persistent partition 6.166
Then there is no persistence partition on USB drive "__internal" 0.455
After features/support/hooks.rb:326 0.872
After features/support/hooks.rb:100 0.000
Tags: @product
2:9.561
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.640
When I write some dotfile expected to persist 0.084
And I shutdown Tails and wait for the computer to power off 8.538
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:50.757
Then the expected persistent dotfile is present in the filesystem 0.540
After features/support/hooks.rb:326 0.838
After features/support/hooks.rb:100 0.009
Tags: @product
1:24.908
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.114
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.088
When I try to enable persistence 0.375
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.065
When I log in to a new session after having activated the Persistent Storage 31.095
And all notifications have disappeared 7.005
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.616
And all tps features are enabled 2.615
And all tps features but the first one are active 1.933
After features/support/hooks.rb:326 1.076
After features/support/hooks.rb:100 0.000
Tags: @product
4:57.255
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 3:49.622
And I enable persistence 33.316
And I log in to a new session after having activated the Persistent Storage 30.432
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.502
And persistence is enabled 2.381
After features/support/hooks.rb:326 1.082
After features/support/hooks.rb:100 0.000
Tags: @product
31.627
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 9.251
And I enable persistence but something goes wrong during the LUKS header upgrade 21.587
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.788
After features/support/hooks.rb:326 0.972
After features/support/hooks.rb:100 0.000
Tags: @product
47.789
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.013
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.123
When I enable persistence 31.979
Then the filesystem of the Persistent Storage was repaired 0.080
And persistence is successfully enabled 2.593
After features/support/hooks.rb:326 0.923
After features/support/hooks.rb:100 0.000
Tags: @product
23.479
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.560
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.440
When I try to enable persistence 0.587
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 4.851
When I repair the filesystem of the Persistent Storage 1.266
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.199
And the filesystem of the Persistent Storage was repaired 0.060
When I close the filesystem repair dialog 1.190
Then persistence is successfully enabled 1.321
After features/support/hooks.rb:326 0.856
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:38.198
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.437
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.128
When I try to enable persistence 0.378
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.128
When I repair the filesystem of the Persistent Storage 1.347
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.077
When I log in to a new session 29.732
And all notifications have disappeared 6.448
# 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" 1.248
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.265
When I close the "whisperback" window 1.497
Then the Tor Browser starts 11.735
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 7.773
After features/support/hooks.rb:326 4.255
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:15.516
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.786
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 4.783
And Tails detects disk read failures on the boot device 1.612
When I try to enable persistence 0.566
Then the Welcome Screen tells me that my hardware is probably failing 4.185
When I log in to a new session 24.500
And all notifications have disappeared 8.598
Then the Tor Browser starts 21.676
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.807
After features/support/hooks.rb:326 1.444
After features/support/hooks.rb:100 0.000