Project Number Date
test_Tails_ISO_devel 3544 11 Oct 2024, 02:58

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:9.167 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:27.779
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:45.981
And I update APT using apt 14.204
And I install "python3-behave" using apt 25.497
Then the Tails Persistent Storage behave tests pass 2.096
After features/support/hooks.rb:326 0.675
After features/support/hooks.rb:100 0.000
Tags: @product
49.933
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 13.970
When I log in to a new session without activating the Persistent Storage 23.555
Then Tails is running from USB drive "__internal" 0.455
And persistence is disabled 0.292
But a Tails persistence partition exists on USB drive "__internal" 11.659
After features/support/hooks.rb:326 1.647
After features/support/hooks.rb:100 0.000
Tags: @product
3:6.856
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 13.454
Then Tails is running from USB drive "__internal" 0.909
When I create a file in the Persistent directory 0.192
And I create a persistent partition with the default settings 28.991
Then the file I created was copied to the Persistent Storage 0.524
When I shutdown Tails and wait for the computer to power off 12.737
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.820
Then persistence for "Persistent" is active 1.155
And the file I created in the Persistent directory exists 0.069
After features/support/hooks.rb:326 1.157
After features/support/hooks.rb:100 0.010
Tags: @product
1:0.323
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 10.959
And the system is very low on memory 4.708
When I create a file in the Persistent directory 1.496
When I try to create a persistent partition 25.460
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.273
When I close the Persistent Storage app 2.545
And I free up some memory 1.310
And I create a persistent partition with the default settings 13.326
Then the file I created was copied to the Persistent Storage 0.243
After features/support/hooks.rb:326 1.376
After features/support/hooks.rb:100 0.000
Tags: @product
2:39.923
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.943
Then Tails is running from USB drive "__internal" 0.785
And all tps features are active 2.284
And all persistent directories have safe access rights 2.604
When I disable the first tps feature 6.099
Then all tps features but the first one are active 2.180
And I shutdown Tails and wait for the computer to power off 10.635
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:2.104
Then all tps features but the first one are active 2.283
After features/support/hooks.rb:326 1.107
After features/support/hooks.rb:100 0.046
Tags: @product
19.874
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.427
Then persistence for "Persistent" is active 0.321
And I create a file in the Persistent directory 0.081
Then the file I created was copied to the Persistent Storage 0.066
When I disable the first tps feature 5.560
Then persistence for "Persistent" is not active 0.078
And the Persistent directory does not exist 0.061
When I enable the first tps feature 3.121
Then persistence for "Persistent" is active 0.077
And the file I created in the Persistent directory exists 0.078
After features/support/hooks.rb:326 0.811
After features/support/hooks.rb:100 0.000
Tags: @product
19.756
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 9.597
Then persistence for "Persistent" is active 0.253
When I create a file in the Persistent directory 0.192
And I disable the first tps feature 5.704
And I delete the data of the Persistent Folder feature 3.922
Then the file I created does not exist on the Persistent Storage 0.087
After features/support/hooks.rb:326 0.783
After features/support/hooks.rb:100 0.000
Tags: @product
1:4.384
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 9.436
And the network is plugged 0.091
And Tor is ready 20.072
And I take note of which tps features are available 0.601
When I write some files expected to persist 1.427
And I shutdown Tails and wait for the computer to power off 8.599
# 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.155
After features/support/hooks.rb:326 0.096
After features/support/hooks.rb:100 0.000
Tags: @product
3:2.787
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 9.501
And the network is plugged 0.136
And Tor is ready 18.490
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.233
And I shutdown Tails and wait for the computer to power off 8.627
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:2.572
And I capture all network traffic 0.008
And the network is plugged 0.070
And Tor is ready 22.543
And I switch to the "persistent-con-current" NetworkManager connection 0.293
And the 1st network device has a spoofed MAC address configured 0.124
And no network device leaked the real MAC address 0.184
After features/support/hooks.rb:326 0.594
After features/support/hooks.rb:100 0.073
Tags: @product
1:5.232
Before features/support/hooks.rb:269 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 22.738
And I enable persistence creation in Tails Greeter 1.149
And I log in to a new session expecting no warning about the Persistent Storage not being activated 19.649
Then I create a persistent partition with the default settings using the wizard that was already open 21.694
After features/support/hooks.rb:326 1.313
After features/support/hooks.rb:100 0.000
Tags: @product
5:3.567
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 13.637
When I enable persistence 38.201
Then no persistent Greeter options were restored 14.238
When I set all Greeter options to non-default values 25.563
And I log in to a new session in German (de) after having activated the Persistent Storage 52.442
Then all Greeter options are set to non-default values 0.537
When I cold reboot the computer 9.689
And the computer reboots Tails 1:4.471
Given I enable persistence 31.684
Then persistent Greeter options were restored 14.965
When I log in to a new session after having activated the Persistent Storage 37.367
Then all Greeter options are set to non-default values 0.768
After features/support/hooks.rb:326 1.077
After features/support/hooks.rb:100 0.009
Tags: @product
3:54.864
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 9.700
# 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 33.656
And I shutdown Tails and wait for the computer to power off 12.554
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:25.818
And I change the passphrase of the Persistent Storage back to the original 33.134
After features/support/hooks.rb:326 1.568
After features/support/hooks.rb:100 0.010
Tags: @product
1:1.708
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 10.318
And I log in to a new session without activating the Persistent Storage 22.586
Then persistence is disabled 0.352
But a Tails persistence partition exists on USB drive "__internal" 10.161
And all notifications have disappeared 11.463
When I delete the persistent partition 6.238
Then there is no persistence partition on USB drive "__internal" 0.587
After features/support/hooks.rb:326 0.762
After features/support/hooks.rb:100 0.000
Tags: @product
2:23.604
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 9.467
When I write some dotfile expected to persist 0.135
And I shutdown Tails and wait for the computer to power off 9.079
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.523
Then the expected persistent dotfile is present in the filesystem 0.397
After features/support/hooks.rb:326 0.836
After features/support/hooks.rb:100 0.008
Tags: @product
1:29.284
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 10.677
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.236
When I try to enable persistence 0.839
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.521
When I log in to a new session after having activated the Persistent Storage 31.197
And all notifications have disappeared 6.148
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.023
And all tps features are enabled 2.392
And all tps features but the first one are active 2.246
After features/support/hooks.rb:326 1.312
After features/support/hooks.rb:100 0.000
Tags: @product
7:27.995
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 6:3.534
And I enable persistence 34.796
And I log in to a new session after having activated the Persistent Storage 47.068
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.309
And persistence is enabled 0.284
After features/support/hooks.rb:326 2.136
After features/support/hooks.rb:100 0.000
Tags: @product
32.601
Before features/support/hooks.rb:269 0.005
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.946
And I enable persistence but something goes wrong during the LUKS header upgrade 22.888
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.766
After features/support/hooks.rb:326 0.695
After features/support/hooks.rb:100 0.000
Tags: @product
45.658
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.586
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.215
When I enable persistence 30.336
Then the filesystem of the Persistent Storage was repaired 0.096
And persistence is successfully enabled 0.423
After features/support/hooks.rb:326 0.814
After features/support/hooks.rb:100 0.000
Tags: @product
28.565
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.828
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.590
When I try to enable persistence 0.523
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 7.462
When I repair the filesystem of the Persistent Storage 1.259
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.162
And the filesystem of the Persistent Storage was repaired 0.089
When I close the filesystem repair dialog 1.248
Then persistence is successfully enabled 0.400
After features/support/hooks.rb:326 0.767
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:52.554
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 8.959
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.111
When I try to enable persistence 1.399
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.403
When I repair the filesystem of the Persistent Storage 5.122
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.755
When I log in to a new session 37.818
And all notifications have disappeared 9.171
# 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.930
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.416
When I close the "whisperback" window 1.354
Then the Tor Browser starts 16.383
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.728
After features/support/hooks.rb:326 2.082
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:11.912
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 8.729
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.527
And Tails detects disk read failures on the boot device 1.618
When I try to enable persistence 0.542
Then the Welcome Screen tells me that my hardware is probably failing 5.423
When I log in to a new session 19.607
And all notifications have disappeared 8.252
Then the Tor Browser starts 19.527
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.682
After features/support/hooks.rb:326 1.381
After features/support/hooks.rb:100 0.000