Project Number Date
test_Tails_ISO_tca-misc-improvements 20 27 Apr 2025, 18:03

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 42:48.984 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:24.066
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:39.876
And I update APT using apt 15.272
And I install "python3-behave" using apt 26.270
Then the Tails Persistent Storage behave tests pass 2.647
After features/support/hooks.rb:330 1.789
After features/support/hooks.rb:100 0.000
Tags: @product
51.845
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.273
When I log in to a new session without activating the Persistent Storage 23.902
Then Tails is running from USB drive "__internal" 0.564
And persistence is disabled 0.595
But a Tails persistence partition exists on USB drive "__internal" 15.509
After features/support/hooks.rb:330 1.510
After features/support/hooks.rb:100 0.000
Tags: @product
3:23.408
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 16.887
Then Tails is running from USB drive "__internal" 1.064
When I create a file in the Persistent directory 0.220
And I create a persistent partition with the default settings 22.105
Then the file I created was copied to the Persistent Storage 2.476
When I shutdown Tails and wait for the computer to power off 12.814
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:26.932
Then persistence for "Persistent" is active 0.830
And the file I created in the Persistent directory exists 0.077
After features/support/hooks.rb:330 1.828
After features/support/hooks.rb:100 0.009
Tags: @product
1:13.555
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.840
And the system is very low on memory 5.633
When I create a file in the Persistent directory 1.256
When I try to create a persistent partition 31.872
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 3.971
When I close the Persistent Storage app 3.114
And I free up some memory 3.596
And I create a persistent partition with the default settings 12.932
Then the file I created was copied to the Persistent Storage 0.338
After features/support/hooks.rb:330 2.511
After features/support/hooks.rb:100 0.000
Tags: @product
2:53.725
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.883
Then Tails is running from USB drive "__internal" 0.540
And all tps features are active 2.876
And all persistent directories have safe access rights 2.686
When I disable the first tps feature 6.103
Then all tps features but the first one are active 2.226
And I shutdown Tails and wait for the computer to power off 13.196
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.676
Then all tps features but the first one are active 2.534
After features/support/hooks.rb:330 1.182
After features/support/hooks.rb:100 0.012
Tags: @product
20.738
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 10.718
Then persistence for "Persistent" is active 0.332
And I create a file in the Persistent directory 0.077
Then the file I created was copied to the Persistent Storage 0.066
When I disable the first tps feature 5.894
Then persistence for "Persistent" is not active 0.106
And the Persistent directory does not exist 0.109
When I enable the first tps feature 3.247
Then persistence for "Persistent" is active 0.092
And the file I created in the Persistent directory exists 0.092
After features/support/hooks.rb:330 1.576
After features/support/hooks.rb:100 0.000
Tags: @product
21.266
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 10.815
Then persistence for "Persistent" is active 0.217
When I create a file in the Persistent directory 0.073
And I disable the first tps feature 6.369
And I delete the data of the Persistent Folder feature 3.726
Then the file I created does not exist on the Persistent Storage 0.063
After features/support/hooks.rb:330 1.840
After features/support/hooks.rb:100 0.000
Tags: @product
1:17.775
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 9.903
And the network is plugged 0.079
And Tor is ready 32.757
And I take note of which tps features are available 0.635
When I write some files expected to persist 1.477
And I shutdown Tails and wait for the computer to power off 8.841
# 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.080
After features/support/hooks.rb:330 0.112
After features/support/hooks.rb:100 0.000
Tags: @product
3:15.554
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.543
And the network is plugged 0.085
And Tor is ready 28.354
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 8.587
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.450
And I capture all network traffic 0.006
And the network is plugged 0.070
And Tor is ready 21.675
And I switch to the "persistent-con-current" NetworkManager connection 0.385
And the 1st network device has a spoofed MAC address configured 0.074
And no network device leaked the real MAC address 0.122
After features/support/hooks.rb:330 0.577
After features/support/hooks.rb:100 0.054
Tags: @product
1:5.494
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 15.835
And I enable persistence creation in Tails Greeter 1.204
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.252
Then I create a persistent partition with the default settings using the wizard that was already open 28.201
After features/support/hooks.rb:330 2.871
After features/support/hooks.rb:100 0.000
Tags: @product
4:26.927
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 13.097
When I enable persistence 37.662
Then no persistent Greeter options were restored 14.433
When I set all Greeter options to non-default values 25.117
And I log in to a new session in German (de) after having activated the Persistent Storage 44.487
Then all Greeter options are set to non-default values 0.575
When I cold reboot the computer 7.377
And the computer reboots Tails 1:4.314
Given I enable persistence 21.189
Then persistent Greeter options were restored 0.611
When I log in to a new session after having activated the Persistent Storage 37.583
Then all Greeter options are set to non-default values 0.476
After features/support/hooks.rb:330 1.461
After features/support/hooks.rb:100 0.009
Tags: @product
3:46.201
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 10.200
# 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 33.274
And I shutdown Tails and wait for the computer to power off 12.566
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:18.124
And I change the passphrase of the Persistent Storage back to the original 32.036
After features/support/hooks.rb:330 2.429
After features/support/hooks.rb:100 0.008
Tags: @product
59.792
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.913
And I log in to a new session without activating the Persistent Storage 24.600
Then persistence is disabled 0.311
But a Tails persistence partition exists on USB drive "__internal" 5.540
And all notifications have disappeared 11.270
When I delete the persistent partition 7.174
Then there is no persistence partition on USB drive "__internal" 0.982
After features/support/hooks.rb:330 1.241
After features/support/hooks.rb:100 0.000
Tags: @product
2:26.840
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.226
When I write some dotfile expected to persist 0.058
And I shutdown Tails and wait for the computer to power off 8.593
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.593
Then the expected persistent dotfile is present in the filesystem 0.368
After features/support/hooks.rb:330 1.255
After features/support/hooks.rb:100 0.008
Tags: @product
1:40.598
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 and stopped at Tails Greeter's login screen 9.125
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.063
When I try to enable persistence 0.298
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 30.618
When I log in to a new session after having activated the Persistent Storage 43.815
And all notifications have disappeared 7.995
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.100
And all tps features are enabled 2.346
And all tps features but the first one are active 2.233
After features/support/hooks.rb:330 1.633
After features/support/hooks.rb:100 0.000
Tags: @product
6:22.425
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 4:52.168
And I enable persistence 39.414
And I log in to a new session after having activated the Persistent Storage 46.171
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.041
And persistence is enabled 2.630
After features/support/hooks.rb:330 1.563
After features/support/hooks.rb:100 0.000
Tags: @product
31.705
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 9.218
And I enable persistence but something goes wrong during the LUKS header upgrade 21.727
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.758
After features/support/hooks.rb:330 0.693
After features/support/hooks.rb:100 0.000
Tags: @product
45.179
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.669
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.136
When I enable persistence 28.598
Then the filesystem of the Persistent Storage was repaired 0.094
And persistence is successfully enabled 2.680
After features/support/hooks.rb:330 1.295
After features/support/hooks.rb:100 0.000
Tags: @product
47.535
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 8.700
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.447
When I try to enable persistence 0.412
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 24.153
When I repair the filesystem of the Persistent Storage 2.272
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.321
And the filesystem of the Persistent Storage was repaired 2.636
When I close the filesystem repair dialog 1.289
Then persistence is successfully enabled 1.301
After features/support/hooks.rb:330 1.256
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:49.976
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.672
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.131
When I try to enable persistence 0.387
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.400
When I repair the filesystem of the Persistent Storage 1.194
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 4.699
When I log in to a new session 31.268
And all notifications have disappeared 8.734
# 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.609
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.161
When I close the "whisperback" window 1.588
Then the Tor Browser starts 21.354
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.775
After features/support/hooks.rb:330 3.160
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:4.369
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 8.949
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.742
And Tails detects disk read failures on the boot device 0.584
When I try to enable persistence 1.614
Then the Welcome Screen tells me that my hardware is probably failing 24.925
When I log in to a new session 48.387
And all notifications have disappeared 9.990
Then the Tor Browser starts 20.219
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.955
After features/support/hooks.rb:330 3.539
After features/support/hooks.rb:100 0.000