Project Number Date
test_Tails_ISO_20634-greeter-tps-upgrade-failure-fix 1 13 Dec 2024, 20:13

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 40:44.399 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:17.562
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:38.050
And I update APT using apt 13.951
And I install "python3-behave" using apt 22.620
Then the Tails Persistent Storage behave tests pass 2.939
After features/support/hooks.rb:326 0.663
After features/support/hooks.rb:100 0.000
Tags: @product
46.253
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 12.260
When I log in to a new session without activating the Persistent Storage 22.857
Then Tails is running from USB drive "__internal" 0.743
And persistence is disabled 0.504
But a Tails persistence partition exists on USB drive "__internal" 9.889
After features/support/hooks.rb:326 1.485
After features/support/hooks.rb:100 0.000
Tags: @product
3:3.620
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 14.018
Then Tails is running from USB drive "__internal" 0.438
When I create a file in the Persistent directory 0.158
And I create a persistent partition with the default settings 23.692
Then the file I created was copied to the Persistent Storage 0.731
When I shutdown Tails and wait for the computer to power off 12.938
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.013
Then persistence for "Persistent" is active 1.521
And the file I created in the Persistent directory exists 0.107
After features/support/hooks.rb:326 1.170
After features/support/hooks.rb:100 0.011
Tags: @product
1:1.432
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.979
And the system is very low on memory 5.990
When I create a file in the Persistent directory 1.230
When I try to create a persistent partition 23.501
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.160
When I close the Persistent Storage app 2.546
And I free up some memory 1.617
And I create a persistent partition with the default settings 14.159
Then the file I created was copied to the Persistent Storage 0.248
After features/support/hooks.rb:326 1.390
After features/support/hooks.rb:100 0.000
Tags: @product
2:51.369
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 18.352
Then Tails is running from USB drive "__internal" 0.564
And all tps features are active 2.765
And all persistent directories have safe access rights 2.632
When I disable the first tps feature 5.867
Then all tps features but the first one are active 2.671
And I shutdown Tails and wait for the computer to power off 10.513
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.937
Then all tps features but the first one are active 2.064
After features/support/hooks.rb:326 0.857
After features/support/hooks.rb:100 0.011
Tags: @product
18.744
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 9.568
Then persistence for "Persistent" is active 0.246
And I create a file in the Persistent directory 0.093
Then the file I created was copied to the Persistent Storage 0.085
When I disable the first tps feature 5.358
Then persistence for "Persistent" is not active 0.093
And the Persistent directory does not exist 0.060
When I enable the first tps feature 3.084
Then persistence for "Persistent" is active 0.075
And the file I created in the Persistent directory exists 0.077
After features/support/hooks.rb:326 0.729
After features/support/hooks.rb:100 0.000
Tags: @product
18.892
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.385
Then persistence for "Persistent" is active 0.130
When I create a file in the Persistent directory 0.096
And I disable the first tps feature 5.435
And I delete the data of the Persistent Folder feature 3.771
Then the file I created does not exist on the Persistent Storage 0.074
After features/support/hooks.rb:326 0.816
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.251
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.792
And the network is plugged 0.090
And Tor is ready 20.614
And I take note of which tps features are available 0.559
When I write some files expected to persist 1.578
And I shutdown Tails and wait for the computer to power off 8.767
# 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.849
After features/support/hooks.rb:326 0.145
After features/support/hooks.rb:100 0.000
Tags: @product
3:44.748
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.638
And the network is plugged 0.221
And Tor is ready 19.598
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.239
And I shutdown Tails and wait for the computer to power off 8.363
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.224
And I capture all network traffic 0.007
And the network is plugged 0.080
And Tor is ready 47.719
And I switch to the "persistent-con-current" NetworkManager connection 0.358
And the 1st network device has a spoofed MAC address configured 0.100
And no network device leaked the real MAC address 0.195
After features/support/hooks.rb:326 0.808
After features/support/hooks.rb:100 0.057
Tags: @product
58.211
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 12.585
And I enable persistence creation in Tails Greeter 1.195
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.740
Then I create a persistent partition with the default settings using the wizard that was already open 22.690
After features/support/hooks.rb:326 1.430
After features/support/hooks.rb:100 0.000
Tags: @product
4:28.795
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 13.138
When I enable persistence 37.221
Then no persistent Greeter options were restored 14.059
When I set all Greeter options to non-default values 25.383
And I log in to a new session in German (de) after having activated the Persistent Storage 45.107
Then all Greeter options are set to non-default values 0.491
When I cold reboot the computer 7.633
And the computer reboots Tails 1:2.422
Given I enable persistence 20.110
Then persistent Greeter options were restored 0.661
When I log in to a new session after having activated the Persistent Storage 41.825
Then all Greeter options are set to non-default values 0.740
After features/support/hooks.rb:326 1.043
After features/support/hooks.rb:100 0.009
Tags: @product
3:44.551
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.966
# 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.858
And I shutdown Tails and wait for the computer to power off 12.537
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:14.795
And I change the passphrase of the Persistent Storage back to the original 32.393
After features/support/hooks.rb:326 1.472
After features/support/hooks.rb:100 0.010
Tags: @product
1:1.924
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.318
And I log in to a new session without activating the Persistent Storage 24.139
Then persistence is disabled 0.497
But a Tails persistence partition exists on USB drive "__internal" 10.318
And all notifications have disappeared 10.541
When I delete the persistent partition 5.681
Then there is no persistence partition on USB drive "__internal" 0.427
After features/support/hooks.rb:326 1.007
After features/support/hooks.rb:100 0.000
Tags: @product
2:37.022
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.004
When I write some dotfile expected to persist 0.224
And I shutdown Tails and wait for the computer to power off 8.829
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.608
Then the expected persistent dotfile is present in the filesystem 0.355
After features/support/hooks.rb:326 0.672
After features/support/hooks.rb:100 0.045
Tags: @product
1:44.158
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.534
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.102
When I try to enable persistence 0.271
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 33.460
When I log in to a new session after having activated the Persistent Storage 43.305
And all notifications have disappeared 9.030
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.147
And all tps features are enabled 2.291
And all tps features but the first one are active 2.014
After features/support/hooks.rb:326 1.174
After features/support/hooks.rb:100 0.000
Tags: @product
4:41.136
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 3:14.193
And I enable persistence 35.228
And I log in to a new session after having activated the Persistent Storage 47.752
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.200
And persistence is enabled 2.761
After features/support/hooks.rb:326 1.317
After features/support/hooks.rb:100 0.000
Tags: @product
33.319
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.371
And I enable persistence but something goes wrong during the LUKS header upgrade 23.072
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.875
After features/support/hooks.rb:326 0.766
After features/support/hooks.rb:100 0.000
Tags: @product
44.378
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 9.475
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.203
When I enable persistence 25.907
Then the filesystem of the Persistent Storage was repaired 0.119
And persistence is successfully enabled 2.673
After features/support/hooks.rb:326 3.465
After features/support/hooks.rb:100 0.000
Tags: @product
49.599
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.352
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.063
When I try to enable persistence 0.463
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.586
When I repair the filesystem of the Persistent Storage 1.429
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.178
And the filesystem of the Persistent Storage was repaired 1.552
When I close the filesystem repair dialog 1.257
Then persistence is successfully enabled 1.716
After features/support/hooks.rb:326 1.933
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:56.061
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.704
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.102
When I try to enable persistence 0.270
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.470
When I repair the filesystem of the Persistent Storage 1.314
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.119
When I log in to a new session 48.258
And all notifications have disappeared 8.439
# 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.455
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.436
When I close the "whisperback" window 1.460
Then the Tor Browser starts 17.126
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.902
After features/support/hooks.rb:326 3.674
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:56.362
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.040
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.650
And Tails detects disk read failures on the boot device 1.571
When I try to enable persistence 0.459
Then the Welcome Screen tells me that my hardware is probably failing 21.343
When I log in to a new session 50.301
And all notifications have disappeared 9.228
Then the Tor Browser starts 15.911
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.855
After features/support/hooks.rb:326 1.964
After features/support/hooks.rb:100 0.000