Project Number Date
test_Tails_ISO_tca-remove-cruft 8 15 May 2025, 10:17

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 46:24.443 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:29.623
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:44.348
And I update APT using apt 15.827
And I install "python3-behave" using apt 26.394
Then the Tails Persistent Storage behave tests pass 3.052
After features/support/hooks.rb:330 2.332
After features/support/hooks.rb:100 0.000
Tags: @product
53.409
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.023
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 14.354
When I log in to a new session without activating the Persistent Storage 28.164
Then Tails is running from USB drive "__internal" 0.765
And persistence is disabled 0.563
But a Tails persistence partition exists on USB drive "__internal" 9.561
After features/support/hooks.rb:330 1.766
After features/support/hooks.rb:100 0.000
Tags: @product
3:58.489
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 41.199
Then Tails is running from USB drive "__internal" 0.417
When I create a file in the Persistent directory 0.146
And I create a persistent partition with the default settings 25.966
Then the file I created was copied to the Persistent Storage 1.767
When I shutdown Tails and wait for the computer to power off 10.785
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:37.783
Then persistence for "Persistent" is active 0.325
And the file I created in the Persistent directory exists 0.098
After features/support/hooks.rb:330 2.028
After features/support/hooks.rb:100 0.007
Tags: @product
1:9.984
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 without a persistent partition and logged in 10.104
And the system is very low on memory 4.458
When I create a file in the Persistent directory 0.913
When I try to create a persistent partition 31.168
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.566
When I close the Persistent Storage app 2.822
And I free up some memory 3.322
And I create a persistent partition with the default settings 16.331
Then the file I created was copied to the Persistent Storage 0.295
After features/support/hooks.rb:330 2.770
After features/support/hooks.rb:100 0.000
Tags: @product
3:27.519
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 17.262
Then Tails is running from USB drive "__internal" 0.634
And all tps features are active 5.706
And all persistent directories have safe access rights 2.935
When I disable the first tps feature 6.755
Then all tps features but the first one are active 2.492
And I shutdown Tails and wait for the computer to power off 18.161
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:30.874
Then all tps features but the first one are active 2.697
After features/support/hooks.rb:330 1.847
After features/support/hooks.rb:100 0.009
Tags: @product
20.941
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.145
Then persistence for "Persistent" is active 0.074
And I create a file in the Persistent directory 0.063
Then the file I created was copied to the Persistent Storage 0.070
When I disable the first tps feature 5.755
Then persistence for "Persistent" is not active 0.140
And the Persistent directory does not exist 0.072
When I enable the first tps feature 3.305
Then persistence for "Persistent" is active 0.191
And the file I created in the Persistent directory exists 0.121
After features/support/hooks.rb:330 1.836
After features/support/hooks.rb:100 0.000
Tags: @product
23.552
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 11.782
Then persistence for "Persistent" is active 0.112
When I create a file in the Persistent directory 0.065
And I disable the first tps feature 6.411
And I delete the data of the Persistent Folder feature 5.120
Then the file I created does not exist on the Persistent Storage 0.059
After features/support/hooks.rb:330 1.938
After features/support/hooks.rb:100 0.000
Tags: @product
1:11.268
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 9.866
And the network is plugged 0.167
And Tor is ready 23.212
And I take note of which tps features are available 0.740
When I write some files expected to persist 1.732
And I shutdown Tails and wait for the computer to power off 9.011
# 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" 26.538
After features/support/hooks.rb:330 0.106
After features/support/hooks.rb:100 0.000
Tags: @product
3:37.208
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.828
And the network is plugged 0.097
And Tor is ready 21.525
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.250
And I shutdown Tails and wait for the computer to power off 9.489
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:31.183
And I capture all network traffic 0.007
And the network is plugged 0.091
And Tor is ready 23.041
And I switch to the "persistent-con-current" NetworkManager connection 0.366
And the 1st network device has a spoofed MAC address configured 0.131
And no network device leaked the real MAC address 0.194
After features/support/hooks.rb:330 0.703
After features/support/hooks.rb:100 0.066
Tags: @product
1:9.153
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 16.211
And I enable persistence creation in Tails Greeter 1.151
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.063
Then I create a persistent partition with the default settings using the wizard that was already open 27.727
After features/support/hooks.rb:330 2.537
After features/support/hooks.rb:100 0.000
Tags: @product
5:15.332
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.010
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 14.095
When I enable persistence 45.031
Then no persistent Greeter options were restored 15.232
When I set all Greeter options to non-default values 30.811
And I log in to a new session in German (de) after having activated the Persistent Storage 59.648
Then all Greeter options are set to non-default values 0.752
When I cold reboot the computer 11.347
And the computer reboots Tails 1:11.457
Given I enable persistence 19.381
Then persistent Greeter options were restored 0.621
When I log in to a new session after having activated the Persistent Storage 46.448
Then all Greeter options are set to non-default values 0.501
After features/support/hooks.rb:330 2.639
After features/support/hooks.rb:100 0.009
Tags: @product
4:30.593
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.564
# 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.775
And I shutdown Tails and wait for the computer to power off 16.150
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:41.674
And I change the passphrase of the Persistent Storage back to the original 36.427
After features/support/hooks.rb:330 2.952
After features/support/hooks.rb:100 0.028
Tags: @product
1:4.747
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.018
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 13.080
And I log in to a new session without activating the Persistent Storage 23.735
Then persistence is disabled 0.332
But a Tails persistence partition exists on USB drive "__internal" 8.993
And all notifications have disappeared 9.374
When I delete the persistent partition 8.364
Then there is no persistence partition on USB drive "__internal" 0.867
After features/support/hooks.rb:330 1.731
After features/support/hooks.rb:100 0.000
Tags: @product
2:49.795
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.139
When I write some dotfile expected to persist 0.115
And I shutdown Tails and wait for the computer to power off 11.132
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:27.837
Then the expected persistent dotfile is present in the filesystem 0.571
After features/support/hooks.rb:330 1.546
After features/support/hooks.rb:100 0.007
Tags: @product
1:53.283
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.817
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.079
When I try to enable persistence 0.285
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 35.339
When I log in to a new session after having activated the Persistent Storage 46.750
And all notifications have disappeared 10.283
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.853
And all tps features are enabled 2.750
And all tps features but the first one are active 2.122
After features/support/hooks.rb:330 3.056
After features/support/hooks.rb:100 0.000
Tags: @product
5:28.101
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 3:56.032
And I enable persistence 38.074
And I log in to a new session after having activated the Persistent Storage 46.977
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.104
And persistence is enabled 3.912
After features/support/hooks.rb:330 3.805
After features/support/hooks.rb:100 0.000
Tags: @product
32.224
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 10.640
And I enable persistence but something goes wrong during the LUKS header upgrade 20.628
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.955
After features/support/hooks.rb:330 0.754
After features/support/hooks.rb:100 0.000
Tags: @product
55.049
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.026
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.639
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.908
When I enable persistence 35.614
Then the filesystem of the Persistent Storage was repaired 0.127
And persistence is successfully enabled 2.759
After features/support/hooks.rb:330 1.681
After features/support/hooks.rb:100 0.000
Tags: @product
57.455
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.901
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.417
When I try to enable persistence 0.468
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.138
When I repair the filesystem of the Persistent Storage 6.403
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.403
And the filesystem of the Persistent Storage was repaired 4.081
When I close the filesystem repair dialog 1.219
Then persistence is successfully enabled 1.422
After features/support/hooks.rb:330 2.522
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:6.384
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 10.440
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.098
When I try to enable persistence 0.338
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 31.475
When I repair the filesystem of the Persistent Storage 1.220
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.291
When I log in to a new session 44.160
And all notifications have disappeared 11.211
# 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.629
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.995
When I close the "whisperback" window 1.548
Then the Tor Browser starts 23.010
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.964
After features/support/hooks.rb:330 3.813
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:10.323
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.280
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.380
And Tails detects disk read failures on the boot device 1.718
When I try to enable persistence 0.673
Then the Welcome Screen tells me that my hardware is probably failing 24.148
When I log in to a new session 52.400
And all notifications have disappeared 8.784
Then the Tor Browser starts 24.936
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.999
After features/support/hooks.rb:330 2.335
After features/support/hooks.rb:100 0.000