Project Number Date
test_Tails_ISO_stable 5426 28 Jan 2025, 14:48

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:11.596 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:5.927
Before features/support/hooks.rb:269 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 2:22.248
And I update APT using apt 14.423
And I install "python3-behave" using apt 25.601
Then the Tails Persistent Storage behave tests pass 3.654
After features/support/hooks.rb:326 0.823
After features/support/hooks.rb:100 0.000
Tags: @product
52.382
Before features/support/hooks.rb:269 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 16.233
When I log in to a new session without activating the Persistent Storage 23.297
Then Tails is running from USB drive "__internal" 1.939
And persistence is disabled 0.276
But a Tails persistence partition exists on USB drive "__internal" 10.634
After features/support/hooks.rb:326 1.060
After features/support/hooks.rb:100 0.000
Tags: @product
3:44.133
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 49.711
Then Tails is running from USB drive "__internal" 0.813
When I create a file in the Persistent directory 0.150
And I create a persistent partition with the default settings 24.327
Then the file I created was copied to the Persistent Storage 0.687
When I shutdown Tails and wait for the computer to power off 13.384
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.685
Then persistence for "Persistent" is active 1.281
And the file I created in the Persistent directory exists 0.091
After features/support/hooks.rb:326 1.892
After features/support/hooks.rb:100 0.007
Tags: @product
1:5.456
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive without a persistent partition and logged in 16.735
And the system is very low on memory 5.301
When I create a file in the Persistent directory 2.328
When I try to create a persistent partition 20.917
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.480
When I close the Persistent Storage app 2.636
And I free up some memory 1.740
And I create a persistent partition with the default settings 15.038
Then the file I created was copied to the Persistent Storage 0.275
After features/support/hooks.rb:326 1.472
After features/support/hooks.rb:100 0.000
Tags: @product
2:54.052
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 15.168
Then Tails is running from USB drive "__internal" 0.536
And all tps features are active 2.532
And all persistent directories have safe access rights 2.976
When I disable the first tps feature 6.703
Then all tps features but the first one are active 3.366
And I shutdown Tails and wait for the computer to power off 13.687
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.717
Then all tps features but the first one are active 2.361
After features/support/hooks.rb:326 1.037
After features/support/hooks.rb:100 0.010
Tags: @product
20.501
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.489
Then persistence for "Persistent" is active 0.313
And I create a file in the Persistent directory 0.124
Then the file I created was copied to the Persistent Storage 0.097
When I disable the first tps feature 5.864
Then persistence for "Persistent" is not active 0.105
And the Persistent directory does not exist 0.084
When I enable the first tps feature 3.255
Then persistence for "Persistent" is active 0.099
And the file I created in the Persistent directory exists 0.067
After features/support/hooks.rb:326 0.866
After features/support/hooks.rb:100 0.000
Tags: @product
21.406
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.924
Then persistence for "Persistent" is active 0.072
When I create a file in the Persistent directory 0.072
And I disable the first tps feature 6.582
And I delete the data of the Persistent Folder feature 3.682
Then the file I created does not exist on the Persistent Storage 0.072
After features/support/hooks.rb:326 0.949
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.865
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.132
And the network is plugged 0.100
And Tor is ready 20.843
And I take note of which tps features are available 0.738
When I write some files expected to persist 1.798
And I shutdown Tails and wait for the computer to power off 8.743
# 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.507
After features/support/hooks.rb:326 0.142
After features/support/hooks.rb:100 0.000
Tags: @product
3:11.320
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.817
And the network is plugged 0.140
And Tor is ready 20.606
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.204
And I shutdown Tails and wait for the computer to power off 8.400
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.968
And I capture all network traffic 0.006
And the network is plugged 0.110
And Tor is ready 19.438
And I switch to the "persistent-con-current" NetworkManager connection 0.366
And the 1st network device has a spoofed MAC address configured 0.111
And no network device leaked the real MAC address 0.147
After features/support/hooks.rb:326 0.745
After features/support/hooks.rb:100 0.049
Tags: @product
1:2.082
Before features/support/hooks.rb:269 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 13.904
And I enable persistence creation in Tails Greeter 1.109
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.013
Then I create a persistent partition with the default settings using the wizard that was already open 25.054
After features/support/hooks.rb:326 1.445
After features/support/hooks.rb:100 0.000
Tags: @product
4:38.662
Before features/support/hooks.rb:269 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.769
When I enable persistence 36.878
Then no persistent Greeter options were restored 14.865
When I set all Greeter options to non-default values 25.472
And I log in to a new session in German (de) after having activated the Persistent Storage 50.215
Then all Greeter options are set to non-default values 0.309
When I cold reboot the computer 7.770
And the computer reboots Tails 1:9.602
Given I enable persistence 23.917
Then persistent Greeter options were restored 0.549
When I log in to a new session after having activated the Persistent Storage 36.618
Then all Greeter options are set to non-default values 0.692
After features/support/hooks.rb:326 1.064
After features/support/hooks.rb:100 0.019
Tags: @product
4:18.449
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.307
# 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 39.368
And I shutdown Tails and wait for the computer to power off 13.016
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:33.835
And I change the passphrase of the Persistent Storage back to the original 41.922
After features/support/hooks.rb:326 1.432
After features/support/hooks.rb:100 0.010
Tags: @product
1:10.626
Before features/support/hooks.rb:269 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 12.593
And I log in to a new session without activating the Persistent Storage 26.708
Then persistence is disabled 0.411
But a Tails persistence partition exists on USB drive "__internal" 13.536
And all notifications have disappeared 9.843
When I delete the persistent partition 7.048
Then there is no persistence partition on USB drive "__internal" 0.485
After features/support/hooks.rb:326 1.014
After features/support/hooks.rb:100 0.000
Tags: @product
2:38.766
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.133
When I write some dotfile expected to persist 0.089
And I shutdown Tails and wait for the computer to power off 8.545
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.563
Then the expected persistent dotfile is present in the filesystem 0.434
After features/support/hooks.rb:326 1.448
After features/support/hooks.rb:100 0.181
Tags: @product
1:44.302
Before features/support/hooks.rb:269 0.075
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.061
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.075
When I try to enable persistence 0.309
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 39.551
When I log in to a new session after having activated the Persistent Storage 36.205
And all notifications have disappeared 7.806
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.381
And all tps features are enabled 3.225
And all tps features but the first one are active 2.686
After features/support/hooks.rb:326 1.114
After features/support/hooks.rb:100 0.000
Tags: @product
10:55.793
Before features/support/hooks.rb:269 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:9.298
And I enable persistence 46.906
And I log in to a new session after having activated the Persistent Storage 52.929
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.545
And persistence is enabled 4.113
After features/support/hooks.rb:326 1.189
After features/support/hooks.rb:100 0.000
Tags: @product
44.357
Before features/support/hooks.rb:269 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 13.269
And I enable persistence but something goes wrong during the LUKS header upgrade 29.943
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 1.143
After features/support/hooks.rb:326 1.341
After features/support/hooks.rb:100 0.000
Tags: @product
1:2.774
Before features/support/hooks.rb:269 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.948
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 8.130
When I enable persistence 40.221
Then the filesystem of the Persistent Storage was repaired 0.085
And persistence is successfully enabled 3.389
After features/support/hooks.rb:326 1.233
After features/support/hooks.rb:100 0.000
Tags: @product
53.347
Before features/support/hooks.rb:269 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.408
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.041
When I try to enable persistence 0.472
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.077
When I repair the filesystem of the Persistent Storage 1.270
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.863
And the filesystem of the Persistent Storage was repaired 2.135
When I close the filesystem repair dialog 1.314
Then persistence is successfully enabled 1.764
After features/support/hooks.rb:326 1.488
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:12.669
Before features/support/hooks.rb:269 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.633
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.093
When I try to enable persistence 0.324
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 36.321
When I repair the filesystem of the Persistent Storage 1.375
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.090
When I log in to a new session 50.914
And all notifications have disappeared 10.291
# 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.433
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.785
When I close the "whisperback" window 1.379
Then the Tor Browser starts 20.063
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.962
After features/support/hooks.rb:326 2.538
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:7.718
Before features/support/hooks.rb:269 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.684
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.453
And Tails detects disk read failures on the boot device 1.587
When I try to enable persistence 0.460
Then the Welcome Screen tells me that my hardware is probably failing 24.659
When I log in to a new session 53.972
And all notifications have disappeared 11.633
Then the Tor Browser starts 14.463
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.802
After features/support/hooks.rb:326 1.489
After features/support/hooks.rb:100 0.000