Project Number Date
test_Tails_ISO_feature-arti 15 30 Nov 2024, 16:30

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:34.459 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:18.201
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:36.735
And I update APT using apt 13.185
And I install "python3-behave" using apt 25.662
Then the Tails Persistent Storage behave tests pass 2.619
After features/support/hooks.rb:326 0.872
After features/support/hooks.rb:100 0.000
Tags: @product
57.570
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 22.729
When I log in to a new session without activating the Persistent Storage 24.153
Then Tails is running from USB drive "__internal" 0.653
And persistence is disabled 0.273
But a Tails persistence partition exists on USB drive "__internal" 9.760
After features/support/hooks.rb:326 1.261
After features/support/hooks.rb:100 0.000
Tags: @product
3:28.889
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 14.634
Then Tails is running from USB drive "__internal" 0.449
When I create a file in the Persistent directory 0.120
And I create a persistent partition with the default settings 26.791
Then the file I created was copied to the Persistent Storage 0.664
When I shutdown Tails and wait for the computer to power off 13.571
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:32.314
Then persistence for "Persistent" is active 0.272
And the file I created in the Persistent directory exists 0.070
After features/support/hooks.rb:326 0.841
After features/support/hooks.rb:100 0.007
Tags: @product
1:4.732
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 11.312
And the system is very low on memory 6.264
When I create a file in the Persistent directory 2.281
When I try to create a persistent partition 27.492
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.519
When I close the Persistent Storage app 2.770
And I free up some memory 1.677
And I create a persistent partition with the default settings 12.166
Then the file I created was copied to the Persistent Storage 0.245
After features/support/hooks.rb:326 1.668
After features/support/hooks.rb:100 0.000
Tags: @product
2:44.185
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.466
Then Tails is running from USB drive "__internal" 0.518
And all tps features are active 2.217
And all persistent directories have safe access rights 2.647
When I disable the first tps feature 5.243
Then all tps features but the first one are active 2.165
And I shutdown Tails and wait for the computer to power off 9.001
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.667
Then all tps features but the first one are active 2.257
After features/support/hooks.rb:326 0.889
After features/support/hooks.rb:100 0.010
Tags: @product
19.553
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.004
Then persistence for "Persistent" is active 0.228
And I create a file in the Persistent directory 0.134
Then the file I created was copied to the Persistent Storage 0.107
When I disable the first tps feature 5.624
Then persistence for "Persistent" is not active 0.089
And the Persistent directory does not exist 0.059
When I enable the first tps feature 3.135
Then persistence for "Persistent" is active 0.095
And the file I created in the Persistent directory exists 0.074
After features/support/hooks.rb:326 1.021
After features/support/hooks.rb:100 0.000
Tags: @product
19.058
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.581
Then persistence for "Persistent" is active 0.074
When I create a file in the Persistent directory 0.097
And I disable the first tps feature 5.650
And I delete the data of the Persistent Folder feature 3.594
Then the file I created does not exist on the Persistent Storage 0.060
After features/support/hooks.rb:326 1.241
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.478
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 9.584
And the network is plugged 0.118
And Tor is ready 21.307
And I take note of which tps features are available 0.596
When I write some files expected to persist 1.573
And I shutdown Tails and wait for the computer to power off 8.410
# 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.886
After features/support/hooks.rb:326 0.120
After features/support/hooks.rb:100 0.000
Tags: @product
3:8.837
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 9.022
And the network is plugged 0.100
And Tor is ready 17.546
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.314
And I shutdown Tails and wait for the computer to power off 8.435
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.286
And I capture all network traffic 0.016
And the network is plugged 0.068
And Tor is ready 22.313
And I switch to the "persistent-con-current" NetworkManager connection 0.431
And the 1st network device has a spoofed MAC address configured 0.098
And no network device leaked the real MAC address 0.203
After features/support/hooks.rb:326 0.703
After features/support/hooks.rb:100 0.056
Tags: @product
1:0.154
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 15.094
And I enable persistence creation in Tails Greeter 1.119
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.957
Then I create a persistent partition with the default settings using the wizard that was already open 22.983
After features/support/hooks.rb:326 1.542
After features/support/hooks.rb:100 0.000
Tags: @product
4:46.099
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.789
When I enable persistence 58.821
Then no persistent Greeter options were restored 14.309
When I set all Greeter options to non-default values 25.970
And I log in to a new session in German (de) after having activated the Persistent Storage 42.909
Then all Greeter options are set to non-default values 0.594
When I cold reboot the computer 7.669
And the computer reboots Tails 1:3.350
Given I enable persistence 18.197
Then persistent Greeter options were restored 0.479
When I log in to a new session after having activated the Persistent Storage 39.523
Then all Greeter options are set to non-default values 0.484
After features/support/hooks.rb:326 1.161
After features/support/hooks.rb:100 0.009
Tags: @product
3:40.408
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.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 32.347
And I shutdown Tails and wait for the computer to power off 12.732
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:9.446
And I change the passphrase of the Persistent Storage back to the original 35.271
After features/support/hooks.rb:326 2.297
After features/support/hooks.rb:100 0.013
Tags: @product
57.244
Before features/support/hooks.rb:269 0.017
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 11.417
And I log in to a new session without activating the Persistent Storage 21.743
Then persistence is disabled 0.344
But a Tails persistence partition exists on USB drive "__internal" 9.097
And all notifications have disappeared 8.376
When I delete the persistent partition 5.861
Then there is no persistence partition on USB drive "__internal" 0.403
After features/support/hooks.rb:326 0.870
After features/support/hooks.rb:100 0.000
Tags: @product
2:46.612
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.915
When I write some dotfile expected to persist 0.082
And I shutdown Tails and wait for the computer to power off 9.635
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:26.543
Then the expected persistent dotfile is present in the filesystem 0.434
After features/support/hooks.rb:326 1.008
After features/support/hooks.rb:100 0.010
Tags: @product
1:41.913
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.316
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.098
When I try to enable persistence 0.371
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 34.879
When I log in to a new session after having activated the Persistent Storage 39.948
And all notifications have disappeared 8.227
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.772
And all tps features are enabled 2.516
And all tps features but the first one are active 2.782
After features/support/hooks.rb:326 1.570
After features/support/hooks.rb:100 0.000
Tags: @product
5:58.489
Before features/support/hooks.rb:269 0.007
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:28.467
And I enable persistence 35.963
And I log in to a new session after having activated the Persistent Storage 49.377
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.923
And persistence is enabled 2.757
After features/support/hooks.rb:326 1.852
After features/support/hooks.rb:100 0.000
Tags: @product
38.617
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 9.331
And I enable persistence but something goes wrong during the LUKS header upgrade 28.210
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 1.076
After features/support/hooks.rb:326 0.837
After features/support/hooks.rb:100 0.000
Tags: @product
52.048
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.559
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.244
When I enable persistence 34.048
Then the filesystem of the Persistent Storage was repaired 0.105
And persistence is successfully enabled 3.090
After features/support/hooks.rb:326 1.122
After features/support/hooks.rb:100 0.000
Tags: @product
33.925
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.133
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.401
When I try to enable persistence 0.446
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 10.981
When I repair the filesystem of the Persistent Storage 1.340
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.120
And the filesystem of the Persistent Storage was repaired 0.439
When I close the filesystem repair dialog 1.265
Then persistence is successfully enabled 1.796
After features/support/hooks.rb:326 1.093
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:52.764
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.370
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.118
When I try to enable persistence 0.325
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 32.344
When I repair the filesystem of the Persistent Storage 1.342
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.093
When I log in to a new session 37.653
And all notifications have disappeared 9.639
# 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.635
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.545
When I close the "whisperback" window 1.913
Then the Tor Browser starts 17.828
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.951
After features/support/hooks.rb:326 3.761
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:18.673
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.670
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.166
And Tails detects disk read failures on the boot device 0.535
When I try to enable persistence 0.437
Then the Welcome Screen tells me that my hardware is probably failing 6.684
When I log in to a new session 22.815
And all notifications have disappeared 8.970
Then the Tor Browser starts 22.525
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.868
After features/support/hooks.rb:326 1.483
After features/support/hooks.rb:100 0.000