Project Number Date
test_Tails_ISO_20531-early-reporting-of-bad-devices 33 19 Dec 2024, 18:53

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 48:38.058 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:21.905
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:40.682
And I update APT using apt 14.262
And I install "python3-behave" using apt 22.518
Then the Tails Persistent Storage behave tests pass 4.442
After features/support/hooks.rb:326 0.788
After features/support/hooks.rb:100 0.000
Tags: @product
55.539
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 18.849
When I log in to a new session without activating the Persistent Storage 26.853
Then Tails is running from USB drive "__internal" 0.588
And persistence is disabled 0.875
But a Tails persistence partition exists on USB drive "__internal" 8.372
After features/support/hooks.rb:326 1.094
After features/support/hooks.rb:100 0.000
Tags: @product
3:13.220
Before features/support/hooks.rb:269 0.011
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.039
Then Tails is running from USB drive "__internal" 0.559
When I create a file in the Persistent directory 0.128
And I create a persistent partition with the default settings 25.997
Then the file I created was copied to the Persistent Storage 0.742
When I shutdown Tails and wait for the computer to power off 12.890
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.276
Then persistence for "Persistent" is active 1.488
And the file I created in the Persistent directory exists 0.096
After features/support/hooks.rb:326 1.086
After features/support/hooks.rb:100 0.007
Tags: @product
1:21.333
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive without a persistent partition and logged in 28.286
And the system is very low on memory 4.611
When I create a file in the Persistent directory 1.503
When I try to create a persistent partition 27.761
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.484
When I close the Persistent Storage app 2.614
And I free up some memory 1.713
And I create a persistent partition with the default settings 14.137
Then the file I created was copied to the Persistent Storage 0.220
After features/support/hooks.rb:326 1.272
After features/support/hooks.rb:100 0.000
Tags: @product
3:1.735
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 15.736
Then Tails is running from USB drive "__internal" 1.112
And all tps features are active 2.285
And all persistent directories have safe access rights 2.654
When I disable the first tps feature 6.779
Then all tps features but the first one are active 2.234
And I shutdown Tails and wait for the computer to power off 15.250
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.266
Then all tps features but the first one are active 2.415
After features/support/hooks.rb:326 0.678
After features/support/hooks.rb:100 0.009
Tags: @product
20.958
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 10.774
Then persistence for "Persistent" is active 0.111
And I create a file in the Persistent directory 0.079
Then the file I created was copied to the Persistent Storage 0.097
When I disable the first tps feature 6.221
Then persistence for "Persistent" is not active 0.086
And the Persistent directory does not exist 0.067
When I enable the first tps feature 3.339
Then persistence for "Persistent" is active 0.096
And the file I created in the Persistent directory exists 0.083
After features/support/hooks.rb:326 0.818
After features/support/hooks.rb:100 0.000
Tags: @product
21.506
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.475
Then persistence for "Persistent" is active 0.105
When I create a file in the Persistent directory 0.312
And I disable the first tps feature 6.437
And I delete the data of the Persistent Folder feature 4.083
Then the file I created does not exist on the Persistent Storage 0.092
After features/support/hooks.rb:326 0.822
After features/support/hooks.rb:100 0.000
Tags: @product
1:10.763
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 10.209
And the network is plugged 0.104
And Tor is ready 22.757
And I take note of which tps features are available 0.635
When I write some files expected to persist 1.367
And I shutdown Tails and wait for the computer to power off 10.940
# 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.747
After features/support/hooks.rb:326 0.126
After features/support/hooks.rb:100 0.000
Tags: @product
3:32.193
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 10.031
And the network is plugged 0.080
And Tor is ready 22.617
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.242
And I shutdown Tails and wait for the computer to power off 10.638
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:26.140
And I capture all network traffic 0.015
And the network is plugged 0.112
And Tor is ready 21.635
And I switch to the "persistent-con-current" NetworkManager connection 0.410
And the 1st network device has a spoofed MAC address configured 0.121
And no network device leaked the real MAC address 0.148
After features/support/hooks.rb:326 0.733
After features/support/hooks.rb:100 0.090
Tags: @product
1:11.685
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 19.746
And I enable persistence creation in Tails Greeter 1.183
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.478
Then I create a persistent partition with the default settings using the wizard that was already open 28.276
After features/support/hooks.rb:326 2.071
After features/support/hooks.rb:100 0.000
Tags: @product
5:42.950
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 23.920
When I enable persistence 50.950
Then no persistent Greeter options were restored 16.023
When I set all Greeter options to non-default values 33.883
And I log in to a new session in German (de) after having activated the Persistent Storage 1:4.302
Then all Greeter options are set to non-default values 0.424
When I cold reboot the computer 7.820
And the computer reboots Tails 1:6.273
Given I enable persistence 32.897
Then persistent Greeter options were restored 0.668
When I log in to a new session after having activated the Persistent Storage 45.401
Then all Greeter options are set to non-default values 0.382
After features/support/hooks.rb:326 1.046
After features/support/hooks.rb:100 0.009
Tags: @product
4:0.847
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 10.841
# 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 38.940
And I shutdown Tails and wait for the computer to power off 13.219
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:21.981
And I change the passphrase of the Persistent Storage back to the original 35.863
After features/support/hooks.rb:326 1.735
After features/support/hooks.rb:100 0.011
Tags: @product
1:11.666
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 19.288
And I log in to a new session without activating the Persistent Storage 22.653
Then persistence is disabled 1.009
But a Tails persistence partition exists on USB drive "__internal" 11.553
And all notifications have disappeared 10.907
When I delete the persistent partition 5.832
Then there is no persistence partition on USB drive "__internal" 0.422
After features/support/hooks.rb:326 0.951
After features/support/hooks.rb:100 0.000
Tags: @product
2:46.321
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.663
When I write some dotfile expected to persist 0.086
And I shutdown Tails and wait for the computer to power off 8.921
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:26.210
Then the expected persistent dotfile is present in the filesystem 0.440
After features/support/hooks.rb:326 1.039
After features/support/hooks.rb:100 0.012
Tags: @product
1:57.049
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.815
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.118
When I try to enable persistence 0.435
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 38.511
When I log in to a new session after having activated the Persistent Storage 42.905
And all notifications have disappeared 11.297
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.682
And all tps features are enabled 3.358
And all tps features but the first one are active 2.924
After features/support/hooks.rb:326 1.289
After features/support/hooks.rb:100 0.000
Tags: @product
9:48.747
Before features/support/hooks.rb:269 0.008
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:17.947
And I enable persistence 36.126
And I log in to a new session after having activated the Persistent Storage 47.499
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.002
And persistence is enabled 5.171
After features/support/hooks.rb:326 1.220
After features/support/hooks.rb:100 0.000
Tags: @product
45.863
Before features/support/hooks.rb:269 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 17.278
And I enable persistence but something goes wrong during the LUKS header upgrade 27.715
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.869
After features/support/hooks.rb:326 0.876
After features/support/hooks.rb:100 0.000
Tags: @product
54.283
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.299
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 7.609
When I enable persistence 32.907
Then the filesystem of the Persistent Storage was repaired 0.104
And persistence is successfully enabled 3.362
After features/support/hooks.rb:326 0.877
After features/support/hooks.rb:100 0.000
Tags: @product
32.468
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 9.755
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.585
When I try to enable persistence 0.550
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 8.338
When I repair the filesystem of the Persistent Storage 1.346
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.238
And the filesystem of the Persistent Storage was repaired 0.456
When I close the filesystem repair dialog 1.359
Then persistence is successfully enabled 1.836
After features/support/hooks.rb:326 1.636
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:4.362
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.872
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.130
When I try to enable persistence 0.451
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 34.975
When I repair the filesystem of the Persistent Storage 1.277
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.088
When I log in to a new session 44.384
And all notifications have disappeared 9.252
# 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.733
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.205
When I close the "whisperback" window 1.607
Then the Tor Browser starts 19.318
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.063
After features/support/hooks.rb:326 3.127
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:22.656
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 11.499
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.746
And Tails detects disk read failures on the boot device 0.571
When I try to enable persistence 0.392
Then the Welcome Screen tells me that my hardware is probably failing 8.347
When I log in to a new session 22.732
And all notifications have disappeared 8.571
Then the Tor Browser starts 22.860
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.935
After features/support/hooks.rb:326 1.404
After features/support/hooks.rb:100 0.000