Project Number Date
test_Tails_ISO_tca-remove-cruft 4 11 May 2025, 09:50

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:42.059 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:26.729
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:43.394
And I update APT using apt 14.017
And I install "python3-behave" using apt 26.277
Then the Tails Persistent Storage behave tests pass 3.039
After features/support/hooks.rb:330 2.287
After features/support/hooks.rb:100 0.000
Tags: @product
51.287
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 14.968
When I log in to a new session without activating the Persistent Storage 23.999
Then Tails is running from USB drive "__internal" 0.683
And persistence is disabled 0.583
But a Tails persistence partition exists on USB drive "__internal" 11.053
After features/support/hooks.rb:330 1.966
After features/support/hooks.rb:100 0.000
Tags: @product
3:29.534
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 without a persistent partition and logged in 13.298
Then Tails is running from USB drive "__internal" 0.641
When I create a file in the Persistent directory 0.147
And I create a persistent partition with the default settings 25.440
Then the file I created was copied to the Persistent Storage 2.359
When I shutdown Tails and wait for the computer to power off 13.579
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:33.542
Then persistence for "Persistent" is active 0.337
And the file I created in the Persistent directory exists 0.187
After features/support/hooks.rb:330 2.069
After features/support/hooks.rb:100 0.010
Tags: @product
1:13.128
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 11.418
And the system is very low on memory 3.736
When I create a file in the Persistent directory 1.246
When I try to create a persistent partition 33.916
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.472
When I close the Persistent Storage app 2.853
And I free up some memory 5.012
And I create a persistent partition with the default settings 13.941
Then the file I created was copied to the Persistent Storage 0.530
After features/support/hooks.rb:330 1.944
After features/support/hooks.rb:100 0.000
Tags: @product
3:1.413
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 13.732
Then Tails is running from USB drive "__internal" 1.434
And all tps features are active 2.442
And all persistent directories have safe access rights 2.862
When I disable the first tps feature 7.302
Then all tps features but the first one are active 2.389
And I shutdown Tails and wait for the computer to power off 13.481
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.091
Then all tps features but the first one are active 2.677
After features/support/hooks.rb:330 1.422
After features/support/hooks.rb:100 0.009
Tags: @product
24.421
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.686
Then persistence for "Persistent" is active 1.029
And I create a file in the Persistent directory 0.094
Then the file I created was copied to the Persistent Storage 0.085
When I disable the first tps feature 8.151
Then persistence for "Persistent" is not active 0.071
And the Persistent directory does not exist 0.051
When I enable the first tps feature 4.063
Then persistence for "Persistent" is active 0.089
And the file I created in the Persistent directory exists 0.099
After features/support/hooks.rb:330 1.481
After features/support/hooks.rb:100 0.000
Tags: @product
24.767
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.719
Then persistence for "Persistent" is active 0.177
When I create a file in the Persistent directory 0.126
And I disable the first tps feature 7.893
And I delete the data of the Persistent Folder feature 5.782
Then the file I created does not exist on the Persistent Storage 0.068
After features/support/hooks.rb:330 2.303
After features/support/hooks.rb:100 0.000
Tags: @product
1:16.360
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.164
And the network is plugged 0.222
And Tor is ready 27.107
And I take note of which tps features are available 0.707
When I write some files expected to persist 1.757
And I shutdown Tails and wait for the computer to power off 9.494
# 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.905
After features/support/hooks.rb:330 0.162
After features/support/hooks.rb:100 0.000
Tags: @product
3:32.903
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.356
And the network is plugged 0.097
And Tor is ready 23.109
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.251
And I shutdown Tails and wait for the computer to power off 8.627
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:26.661
And I capture all network traffic 0.017
And the network is plugged 0.083
And Tor is ready 22.891
And I switch to the "persistent-con-current" NetworkManager connection 0.473
And the 1st network device has a spoofed MAC address configured 0.133
And no network device leaked the real MAC address 0.199
After features/support/hooks.rb:330 0.876
After features/support/hooks.rb:100 0.066
Tags: @product
1:9.277
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.015
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 15.620
And I enable persistence creation in Tails Greeter 1.139
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.351
Then I create a persistent partition with the default settings using the wizard that was already open 28.165
After features/support/hooks.rb:330 2.456
After features/support/hooks.rb:100 0.000
Tags: @product
5:12.734
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 13.409
When I enable persistence 48.811
Then no persistent Greeter options were restored 14.922
When I set all Greeter options to non-default values 33.345
And I log in to a new session in German (de) after having activated the Persistent Storage 54.423
Then all Greeter options are set to non-default values 0.528
When I cold reboot the computer 8.247
And the computer reboots Tails 1:15.146
Given I enable persistence 19.310
Then persistent Greeter options were restored 0.684
When I log in to a new session after having activated the Persistent Storage 43.361
Then all Greeter options are set to non-default values 0.544
After features/support/hooks.rb:330 2.809
After features/support/hooks.rb:100 0.010
Tags: @product
5:20.854
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 12.339
# 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 45.340
And I shutdown Tails and wait for the computer to power off 15.620
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 3:26.041
And I change the passphrase of the Persistent Storage back to the original 41.511
After features/support/hooks.rb:330 3.956
After features/support/hooks.rb:100 0.010
Tags: @product
1:8.580
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 16.809
And I log in to a new session without activating the Persistent Storage 22.474
Then persistence is disabled 0.469
But a Tails persistence partition exists on USB drive "__internal" 10.244
And all notifications have disappeared 10.624
When I delete the persistent partition 7.053
Then there is no persistence partition on USB drive "__internal" 0.905
After features/support/hooks.rb:330 1.584
After features/support/hooks.rb:100 0.000
Tags: @product
2:48.971
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 24.527
When I write some dotfile expected to persist 0.096
And I shutdown Tails and wait for the computer to power off 10.769
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.079
Then the expected persistent dotfile is present in the filesystem 0.498
After features/support/hooks.rb:330 1.318
After features/support/hooks.rb:100 0.011
Tags: @product
1:44.015
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.119
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.097
When I try to enable persistence 0.290
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 32.851
When I log in to a new session after having activated the Persistent Storage 41.460
And all notifications have disappeared 8.899
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.559
And all tps features are enabled 3.550
And all tps features but the first one are active 2.188
After features/support/hooks.rb:330 3.470
After features/support/hooks.rb:100 0.000
Tags: @product
5:17.051
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:49.294
And I enable persistence 33.567
And I log in to a new session after having activated the Persistent Storage 47.336
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 4.156
And persistence is enabled 2.695
After features/support/hooks.rb:330 1.999
After features/support/hooks.rb:100 0.000
Tags: @product
31.673
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.958
And I enable persistence but something goes wrong during the LUKS header upgrade 20.974
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.740
After features/support/hooks.rb:330 0.768
After features/support/hooks.rb:100 0.000
Tags: @product
48.615
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.048
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.836
When I enable persistence 29.845
Then the filesystem of the Persistent Storage was repaired 0.108
And persistence is successfully enabled 2.776
After features/support/hooks.rb:330 2.754
After features/support/hooks.rb:100 0.000
Tags: @product
52.185
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.093
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.614
When I try to enable persistence 0.428
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.509
When I repair the filesystem of the Persistent Storage 1.291
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.397
And the filesystem of the Persistent Storage was repaired 4.110
When I close the filesystem repair dialog 1.270
Then persistence is successfully enabled 1.469
After features/support/hooks.rb:330 2.835
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:0.773
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.294
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.088
When I try to enable persistence 0.290
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 34.394
When I repair the filesystem of the Persistent Storage 1.269
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.073
When I log in to a new session 47.927
And all notifications have disappeared 7.913
# 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.588
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.571
When I close the "whisperback" window 1.424
Then the Tor Browser starts 15.874
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.063
After features/support/hooks.rb:330 2.028
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:6.778
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.679
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.001
And Tails detects disk read failures on the boot device 0.612
When I try to enable persistence 1.630
Then the Welcome Screen tells me that my hardware is probably failing 22.888
When I log in to a new session 51.763
And all notifications have disappeared 7.462
Then the Tor Browser starts 23.939
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.800
After features/support/hooks.rb:330 1.800
After features/support/hooks.rb:100 0.000