Project Number Date
test_Tails_ISO_stable 5519 17 Mar 2025, 17:05

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 45:4.503 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:48.489
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 1:35.786
And I update APT using apt 1:46.501
And I install "python3-behave" using apt 22.491
Then the Tails Persistent Storage behave tests pass 3.708
After features/support/hooks.rb:330 1.391
After features/support/hooks.rb:100 0.000
Tags: @product
49.215
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 15.972
When I log in to a new session without activating the Persistent Storage 22.909
Then Tails is running from USB drive "__internal" 0.610
And persistence is disabled 0.384
But a Tails persistence partition exists on USB drive "__internal" 9.339
After features/support/hooks.rb:330 2.002
After features/support/hooks.rb:100 0.000
Tags: @product
3:15.333
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 12.081
Then Tails is running from USB drive "__internal" 0.397
When I create a file in the Persistent directory 0.139
And I create a persistent partition with the default settings 22.803
Then the file I created was copied to the Persistent Storage 0.661
When I shutdown Tails and wait for the computer to power off 12.994
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:25.714
Then persistence for "Persistent" is active 0.400
And the file I created in the Persistent directory exists 0.140
After features/support/hooks.rb:330 1.730
After features/support/hooks.rb:100 0.007
Tags: @product
1:6.380
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.223
And the system is very low on memory 2.864
When I create a file in the Persistent directory 1.436
When I try to create a persistent partition 34.480
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.463
When I close the Persistent Storage app 2.575
And I free up some memory 1.384
And I create a persistent partition with the default settings 12.716
Then the file I created was copied to the Persistent Storage 0.235
After features/support/hooks.rb:330 2.046
After features/support/hooks.rb:100 0.000
Tags: @product
2:55.117
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.992
Then Tails is running from USB drive "__internal" 0.677
And all tps features are active 2.510
And all persistent directories have safe access rights 2.654
When I disable the first tps feature 6.171
Then all tps features but the first one are active 1.998
And I shutdown Tails and wait for the computer to power off 15.407
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.386
Then all tps features but the first one are active 2.317
After features/support/hooks.rb:330 1.361
After features/support/hooks.rb:100 0.009
Tags: @product
20.565
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 10.341
Then persistence for "Persistent" is active 0.418
And I create a file in the Persistent directory 0.145
Then the file I created was copied to the Persistent Storage 0.120
When I disable the first tps feature 6.161
Then persistence for "Persistent" is not active 0.059
And the Persistent directory does not exist 0.069
When I enable the first tps feature 3.098
Then persistence for "Persistent" is active 0.078
And the file I created in the Persistent directory exists 0.071
After features/support/hooks.rb:330 1.284
After features/support/hooks.rb:100 0.000
Tags: @product
19.914
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.240
Then persistence for "Persistent" is active 0.135
When I create a file in the Persistent directory 0.226
And I disable the first tps feature 6.328
And I delete the data of the Persistent Folder feature 3.924
Then the file I created does not exist on the Persistent Storage 0.058
After features/support/hooks.rb:330 1.464
After features/support/hooks.rb:100 0.000
Tags: @product
1:33.103
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.497
And the network is plugged 0.099
And Tor is ready 48.261
And I take note of which tps features are available 0.592
When I write some files expected to persist 1.547
And I shutdown Tails and wait for the computer to power off 8.600
# 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.504
After features/support/hooks.rb:330 0.095
After features/support/hooks.rb:100 0.000
Tags: @product
3:35.444
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.576
And the network is plugged 0.088
And Tor is ready 47.438
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.201
And I shutdown Tails and wait for the computer to power off 8.971
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.758
And I capture all network traffic 0.008
And the network is plugged 0.072
And Tor is ready 20.650
And I switch to the "persistent-con-current" NetworkManager connection 0.447
And the 1st network device has a spoofed MAC address configured 0.099
And no network device leaked the real MAC address 0.130
After features/support/hooks.rb:330 0.673
After features/support/hooks.rb:100 0.050
Tags: @product
1:1.642
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.871
And I enable persistence creation in Tails Greeter 1.132
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.053
Then I create a persistent partition with the default settings using the wizard that was already open 27.585
After features/support/hooks.rb:330 1.449
After features/support/hooks.rb:100 0.000
Tags: @product
4:40.443
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.015
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 17.907
When I enable persistence 39.904
Then no persistent Greeter options were restored 14.196
When I set all Greeter options to non-default values 24.474
And I log in to a new session in German (de) after having activated the Persistent Storage 46.410
Then all Greeter options are set to non-default values 0.424
When I cold reboot the computer 9.511
And the computer reboots Tails 1:8.666
Given I enable persistence 18.803
Then persistent Greeter options were restored 0.549
When I log in to a new session after having activated the Persistent Storage 39.046
Then all Greeter options are set to non-default values 0.547
After features/support/hooks.rb:330 2.221
After features/support/hooks.rb:100 0.012
Tags: @product
3:59.175
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 24.601
# 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.507
And I shutdown Tails and wait for the computer to power off 11.735
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:18.353
And I change the passphrase of the Persistent Storage back to the original 30.978
After features/support/hooks.rb:330 2.095
After features/support/hooks.rb:100 0.013
Tags: @product
58.343
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.177
And I log in to a new session without activating the Persistent Storage 24.089
Then persistence is disabled 0.325
But a Tails persistence partition exists on USB drive "__internal" 6.926
And all notifications have disappeared 8.884
When I delete the persistent partition 7.540
Then there is no persistence partition on USB drive "__internal" 0.399
After features/support/hooks.rb:330 1.615
After features/support/hooks.rb:100 0.000
Tags: @product
2:28.553
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.926
When I write some dotfile expected to persist 0.303
And I shutdown Tails and wait for the computer to power off 10.912
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.912
Then the expected persistent dotfile is present in the filesystem 0.497
After features/support/hooks.rb:330 1.193
After features/support/hooks.rb:100 0.009
Tags: @product
1:47.779
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.879
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.083
When I try to enable persistence 0.318
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 30.363
When I log in to a new session after having activated the Persistent Storage 49.355
And all notifications have disappeared 7.889
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.391
And all tps features are enabled 2.356
And all tps features but the first one are active 2.142
After features/support/hooks.rb:330 1.730
After features/support/hooks.rb:100 0.000
Tags: @product
6:18.533
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 4:56.601
And I enable persistence 34.890
And I log in to a new session after having activated the Persistent Storage 40.500
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.243
And persistence is enabled 3.298
After features/support/hooks.rb:330 1.563
After features/support/hooks.rb:100 0.000
Tags: @product
32.291
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 10.276
And I enable persistence but something goes wrong during the LUKS header upgrade 21.193
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.821
After features/support/hooks.rb:330 1.065
After features/support/hooks.rb:100 0.000
Tags: @product
49.536
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.345
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.233
When I enable persistence 32.194
Then the filesystem of the Persistent Storage was repaired 0.126
And persistence is successfully enabled 2.637
After features/support/hooks.rb:330 1.507
After features/support/hooks.rb:100 0.000
Tags: @product
51.022
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.971
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.936
When I try to enable persistence 0.448
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.343
When I repair the filesystem of the Persistent Storage 1.264
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.139
And the filesystem of the Persistent Storage was repaired 1.960
When I close the filesystem repair dialog 1.467
Then persistence is successfully enabled 1.489
After features/support/hooks.rb:330 1.870
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:54.117
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.389
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.127
When I try to enable persistence 0.321
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 33.713
When I repair the filesystem of the Persistent Storage 1.207
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.089
When I log in to a new session 36.013
And all notifications have disappeared 9.318
# 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.374
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.682
When I close the "whisperback" window 1.562
Then the Tor Browser starts 18.331
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.985
After features/support/hooks.rb:330 2.289
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:59.498
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.614
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.874
And Tails detects disk read failures on the boot device 1.618
When I try to enable persistence 0.481
Then the Welcome Screen tells me that my hardware is probably failing 19.959
When I log in to a new session 48.958
And all notifications have disappeared 8.185
Then the Tor Browser starts 23.489
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.317
After features/support/hooks.rb:330 2.235
After features/support/hooks.rb:100 0.000