Project Number Date
test_Tails_ISO_20263-remote-shell-debug-logging 29 29 Mar 2025, 21:58

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 47:41.472 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
10:42.530
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:59.698
And I update APT using apt 6:16.766
And I install "python3-behave" using apt 2:23.152
Then the Tails Persistent Storage behave tests pass 2.913
After features/support/hooks.rb:330 0.764
After features/support/hooks.rb:100 0.000
Tags: @product
44.207
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.288
When I log in to a new session without activating the Persistent Storage 22.432
Then Tails is running from USB drive "__internal" 0.538
And persistence is disabled 0.446
But a Tails persistence partition exists on USB drive "__internal" 9.501
After features/support/hooks.rb:330 1.691
After features/support/hooks.rb:100 0.000
Tags: @product
3:7.960
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 12.488
Then Tails is running from USB drive "__internal" 0.458
When I create a file in the Persistent directory 0.177
And I create a persistent partition with the default settings 24.353
Then the file I created was copied to the Persistent Storage 2.000
When I shutdown Tails and wait for the computer to power off 12.337
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.759
Then persistence for "Persistent" is active 0.290
And the file I created in the Persistent directory exists 0.093
After features/support/hooks.rb:330 2.590
After features/support/hooks.rb:100 0.009
Tags: @product
1:0.401
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.418
And the system is very low on memory 3.960
When I create a file in the Persistent directory 1.348
When I try to create a persistent partition 24.876
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 2.917
And I free up some memory 3.246
And I create a persistent partition with the default settings 13.068
Then the file I created was copied to the Persistent Storage 0.252
After features/support/hooks.rb:330 2.164
After features/support/hooks.rb:100 0.000
Tags: @product
2:51.712
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.922
Then Tails is running from USB drive "__internal" 0.466
And all tps features are active 2.246
And all persistent directories have safe access rights 2.411
When I disable the first tps feature 5.897
Then all tps features but the first one are active 1.924
And I shutdown Tails and wait for the computer to power off 12.871
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.918
Then all tps features but the first one are active 2.053
After features/support/hooks.rb:330 0.807
After features/support/hooks.rb:100 0.009
Tags: @product
20.311
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.424
Then persistence for "Persistent" is active 0.081
And I create a file in the Persistent directory 0.281
Then the file I created was copied to the Persistent Storage 0.108
When I disable the first tps feature 6.200
Then persistence for "Persistent" is not active 0.077
And the Persistent directory does not exist 0.052
When I enable the first tps feature 2.959
Then persistence for "Persistent" is active 0.069
And the file I created in the Persistent directory exists 0.055
After features/support/hooks.rb:330 1.455
After features/support/hooks.rb:100 0.000
Tags: @product
20.135
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.781
Then persistence for "Persistent" is active 0.271
When I create a file in the Persistent directory 0.134
And I disable the first tps feature 5.938
And I delete the data of the Persistent Folder feature 3.957
Then the file I created does not exist on the Persistent Storage 0.052
After features/support/hooks.rb:330 1.537
After features/support/hooks.rb:100 0.000
Tags: @product
1:5.058
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.066
And the network is plugged 0.078
And Tor is ready 21.498
And I take note of which tps features are available 0.572
When I write some files expected to persist 1.423
And I shutdown Tails and wait for the computer to power off 8.518
# 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.901
After features/support/hooks.rb:330 0.139
After features/support/hooks.rb:100 0.000
Tags: @product
2:56.081
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.502
And the network is plugged 0.082
And Tor is ready 19.293
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.194
And I shutdown Tails and wait for the computer to power off 6.643
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:58.580
And I capture all network traffic 0.015
And the network is plugged 0.088
And Tor is ready 21.069
And I switch to the "persistent-con-current" NetworkManager connection 0.406
And the 1st network device has a spoofed MAC address configured 0.088
And no network device leaked the real MAC address 0.116
After features/support/hooks.rb:330 0.628
After features/support/hooks.rb:100 0.110
Tags: @product
54.663
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 13.129
And I enable persistence creation in Tails Greeter 1.180
And I log in to a new session expecting no warning about the Persistent Storage not being activated 19.435
Then I create a persistent partition with the default settings using the wizard that was already open 20.918
After features/support/hooks.rb:330 2.517
After features/support/hooks.rb:100 0.000
Tags: @product
4:21.186
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.991
When I enable persistence 34.764
Then no persistent Greeter options were restored 15.238
When I set all Greeter options to non-default values 24.818
And I log in to a new session in German (de) after having activated the Persistent Storage 48.246
Then all Greeter options are set to non-default values 0.504
When I cold reboot the computer 7.170
And the computer reboots Tails 1:3.273
Given I enable persistence 16.554
Then persistent Greeter options were restored 0.699
When I log in to a new session after having activated the Persistent Storage 38.222
Then all Greeter options are set to non-default values 0.702
After features/support/hooks.rb:330 1.404
After features/support/hooks.rb:100 0.009
Tags: @product
3:38.733
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.710
# 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 38.074
And I shutdown Tails and wait for the computer to power off 14.605
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:4.124
And I change the passphrase of the Persistent Storage back to the original 32.219
After features/support/hooks.rb:330 2.516
After features/support/hooks.rb:100 0.007
Tags: @product
58.335
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 and stopped at Tails Greeter's login screen 9.488
And I log in to a new session without activating the Persistent Storage 19.814
Then persistence is disabled 0.377
But a Tails persistence partition exists on USB drive "__internal" 8.650
And all notifications have disappeared 11.793
When I delete the persistent partition 7.246
Then there is no persistence partition on USB drive "__internal" 0.963
After features/support/hooks.rb:330 1.601
After features/support/hooks.rb:100 0.000
Tags: @product
2:27.075
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.799
When I write some dotfile expected to persist 0.086
And I shutdown Tails and wait for the computer to power off 8.429
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.418
Then the expected persistent dotfile is present in the filesystem 0.341
After features/support/hooks.rb:330 1.089
After features/support/hooks.rb:100 0.009
Tags: @product
1:39.590
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.867
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.077
When I try to enable persistence 0.339
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 28.984
When I log in to a new session after having activated the Persistent Storage 44.162
And all notifications have disappeared 8.519
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.078
And all tps features are enabled 2.646
And all tps features but the first one are active 1.916
After features/support/hooks.rb:330 1.458
After features/support/hooks.rb:100 0.000
Tags: @product
4:43.718
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:22.580
And I enable persistence 30.251
And I log in to a new session after having activated the Persistent Storage 44.845
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.184
And persistence is enabled 2.857
After features/support/hooks.rb:330 1.699
After features/support/hooks.rb:100 0.000
Tags: @product
27.278
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 8.121
And I enable persistence but something goes wrong during the LUKS header upgrade 18.431
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.726
After features/support/hooks.rb:330 0.747
After features/support/hooks.rb:100 0.000
Tags: @product
46.109
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.183
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.397
When I enable persistence 28.911
Then the filesystem of the Persistent Storage was repaired 0.077
And persistence is successfully enabled 2.539
After features/support/hooks.rb:330 1.417
After features/support/hooks.rb:100 0.000
Tags: @product
52.621
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 and stopped at Tails Greeter's login screen 8.581
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.788
When I try to enable persistence 0.480
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.380
When I repair the filesystem of the Persistent Storage 1.339
Then the Welcome Screen tells me that the filesystem was repaired successfully 4.184
And the filesystem of the Persistent Storage was repaired 3.070
When I close the filesystem repair dialog 1.289
Then persistence is successfully enabled 1.506
After features/support/hooks.rb:330 1.560
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:49.849
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.968
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.123
When I try to enable persistence 0.337
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.731
When I repair the filesystem of the Persistent Storage 1.353
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.140
When I log in to a new session 43.929
And all notifications have disappeared 7.561
# 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.731
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.241
When I close the "whisperback" window 1.955
Then the Tor Browser starts 17.857
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.919
After features/support/hooks.rb:330 1.783
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:53.909
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.038
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.808
And Tails detects disk read failures on the boot device 1.517
When I try to enable persistence 0.487
Then the Welcome Screen tells me that my hardware is probably failing 16.837
When I log in to a new session 51.130
And all notifications have disappeared 7.429
Then the Tor Browser starts 20.767
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.893
After features/support/hooks.rb:330 1.628
After features/support/hooks.rb:100 0.000