Project Number Date
test_Tails_ISO_stable 5567 10 Apr 2025, 19:35

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:12.301 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:32.917
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:51.823
And I update APT using apt 14.540
And I install "python3-behave" using apt 23.144
Then the Tails Persistent Storage behave tests pass 3.408
After features/support/hooks.rb:330 0.689
After features/support/hooks.rb:100 0.000
Tags: @product
1:23.579
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 55.050
When I log in to a new session without activating the Persistent Storage 21.514
Then Tails is running from USB drive "__internal" 0.428
And persistence is disabled 0.374
But a Tails persistence partition exists on USB drive "__internal" 6.211
After features/support/hooks.rb:330 1.576
After features/support/hooks.rb:100 0.000
Tags: @product
3:42.990
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 logged in 14.556
Then Tails is running from USB drive "__internal" 0.734
When I create a file in the Persistent directory 0.122
And I create a persistent partition with the default settings 23.735
Then the file I created was copied to the Persistent Storage 3.239
When I shutdown Tails and wait for the computer to power off 15.536
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:44.626
Then persistence for "Persistent" is active 0.354
And the file I created in the Persistent directory exists 0.081
After features/support/hooks.rb:330 2.314
After features/support/hooks.rb:100 0.010
Tags: @product
1:8.728
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 logged in 13.274
And the system is very low on memory 4.733
When I create a file in the Persistent directory 1.856
When I try to create a persistent partition 27.210
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.644
When I close the Persistent Storage app 2.676
And I free up some memory 3.501
And I create a persistent partition with the default settings 14.470
Then the file I created was copied to the Persistent Storage 0.358
After features/support/hooks.rb:330 2.414
After features/support/hooks.rb:100 0.000
Tags: @product
3:15.241
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 15.869
Then Tails is running from USB drive "__internal" 0.620
And all tps features are active 3.673
And all persistent directories have safe access rights 2.808
When I disable the first tps feature 8.294
Then all tps features but the first one are active 2.450
And I shutdown Tails and wait for the computer to power off 13.491
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:25.675
Then all tps features but the first one are active 2.357
After features/support/hooks.rb:330 1.709
After features/support/hooks.rb:100 0.009
Tags: @product
22.436
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.069
Then persistence for "Persistent" is active 0.726
And I create a file in the Persistent directory 0.128
Then the file I created was copied to the Persistent Storage 0.094
When I disable the first tps feature 6.172
Then persistence for "Persistent" is not active 0.101
And the Persistent directory does not exist 0.133
When I enable the first tps feature 3.861
Then persistence for "Persistent" is active 0.076
And the file I created in the Persistent directory exists 0.073
After features/support/hooks.rb:330 1.464
After features/support/hooks.rb:100 0.000
Tags: @product
22.042
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 10.324
Then persistence for "Persistent" is active 0.784
When I create a file in the Persistent directory 0.125
And I disable the first tps feature 6.368
And I delete the data of the Persistent Folder feature 4.383
Then the file I created does not exist on the Persistent Storage 0.055
After features/support/hooks.rb:330 1.544
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.676
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 10.470
And the network is plugged 0.096
And Tor is ready 21.693
And I take note of which tps features are available 0.679
When I write some files expected to persist 1.566
And I shutdown Tails and wait for the computer to power off 8.688
# 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.480
After features/support/hooks.rb:330 0.123
After features/support/hooks.rb:100 0.000
Tags: @product
3:15.740
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.666
And the network is plugged 0.078
And Tor is ready 21.679
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.198
And I shutdown Tails and wait for the computer to power off 11.360
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.465
And I capture all network traffic 0.007
And the network is plugged 0.084
And Tor is ready 20.579
And I switch to the "persistent-con-current" NetworkManager connection 0.389
And the 1st network device has a spoofed MAC address configured 0.094
And no network device leaked the real MAC address 0.136
After features/support/hooks.rb:330 0.780
After features/support/hooks.rb:100 0.066
Tags: @product
1:9.671
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 20.848
And I enable persistence creation in Tails Greeter 1.110
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.505
Then I create a persistent partition with the default settings using the wizard that was already open 24.206
After features/support/hooks.rb:330 3.042
After features/support/hooks.rb:100 0.000
Tags: @product
4:27.146
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.972
When I enable persistence 36.968
Then no persistent Greeter options were restored 14.327
When I set all Greeter options to non-default values 25.396
And I log in to a new session in German (de) after having activated the Persistent Storage 52.917
Then all Greeter options are set to non-default values 0.380
When I cold reboot the computer 7.626
And the computer reboots Tails 1:2.298
Given I enable persistence 19.795
Then persistent Greeter options were restored 0.622
When I log in to a new session after having activated the Persistent Storage 35.230
Then all Greeter options are set to non-default values 0.609
After features/support/hooks.rb:330 1.391
After features/support/hooks.rb:100 0.010
Tags: @product
3:44.623
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.675
# 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.733
And I shutdown Tails and wait for the computer to power off 14.647
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:9.784
And I change the passphrase of the Persistent Storage back to the original 33.781
After features/support/hooks.rb:330 2.998
After features/support/hooks.rb:100 0.012
Tags: @product
1:3.174
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.013
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.853
And I log in to a new session without activating the Persistent Storage 24.438
Then persistence is disabled 0.355
But a Tails persistence partition exists on USB drive "__internal" 11.362
And all notifications have disappeared 10.615
When I delete the persistent partition 5.739
Then there is no persistence partition on USB drive "__internal" 0.809
After features/support/hooks.rb:330 1.612
After features/support/hooks.rb:100 0.000
Tags: @product
2:49.227
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 10.755
When I write some dotfile expected to persist 0.072
And I shutdown Tails and wait for the computer to power off 11.024
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:26.924
Then the expected persistent dotfile is present in the filesystem 0.450
After features/support/hooks.rb:330 3.602
After features/support/hooks.rb:100 0.014
Tags: @product
1:42.422
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 and stopped at Tails Greeter's login screen 9.895
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.088
When I try to enable persistence 0.309
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 35.829
When I log in to a new session after having activated the Persistent Storage 37.959
And all notifications have disappeared 8.748
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.930
And all tps features are enabled 3.346
And all tps features but the first one are active 2.313
After features/support/hooks.rb:330 1.947
After features/support/hooks.rb:100 0.000
Tags: @product
6:30.357
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 4:55.785
And I enable persistence 35.374
And I log in to a new session after having activated the Persistent Storage 55.136
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.020
And persistence is enabled 3.039
After features/support/hooks.rb:330 2.024
After features/support/hooks.rb:100 0.000
Tags: @product
32.080
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 9.338
And I enable persistence but something goes wrong during the LUKS header upgrade 21.832
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.909
After features/support/hooks.rb:330 0.747
After features/support/hooks.rb:100 0.000
Tags: @product
49.218
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 and stopped at Tails Greeter's login screen 9.725
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.174
When I enable persistence 30.226
Then the filesystem of the Persistent Storage was repaired 0.092
And persistence is successfully enabled 2.999
After features/support/hooks.rb:330 1.810
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.283
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 and stopped at Tails Greeter's login screen 11.172
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 11.691
When I try to enable persistence 1.498
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 33.317
When I repair the filesystem of the Persistent Storage 2.507
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.635
And the filesystem of the Persistent Storage was repaired 3.695
When I close the filesystem repair dialog 1.246
Then persistence is successfully enabled 1.519
After features/support/hooks.rb:330 1.524
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:0.174
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 and stopped at Tails Greeter's login screen 9.409
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.122
When I try to enable persistence 0.323
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 32.492
When I repair the filesystem of the Persistent Storage 1.257
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.080
When I log in to a new session 41.795
And all notifications have disappeared 7.943
# 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.763
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.233
When I close the "whisperback" window 1.490
Then the Tor Browser starts 23.392
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.870
After features/support/hooks.rb:330 2.821
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:5.568
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.653
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.929
And Tails detects disk read failures on the boot device 0.548
When I try to enable persistence 0.433
Then the Welcome Screen tells me that my hardware is probably failing 24.727
When I log in to a new session 51.715
And all notifications have disappeared 9.545
Then the Tor Browser starts 21.003
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.011
After features/support/hooks.rb:330 1.854
After features/support/hooks.rb:100 0.000