Project Number Date
test_Tails_ISO_devel 3592 19 Nov 2024, 12:51

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 43:58.645 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:23.923
Before features/support/hooks.rb:269 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:41.803
And I update APT using apt 14.181
And I install "python3-behave" using apt 25.689
Then the Tails Persistent Storage behave tests pass 2.248
After features/support/hooks.rb:326 1.077
After features/support/hooks.rb:100 0.000
Tags: @product
51.853
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 11.765
When I log in to a new session without activating the Persistent Storage 28.004
Then Tails is running from USB drive "__internal" 0.662
And persistence is disabled 0.476
But a Tails persistence partition exists on USB drive "__internal" 10.944
After features/support/hooks.rb:326 0.931
After features/support/hooks.rb:100 0.000
Tags: @product
3:2.185
Before features/support/hooks.rb:269 0.010
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.061
Then Tails is running from USB drive "__internal" 0.393
When I create a file in the Persistent directory 0.123
And I create a persistent partition with the default settings 26.243
Then the file I created was copied to the Persistent Storage 0.783
When I shutdown Tails and wait for the computer to power off 13.335
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.455
Then persistence for "Persistent" is active 0.707
And the file I created in the Persistent directory exists 0.081
After features/support/hooks.rb:326 0.967
After features/support/hooks.rb:100 0.008
Tags: @product
1:21.736
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 26.696
And the system is very low on memory 4.272
When I create a file in the Persistent directory 2.364
When I try to create a persistent partition 28.734
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.196
When I close the Persistent Storage app 2.844
And I free up some memory 1.822
And I create a persistent partition with the default settings 13.630
Then the file I created was copied to the Persistent Storage 1.173
After features/support/hooks.rb:326 1.827
After features/support/hooks.rb:100 0.000
Tags: @product
3:26.499
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 18.624
Then Tails is running from USB drive "__internal" 0.840
And all tps features are active 4.187
And all persistent directories have safe access rights 2.887
When I disable the first tps feature 6.318
Then all tps features but the first one are active 2.511
And I shutdown Tails and wait for the computer to power off 19.787
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:28.718
Then all tps features but the first one are active 2.623
After features/support/hooks.rb:326 0.708
After features/support/hooks.rb:100 0.007
Tags: @product
21.807
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.142
Then persistence for "Persistent" is active 0.081
And I create a file in the Persistent directory 0.197
Then the file I created was copied to the Persistent Storage 0.076
When I disable the first tps feature 6.505
Then persistence for "Persistent" is not active 0.131
And the Persistent directory does not exist 0.067
When I enable the first tps feature 3.459
Then persistence for "Persistent" is active 0.079
And the file I created in the Persistent directory exists 0.065
After features/support/hooks.rb:326 0.976
After features/support/hooks.rb:100 0.000
Tags: @product
23.747
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 12.258
Then persistence for "Persistent" is active 0.179
When I create a file in the Persistent directory 0.122
And I disable the first tps feature 6.523
And I delete the data of the Persistent Folder feature 4.587
Then the file I created does not exist on the Persistent Storage 0.075
After features/support/hooks.rb:326 1.286
After features/support/hooks.rb:100 0.000
Tags: @product
1:11.321
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.879
And the network is plugged 0.103
And Tor is ready 21.548
And I take note of which tps features are available 0.627
When I write some files expected to persist 1.628
And I shutdown Tails and wait for the computer to power off 11.348
# 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.186
After features/support/hooks.rb:326 0.157
After features/support/hooks.rb:100 0.000
Tags: @product
3:12.662
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.009
And the network is plugged 0.076
And Tor is ready 19.019
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.210
And I shutdown Tails and wait for the computer to power off 8.499
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.240
And I capture all network traffic 0.008
And the network is plugged 0.107
And Tor is ready 19.760
And I switch to the "persistent-con-current" NetworkManager connection 0.406
And the 1st network device has a spoofed MAC address configured 0.143
And no network device leaked the real MAC address 0.178
After features/support/hooks.rb:326 0.714
After features/support/hooks.rb:100 0.055
Tags: @product
1:3.225
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 12.828
And I enable persistence creation in Tails Greeter 1.187
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.382
Then I create a persistent partition with the default settings using the wizard that was already open 27.826
After features/support/hooks.rb:326 2.107
After features/support/hooks.rb:100 0.000
Tags: @product
4:45.074
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 16.728
When I enable persistence 39.118
Then no persistent Greeter options were restored 14.429
When I set all Greeter options to non-default values 27.650
And I log in to a new session in German (de) after having activated the Persistent Storage 49.981
Then all Greeter options are set to non-default values 0.735
When I cold reboot the computer 7.777
And the computer reboots Tails 1:3.567
Given I enable persistence 18.978
Then persistent Greeter options were restored 0.601
When I log in to a new session after having activated the Persistent Storage 45.271
Then all Greeter options are set to non-default values 0.236
After features/support/hooks.rb:326 1.354
After features/support/hooks.rb:100 0.010
Tags: @product
3:51.953
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.971
# 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 44.185
And I shutdown Tails and wait for the computer to power off 14.620
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:12.316
And I change the passphrase of the Persistent Storage back to the original 30.860
After features/support/hooks.rb:326 1.926
After features/support/hooks.rb:100 0.014
Tags: @product
1:6.840
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.403
And I log in to a new session without activating the Persistent Storage 21.778
Then persistence is disabled 0.459
But a Tails persistence partition exists on USB drive "__internal" 16.494
And all notifications have disappeared 11.151
When I delete the persistent partition 6.345
Then there is no persistence partition on USB drive "__internal" 0.206
After features/support/hooks.rb:326 0.966
After features/support/hooks.rb:100 0.000
Tags: @product
2:37.446
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 10.070
When I write some dotfile expected to persist 0.106
And I shutdown Tails and wait for the computer to power off 10.704
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.115
Then the expected persistent dotfile is present in the filesystem 0.449
After features/support/hooks.rb:326 1.189
After features/support/hooks.rb:100 0.010
Tags: @product
1:43.285
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.577
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.094
When I try to enable persistence 0.284
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.451
When I log in to a new session after having activated the Persistent Storage 44.919
And all notifications have disappeared 7.633
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.513
And all tps features are enabled 2.524
And all tps features but the first one are active 2.287
After features/support/hooks.rb:326 1.160
After features/support/hooks.rb:100 0.000
Tags: @product
7:1.339
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 5:31.534
And I enable persistence 35.169
And I log in to a new session after having activated the Persistent Storage 48.028
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.834
And persistence is enabled 3.773
After features/support/hooks.rb:326 0.833
After features/support/hooks.rb:100 0.000
Tags: @product
46.998
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 20.630
And I enable persistence but something goes wrong during the LUKS header upgrade 25.471
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.895
After features/support/hooks.rb:326 0.831
After features/support/hooks.rb:100 0.000
Tags: @product
58.133
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 11.578
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 7.153
When I enable persistence 36.043
Then the filesystem of the Persistent Storage was repaired 0.095
And persistence is successfully enabled 3.262
After features/support/hooks.rb:326 0.833
After features/support/hooks.rb:100 0.000
Tags: @product
30.541
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.565
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.343
When I try to enable persistence 0.498
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 7.995
When I repair the filesystem of the Persistent Storage 1.339
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.429
And the filesystem of the Persistent Storage was repaired 0.430
When I close the filesystem repair dialog 1.306
Then persistence is successfully enabled 1.633
After features/support/hooks.rb:326 0.935
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:57.214
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 9.839
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.099
When I try to enable persistence 0.286
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 35.272
When I repair the filesystem of the Persistent Storage 1.349
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.084
When I log in to a new session 41.976
And all notifications have disappeared 10.223
# 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.679
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.860
When I close the "whisperback" window 1.544
Then the Tor Browser starts 14.087
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.909
After features/support/hooks.rb:326 3.791
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:20.853
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.384
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.109
And Tails detects disk read failures on the boot device 1.653
When I try to enable persistence 0.398
Then the Welcome Screen tells me that my hardware is probably failing 6.254
When I log in to a new session 22.629
And all notifications have disappeared 9.728
Then the Tor Browser starts 19.760
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.934
After features/support/hooks.rb:326 1.335
After features/support/hooks.rb:100 0.000