Project Number Date
test_Tails_ISO_20634-greeter-tps-upgrade-failure-fix 5 17 Dec 2024, 18:25

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 46:30.065 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:27.622
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:42.049
And I update APT using apt 16.448
And I install "python3-behave" using apt 25.768
Then the Tails Persistent Storage behave tests pass 3.356
After features/support/hooks.rb:326 0.635
After features/support/hooks.rb:100 0.000
Tags: @product
54.100
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 14.705
When I log in to a new session without activating the Persistent Storage 26.954
Then Tails is running from USB drive "__internal" 0.754
And persistence is disabled 0.292
But a Tails persistence partition exists on USB drive "__internal" 11.393
After features/support/hooks.rb:326 1.444
After features/support/hooks.rb:100 0.000
Tags: @product
3:41.916
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive without a persistent partition and logged in 13.866
Then Tails is running from USB drive "__internal" 1.054
When I create a file in the Persistent directory 0.143
And I create a persistent partition with the default settings 32.632
Then the file I created was copied to the Persistent Storage 0.672
When I shutdown Tails and wait for the computer to power off 15.891
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:36.965
Then persistence for "Persistent" is active 0.586
And the file I created in the Persistent directory exists 0.102
After features/support/hooks.rb:326 0.690
After features/support/hooks.rb:100 0.010
Tags: @product
1:16.045
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 26.810
And the system is very low on memory 6.214
When I create a file in the Persistent directory 2.015
When I try to create a persistent partition 22.198
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.259
When I close the Persistent Storage app 2.644
And I free up some memory 1.780
And I create a persistent partition with the default settings 13.824
Then the file I created was copied to the Persistent Storage 0.297
After features/support/hooks.rb:326 1.641
After features/support/hooks.rb:100 0.000
Tags: @product
3:42.453
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 19.254
Then Tails is running from USB drive "__internal" 0.865
And all tps features are active 2.722
And all persistent directories have safe access rights 2.727
When I disable the first tps feature 5.669
Then all tps features but the first one are active 2.620
And I shutdown Tails and wait for the computer to power off 13.797
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:48.662
Then all tps features but the first one are active 6.132
After features/support/hooks.rb:326 0.763
After features/support/hooks.rb:100 0.012
Tags: @product
22.179
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.076
Then persistence for "Persistent" is active 0.163
And I create a file in the Persistent directory 0.079
Then the file I created was copied to the Persistent Storage 0.158
When I disable the first tps feature 5.886
Then persistence for "Persistent" is not active 0.137
And the Persistent directory does not exist 0.100
When I enable the first tps feature 3.425
Then persistence for "Persistent" is active 0.076
And the file I created in the Persistent directory exists 0.074
After features/support/hooks.rb:326 0.842
After features/support/hooks.rb:100 0.000
Tags: @product
23.677
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.317
Then persistence for "Persistent" is active 0.100
When I create a file in the Persistent directory 0.086
And I disable the first tps feature 8.834
And I delete the data of the Persistent Folder feature 4.277
Then the file I created does not exist on the Persistent Storage 0.061
After features/support/hooks.rb:326 1.866
After features/support/hooks.rb:100 0.000
Tags: @product
1:20.346
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 11.774
And the network is plugged 0.460
And Tor is ready 23.696
And I take note of which tps features are available 4.350
When I write some files expected to persist 1.697
And I shutdown Tails and wait for the computer to power off 11.259
# 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" 27.107
After features/support/hooks.rb:326 0.160
After features/support/hooks.rb:100 0.000
Tags: @product
3:31.218
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 13.448
And the network is plugged 0.611
And Tor is ready 19.497
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.234
And I shutdown Tails and wait for the computer to power off 13.079
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:23.435
And I capture all network traffic 0.006
And the network is plugged 0.090
And Tor is ready 20.041
And I switch to the "persistent-con-current" NetworkManager connection 0.529
And the 1st network device has a spoofed MAC address configured 0.105
And no network device leaked the real MAC address 0.139
After features/support/hooks.rb:326 0.979
After features/support/hooks.rb:100 0.044
Tags: @product
1:30.448
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 44.122
And I enable persistence creation in Tails Greeter 1.155
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.696
Then I create a persistent partition with the default settings using the wizard that was already open 22.473
After features/support/hooks.rb:326 1.510
After features/support/hooks.rb:100 0.000
Tags: @product
5:26.167
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 16.608
When I enable persistence 49.692
Then no persistent Greeter options were restored 14.454
When I set all Greeter options to non-default values 26.888
And I log in to a new session in German (de) after having activated the Persistent Storage 56.937
Then all Greeter options are set to non-default values 0.644
When I cold reboot the computer 10.320
And the computer reboots Tails 1:10.787
Given I enable persistence 34.898
Then persistent Greeter options were restored 0.677
When I log in to a new session after having activated the Persistent Storage 43.891
Then all Greeter options are set to non-default values 0.365
After features/support/hooks.rb:326 1.001
After features/support/hooks.rb:100 0.009
Tags: @product
4:2.062
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.067
# 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.752
And I shutdown Tails and wait for the computer to power off 13.551
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:23.493
And I change the passphrase of the Persistent Storage back to the original 39.197
After features/support/hooks.rb:326 2.069
After features/support/hooks.rb:100 0.010
Tags: @product
1:3.966
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 11.210
And I log in to a new session without activating the Persistent Storage 23.883
Then persistence is disabled 0.563
But a Tails persistence partition exists on USB drive "__internal" 10.717
And all notifications have disappeared 10.228
When I delete the persistent partition 6.844
Then there is no persistence partition on USB drive "__internal" 0.519
After features/support/hooks.rb:326 0.977
After features/support/hooks.rb:100 0.000
Tags: @product
2:53.909
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.027
When I write some dotfile expected to persist 0.073
And I shutdown Tails and wait for the computer to power off 8.817
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:33.625
Then the expected persistent dotfile is present in the filesystem 0.365
After features/support/hooks.rb:326 1.114
After features/support/hooks.rb:100 0.009
Tags: @product
1:44.452
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.496
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.084
When I try to enable persistence 0.309
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 36.992
When I log in to a new session after having activated the Persistent Storage 38.449
And all notifications have disappeared 9.744
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.563
And all tps features are enabled 2.640
And all tps features but the first one are active 2.172
After features/support/hooks.rb:326 2.605
After features/support/hooks.rb:100 0.000
Tags: @product
5:37.101
Before features/support/hooks.rb:269 0.011
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:13.422
And I enable persistence 36.438
And I log in to a new session after having activated the Persistent Storage 41.356
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.410
And persistence is enabled 3.474
After features/support/hooks.rb:326 1.257
After features/support/hooks.rb:100 0.000
Tags: @product
29.510
Before features/support/hooks.rb:269 0.007
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.530
And I enable persistence but something goes wrong during the LUKS header upgrade 19.256
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.723
After features/support/hooks.rb:326 0.863
After features/support/hooks.rb:100 0.000
Tags: @product
1:1.801
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 10.155
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.736
When I enable persistence 42.710
Then the filesystem of the Persistent Storage was repaired 0.099
And persistence is successfully enabled 3.099
After features/support/hooks.rb:326 1.334
After features/support/hooks.rb:100 0.000
Tags: @product
52.608
Before features/support/hooks.rb:269 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.557
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.509
When I try to enable persistence 0.415
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 24.148
When I repair the filesystem of the Persistent Storage 1.890
Then the Welcome Screen tells me that the filesystem was repaired successfully 4.291
And the filesystem of the Persistent Storage was repaired 1.948
When I close the filesystem repair dialog 1.264
Then persistence is successfully enabled 1.582
After features/support/hooks.rb:326 1.288
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:0.109
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.339
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.109
When I try to enable persistence 0.296
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 33.282
When I repair the filesystem of the Persistent Storage 1.197
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.087
When I log in to a new session 50.360
And all notifications have disappeared 11.235
# 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.475
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.826
When I close the "whisperback" window 1.438
Then the Tor Browser starts 10.499
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.959
After features/support/hooks.rb:326 2.524
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:8.366
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.887
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.489
And Tails detects disk read failures on the boot device 1.626
When I try to enable persistence 0.438
Then the Welcome Screen tells me that my hardware is probably failing 24.220
When I log in to a new session 55.865
And all notifications have disappeared 9.663
Then the Tor Browser starts 19.271
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.903
After features/support/hooks.rb:326 2.372
After features/support/hooks.rb:100 0.000