Project Number Date
test_Tails_ISO_20634-greeter-tps-upgrade-failure-fix 14 02 Nov 2024, 17: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 41:17.324 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:14.324
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:33.221
And I update APT using apt 13.332
And I install "python3-behave" using apt 25.585
Then the Tails Persistent Storage behave tests pass 2.185
After features/support/hooks.rb:326 0.876
After features/support/hooks.rb:100 0.000
Tags: @product
52.186
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 14.963
When I log in to a new session without activating the Persistent Storage 25.727
Then Tails is running from USB drive "__internal" 0.792
And persistence is disabled 0.530
But a Tails persistence partition exists on USB drive "__internal" 10.172
After features/support/hooks.rb:326 0.932
After features/support/hooks.rb:100 0.000
Tags: @product
3:4.436
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 10.996
Then Tails is running from USB drive "__internal" 0.426
When I create a file in the Persistent directory 0.130
And I create a persistent partition with the default settings 23.707
Then the file I created was copied to the Persistent Storage 0.638
When I shutdown Tails and wait for the computer to power off 10.689
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.379
Then persistence for "Persistent" is active 0.392
And the file I created in the Persistent directory exists 0.075
After features/support/hooks.rb:326 0.744
After features/support/hooks.rb:100 0.008
Tags: @product
1:7.047
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 11.547
And the system is very low on memory 4.635
When I create a file in the Persistent directory 2.056
When I try to create a persistent partition 31.198
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.371
When I close the Persistent Storage app 2.724
And I free up some memory 1.666
And I create a persistent partition with the default settings 12.587
Then the file I created was copied to the Persistent Storage 0.261
After features/support/hooks.rb:326 1.461
After features/support/hooks.rb:100 0.000
Tags: @product
2:52.936
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 15.669
Then Tails is running from USB drive "__internal" 0.414
And all tps features are active 2.120
And all persistent directories have safe access rights 2.417
When I disable the first tps feature 5.996
Then all tps features but the first one are active 2.179
And I shutdown Tails and wait for the computer to power off 8.512
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.328
Then all tps features but the first one are active 2.299
After features/support/hooks.rb:326 0.733
After features/support/hooks.rb:100 0.007
Tags: @product
21.170
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.748
Then persistence for "Persistent" is active 0.113
And I create a file in the Persistent directory 0.079
Then the file I created was copied to the Persistent Storage 0.085
When I disable the first tps feature 5.690
Then persistence for "Persistent" is not active 0.138
And the Persistent directory does not exist 0.058
When I enable the first tps feature 3.107
Then persistence for "Persistent" is active 0.077
And the file I created in the Persistent directory exists 0.071
After features/support/hooks.rb:326 0.860
After features/support/hooks.rb:100 0.000
Tags: @product
19.726
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.056
Then persistence for "Persistent" is active 0.097
When I create a file in the Persistent directory 0.079
And I disable the first tps feature 5.780
And I delete the data of the Persistent Folder feature 3.646
Then the file I created does not exist on the Persistent Storage 0.066
After features/support/hooks.rb:326 0.911
After features/support/hooks.rb:100 0.000
Tags: @product
1:4.661
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.753
And the network is plugged 0.082
And Tor is ready 19.297
And I take note of which tps features are available 0.645
When I write some files expected to persist 1.579
And I shutdown Tails and wait for the computer to power off 8.938
# 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.365
After features/support/hooks.rb:326 0.136
After features/support/hooks.rb:100 0.000
Tags: @product
3:3.753
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 8.697
And the network is plugged 0.096
And Tor is ready 20.089
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.221
And I shutdown Tails and wait for the computer to power off 8.444
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.482
And I capture all network traffic 0.005
And the network is plugged 0.079
And Tor is ready 19.066
And I switch to the "persistent-con-current" NetworkManager connection 0.357
And the 1st network device has a spoofed MAC address configured 0.070
And no network device leaked the real MAC address 0.140
After features/support/hooks.rb:326 0.584
After features/support/hooks.rb:100 0.046
Tags: @product
1:16.085
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 29.284
And I enable persistence creation in Tails Greeter 1.114
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.668
Then I create a persistent partition with the default settings using the wizard that was already open 24.018
After features/support/hooks.rb:326 1.768
After features/support/hooks.rb:100 0.000
Tags: @product
4:27.514
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 12.297
When I enable persistence 44.951
Then no persistent Greeter options were restored 14.281
When I set all Greeter options to non-default values 24.883
And I log in to a new session in German (de) after having activated the Persistent Storage 40.408
Then all Greeter options are set to non-default values 0.516
When I cold reboot the computer 7.618
And the computer reboots Tails 1:7.336
Given I enable persistence 17.917
Then persistent Greeter options were restored 0.556
When I log in to a new session after having activated the Persistent Storage 36.263
Then all Greeter options are set to non-default values 0.484
After features/support/hooks.rb:326 0.973
After features/support/hooks.rb:100 0.007
Tags: @product
3:54.704
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.650
# 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 34.700
And I shutdown Tails and wait for the computer to power off 12.534
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:16.796
And I change the passphrase of the Persistent Storage back to the original 40.022
After features/support/hooks.rb:326 2.343
After features/support/hooks.rb:100 0.007
Tags: @product
1:2.127
Before features/support/hooks.rb:269 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.010
And I log in to a new session without activating the Persistent Storage 23.039
Then persistence is disabled 0.476
But a Tails persistence partition exists on USB drive "__internal" 9.065
And all notifications have disappeared 11.304
When I delete the persistent partition 6.679
Then there is no persistence partition on USB drive "__internal" 0.551
After features/support/hooks.rb:326 1.180
After features/support/hooks.rb:100 0.000
Tags: @product
2:27.902
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.419
When I write some dotfile expected to persist 0.062
And I shutdown Tails and wait for the computer to power off 10.612
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.308
Then the expected persistent dotfile is present in the filesystem 0.500
After features/support/hooks.rb:326 0.986
After features/support/hooks.rb:100 0.008
Tags: @product
1:35.137
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.452
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.088
When I try to enable persistence 0.273
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 32.193
When I log in to a new session after having activated the Persistent Storage 36.523
And all notifications have disappeared 7.931
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.240
And all tps features are enabled 2.196
And all tps features but the first one are active 2.237
After features/support/hooks.rb:326 1.243
After features/support/hooks.rb:100 0.000
Tags: @product
5:21.557
Before features/support/hooks.rb:269 0.003
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:50.600
And I enable persistence 37.793
And I log in to a new session after having activated the Persistent Storage 46.301
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.785
And persistence is enabled 4.076
After features/support/hooks.rb:326 1.520
After features/support/hooks.rb:100 0.000
Tags: @product
32.920
Before features/support/hooks.rb:269 0.015
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 11.182
And I enable persistence but something goes wrong during the LUKS header upgrade 20.961
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.776
After features/support/hooks.rb:326 0.739
After features/support/hooks.rb:100 0.000
Tags: @product
53.576
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 10.574
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.202
When I enable persistence 34.946
Then the filesystem of the Persistent Storage was repaired 0.113
And persistence is successfully enabled 2.740
After features/support/hooks.rb:326 1.072
After features/support/hooks.rb:100 0.000
Tags: @product
50.493
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.712
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.934
When I try to enable persistence 0.450
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.377
When I repair the filesystem of the Persistent Storage 1.289
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.058
And the filesystem of the Persistent Storage was repaired 1.813
When I close the filesystem repair dialog 1.253
Then persistence is successfully enabled 1.604
After features/support/hooks.rb:326 0.892
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:4.120
Before features/support/hooks.rb:269 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.960
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.213
When I try to enable persistence 0.296
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 39.713
When I repair the filesystem of the Persistent Storage 1.290
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.465
When I log in to a new session 43.009
And all notifications have disappeared 9.057
# 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.356
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.342
When I close the "whisperback" window 1.671
Then the Tor Browser starts 17.859
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.883
After features/support/hooks.rb:326 1.704
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:50.940
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.345
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.986
And Tails detects disk read failures on the boot device 1.804
When I try to enable persistence 0.638
Then the Welcome Screen tells me that my hardware is probably failing 22.064
When I log in to a new session 42.341
And all notifications have disappeared 9.327
Then the Tor Browser starts 18.658
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.775
After features/support/hooks.rb:326 2.434
After features/support/hooks.rb:100 0.000