Project Number Date
test_Tails_ISO_test-suite-early-boot-hooks 5 10 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 42:51.390 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:21.960
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:36.871
And I update APT using apt 16.819
And I install "python3-behave" using apt 25.680
Then the Tails Persistent Storage behave tests pass 2.589
After features/support/hooks.rb:330 0.707
After features/support/hooks.rb:100 0.000
Tags: @product
51.476
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 13.171
When I log in to a new session without activating the Persistent Storage 29.479
Then Tails is running from USB drive "__internal" 0.424
And persistence is disabled 0.352
But a Tails persistence partition exists on USB drive "__internal" 8.048
After features/support/hooks.rb:330 2.416
After features/support/hooks.rb:100 0.000
Tags: @product
3:26.919
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 without a persistent partition and logged in 17.483
Then Tails is running from USB drive "__internal" 0.590
When I create a file in the Persistent directory 0.128
And I create a persistent partition with the default settings 24.564
Then the file I created was copied to the Persistent Storage 0.662
When I shutdown Tails and wait for the computer to power off 13.549
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:28.576
Then persistence for "Persistent" is active 1.270
And the file I created in the Persistent directory exists 0.093
After features/support/hooks.rb:330 2.241
After features/support/hooks.rb:100 0.007
Tags: @product
56.578
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 13.191
And the system is very low on memory 4.913
When I create a file in the Persistent directory 1.064
When I try to create a persistent partition 18.964
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.175
When I close the Persistent Storage app 2.833
And I free up some memory 1.420
And I create a persistent partition with the default settings 13.798
Then the file I created was copied to the Persistent Storage 0.217
After features/support/hooks.rb:330 2.121
After features/support/hooks.rb:100 0.000
Tags: @product
2:49.660
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 11.841
Then Tails is running from USB drive "__internal" 1.171
And all tps features are active 2.532
And all persistent directories have safe access rights 2.797
When I disable the first tps feature 6.165
Then all tps features but the first one are active 2.317
And I shutdown Tails and wait for the computer to power off 11.271
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.609
Then all tps features but the first one are active 2.953
After features/support/hooks.rb:330 1.543
After features/support/hooks.rb:100 0.007
Tags: @product
22.752
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 10.331
Then persistence for "Persistent" is active 0.088
And I create a file in the Persistent directory 0.076
Then the file I created was copied to the Persistent Storage 0.681
When I disable the first tps feature 6.706
Then persistence for "Persistent" is not active 0.127
And the Persistent directory does not exist 0.088
When I enable the first tps feature 4.452
Then persistence for "Persistent" is active 0.087
And the file I created in the Persistent directory exists 0.113
After features/support/hooks.rb:330 1.970
After features/support/hooks.rb:100 0.000
Tags: @product
22.398
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 10.957
Then persistence for "Persistent" is active 0.211
When I create a file in the Persistent directory 0.464
And I disable the first tps feature 6.258
And I delete the data of the Persistent Folder feature 4.406
Then the file I created does not exist on the Persistent Storage 0.100
After features/support/hooks.rb:330 1.669
After features/support/hooks.rb:100 0.000
Tags: @product
1:10.364
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 11.528
And the network is plugged 0.117
And Tor is ready 22.031
And I take note of which tps features are available 0.875
When I write some files expected to persist 1.475
And I shutdown Tails and wait for the computer to power off 8.964
# 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.370
After features/support/hooks.rb:330 0.125
After features/support/hooks.rb:100 0.000
Tags: @product
3:45.289
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 10.523
And the network is plugged 0.119
And Tor is ready 25.517
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.268
And I shutdown Tails and wait for the computer to power off 8.923
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.602
And I capture all network traffic 0.006
And the network is plugged 0.163
And Tor is ready 48.411
And I switch to the "persistent-con-current" NetworkManager connection 0.425
And the 1st network device has a spoofed MAC address configured 0.102
And no network device leaked the real MAC address 0.224
After features/support/hooks.rb:330 0.813
After features/support/hooks.rb:100 0.063
Tags: @product
1:20.162
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 23.600
And I enable persistence creation in Tails Greeter 1.192
And I log in to a new session expecting no warning about the Persistent Storage not being activated 27.266
Then I create a persistent partition with the default settings using the wizard that was already open 28.102
After features/support/hooks.rb:330 2.625
After features/support/hooks.rb:100 0.000
Tags: @product
4:54.980
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.692
When I enable persistence 41.820
Then no persistent Greeter options were restored 14.476
When I set all Greeter options to non-default values 27.181
And I log in to a new session in German (de) after having activated the Persistent Storage 55.910
Then all Greeter options are set to non-default values 0.716
When I cold reboot the computer 9.622
And the computer reboots Tails 1:9.380
Given I enable persistence 21.344
Then persistent Greeter options were restored 0.656
When I log in to a new session after having activated the Persistent Storage 39.701
Then all Greeter options are set to non-default values 0.477
After features/support/hooks.rb:330 1.383
After features/support/hooks.rb:100 0.015
Tags: @product
3:36.895
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 10.595
# 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 30.990
And I shutdown Tails and wait for the computer to power off 14.715
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:10.166
And I change the passphrase of the Persistent Storage back to the original 30.428
After features/support/hooks.rb:330 1.747
After features/support/hooks.rb:100 0.010
Tags: @product
1:0.888
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 and stopped at Tails Greeter's login screen 10.558
And I log in to a new session without activating the Persistent Storage 21.465
Then persistence is disabled 0.255
But a Tails persistence partition exists on USB drive "__internal" 11.257
And all notifications have disappeared 11.023
When I delete the persistent partition 5.878
Then there is no persistence partition on USB drive "__internal" 0.450
After features/support/hooks.rb:330 1.388
After features/support/hooks.rb:100 0.000
Tags: @product
2:40.549
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 10.985
When I write some dotfile expected to persist 0.104
And I shutdown Tails and wait for the computer to power off 10.522
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.577
Then the expected persistent dotfile is present in the filesystem 0.358
After features/support/hooks.rb:330 1.428
After features/support/hooks.rb:100 0.008
Tags: @product
1:49.561
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.626
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.107
When I try to enable persistence 0.282
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.943
When I log in to a new session after having activated the Persistent Storage 50.090
And all notifications have disappeared 8.619
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.665
And all tps features are enabled 2.924
And all tps features but the first one are active 2.300
After features/support/hooks.rb:330 2.149
After features/support/hooks.rb:100 0.000
Tags: @product
6:17.219
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 4:38.365
And I enable persistence 44.669
And I log in to a new session after having activated the Persistent Storage 47.760
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.316
And persistence is enabled 3.107
After features/support/hooks.rb:330 1.867
After features/support/hooks.rb:100 0.000
Tags: @product
29.446
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 8.878
And I enable persistence but something goes wrong during the LUKS header upgrade 19.734
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.833
After features/support/hooks.rb:330 0.802
After features/support/hooks.rb:100 0.000
Tags: @product
51.087
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.768
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.711
When I enable persistence 31.796
Then the filesystem of the Persistent Storage was repaired 0.081
And persistence is successfully enabled 2.730
After features/support/hooks.rb:330 1.753
After features/support/hooks.rb:100 0.000
Tags: @product
29.942
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.264
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.357
When I try to enable persistence 1.471
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 7.082
When I repair the filesystem of the Persistent Storage 1.269
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.275
And the filesystem of the Persistent Storage was repaired 0.423
When I close the filesystem repair dialog 1.268
Then persistence is successfully enabled 1.529
After features/support/hooks.rb:330 0.846
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:54.904
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 9.069
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.127
When I try to enable persistence 0.279
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.253
When I repair the filesystem of the Persistent Storage 1.212
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.079
When I log in to a new session 42.772
And all notifications have disappeared 8.148
# 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.765
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.315
When I close the "whisperback" window 1.572
Then the Tor Browser starts 19.193
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.114
After features/support/hooks.rb:330 2.068
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:18.352
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.749
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.228
And Tails detects disk read failures on the boot device 1.764
When I try to enable persistence 1.500
Then the Welcome Screen tells me that my hardware is probably failing 6.241
When I log in to a new session 23.128
And all notifications have disappeared 8.062
Then the Tor Browser starts 21.614
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.062
After features/support/hooks.rb:330 2.082
After features/support/hooks.rb:100 0.000