Project Number Date
test_Tails_ISO_20263-remote-shell-debug-logging 30 30 Mar 2025, 21:37

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:53.108 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
4:27.793
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:35.205
And I update APT using apt 1:25.252
And I install "python3-behave" using apt 1:24.871
Then the Tails Persistent Storage behave tests pass 2.464
After features/support/hooks.rb:330 0.714
After features/support/hooks.rb:100 0.000
Tags: @product
50.572
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 14.553
When I log in to a new session without activating the Persistent Storage 24.332
Then Tails is running from USB drive "__internal" 0.466
And persistence is disabled 0.368
But a Tails persistence partition exists on USB drive "__internal" 10.851
After features/support/hooks.rb:330 1.967
After features/support/hooks.rb:100 0.000
Tags: @product
3:21.930
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 23.553
Then Tails is running from USB drive "__internal" 1.150
When I create a file in the Persistent directory 0.211
And I create a persistent partition with the default settings 23.811
Then the file I created was copied to the Persistent Storage 2.357
When I shutdown Tails and wait for the computer to power off 12.476
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.895
Then persistence for "Persistent" is active 0.413
And the file I created in the Persistent directory exists 0.060
After features/support/hooks.rb:330 1.619
After features/support/hooks.rb:100 0.009
Tags: @product
1:5.159
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 10.858
And the system is very low on memory 3.611
When I create a file in the Persistent directory 1.196
When I try to create a persistent partition 28.023
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.313
When I close the Persistent Storage app 3.053
And I free up some memory 3.787
And I create a persistent partition with the default settings 14.034
Then the file I created was copied to the Persistent Storage 0.279
After features/support/hooks.rb:330 2.355
After features/support/hooks.rb:100 0.000
Tags: @product
2:46.774
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 11.525
Then Tails is running from USB drive "__internal" 0.544
And all tps features are active 2.188
And all persistent directories have safe access rights 2.382
When I disable the first tps feature 6.572
Then all tps features but the first one are active 2.100
And I shutdown Tails and wait for the computer to power off 12.764
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.661
Then all tps features but the first one are active 2.036
After features/support/hooks.rb:330 1.437
After features/support/hooks.rb:100 0.009
Tags: @product
20.696
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.503
Then persistence for "Persistent" is active 0.160
And I create a file in the Persistent directory 0.256
Then the file I created was copied to the Persistent Storage 0.107
When I disable the first tps feature 6.827
Then persistence for "Persistent" is not active 0.078
And the Persistent directory does not exist 0.050
When I enable the first tps feature 3.585
Then persistence for "Persistent" is active 0.065
And the file I created in the Persistent directory exists 0.061
After features/support/hooks.rb:330 1.353
After features/support/hooks.rb:100 0.000
Tags: @product
22.001
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.423
Then persistence for "Persistent" is active 0.106
When I create a file in the Persistent directory 0.097
And I disable the first tps feature 6.873
And I delete the data of the Persistent Folder feature 5.444
Then the file I created does not exist on the Persistent Storage 0.056
After features/support/hooks.rb:330 1.444
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.835
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.378
And the network is plugged 0.082
And Tor is ready 25.161
And I take note of which tps features are available 0.546
When I write some files expected to persist 1.442
And I shutdown Tails and wait for the computer to power off 8.262
# 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" 23.962
After features/support/hooks.rb:330 0.092
After features/support/hooks.rb:100 0.000
Tags: @product
3:12.258
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.668
And the network is plugged 0.078
And Tor is ready 23.873
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.212
And I shutdown Tails and wait for the computer to power off 8.634
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.191
And I capture all network traffic 0.006
And the network is plugged 0.085
And Tor is ready 19.903
And I switch to the "persistent-con-current" NetworkManager connection 0.368
And the 1st network device has a spoofed MAC address configured 0.109
And no network device leaked the real MAC address 0.126
After features/support/hooks.rb:330 0.851
After features/support/hooks.rb:100 0.061
Tags: @product
53.775
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 11.707
And I enable persistence creation in Tails Greeter 1.182
And I log in to a new session expecting no warning about the Persistent Storage not being activated 19.857
Then I create a persistent partition with the default settings using the wizard that was already open 21.027
After features/support/hooks.rb:330 2.389
After features/support/hooks.rb:100 0.000
Tags: @product
4:15.974
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 10.897
When I enable persistence 35.456
Then no persistent Greeter options were restored 14.300
When I set all Greeter options to non-default values 28.142
And I log in to a new session in German (de) after having activated the Persistent Storage 41.193
Then all Greeter options are set to non-default values 0.541
When I cold reboot the computer 7.078
And the computer reboots Tails 1:1.832
Given I enable persistence 17.372
Then persistent Greeter options were restored 0.739
When I log in to a new session after having activated the Persistent Storage 37.834
Then all Greeter options are set to non-default values 0.584
After features/support/hooks.rb:330 1.521
After features/support/hooks.rb:100 0.009
Tags: @product
3:44.736
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.771
# 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 35.129
And I shutdown Tails and wait for the computer to power off 14.502
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:14.496
And I change the passphrase of the Persistent Storage back to the original 30.836
After features/support/hooks.rb:330 2.809
After features/support/hooks.rb:100 0.009
Tags: @product
58.454
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.690
And I log in to a new session without activating the Persistent Storage 20.335
Then persistence is disabled 0.329
But a Tails persistence partition exists on USB drive "__internal" 11.430
And all notifications have disappeared 9.610
When I delete the persistent partition 5.937
Then there is no persistence partition on USB drive "__internal" 1.119
After features/support/hooks.rb:330 1.563
After features/support/hooks.rb:100 0.000
Tags: @product
2:28.837
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 enabled and logged in 9.258
When I write some dotfile expected to persist 0.205
And I shutdown Tails and wait for the computer to power off 10.547
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.369
Then the expected persistent dotfile is present in the filesystem 0.456
After features/support/hooks.rb:330 1.096
After features/support/hooks.rb:100 0.009
Tags: @product
1:36.078
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 9.135
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.102
When I try to enable persistence 0.383
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 27.304
When I log in to a new session after having activated the Persistent Storage 41.995
And all notifications have disappeared 8.638
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.801
And all tps features are enabled 2.679
And all tps features but the first one are active 2.037
After features/support/hooks.rb:330 2.671
After features/support/hooks.rb:100 0.000
Tags: @product
4:42.179
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:24.274
And I enable persistence 29.991
And I log in to a new session after having activated the Persistent Storage 43.552
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.852
And persistence is enabled 2.508
After features/support/hooks.rb:330 1.517
After features/support/hooks.rb:100 0.000
Tags: @product
27.769
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 8.373
And I enable persistence but something goes wrong during the LUKS header upgrade 18.630
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.765
After features/support/hooks.rb:330 0.762
After features/support/hooks.rb:100 0.000
Tags: @product
43.452
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 9.555
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.487
When I enable persistence 25.644
Then the filesystem of the Persistent Storage was repaired 0.086
And persistence is successfully enabled 2.679
After features/support/hooks.rb:330 1.567
After features/support/hooks.rb:100 0.000
Tags: @product
47.644
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 8.851
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.203
When I try to enable persistence 0.472
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.417
When I repair the filesystem of the Persistent Storage 1.309
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.957
And the filesystem of the Persistent Storage was repaired 2.757
When I close the filesystem repair dialog 1.325
Then persistence is successfully enabled 1.347
After features/support/hooks.rb:330 1.667
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:48.340
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 8.822
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.122
When I try to enable persistence 1.462
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.618
When I repair the filesystem of the Persistent Storage 1.268
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.144
When I log in to a new session 38.287
And all notifications have disappeared 10.731
# 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.439
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.778
When I close the "whisperback" window 1.623
Then the Tor Browser starts 15.859
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.179
After features/support/hooks.rb:330 1.855
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:49.843
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 8.513
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.412
And Tails detects disk read failures on the boot device 0.536
When I try to enable persistence 0.471
Then the Welcome Screen tells me that my hardware is probably failing 22.428
When I log in to a new session 47.341
And all notifications have disappeared 7.393
Then the Tor Browser starts 16.802
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.943
After features/support/hooks.rb:330 1.736
After features/support/hooks.rb:100 0.000