Project Number Date
test_Tails_ISO_tca-misc-improvements 9 16 Apr 2025, 18:14

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 48:37.140 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:56.420
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 2:13.429
And I update APT using apt 13.939
And I install "python3-behave" using apt 26.506
Then the Tails Persistent Storage behave tests pass 2.545
After features/support/hooks.rb:330 1.267
After features/support/hooks.rb:100 0.000
Tags: @product
1:29.379
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 54.773
When I log in to a new session without activating the Persistent Storage 24.750
Then Tails is running from USB drive "__internal" 0.588
And persistence is disabled 0.443
But a Tails persistence partition exists on USB drive "__internal" 8.823
After features/support/hooks.rb:330 2.386
After features/support/hooks.rb:100 0.000
Tags: @product
4:0.674
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 without a persistent partition and logged in 1:4.884
Then Tails is running from USB drive "__internal" 0.668
When I create a file in the Persistent directory 0.215
And I create a persistent partition with the default settings 22.106
Then the file I created was copied to the Persistent Storage 1.714
When I shutdown Tails and wait for the computer to power off 12.917
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.708
Then persistence for "Persistent" is active 0.383
And the file I created in the Persistent directory exists 0.076
After features/support/hooks.rb:330 0.773
After features/support/hooks.rb:100 0.009
Tags: @product
1:31.963
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 32.953
And the system is very low on memory 5.038
When I create a file in the Persistent directory 2.267
When I try to create a persistent partition 31.018
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.543
And I free up some memory 4.159
And I create a persistent partition with the default settings 13.043
Then the file I created was copied to the Persistent Storage 0.373
After features/support/hooks.rb:330 2.322
After features/support/hooks.rb:100 0.000
Tags: @product
3:2.690
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.643
Then Tails is running from USB drive "__internal" 0.747
And all tps features are active 3.658
And all persistent directories have safe access rights 2.595
When I disable the first tps feature 9.022
Then all tps features but the first one are active 2.471
And I shutdown Tails and wait for the computer to power off 15.405
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.448
Then all tps features but the first one are active 2.695
After features/support/hooks.rb:330 1.292
After features/support/hooks.rb:100 0.010
Tags: @product
25.008
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.126
Then persistence for "Persistent" is active 0.093
And I create a file in the Persistent directory 0.126
Then the file I created was copied to the Persistent Storage 0.087
When I disable the first tps feature 10.115
Then persistence for "Persistent" is not active 0.094
And the Persistent directory does not exist 0.052
When I enable the first tps feature 3.156
Then persistence for "Persistent" is active 0.086
And the file I created in the Persistent directory exists 0.070
After features/support/hooks.rb:330 1.462
After features/support/hooks.rb:100 0.000
Tags: @product
21.597
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.325
Then persistence for "Persistent" is active 0.114
When I create a file in the Persistent directory 0.202
And I disable the first tps feature 6.437
And I delete the data of the Persistent Folder feature 4.465
Then the file I created does not exist on the Persistent Storage 0.052
After features/support/hooks.rb:330 1.528
After features/support/hooks.rb:100 0.000
Tags: @product
1:9.812
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.487
And the network is plugged 0.091
And Tor is ready 24.114
And I take note of which tps features are available 0.702
When I write some files expected to persist 1.625
And I shutdown Tails and wait for the computer to power off 8.791
# 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.000
After features/support/hooks.rb:330 0.127
After features/support/hooks.rb:100 0.000
Tags: @product
3:17.635
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.482
And the network is plugged 0.102
And Tor is ready 25.565
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.181
And I shutdown Tails and wait for the computer to power off 8.932
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.908
And I capture all network traffic 0.009
And the network is plugged 0.090
And Tor is ready 17.675
And I switch to the "persistent-con-current" NetworkManager connection 0.415
And the 1st network device has a spoofed MAC address configured 0.104
And no network device leaked the real MAC address 0.166
After features/support/hooks.rb:330 0.911
After features/support/hooks.rb:100 0.093
Tags: @product
1:12.281
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.970
And I enable persistence creation in Tails Greeter 1.264
And I log in to a new session expecting no warning about the Persistent Storage not being activated 27.080
Then I create a persistent partition with the default settings using the wizard that was already open 26.966
After features/support/hooks.rb:330 2.785
After features/support/hooks.rb:100 0.000
Tags: @product
4:34.768
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.377
When I enable persistence 39.951
Then no persistent Greeter options were restored 14.654
When I set all Greeter options to non-default values 30.786
And I log in to a new session in German (de) after having activated the Persistent Storage 44.748
Then all Greeter options are set to non-default values 0.391
When I cold reboot the computer 7.547
And the computer reboots Tails 1:7.443
Given I enable persistence 17.994
Then persistent Greeter options were restored 0.572
When I log in to a new session after having activated the Persistent Storage 39.830
Then all Greeter options are set to non-default values 0.470
After features/support/hooks.rb:330 1.760
After features/support/hooks.rb:100 0.011
Tags: @product
4:9.743
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.688
# 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 46.903
And I shutdown Tails and wait for the computer to power off 12.832
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:28.633
And I change the passphrase of the Persistent Storage back to the original 30.686
After features/support/hooks.rb:330 1.820
After features/support/hooks.rb:100 0.007
Tags: @product
1:3.888
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 10.071
And I log in to a new session without activating the Persistent Storage 23.348
Then persistence is disabled 0.595
But a Tails persistence partition exists on USB drive "__internal" 11.008
And all notifications have disappeared 12.248
When I delete the persistent partition 5.693
Then there is no persistence partition on USB drive "__internal" 0.922
After features/support/hooks.rb:330 1.642
After features/support/hooks.rb:100 0.000
Tags: @product
2:44.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 enabled and logged in 9.437
When I write some dotfile expected to persist 0.115
And I shutdown Tails and wait for the computer to power off 13.381
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:21.117
Then the expected persistent dotfile is present in the filesystem 0.528
After features/support/hooks.rb:330 1.308
After features/support/hooks.rb:100 0.011
Tags: @product
1:56.998
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.223
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.079
When I try to enable persistence 0.286
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 37.184
When I log in to a new session after having activated the Persistent Storage 53.019
And all notifications have disappeared 8.037
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.387
And all tps features are enabled 2.382
And all tps features but the first one are active 2.397
After features/support/hooks.rb:330 1.633
After features/support/hooks.rb:100 0.000
Tags: @product
8:21.741
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 6:57.819
And I enable persistence 36.158
And I log in to a new session after having activated the Persistent Storage 41.655
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.290
And persistence is enabled 2.817
After features/support/hooks.rb:330 4.546
After features/support/hooks.rb:100 0.000
Tags: @product
34.309
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 9.858
And I enable persistence but something goes wrong during the LUKS header upgrade 23.570
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.880
After features/support/hooks.rb:330 0.815
After features/support/hooks.rb:100 0.000
Tags: @product
50.474
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.091
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.555
When I enable persistence 31.794
Then the filesystem of the Persistent Storage was repaired 0.118
And persistence is successfully enabled 2.914
After features/support/hooks.rb:330 1.721
After features/support/hooks.rb:100 0.000
Tags: @product
51.658
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.651
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.582
When I try to enable persistence 0.437
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 23.565
When I repair the filesystem of the Persistent Storage 2.737
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.291
And the filesystem of the Persistent Storage was repaired 3.470
When I close the filesystem repair dialog 1.306
Then persistence is successfully enabled 1.616
After features/support/hooks.rb:330 2.790
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:2.343
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.069
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.113
When I try to enable persistence 0.293
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 33.237
When I repair the filesystem of the Persistent Storage 2.677
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.191
When I log in to a new session 41.252
And all notifications have disappeared 7.499
# 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.062
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.380
When I close the "whisperback" window 2.078
Then the Tor Browser starts 22.601
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.884
After features/support/hooks.rb:330 2.090
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:59.168
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 9.722
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.475
And Tails detects disk read failures on the boot device 1.698
When I try to enable persistence 0.448
Then the Welcome Screen tells me that my hardware is probably failing 19.054
When I log in to a new session 47.282
And all notifications have disappeared 9.193
Then the Tor Browser starts 25.081
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.211
After features/support/hooks.rb:330 3.129
After features/support/hooks.rb:100 0.000