Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 60 09 Dec 2024, 07:06

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 38:20.562 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:15.915
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:34.995
And I update APT using apt 12.829
And I install "python3-behave" using apt 25.817
Then the Tails Persistent Storage behave tests pass 2.273
After features/support/hooks.rb:326 0.644
After features/support/hooks.rb:100 0.000
Tags: @product
50.786
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 13.161
When I log in to a new session without activating the Persistent Storage 27.582
Then Tails is running from USB drive "__internal" 0.826
And persistence is disabled 0.687
But a Tails persistence partition exists on USB drive "__internal" 8.529
After features/support/hooks.rb:326 0.992
After features/support/hooks.rb:100 0.000
Tags: @product
2:58.189
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 13.842
Then Tails is running from USB drive "__internal" 1.099
When I create a file in the Persistent directory 0.127
And I create a persistent partition with the default settings 21.848
Then the file I created was copied to the Persistent Storage 0.490
When I shutdown Tails and wait for the computer to power off 12.869
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.329
Then persistence for "Persistent" is active 0.483
And the file I created in the Persistent directory exists 0.098
After features/support/hooks.rb:326 1.789
After features/support/hooks.rb:100 0.008
Tags: @product
54.846
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 11.113
And the system is very low on memory 5.519
When I create a file in the Persistent directory 1.113
When I try to create a persistent partition 19.755
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.410
When I close the Persistent Storage app 2.662
And I free up some memory 1.315
And I create a persistent partition with the default settings 12.690
Then the file I created was copied to the Persistent Storage 0.265
After features/support/hooks.rb:326 1.376
After features/support/hooks.rb:100 0.000
Tags: @product
2:36.733
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 11.019
Then Tails is running from USB drive "__internal" 0.569
And all tps features are active 2.396
And all persistent directories have safe access rights 2.622
When I disable the first tps feature 5.394
Then all tps features but the first one are active 2.045
And I shutdown Tails and wait for the computer to power off 8.649
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:1.588
Then all tps features but the first one are active 2.448
After features/support/hooks.rb:326 1.265
After features/support/hooks.rb:100 0.012
Tags: @product
19.300
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.369
Then persistence for "Persistent" is active 0.115
And I create a file in the Persistent directory 0.134
Then the file I created was copied to the Persistent Storage 0.085
When I disable the first tps feature 5.117
Then persistence for "Persistent" is not active 0.089
And the Persistent directory does not exist 0.057
When I enable the first tps feature 3.185
Then persistence for "Persistent" is active 0.075
And the file I created in the Persistent directory exists 0.070
After features/support/hooks.rb:326 1.567
After features/support/hooks.rb:100 0.000
Tags: @product
18.461
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.915
Then persistence for "Persistent" is active 0.103
When I create a file in the Persistent directory 0.112
And I disable the first tps feature 4.718
And I delete the data of the Persistent Folder feature 3.551
Then the file I created does not exist on the Persistent Storage 0.060
After features/support/hooks.rb:326 1.186
After features/support/hooks.rb:100 0.000
Tags: @product
1:9.289
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.494
And the network is plugged 0.080
And Tor is ready 21.823
And I take note of which tps features are available 0.674
When I write some files expected to persist 1.604
And I shutdown Tails and wait for the computer to power off 11.334
# 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.277
After features/support/hooks.rb:326 0.113
After features/support/hooks.rb:100 0.000
Tags: @product
2:58.900
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.324
And the network is plugged 0.097
And Tor is ready 19.146
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.195
And I shutdown Tails and wait for the computer to power off 6.713
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:3.138
And I capture all network traffic 0.016
And the network is plugged 0.101
And Tor is ready 19.539
And I switch to the "persistent-con-current" NetworkManager connection 0.351
And the 1st network device has a spoofed MAC address configured 0.132
And no network device leaked the real MAC address 0.142
After features/support/hooks.rb:326 0.602
After features/support/hooks.rb:100 0.071
Tags: @product
56.974
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 11.777
And I enable persistence creation in Tails Greeter 1.158
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.592
Then I create a persistent partition with the default settings using the wizard that was already open 21.444
After features/support/hooks.rb:326 1.585
After features/support/hooks.rb:100 0.000
Tags: @product
4:16.675
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 14.567
When I enable persistence 37.654
Then no persistent Greeter options were restored 14.127
When I set all Greeter options to non-default values 24.629
And I log in to a new session in German (de) after having activated the Persistent Storage 40.519
Then all Greeter options are set to non-default values 1.257
When I cold reboot the computer 7.543
And the computer reboots Tails 1:7.092
Given I enable persistence 19.327
Then persistent Greeter options were restored 0.591
When I log in to a new session after having activated the Persistent Storage 28.966
Then all Greeter options are set to non-default values 0.396
After features/support/hooks.rb:326 1.736
After features/support/hooks.rb:100 0.012
Tags: @product
3:24.747
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 11.350
# 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.609
And I shutdown Tails and wait for the computer to power off 10.518
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:0.850
And I change the passphrase of the Persistent Storage back to the original 28.418
After features/support/hooks.rb:326 1.742
After features/support/hooks.rb:100 0.012
Tags: @product
1:2.470
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.668
And I log in to a new session without activating the Persistent Storage 30.145
Then persistence is disabled 0.367
But a Tails persistence partition exists on USB drive "__internal" 5.226
And all notifications have disappeared 7.962
When I delete the persistent partition 6.766
Then there is no persistence partition on USB drive "__internal" 0.330
After features/support/hooks.rb:326 0.956
After features/support/hooks.rb:100 0.000
Tags: @product
2:28.052
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.028
When I write some dotfile expected to persist 0.407
And I shutdown Tails and wait for the computer to power off 10.889
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.198
Then the expected persistent dotfile is present in the filesystem 0.528
After features/support/hooks.rb:326 0.831
After features/support/hooks.rb:100 0.012
Tags: @product
1:29.909
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.245
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.085
When I try to enable persistence 0.370
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 28.353
When I log in to a new session after having activated the Persistent Storage 36.040
And all notifications have disappeared 7.253
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.767
And all tps features are enabled 2.541
And all tps features but the first one are active 2.251
After features/support/hooks.rb:326 1.558
After features/support/hooks.rb:100 0.000
Tags: @product
5:20.072
Before features/support/hooks.rb:269 0.008
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:10.150
And I enable persistence 35.318
And I log in to a new session after having activated the Persistent Storage 29.996
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.777
And persistence is enabled 2.829
After features/support/hooks.rb:326 1.022
After features/support/hooks.rb:100 0.000
Tags: @product
40.729
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.409
And I enable persistence but something goes wrong during the LUKS header upgrade 30.102
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 1.217
After features/support/hooks.rb:326 0.714
After features/support/hooks.rb:100 0.000
Tags: @product
58.671
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 9.340
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 13.266
When I enable persistence 33.303
Then the filesystem of the Persistent Storage was repaired 0.088
And persistence is successfully enabled 2.672
After features/support/hooks.rb:326 0.936
After features/support/hooks.rb:100 0.000
Tags: @product
25.332
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 9.408
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.206
When I try to enable persistence 0.927
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.559
When I repair the filesystem of the Persistent Storage 1.264
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.296
And the filesystem of the Persistent Storage was repaired 0.095
When I close the filesystem repair dialog 1.228
Then persistence is successfully enabled 1.345
After features/support/hooks.rb:326 0.762
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:35.069
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 9.513
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.132
When I try to enable persistence 0.412
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.586
When I repair the filesystem of the Persistent Storage 1.973
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.078
When I log in to a new session 30.123
And all notifications have disappeared 7.589
# 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.754
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.219
When I close the "whisperback" window 1.499
Then the Tor Browser starts 14.376
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 2.809
After features/support/hooks.rb:326 2.368
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:19.433
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.187
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 4.534
And Tails detects disk read failures on the boot device 0.474
When I try to enable persistence 0.464
Then the Welcome Screen tells me that my hardware is probably failing 5.787
When I log in to a new session 23.842
And all notifications have disappeared 8.667
Then the Tor Browser starts 24.616
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.857
After features/support/hooks.rb:326 2.008
After features/support/hooks.rb:100 0.000