Project Number Date
test_Tails_ISO_20531-early-reporting-of-bad-devices 11 10 Dec 2024, 00:42

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:18.115 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:16.451
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:35.033
And I update APT using apt 13.858
And I install "python3-behave" using apt 25.464
Then the Tails Persistent Storage behave tests pass 2.093
After features/support/hooks.rb:326 0.706
After features/support/hooks.rb:100 0.000
Tags: @product
43.004
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 10.703
When I log in to a new session without activating the Persistent Storage 21.006
Then Tails is running from USB drive "__internal" 0.455
And persistence is disabled 0.282
But a Tails persistence partition exists on USB drive "__internal" 10.556
After features/support/hooks.rb:326 1.852
After features/support/hooks.rb:100 0.000
Tags: @product
2:56.917
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 11.291
Then Tails is running from USB drive "__internal" 0.335
When I create a file in the Persistent directory 0.125
And I create a persistent partition with the default settings 20.538
Then the file I created was copied to the Persistent Storage 0.535
When I shutdown Tails and wait for the computer to power off 10.241
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.454
Then persistence for "Persistent" is active 0.324
And the file I created in the Persistent directory exists 0.069
After features/support/hooks.rb:326 0.970
After features/support/hooks.rb:100 0.042
Tags: @product
1:0.607
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive without a persistent partition and logged in 9.828
And the system is very low on memory 3.962
When I create a file in the Persistent directory 1.494
When I try to create a persistent partition 26.831
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.456
When I close the Persistent Storage app 2.961
And I free up some memory 1.738
And I create a persistent partition with the default settings 13.066
Then the file I created was copied to the Persistent Storage 0.267
After features/support/hooks.rb:326 1.385
After features/support/hooks.rb:100 0.000
Tags: @product
2:36.401
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 11.093
Then Tails is running from USB drive "__internal" 0.488
And all tps features are active 2.179
And all persistent directories have safe access rights 2.376
When I disable the first tps feature 5.639
Then all tps features but the first one are active 2.131
And I shutdown Tails and wait for the computer to power off 10.359
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:0.117
Then all tps features but the first one are active 2.014
After features/support/hooks.rb:326 0.747
After features/support/hooks.rb:100 0.009
Tags: @product
18.864
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.537
Then persistence for "Persistent" is active 0.090
And I create a file in the Persistent directory 0.119
Then the file I created was copied to the Persistent Storage 0.072
When I disable the first tps feature 5.715
Then persistence for "Persistent" is not active 0.072
And the Persistent directory does not exist 0.043
When I enable the first tps feature 3.086
Then persistence for "Persistent" is active 0.067
And the file I created in the Persistent directory exists 0.059
After features/support/hooks.rb:326 0.666
After features/support/hooks.rb:100 0.000
Tags: @product
18.290
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 8.767
Then persistence for "Persistent" is active 0.119
When I create a file in the Persistent directory 0.124
And I disable the first tps feature 5.611
And I delete the data of the Persistent Folder feature 3.596
Then the file I created does not exist on the Persistent Storage 0.069
After features/support/hooks.rb:326 0.730
After features/support/hooks.rb:100 0.000
Tags: @product
1:4.022
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.289
And the network is plugged 0.137
And Tor is ready 19.712
And I take note of which tps features are available 0.578
When I write some files expected to persist 1.487
And I shutdown Tails and wait for the computer to power off 8.934
# 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.882
After features/support/hooks.rb:326 0.099
After features/support/hooks.rb:100 0.000
Tags: @product
3:3.799
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.347
And the network is plugged 0.109
And Tor is ready 17.742
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.180
And I shutdown Tails and wait for the computer to power off 8.421
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.101
And I capture all network traffic 0.018
And the network is plugged 0.085
And Tor is ready 20.234
And I switch to the "persistent-con-current" NetworkManager connection 0.353
And the 1st network device has a spoofed MAC address configured 0.087
And no network device leaked the real MAC address 0.117
After features/support/hooks.rb:326 0.659
After features/support/hooks.rb:100 0.040
Tags: @product
56.859
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 12.715
And I enable persistence creation in Tails Greeter 1.165
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.609
Then I create a persistent partition with the default settings using the wizard that was already open 22.369
After features/support/hooks.rb:326 1.731
After features/support/hooks.rb:100 0.000
Tags: @product
4:9.942
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 11.119
When I enable persistence 31.542
Then no persistent Greeter options were restored 14.044
When I set all Greeter options to non-default values 26.186
And I log in to a new session in German (de) after having activated the Persistent Storage 41.869
Then all Greeter options are set to non-default values 0.427
When I cold reboot the computer 7.205
And the computer reboots Tails 1:1.472
Given I enable persistence 16.161
Then persistent Greeter options were restored 0.549
When I log in to a new session after having activated the Persistent Storage 38.538
Then all Greeter options are set to non-default values 0.825
After features/support/hooks.rb:326 0.935
After features/support/hooks.rb:100 0.008
Tags: @product
3:39.039
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.695
# 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.331
And I shutdown Tails and wait for the computer to power off 12.793
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:6.230
And I change the passphrase of the Persistent Storage back to the original 31.988
After features/support/hooks.rb:326 2.010
After features/support/hooks.rb:100 0.008
Tags: @product
50.460
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 9.593
And I log in to a new session without activating the Persistent Storage 19.535
Then persistence is disabled 0.422
But a Tails persistence partition exists on USB drive "__internal" 6.786
And all notifications have disappeared 8.046
When I delete the persistent partition 5.677
Then there is no persistence partition on USB drive "__internal" 0.397
After features/support/hooks.rb:326 0.860
After features/support/hooks.rb:100 0.000
Tags: @product
2:22.908
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.764
When I write some dotfile expected to persist 0.096
And I shutdown Tails and wait for the computer to power off 8.493
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.200
Then the expected persistent dotfile is present in the filesystem 0.354
After features/support/hooks.rb:326 0.687
After features/support/hooks.rb:100 0.008
Tags: @product
1:33.739
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 8.956
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.077
When I try to enable persistence 0.317
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 28.239
When I log in to a new session after having activated the Persistent Storage 40.391
And all notifications have disappeared 7.621
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.964
And all tps features are enabled 2.262
And all tps features but the first one are active 1.907
After features/support/hooks.rb:326 1.938
After features/support/hooks.rb:100 0.000
Tags: @product
4:47.546
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:21.809
And I enable persistence 33.560
And I log in to a new session after having activated the Persistent Storage 47.887
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.486
And persistence is enabled 2.803
After features/support/hooks.rb:326 1.046
After features/support/hooks.rb:100 0.000
Tags: @product
29.207
Before features/support/hooks.rb:269 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 9.913
And I enable persistence but something goes wrong during the LUKS header upgrade 18.480
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.813
After features/support/hooks.rb:326 0.969
After features/support/hooks.rb:100 0.000
Tags: @product
44.526
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.180
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.568
When I enable persistence 27.962
Then the filesystem of the Persistent Storage was repaired 0.094
And persistence is successfully enabled 2.721
After features/support/hooks.rb:326 1.101
After features/support/hooks.rb:100 0.000
Tags: @product
24.720
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.394
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.300
When I try to enable persistence 0.401
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.464
When I repair the filesystem of the Persistent Storage 1.261
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.234
And the filesystem of the Persistent Storage was repaired 0.087
When I close the filesystem repair dialog 1.251
Then persistence is successfully enabled 1.324
After features/support/hooks.rb:326 0.776
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:47.897
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.482
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.110
When I try to enable persistence 0.258
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.028
When I repair the filesystem of the Persistent Storage 1.270
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.074
When I log in to a new session 40.215
And all notifications have disappeared 7.527
# 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.709
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.244
When I close the "whisperback" window 1.577
Then the Tor Browser starts 18.562
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.835
After features/support/hooks.rb:326 2.174
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:12.905
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.795
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.318
And Tails detects disk read failures on the boot device 0.530
When I try to enable persistence 0.445
Then the Welcome Screen tells me that my hardware is probably failing 6.010
When I log in to a new session 22.065
And all notifications have disappeared 7.384
Then the Tor Browser starts 21.625
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.728
After features/support/hooks.rb:326 1.330
After features/support/hooks.rb:100 0.000