Project Number Date
test_Tails_ISO_stable 5476 21 Feb 2025, 15:49

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 40:34.426 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:13.412
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:31.439
And I update APT using apt 14.278
And I install "python3-behave" using apt 25.605
Then the Tails Persistent Storage behave tests pass 2.089
After features/support/hooks.rb:330 0.735
After features/support/hooks.rb:100 0.000
Tags: @product
44.676
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.678
When I log in to a new session without activating the Persistent Storage 22.224
Then Tails is running from USB drive "__internal" 0.558
And persistence is disabled 0.292
But a Tails persistence partition exists on USB drive "__internal" 9.923
After features/support/hooks.rb:330 1.610
After features/support/hooks.rb:100 0.000
Tags: @product
2:57.765
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 11.723
Then Tails is running from USB drive "__internal" 0.382
When I create a file in the Persistent directory 0.120
And I create a persistent partition with the default settings 23.071
Then the file I created was copied to the Persistent Storage 0.607
When I shutdown Tails and wait for the computer to power off 12.681
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.554
Then persistence for "Persistent" is active 0.554
And the file I created in the Persistent directory exists 0.068
After features/support/hooks.rb:330 1.473
After features/support/hooks.rb:100 0.008
Tags: @product
55.222
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.137
And the system is very low on memory 3.713
When I create a file in the Persistent directory 0.993
When I try to create a persistent partition 22.158
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.237
When I close the Persistent Storage app 2.548
And I free up some memory 1.766
And I create a persistent partition with the default settings 13.447
Then the file I created was copied to the Persistent Storage 0.218
After features/support/hooks.rb:330 1.843
After features/support/hooks.rb:100 0.000
Tags: @product
2:50.545
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 12.076
Then Tails is running from USB drive "__internal" 0.926
And all tps features are active 3.797
And all persistent directories have safe access rights 2.779
When I disable the first tps feature 6.865
Then all tps features but the first one are active 2.297
And I shutdown Tails and wait for the computer to power off 14.615
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.678
Then all tps features but the first one are active 2.507
After features/support/hooks.rb:330 1.349
After features/support/hooks.rb:100 0.007
Tags: @product
20.690
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.186
Then persistence for "Persistent" is active 0.266
And I create a file in the Persistent directory 0.073
Then the file I created was copied to the Persistent Storage 0.079
When I disable the first tps feature 6.608
Then persistence for "Persistent" is not active 0.076
And the Persistent directory does not exist 0.057
When I enable the first tps feature 3.220
Then persistence for "Persistent" is active 0.066
And the file I created in the Persistent directory exists 0.055
After features/support/hooks.rb:330 1.286
After features/support/hooks.rb:100 0.000
Tags: @product
19.077
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.282
Then persistence for "Persistent" is active 0.225
When I create a file in the Persistent directory 0.076
And I disable the first tps feature 5.642
And I delete the data of the Persistent Folder feature 3.794
Then the file I created does not exist on the Persistent Storage 0.055
After features/support/hooks.rb:330 1.399
After features/support/hooks.rb:100 0.000
Tags: @product
1:35.327
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.049
And the network is plugged 0.084
And Tor is ready 51.384
And I take note of which tps features are available 0.678
When I write some files expected to persist 1.550
And I shutdown Tails and wait for the computer to power off 8.591
# 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" 23.988
After features/support/hooks.rb:330 0.126
After features/support/hooks.rb:100 0.000
Tags: @product
3:8.332
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.554
And the network is plugged 0.087
And Tor is ready 20.931
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.237
And I shutdown Tails and wait for the computer to power off 8.732
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.980
And I capture all network traffic 0.006
And the network is plugged 0.072
And Tor is ready 22.161
And I switch to the "persistent-con-current" NetworkManager connection 0.372
And the 1st network device has a spoofed MAC address configured 0.075
And no network device leaked the real MAC address 0.120
After features/support/hooks.rb:330 0.642
After features/support/hooks.rb:100 0.066
Tags: @product
1:0.347
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 14.285
And I enable persistence creation in Tails Greeter 1.385
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.958
Then I create a persistent partition with the default settings using the wizard that was already open 22.717
After features/support/hooks.rb:330 2.236
After features/support/hooks.rb:100 0.000
Tags: @product
4:9.243
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.587
When I enable persistence 35.250
Then no persistent Greeter options were restored 14.033
When I set all Greeter options to non-default values 24.310
And I log in to a new session in German (de) after having activated the Persistent Storage 45.548
Then all Greeter options are set to non-default values 0.344
When I cold reboot the computer 7.491
And the computer reboots Tails 59.483
Given I enable persistence 19.668
Then persistent Greeter options were restored 0.541
When I log in to a new session after having activated the Persistent Storage 30.569
Then all Greeter options are set to non-default values 0.414
After features/support/hooks.rb:330 1.910
After features/support/hooks.rb:100 0.008
Tags: @product
3:33.867
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.155
# 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 34.975
And I shutdown Tails and wait for the computer to power off 12.357
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:4.120
And I change the passphrase of the Persistent Storage back to the original 32.257
After features/support/hooks.rb:330 1.513
After features/support/hooks.rb:100 0.008
Tags: @product
1:1.667
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 10.474
And I log in to a new session without activating the Persistent Storage 21.997
Then persistence is disabled 0.274
But a Tails persistence partition exists on USB drive "__internal" 13.784
And all notifications have disappeared 9.046
When I delete the persistent partition 5.840
Then there is no persistence partition on USB drive "__internal" 0.251
After features/support/hooks.rb:330 1.551
After features/support/hooks.rb:100 0.000
Tags: @product
2:26.384
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.277
When I write some dotfile expected to persist 0.244
And I shutdown Tails and wait for the computer to power off 11.080
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.303
Then the expected persistent dotfile is present in the filesystem 0.478
After features/support/hooks.rb:330 1.224
After features/support/hooks.rb:100 0.008
Tags: @product
1:41.113
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 8.702
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.087
When I try to enable persistence 0.280
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 32.703
When I log in to a new session after having activated the Persistent Storage 41.432
And all notifications have disappeared 8.788
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.382
And all tps features are enabled 2.652
And all tps features but the first one are active 2.084
After features/support/hooks.rb:330 1.590
After features/support/hooks.rb:100 0.000
Tags: @product
5:32.092
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 3:58.494
And I enable persistence 40.439
And I log in to a new session after having activated the Persistent Storage 49.231
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.204
And persistence is enabled 2.721
After features/support/hooks.rb:330 1.824
After features/support/hooks.rb:100 0.000
Tags: @product
28.928
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.812
And I enable persistence but something goes wrong during the LUKS header upgrade 19.274
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.840
After features/support/hooks.rb:330 0.797
After features/support/hooks.rb:100 0.000
Tags: @product
57.009
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 10.918
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 10.634
When I enable persistence 32.277
Then the filesystem of the Persistent Storage was repaired 0.080
And persistence is successfully enabled 3.099
After features/support/hooks.rb:330 1.805
After features/support/hooks.rb:100 0.000
Tags: @product
48.603
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 8.793
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.876
When I try to enable persistence 1.538
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.755
When I repair the filesystem of the Persistent Storage 1.282
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.048
And the filesystem of the Persistent Storage was repaired 1.581
When I close the filesystem repair dialog 1.224
Then persistence is successfully enabled 1.501
After features/support/hooks.rb:330 3.163
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:51.599
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.351
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.114
When I try to enable persistence 0.277
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.511
When I repair the filesystem of the Persistent Storage 1.289
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 4.006
When I log in to a new session 35.180
And all notifications have disappeared 8.714
# 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.170
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.786
When I close the "whisperback" window 1.731
Then the Tor Browser starts 18.566
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.899
After features/support/hooks.rb:330 2.925
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:58.518
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.882
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.950
And Tails detects disk read failures on the boot device 1.489
When I try to enable persistence 1.479
Then the Welcome Screen tells me that my hardware is probably failing 18.986
When I log in to a new session 52.582
And all notifications have disappeared 7.101
Then the Tor Browser starts 21.206
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.839
After features/support/hooks.rb:330 2.111
After features/support/hooks.rb:100 0.000