Project Number Date
test_Tails_ISO_tca-misc-improvements 4 11 Apr 2025, 18:22

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 40:55.439 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
4:15.345
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:35.269
And I update APT using apt 2:14.107
And I install "python3-behave" using apt 23.225
Then the Tails Persistent Storage behave tests pass 2.742
After features/support/hooks.rb:330 0.846
After features/support/hooks.rb:100 0.000
Tags: @product
42.550
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 10.622
When I log in to a new session without activating the Persistent Storage 24.675
Then Tails is running from USB drive "__internal" 0.428
And persistence is disabled 0.422
But a Tails persistence partition exists on USB drive "__internal" 6.402
After features/support/hooks.rb:330 1.362
After features/support/hooks.rb:100 0.000
Tags: @product
3:21.413
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 13.426
Then Tails is running from USB drive "__internal" 0.469
When I create a file in the Persistent directory 0.139
And I create a persistent partition with the default settings 27.464
Then the file I created was copied to the Persistent Storage 1.965
When I shutdown Tails and wait for the computer to power off 12.936
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:23.938
Then persistence for "Persistent" is active 0.999
And the file I created in the Persistent directory exists 0.073
After features/support/hooks.rb:330 1.666
After features/support/hooks.rb:100 0.010
Tags: @product
1:4.038
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 11.619
And the system is very low on memory 3.700
When I create a file in the Persistent directory 1.210
When I try to create a persistent partition 28.202
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.409
When I close the Persistent Storage app 2.569
And I free up some memory 3.206
And I create a persistent partition with the default settings 12.844
Then the file I created was copied to the Persistent Storage 0.275
After features/support/hooks.rb:330 2.487
After features/support/hooks.rb:100 0.000
Tags: @product
2:44.726
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 13.541
Then Tails is running from USB drive "__internal" 1.235
And all tps features are active 2.259
And all persistent directories have safe access rights 2.464
When I disable the first tps feature 6.585
Then all tps features but the first one are active 2.268
And I shutdown Tails and wait for the computer to power off 12.698
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:1.514
Then all tps features but the first one are active 2.158
After features/support/hooks.rb:330 1.440
After features/support/hooks.rb:100 0.009
Tags: @product
21.390
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.039
Then persistence for "Persistent" is active 0.125
And I create a file in the Persistent directory 0.073
Then the file I created was copied to the Persistent Storage 0.088
When I disable the first tps feature 6.713
Then persistence for "Persistent" is not active 0.072
And the Persistent directory does not exist 0.047
When I enable the first tps feature 3.089
Then persistence for "Persistent" is active 0.073
And the file I created in the Persistent directory exists 0.067
After features/support/hooks.rb:330 0.690
After features/support/hooks.rb:100 0.000
Tags: @product
20.772
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 10.476
Then persistence for "Persistent" is active 0.146
When I create a file in the Persistent directory 0.120
And I disable the first tps feature 6.372
And I delete the data of the Persistent Folder feature 3.602
Then the file I created does not exist on the Persistent Storage 0.054
After features/support/hooks.rb:330 0.709
After features/support/hooks.rb:100 0.000
Tags: @product
1:10.054
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.407
And the network is plugged 0.100
And Tor is ready 24.499
And I take note of which tps features are available 0.522
When I write some files expected to persist 1.406
And I shutdown Tails and wait for the computer to power off 8.608
# 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.509
After features/support/hooks.rb:330 0.145
After features/support/hooks.rb:100 0.000
Tags: @product
3:8.259
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 10.075
And the network is plugged 0.067
And Tor is ready 20.347
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.341
And I shutdown Tails and wait for the computer to power off 8.802
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.207
And I capture all network traffic 0.033
And the network is plugged 0.074
And Tor is ready 18.690
And I switch to the "persistent-con-current" NetworkManager connection 0.384
And the 1st network device has a spoofed MAC address configured 0.096
And no network device leaked the real MAC address 0.136
After features/support/hooks.rb:330 0.638
After features/support/hooks.rb:100 0.052
Tags: @product
58.309
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 13.441
And I enable persistence creation in Tails Greeter 1.107
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.165
Then I create a persistent partition with the default settings using the wizard that was already open 22.595
After features/support/hooks.rb:330 2.758
After features/support/hooks.rb:100 0.000
Tags: @product
4:24.304
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.024
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 13.484
When I enable persistence 34.358
Then no persistent Greeter options were restored 14.364
When I set all Greeter options to non-default values 27.062
And I log in to a new session in German (de) after having activated the Persistent Storage 45.573
Then all Greeter options are set to non-default values 0.634
When I cold reboot the computer 7.648
And the computer reboots Tails 59.790
Given I enable persistence 18.016
Then persistent Greeter options were restored 0.561
When I log in to a new session after having activated the Persistent Storage 42.529
Then all Greeter options are set to non-default values 0.278
After features/support/hooks.rb:330 1.763
After features/support/hooks.rb:100 0.008
Tags: @product
3:28.784
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 enabled and logged in 10.352
# 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 34.405
And I shutdown Tails and wait for the computer to power off 12.465
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:4.315
And I change the passphrase of the Persistent Storage back to the original 27.245
After features/support/hooks.rb:330 3.295
After features/support/hooks.rb:100 0.009
Tags: @product
50.478
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.349
And I log in to a new session without activating the Persistent Storage 20.011
Then persistence is disabled 0.300
But a Tails persistence partition exists on USB drive "__internal" 5.092
And all notifications have disappeared 8.393
When I delete the persistent partition 6.547
Then there is no persistence partition on USB drive "__internal" 0.783
After features/support/hooks.rb:330 1.107
After features/support/hooks.rb:100 0.000
Tags: @product
2:29.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.509
When I write some dotfile expected to persist 0.081
And I shutdown Tails and wait for the computer to power off 8.773
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.510
Then the expected persistent dotfile is present in the filesystem 0.391
After features/support/hooks.rb:330 1.399
After features/support/hooks.rb:100 0.010
Tags: @product
1:39.469
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.246
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.089
When I try to enable persistence 0.260
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 28.780
When I log in to a new session after having activated the Persistent Storage 44.940
And all notifications have disappeared 8.263
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.666
And all tps features are enabled 2.313
And all tps features but the first one are active 1.909
After features/support/hooks.rb:330 0.846
After features/support/hooks.rb:100 0.000
Tags: @product
4:23.717
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 3:4.322
And I enable persistence 29.033
And I log in to a new session after having activated the Persistent Storage 46.276
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.691
And persistence is enabled 2.394
After features/support/hooks.rb:330 1.420
After features/support/hooks.rb:100 0.000
Tags: @product
27.621
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 8.917
And I enable persistence but something goes wrong during the LUKS header upgrade 17.875
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.828
After features/support/hooks.rb:330 0.697
After features/support/hooks.rb:100 0.000
Tags: @product
41.958
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 8.621
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.407
When I enable persistence 24.999
Then the filesystem of the Persistent Storage was repaired 0.087
And persistence is successfully enabled 2.841
After features/support/hooks.rb:330 1.245
After features/support/hooks.rb:100 0.000
Tags: @product
44.192
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 8.905
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.633
When I try to enable persistence 0.394
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 20.594
When I repair the filesystem of the Persistent Storage 1.597
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.426
And the filesystem of the Persistent Storage was repaired 3.113
When I close the filesystem repair dialog 1.235
Then persistence is successfully enabled 1.291
After features/support/hooks.rb:330 1.248
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:46.000
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 8.805
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.093
When I try to enable persistence 0.277
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.316
When I repair the filesystem of the Persistent Storage 1.259
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.071
When I log in to a new session 38.123
And all notifications have disappeared 9.828
# 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.408
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.547
When I close the "whisperback" window 1.405
Then the Tor Browser starts 17.015
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.846
After features/support/hooks.rb:330 3.484
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:52.784
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 8.579
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.724
And Tails detects disk read failures on the boot device 0.501
When I try to enable persistence 0.395
Then the Welcome Screen tells me that my hardware is probably failing 17.163
When I log in to a new session 50.251
And all notifications have disappeared 7.399
Then the Tor Browser starts 21.919
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.850
After features/support/hooks.rb:330 2.719
After features/support/hooks.rb:100 0.000