Project Number Date
test_Tails_ISO_stable 5587 22 Apr 2025, 13:11

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 50:43.287 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
10:18.105
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails from DVD and logged in with an administration password and the network is connected 2:18.898
And I update APT using apt 7:31.043
And I install "python3-behave" using apt 24.341
Then the Tails Persistent Storage behave tests pass 3.822
After features/support/hooks.rb:330 0.713
After features/support/hooks.rb:100 0.000
Tags: @product
53.729
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.194
When I log in to a new session without activating the Persistent Storage 28.307
Then Tails is running from USB drive "__internal" 0.820
And persistence is disabled 0.640
But a Tails persistence partition exists on USB drive "__internal" 11.766
After features/support/hooks.rb:330 2.198
After features/support/hooks.rb:100 0.000
Tags: @product
3:44.002
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 28.704
Then Tails is running from USB drive "__internal" 0.524
When I create a file in the Persistent directory 0.154
And I create a persistent partition with the default settings 26.584
Then the file I created was copied to the Persistent Storage 2.568
When I shutdown Tails and wait for the computer to power off 13.697
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:30.930
Then persistence for "Persistent" is active 0.760
And the file I created in the Persistent directory exists 0.078
After features/support/hooks.rb:330 1.437
After features/support/hooks.rb:100 0.007
Tags: @product
1:1.444
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 10.578
And the system is very low on memory 2.614
When I create a file in the Persistent directory 2.066
When I try to create a persistent partition 25.875
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 1.026
When I close the Persistent Storage app 2.778
And I free up some memory 3.847
And I create a persistent partition with the default settings 12.389
Then the file I created was copied to the Persistent Storage 0.268
After features/support/hooks.rb:330 2.800
After features/support/hooks.rb:100 0.000
Tags: @product
2:56.151
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.014
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 13.046
Then Tails is running from USB drive "__internal" 0.640
And all tps features are active 2.906
And all persistent directories have safe access rights 3.198
When I disable the first tps feature 7.976
Then all tps features but the first one are active 2.449
And I shutdown Tails and wait for the computer to power off 13.159
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.494
Then all tps features but the first one are active 2.279
After features/support/hooks.rb:330 1.077
After features/support/hooks.rb:100 0.011
Tags: @product
21.129
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.218
Then persistence for "Persistent" is active 0.172
And I create a file in the Persistent directory 0.135
Then the file I created was copied to the Persistent Storage 0.120
When I disable the first tps feature 6.826
Then persistence for "Persistent" is not active 0.077
And the Persistent directory does not exist 0.055
When I enable the first tps feature 3.321
Then persistence for "Persistent" is active 0.122
And the file I created in the Persistent directory exists 0.079
After features/support/hooks.rb:330 1.608
After features/support/hooks.rb:100 0.000
Tags: @product
21.175
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.852
Then persistence for "Persistent" is active 0.186
When I create a file in the Persistent directory 0.324
And I disable the first tps feature 7.152
And I delete the data of the Persistent Folder feature 3.608
Then the file I created does not exist on the Persistent Storage 0.050
After features/support/hooks.rb:330 1.574
After features/support/hooks.rb:100 0.000
Tags: @product
1:24.372
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 enabled and logged in 23.858
And the network is plugged 0.091
And Tor is ready 23.901
And I take note of which tps features are available 0.593
When I write some files expected to persist 1.527
And I shutdown Tails and wait for the computer to power off 8.624
# 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.775
After features/support/hooks.rb:330 0.128
After features/support/hooks.rb:100 0.000
Tags: @product
3:14.689
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.551
And the network is plugged 0.107
And Tor is ready 22.756
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.196
And I shutdown Tails and wait for the computer to power off 10.853
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.891
And I capture all network traffic 0.020
And the network is plugged 0.078
And Tor is ready 19.628
And I switch to the "persistent-con-current" NetworkManager connection 0.352
And the 1st network device has a spoofed MAC address configured 0.118
And no network device leaked the real MAC address 0.133
After features/support/hooks.rb:330 0.779
After features/support/hooks.rb:100 0.059
Tags: @product
1:5.127
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 without a persistent partition and stopped at Tails Greeter's login screen 18.258
And I enable persistence creation in Tails Greeter 1.116
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.676
Then I create a persistent partition with the default settings using the wizard that was already open 22.076
After features/support/hooks.rb:330 2.961
After features/support/hooks.rb:100 0.000
Tags: @product
4:26.879
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 11.999
When I enable persistence 38.716
Then no persistent Greeter options were restored 14.832
When I set all Greeter options to non-default values 25.334
And I log in to a new session in German (de) after having activated the Persistent Storage 42.367
Then all Greeter options are set to non-default values 0.377
When I cold reboot the computer 8.203
And the computer reboots Tails 1:3.965
Given I enable persistence 19.098
Then persistent Greeter options were restored 0.577
When I log in to a new session after having activated the Persistent Storage 40.897
Then all Greeter options are set to non-default values 0.508
After features/support/hooks.rb:330 3.411
After features/support/hooks.rb:100 0.009
Tags: @product
4:2.147
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 11.099
# 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 38.504
And I shutdown Tails and wait for the computer to power off 15.022
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:22.981
And I change the passphrase of the Persistent Storage back to the original 34.538
After features/support/hooks.rb:330 3.339
After features/support/hooks.rb:100 0.011
Tags: @product
1:1.059
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.912
And I log in to a new session without activating the Persistent Storage 22.676
Then persistence is disabled 0.333
But a Tails persistence partition exists on USB drive "__internal" 9.342
And all notifications have disappeared 11.352
When I delete the persistent partition 6.688
Then there is no persistence partition on USB drive "__internal" 0.753
After features/support/hooks.rb:330 1.517
After features/support/hooks.rb:100 0.000
Tags: @product
2:32.135
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.631
When I write some dotfile expected to persist 0.090
And I shutdown Tails and wait for the computer to power off 11.338
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.708
Then the expected persistent dotfile is present in the filesystem 0.367
After features/support/hooks.rb:330 1.306
After features/support/hooks.rb:100 0.009
Tags: @product
1:50.747
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.964
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.098
When I try to enable persistence 0.264
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.124
When I log in to a new session after having activated the Persistent Storage 52.818
And all notifications have disappeared 8.160
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.590
And all tps features are enabled 2.236
And all tps features but the first one are active 2.487
After features/support/hooks.rb:330 1.889
After features/support/hooks.rb:100 0.000
Tags: @product
5:26.303
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:2.825
And I enable persistence 30.386
And I log in to a new session after having activated the Persistent Storage 47.251
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.058
And persistence is enabled 3.780
After features/support/hooks.rb:330 1.565
After features/support/hooks.rb:100 0.000
Tags: @product
34.186
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 9.545
And I enable persistence but something goes wrong during the LUKS header upgrade 23.820
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.819
After features/support/hooks.rb:330 0.785
After features/support/hooks.rb:100 0.000
Tags: @product
51.009
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.048
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.864
When I enable persistence 33.126
Then the filesystem of the Persistent Storage was repaired 0.130
And persistence is successfully enabled 2.840
After features/support/hooks.rb:330 1.618
After features/support/hooks.rb:100 0.000
Tags: @product
53.587
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 10.563
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.346
When I try to enable persistence 0.502
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.263
When I repair the filesystem of the Persistent Storage 2.439
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.747
And the filesystem of the Persistent Storage was repaired 4.043
When I close the filesystem repair dialog 1.280
Then persistence is successfully enabled 1.401
After features/support/hooks.rb:330 1.848
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:55.255
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.012
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.032
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.096
When I try to enable persistence 0.299
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.281
When I repair the filesystem of the Persistent Storage 1.220
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.082
When I log in to a new session 41.834
And all notifications have disappeared 10.840
# 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.546
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.551
When I close the "whisperback" window 1.424
Then the Tor Browser starts 18.126
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.919
After features/support/hooks.rb:330 3.451
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:50.050
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.891
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.475
And Tails detects disk read failures on the boot device 1.586
When I try to enable persistence 0.494
Then the Welcome Screen tells me that my hardware is probably failing 25.039
When I log in to a new session 40.427
And all notifications have disappeared 9.226
Then the Tor Browser starts 16.970
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.938
After features/support/hooks.rb:330 1.588
After features/support/hooks.rb:100 0.000