Project Number Date
test_Tails_ISO_20531-early-reporting-of-bad-devices 2 06 Dec 2024, 01:10

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 39:21.628 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:41.367
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 2:2.102
And I update APT using apt 13.544
And I install "python3-behave" using apt 22.158
Then the Tails Persistent Storage behave tests pass 3.561
After features/support/hooks.rb:330 1.599
After features/support/hooks.rb:100 0.000
Tags: @product
42.349
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 12.762
When I log in to a new session without activating the Persistent Storage 22.020
Then Tails is running from USB drive "__internal" 0.376
And persistence is disabled 0.402
But a Tails persistence partition exists on USB drive "__internal" 6.787
After features/support/hooks.rb:330 1.599
After features/support/hooks.rb:100 0.000
Tags: @product
3:2.863
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.610
Then Tails is running from USB drive "__internal" 0.349
When I create a file in the Persistent directory 0.148
And I create a persistent partition with the default settings 22.233
Then the file I created was copied to the Persistent Storage 1.339
When I shutdown Tails and wait for the computer to power off 12.873
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.892
Then persistence for "Persistent" is active 0.338
And the file I created in the Persistent directory exists 0.077
After features/support/hooks.rb:330 1.968
After features/support/hooks.rb:100 0.007
Tags: @product
54.593
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 10.449
And the system is very low on memory 3.196
When I create a file in the Persistent directory 1.326
When I try to create a persistent partition 21.703
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.231
When I close the Persistent Storage app 2.755
And I free up some memory 1.615
And I create a persistent partition with the default settings 13.090
Then the file I created was copied to the Persistent Storage 0.224
After features/support/hooks.rb:330 2.235
After features/support/hooks.rb:100 0.000
Tags: @product
2:45.833
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.015
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.965
Then Tails is running from USB drive "__internal" 0.425
And all tps features are active 2.484
And all persistent directories have safe access rights 3.067
When I disable the first tps feature 5.181
Then all tps features but the first one are active 2.483
And I shutdown Tails and wait for the computer to power off 12.949
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.137
Then all tps features but the first one are active 2.138
After features/support/hooks.rb:330 1.179
After features/support/hooks.rb:100 0.051
Tags: @product
19.626
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 9.890
Then persistence for "Persistent" is active 0.499
And I create a file in the Persistent directory 0.076
Then the file I created was copied to the Persistent Storage 0.112
When I disable the first tps feature 5.611
Then persistence for "Persistent" is not active 0.081
And the Persistent directory does not exist 0.048
When I enable the first tps feature 3.101
Then persistence for "Persistent" is active 0.133
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:330 1.517
After features/support/hooks.rb:100 0.000
Tags: @product
18.856
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 9.761
Then persistence for "Persistent" is active 0.258
When I create a file in the Persistent directory 0.089
And I disable the first tps feature 5.100
And I delete the data of the Persistent Folder feature 3.562
Then the file I created does not exist on the Persistent Storage 0.083
After features/support/hooks.rb:330 1.390
After features/support/hooks.rb:100 0.000
Tags: @product
1:33.003
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 9.197
And the network is plugged 0.080
And Tor is ready 49.145
And I take note of which tps features are available 0.616
When I write some files expected to persist 1.456
And I shutdown Tails and wait for the computer to power off 8.578
# 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.928
After features/support/hooks.rb:330 0.121
After features/support/hooks.rb:100 0.000
Tags: @product
3:32.887
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 9.250
And the network is plugged 0.088
And Tor is ready 47.342
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.179
And I shutdown Tails and wait for the computer to power off 8.502
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.549
And I capture all network traffic 0.008
And the network is plugged 0.082
And Tor is ready 21.290
And I switch to the "persistent-con-current" NetworkManager connection 0.351
And the 1st network device has a spoofed MAC address configured 0.107
And no network device leaked the real MAC address 0.134
After features/support/hooks.rb:330 0.603
After features/support/hooks.rb:100 0.042
Tags: @product
57.157
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 without a persistent partition and stopped at Tails Greeter's login screen 12.696
And I enable persistence creation in Tails Greeter 1.116
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.928
Then I create a persistent partition with the default settings using the wizard that was already open 22.416
After features/support/hooks.rb:330 2.059
After features/support/hooks.rb:100 0.000
Tags: @product
4:19.523
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 12.459
When I enable persistence 35.063
Then no persistent Greeter options were restored 14.350
When I set all Greeter options to non-default values 24.629
And I log in to a new session in German (de) after having activated the Persistent Storage 48.905
Then all Greeter options are set to non-default values 0.366
When I cold reboot the computer 7.456
And the computer reboots Tails 1:1.535
Given I enable persistence 17.518
Then persistent Greeter options were restored 0.512
When I log in to a new session after having activated the Persistent Storage 36.229
Then all Greeter options are set to non-default values 0.496
After features/support/hooks.rb:330 1.943
After features/support/hooks.rb:100 0.009
Tags: @product
3:32.627
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 9.484
# 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.229
And I shutdown Tails and wait for the computer to power off 12.311
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:3.602
And I change the passphrase of the Persistent Storage back to the original 33.000
After features/support/hooks.rb:330 2.049
After features/support/hooks.rb:100 0.009
Tags: @product
56.058
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.547
And I log in to a new session without activating the Persistent Storage 23.574
Then persistence is disabled 0.206
But a Tails persistence partition exists on USB drive "__internal" 6.985
And all notifications have disappeared 8.974
When I delete the persistent partition 6.304
Then there is no persistence partition on USB drive "__internal" 0.466
After features/support/hooks.rb:330 1.724
After features/support/hooks.rb:100 0.000
Tags: @product
2:31.309
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 enabled and logged in 9.988
When I write some dotfile expected to persist 0.136
And I shutdown Tails and wait for the computer to power off 10.763
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.084
Then the expected persistent dotfile is present in the filesystem 0.336
After features/support/hooks.rb:330 1.270
After features/support/hooks.rb:100 0.061
Tags: @product
1:39.868
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 8.533
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.097
When I try to enable persistence 0.259
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 28.331
When I log in to a new session after having activated the Persistent Storage 47.025
And all notifications have disappeared 7.455
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.820
And all tps features are enabled 2.243
And all tps features but the first one are active 2.100
After features/support/hooks.rb:330 1.705
After features/support/hooks.rb:100 0.000
Tags: @product
4:51.080
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 3:24.112
And I enable persistence 34.036
And I log in to a new session after having activated the Persistent Storage 45.955
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 4.670
And persistence is enabled 2.305
After features/support/hooks.rb:330 2.044
After features/support/hooks.rb:100 0.000
Tags: @product
30.059
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 8.297
And I enable persistence but something goes wrong during the LUKS header upgrade 21.088
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.674
After features/support/hooks.rb:330 0.897
After features/support/hooks.rb:100 0.000
Tags: @product
49.214
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.161
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.183
When I enable persistence 32.150
Then the filesystem of the Persistent Storage was repaired 0.094
And persistence is successfully enabled 2.624
After features/support/hooks.rb:330 2.247
After features/support/hooks.rb:100 0.000
Tags: @product
25.133
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.620
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.823
When I try to enable persistence 0.536
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.978
When I repair the filesystem of the Persistent Storage 1.292
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.198
And the filesystem of the Persistent Storage was repaired 0.105
When I close the filesystem repair dialog 1.255
Then persistence is successfully enabled 1.322
After features/support/hooks.rb:330 0.802
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:42.401
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 8.557
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.123
When I try to enable persistence 0.315
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.236
When I repair the filesystem of the Persistent Storage 1.245
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.072
When I log in to a new session 36.048
And all notifications have disappeared 9.003
# 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.941
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.495
When I close the "whisperback" window 2.092
Then the Tor Browser starts 16.349
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.921
After features/support/hooks.rb:330 1.880
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:15.812
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.184
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.276
And Tails detects disk read failures on the boot device 1.610
When I try to enable persistence 0.385
Then the Welcome Screen tells me that my hardware is probably failing 4.900
When I log in to a new session 20.937
And all notifications have disappeared 6.822
Then the Tor Browser starts 25.901
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.793
After features/support/hooks.rb:330 2.362
After features/support/hooks.rb:100 0.000