Project Number Date
test_Tails_ISO_20263-remote-shell-debug-logging 26 26 Mar 2025, 22:31

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:2.901 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:45.002
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.012
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:34.650
And I update APT using apt 43.759
And I install "python3-behave" using apt 23.007
Then the Tails Persistent Storage behave tests pass 3.584
After features/support/hooks.rb:330 0.735
After features/support/hooks.rb:100 0.000
Tags: @product
45.406
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 12.908
When I log in to a new session without activating the Persistent Storage 24.135
Then Tails is running from USB drive "__internal" 0.518
And persistence is disabled 0.281
But a Tails persistence partition exists on USB drive "__internal" 7.561
After features/support/hooks.rb:330 1.029
After features/support/hooks.rb:100 0.000
Tags: @product
3:9.375
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 13.042
Then Tails is running from USB drive "__internal" 0.404
When I create a file in the Persistent directory 0.129
And I create a persistent partition with the default settings 23.414
Then the file I created was copied to the Persistent Storage 2.643
When I shutdown Tails and wait for the computer to power off 10.958
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.366
Then persistence for "Persistent" is active 0.341
And the file I created in the Persistent directory exists 0.076
After features/support/hooks.rb:330 0.937
After features/support/hooks.rb:100 0.009
Tags: @product
1:8.578
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.045
And the system is very low on memory 4.341
When I create a file in the Persistent directory 0.953
When I try to create a persistent partition 30.319
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.696
When I close the Persistent Storage app 3.063
And I free up some memory 4.110
And I create a persistent partition with the default settings 13.538
Then the file I created was copied to the Persistent Storage 0.510
After features/support/hooks.rb:330 2.056
After features/support/hooks.rb:100 0.000
Tags: @product
2:51.207
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 13.662
Then Tails is running from USB drive "__internal" 0.464
And all tps features are active 2.197
And all persistent directories have safe access rights 2.691
When I disable the first tps feature 6.132
Then all tps features but the first one are active 2.209
And I shutdown Tails and wait for the computer to power off 13.109
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.643
Then all tps features but the first one are active 2.095
After features/support/hooks.rb:330 0.580
After features/support/hooks.rb:100 0.011
Tags: @product
20.463
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.332
Then persistence for "Persistent" is active 0.134
And I create a file in the Persistent directory 0.090
Then the file I created was copied to the Persistent Storage 0.082
When I disable the first tps feature 6.198
Then persistence for "Persistent" is not active 0.088
And the Persistent directory does not exist 0.051
When I enable the first tps feature 3.330
Then persistence for "Persistent" is active 0.080
And the file I created in the Persistent directory exists 0.074
After features/support/hooks.rb:330 1.084
After features/support/hooks.rb:100 0.000
Tags: @product
20.009
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.678
Then persistence for "Persistent" is active 0.101
When I create a file in the Persistent directory 0.089
And I disable the first tps feature 6.043
And I delete the data of the Persistent Folder feature 4.035
Then the file I created does not exist on the Persistent Storage 0.061
After features/support/hooks.rb:330 1.083
After features/support/hooks.rb:100 0.000
Tags: @product
1:4.357
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.669
And the network is plugged 0.157
And Tor is ready 19.240
And I take note of which tps features are available 0.564
When I write some files expected to persist 1.518
And I shutdown Tails and wait for the computer to power off 8.706
# 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.500
After features/support/hooks.rb:330 0.161
After features/support/hooks.rb:100 0.000
Tags: @product
3:9.312
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.892
And the network is plugged 0.065
And Tor is ready 19.621
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.294
And I shutdown Tails and wait for the computer to power off 8.795
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.217
And I capture all network traffic 0.007
And the network is plugged 0.073
And Tor is ready 21.691
And I switch to the "persistent-con-current" NetworkManager connection 0.376
And the 1st network device has a spoofed MAC address configured 0.117
And no network device leaked the real MAC address 0.160
After features/support/hooks.rb:330 0.671
After features/support/hooks.rb:100 0.043
Tags: @product
58.608
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.696
And I enable persistence creation in Tails Greeter 1.208
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.222
Then I create a persistent partition with the default settings using the wizard that was already open 23.480
After features/support/hooks.rb:330 2.585
After features/support/hooks.rb:100 0.000
Tags: @product
4:33.517
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.854
When I enable persistence 36.239
Then no persistent Greeter options were restored 13.797
When I set all Greeter options to non-default values 27.497
And I log in to a new session in German (de) after having activated the Persistent Storage 50.917
Then all Greeter options are set to non-default values 0.569
When I cold reboot the computer 7.344
And the computer reboots Tails 1:5.241
Given I enable persistence 19.012
Then persistent Greeter options were restored 0.728
When I log in to a new session after having activated the Persistent Storage 39.511
Then all Greeter options are set to non-default values 0.802
After features/support/hooks.rb:330 1.557
After features/support/hooks.rb:100 0.010
Tags: @product
3:43.262
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.191
# 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.519
And I shutdown Tails and wait for the computer to power off 15.008
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:11.703
And I change the passphrase of the Persistent Storage back to the original 32.839
After features/support/hooks.rb:330 3.623
After features/support/hooks.rb:100 0.009
Tags: @product
57.625
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 10.036
And I log in to a new session without activating the Persistent Storage 21.460
Then persistence is disabled 0.303
But a Tails persistence partition exists on USB drive "__internal" 6.998
And all notifications have disappeared 10.345
When I delete the persistent partition 7.547
Then there is no persistence partition on USB drive "__internal" 0.933
After features/support/hooks.rb:330 0.725
After features/support/hooks.rb:100 0.000
Tags: @product
2:30.561
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.412
When I write some dotfile expected to persist 0.127
And I shutdown Tails and wait for the computer to power off 10.724
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.912
Then the expected persistent dotfile is present in the filesystem 0.384
After features/support/hooks.rb:330 1.086
After features/support/hooks.rb:100 0.022
Tags: @product
1:42.936
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.014
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.081
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.072
When I try to enable persistence 0.326
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.412
When I log in to a new session after having activated the Persistent Storage 45.927
And all notifications have disappeared 8.659
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.971
And all tps features are enabled 2.544
And all tps features but the first one are active 1.940
After features/support/hooks.rb:330 1.134
After features/support/hooks.rb:100 0.000
Tags: @product
5:10.228
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 3:47.329
And I enable persistence 30.679
And I log in to a new session after having activated the Persistent Storage 47.606
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.866
And persistence is enabled 2.747
After features/support/hooks.rb:330 1.645
After features/support/hooks.rb:100 0.000
Tags: @product
30.766
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.676
And I enable persistence but something goes wrong during the LUKS header upgrade 20.259
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.829
After features/support/hooks.rb:330 0.664
After features/support/hooks.rb:100 0.000
Tags: @product
50.076
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.089
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.399
When I enable persistence 32.267
Then the filesystem of the Persistent Storage was repaired 0.100
And persistence is successfully enabled 3.220
After features/support/hooks.rb:330 1.461
After features/support/hooks.rb:100 0.000
Tags: @product
50.142
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.890
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.037
When I try to enable persistence 0.478
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.384
When I repair the filesystem of the Persistent Storage 1.362
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.033
And the filesystem of the Persistent Storage was repaired 3.105
When I close the filesystem repair dialog 1.280
Then persistence is successfully enabled 1.569
After features/support/hooks.rb:330 1.028
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:49.206
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.824
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.103
When I try to enable persistence 0.371
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.174
When I repair the filesystem of the Persistent Storage 1.772
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.146
When I log in to a new session 42.276
And all notifications have disappeared 11.022
# 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.391
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.815
When I close the "whisperback" window 1.854
Then the Tor Browser starts 15.439
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.013
After features/support/hooks.rb:330 2.085
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:52.255
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.847
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.598
And Tails detects disk read failures on the boot device 1.652
When I try to enable persistence 0.604
Then the Welcome Screen tells me that my hardware is probably failing 18.861
When I log in to a new session 50.670
And all notifications have disappeared 7.902
Then the Tor Browser starts 17.250
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.866
After features/support/hooks.rb:330 1.965
After features/support/hooks.rb:100 0.000