Project Number Date
test_Tails_ISO_feature-arti 5 22 Mar 2025, 16:27

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:6.544 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:43.196
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:33.716
And I update APT using apt 42.519
And I install "python3-behave" using apt 1:24.058
Then the Tails Persistent Storage behave tests pass 2.902
After features/support/hooks.rb:330 0.698
After features/support/hooks.rb:100 0.000
Tags: @product
42.419
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.623
When I log in to a new session without activating the Persistent Storage 21.098
Then Tails is running from USB drive "__internal" 0.697
And persistence is disabled 0.406
But a Tails persistence partition exists on USB drive "__internal" 9.593
After features/support/hooks.rb:330 1.118
After features/support/hooks.rb:100 0.000
Tags: @product
2:51.846
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.007
Then Tails is running from USB drive "__internal" 0.336
When I create a file in the Persistent directory 0.134
And I create a persistent partition with the default settings 20.780
Then the file I created was copied to the Persistent Storage 0.508
When I shutdown Tails and wait for the computer to power off 10.388
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.276
Then persistence for "Persistent" is active 0.349
And the file I created in the Persistent directory exists 0.065
After features/support/hooks.rb:330 1.420
After features/support/hooks.rb:100 0.009
Tags: @product
55.602
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 10.100
And the system is very low on memory 3.235
When I create a file in the Persistent directory 1.203
When I try to create a persistent partition 23.393
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.200
When I close the Persistent Storage app 2.542
And I free up some memory 1.288
And I create a persistent partition with the default settings 13.186
Then the file I created was copied to the Persistent Storage 0.451
After features/support/hooks.rb:330 2.231
After features/support/hooks.rb:100 0.000
Tags: @product
2:45.832
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.234
Then Tails is running from USB drive "__internal" 0.607
And all tps features are active 2.227
And all persistent directories have safe access rights 2.379
When I disable the first tps feature 6.730
Then all tps features but the first one are active 2.072
And I shutdown Tails and wait for the computer to power off 12.823
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.677
Then all tps features but the first one are active 2.079
After features/support/hooks.rb:330 1.600
After features/support/hooks.rb:100 0.009
Tags: @product
21.197
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.017
Then persistence for "Persistent" is active 0.079
And I create a file in the Persistent directory 0.082
Then the file I created was copied to the Persistent Storage 0.066
When I disable the first tps feature 6.575
Then persistence for "Persistent" is not active 0.086
And the Persistent directory does not exist 0.053
When I enable the first tps feature 3.095
Then persistence for "Persistent" is active 0.068
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:330 1.438
After features/support/hooks.rb:100 0.000
Tags: @product
21.838
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.754
Then persistence for "Persistent" is active 0.079
When I create a file in the Persistent directory 0.127
And I disable the first tps feature 6.688
And I delete the data of the Persistent Folder feature 4.134
Then the file I created does not exist on the Persistent Storage 0.053
After features/support/hooks.rb:330 1.477
After features/support/hooks.rb:100 0.000
Tags: @product
1:5.485
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.210
And the network is plugged 0.086
And Tor is ready 20.614
And I take note of which tps features are available 0.592
When I write some files expected to persist 1.446
And I shutdown Tails and wait for the computer to power off 8.647
# 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" 23.886
After features/support/hooks.rb:330 0.108
After features/support/hooks.rb:100 0.000
Tags: @product
3:7.302
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.719
And the network is plugged 0.121
And Tor is ready 21.012
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.190
And I shutdown Tails and wait for the computer to power off 8.256
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.956
And I capture all network traffic 0.008
And the network is plugged 0.092
And Tor is ready 22.137
And I switch to the "persistent-con-current" NetworkManager connection 0.551
And the 1st network device has a spoofed MAC address configured 0.081
And no network device leaked the real MAC address 0.172
After features/support/hooks.rb:330 0.686
After features/support/hooks.rb:100 0.076
Tags: @product
52.061
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 11.814
And I enable persistence creation in Tails Greeter 1.141
And I log in to a new session expecting no warning about the Persistent Storage not being activated 19.122
Then I create a persistent partition with the default settings using the wizard that was already open 19.982
After features/support/hooks.rb:330 2.218
After features/support/hooks.rb:100 0.000
Tags: @product
4:17.613
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.010
When I enable persistence 32.335
Then no persistent Greeter options were restored 14.406
When I set all Greeter options to non-default values 23.085
And I log in to a new session in German (de) after having activated the Persistent Storage 50.831
Then all Greeter options are set to non-default values 0.402
When I cold reboot the computer 7.289
And the computer reboots Tails 1:2.907
Given I enable persistence 15.448
Then persistent Greeter options were restored 0.726
When I log in to a new session after having activated the Persistent Storage 38.694
Then all Greeter options are set to non-default values 0.473
After features/support/hooks.rb:330 1.309
After features/support/hooks.rb:100 0.041
Tags: @product
3:32.842
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.851
# 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 37.210
And I shutdown Tails and wait for the computer to power off 12.297
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:0.915
And I change the passphrase of the Persistent Storage back to the original 31.565
After features/support/hooks.rb:330 1.869
After features/support/hooks.rb:100 0.009
Tags: @product
51.490
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.533
And I log in to a new session without activating the Persistent Storage 19.295
Then persistence is disabled 0.372
But a Tails persistence partition exists on USB drive "__internal" 9.039
And all notifications have disappeared 6.913
When I delete the persistent partition 5.982
Then there is no persistence partition on USB drive "__internal" 0.353
After features/support/hooks.rb:330 0.881
After features/support/hooks.rb:100 0.000
Tags: @product
2:32.039
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.380
When I write some dotfile expected to persist 1.057
And I shutdown Tails and wait for the computer to power off 8.528
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.669
Then the expected persistent dotfile is present in the filesystem 0.402
After features/support/hooks.rb:330 1.221
After features/support/hooks.rb:100 0.009
Tags: @product
1:37.572
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.672
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.085
When I try to enable persistence 0.261
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 26.864
When I log in to a new session after having activated the Persistent Storage 45.342
And all notifications have disappeared 8.327
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.969
And all tps features are enabled 2.091
And all tps features but the first one are active 1.958
After features/support/hooks.rb:330 1.497
After features/support/hooks.rb:100 0.000
Tags: @product
4:50.520
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 3:26.739
And I enable persistence 33.562
And I log in to a new session after having activated the Persistent Storage 45.326
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.564
And persistence is enabled 2.327
After features/support/hooks.rb:330 1.551
After features/support/hooks.rb:100 0.000
Tags: @product
27.800
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.807
And I enable persistence but something goes wrong during the LUKS header upgrade 18.316
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.676
After features/support/hooks.rb:330 0.651
After features/support/hooks.rb:100 0.000
Tags: @product
48.367
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.168
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.983
When I enable persistence 31.491
Then the filesystem of the Persistent Storage was repaired 0.105
And persistence is successfully enabled 2.617
After features/support/hooks.rb:330 1.160
After features/support/hooks.rb:100 0.000
Tags: @product
46.080
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.249
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.469
When I try to enable persistence 0.424
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 20.623
When I repair the filesystem of the Persistent Storage 5.075
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.547
And the filesystem of the Persistent Storage was repaired 1.082
When I close the filesystem repair dialog 1.209
Then persistence is successfully enabled 1.399
After features/support/hooks.rb:330 1.546
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:47.415
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.447
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.093
When I try to enable persistence 0.379
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.292
When I repair the filesystem of the Persistent Storage 1.270
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.065
When I log in to a new session 38.966
And all notifications have disappeared 8.449
# 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.382
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.309
When I close the "whisperback" window 1.796
Then the Tor Browser starts 20.212
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.748
After features/support/hooks.rb:330 2.282
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:48.018
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.980
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.478
And Tails detects disk read failures on the boot device 0.499
When I try to enable persistence 0.421
Then the Welcome Screen tells me that my hardware is probably failing 18.498
When I log in to a new session 44.273
And all notifications have disappeared 8.544
Then the Tor Browser starts 20.408
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.913
After features/support/hooks.rb:330 2.298
After features/support/hooks.rb:100 0.000