Project Number Date
test_Tails_ISO_feature-arti 39 24 Apr 2025, 17:40

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 54:47.491 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:47.481
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 2:5.995
And I update APT using apt 14.569
And I install "python3-behave" using apt 23.557
Then the Tails Persistent Storage behave tests pass 3.358
After features/support/hooks.rb:330 0.664
After features/support/hooks.rb:100 0.000
Tags: @product
1:23.818
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 and stopped at Tails Greeter's login screen 38.095
When I log in to a new session without activating the Persistent Storage 27.876
Then Tails is running from USB drive "__internal" 0.807
And persistence is disabled 0.456
But a Tails persistence partition exists on USB drive "__internal" 16.583
After features/support/hooks.rb:330 1.436
After features/support/hooks.rb:100 0.000
Tags: @product
3:50.723
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 28.401
Then Tails is running from USB drive "__internal" 0.610
When I create a file in the Persistent directory 0.159
And I create a persistent partition with the default settings 24.723
Then the file I created was copied to the Persistent Storage 2.981
When I shutdown Tails and wait for the computer to power off 18.490
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:34.867
Then persistence for "Persistent" is active 0.412
And the file I created in the Persistent directory exists 0.076
After features/support/hooks.rb:330 1.986
After features/support/hooks.rb:100 0.009
Tags: @product
1:21.663
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 without a persistent partition and logged in 22.584
And the system is very low on memory 4.323
When I create a file in the Persistent directory 1.154
When I try to create a persistent partition 32.293
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.255
When I close the Persistent Storage app 2.792
And I free up some memory 4.138
And I create a persistent partition with the default settings 13.845
Then the file I created was copied to the Persistent Storage 0.273
After features/support/hooks.rb:330 3.282
After features/support/hooks.rb:100 0.000
Tags: @product
3:18.483
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 27.525
Then Tails is running from USB drive "__internal" 0.706
And all tps features are active 3.079
And all persistent directories have safe access rights 2.974
When I disable the first tps feature 5.916
Then all tps features but the first one are active 2.773
And I shutdown Tails and wait for the computer to power off 15.454
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.541
Then all tps features but the first one are active 2.510
After features/support/hooks.rb:330 1.439
After features/support/hooks.rb:100 0.013
Tags: @product
25.857
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 14.873
Then persistence for "Persistent" is active 0.077
And I create a file in the Persistent directory 0.067
Then the file I created was copied to the Persistent Storage 0.114
When I disable the first tps feature 7.110
Then persistence for "Persistent" is not active 0.099
And the Persistent directory does not exist 0.065
When I enable the first tps feature 3.306
Then persistence for "Persistent" is active 0.079
And the file I created in the Persistent directory exists 0.063
After features/support/hooks.rb:330 0.944
After features/support/hooks.rb:100 0.000
Tags: @product
21.981
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.627
Then persistence for "Persistent" is active 0.152
When I create a file in the Persistent directory 0.177
And I disable the first tps feature 6.966
And I delete the data of the Persistent Folder feature 3.992
Then the file I created does not exist on the Persistent Storage 0.065
After features/support/hooks.rb:330 1.028
After features/support/hooks.rb:100 0.000
Tags: @product
1:12.793
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.746
And the network is plugged 0.104
And Tor is ready 21.644
And I take note of which tps features are available 0.796
When I write some files expected to persist 1.997
And I shutdown Tails and wait for the computer to power off 11.672
# 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" 25.832
After features/support/hooks.rb:330 0.171
After features/support/hooks.rb:100 0.000
Tags: @product
3:25.192
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 9.737
And the network is plugged 0.100
And Tor is ready 18.015
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.213
And I shutdown Tails and wait for the computer to power off 11.011
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:23.032
And I capture all network traffic 0.009
And the network is plugged 0.570
And Tor is ready 21.790
And I switch to the "persistent-con-current" NetworkManager connection 0.403
And the 1st network device has a spoofed MAC address configured 0.111
And no network device leaked the real MAC address 0.196
After features/support/hooks.rb:330 0.956
After features/support/hooks.rb:100 0.051
Tags: @product
2:16.428
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 1:12.218
And I enable persistence creation in Tails Greeter 1.243
And I log in to a new session expecting no warning about the Persistent Storage not being activated 29.210
Then I create a persistent partition with the default settings using the wizard that was already open 33.755
After features/support/hooks.rb:330 4.490
After features/support/hooks.rb:100 0.000
Tags: @product
5:19.154
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 and stopped at Tails Greeter's login screen 30.225
When I enable persistence 42.746
Then no persistent Greeter options were restored 14.685
When I set all Greeter options to non-default values 29.963
And I log in to a new session in German (de) after having activated the Persistent Storage 55.639
Then all Greeter options are set to non-default values 0.592
When I cold reboot the computer 10.075
And the computer reboots Tails 1:6.537
Given I enable persistence 21.508
Then persistent Greeter options were restored 0.562
When I log in to a new session after having activated the Persistent Storage 46.285
Then all Greeter options are set to non-default values 0.333
After features/support/hooks.rb:330 1.848
After features/support/hooks.rb:100 0.014
Tags: @product
4:19.551
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.011
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 14.675
# 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 46.284
And I shutdown Tails and wait for the computer to power off 15.360
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:26.272
And I change the passphrase of the Persistent Storage back to the original 36.960
After features/support/hooks.rb:330 3.288
After features/support/hooks.rb:100 0.012
Tags: @product
58.319
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 and stopped at Tails Greeter's login screen 10.479
And I log in to a new session without activating the Persistent Storage 23.126
Then persistence is disabled 0.424
But a Tails persistence partition exists on USB drive "__internal" 7.898
And all notifications have disappeared 9.635
When I delete the persistent partition 6.035
Then there is no persistence partition on USB drive "__internal" 0.720
After features/support/hooks.rb:330 1.073
After features/support/hooks.rb:100 0.000
Tags: @product
2:40.732
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 11.434
When I write some dotfile expected to persist 0.076
And I shutdown Tails and wait for the computer to power off 10.697
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.050
Then the expected persistent dotfile is present in the filesystem 0.474
After features/support/hooks.rb:330 1.476
After features/support/hooks.rb:100 0.012
Tags: @product
1:53.513
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 11.481
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.110
When I try to enable persistence 0.323
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.748
When I log in to a new session after having activated the Persistent Storage 49.771
And all notifications have disappeared 10.126
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.220
And all tps features are enabled 3.187
And all tps features but the first one are active 2.543
After features/support/hooks.rb:330 0.961
After features/support/hooks.rb:100 0.000
Tags: @product
11:30.352
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 9:53.058
And I enable persistence 43.004
And I log in to a new session after having activated the Persistent Storage 48.588
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.155
And persistence is enabled 3.545
After features/support/hooks.rb:330 1.718
After features/support/hooks.rb:100 0.000
Tags: @product
33.255
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 9.616
And I enable persistence but something goes wrong during the LUKS header upgrade 22.807
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.831
After features/support/hooks.rb:330 0.872
After features/support/hooks.rb:100 0.000
Tags: @product
53.261
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 and stopped at Tails Greeter's login screen 10.299
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.836
When I enable persistence 33.023
Then the filesystem of the Persistent Storage was repaired 0.090
And persistence is successfully enabled 4.012
After features/support/hooks.rb:330 1.647
After features/support/hooks.rb:100 0.000
Tags: @product
1:37.388
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 and stopped at Tails Greeter's login screen 9.374
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 23.644
When I try to enable persistence 0.458
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 50.919
When I repair the filesystem of the Persistent Storage 1.296
Then the Welcome Screen tells me that the filesystem was repaired successfully 4.024
And the filesystem of the Persistent Storage was repaired 4.745
When I close the filesystem repair dialog 1.277
Then persistence is successfully enabled 1.647
After features/support/hooks.rb:330 1.698
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:28.836
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 12.774
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.131
When I try to enable persistence 0.342
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 52.969
When I repair the filesystem of the Persistent Storage 1.314
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.086
When I log in to a new session 45.433
And all notifications have disappeared 10.795
# 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.606
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.539
When I close the "whisperback" window 1.717
Then the Tor Browser starts 19.709
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.414
After features/support/hooks.rb:330 3.656
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:8.700
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.010
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.982
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 12.865
And Tails detects disk read failures on the boot device 1.652
When I try to enable persistence 0.442
Then the Welcome Screen tells me that my hardware is probably failing 21.517
When I log in to a new session 50.741
And all notifications have disappeared 8.994
Then the Tor Browser starts 21.567
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.937
After features/support/hooks.rb:330 3.271
After features/support/hooks.rb:100 0.000