Project Number Date
test_Tails_ISO_stable 5142 04 Oct 2024, 08:53

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 45:9.671 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:16.205
Before features/support/hooks.rb:269 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:34.117
And I update APT using apt 14.020
And I install "python3-behave" using apt 25.683
Then the Tails Persistent Storage behave tests pass 2.384
After features/support/hooks.rb:326 0.666
After features/support/hooks.rb:100 0.000
Tags: @product
57.183
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.965
When I log in to a new session without activating the Persistent Storage 24.517
Then Tails is running from USB drive "__internal" 0.896
And persistence is disabled 0.432
But a Tails persistence partition exists on USB drive "__internal" 18.371
After features/support/hooks.rb:326 1.504
After features/support/hooks.rb:100 0.000
Tags: @product
3:45.116
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 36.828
Then Tails is running from USB drive "__internal" 0.467
When I create a file in the Persistent directory 0.145
And I create a persistent partition with the default settings 24.551
Then the file I created was copied to the Persistent Storage 0.712
When I shutdown Tails and wait for the computer to power off 13.061
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:28.913
Then persistence for "Persistent" is active 0.371
And the file I created in the Persistent directory exists 0.065
After features/support/hooks.rb:326 0.909
After features/support/hooks.rb:100 0.007
Tags: @product
56.698
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 10.270
And the system is very low on memory 4.702
When I create a file in the Persistent directory 1.555
When I try to create a persistent partition 22.238
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.400
When I close the Persistent Storage app 2.621
And I free up some memory 1.467
And I create a persistent partition with the default settings 13.170
Then the file I created was copied to the Persistent Storage 0.270
After features/support/hooks.rb:326 1.592
After features/support/hooks.rb:100 0.000
Tags: @product
3:0.491
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.726
Then Tails is running from USB drive "__internal" 0.682
And all tps features are active 5.467
And all persistent directories have safe access rights 2.943
When I disable the first tps feature 6.242
Then all tps features but the first one are active 2.379
And I shutdown Tails and wait for the computer to power off 8.747
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.667
Then all tps features but the first one are active 2.632
After features/support/hooks.rb:326 0.997
After features/support/hooks.rb:100 0.010
Tags: @product
21.225
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.645
Then persistence for "Persistent" is active 0.166
And I create a file in the Persistent directory 0.108
Then the file I created was copied to the Persistent Storage 0.152
When I disable the first tps feature 6.681
Then persistence for "Persistent" is not active 0.078
And the Persistent directory does not exist 0.059
When I enable the first tps feature 3.155
Then persistence for "Persistent" is active 0.085
And the file I created in the Persistent directory exists 0.090
After features/support/hooks.rb:326 0.965
After features/support/hooks.rb:100 0.000
Tags: @product
21.558
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.446
Then persistence for "Persistent" is active 0.280
When I create a file in the Persistent directory 0.080
And I disable the first tps feature 6.884
And I delete the data of the Persistent Folder feature 3.796
Then the file I created does not exist on the Persistent Storage 0.068
After features/support/hooks.rb:326 1.144
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.993
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.921
And the network is plugged 0.076
And Tor is ready 22.394
And I take note of which tps features are available 0.601
When I write some files expected to persist 1.570
And I shutdown Tails and wait for the computer to power off 8.998
# 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.431
After features/support/hooks.rb:326 0.163
After features/support/hooks.rb:100 0.000
Tags: @product
3:7.722
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 10.269
And the network is plugged 0.088
And Tor is ready 20.805
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.211
And I shutdown Tails and wait for the computer to power off 9.693
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.258
And I capture all network traffic 0.007
And the network is plugged 0.182
And Tor is ready 21.513
And I switch to the "persistent-con-current" NetworkManager connection 0.456
And the 1st network device has a spoofed MAC address configured 0.101
And no network device leaked the real MAC address 0.135
After features/support/hooks.rb:326 0.595
After features/support/hooks.rb:100 0.051
Tags: @product
1:5.609
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 17.977
And I enable persistence creation in Tails Greeter 1.140
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.276
Then I create a persistent partition with the default settings using the wizard that was already open 24.216
After features/support/hooks.rb:326 1.746
After features/support/hooks.rb:100 0.000
Tags: @product
5:8.709
Before features/support/hooks.rb:269 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 14.326
When I enable persistence 46.292
Then no persistent Greeter options were restored 14.261
When I set all Greeter options to non-default values 28.937
And I log in to a new session in German (de) after having activated the Persistent Storage 46.524
Then all Greeter options are set to non-default values 0.532
When I cold reboot the computer 7.675
And the computer reboots Tails 1:3.344
Given I enable persistence 34.437
Then persistent Greeter options were restored 15.024
When I log in to a new session after having activated the Persistent Storage 37.009
Then all Greeter options are set to non-default values 0.342
After features/support/hooks.rb:326 1.367
After features/support/hooks.rb:100 0.011
Tags: @product
4:11.975
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.618
# 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 40.646
And I shutdown Tails and wait for the computer to power off 12.823
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:34.531
And I change the passphrase of the Persistent Storage back to the original 33.356
After features/support/hooks.rb:326 2.444
After features/support/hooks.rb:100 0.011
Tags: @product
1:15.984
Before features/support/hooks.rb:269 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 25.642
And I log in to a new session without activating the Persistent Storage 22.863
Then persistence is disabled 0.474
But a Tails persistence partition exists on USB drive "__internal" 10.339
And all notifications have disappeared 10.577
When I delete the persistent partition 5.611
Then there is no persistence partition on USB drive "__internal" 0.474
After features/support/hooks.rb:326 0.950
After features/support/hooks.rb:100 0.000
Tags: @product
2:32.408
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.221
When I write some dotfile expected to persist 0.551
And I shutdown Tails and wait for the computer to power off 8.886
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.383
Then the expected persistent dotfile is present in the filesystem 0.365
After features/support/hooks.rb:326 0.879
After features/support/hooks.rb:100 0.011
Tags: @product
1:54.656
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 8.676
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.099
When I try to enable persistence 0.287
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 36.697
When I log in to a new session after having activated the Persistent Storage 49.906
And all notifications have disappeared 9.130
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.822
And all tps features are enabled 2.551
And all tps features but the first one are active 2.483
After features/support/hooks.rb:326 1.676
After features/support/hooks.rb:100 0.000
Tags: @product
7:44.530
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 6:13.117
And I enable persistence 38.279
And I log in to a new session after having activated the Persistent Storage 51.294
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.710
And persistence is enabled 0.128
After features/support/hooks.rb:326 1.479
After features/support/hooks.rb:100 0.000
Tags: @product
39.146
Before features/support/hooks.rb:269 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 13.914
And I enable persistence but something goes wrong during the LUKS header upgrade 24.306
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.925
After features/support/hooks.rb:326 0.997
After features/support/hooks.rb:100 0.000
Tags: @product
55.493
Before features/support/hooks.rb:269 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 11.226
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 7.740
When I enable persistence 36.026
Then the filesystem of the Persistent Storage was repaired 0.116
And persistence is successfully enabled 0.383
After features/support/hooks.rb:326 1.336
After features/support/hooks.rb:100 0.000
Tags: @product
29.339
Before features/support/hooks.rb:269 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.945
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.575
When I try to enable persistence 1.576
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.713
When I repair the filesystem of the Persistent Storage 1.278
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.313
And the filesystem of the Persistent Storage was repaired 0.103
When I close the filesystem repair dialog 1.304
Then persistence is successfully enabled 0.529
After features/support/hooks.rb:326 0.926
After features/support/hooks.rb:100 0.000
Tags: @product
1:58.851
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.621
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.176
When I try to enable persistence 0.310
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 37.430
When I repair the filesystem of the Persistent Storage 1.328
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.105
When I log in to a new session 42.509
And all notifications have disappeared 10.314
# 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.485
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.734
When I close the "whisperback" window 1.317
Then the Tor Browser starts 14.000
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 0.515
After features/support/hooks.rb:326 2.162
After features/support/hooks.rb:100 0.000
Tags: @product
1:17.769
Before features/support/hooks.rb:269 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.264
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.684
And Tails detects disk read failures on the boot device 1.639
When I try to enable persistence 0.545
Then the Welcome Screen tells me that my hardware is probably failing 6.209
When I log in to a new session 24.414
And all notifications have disappeared 7.949
Then the Tor Browser starts 20.485
And "Tails - Recovering data from the Persistent Storage, if the Persistent Storage doesn't unlock" has loaded in the Tor Browser 0.576
After features/support/hooks.rb:326 1.404
After features/support/hooks.rb:100 0.000