Project Number Date
test_Tails_ISO_20263-remote-shell-debug-logging 33 02 Apr 2025, 22:15

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:45.272 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:31.461
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.405
And I update APT using apt 1:33.226
And I install "python3-behave" using apt 23.058
Then the Tails Persistent Storage behave tests pass 4.770
After features/support/hooks.rb:330 0.664
After features/support/hooks.rb:100 0.000
Tags: @product
46.474
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 13.108
When I log in to a new session without activating the Persistent Storage 21.695
Then Tails is running from USB drive "__internal" 0.665
And persistence is disabled 0.663
But a Tails persistence partition exists on USB drive "__internal" 10.340
After features/support/hooks.rb:330 2.321
After features/support/hooks.rb:100 0.000
Tags: @product
3:6.227
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 without a persistent partition and logged in 11.769
Then Tails is running from USB drive "__internal" 0.602
When I create a file in the Persistent directory 0.136
And I create a persistent partition with the default settings 21.794
Then the file I created was copied to the Persistent Storage 1.839
When I shutdown Tails and wait for the computer to power off 12.335
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.186
Then persistence for "Persistent" is active 0.499
And the file I created in the Persistent directory exists 0.062
After features/support/hooks.rb:330 1.783
After features/support/hooks.rb:100 0.008
Tags: @product
1:5.405
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.488
And the system is very low on memory 3.067
When I create a file in the Persistent directory 1.736
When I try to create a persistent partition 28.606
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.720
When I close the Persistent Storage app 3.422
And I free up some memory 3.083
And I create a persistent partition with the default settings 13.594
Then the file I created was copied to the Persistent Storage 0.686
After features/support/hooks.rb:330 2.267
After features/support/hooks.rb:100 0.000
Tags: @product
2:51.967
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.220
Then Tails is running from USB drive "__internal" 0.683
And all tps features are active 2.735
And all persistent directories have safe access rights 2.437
When I disable the first tps feature 6.589
Then all tps features but the first one are active 2.147
And I shutdown Tails and wait for the computer to power off 12.712
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.083
Then all tps features but the first one are active 4.358
After features/support/hooks.rb:330 1.377
After features/support/hooks.rb:100 0.009
Tags: @product
25.200
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 14.345
Then persistence for "Persistent" is active 0.091
And I create a file in the Persistent directory 0.071
Then the file I created was copied to the Persistent Storage 0.167
When I disable the first tps feature 6.579
Then persistence for "Persistent" is not active 0.100
And the Persistent directory does not exist 0.070
When I enable the first tps feature 3.569
Then persistence for "Persistent" is active 0.116
And the file I created in the Persistent directory exists 0.086
After features/support/hooks.rb:330 1.655
After features/support/hooks.rb:100 0.000
Tags: @product
22.190
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 persistent partition enabled and logged in 9.872
Then persistence for "Persistent" is active 0.255
When I create a file in the Persistent directory 0.144
And I disable the first tps feature 7.011
And I delete the data of the Persistent Folder feature 4.798
Then the file I created does not exist on the Persistent Storage 0.107
After features/support/hooks.rb:330 1.744
After features/support/hooks.rb:100 0.000
Tags: @product
1:14.990
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.016
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.541
And the network is plugged 0.077
And Tor is ready 22.408
And I take note of which tps features are available 0.689
When I write some files expected to persist 1.856
And I shutdown Tails and wait for the computer to power off 13.817
# 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" 25.600
After features/support/hooks.rb:330 0.165
After features/support/hooks.rb:100 0.000
Tags: @product
3:6.494
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.634
And the network is plugged 0.099
And Tor is ready 19.527
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.207
And I shutdown Tails and wait for the computer to power off 8.637
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.628
And I capture all network traffic 0.015
And the network is plugged 0.111
And Tor is ready 22.931
And I switch to the "persistent-con-current" NetworkManager connection 0.440
And the 1st network device has a spoofed MAC address configured 0.102
And no network device leaked the real MAC address 0.158
After features/support/hooks.rb:330 0.702
After features/support/hooks.rb:100 0.044
Tags: @product
1:10.223
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 stopped at Tails Greeter's login screen 18.073
And I enable persistence creation in Tails Greeter 1.212
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.772
Then I create a persistent partition with the default settings using the wizard that was already open 29.164
After features/support/hooks.rb:330 3.087
After features/support/hooks.rb:100 0.000
Tags: @product
4:26.122
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 15.512
When I enable persistence 40.365
Then no persistent Greeter options were restored 14.392
When I set all Greeter options to non-default values 28.196
And I log in to a new session in German (de) after having activated the Persistent Storage 42.380
Then all Greeter options are set to non-default values 0.749
When I cold reboot the computer 7.497
And the computer reboots Tails 1:2.397
Given I enable persistence 16.638
Then persistent Greeter options were restored 0.811
When I log in to a new session after having activated the Persistent Storage 36.491
Then all Greeter options are set to non-default values 0.689
After features/support/hooks.rb:330 1.701
After features/support/hooks.rb:100 0.010
Tags: @product
3:47.167
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 persistent partition enabled and logged in 10.084
# 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 32.458
And I shutdown Tails and wait for the computer to power off 12.518
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:14.941
And I change the passphrase of the Persistent Storage back to the original 37.163
After features/support/hooks.rb:330 3.476
After features/support/hooks.rb:100 0.008
Tags: @product
54.947
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.669
And I log in to a new session without activating the Persistent Storage 20.020
Then persistence is disabled 0.350
But a Tails persistence partition exists on USB drive "__internal" 10.121
And all notifications have disappeared 8.522
When I delete the persistent partition 5.524
Then there is no persistence partition on USB drive "__internal" 0.739
After features/support/hooks.rb:330 1.656
After features/support/hooks.rb:100 0.000
Tags: @product
2:23.970
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.112
When I write some dotfile expected to persist 0.080
And I shutdown Tails and wait for the computer to power off 10.790
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:3.550
Then the expected persistent dotfile is present in the filesystem 0.436
After features/support/hooks.rb:330 1.210
After features/support/hooks.rb:100 0.007
Tags: @product
1:35.434
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.044
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.085
When I try to enable persistence 0.348
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 28.611
When I log in to a new session after having activated the Persistent Storage 40.998
And all notifications have disappeared 8.067
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.979
And all tps features are enabled 2.338
And all tps features but the first one are active 1.962
After features/support/hooks.rb:330 1.675
After features/support/hooks.rb:100 0.000
Tags: @product
4:31.607
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 3:23.373
And I enable persistence 33.408
And I log in to a new session after having activated the Persistent Storage 30.091
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.199
And persistence is enabled 2.532
After features/support/hooks.rb:330 1.959
After features/support/hooks.rb:100 0.000
Tags: @product
41.035
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 8.870
And I enable persistence but something goes wrong during the LUKS header upgrade 31.395
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.769
After features/support/hooks.rb:330 1.070
After features/support/hooks.rb:100 0.000
Tags: @product
58.328
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 11.400
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.126
When I enable persistence 35.850
Then the filesystem of the Persistent Storage was repaired 0.127
And persistence is successfully enabled 5.823
After features/support/hooks.rb:330 1.952
After features/support/hooks.rb:100 0.000
Tags: @product
55.370
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 11.234
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.749
When I try to enable persistence 0.641
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.830
When I repair the filesystem of the Persistent Storage 2.050
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.008
And the filesystem of the Persistent Storage was repaired 3.509
When I close the filesystem repair dialog 1.466
Then persistence is successfully enabled 1.879
After features/support/hooks.rb:330 2.725
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:55.478
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.122
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.134
When I try to enable persistence 0.408
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.009
When I repair the filesystem of the Persistent Storage 1.360
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.196
When I log in to a new session 45.686
And all notifications have disappeared 9.860
# 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.412
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.909
When I close the "whisperback" window 2.007
Then the Tor Browser starts 16.541
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.828
After features/support/hooks.rb:330 3.540
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:55.173
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.940
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.341
And Tails detects disk read failures on the boot device 0.496
When I try to enable persistence 1.594
Then the Welcome Screen tells me that my hardware is probably failing 17.599
When I log in to a new session 48.512
And all notifications have disappeared 8.569
Then the Tor Browser starts 20.279
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.839
After features/support/hooks.rb:330 2.192
After features/support/hooks.rb:100 0.000