Project Number Date
test_Tails_ISO_20619-wait-for-persistent-storage-check 1 22 Oct 2024, 20:24

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 37:56.735 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:24.911
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:45.478
And I update APT using apt 13.348
And I install "python3-behave" using apt 22.781
Then the Tails Persistent Storage behave tests pass 3.302
After features/support/hooks.rb:326 0.774
After features/support/hooks.rb:100 0.000
Tags: @product
41.078
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 12.910
When I log in to a new session without activating the Persistent Storage 20.429
Then Tails is running from USB drive "__internal" 0.562
And persistence is disabled 0.304
But a Tails persistence partition exists on USB drive "__internal" 6.871
After features/support/hooks.rb:326 1.024
After features/support/hooks.rb:100 0.000
Tags: @product
3:1.850
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.954
Then Tails is running from USB drive "__internal" 0.402
When I create a file in the Persistent directory 0.130
And I create a persistent partition with the default settings 23.978
Then the file I created was copied to the Persistent Storage 0.544
When I shutdown Tails and wait for the computer to power off 12.745
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.126
Then persistence for "Persistent" is active 0.903
And the file I created in the Persistent directory exists 0.064
After features/support/hooks.rb:326 1.257
After features/support/hooks.rb:100 0.011
Tags: @product
1:5.962
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.636
And the system is very low on memory 4.612
When I create a file in the Persistent directory 1.036
When I try to create a persistent partition 31.743
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.165
When I close the Persistent Storage app 2.514
And I free up some memory 1.456
And I create a persistent partition with the default settings 13.529
Then the file I created was copied to the Persistent Storage 0.266
After features/support/hooks.rb:326 1.624
After features/support/hooks.rb:100 0.000
Tags: @product
2:39.578
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.500
Then Tails is running from USB drive "__internal" 0.389
And all tps features are active 2.479
And all persistent directories have safe access rights 2.567
When I disable the first tps feature 5.425
Then all tps features but the first one are active 2.116
And 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:3.203
Then all tps features but the first one are active 2.207
After features/support/hooks.rb:326 0.910
After features/support/hooks.rb:100 0.007
Tags: @product
18.532
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 9.021
Then persistence for "Persistent" is active 0.199
And I create a file in the Persistent directory 0.069
Then the file I created was copied to the Persistent Storage 0.157
When I disable the first tps feature 5.660
Then persistence for "Persistent" is not active 0.071
And the Persistent directory does not exist 0.050
When I enable the first tps feature 3.151
Then persistence for "Persistent" is active 0.082
And the file I created in the Persistent directory exists 0.067
After features/support/hooks.rb:326 0.996
After features/support/hooks.rb:100 0.000
Tags: @product
19.140
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 9.557
Then persistence for "Persistent" is active 0.183
When I create a file in the Persistent directory 0.104
And I disable the first tps feature 5.491
And I delete the data of the Persistent Folder feature 3.750
Then the file I created does not exist on the Persistent Storage 0.052
After features/support/hooks.rb:326 1.056
After features/support/hooks.rb:100 0.000
Tags: @product
1:3.696
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.449
And the network is plugged 0.089
And Tor is ready 19.689
And I take note of which tps features are available 0.607
When I write some files expected to persist 1.444
And I shutdown Tails and wait for the computer to power off 8.556
# 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" 23.859
After features/support/hooks.rb:326 0.109
After features/support/hooks.rb:100 0.000
Tags: @product
2:57.405
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.468
And the network is plugged 0.077
And Tor is ready 16.066
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.220
And I shutdown Tails and wait for the computer to power off 10.874
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:1.765
And I capture all network traffic 0.006
And the network is plugged 0.076
And Tor is ready 18.339
And I switch to the "persistent-con-current" NetworkManager connection 0.323
And the 1st network device has a spoofed MAC address configured 0.067
And no network device leaked the real MAC address 0.118
After features/support/hooks.rb:326 0.677
After features/support/hooks.rb:100 0.038
Tags: @product
55.002
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 11.415
And I enable persistence creation in Tails Greeter 1.121
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.139
Then I create a persistent partition with the default settings using the wizard that was already open 22.325
After features/support/hooks.rb:326 1.300
After features/support/hooks.rb:100 0.000
Tags: @product
4:49.938
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 12.917
When I enable persistence 36.079
Then no persistent Greeter options were restored 14.237
When I set all Greeter options to non-default values 24.452
And I log in to a new session in German (de) after having activated the Persistent Storage 52.625
Then all Greeter options are set to non-default values 0.611
When I cold reboot the computer 7.371
And the computer reboots Tails 59.816
Given I enable persistence 31.391
Then persistent Greeter options were restored 14.826
When I log in to a new session after having activated the Persistent Storage 35.268
Then all Greeter options are set to non-default values 0.339
After features/support/hooks.rb:326 1.010
After features/support/hooks.rb:100 0.008
Tags: @product
3:36.979
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.735
# 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 40.246
And I shutdown Tails and wait for the computer to power off 12.739
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:5.103
And I change the passphrase of the Persistent Storage back to the original 29.153
After features/support/hooks.rb:326 2.695
After features/support/hooks.rb:100 0.009
Tags: @product
1:2.356
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 10.527
And I log in to a new session without activating the Persistent Storage 23.606
Then persistence is disabled 0.306
But a Tails persistence partition exists on USB drive "__internal" 8.137
And all notifications have disappeared 12.157
When I delete the persistent partition 7.231
Then there is no persistence partition on USB drive "__internal" 0.389
After features/support/hooks.rb:326 0.944
After features/support/hooks.rb:100 0.000
Tags: @product
2:21.299
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.673
When I write some dotfile expected to persist 0.092
And I shutdown Tails and wait for the computer to power off 8.593
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:2.379
Then the expected persistent dotfile is present in the filesystem 0.561
After features/support/hooks.rb:326 0.886
After features/support/hooks.rb:100 0.008
Tags: @product
1:36.120
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 8.700
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.082
When I try to enable persistence 0.265
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 27.312
When I log in to a new session after having activated the Persistent Storage 42.367
And all notifications have disappeared 9.014
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.877
And all tps features are enabled 2.406
And all tps features but the first one are active 2.094
After features/support/hooks.rb:326 0.904
After features/support/hooks.rb:100 0.000
Tags: @product
4:43.415
Before features/support/hooks.rb:269 0.005
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:23.742
And I enable persistence 30.144
And I log in to a new session after having activated the Persistent Storage 43.038
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.187
And persistence is enabled 4.302
After features/support/hooks.rb:326 1.021
After features/support/hooks.rb:100 0.000
Tags: @product
28.538
Before features/support/hooks.rb:269 0.004
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.438
And I enable persistence but something goes wrong during the LUKS header upgrade 19.339
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.760
After features/support/hooks.rb:326 0.724
After features/support/hooks.rb:100 0.000
Tags: @product
38.110
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 8.525
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.886
When I enable persistence 22.204
Then the filesystem of the Persistent Storage was repaired 0.087
And persistence is successfully enabled 2.406
After features/support/hooks.rb:326 1.987
After features/support/hooks.rb:100 0.000
Tags: @product
23.900
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 8.124
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.609
When I try to enable persistence 0.380
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.696
When I repair the filesystem of the Persistent Storage 1.247
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.241
And the filesystem of the Persistent Storage was repaired 0.076
When I close the filesystem repair dialog 1.245
Then persistence is successfully enabled 1.277
After features/support/hooks.rb:326 0.703
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:40.427
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 8.741
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.087
When I try to enable persistence 0.258
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.447
When I repair the filesystem of the Persistent Storage 1.255
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.070
When I log in to a new session 37.967
And all notifications have disappeared 7.035
# 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.468
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.154
When I close the "whisperback" window 1.346
Then the Tor Browser starts 14.967
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.627
After features/support/hooks.rb:326 2.085
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:8.487
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 8.873
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.580
And Tails detects disk read failures on the boot device 0.492
When I try to enable persistence 0.371
Then the Welcome Screen tells me that my hardware is probably failing 5.192
When I log in to a new session 19.006
And all notifications have disappeared 7.282
Then the Tor Browser starts 21.104
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.583
After features/support/hooks.rb:326 1.290
After features/support/hooks.rb:100 0.000