Project Number Date
test_Tails_ISO_15451-support-manual-fsck-on-error 13 31 Jul 2024, 17:38

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 139 0 0 0 0 139 20 0 20 42:41.009 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:33.402
Before features/support/hooks.rb:269 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:42.006
And I update APT using apt 21.704
And I install "python3-behave" using apt 26.039
Then the Tails Persistent Storage behave tests pass 3.651
After features/support/hooks.rb:326 0.999
After features/support/hooks.rb:100 0.000
Tags: @product
1:16.755
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 46.173
When I log in to a new session without activating the Persistent Storage 24.325
Then Tails is running from USB drive "__internal" 0.392
And persistence is disabled 0.209
But a Tails persistence partition exists on USB drive "__internal" 5.654
After features/support/hooks.rb:326 1.244
After features/support/hooks.rb:100 0.000
Tags: @product
3:15.086
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.349
Then Tails is running from USB drive "__internal" 0.641
When I create a file in the Persistent directory 0.191
And I create a persistent partition with the default settings 26.416
Then the file I created was copied to the Persistent Storage 0.706
When I shutdown Tails and wait for the computer to power off 17.817
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.548
Then persistence for "Persistent" is active 0.341
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:326 1.205
After features/support/hooks.rb:100 0.009
Tags: @product
1:8.533
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.209
And the system is very low on memory 11.392
When I create a file in the Persistent directory 1.650
When I try to create a persistent partition 25.237
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.179
When I close the Persistent Storage app 2.576
And I free up some memory 1.373
And I create a persistent partition with the default settings 13.673
Then the file I created was copied to the Persistent Storage 0.241
After features/support/hooks.rb:326 1.290
After features/support/hooks.rb:100 0.000
Tags: @product
3:9.983
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 21.495
Then Tails is running from USB drive "__internal" 0.697
And all tps features are active 2.762
And all persistent directories have safe access rights 2.975
When I disable the first tps feature 7.320
Then all tps features but the first one are active 2.273
And I shutdown Tails and wait for the computer to power off 15.236
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.823
Then all tps features but the first one are active 2.397
After features/support/hooks.rb:326 1.051
After features/support/hooks.rb:100 0.008
Tags: @product
19.412
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.756
Then persistence for "Persistent" is active 0.199
And I create a file in the Persistent directory 0.162
Then the file I created was copied to the Persistent Storage 0.099
When I disable the first tps feature 5.673
Then persistence for "Persistent" is not active 0.111
And the Persistent directory does not exist 0.056
When I enable the first tps feature 3.210
Then persistence for "Persistent" is active 0.076
And the file I created in the Persistent directory exists 0.066
After features/support/hooks.rb:326 0.790
After features/support/hooks.rb:100 0.000
Tags: @product
20.042
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 10.097
Then persistence for "Persistent" is active 0.208
When I create a file in the Persistent directory 0.096
And I disable the first tps feature 5.670
And I delete the data of the Persistent Folder feature 3.915
Then the file I created does not exist on the Persistent Storage 0.055
After features/support/hooks.rb:326 1.087
After features/support/hooks.rb:100 0.000
Tags: @product
1:11.485
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 10.796
And the network is plugged 0.050
And Tor is ready 23.967
And I take note of which tps features are available 0.582
When I write some files expected to persist 1.826
And I shutdown Tails and wait for the computer to power off 8.597
# 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.663
After features/support/hooks.rb:326 0.124
After features/support/hooks.rb:100 0.000
Tags: @product
3:27.223
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 23.349
And the network is plugged 0.050
And Tor is ready 20.172
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.176
And I shutdown Tails and wait for the computer to power off 8.660
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.909
And I capture all network traffic 0.013
And the network is plugged 0.051
And Tor is ready 19.056
And I switch to the "persistent-con-current" NetworkManager connection 0.443
And the 1st network device has a spoofed MAC address configured 0.096
And no network device leaked the real MAC address 0.243
After features/support/hooks.rb:326 0.638
After features/support/hooks.rb:100 0.103
Tags: @product
1:0.877
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 13.986
And I enable persistence creation in Tails Greeter 1.202
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.189
Then I create a persistent partition with the default settings using the wizard that was already open 22.500
After features/support/hooks.rb:326 1.424
After features/support/hooks.rb:100 0.000
Tags: @product
5:7.587
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 10.207
When I enable persistence 40.427
Then no persistent Greeter options were restored 14.878
When I set all Greeter options to non-default values 29.049
And I log in to a new session in German (de) after having activated the Persistent Storage 49.900
Then all Greeter options are set to non-default values 0.481
When I cold reboot the computer 7.861
And the computer reboots Tails 1:4.851
Given I enable persistence 33.888
Then persistent Greeter options were restored 15.222
When I log in to a new session after having activated the Persistent Storage 40.433
Then all Greeter options are set to non-default values 0.384
After features/support/hooks.rb:326 1.191
After features/support/hooks.rb:100 0.012
Tags: @product
4:16.600
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.174
# 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 36.206
And I shutdown Tails and wait for the computer to power off 15.741
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:37.065
And I change the passphrase of the Persistent Storage back to the original 37.411
After features/support/hooks.rb:326 1.375
After features/support/hooks.rb:100 0.008
Tags: @product
1:1.582
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.822
And I log in to a new session without activating the Persistent Storage 22.048
Then persistence is disabled 0.445
But a Tails persistence partition exists on USB drive "__internal" 10.056
And all notifications have disappeared 11.006
When I delete the persistent partition 7.621
Then there is no persistence partition on USB drive "__internal" 0.581
After features/support/hooks.rb:326 0.950
After features/support/hooks.rb:100 0.000
Tags: @product
2:35.108
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 11.493
When I write some dotfile expected to persist 0.079
And I shutdown Tails and wait for the computer to power off 9.131
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.070
Then the expected persistent dotfile is present in the filesystem 0.332
After features/support/hooks.rb:326 1.009
After features/support/hooks.rb:100 0.010
Tags: @product
1:51.506
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.347
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.086
When I try to enable persistence 0.351
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 35.440
When I log in to a new session after having activated the Persistent Storage 50.665
And all notifications have disappeared 7.517
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.739
And all tps features are enabled 2.299
And all tps features but the first one are active 2.059
After features/support/hooks.rb:326 2.528
After features/support/hooks.rb:100 0.000
Tags: @product
7:24.241
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 6:1.047
And I enable persistence 43.180
And I log in to a new session after having activated the Persistent Storage 36.985
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.799
And persistence is enabled 0.228
After features/support/hooks.rb:326 1.363
After features/support/hooks.rb:100 0.000
Tags: @product
31.454
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 9.141
And I enable persistence but something goes wrong during the LUKS header upgrade 21.448
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.865
After features/support/hooks.rb:326 0.790
After features/support/hooks.rb:100 0.000
Tags: @product
1:5.711
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 24.167
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 11.210
When I enable persistence 30.200
Then the filesystem of the Persistent Storage was repaired 0.132
After features/support/hooks.rb:326 1.208
After features/support/hooks.rb:100 0.000
Tags: @product
39.774
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 10.253
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 18.603
When I try to enable persistence 0.391
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.963
When I repair the filesystem of the Persistent Storage 1.333
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.248
And the filesystem of the Persistent Storage was repaired 0.224
When I close the filesystem repair dialog 1.305
Then persistence is successfully enabled 0.451
After features/support/hooks.rb:326 1.136
After features/support/hooks.rb:100 0.000
Tags: @product
24.640
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.180
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.478
And Tails detects disk read failures on the boot device 1.600
When I try to enable persistence 0.440
Then the Welcome Screen tells me that my hardware is probably failing 5.940
After features/support/hooks.rb:326 0.771
After features/support/hooks.rb:100 0.000