Project Number Date
test_Tails_ISO_stable 5120 26 Sep 2024, 08:42

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:5.172 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:26.789
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:38.421
And I update APT using apt 20.121
And I install "python3-behave" using apt 25.619
Then the Tails Persistent Storage behave tests pass 2.627
After features/support/hooks.rb:326 1.527
After features/support/hooks.rb:100 0.000
Tags: @product
51.246
Before features/support/hooks.rb:269 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 12.733
When I log in to a new session without activating the Persistent Storage 23.281
Then Tails is running from USB drive "__internal" 0.591
And persistence is disabled 0.414
But a Tails persistence partition exists on USB drive "__internal" 14.226
After features/support/hooks.rb:326 1.193
After features/support/hooks.rb:100 0.000
Tags: @product
3:26.694
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive without a persistent partition and logged in 13.937
Then Tails is running from USB drive "__internal" 0.560
When I create a file in the Persistent directory 0.312
And I create a persistent partition with the default settings 26.113
Then the file I created was copied to the Persistent Storage 0.754
When I shutdown Tails and wait for the computer to power off 13.589
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:30.959
Then persistence for "Persistent" is active 0.395
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:326 0.718
After features/support/hooks.rb:100 0.010
Tags: @product
1:5.521
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.100
And the system is very low on memory 4.499
When I create a file in the Persistent directory 1.628
When I try to create a persistent partition 28.978
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.229
When I close the Persistent Storage app 2.614
And I free up some memory 1.705
And I create a persistent partition with the default settings 13.540
Then the file I created was copied to the Persistent Storage 0.224
After features/support/hooks.rb:326 1.432
After features/support/hooks.rb:100 0.000
Tags: @product
2:49.460
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.942
Then Tails is running from USB drive "__internal" 0.423
And all tps features are active 2.972
And all persistent directories have safe access rights 2.808
When I disable the first tps feature 6.438
Then all tps features but the first one are active 2.359
And I shutdown Tails and wait for the computer to power off 11.209
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.995
Then all tps features but the first one are active 2.309
After features/support/hooks.rb:326 0.643
After features/support/hooks.rb:100 0.007
Tags: @product
22.051
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.332
Then persistence for "Persistent" is active 0.212
And I create a file in the Persistent directory 0.099
Then the file I created was copied to the Persistent Storage 0.118
When I disable the first tps feature 5.978
Then persistence for "Persistent" is not active 0.126
And the Persistent directory does not exist 0.064
When I enable the first tps feature 3.923
Then persistence for "Persistent" is active 0.113
And the file I created in the Persistent directory exists 0.080
After features/support/hooks.rb:326 1.273
After features/support/hooks.rb:100 0.000
Tags: @product
22.045
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.496
Then persistence for "Persistent" is active 0.492
When I create a file in the Persistent directory 0.063
And I disable the first tps feature 6.591
And I delete the data of the Persistent Folder feature 4.346
Then the file I created does not exist on the Persistent Storage 0.054
After features/support/hooks.rb:326 0.913
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.418
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.167
And the network is plugged 0.085
And Tor is ready 19.784
And I take note of which tps features are available 0.650
When I write some files expected to persist 1.583
And I shutdown Tails and wait for the computer to power off 8.467
# 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.678
After features/support/hooks.rb:326 0.156
After features/support/hooks.rb:100 0.000
Tags: @product
3:29.391
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.285
And the network is plugged 0.487
And Tor is ready 22.365
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.215
And I shutdown Tails and wait for the computer to power off 8.432
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:24.306
And I capture all network traffic 0.006
And the network is plugged 0.070
And Tor is ready 21.520
And I switch to the "persistent-con-current" NetworkManager connection 0.367
And the 1st network device has a spoofed MAC address configured 0.074
And no network device leaked the real MAC address 0.259
After features/support/hooks.rb:326 0.718
After features/support/hooks.rb:100 0.066
Tags: @product
1:5.690
Before features/support/hooks.rb:269 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 14.343
And I enable persistence creation in Tails Greeter 1.178
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.011
Then I create a persistent partition with the default settings using the wizard that was already open 26.157
After features/support/hooks.rb:326 1.953
After features/support/hooks.rb:100 0.000
Tags: @product
5:29.693
Before features/support/hooks.rb:269 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 20.963
When I enable persistence 48.870
Then no persistent Greeter options were restored 14.617
When I set all Greeter options to non-default values 34.603
And I log in to a new session in German (de) after having activated the Persistent Storage 52.574
Then all Greeter options are set to non-default values 0.689
When I cold reboot the computer 7.623
And the computer reboots Tails 1:2.233
Given I enable persistence 31.671
Then persistent Greeter options were restored 15.019
When I log in to a new session after having activated the Persistent Storage 40.299
Then all Greeter options are set to non-default values 0.527
After features/support/hooks.rb:326 1.484
After features/support/hooks.rb:100 0.019
Tags: @product
3:37.611
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.609
# 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 31.709
And I shutdown Tails and wait for the computer to power off 12.689
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:12.681
And I change the passphrase of the Persistent Storage back to the original 28.921
After features/support/hooks.rb:326 2.266
After features/support/hooks.rb:100 0.009
Tags: @product
1:4.813
Before features/support/hooks.rb:269 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.389
And I log in to a new session without activating the Persistent Storage 24.741
Then persistence is disabled 0.613
But a Tails persistence partition exists on USB drive "__internal" 10.627
And all notifications have disappeared 9.897
When I delete the persistent partition 7.031
Then there is no persistence partition on USB drive "__internal" 0.512
After features/support/hooks.rb:326 0.878
After features/support/hooks.rb:100 0.000
Tags: @product
2:30.414
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.440
When I write some dotfile expected to persist 0.063
And I shutdown Tails and wait for the computer to power off 9.189
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.371
Then the expected persistent dotfile is present in the filesystem 0.350
After features/support/hooks.rb:326 0.948
After features/support/hooks.rb:100 0.009
Tags: @product
1:46.767
Before features/support/hooks.rb:269 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.255
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.111
When I try to enable persistence 0.303
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 36.169
When I log in to a new session after having activated the Persistent Storage 45.532
And all notifications have disappeared 7.206
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.727
And all tps features are enabled 2.344
And all tps features but the first one are active 2.117
After features/support/hooks.rb:326 1.022
After features/support/hooks.rb:100 0.000
Tags: @product
5:41.821
Before features/support/hooks.rb:269 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 4:16.228
And I enable persistence 35.679
And I log in to a new session after having activated the Persistent Storage 47.568
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.000
And persistence is enabled 0.344
After features/support/hooks.rb:326 2.723
After features/support/hooks.rb:100 0.000
Tags: @product
29.988
Before features/support/hooks.rb:269 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.285
And I enable persistence but something goes wrong during the LUKS header upgrade 19.969
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.733
After features/support/hooks.rb:326 0.742
After features/support/hooks.rb:100 0.000
Tags: @product
48.311
Before features/support/hooks.rb:269 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.520
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.008
When I enable persistence 32.296
Then the filesystem of the Persistent Storage was repaired 0.097
And persistence is successfully enabled 0.387
After features/support/hooks.rb:326 1.192
After features/support/hooks.rb:100 0.000
Tags: @product
28.147
Before features/support/hooks.rb:269 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.817
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.829
When I try to enable persistence 0.414
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.889
When I repair the filesystem of the Persistent Storage 1.244
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.201
And the filesystem of the Persistent Storage was repaired 0.100
When I close the filesystem repair dialog 1.247
Then persistence is successfully enabled 0.403
After features/support/hooks.rb:326 0.862
After features/support/hooks.rb:100 0.000
Tags: @product
1:48.697
Before features/support/hooks.rb:269 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.226
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.201
When I try to enable persistence 0.369
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.813
When I repair the filesystem of the Persistent Storage 1.307
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.083
When I log in to a new session 41.671
And all notifications have disappeared 11.352
# 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.691
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.955
When I close the "whisperback" window 1.485
Then the Tor Browser starts 10.839
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 0.700
After features/support/hooks.rb:326 3.073
After features/support/hooks.rb:100 0.000
Tags: @product
1:13.595
Before features/support/hooks.rb:269 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.836
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.353
And Tails detects disk read failures on the boot device 1.628
When I try to enable persistence 0.389
Then the Welcome Screen tells me that my hardware is probably failing 5.657
When I log in to a new session 22.497
And all notifications have disappeared 6.716
Then the Tor Browser starts 20.078
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 0.438
After features/support/hooks.rb:326 1.749
After features/support/hooks.rb:100 0.000