Project Number Date
test_Tails_ISO_devel 3614 17 Dec 2024, 12:38

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 40:22.085 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:19.909
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:37.396
And I update APT using apt 13.623
And I install "python3-behave" using apt 25.542
Then the Tails Persistent Storage behave tests pass 3.347
After features/support/hooks.rb:326 0.647
After features/support/hooks.rb:100 0.000
Tags: @product
48.614
Before features/support/hooks.rb:269 0.011
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 15.320
When I log in to a new session without activating the Persistent Storage 22.031
Then Tails is running from USB drive "__internal" 0.753
And persistence is disabled 0.381
But a Tails persistence partition exists on USB drive "__internal" 10.127
After features/support/hooks.rb:326 1.413
After features/support/hooks.rb:100 0.000
Tags: @product
3:10.231
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 11.852
Then Tails is running from USB drive "__internal" 0.555
When I create a file in the Persistent directory 0.318
And I create a persistent partition with the default settings 26.896
Then the file I created was copied to the Persistent Storage 0.778
When I shutdown Tails and wait for the computer to power off 12.724
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.072
Then persistence for "Persistent" is active 0.965
And the file I created in the Persistent directory exists 0.067
After features/support/hooks.rb:326 1.266
After features/support/hooks.rb:100 0.009
Tags: @product
1:1.551
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 11.775
And the system is very low on memory 4.715
When I create a file in the Persistent directory 0.974
When I try to create a persistent partition 26.549
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.190
When I close the Persistent Storage app 2.613
And I free up some memory 1.632
And I create a persistent partition with the default settings 12.823
Then the file I created was copied to the Persistent Storage 0.276
After features/support/hooks.rb:326 0.986
After features/support/hooks.rb:100 0.000
Tags: @product
2:54.821
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.971
Then Tails is running from USB drive "__internal" 0.536
And all tps features are active 2.187
And all persistent directories have safe access rights 2.400
When I disable the first tps feature 5.840
Then all tps features but the first one are active 2.103
And I shutdown Tails and wait for the computer to power off 11.363
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.336
Then all tps features but the first one are active 2.080
After features/support/hooks.rb:326 0.995
After features/support/hooks.rb:100 0.008
Tags: @product
20.485
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.003
Then persistence for "Persistent" is active 0.094
And I create a file in the Persistent directory 0.091
Then the file I created was copied to the Persistent Storage 0.097
When I disable the first tps feature 5.968
Then persistence for "Persistent" is not active 0.157
And the Persistent directory does not exist 0.068
When I enable the first tps feature 3.783
Then persistence for "Persistent" is active 0.130
And the file I created in the Persistent directory exists 0.089
After features/support/hooks.rb:326 0.789
After features/support/hooks.rb:100 0.000
Tags: @product
20.299
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.180
Then persistence for "Persistent" is active 0.082
When I create a file in the Persistent directory 0.092
And I disable the first tps feature 5.712
And I delete the data of the Persistent Folder feature 4.119
Then the file I created does not exist on the Persistent Storage 0.111
After features/support/hooks.rb:326 1.071
After features/support/hooks.rb:100 0.000
Tags: @product
1:11.267
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.964
And the network is plugged 0.105
And Tor is ready 22.644
And I take note of which tps features are available 0.628
When I write some files expected to persist 1.552
And I shutdown Tails and wait for the computer to power off 11.622
# 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.748
After features/support/hooks.rb:326 0.123
After features/support/hooks.rb:100 0.000
Tags: @product
3:10.039
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.565
And the network is plugged 0.086
And Tor is ready 19.638
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.247
And I shutdown Tails and wait for the computer to power off 8.825
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.701
And I capture all network traffic 0.010
And the network is plugged 0.090
And Tor is ready 19.235
And I switch to the "persistent-con-current" NetworkManager connection 0.405
And the 1st network device has a spoofed MAC address configured 0.096
And no network device leaked the real MAC address 0.136
After features/support/hooks.rb:326 1.183
After features/support/hooks.rb:100 0.070
Tags: @product
1:1.126
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 13.132
And I enable persistence creation in Tails Greeter 1.217
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.151
Then I create a persistent partition with the default settings using the wizard that was already open 25.624
After features/support/hooks.rb:326 1.728
After features/support/hooks.rb:100 0.000
Tags: @product
4:55.024
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 15.303
When I enable persistence 39.950
Then no persistent Greeter options were restored 14.573
When I set all Greeter options to non-default values 26.264
And I log in to a new session in German (de) after having activated the Persistent Storage 1:2.119
Then all Greeter options are set to non-default values 0.668
When I cold reboot the computer 7.564
And the computer reboots Tails 1:2.435
Given I enable persistence 19.868
Then persistent Greeter options were restored 0.612
When I log in to a new session after having activated the Persistent Storage 45.059
Then all Greeter options are set to non-default values 0.602
After features/support/hooks.rb:326 1.295
After features/support/hooks.rb:100 0.031
Tags: @product
3:38.195
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.882
# 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 31.757
And I shutdown Tails and wait for the computer to power off 12.748
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:14.495
And I change the passphrase of the Persistent Storage back to the original 27.312
After features/support/hooks.rb:326 2.276
After features/support/hooks.rb:100 0.010
Tags: @product
56.898
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.848
And I log in to a new session without activating the Persistent Storage 20.787
Then persistence is disabled 0.513
But a Tails persistence partition exists on USB drive "__internal" 9.370
And all notifications have disappeared 9.757
When I delete the persistent partition 6.147
Then there is no persistence partition on USB drive "__internal" 0.473
After features/support/hooks.rb:326 0.751
After features/support/hooks.rb:100 0.000
Tags: @product
2:44.276
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.214
When I write some dotfile expected to persist 0.051
And I shutdown Tails and wait for the computer to power off 9.071
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:24.581
Then the expected persistent dotfile is present in the filesystem 0.358
After features/support/hooks.rb:326 1.164
After features/support/hooks.rb:100 0.010
Tags: @product
1:45.975
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 8.931
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.101
When I try to enable persistence 0.272
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 32.129
When I log in to a new session after having activated the Persistent Storage 46.406
And all notifications have disappeared 9.602
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.626
And all tps features are enabled 2.532
And all tps features but the first one are active 2.372
After features/support/hooks.rb:326 1.242
After features/support/hooks.rb:100 0.000
Tags: @product
5:14.744
Before features/support/hooks.rb:269 0.008
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:50.266
And I enable persistence 41.430
And I log in to a new session after having activated the Persistent Storage 36.868
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.760
And persistence is enabled 2.418
After features/support/hooks.rb:326 1.025
After features/support/hooks.rb:100 0.000
Tags: @product
30.666
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.339
And I enable persistence but something goes wrong during the LUKS header upgrade 21.489
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.837
After features/support/hooks.rb:326 1.006
After features/support/hooks.rb:100 0.000
Tags: @product
47.819
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.083
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.189
When I enable persistence 29.760
Then the filesystem of the Persistent Storage was repaired 0.076
And persistence is successfully enabled 2.709
After features/support/hooks.rb:326 1.255
After features/support/hooks.rb:100 0.000
Tags: @product
27.473
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.177
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.052
When I try to enable persistence 0.397
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.583
When I repair the filesystem of the Persistent Storage 1.249
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.237
And the filesystem of the Persistent Storage was repaired 0.071
When I close the filesystem repair dialog 1.260
Then persistence is successfully enabled 1.444
After features/support/hooks.rb:326 1.157
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:47.218
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.981
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.118
When I try to enable persistence 0.292
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.232
When I repair the filesystem of the Persistent Storage 1.443
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.075
When I log in to a new session 36.794
And all notifications have disappeared 7.488
# 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" 1.499
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.183
When I close the "whisperback" window 1.674
Then the Tor Browser starts 17.492
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.941
After features/support/hooks.rb:326 4.452
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:15.444
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 9.010
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.839
And Tails detects disk read failures on the boot device 1.566
When I try to enable persistence 0.416
Then the Welcome Screen tells me that my hardware is probably failing 6.265
When I log in to a new session 20.895
And all notifications have disappeared 7.336
Then the Tor Browser starts 23.174
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.938
After features/support/hooks.rb:326 2.226
After features/support/hooks.rb:100 0.000