Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 52 04 Dec 2024, 22:37

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:24.862 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:17.306
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:33.827
And I update APT using apt 15.066
And I install "python3-behave" using apt 25.659
Then the Tails Persistent Storage behave tests pass 2.752
After features/support/hooks.rb:326 0.693
After features/support/hooks.rb:100 0.000
Tags: @product
46.727
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 11.887
When I log in to a new session without activating the Persistent Storage 25.305
Then Tails is running from USB drive "__internal" 1.022
And persistence is disabled 0.524
But a Tails persistence partition exists on USB drive "__internal" 7.987
After features/support/hooks.rb:326 1.622
After features/support/hooks.rb:100 0.000
Tags: @product
2:50.392
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.135
Then Tails is running from USB drive "__internal" 0.316
When I create a file in the Persistent directory 0.150
And I create a persistent partition with the default settings 18.468
Then the file I created was copied to the Persistent Storage 0.424
When I shutdown Tails and wait for the computer to power off 12.567
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.957
Then persistence for "Persistent" is active 0.298
And the file I created in the Persistent directory exists 0.074
After features/support/hooks.rb:326 1.421
After features/support/hooks.rb:100 0.009
Tags: @product
54.335
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.911
And the system is very low on memory 2.363
When I create a file in the Persistent directory 1.500
When I try to create a persistent partition 23.116
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.182
When I close the Persistent Storage app 2.569
And I free up some memory 1.017
And I create a persistent partition with the default settings 12.429
Then the file I created was copied to the Persistent Storage 0.246
After features/support/hooks.rb:326 1.298
After features/support/hooks.rb:100 0.000
Tags: @product
2:28.053
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.286
Then Tails is running from USB drive "__internal" 0.401
And all tps features are active 2.217
And all persistent directories have safe access rights 2.418
When I disable the first tps feature 5.003
Then all tps features but the first one are active 2.022
And I shutdown Tails and wait for the computer to power off 10.873
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:51.869
Then all tps features but the first one are active 1.962
After features/support/hooks.rb:326 1.225
After features/support/hooks.rb:100 0.007
Tags: @product
31.439
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 22.497
Then persistence for "Persistent" is active 0.097
And I create a file in the Persistent directory 0.137
Then the file I created was copied to the Persistent Storage 0.084
When I disable the first tps feature 5.238
Then persistence for "Persistent" is not active 0.076
And the Persistent directory does not exist 0.041
When I enable the first tps feature 3.120
Then persistence for "Persistent" is active 0.063
And the file I created in the Persistent directory exists 0.080
After features/support/hooks.rb:326 0.973
After features/support/hooks.rb:100 0.000
Tags: @product
18.439
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.560
Then persistence for "Persistent" is active 0.099
When I create a file in the Persistent directory 0.073
And I disable the first tps feature 4.942
And I delete the data of the Persistent Folder feature 3.697
Then the file I created does not exist on the Persistent Storage 0.066
After features/support/hooks.rb:326 1.087
After features/support/hooks.rb:100 0.000
Tags: @product
1:4.459
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.469
And the network is plugged 0.089
And Tor is ready 22.036
And I take note of which tps features are available 0.485
When I write some files expected to persist 1.440
And I shutdown Tails and wait for the computer to power off 6.609
# 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.327
After features/support/hooks.rb:326 0.128
After features/support/hooks.rb:100 0.000
Tags: @product
2:52.769
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.267
And the network is plugged 0.088
And Tor is ready 17.510
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 6.699
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:59.830
And I capture all network traffic 0.012
And the network is plugged 0.064
And Tor is ready 18.493
And I switch to the "persistent-con-current" NetworkManager connection 0.384
And the 1st network device has a spoofed MAC address configured 0.092
And no network device leaked the real MAC address 0.130
After features/support/hooks.rb:326 0.583
After features/support/hooks.rb:100 0.049
Tags: @product
55.887
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 12.577
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 21.246
Then I create a persistent partition with the default settings using the wizard that was already open 20.905
After features/support/hooks.rb:326 1.782
After features/support/hooks.rb:100 0.000
Tags: @product
4:7.212
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.521
When I enable persistence 35.707
Then no persistent Greeter options were restored 14.015
When I set all Greeter options to non-default values 21.447
And I log in to a new session in German (de) after having activated the Persistent Storage 42.260
Then all Greeter options are set to non-default values 0.611
When I cold reboot the computer 9.490
And the computer reboots Tails 1:6.248
Given I enable persistence 19.206
Then persistent Greeter options were restored 0.553
When I log in to a new session after having activated the Persistent Storage 24.626
Then all Greeter options are set to non-default values 0.520
After features/support/hooks.rb:326 2.155
After features/support/hooks.rb:100 0.009
Tags: @product
3:41.938
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.117
# 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 34.198
And I shutdown Tails and wait for the computer to power off 8.875
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:16.713
And I change the passphrase of the Persistent Storage back to the original 32.034
After features/support/hooks.rb:326 2.207
After features/support/hooks.rb:100 0.009
Tags: @product
55.578
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.383
And I log in to a new session without activating the Persistent Storage 23.445
Then persistence is disabled 0.554
But a Tails persistence partition exists on USB drive "__internal" 7.579
And all notifications have disappeared 7.297
When I delete the persistent partition 6.056
Then there is no persistence partition on USB drive "__internal" 0.262
After features/support/hooks.rb:326 0.825
After features/support/hooks.rb:100 0.000
Tags: @product
2:18.020
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.646
When I write some dotfile expected to persist 0.079
And I shutdown Tails and wait for the computer to power off 8.516
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:59.375
Then the expected persistent dotfile is present in the filesystem 0.401
After features/support/hooks.rb:326 1.331
After features/support/hooks.rb:100 0.009
Tags: @product
1:23.977
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.674
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.078
When I try to enable persistence 0.371
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 27.234
When I log in to a new session after having activated the Persistent Storage 31.779
And all notifications have disappeared 7.672
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.852
And all tps features are enabled 2.374
And all tps features but the first one are active 1.940
After features/support/hooks.rb:326 1.019
After features/support/hooks.rb:100 0.000
Tags: @product
4:23.485
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 3:16.117
And I enable persistence 34.309
And I log in to a new session after having activated the Persistent Storage 28.665
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.982
And persistence is enabled 2.411
After features/support/hooks.rb:326 1.400
After features/support/hooks.rb:100 0.000
Tags: @product
28.198
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 8.995
And I enable persistence but something goes wrong during the LUKS header upgrade 18.458
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.744
After features/support/hooks.rb:326 0.694
After features/support/hooks.rb:100 0.000
Tags: @product
43.112
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.403
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.357
When I enable persistence 26.873
Then the filesystem of the Persistent Storage was repaired 0.083
And persistence is successfully enabled 2.394
After features/support/hooks.rb:326 1.242
After features/support/hooks.rb:100 0.000
Tags: @product
24.635
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.202
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 4.609
When I try to enable persistence 1.631
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.003
When I repair the filesystem of the Persistent Storage 1.314
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.263
And the filesystem of the Persistent Storage was repaired 0.062
When I close the filesystem repair dialog 1.246
Then persistence is successfully enabled 1.301
After features/support/hooks.rb:326 0.765
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:38.634
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.255
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.103
When I try to enable persistence 0.384
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.144
When I repair the filesystem of the Persistent Storage 1.619
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.082
When I log in to a new session 30.029
And all notifications have disappeared 8.296
# 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.605
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.179
When I close the "whisperback" window 1.545
Then the Tor Browser starts 11.416
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 7.971
After features/support/hooks.rb:326 3.270
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:20.257
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.651
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.463
And Tails detects disk read failures on the boot device 1.478
When I try to enable persistence 0.606
Then the Welcome Screen tells me that my hardware is probably failing 4.198
When I log in to a new session 23.086
And all notifications have disappeared 8.909
Then the Tor Browser starts 24.748
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 3.115
After features/support/hooks.rb:326 2.137
After features/support/hooks.rb:100 0.000