Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 9 29 Oct 2024, 22:34

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:7.442 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:18.094
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:36.694
And I update APT using apt 13.448
And I install "python3-behave" using apt 25.739
Then the Tails Persistent Storage behave tests pass 2.212
After features/support/hooks.rb:326 0.594
After features/support/hooks.rb:100 0.000
Tags: @product
46.526
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.707
When I log in to a new session without activating the Persistent Storage 26.383
Then Tails is running from USB drive "__internal" 0.821
And persistence is disabled 0.692
But a Tails persistence partition exists on USB drive "__internal" 5.921
After features/support/hooks.rb:326 2.165
After features/support/hooks.rb:100 0.000
Tags: @product
2:46.295
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 14.269
Then Tails is running from USB drive "__internal" 0.415
When I create a file in the Persistent directory 0.147
And I create a persistent partition with the default settings 18.057
Then the file I created was copied to the Persistent Storage 0.496
When I shutdown Tails and wait for the computer to power off 12.888
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:59.631
Then persistence for "Persistent" is active 0.326
And the file I created in the Persistent directory exists 0.061
After features/support/hooks.rb:326 1.487
After features/support/hooks.rb:100 0.006
Tags: @product
52.764
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 10.787
And the system is very low on memory 3.236
When I create a file in the Persistent directory 0.993
When I try to create a persistent partition 19.280
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 1.289
When I close the Persistent Storage app 2.668
And I free up some memory 1.062
And I create a persistent partition with the default settings 13.204
Then the file I created was copied to the Persistent Storage 0.242
After features/support/hooks.rb:326 1.213
After features/support/hooks.rb:100 0.000
Tags: @product
2:27.523
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.471
Then Tails is running from USB drive "__internal" 0.670
And all tps features are active 2.278
And all persistent directories have safe access rights 2.399
When I disable the first tps feature 5.348
Then all tps features but the first one are active 2.042
And I shutdown Tails and wait for the computer to power off 8.624
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:53.466
Then all tps features but the first one are active 2.221
After features/support/hooks.rb:326 0.830
After features/support/hooks.rb:100 0.007
Tags: @product
18.380
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.505
Then persistence for "Persistent" is active 0.124
And I create a file in the Persistent directory 0.066
Then the file I created was copied to the Persistent Storage 0.065
When I disable the first tps feature 5.290
Then persistence for "Persistent" is not active 0.065
And the Persistent directory does not exist 0.045
When I enable the first tps feature 3.078
Then persistence for "Persistent" is active 0.069
And the file I created in the Persistent directory exists 0.067
After features/support/hooks.rb:326 1.226
After features/support/hooks.rb:100 0.000
Tags: @product
18.124
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 8.997
Then persistence for "Persistent" is active 0.111
When I create a file in the Persistent directory 0.095
And I disable the first tps feature 5.291
And I delete the data of the Persistent Folder feature 3.579
Then the file I created does not exist on the Persistent Storage 0.049
After features/support/hooks.rb:326 1.361
After features/support/hooks.rb:100 0.000
Tags: @product
1:4.040
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.041
And the network is plugged 0.084
And Tor is ready 20.112
And I take note of which tps features are available 0.614
When I write some files expected to persist 1.409
And I shutdown Tails and wait for the computer to power off 8.707
# 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.071
After features/support/hooks.rb:326 0.087
After features/support/hooks.rb:100 0.000
Tags: @product
2:52.318
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.187
And the network is plugged 0.075
And Tor is ready 19.235
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.183
And I shutdown Tails and wait for the computer to power off 8.454
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:55.189
And I capture all network traffic 0.004
And the network is plugged 0.064
And Tor is ready 19.353
And I switch to the "persistent-con-current" NetworkManager connection 0.332
And the 1st network device has a spoofed MAC address configured 0.126
And no network device leaked the real MAC address 0.111
After features/support/hooks.rb:326 0.735
After features/support/hooks.rb:100 0.059
Tags: @product
50.152
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 11.346
And I enable persistence creation in Tails Greeter 1.100
And I log in to a new session expecting no warning about the Persistent Storage not being activated 19.558
Then I create a persistent partition with the default settings using the wizard that was already open 18.146
After features/support/hooks.rb:326 1.443
After features/support/hooks.rb:100 0.000
Tags: @product
4:30.474
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.110
When I enable persistence 34.997
Then no persistent Greeter options were restored 14.337
When I set all Greeter options to non-default values 21.435
And I log in to a new session in German (de) after having activated the Persistent Storage 44.302
Then all Greeter options are set to non-default values 0.265
When I cold reboot the computer 7.718
And the computer reboots Tails 1:3.748
Given I enable persistence 31.926
Then persistent Greeter options were restored 14.598
When I log in to a new session after having activated the Persistent Storage 24.579
Then all Greeter options are set to non-default values 0.455
After features/support/hooks.rb:326 1.106
After features/support/hooks.rb:100 0.062
Tags: @product
3:23.992
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.860
# 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.213
And I shutdown Tails and wait for the computer to power off 10.517
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:56.839
And I change the passphrase of the Persistent Storage back to the original 31.561
After features/support/hooks.rb:326 2.067
After features/support/hooks.rb:100 0.005
Tags: @product
56.451
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 10.818
And I log in to a new session without activating the Persistent Storage 22.188
Then persistence is disabled 0.726
But a Tails persistence partition exists on USB drive "__internal" 7.199
And all notifications have disappeared 9.169
When I delete the persistent partition 6.023
Then there is no persistence partition on USB drive "__internal" 0.325
After features/support/hooks.rb:326 0.921
After features/support/hooks.rb:100 0.000
Tags: @product
2:12.870
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.280
When I write some dotfile expected to persist 0.123
And I shutdown Tails and wait for the computer to power off 8.484
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:54.559
Then the expected persistent dotfile is present in the filesystem 0.421
After features/support/hooks.rb:326 1.315
After features/support/hooks.rb:100 0.006
Tags: @product
1:22.542
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.771
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.080
When I try to enable persistence 0.254
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 28.529
When I log in to a new session after having activated the Persistent Storage 29.554
And all notifications have disappeared 6.893
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.026
And all tps features are enabled 2.484
And all tps features but the first one are active 1.947
After features/support/hooks.rb:326 1.198
After features/support/hooks.rb:100 0.000
Tags: @product
4:54.048
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 3:50.512
And I enable persistence 32.732
And I log in to a new session after having activated the Persistent Storage 28.522
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.140
And persistence is enabled 0.141
After features/support/hooks.rb:326 1.288
After features/support/hooks.rb:100 0.000
Tags: @product
27.971
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.491
And I enable persistence but something goes wrong during the LUKS header upgrade 18.643
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.836
After features/support/hooks.rb:326 0.785
After features/support/hooks.rb:100 0.000
Tags: @product
41.172
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.877
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.204
When I enable persistence 27.619
Then the filesystem of the Persistent Storage was repaired 0.111
And persistence is successfully enabled 0.359
After features/support/hooks.rb:326 1.380
After features/support/hooks.rb:100 0.000
Tags: @product
21.934
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.822
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 4.411
When I try to enable persistence 0.611
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.006
When I repair the filesystem of the Persistent Storage 1.177
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.232
And the filesystem of the Persistent Storage was repaired 0.087
When I close the filesystem repair dialog 1.247
Then persistence is successfully enabled 0.336
After features/support/hooks.rb:326 0.849
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:31.008
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.943
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.092
When I try to enable persistence 0.287
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.178
When I repair the filesystem of the Persistent Storage 1.200
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.071
When I log in to a new session 26.035
And all notifications have disappeared 7.796
# 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.559
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.309
When I close the "whisperback" window 1.779
Then the Tor Browser starts 16.074
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.679
After features/support/hooks.rb:326 2.547
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:10.754
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.717
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 4.634
And Tails detects disk read failures on the boot device 0.488
When I try to enable persistence 0.557
Then the Welcome Screen tells me that my hardware is probably failing 4.323
When I log in to a new session 20.226
And all notifications have disappeared 8.428
Then the Tor Browser starts 22.686
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.691
After features/support/hooks.rb:326 1.608
After features/support/hooks.rb:100 0.000