Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 17 03 Nov 2024, 06: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 40:30.042 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:19.661
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:39.479
And I update APT using apt 12.402
And I install "python3-behave" using apt 25.639
Then the Tails Persistent Storage behave tests pass 2.140
After features/support/hooks.rb:326 0.682
After features/support/hooks.rb:100 0.000
Tags: @product
47.444
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 12.057
When I log in to a new session without activating the Persistent Storage 25.439
Then Tails is running from USB drive "__internal" 0.971
And persistence is disabled 0.428
But a Tails persistence partition exists on USB drive "__internal" 8.547
After features/support/hooks.rb:326 2.393
After features/support/hooks.rb:100 0.000
Tags: @product
2:59.303
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive without a persistent partition and logged in 15.622
Then Tails is running from USB drive "__internal" 0.705
When I create a file in the Persistent directory 0.176
And I create a persistent partition with the default settings 20.048
Then the file I created was copied to the Persistent Storage 0.544
When I shutdown Tails and wait for the computer to power off 14.947
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.766
Then persistence for "Persistent" is active 0.420
And the file I created in the Persistent directory exists 0.069
After features/support/hooks.rb:326 1.301
After features/support/hooks.rb:100 0.006
Tags: @product
53.833
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.935
And the system is very low on memory 2.811
When I create a file in the Persistent directory 0.999
When I try to create a persistent partition 20.928
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.761
When I close the Persistent Storage app 2.603
And I free up some memory 1.085
And I create a persistent partition with the default settings 12.486
Then the file I created was copied to the Persistent Storage 0.222
After features/support/hooks.rb:326 1.168
After features/support/hooks.rb:100 0.000
Tags: @product
2:32.758
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 12.314
Then Tails is running from USB drive "__internal" 0.985
And all tps features are active 2.386
And all persistent directories have safe access rights 3.512
When I disable the first tps feature 5.716
Then all tps features but the first one are active 2.050
And I shutdown Tails and wait for the computer to power off 8.603
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:54.926
Then all tps features but the first one are active 2.263
After features/support/hooks.rb:326 0.950
After features/support/hooks.rb:100 0.050
Tags: @product
18.980
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.705
Then persistence for "Persistent" is active 0.474
And I create a file in the Persistent directory 0.104
Then the file I created was copied to the Persistent Storage 0.125
When I disable the first tps feature 5.141
Then persistence for "Persistent" is not active 0.082
And the Persistent directory does not exist 0.055
When I enable the first tps feature 3.166
Then persistence for "Persistent" is active 0.062
And the file I created in the Persistent directory exists 0.063
After features/support/hooks.rb:326 1.150
After features/support/hooks.rb:100 0.000
Tags: @product
19.625
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.014
Then persistence for "Persistent" is active 0.379
When I create a file in the Persistent directory 0.109
And I disable the first tps feature 5.412
And I delete the data of the Persistent Folder feature 3.643
Then the file I created does not exist on the Persistent Storage 0.066
After features/support/hooks.rb:326 1.105
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.544
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.540
And the network is plugged 0.563
And Tor is ready 20.820
And I take note of which tps features are available 0.579
When I write some files expected to persist 1.449
And I shutdown Tails and wait for the computer to power off 9.394
# 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.196
After features/support/hooks.rb:326 0.115
After features/support/hooks.rb:100 0.000
Tags: @product
2:57.738
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.562
And the network is plugged 0.086
And Tor is ready 18.612
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.215
And I shutdown Tails and wait for the computer to power off 8.707
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:0.197
And I capture all network traffic 0.004
And the network is plugged 0.079
And Tor is ready 19.543
And I switch to the "persistent-con-current" NetworkManager connection 0.446
And the 1st network device has a spoofed MAC address configured 0.130
And no network device leaked the real MAC address 0.152
After features/support/hooks.rb:326 0.624
After features/support/hooks.rb:100 0.068
Tags: @product
1:4.440
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 13.725
And I enable persistence creation in Tails Greeter 1.113
And I log in to a new session expecting no warning about the Persistent Storage not being activated 25.754
Then I create a persistent partition with the default settings using the wizard that was already open 23.846
After features/support/hooks.rb:326 1.647
After features/support/hooks.rb:100 0.000
Tags: @product
4:27.212
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.549
When I enable persistence 35.669
Then no persistent Greeter options were restored 14.185
When I set all Greeter options to non-default values 23.849
And I log in to a new session in German (de) after having activated the Persistent Storage 40.545
Then all Greeter options are set to non-default values 0.875
When I cold reboot the computer 7.718
And the computer reboots Tails 1:25.219
Given I enable persistence 17.288
Then persistent Greeter options were restored 0.588
When I log in to a new session after having activated the Persistent Storage 28.340
Then all Greeter options are set to non-default values 0.382
After features/support/hooks.rb:326 1.286
After features/support/hooks.rb:100 0.006
Tags: @product
4:20.741
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 23.887
# 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 50.483
And I shutdown Tails and wait for the computer to power off 10.656
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:20.312
And I change the passphrase of the Persistent Storage back to the original 35.402
After features/support/hooks.rb:326 2.300
After features/support/hooks.rb:100 0.006
Tags: @product
1:18.637
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 24.118
And I log in to a new session without activating the Persistent Storage 28.616
Then persistence is disabled 0.564
But a Tails persistence partition exists on USB drive "__internal" 7.903
And all notifications have disappeared 9.830
When I delete the persistent partition 7.236
Then there is no persistence partition on USB drive "__internal" 0.366
After features/support/hooks.rb:326 0.850
After features/support/hooks.rb:100 0.000
Tags: @product
2:26.892
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.270
When I write some dotfile expected to persist 0.071
And I shutdown Tails and wait for the computer to power off 10.437
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.569
Then the expected persistent dotfile is present in the filesystem 0.543
After features/support/hooks.rb:326 0.754
After features/support/hooks.rb:100 0.007
Tags: @product
1:32.355
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 8.786
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.094
When I try to enable persistence 0.387
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 28.519
When I log in to a new session after having activated the Persistent Storage 37.414
And all notifications have disappeared 7.214
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.939
And all tps features are enabled 2.910
And all tps features but the first one are active 2.087
After features/support/hooks.rb:326 1.330
After features/support/hooks.rb:100 0.000
Tags: @product
6:15.869
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:0.844
And I enable persistence 39.821
And I log in to a new session after having activated the Persistent Storage 31.550
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.171
And persistence is enabled 2.480
After features/support/hooks.rb:326 1.863
After features/support/hooks.rb:100 0.000
Tags: @product
33.390
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 8.851
And I enable persistence but something goes wrong during the LUKS header upgrade 23.752
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.786
After features/support/hooks.rb:326 0.723
After features/support/hooks.rb:100 0.000
Tags: @product
53.637
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.605
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.163
When I enable persistence 35.958
Then the filesystem of the Persistent Storage was repaired 0.087
And persistence is successfully enabled 2.822
After features/support/hooks.rb:326 0.961
After features/support/hooks.rb:100 0.000
Tags: @product
23.974
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.028
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 4.575
When I try to enable persistence 0.669
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.536
When I repair the filesystem of the Persistent Storage 1.253
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.247
And the filesystem of the Persistent Storage was repaired 0.068
When I close the filesystem repair dialog 1.257
Then persistence is successfully enabled 1.335
After features/support/hooks.rb:326 0.814
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:38.498
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.831
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.111
When I try to enable persistence 0.468
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.931
When I repair the filesystem of the Persistent Storage 1.944
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.145
When I log in to a new session 29.817
And all notifications have disappeared 10.474
# 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.745
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.918
When I close the "whisperback" window 1.471
Then the Tor Browser starts 13.914
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.723
After features/support/hooks.rb:326 2.711
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:17.500
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.069
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 4.882
And Tails detects disk read failures on the boot device 1.656
When I try to enable persistence 1.722
Then the Welcome Screen tells me that my hardware is probably failing 4.493
When I log in to a new session 25.881
And all notifications have disappeared 10.045
Then the Tor Browser starts 18.988
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.761
After features/support/hooks.rb:326 1.245
After features/support/hooks.rb:100 0.000