Project Number Date
test_Tails_ISO_20263-remote-shell-debug-logging 19 19 Mar 2025, 22:03

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:20.757 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
5:10.441
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:30.749
And I update APT using apt 2:13.287
And I install "python3-behave" using apt 1:23.975
Then the Tails Persistent Storage behave tests pass 2.429
After features/support/hooks.rb:330 0.591
After features/support/hooks.rb:100 0.000
Tags: @product
40.200
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.611
When I log in to a new session without activating the Persistent Storage 22.921
Then Tails is running from USB drive "__internal" 0.345
And persistence is disabled 0.297
But a Tails persistence partition exists on USB drive "__internal" 6.023
After features/support/hooks.rb:330 1.336
After features/support/hooks.rb:100 0.000
Tags: @product
2:59.020
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 12.571
Then Tails is running from USB drive "__internal" 0.332
When I create a file in the Persistent directory 0.119
And I create a persistent partition with the default settings 22.763
Then the file I created was copied to the Persistent Storage 0.573
When I shutdown Tails and wait for the computer to power off 12.426
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.815
Then persistence for "Persistent" is active 0.349
And the file I created in the Persistent directory exists 0.069
After features/support/hooks.rb:330 1.959
After features/support/hooks.rb:100 0.008
Tags: @product
1:14.239
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.513
And the system is very low on memory 3.252
When I create a file in the Persistent directory 1.173
When I try to create a persistent partition 27.809
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 1.106
When I close the Persistent Storage app 13.942
And I free up some memory 1.631
And I create a persistent partition with the default settings 14.588
Then the file I created was copied to the Persistent Storage 0.221
After features/support/hooks.rb:330 2.179
After features/support/hooks.rb:100 0.000
Tags: @product
2:56.545
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 12.197
Then Tails is running from USB drive "__internal" 0.499
And all tps features are active 2.167
And all persistent directories have safe access rights 2.491
When I disable the first tps feature 5.472
Then all tps features but the first one are active 1.899
And I shutdown Tails and wait for the computer to power off 14.697
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.926
Then all tps features but the first one are active 2.194
After features/support/hooks.rb:330 1.541
After features/support/hooks.rb:100 0.008
Tags: @product
19.412
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.009
Then persistence for "Persistent" is active 0.085
And I create a file in the Persistent directory 0.075
Then the file I created was copied to the Persistent Storage 0.068
When I disable the first tps feature 5.521
Then persistence for "Persistent" is not active 0.076
And the Persistent directory does not exist 0.057
When I enable the first tps feature 3.298
Then persistence for "Persistent" is active 0.106
And the file I created in the Persistent directory exists 0.111
After features/support/hooks.rb:330 0.926
After features/support/hooks.rb:100 0.000
Tags: @product
21.068
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.462
Then persistence for "Persistent" is active 0.103
When I create a file in the Persistent directory 0.060
And I disable the first tps feature 7.315
And I delete the data of the Persistent Folder feature 4.036
Then the file I created does not exist on the Persistent Storage 0.089
After features/support/hooks.rb:330 1.192
After features/support/hooks.rb:100 0.000
Tags: @product
1:4.018
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.338
And the network is plugged 0.076
And Tor is ready 19.718
And I take note of which tps features are available 0.616
When I write some files expected to persist 1.377
And I shutdown Tails and wait for the computer to power off 8.775
# 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.115
After features/support/hooks.rb:330 0.115
After features/support/hooks.rb:100 0.000
Tags: @product
3:5.525
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.336
And the network is plugged 0.078
And Tor is ready 21.637
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.220
And I shutdown Tails and wait for the computer to power off 8.518
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.638
And I capture all network traffic 0.014
And the network is plugged 0.098
And Tor is ready 17.296
And I switch to the "persistent-con-current" NetworkManager connection 0.492
And the 1st network device has a spoofed MAC address configured 0.066
And no network device leaked the real MAC address 0.126
After features/support/hooks.rb:330 0.863
After features/support/hooks.rb:100 0.044
Tags: @product
54.338
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.147
And I enable persistence creation in Tails Greeter 1.211
And I log in to a new session expecting no warning about the Persistent Storage not being activated 19.762
Then I create a persistent partition with the default settings using the wizard that was already open 22.216
After features/support/hooks.rb:330 2.340
After features/support/hooks.rb:100 0.000
Tags: @product
4:11.778
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.921
When I enable persistence 33.174
Then no persistent Greeter options were restored 14.236
When I set all Greeter options to non-default values 24.836
And I log in to a new session in German (de) after having activated the Persistent Storage 45.094
Then all Greeter options are set to non-default values 0.567
When I cold reboot the computer 7.180
And the computer reboots Tails 59.782
Given I enable persistence 17.548
Then persistent Greeter options were restored 0.693
When I log in to a new session after having activated the Persistent Storage 37.160
Then all Greeter options are set to non-default values 0.581
After features/support/hooks.rb:330 2.002
After features/support/hooks.rb:100 0.009
Tags: @product
3:25.955
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.782
# 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.131
And I shutdown Tails and wait for the computer to power off 12.391
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:58.810
And I change the passphrase of the Persistent Storage back to the original 33.839
After features/support/hooks.rb:330 2.243
After features/support/hooks.rb:100 0.009
Tags: @product
49.979
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.635
And I log in to a new session without activating the Persistent Storage 18.672
Then persistence is disabled 0.222
But a Tails persistence partition exists on USB drive "__internal" 6.822
And all notifications have disappeared 8.111
When I delete the persistent partition 6.106
Then there is no persistence partition on USB drive "__internal" 0.408
After features/support/hooks.rb:330 1.184
After features/support/hooks.rb:100 0.000
Tags: @product
2:24.170
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.442
When I write some dotfile expected to persist 0.193
And I shutdown Tails and wait for the computer to power off 8.562
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.592
Then the expected persistent dotfile is present in the filesystem 0.378
After features/support/hooks.rb:330 1.289
After features/support/hooks.rb:100 0.009
Tags: @product
1:31.280
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.179
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.082
When I try to enable persistence 0.332
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 28.649
When I log in to a new session after having activated the Persistent Storage 35.775
And all notifications have disappeared 8.713
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.956
And all tps features are enabled 2.253
And all tps features but the first one are active 2.337
After features/support/hooks.rb:330 1.468
After features/support/hooks.rb:100 0.000
Tags: @product
4:39.161
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:20.521
And I enable persistence 28.765
And I log in to a new session after having activated the Persistent Storage 43.729
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.386
And persistence is enabled 2.758
After features/support/hooks.rb:330 1.329
After features/support/hooks.rb:100 0.000
Tags: @product
30.520
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 8.301
And I enable persistence but something goes wrong during the LUKS header upgrade 21.474
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.744
After features/support/hooks.rb:330 0.767
After features/support/hooks.rb:100 0.000
Tags: @product
40.807
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.595
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.336
When I enable persistence 24.094
Then the filesystem of the Persistent Storage was repaired 0.085
And persistence is successfully enabled 2.694
After features/support/hooks.rb:330 1.446
After features/support/hooks.rb:100 0.000
Tags: @product
46.553
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.291
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.892
When I try to enable persistence 0.495
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 23.824
When I repair the filesystem of the Persistent Storage 1.337
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.383
And the filesystem of the Persistent Storage was repaired 1.197
When I close the filesystem repair dialog 1.550
Then persistence is successfully enabled 1.579
After features/support/hooks.rb:330 1.248
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:46.880
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.687
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.090
When I try to enable persistence 0.326
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 24.842
When I repair the filesystem of the Persistent Storage 1.335
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.136
When I log in to a new session 43.049
And all notifications have disappeared 8.730
# 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.738
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.303
When I close the "whisperback" window 2.046
Then the Tor Browser starts 15.772
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.821
After features/support/hooks.rb:330 2.081
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:48.860
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.078
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.353
And Tails detects disk read failures on the boot device 1.598
When I try to enable persistence 0.534
Then the Welcome Screen tells me that my hardware is probably failing 16.961
When I log in to a new session 44.849
And all notifications have disappeared 8.913
Then the Tor Browser starts 21.735
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.834
After features/support/hooks.rb:330 2.171
After features/support/hooks.rb:100 0.000