Project Number Date
test_Tails_ISO_feature-arti 6 23 Mar 2025, 16:24

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 41:53.777 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
5:55.916
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:13.392
And I update APT using apt 3:14.779
And I install "python3-behave" using apt 25.539
Then the Tails Persistent Storage behave tests pass 2.204
After features/support/hooks.rb:330 0.603
After features/support/hooks.rb:100 0.000
Tags: @product
39.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 10.488
When I log in to a new session without activating the Persistent Storage 21.641
Then Tails is running from USB drive "__internal" 0.471
And persistence is disabled 0.449
But a Tails persistence partition exists on USB drive "__internal" 6.767
After features/support/hooks.rb:330 1.197
After features/support/hooks.rb:100 0.000
Tags: @product
3:7.125
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 logged in 13.801
Then Tails is running from USB drive "__internal" 0.379
When I create a file in the Persistent directory 0.130
And I create a persistent partition with the default settings 22.809
Then the file I created was copied to the Persistent Storage 0.753
When I shutdown Tails and wait for the computer to power off 12.601
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.189
Then persistence for "Persistent" is active 0.397
And the file I created in the Persistent directory exists 0.062
After features/support/hooks.rb:330 1.695
After features/support/hooks.rb:100 0.007
Tags: @product
56.529
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 10.782
And the system is very low on memory 3.362
When I create a file in the Persistent directory 1.122
When I try to create a persistent partition 22.034
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.299
When I close the Persistent Storage app 2.542
And I free up some memory 1.246
And I create a persistent partition with the default settings 14.928
Then the file I created was copied to the Persistent Storage 0.210
After features/support/hooks.rb:330 2.295
After features/support/hooks.rb:100 0.000
Tags: @product
2:40.704
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 11.703
Then Tails is running from USB drive "__internal" 0.464
And all tps features are active 2.226
And all persistent directories have safe access rights 2.481
When I disable the first tps feature 5.894
Then all tps features but the first one are active 2.015
And I shutdown Tails and wait for the computer to power off 10.849
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:2.966
Then all tps features but the first one are active 2.101
After features/support/hooks.rb:330 1.448
After features/support/hooks.rb:100 0.009
Tags: @product
19.557
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.073
Then persistence for "Persistent" is active 0.078
And I create a file in the Persistent directory 0.079
Then the file I created was copied to the Persistent Storage 0.133
When I disable the first tps feature 5.824
Then persistence for "Persistent" is not active 0.067
And the Persistent directory does not exist 0.065
When I enable the first tps feature 3.114
Then persistence for "Persistent" is active 0.064
And the file I created in the Persistent directory exists 0.057
After features/support/hooks.rb:330 1.092
After features/support/hooks.rb:100 0.000
Tags: @product
19.297
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.706
Then persistence for "Persistent" is active 0.075
When I create a file in the Persistent directory 0.071
And I disable the first tps feature 5.858
And I delete the data of the Persistent Folder feature 3.526
Then the file I created does not exist on the Persistent Storage 0.059
After features/support/hooks.rb:330 1.155
After features/support/hooks.rb:100 0.000
Tags: @product
1:4.151
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.009
And the network is plugged 0.066
And Tor is ready 20.415
And I take note of which tps features are available 0.641
When I write some files expected to persist 1.474
And I shutdown Tails and wait for the computer to power off 8.864
# 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.679
After features/support/hooks.rb:330 0.104
After features/support/hooks.rb:100 0.000
Tags: @product
3:4.336
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 9.563
And the network is plugged 0.080
And Tor is ready 19.643
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.228
And I shutdown Tails and wait for the computer to power off 8.350
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.643
And I capture all network traffic 0.007
And the network is plugged 0.075
And Tor is ready 20.159
And I switch to the "persistent-con-current" NetworkManager connection 0.307
And the 1st network device has a spoofed MAC address configured 0.116
And no network device leaked the real MAC address 0.160
After features/support/hooks.rb:330 0.682
After features/support/hooks.rb:100 0.058
Tags: @product
1:8.311
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 stopped at Tails Greeter's login screen 27.301
And I enable persistence creation in Tails Greeter 1.157
And I log in to a new session expecting no warning about the Persistent Storage not being activated 19.624
Then I create a persistent partition with the default settings using the wizard that was already open 20.227
After features/support/hooks.rb:330 1.742
After features/support/hooks.rb:100 0.000
Tags: @product
4:6.110
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.929
When I enable persistence 33.561
Then no persistent Greeter options were restored 14.250
When I set all Greeter options to non-default values 22.564
And I log in to a new session in German (de) after having activated the Persistent Storage 42.485
Then all Greeter options are set to non-default values 0.550
When I cold reboot the computer 5.795
And the computer reboots Tails 59.090
Given I enable persistence 17.253
Then persistent Greeter options were restored 0.502
When I log in to a new session after having activated the Persistent Storage 38.693
Then all Greeter options are set to non-default values 0.433
After features/support/hooks.rb:330 1.673
After features/support/hooks.rb:100 0.009
Tags: @product
3:31.969
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.985
# 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.696
And I shutdown Tails and wait for the computer to power off 10.949
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:0.844
And I change the passphrase of the Persistent Storage back to the original 36.492
After features/support/hooks.rb:330 1.954
After features/support/hooks.rb:100 0.007
Tags: @product
51.756
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 10.012
And I log in to a new session without activating the Persistent Storage 18.780
Then persistence is disabled 0.305
But a Tails persistence partition exists on USB drive "__internal" 7.593
And all notifications have disappeared 8.305
When I delete the persistent partition 6.288
Then there is no persistence partition on USB drive "__internal" 0.469
After features/support/hooks.rb:330 1.041
After features/support/hooks.rb:100 0.000
Tags: @product
2:29.412
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.894
When I write some dotfile expected to persist 0.067
And I shutdown Tails and wait for the computer to power off 8.652
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.396
Then the expected persistent dotfile is present in the filesystem 0.402
After features/support/hooks.rb:330 1.091
After features/support/hooks.rb:100 0.009
Tags: @product
1:36.479
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.218
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.076
When I try to enable persistence 0.271
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 26.404
When I log in to a new session after having activated the Persistent Storage 42.586
And all notifications have disappeared 9.676
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.770
And all tps features are enabled 2.439
And all tps features but the first one are active 2.034
After features/support/hooks.rb:330 1.182
After features/support/hooks.rb:100 0.000
Tags: @product
4:25.042
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 3:12.667
And I enable persistence 29.112
And I log in to a new session after having activated the Persistent Storage 37.751
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.860
And persistence is enabled 3.649
After features/support/hooks.rb:330 1.027
After features/support/hooks.rb:100 0.000
Tags: @product
31.366
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 9.361
And I enable persistence but something goes wrong during the LUKS header upgrade 21.279
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.725
After features/support/hooks.rb:330 0.730
After features/support/hooks.rb:100 0.000
Tags: @product
43.425
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.551
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.787
When I enable persistence 27.524
Then the filesystem of the Persistent Storage was repaired 0.089
And persistence is successfully enabled 2.471
After features/support/hooks.rb:330 2.490
After features/support/hooks.rb:100 0.000
Tags: @product
43.588
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.658
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.600
When I try to enable persistence 0.521
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 20.370
When I repair the filesystem of the Persistent Storage 3.437
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.747
And the filesystem of the Persistent Storage was repaired 1.366
When I close the filesystem repair dialog 1.494
Then persistence is successfully enabled 1.391
After features/support/hooks.rb:330 1.203
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:42.682
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 8.545
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.100
When I try to enable persistence 0.304
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.452
When I repair the filesystem of the Persistent Storage 5.051
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.070
When I log in to a new session 28.800
And all notifications have disappeared 7.586
# 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" 1.576
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.181
When I close the "whisperback" window 2.695
Then the Tor Browser starts 18.479
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.836
After features/support/hooks.rb:330 2.369
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:56.194
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.290
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.148
And Tails detects disk read failures on the boot device 0.690
When I try to enable persistence 1.539
Then the Welcome Screen tells me that my hardware is probably failing 18.438
When I log in to a new session 47.988
And all notifications have disappeared 7.162
Then the Tor Browser starts 20.006
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.929
After features/support/hooks.rb:330 3.595
After features/support/hooks.rb:100 0.000