Project Number Date
test_Tails_ISO_devel 3781 13 Apr 2025, 13:08

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:14.673 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:20.913
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:37.831
And I update APT using apt 14.324
And I install "python3-behave" using apt 26.213
Then the Tails Persistent Storage behave tests pass 2.543
After features/support/hooks.rb:330 1.163
After features/support/hooks.rb:100 0.000
Tags: @product
47.550
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 11.503
When I log in to a new session without activating the Persistent Storage 21.826
Then Tails is running from USB drive "__internal" 0.566
And persistence is disabled 0.660
But a Tails persistence partition exists on USB drive "__internal" 12.993
After features/support/hooks.rb:330 2.582
After features/support/hooks.rb:100 0.000
Tags: @product
3:25.422
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 without a persistent partition and logged in 13.858
Then Tails is running from USB drive "__internal" 5.775
When I create a file in the Persistent directory 0.841
And I create a persistent partition with the default settings 27.315
Then the file I created was copied to the Persistent Storage 2.663
When I shutdown Tails and wait for the computer to power off 12.926
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:20.286
Then persistence for "Persistent" is active 1.684
And the file I created in the Persistent directory exists 0.070
After features/support/hooks.rb:330 2.250
After features/support/hooks.rb:100 0.007
Tags: @product
1:6.486
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.691
And the system is very low on memory 3.304
When I create a file in the Persistent directory 1.463
When I try to create a persistent partition 27.174
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.438
When I close the Persistent Storage app 3.016
And I free up some memory 3.393
And I create a persistent partition with the default settings 13.716
Then the file I created was copied to the Persistent Storage 0.287
After features/support/hooks.rb:330 3.298
After features/support/hooks.rb:100 0.000
Tags: @product
3:20.399
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 25.083
Then Tails is running from USB drive "__internal" 0.997
And all tps features are active 3.436
And all persistent directories have safe access rights 2.830
When I disable the first tps feature 6.674
Then all tps features but the first one are active 2.387
And I shutdown Tails and wait for the computer to power off 15.703
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:21.085
Then all tps features but the first one are active 2.201
After features/support/hooks.rb:330 3.373
After features/support/hooks.rb:100 0.009
Tags: @product
21.293
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.349
Then persistence for "Persistent" is active 0.191
And I create a file in the Persistent directory 0.086
Then the file I created was copied to the Persistent Storage 0.091
When I disable the first tps feature 6.014
Then persistence for "Persistent" is not active 0.089
And the Persistent directory does not exist 0.076
When I enable the first tps feature 3.228
Then persistence for "Persistent" is active 0.101
And the file I created in the Persistent directory exists 0.065
After features/support/hooks.rb:330 1.765
After features/support/hooks.rb:100 0.000
Tags: @product
21.618
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.420
Then persistence for "Persistent" is active 0.241
When I create a file in the Persistent directory 0.210
And I disable the first tps feature 5.857
And I delete the data of the Persistent Folder feature 3.825
Then the file I created does not exist on the Persistent Storage 0.063
After features/support/hooks.rb:330 1.743
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.248
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 9.544
And the network is plugged 0.132
And Tor is ready 21.232
And I take note of which tps features are available 0.690
When I write some files expected to persist 1.500
And I shutdown Tails and wait for the computer to power off 8.759
# 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.388
After features/support/hooks.rb:330 0.159
After features/support/hooks.rb:100 0.000
Tags: @product
3:5.908
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 9.567
And the network is plugged 0.080
And Tor is ready 18.460
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.238
And I shutdown Tails and wait for the computer to power off 8.342
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.336
And I capture all network traffic 0.014
And the network is plugged 0.077
And Tor is ready 19.179
And I switch to the "persistent-con-current" NetworkManager connection 0.378
And the 1st network device has a spoofed MAC address configured 0.099
And no network device leaked the real MAC address 0.133
After features/support/hooks.rb:330 0.615
After features/support/hooks.rb:100 0.049
Tags: @product
1:4.321
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 13.603
And I enable persistence creation in Tails Greeter 1.118
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.306
Then I create a persistent partition with the default settings using the wizard that was already open 28.293
After features/support/hooks.rb:330 3.183
After features/support/hooks.rb:100 0.000
Tags: @product
4:28.450
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 12.851
When I enable persistence 44.194
Then no persistent Greeter options were restored 14.390
When I set all Greeter options to non-default values 25.004
And I log in to a new session in German (de) after having activated the Persistent Storage 45.467
Then all Greeter options are set to non-default values 0.448
When I cold reboot the computer 7.345
And the computer reboots Tails 1:1.219
Given I enable persistence 18.272
Then persistent Greeter options were restored 0.625
When I log in to a new session after having activated the Persistent Storage 38.126
Then all Greeter options are set to non-default values 0.503
After features/support/hooks.rb:330 1.800
After features/support/hooks.rb:100 0.009
Tags: @product
3:38.749
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.173
# 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 35.778
And I shutdown Tails and wait for the computer to power off 15.028
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:8.453
And I change the passphrase of the Persistent Storage back to the original 29.316
After features/support/hooks.rb:330 3.909
After features/support/hooks.rb:100 0.008
Tags: @product
54.278
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.884
And I log in to a new session without activating the Persistent Storage 19.981
Then persistence is disabled 0.233
But a Tails persistence partition exists on USB drive "__internal" 6.353
And all notifications have disappeared 9.534
When I delete the persistent partition 7.287
Then there is no persistence partition on USB drive "__internal" 1.003
After features/support/hooks.rb:330 1.484
After features/support/hooks.rb:100 0.000
Tags: @product
2:34.020
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 9.790
When I write some dotfile expected to persist 0.073
And I shutdown Tails and wait for the computer to power off 11.042
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.424
Then the expected persistent dotfile is present in the filesystem 0.690
After features/support/hooks.rb:330 1.260
After features/support/hooks.rb:100 0.020
Tags: @product
1:42.037
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.842
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.094
When I try to enable persistence 0.304
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.001
When I log in to a new session after having activated the Persistent Storage 45.151
And all notifications have disappeared 7.947
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.882
And all tps features are enabled 2.765
And all tps features but the first one are active 2.046
After features/support/hooks.rb:330 1.686
After features/support/hooks.rb:100 0.000
Tags: @product
4:56.561
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:30.120
And I enable persistence 33.896
And I log in to a new session after having activated the Persistent Storage 48.569
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.494
And persistence is enabled 2.481
After features/support/hooks.rb:330 1.824
After features/support/hooks.rb:100 0.000
Tags: @product
30.459
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 8.857
And I enable persistence but something goes wrong during the LUKS header upgrade 20.409
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 1.191
After features/support/hooks.rb:330 0.797
After features/support/hooks.rb:100 0.000
Tags: @product
44.803
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.549
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.265
When I enable persistence 26.953
Then the filesystem of the Persistent Storage was repaired 0.090
And persistence is successfully enabled 2.945
After features/support/hooks.rb:330 1.547
After features/support/hooks.rb:100 0.000
Tags: @product
54.192
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.981
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.667
When I try to enable persistence 0.422
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.326
When I repair the filesystem of the Persistent Storage 1.295
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.059
And the filesystem of the Persistent Storage was repaired 4.247
When I close the filesystem repair dialog 1.682
Then persistence is successfully enabled 1.507
After features/support/hooks.rb:330 1.652
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:54.486
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.048
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.096
When I try to enable persistence 0.258
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.050
When I repair the filesystem of the Persistent Storage 1.338
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.086
When I log in to a new session 41.891
And all notifications have disappeared 9.952
# 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.258
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.753
When I close the "whisperback" window 1.619
Then the Tor Browser starts 19.313
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.817
After features/support/hooks.rb:330 1.601
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:56.470
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.004
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.891
And Tails detects disk read failures on the boot device 0.544
When I try to enable persistence 0.411
Then the Welcome Screen tells me that my hardware is probably failing 19.769
When I log in to a new session 48.848
And all notifications have disappeared 8.552
Then the Tor Browser starts 22.615
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.831
After features/support/hooks.rb:330 1.915
After features/support/hooks.rb:100 0.000