Project Number Date
test_Tails_ISO_20634-greeter-tps-upgrade-failure-fix 25 13 Nov 2024, 18:11

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 42:26.265 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:30.831
Before features/support/hooks.rb:269 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:48.891
And I update APT using apt 13.193
And I install "python3-behave" using apt 25.968
Then the Tails Persistent Storage behave tests pass 2.776
After features/support/hooks.rb:326 1.371
After features/support/hooks.rb:100 0.000
Tags: @product
47.965
Before features/support/hooks.rb:269 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.052
When I log in to a new session without activating the Persistent Storage 24.393
Then Tails is running from USB drive "__internal" 0.670
And persistence is disabled 0.391
But a Tails persistence partition exists on USB drive "__internal" 9.457
After features/support/hooks.rb:326 1.209
After features/support/hooks.rb:100 0.000
Tags: @product
3:30.882
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive without a persistent partition and logged in 31.698
Then Tails is running from USB drive "__internal" 0.462
When I create a file in the Persistent directory 0.289
And I create a persistent partition with the default settings 24.692
Then the file I created was copied to the Persistent Storage 0.693
When I shutdown Tails and wait for the computer to power off 14.777
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.702
Then persistence for "Persistent" is active 0.493
And the file I created in the Persistent directory exists 0.071
After features/support/hooks.rb:326 1.010
After features/support/hooks.rb:100 0.009
Tags: @product
1:1.363
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 10.633
And the system is very low on memory 5.356
When I create a file in the Persistent directory 1.282
When I try to create a persistent partition 26.420
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.336
When I close the Persistent Storage app 2.750
And I free up some memory 1.419
And I create a persistent partition with the default settings 12.891
Then the file I created was copied to the Persistent Storage 0.271
After features/support/hooks.rb:326 1.288
After features/support/hooks.rb:100 0.000
Tags: @product
2:46.536
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.289
Then Tails is running from USB drive "__internal" 0.386
And all tps features are active 2.476
And all persistent directories have safe access rights 2.793
When I disable the first tps feature 6.142
Then all tps features but the first one are active 2.297
And I shutdown Tails and wait for the computer to power off 11.265
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.541
Then all tps features but the first one are active 2.343
After features/support/hooks.rb:326 0.950
After features/support/hooks.rb:100 0.012
Tags: @product
20.797
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.694
Then persistence for "Persistent" is active 0.134
And I create a file in the Persistent directory 0.062
Then the file I created was copied to the Persistent Storage 0.069
When I disable the first tps feature 6.382
Then persistence for "Persistent" is not active 0.081
And the Persistent directory does not exist 0.057
When I enable the first tps feature 3.139
Then persistence for "Persistent" is active 0.100
And the file I created in the Persistent directory exists 0.073
After features/support/hooks.rb:326 0.853
After features/support/hooks.rb:100 0.000
Tags: @product
19.561
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.427
Then persistence for "Persistent" is active 0.132
When I create a file in the Persistent directory 0.127
And I disable the first tps feature 6.038
And I delete the data of the Persistent Folder feature 3.781
Then the file I created does not exist on the Persistent Storage 0.054
After features/support/hooks.rb:326 0.967
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.058
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.839
And the network is plugged 0.110
And Tor is ready 21.793
And I take note of which tps features are available 0.618
When I write some files expected to persist 1.542
And I shutdown Tails and wait for the computer to power off 8.710
# 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.444
After features/support/hooks.rb:326 0.145
After features/support/hooks.rb:100 0.000
Tags: @product
3:25.903
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.427
And the network is plugged 0.163
And Tor is ready 35.887
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.177
And I shutdown Tails and wait for the computer to power off 8.834
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.721
And I capture all network traffic 0.007
And the network is plugged 0.071
And Tor is ready 18.945
And I switch to the "persistent-con-current" NetworkManager connection 0.414
And the 1st network device has a spoofed MAC address configured 0.099
And no network device leaked the real MAC address 0.154
After features/support/hooks.rb:326 0.699
After features/support/hooks.rb:100 0.041
Tags: @product
59.460
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 13.758
And I enable persistence creation in Tails Greeter 1.325
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.884
Then I create a persistent partition with the default settings using the wizard that was already open 22.491
After features/support/hooks.rb:326 1.921
After features/support/hooks.rb:100 0.000
Tags: @product
4:28.900
Before features/support/hooks.rb:269 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 13.027
When I enable persistence 40.731
Then no persistent Greeter options were restored 14.116
When I set all Greeter options to non-default values 25.171
And I log in to a new session in German (de) after having activated the Persistent Storage 49.510
Then all Greeter options are set to non-default values 0.392
When I cold reboot the computer 8.046
And the computer reboots Tails 59.067
Given I enable persistence 19.176
Then persistent Greeter options were restored 0.549
When I log in to a new session after having activated the Persistent Storage 38.740
Then all Greeter options are set to non-default values 0.369
After features/support/hooks.rb:326 1.262
After features/support/hooks.rb:100 0.011
Tags: @product
3:43.961
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.500
# 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.290
And I shutdown Tails and wait for the computer to power off 12.496
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:8.723
And I change the passphrase of the Persistent Storage back to the original 38.950
After features/support/hooks.rb:326 2.688
After features/support/hooks.rb:100 0.013
Tags: @product
1:2.857
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.967
And I log in to a new session without activating the Persistent Storage 25.819
Then persistence is disabled 0.551
But a Tails persistence partition exists on USB drive "__internal" 9.133
And all notifications have disappeared 9.901
When I delete the persistent partition 6.047
Then there is no persistence partition on USB drive "__internal" 0.436
After features/support/hooks.rb:326 1.040
After features/support/hooks.rb:100 0.000
Tags: @product
2:45.013
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.726
When I write some dotfile expected to persist 0.078
And I shutdown Tails and wait for the computer to power off 8.851
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:25.834
Then the expected persistent dotfile is present in the filesystem 0.522
After features/support/hooks.rb:326 0.799
After features/support/hooks.rb:100 0.012
Tags: @product
1:34.751
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.503
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.090
When I try to enable persistence 0.317
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.956
When I log in to a new session after having activated the Persistent Storage 34.031
And all notifications have disappeared 8.932
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.083
And all tps features are enabled 2.267
And all tps features but the first one are active 2.569
After features/support/hooks.rb:326 1.421
After features/support/hooks.rb:100 0.000
Tags: @product
6:1.124
Before features/support/hooks.rb:269 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 4:41.837
And I enable persistence 33.700
And I log in to a new session after having activated the Persistent Storage 40.292
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.546
And persistence is enabled 2.746
After features/support/hooks.rb:326 1.231
After features/support/hooks.rb:100 0.000
Tags: @product
34.608
Before features/support/hooks.rb:269 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 9.169
And I enable persistence but something goes wrong during the LUKS header upgrade 24.560
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.878
After features/support/hooks.rb:326 0.972
After features/support/hooks.rb:100 0.000
Tags: @product
52.221
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.601
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.782
When I enable persistence 34.075
Then the filesystem of the Persistent Storage was repaired 0.084
And persistence is successfully enabled 2.678
After features/support/hooks.rb:326 1.176
After features/support/hooks.rb:100 0.000
Tags: @product
47.047
Before features/support/hooks.rb:269 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.374
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.494
When I try to enable persistence 0.404
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 21.877
When I repair the filesystem of the Persistent Storage 1.441
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.671
And the filesystem of the Persistent Storage was repaired 1.141
When I close the filesystem repair dialog 1.971
Then persistence is successfully enabled 1.672
After features/support/hooks.rb:326 1.307
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:44.385
Before features/support/hooks.rb:269 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.689
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.125
When I try to enable persistence 0.429
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 35.907
When I repair the filesystem of the Persistent Storage 1.524
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.082
When I log in to a new session 30.287
And all notifications have disappeared 8.815
# 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" 1.158
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.678
When I close the "whisperback" window 1.492
Then the Tor Browser starts 13.581
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.611
After features/support/hooks.rb:326 2.576
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:1.032
Before features/support/hooks.rb:269 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.077
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.286
And Tails detects disk read failures on the boot device 0.590
When I try to enable persistence 0.463
Then the Welcome Screen tells me that my hardware is probably failing 24.255
When I log in to a new session 50.688
And all notifications have disappeared 8.520
Then the Tor Browser starts 19.234
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.916
After features/support/hooks.rb:326 2.751
After features/support/hooks.rb:100 0.000