Project Number Date
test_Tails_ISO_feature-arti 10 25 Nov 2024, 16:52

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 41:11.084 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:30.954
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:42.651
And I update APT using apt 19.580
And I install "python3-behave" using apt 25.747
Then the Tails Persistent Storage behave tests pass 2.974
After features/support/hooks.rb:326 0.668
After features/support/hooks.rb:100 0.000
Tags: @product
56.013
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 12.382
When I log in to a new session without activating the Persistent Storage 24.456
Then Tails is running from USB drive "__internal" 0.609
And persistence is disabled 0.447
But a Tails persistence partition exists on USB drive "__internal" 18.116
After features/support/hooks.rb:326 1.774
After features/support/hooks.rb:100 0.000
Tags: @product
3:50.865
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive without a persistent partition and logged in 49.923
Then Tails is running from USB drive "__internal" 0.399
When I create a file in the Persistent directory 0.133
And I create a persistent partition with the default settings 27.090
Then the file I created was copied to the Persistent Storage 0.659
When I shutdown Tails and wait for the computer to power off 12.797
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.327
Then persistence for "Persistent" is active 0.417
And the file I created in the Persistent directory exists 0.117
After features/support/hooks.rb:326 0.964
After features/support/hooks.rb:100 0.009
Tags: @product
1:1.018
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 10.150
And the system is very low on memory 4.829
When I create a file in the Persistent directory 1.984
When I try to create a persistent partition 25.687
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.662
And I free up some memory 1.587
And I create a persistent partition with the default settings 13.639
Then the file I created was copied to the Persistent Storage 0.247
After features/support/hooks.rb:326 1.053
After features/support/hooks.rb:100 0.000
Tags: @product
2:47.678
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 11.969
Then Tails is running from USB drive "__internal" 0.553
And all tps features are active 2.451
And all persistent directories have safe access rights 2.995
When I disable the first tps feature 7.289
Then all tps features but the first one are active 2.620
And I shutdown Tails and wait for the computer to power off 11.344
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.320
Then all tps features but the first one are active 2.134
After features/support/hooks.rb:326 0.995
After features/support/hooks.rb:100 0.009
Tags: @product
39.571
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 26.462
Then persistence for "Persistent" is active 0.861
And I create a file in the Persistent directory 0.185
Then the file I created was copied to the Persistent Storage 0.080
When I disable the first tps feature 7.619
Then persistence for "Persistent" is not active 0.116
And the Persistent directory does not exist 0.068
When I enable the first tps feature 4.007
Then persistence for "Persistent" is active 0.093
And the file I created in the Persistent directory exists 0.077
After features/support/hooks.rb:326 0.818
After features/support/hooks.rb:100 0.000
Tags: @product
24.528
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.941
Then persistence for "Persistent" is active 0.910
When I create a file in the Persistent directory 0.073
And I disable the first tps feature 7.458
And I delete the data of the Persistent Folder feature 5.062
Then the file I created does not exist on the Persistent Storage 0.081
After features/support/hooks.rb:326 0.951
After features/support/hooks.rb:100 0.000
Tags: @product
1:10.553
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.068
And the network is plugged 0.077
And Tor is ready 23.973
And I take note of which tps features are available 0.543
When I write some files expected to persist 1.569
And I shutdown Tails and wait for the computer to power off 8.660
# 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.661
After features/support/hooks.rb:326 0.126
After features/support/hooks.rb:100 0.000
Tags: @product
3:17.581
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 11.440
And the network is plugged 0.094
And Tor is ready 23.293
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.200
And I shutdown Tails and wait for the computer to power off 9.030
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.131
And I capture all network traffic 0.008
And the network is plugged 0.078
And Tor is ready 22.613
And I switch to the "persistent-con-current" NetworkManager connection 0.394
And the 1st network device has a spoofed MAC address configured 0.095
And no network device leaked the real MAC address 0.200
After features/support/hooks.rb:326 0.610
After features/support/hooks.rb:100 0.118
Tags: @product
1:0.187
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 13.898
And I enable persistence creation in Tails Greeter 1.131
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.163
Then I create a persistent partition with the default settings using the wizard that was already open 21.994
After features/support/hooks.rb:326 1.768
After features/support/hooks.rb:100 0.000
Tags: @product
4:32.308
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 12.850
When I enable persistence 41.632
Then no persistent Greeter options were restored 14.668
When I set all Greeter options to non-default values 25.397
And I log in to a new session in German (de) after having activated the Persistent Storage 45.428
Then all Greeter options are set to non-default values 0.659
When I cold reboot the computer 7.778
And the computer reboots Tails 1:2.295
Given I enable persistence 20.938
Then persistent Greeter options were restored 0.606
When I log in to a new session after having activated the Persistent Storage 39.763
Then all Greeter options are set to non-default values 0.287
After features/support/hooks.rb:326 1.139
After features/support/hooks.rb:100 0.010
Tags: @product
4:2.298
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 11.488
# 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 36.035
And I shutdown Tails and wait for the computer to power off 12.588
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:25.332
And I change the passphrase of the Persistent Storage back to the original 36.853
After features/support/hooks.rb:326 1.767
After features/support/hooks.rb:100 0.016
Tags: @product
1:2.044
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 10.227
And I log in to a new session without activating the Persistent Storage 21.424
Then persistence is disabled 0.374
But a Tails persistence partition exists on USB drive "__internal" 11.035
And all notifications have disappeared 12.674
When I delete the persistent partition 5.834
Then there is no persistence partition on USB drive "__internal" 0.473
After features/support/hooks.rb:326 0.879
After features/support/hooks.rb:100 0.000
Tags: @product
2:33.100
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 11.310
When I write some dotfile expected to persist 0.092
And I shutdown Tails and wait for the computer to power off 10.884
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.428
Then the expected persistent dotfile is present in the filesystem 0.383
After features/support/hooks.rb:326 0.714
After features/support/hooks.rb:100 0.108
Tags: @product
1:52.083
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 14.808
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.102
When I try to enable persistence 0.294
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 30.746
When I log in to a new session after having activated the Persistent Storage 49.450
And all notifications have disappeared 8.041
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.361
And all tps features are enabled 2.266
And all tps features but the first one are active 2.010
After features/support/hooks.rb:326 1.287
After features/support/hooks.rb:100 0.000
Tags: @product
4:42.276
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 3:10.435
And I enable persistence 39.723
And I log in to a new session after having activated the Persistent Storage 45.254
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.573
And persistence is enabled 3.289
After features/support/hooks.rb:326 1.295
After features/support/hooks.rb:100 0.000
Tags: @product
31.081
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 8.954
And I enable persistence but something goes wrong during the LUKS header upgrade 21.344
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.781
After features/support/hooks.rb:326 1.235
After features/support/hooks.rb:100 0.000
Tags: @product
49.179
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.187
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.390
When I enable persistence 30.816
Then the filesystem of the Persistent Storage was repaired 0.101
And persistence is successfully enabled 2.682
After features/support/hooks.rb:326 0.883
After features/support/hooks.rb:100 0.000
Tags: @product
28.015
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 9.368
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.320
When I try to enable persistence 0.444
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.559
When I repair the filesystem of the Persistent Storage 1.251
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.172
And the filesystem of the Persistent Storage was repaired 0.098
When I close the filesystem repair dialog 1.249
Then persistence is successfully enabled 1.548
After features/support/hooks.rb:326 0.825
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:47.003
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.688
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.124
When I try to enable persistence 0.275
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.401
When I repair the filesystem of the Persistent Storage 1.182
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 4.713
When I log in to a new session 32.755
And all notifications have disappeared 9.721
# 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.667
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.086
When I close the "whisperback" window 1.737
Then the Tor Browser starts 14.851
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.798
After features/support/hooks.rb:326 1.456
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:12.740
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 9.182
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.263
And Tails detects disk read failures on the boot device 1.574
When I try to enable persistence 0.469
Then the Welcome Screen tells me that my hardware is probably failing 6.042
When I log in to a new session 20.625
And all notifications have disappeared 7.568
Then the Tor Browser starts 19.033
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.980
After features/support/hooks.rb:326 1.286
After features/support/hooks.rb:100 0.000