Project Number Date
test_Tails_ISO_devel 3392 17 May 2024, 12:45

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 121 0 0 0 0 121 17 0 17 35:52.146 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:17.962
Before features/support/hooks.rb:259 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:33.858
And I update APT using apt 17.666
And I install "python3-behave" using apt 22.866
Then the Tails Persistent Storage behave tests pass 3.571
After features/support/hooks.rb:305 0.788
After features/support/hooks.rb:89 0.000
Tags: @product
42.389
Before features/support/hooks.rb:259 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 14.733
When I log in to a new session without activating the Persistent Storage 20.506
Then Tails is running from USB drive "__internal" 0.518
And persistence is disabled 0.325
But a Tails persistence partition exists on USB drive "__internal" 6.304
After features/support/hooks.rb:305 0.866
After features/support/hooks.rb:89 0.000
Tags: @product
3:9.555
Before features/support/hooks.rb:259 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.342
Then Tails is running from USB drive "__internal" 0.602
When I create a file in the Persistent directory 0.227
And I create a persistent partition with the default settings 28.707
Then the file I created was copied to the Persistent Storage 0.624
When I shutdown Tails and wait for the computer to power off 13.165
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.472
Then persistence for "Persistent" is active 0.347
And the file I created in the Persistent directory exists 0.064
After features/support/hooks.rb:305 0.981
After features/support/hooks.rb:89 0.043
Tags: @product
1:5.145
Before features/support/hooks.rb:259 0.017
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.031
And the system is very low on memory 4.426
When I create a file in the Persistent directory 1.336
When I try to create a persistent partition 29.493
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.201
When I close the Persistent Storage app 2.632
And I free up some memory 1.643
And I create a persistent partition with the default settings 14.176
Then the file I created was copied to the Persistent Storage 0.201
After features/support/hooks.rb:305 1.312
After features/support/hooks.rb:89 0.000
Tags: @product
2:39.397
Before features/support/hooks.rb:259 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.981
Then Tails is running from USB drive "__internal" 0.500
And all tps features are active 2.208
And all persistent directories have safe access rights 2.388
When I disable the first tps feature 4.876
Then all tps features but the first one are active 1.886
And I shutdown Tails and wait for the computer to power off 10.953
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:3.527
Then all tps features but the first one are active 2.074
After features/support/hooks.rb:305 0.729
After features/support/hooks.rb:89 0.009
Tags: @product
18.114
Before features/support/hooks.rb:259 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.430
Then persistence for "Persistent" is active 0.076
And I create a file in the Persistent directory 0.125
Then the file I created was copied to the Persistent Storage 0.105
When I disable the first tps feature 5.058
Then persistence for "Persistent" is not active 0.084
And the Persistent directory does not exist 0.064
When I enable the first tps feature 3.051
Then persistence for "Persistent" is active 0.064
And the file I created in the Persistent directory exists 0.053
After features/support/hooks.rb:305 0.939
After features/support/hooks.rb:89 0.000
Tags: @product
18.623
Before features/support/hooks.rb:259 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.838
Then persistence for "Persistent" is active 0.086
When I create a file in the Persistent directory 0.051
And I disable the first tps feature 4.970
And I delete the data of the Persistent Folder feature 3.623
Then the file I created does not exist on the Persistent Storage 0.051
After features/support/hooks.rb:305 0.849
After features/support/hooks.rb:89 0.000
Tags: @product
1:3.875
Before features/support/hooks.rb:259 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.015
And the network is plugged 0.039
And Tor is ready 16.668
And I take note of which tps features are available 0.512
When I write some files expected to persist 1.512
And I shutdown Tails and wait for the computer to power off 10.593
# 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.533
After features/support/hooks.rb:305 0.125
After features/support/hooks.rb:89 0.000
Tags: @product
2:57.258
Before features/support/hooks.rb:259 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.404
And the network is plugged 0.037
And Tor is ready 17.850
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.253
And I shutdown Tails and wait for the computer to power off 8.764
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:59.593
And I capture all network traffic 0.010
And the network is plugged 0.062
And Tor is ready 20.557
And I switch to the "persistent-con-current" NetworkManager connection 0.385
And the 1st network device has a spoofed MAC address configured 0.102
And no network device leaked the real MAC address 0.236
After features/support/hooks.rb:305 0.635
After features/support/hooks.rb:89 0.058
Tags: @product
1:7.984
Before features/support/hooks.rb:259 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 17.981
And I enable persistence creation in Tails Greeter 2.066
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.635
Then I create a persistent partition with the default settings using the wizard that was already open 27.301
After features/support/hooks.rb:305 1.792
After features/support/hooks.rb:89 0.000
Tags: @product
5:0.299
Before features/support/hooks.rb:259 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 14.276
When I enable persistence 38.015
Then no persistent Greeter options were restored 15.277
When I set all Greeter options to non-default values 23.743
And I log in to a new session in German (de) after having activated the Persistent Storage 52.000
Then all Greeter options are set to non-default values 0.294
When I cold reboot the computer 7.713
And the computer reboots Tails 59.734
Given I enable persistence 38.306
Then persistent Greeter options were restored 15.640
When I log in to a new session after having activated the Persistent Storage 35.008
Then all Greeter options are set to non-default values 0.289
After features/support/hooks.rb:305 0.895
After features/support/hooks.rb:89 0.010
Tags: @product
3:40.485
Before features/support/hooks.rb:259 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.345
# 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.507
And I shutdown Tails and wait for the computer to power off 15.280
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:6.595
And I change the passphrase of the Persistent Storage back to the original 34.757
After features/support/hooks.rb:305 1.976
After features/support/hooks.rb:89 0.010
Tags: @product
52.893
Before features/support/hooks.rb:259 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.289
And I log in to a new session without activating the Persistent Storage 18.856
Then persistence is disabled 0.449
But a Tails persistence partition exists on USB drive "__internal" 6.065
And all notifications have disappeared 10.068
When I delete the persistent partition 6.849
Then there is no persistence partition on USB drive "__internal" 0.315
After features/support/hooks.rb:305 0.788
After features/support/hooks.rb:89 0.000
Tags: @product
2:21.662
Before features/support/hooks.rb:259 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.292
When I write some dotfile expected to persist 0.068
And I shutdown Tails and wait for the computer to power off 8.705
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:2.212
Then the expected persistent dotfile is present in the filesystem 0.384
After features/support/hooks.rb:305 0.786
After features/support/hooks.rb:89 0.020
Tags: @product
1:35.763
Before features/support/hooks.rb:259 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.653
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.080
When I try to enable persistence 0.254
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.262
When I log in to a new session after having activated the Persistent Storage 37.004
And all notifications have disappeared 9.571
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.664
And all tps features are enabled 2.259
And all tps features but the first one are active 2.012
After features/support/hooks.rb:305 0.969
After features/support/hooks.rb:89 0.000
Tags: @product
6:9.360
Before features/support/hooks.rb:259 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 4:48.589
And I enable persistence 31.890
And I log in to a new session after having activated the Persistent Storage 46.991
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.480
And persistence is enabled 0.408
After features/support/hooks.rb:305 2.102
After features/support/hooks.rb:89 0.000
Tags: @product
31.374
Before features/support/hooks.rb:259 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.064
And I enable persistence but something goes wrong during the LUKS header upgrade 21.615
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.694
After features/support/hooks.rb:305 0.796
After features/support/hooks.rb:89 0.000