Project Number Date
test_Tails_ISO_stable 5116 25 Sep 2024, 08:52

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:39.049 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:21.102
Before features/support/hooks.rb:269 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:38.430
And I update APT using apt 14.371
And I install "python3-behave" using apt 25.638
Then the Tails Persistent Storage behave tests pass 2.663
After features/support/hooks.rb:326 0.663
After features/support/hooks.rb:100 0.000
Tags: @product
52.366
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 14.663
When I log in to a new session without activating the Persistent Storage 25.681
Then Tails is running from USB drive "__internal" 1.438
And persistence is disabled 0.483
But a Tails persistence partition exists on USB drive "__internal" 10.098
After features/support/hooks.rb:326 1.399
After features/support/hooks.rb:100 0.000
Tags: @product
3:25.357
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive without a persistent partition and logged in 15.820
Then Tails is running from USB drive "__internal" 0.491
When I create a file in the Persistent directory 0.168
And I create a persistent partition with the default settings 31.330
Then the file I created was copied to the Persistent Storage 0.704
When I shutdown Tails and wait for the computer to power off 12.901
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:22.624
Then persistence for "Persistent" is active 1.249
And the file I created in the Persistent directory exists 0.066
After features/support/hooks.rb:326 0.747
After features/support/hooks.rb:100 0.007
Tags: @product
1:5.124
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.838
And the system is very low on memory 4.562
When I create a file in the Persistent directory 0.882
When I try to create a persistent partition 28.151
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.222
When I close the Persistent Storage app 2.639
And I free up some memory 1.671
And I create a persistent partition with the default settings 14.902
Then the file I created was copied to the Persistent Storage 0.253
After features/support/hooks.rb:326 1.562
After features/support/hooks.rb:100 0.000
Tags: @product
2:55.009
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 12.135
Then Tails is running from USB drive "__internal" 0.811
And all tps features are active 2.699
And all persistent directories have safe access rights 2.708
When I disable the first tps feature 6.275
Then all tps features but the first one are active 2.388
And I shutdown Tails and wait for the computer to power off 13.271
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.291
Then all tps features but the first one are active 2.426
After features/support/hooks.rb:326 0.682
After features/support/hooks.rb:100 0.007
Tags: @product
23.895
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.546
Then persistence for "Persistent" is active 0.489
And I create a file in the Persistent directory 0.072
Then the file I created was copied to the Persistent Storage 0.412
When I disable the first tps feature 6.696
Then persistence for "Persistent" is not active 0.106
And the Persistent directory does not exist 0.061
When I enable the first tps feature 4.342
Then persistence for "Persistent" is active 0.086
And the file I created in the Persistent directory exists 0.081
After features/support/hooks.rb:326 0.789
After features/support/hooks.rb:100 0.000
Tags: @product
23.324
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.590
Then persistence for "Persistent" is active 0.108
When I create a file in the Persistent directory 0.119
And I disable the first tps feature 7.220
And I delete the data of the Persistent Folder feature 5.212
Then the file I created does not exist on the Persistent Storage 0.072
After features/support/hooks.rb:326 1.950
After features/support/hooks.rb:100 0.000
Tags: @product
1:13.312
Before features/support/hooks.rb:269 0.014
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 13.079
And the network is plugged 0.103
And Tor is ready 24.106
And I take note of which tps features are available 0.606
When I write some files expected to persist 1.543
And I shutdown Tails and wait for the computer to power off 8.741
# 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.131
After features/support/hooks.rb:326 0.101
After features/support/hooks.rb:100 0.000
Tags: @product
3:54.382
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.686
And the network is plugged 0.085
And Tor is ready 25.464
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.268
And I shutdown Tails and wait for the computer to power off 13.557
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.558
And I capture all network traffic 0.008
And the network is plugged 0.100
And Tor is ready 47.746
And I switch to the "persistent-con-current" NetworkManager connection 0.460
And the 1st network device has a spoofed MAC address configured 0.124
And no network device leaked the real MAC address 0.321
After features/support/hooks.rb:326 0.637
After features/support/hooks.rb:100 0.068
Tags: @product
1:2.206
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 13.253
And I enable persistence creation in Tails Greeter 1.522
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.596
Then I create a persistent partition with the default settings using the wizard that was already open 24.834
After features/support/hooks.rb:326 2.294
After features/support/hooks.rb:100 0.000
Tags: @product
5:13.542
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 16.209
When I enable persistence 41.474
Then no persistent Greeter options were restored 14.443
When I set all Greeter options to non-default values 31.292
And I log in to a new session in German (de) after having activated the Persistent Storage 44.512
Then all Greeter options are set to non-default values 0.761
When I cold reboot the computer 7.800
And the computer reboots Tails 1:6.334
Given I enable persistence 33.128
Then persistent Greeter options were restored 15.271
When I log in to a new session after having activated the Persistent Storage 41.597
Then all Greeter options are set to non-default values 0.716
After features/support/hooks.rb:326 1.070
After features/support/hooks.rb:100 0.010
Tags: @product
4:1.734
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 11.092
# 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 49.339
And I shutdown Tails and wait for the computer to power off 12.916
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:19.134
And I change the passphrase of the Persistent Storage back to the original 29.251
After features/support/hooks.rb:326 2.062
After features/support/hooks.rb:100 0.008
Tags: @product
1:5.214
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 12.948
And I log in to a new session without activating the Persistent Storage 23.142
Then persistence is disabled 0.350
But a Tails persistence partition exists on USB drive "__internal" 11.346
And all notifications have disappeared 11.049
When I delete the persistent partition 5.887
Then there is no persistence partition on USB drive "__internal" 0.489
After features/support/hooks.rb:326 1.061
After features/support/hooks.rb:100 0.000
Tags: @product
2:36.316
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.580
When I write some dotfile expected to persist 0.077
And I shutdown Tails and wait for the computer to power off 8.888
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.321
Then the expected persistent dotfile is present in the filesystem 0.449
After features/support/hooks.rb:326 1.247
After features/support/hooks.rb:100 0.009
Tags: @product
1:38.825
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.030
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.098
When I try to enable persistence 0.284
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.618
When I log in to a new session after having activated the Persistent Storage 40.191
And all notifications have disappeared 7.841
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.990
And all tps features are enabled 2.490
And all tps features but the first one are active 2.280
After features/support/hooks.rb:326 1.256
After features/support/hooks.rb:100 0.000
Tags: @product
7:59.726
Before features/support/hooks.rb:269 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 6:28.784
And I enable persistence 36.122
And I log in to a new session after having activated the Persistent Storage 53.243
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.383
And persistence is enabled 0.192
After features/support/hooks.rb:326 1.344
After features/support/hooks.rb:100 0.000
Tags: @product
35.933
Before features/support/hooks.rb:269 0.004
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 11.175
And I enable persistence but something goes wrong during the LUKS header upgrade 23.783
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.974
After features/support/hooks.rb:326 0.781
After features/support/hooks.rb:100 0.000
Tags: @product
1:2.149
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 13.146
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 7.515
When I enable persistence 40.959
Then the filesystem of the Persistent Storage was repaired 0.104
And persistence is successfully enabled 0.424
After features/support/hooks.rb:326 1.068
After features/support/hooks.rb:100 0.000
Tags: @product
26.410
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.414
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.209
When I try to enable persistence 0.435
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 7.157
When I repair the filesystem of the Persistent Storage 1.259
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.238
And the filesystem of the Persistent Storage was repaired 0.079
When I close the filesystem repair dialog 1.208
Then persistence is successfully enabled 0.408
After features/support/hooks.rb:326 0.846
After features/support/hooks.rb:100 0.000
Tags: @product
2:0.555
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 9.783
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.115
When I try to enable persistence 0.288
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 33.619
When I repair the filesystem of the Persistent Storage 1.253
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.121
When I log in to a new session 49.255
And all notifications have disappeared 9.451
# 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.613
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.575
When I close the "whisperback" window 1.477
Then the Tor Browser starts 13.427
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 0.571
After features/support/hooks.rb:326 2.630
After features/support/hooks.rb:100 0.000
Tags: @product
1:22.556
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 9.166
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.860
And Tails detects disk read failures on the boot device 1.585
When I try to enable persistence 0.739
Then the Welcome Screen tells me that my hardware is probably failing 7.087
When I log in to a new session 22.217
And all notifications have disappeared 7.995
Then the Tor Browser starts 25.373
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 0.530
After features/support/hooks.rb:326 1.159
After features/support/hooks.rb:100 0.000